/* ============================================================
   VALLEY DIGITAL — styles.css
   Organised: Variables → Reset → Base → Layout → Components
             → Header → Sections (in order) → Footer → Utilities
             → Responsive
============================================================ */

/* ============================================================
   1. VARIABLES
============================================================ */
:root {
  --color-dark:        #0f172a;
  --color-dark-2:      #1e293b;
  --color-dark-3:      #334155;
  --color-accent:      #2563eb;
  --color-accent-hover:#1d4ed8;
  --color-accent-light:#dbeafe;
  --color-gold:        #f59e0b;
  --color-white:       #ffffff;
  --color-bg:          #ffffff;
  --color-bg-alt:      #f8fafc;
  --color-bg-mid:      #f1f5f9;
  --color-text:        #1e293b;
  --color-text-muted:  #64748b;
  --color-text-light:  #94a3b8;
  --color-border:      #e2e8f0;
  --color-border-dark: #334155;

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18);

  --transition: 0.2s ease;

  --container:  1160px;
  --section-py: 96px;
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   3. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--color-text-muted); }

/* ============================================================
   4. LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--color-dark);
}

/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

.btn-block { width: 100%; }

/* Primary */
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 20px rgba(37,99,235,.45);
}

/* Ghost on dark backgrounds */
.btn-ghost-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
}

/* Outline dark */
.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-border);
}
.btn-outline-dark:hover {
  border-color: var(--color-dark);
  background: var(--color-bg-alt);
}

/* White (on accent bg) */
.btn-white {
  background: #fff;
  color: var(--color-accent);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--color-accent-light);
}

/* Ghost white (on accent bg) */
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

/* Nav CTA */
.btn-nav {
  background: var(--color-accent);
  color: #fff;
  padding: 9px 20px;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.btn-nav:hover {
  background: var(--color-accent-hover);
}

/* ============================================================
   6. SECTION HEADERS
============================================================ */
.section-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header h2 { margin-bottom: 14px; }
.section-header p   { font-size: 1.0625rem; }
.section-header a   { color: var(--color-accent); text-decoration: underline; }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.section-label--light { color: #7aa7f7; }

/* ============================================================
   7. HEADER / NAV
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark { flex-shrink: 0; }

.logo-text {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.logo-text strong {
  font-weight: 800;
  color: #fff;
}

.site-header.scrolled .logo-text,
.site-header.scrolled .logo-text strong {
  color: var(--color-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 12px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.site-header.scrolled .nav-link {
  color: var(--color-text-muted);
}

.site-header.scrolled .nav-link:hover {
  color: var(--color-dark);
  background: var(--color-bg-alt);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.site-header.scrolled .nav-toggle:hover { background: var(--color-bg-alt); }

.burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background var(--transition);
}

.site-header.scrolled .burger-bar { background: var(--color-dark); }

.nav-toggle.open .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .burger-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   8. HERO
============================================================ */
.hero {
  position: relative;
  background: var(--color-dark);
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Subtle glow behind content */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52,211,153,0.7);
  animation: pulse-dot 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.hero-headline {
  color: #fff;
  margin-bottom: 20px;
}

.text-accent { color: #7aa7f7; }

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}

.trust-check {
  width: 14px;
  height: 14px;
  color: #34d399;
  flex-shrink: 0;
}

/* Hero visual / floating card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.card-dots {
  display: flex;
  gap: 5px;
}

.card-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.card-dots span:nth-child(1) { background: rgba(252,95,90,0.5); }
.card-dots span:nth-child(2) { background: rgba(253,188,64,0.5); }
.card-dots span:nth-child(3) { background: rgba(52,199,89,0.5); }

.card-url {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-card-body {
  padding: 24px;
}

.card-stat {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.card-features li svg {
  width: 14px;
  height: 14px;
  color: #34d399;
  flex-shrink: 0;
}

/* ============================================================
   9. SERVICES
============================================================ */
.services { background: var(--color-bg-alt); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--color-dark);
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================================
   10. WHY CHOOSE US
============================================================ */
.why-us { background: var(--color-white); }

.why-us-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}

.why-us-content { position: sticky; top: 100px; }

.why-us-content .section-label { display: block; margin-bottom: 12px; }

.why-us-content h2 {
  margin-bottom: 18px;
}

.why-us-content p {
  margin-bottom: 32px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.why-us-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.why-point:hover .why-icon {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

.why-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.why-point h4 { margin-bottom: 5px; }
.why-point p  { font-size: 0.9rem; line-height: 1.55; }

/* ============================================================
   11. ABOUT / MEET LEE
============================================================ */
.about { background: var(--color-white); }

.about-inner {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 80px;
  align-items: center;
}

/* Photo side */
.about-photo {
  position: relative;
}

.photo-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  line-height: 0;
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

/* Decorative accent block behind the photo */
.photo-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 55%;
  height: 55%;
  background: var(--color-accent-light);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.about-photo::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--color-accent) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.25;
  z-index: 0;
}

/* Content side */
.about-content .section-label { display: block; margin-bottom: 12px; }

.about-content h2 { margin-bottom: 20px; }

.about-lead {
  font-size: 1.0625rem;
  color: var(--color-dark-3);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-content p { margin-bottom: 14px; font-size: 1rem; line-height: 1.7; }
.about-content p:last-of-type { margin-bottom: 0; }

.about-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================================
   13. HOW IT WORKS
============================================================ */
.how-it-works { background: var(--color-bg-mid); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-border) 100%);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 24px;
  border: 4px solid var(--color-bg-mid);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.step-content h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.step-content p { font-size: 0.9rem; }

/* ============================================================
   12. PRICING
============================================================ */
.pricing { background: var(--color-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Featured card */
.pricing-card--featured {
  background: var(--color-dark);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
  z-index: 1;
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-3px);
}

.pricing-badge {
  display: inline-block;
  background: var(--color-gold);
  color: #7c3a00;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.pricing-card--featured .pricing-header h3 { color: #fff; }

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}

.price-from {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing-card--featured .price-from { color: rgba(255,255,255,0.5); }

.price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card--featured .price-amount { color: #fff; }

.price-cycle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing-card--featured .price-cycle { color: rgba(255,255,255,0.5); }

.pricing-header p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card--featured .pricing-header p {
  color: rgba(255,255,255,0.55);
  border-bottom-color: rgba(255,255,255,0.1);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.8); }

.pricing-features li svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.pricing-card--featured .pricing-features li svg { color: #34d399; }

.pricing-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pricing-note a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Care plan tiers inside pricing card */
.care-tiers {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.care-tier {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.care-tier:last-child { border-bottom: none; }

.care-tier--top {
  background: var(--color-bg-mid);
}

.care-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.care-tier-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
}

.care-tier-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
}

.care-tier-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ============================================================
   13. TESTIMONIALS
============================================================ */
.testimonials .section-header h2 { color: #fff; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
}

.testimonial-card blockquote p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-info strong {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
}

.author-info span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   14. FAQ
============================================================ */
.faq { background: var(--color-bg-alt); }

.faq-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-header { position: sticky; top: 100px; }

.faq-header .section-label { display: block; margin-bottom: 12px; }
.faq-header h2 { margin-bottom: 14px; }
.faq-header p  { margin-bottom: 28px; font-size: 1rem; }

.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  background: transparent;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--color-bg-alt); }

.faq-question[aria-expanded="true"] {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-text-muted);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  padding: 0 24px 20px;
  animation: faq-open 0.25s ease;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   15. CONTACT / FINAL CTA
============================================================ */
.section--accent {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #2563eb 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-content .section-label { display: block; margin-bottom: 12px; }

.contact-content h2 {
  color: #fff;
  margin-bottom: 16px;
}

.contact-content > p {
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.contact-link:hover { color: #fff; }

.contact-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dark-3);
  letter-spacing: 0.01em;
}

.optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  background: var(--color-bg-alt);
  color: var(--color-dark);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

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

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

/* ============================================================
   16. FOOTER
============================================================ */
.site-footer {
  background: #07101f;
  padding: 56px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand .logo-text,
.footer-brand .logo-text strong { color: #fff; }

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   17. SCROLL ANIMATIONS
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within grids */
.services-grid   .fade-in:nth-child(2) { transition-delay: 0.07s; }
.services-grid   .fade-in:nth-child(3) { transition-delay: 0.14s; }
.services-grid   .fade-in:nth-child(4) { transition-delay: 0.07s; }
.services-grid   .fade-in:nth-child(5) { transition-delay: 0.14s; }
.services-grid   .fade-in:nth-child(6) { transition-delay: 0.21s; }

.pricing-grid    .fade-in:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid    .fade-in:nth-child(3) { transition-delay: 0.16s; }

.testimonials-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.testimonials-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }

.steps .fade-in:nth-child(2) { transition-delay: 0.1s; }
.steps .fade-in:nth-child(3) { transition-delay: 0.2s; }
.steps .fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   18. RESPONSIVE — TABLET (max 1024px)
============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-visual { display: none; }

  .hero-sub { max-width: 100%; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-us-content { position: static; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photo {
    max-width: 400px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps::before { display: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-3px); }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-header { position: static; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
}

/* ============================================================
   19. RESPONSIVE — MOBILE (max 768px)
============================================================ */
@media (max-width: 768px) {
  :root { --section-py: 60px; }

  /* Nav mobile */
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 99;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    margin-right: 0;
    margin-bottom: 12px;
    gap: 0;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius-md);
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 0.9375rem;
  }

  /* Hero */
  .hero { padding: 88px 0 72px; }

  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }

  .hero-trust { flex-direction: column; gap: 12px; }

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

  /* About */
  .about-photo { max-width: 100%; }
  .photo-accent { bottom: -12px; right: -12px; }
  .about-cta { flex-direction: column; }
  .about-cta .btn { width: 100%; justify-content: center; }

  /* Why Us points */
  .why-us-points { grid-template-columns: 1fr; gap: 24px; }

  /* Steps */
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding: 0; text-align: left; display: flex; gap: 20px; align-items: flex-start; }
  .step-number { margin: 0; flex-shrink: 0; }

  /* Pricing */
  .pricing-grid { max-width: 100%; }

  /* Form rows */
  .form-row { grid-template-columns: 1fr; }

  /* Contact */
  .contact-form-wrapper { padding: 24px 20px; }
  .contact-buttons { flex-direction: column; }
  .contact-buttons .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-brand { max-width: 100%; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

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

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .pricing-card { padding: 24px; }
  .testimonial-card { padding: 24px; }
  .contact-form-wrapper { padding: 20px 16px; }
}
