/* ============================================
   GRIDFLUX — styles.css
   Cutting-edge design · Mobile-first
   ============================================ */

/* ---- Custom Properties ---- */
:root {
  --navy: #0d1b2e;
  --navy-light: #142640;
  --navy-dark: #080f1a;
  --cyan: #00c2d4;
  --cyan-glow: rgba(0, 194, 212, 0.15);
  --cyan-glow-strong: rgba(0, 194, 212, 0.25);
  --cyan-hover: #00dae9;
  --accent-gradient: linear-gradient(135deg, #00c2d4, #00e6a0);
  --off-white: #f5f5f0;
  --dark-text: #1a1a2e;
  --gray-100: #e8e8e4;
  --gray-200: #d0d0cc;
  --gray-400: #8a8a8e;
  --gray-600: #4a4a52;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --header-h: 64px;
  --header-h-shrink: 52px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --shadow-glow: 0 0 40px var(--cyan-glow), 0 0 80px rgba(0,194,212,.06);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}

.btn--primary {
  background: var(--cyan);
  color: var(--navy-dark);
  box-shadow: 0 2px 12px rgba(0, 194, 212, .25);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--cyan-hover);
  box-shadow: 0 4px 28px rgba(0, 194, 212, .4);
  transform: translateY(-2px);
}

.btn--outline {
  border: 2px solid var(--cyan);
  color: var(--cyan);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--cyan);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 28px rgba(0, 194, 212, .3);
}

.btn--full { width: 100%; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* Focus ring for keyboard */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(13, 27, 46, .85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: height var(--transition), background var(--transition);
  border-bottom: 1px solid rgba(0, 194, 212, .06);
}

.site-header.shrink {
  height: var(--header-h-shrink);
  background: rgba(13, 27, 46, .95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { color: var(--off-white); }
.logo-svg { transition: transform var(--transition); }
.logo:hover .logo-svg { transform: scale(1.03); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--gray-200);
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--off-white); }
.nav-link:hover::after,
.nav-link:focus-visible::after { width: 100%; }

.nav-link--cta {
  background: var(--cyan);
  color: var(--navy-dark) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0, 194, 212, .2);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  background: var(--cyan-hover);
  box-shadow: 0 4px 20px rgba(0, 194, 212, .35);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  position: relative;
  z-index: 1002;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO — clean, text-focused
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
}

/* Subtle animated grid */
.hero-grid-bg {
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(rgba(0, 194, 212, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 212, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: gridDrift 25s linear infinite;
}
.hero-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--navy) 75%);
}
@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(72px, 72px); }
}

/* Subtle gradient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 194, 212, .08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 140px 24px 100px;
  max-width: 820px;
}

.hero-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cyan);
  margin-bottom: 28px;
  padding: 6px 18px;
  border: 1px solid rgba(0, 194, 212, .2);
  border-radius: 100px;
  background: rgba(0, 194, 212, .06);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--off-white);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero-gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--gray-200);
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Trust strip */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-400);
  font-weight: 500;
}
.hero-trust-icon {
  color: var(--cyan);
  font-size: 1rem;
}
.hero-trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.12);
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(0, 194, 212, .2);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-list {
  margin-bottom: 24px;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--dark-text);
  font-size: .95rem;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-weight: 600;
  font-size: .95rem;
  transition: gap var(--transition);
}
.link-arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}
.link-arrow:hover { gap: 10px; }
.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   PRICING SECTIONS
   ============================================ */
.pricing {
  padding: 100px 0;
  background: var(--off-white);
}
.pricing--web {
  background: white;
}

/* Toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--gray-100);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.toggle-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toggle-btn.active {
  background: var(--navy);
  color: var(--off-white);
  box-shadow: 0 2px 8px rgba(13, 27, 46, .3);
}

.toggle-badge {
  background: var(--cyan);
  color: var(--navy-dark);
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Price cards grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition);
}
.pricing--web .price-card {
  background: var(--off-white);
}
.price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

/* Popular card */
.price-card--popular {
  border: 2px solid var(--cyan);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: scale(1.03);
}
.price-card--popular:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: var(--navy-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 194, 212, .3);
}

.price-card__header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.price-card__desc {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.5;
}

.price-card__price {
  margin-bottom: 4px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  transition: all var(--transition);
}

.price-period {
  font-size: .95rem;
  color: var(--gray-400);
  font-weight: 500;
}

.price-card__setup {
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.price-card__features {
  margin-bottom: 28px;
}
.price-card__features li {
  font-size: .9rem;
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--dark-text);
}
.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8.5L6.5 12L13 4' stroke='%2300c2d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ============================================
   WHY GRIDFLUX
   ============================================ */
.why {
  padding: 100px 0;
  background: var(--navy);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}
/* Subtle background glow */
.why::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 194, 212, .08) 0%, transparent 70%);
  pointer-events: none;
}

.why .section-title {
  color: var(--off-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.stat-card {
  text-align: center;
  padding: 40px 28px;
  background: rgba(20, 38, 64, .6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 194, 212, .1);
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: rgba(0, 194, 212, .35);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(0, 194, 212, .12);
  background: rgba(20, 38, 64, .8);
}

.stat-icon {
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
}

.stat-headline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 12px;
}

.stat-card p {
  font-size: .95rem;
  color: var(--gray-200);
  line-height: 1.7;
}

.why-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.why-text p {
  font-size: 1.05rem;
  color: var(--gray-200);
  line-height: 1.8;
}

/* ============================================
   AUDIT CTA
   ============================================ */
.audit-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #00c2d4, #00b89c);
  position: relative;
  overflow: hidden;
}
/* Decorative pattern */
.audit-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.08) 0%, transparent 50%);
  pointer-events: none;
}

.audit-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.audit-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.audit-inner p {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 32px;
  line-height: 1.7;
}

.audit-cta .btn--primary {
  background: var(--navy);
  color: var(--off-white);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.audit-cta .btn--primary:hover {
  background: var(--navy-dark);
  box-shadow: 0 6px 32px rgba(0,0,0,.35);
  transform: translateY(-2px);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--off-white);
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.required {
  color: var(--cyan);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: white;
  color: var(--dark-text);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238a8a8e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Invalid styling */
.form-group input.invalid,
.form-group select.invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, .12);
}

.contact-form .btn {
  margin-top: 4px;
}

/* Form status messages */
.form-status {
  margin-top: 20px;
  padding: 0;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  transition: all var(--transition);
}
.form-status.success {
  padding: 16px 20px;
  background: rgba(0, 194, 212, .1);
  color: #008a96;
  border: 1px solid rgba(0, 194, 212, .3);
}
.form-status.error {
  padding: 16px 20px;
  background: rgba(231, 76, 60, .08);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, .2);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-dark);
  padding: 60px 0 32px;
  color: var(--gray-200);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 24px;
}

.footer-tagline {
  font-size: .9rem;
  color: var(--gray-400);
  margin-top: 12px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: .9rem;
  color: var(--gray-200);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--cyan); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact p,
.footer-contact a {
  font-size: .9rem;
  color: var(--gray-200);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--cyan); }


.footer-legal {
  grid-column: 1 / -1;
  font-size: .8rem;
  color: var(--gray-400);
}

/* ============================================
   ANIMATIONS & SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legacy support */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card--popular {
    transform: scale(1);
  }
  .price-card--popular:hover {
    transform: translateY(-6px);
  }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  /* Mobile nav — slide-in from right, properly anchored */
  .mobile-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(8, 15, 26, .98);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 32px) 32px 40px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    z-index: 1001;
    border-left: 1px solid rgba(0, 194, 212, .1);
    box-shadow: -8px 0 40px rgba(0,0,0,.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Backdrop overlay */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 26, .6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
  }
  .nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.05);
    width: 100%;
    color: var(--off-white);
  }
  .nav-link::after { display: none; }

  .nav-link--cta {
    margin-top: 12px;
    text-align: center;
    padding: 14px 24px;
    border-bottom: none;
  }

  /* Hero — stacked on mobile */
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: calc(var(--header-h) + 40px) 20px 48px;
  }

  .hero-heading {
    font-size: 1.8rem;
  }

  .hero-tagline {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-trust {
    gap: 12px;
  }
  .hero-trust-divider {
    display: none;
  }
  .hero-trust-item {
    font-size: .78rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-nav ul {
    align-items: center;
  }
  .footer-contact {
    align-items: center;
  }

  /* Contact form */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Sections */
  .services,
  .pricing,
  .why,
  .contact {
    padding: 72px 0;
  }

  .audit-cta {
    padding: 56px 0;
  }

  .section-subtitle {
    margin-bottom: 36px;
  }
}

/* ============================================
   RESPONSIVE — Small phones
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .service-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
  }

  .price-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
  }

  .stat-card {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .hero-heading {
    font-size: 1.6rem;
  }

  .hero-content {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 40px;
  }

  .main-nav {
    width: 260px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
