/* ══════════════════════════════════════════════════════════════════
   VIDEO LAWYER ON DEMAND — Production Stylesheet
   Brand: Navy #042C53 | Blue #185FA5 | Maroon #6B0F1A | Gold #BA7517
   ══════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:      #042C53;
  --navy2:     #0C447C;
  --blue:      #185FA5;
  --blue-l:    #E6F1FB;
  --maroon:    #6B0F1A;
  --maroon2:   #8B1A27;
  --maroon-l:  #F9E8EA;
  --gold:      #BA7517;
  --gold2:     #EF9F27;
  --gold-l:    #FDF3DC;
  --green:     #27A37B;
  --green-l:   #E8F8F3;
  --green-v:   #5DCAA5;
  --white:     #FFFFFF;
  --off:       #F7F9FC;
  --text:      #0D1B2A;
  --muted:     #5A6A7A;
  --xmuted:    #9AABB8;
  --border:    #D8E5F2;
  --sh-sm:     0 1px 4px rgba(4,44,83,.08);
  --sh-md:     0 4px 20px rgba(4,44,83,.12);
  --sh-lg:     0 16px 56px rgba(4,44,83,.18);
  --r:         10px;
  --r-lg:      18px;
  --r-xl:      24px;
}

/* ── RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-xs { padding: 40px 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
.heading-xl {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; line-height: 1.08; letter-spacing: -1px;
}
.heading-lg {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; line-height: 1.12;
}
.heading-md {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700; line-height: 1.25;
}
.heading-sm {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700; line-height: 1.35;
}
.label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase;
}

/* ── TAGS ───────────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 5px 13px; border-radius: 20px;
}
.tag-gold   { background: var(--gold-l);   color: var(--gold);   }
.tag-blue   { background: var(--blue-l);   color: var(--blue);   }
.tag-maroon { background: var(--maroon-l); color: var(--maroon); }
.tag-white  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r);
  font-size: 15px; font-weight: 600; transition: all .22s ease;
  white-space: nowrap;
}
.btn-lg  { padding: 18px 36px; font-size: 16px; border-radius: 12px; }
.btn-sm  { padding: 10px 18px; font-size: 13px; border-radius: 8px; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 10px; }

.btn-primary {
  background: var(--maroon); color: var(--white);
  box-shadow: 0 4px 16px rgba(107,15,26,.28);
}
.btn-primary:hover {
  background: var(--maroon2);
  box-shadow: 0 8px 28px rgba(107,15,26,.38);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 16px rgba(4,44,83,.22);
}
.btn-navy:hover {
  background: var(--navy2);
  box-shadow: 0 8px 24px rgba(4,44,83,.3);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold); color: var(--white);
  box-shadow: 0 4px 16px rgba(186,117,23,.3);
}
.btn-gold:hover {
  background: var(--gold2); color: var(--navy);
  box-shadow: 0 8px 28px rgba(186,117,23,.42);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); background: var(--blue-l); }

/* ── SECTION HEADER ─────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .tag { margin-bottom: 14px; }
.section-header .heading-lg { color: var(--navy); }
.section-header p {
  font-size: 17px; color: var(--muted);
  max-width: 560px; margin: 14px auto 0; line-height: 1.75;
}

/* ── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(4,44,83,.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(4,44,83,.35); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 40px; width: auto; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700; color: var(--white); line-height: 1.2;
}
.nav-logo-text span { color: var(--gold2); }
.nav-links {
  display: flex; align-items: center; gap: 30px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75);
  transition: color .2s; position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold2); border-radius: 2px;
  transition: width .2s;
}
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--gold2);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: 6px; transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all .2s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; color: rgba(255,255,255,.8); font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .mobile-cta { margin-top: 16px; width: 100%; text-align: center; }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 55%, #1a6ab8 100%);
  padding: 88px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.022'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-title   { color: var(--white); margin-bottom: 22px; }
.hero-title em { color: var(--gold2); font-style: normal; }
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.8); max-width: 500px;
  line-height: 1.75; margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 44px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; gap: 28px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.65);
}
.trust-item strong {
  display: block; font-size: 19px; font-weight: 700;
  color: var(--white); line-height: 1.1;
}
.trust-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}

/* Hero card */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl); padding: 28px; backdrop-filter: blur(10px);
  width: 100%; max-width: 440px;
  box-shadow: 0 24px 80px rgba(4,44,83,.4);
}
.hero-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.live-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(93,202,165,.15); border: 1px solid rgba(93,202,165,.3);
  color: var(--green-v); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-v); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.75); }
}
.video-frame {
  background: var(--navy); border-radius: 12px; height: 170px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; position: relative; overflow: hidden;
}
.video-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(24,95,165,.4) 0%, rgba(186,117,23,.15) 100%);
}
.play-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; position: relative; z-index: 1; transition: all .2s;
}
.play-btn:hover { background: rgba(255,255,255,.28); transform: scale(1.07); }
.attorney-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.attorney-ava {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--maroon) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.attorney-info { flex: 1; }
.attorney-name  { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.2; }
.attorney-title { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 1px; }
.stars { color: var(--gold2); font-size: 12px; }
.avail-bar {
  background: rgba(255,255,255,.08); border-radius: 8px;
  padding: 11px 14px; display: flex; align-items: center; justify-content: space-between;
}
.avail-label { font-size: 12px; color: rgba(255,255,255,.55); }
.avail-count  { font-size: 13px; font-weight: 600; color: var(--green-v); }

/* ── MARQUEE ────────────────────────────────────────────────────── */
.marquee-bar { background: var(--maroon); padding: 13px 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); flex-shrink: 0;
}
.marquee-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--gold2); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── HOW IT WORKS ───────────────────────────────────────────────── */
.how { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 36px; left: calc(16.666% + 20px); right: calc(16.666% + 20px);
  height: 1px; background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
  pointer-events: none;
}
.step { text-align: center; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(4,44,83,.25);
}
.step-num::before {
  content: ''; position: absolute; inset: -5px;
  border-radius: 50%; border: 2px dashed var(--border);
}
.step h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step p  { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── PRACTICE AREAS ─────────────────────────────────────────────── */
.practices { background: var(--off); }
.practice-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px;
}
.practice-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 22px;
  transition: all .25s ease; cursor: pointer;
}
.practice-card:hover {
  border-color: var(--blue); box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.practice-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--blue-l); display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 16px;
  transition: background .2s;
}
.practice-card:hover .practice-icon { background: var(--navy); }
.practice-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.practice-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.practice-card .arrow {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  margin-top: 14px; opacity: 0; transition: opacity .2s;
}
.practice-card:hover .arrow { opacity: 1; }

/* ── WHY VLOD ────────────────────────────────────────────────────── */
.why { background: var(--navy); }
.why .section-header .heading-lg { color: var(--white); }
.why .section-header p { color: rgba(255,255,255,.65); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 28px;
  transition: background .25s;
}
.why-card:hover { background: rgba(255,255,255,.1); }
.why-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.why-card p  { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ── PRICING ────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.price-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 32px;
  transition: all .25s; position: relative;
}
.price-card.featured {
  border-color: var(--navy); box-shadow: var(--sh-lg);
  transform: scale(1.03);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--maroon); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 16px; border-radius: 20px;
  white-space: nowrap;
}
.price-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.price-amount { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 800; color: var(--navy); line-height: 1; }
.price-amount sup { font-size: 24px; vertical-align: super; }
.price-duration { font-size: 15px; color: var(--muted); margin-top: 4px; margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--muted); padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.price-cta { width: 100%; text-align: center; }

/* ── TESTIMONIALS ───────────────────────────────────────────────── */
.testimonials { background: var(--off); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px; position: relative;
}
.testi-card::before {
  content: '"'; font-family: 'Playfair Display', serif;
  font-size: 80px; line-height: .8;
  color: var(--gold-l); position: absolute; top: 20px; right: 24px;
  pointer-events: none;
}
.testi-stars { color: var(--gold2); font-size: 14px; margin-bottom: 14px; }
.testi-text {
  font-size: 15px; color: var(--text); line-height: 1.75;
  margin-bottom: 20px; font-style: italic; position: relative; z-index: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-ava {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-l), var(--maroon-l));
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.testi-name  { font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-case  { font-size: 12px; color: var(--muted); margin-top: 1px; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq { background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--navy);
  text-align: left; gap: 16px; transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-chevron {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 6px;
  background: var(--off); display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all .25s;
}
.faq-item.open .faq-chevron { background: var(--navy); color: var(--white); transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 0 20px; font-size: 15px;
  color: var(--muted); line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA BANNER ─────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon2) 50%, #5c0a13 100%);
  padding: 88px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='20' cy='20' r='4'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-banner .heading-lg { color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 36px; position: relative; z-index: 1; }
.cta-banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer { background: var(--navy); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo-text { font-size: 18px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.75; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); display: flex; align-items: center;
  justify-content: center; font-size: 16px;
  transition: background .2s; color: rgba(255,255,255,.6);
}
.social-btn:hover { background: rgba(255,255,255,.16); color: var(--white); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.6; }
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }
.footer-bar-links { display: flex; gap: 20px; flex-shrink: 0; }

/* ── BOOKING MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(4,44,83,.72); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--r-xl);
  width: 100%; max-width: 580px; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 32px 96px rgba(4,44,83,.45);
  animation: modal-in .22s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--r-xl) var(--r-xl) 0 0; flex-shrink: 0;
}
.modal-header h2 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--white); }
.modal-header p  { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 3px; }
.modal-close {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.12); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: background .2s; flex-shrink: 0;
}
.modal-close:hover { background: rgba(255,255,255,.22); }
.modal-body { padding: 28px; }

/* Type selector */
.type-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.type-option { position: relative; }
.type-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.type-label {
  display: block; border: 2px solid var(--border); border-radius: var(--r-lg);
  padding: 14px 16px; cursor: pointer; transition: all .2s;
}
.type-label:hover { border-color: var(--blue); background: var(--blue-l); }
.type-option input:checked + .type-label {
  border-color: var(--navy); background: #E8EDF3;
}
.type-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.type-price { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--maroon); margin: 4px 0; }
.type-desc  { font-size: 12px; color: var(--muted); }

/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.full { grid-template-columns: 1fr; }
.field-label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.field-label span { color: var(--maroon); }
.field-input, .field-select, .field-textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s; background: var(--white);
}
.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,.1);
}
.field-textarea { resize: vertical; min-height: 88px; }
.field-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235A6A7A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }

.modal-actions { display: flex; gap: 12px; margin-top: 20px; }
.modal-actions .btn { flex: 1; justify-content: center; }

/* Success screen */
.modal-success { display: none; text-align: center; padding: 40px 28px; }
.modal-success.show { display: block; }
.success-icon { font-size: 56px; margin-bottom: 16px; }
.success-meet {
  background: var(--blue-l); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px 20px; margin: 20px 0;
  font-size: 14px; color: var(--navy);
}
.success-meet a { color: var(--blue); font-weight: 600; word-break: break-all; }

/* Error message */
.form-error {
  background: #FEE; border: 1px solid #F5C6C6; border-radius: 8px;
  padding: 10px 14px; font-size: 13px; color: #C00;
  margin-bottom: 14px; display: none;
}
.form-error.show { display: block; }

/* Loading spinner */
.spinner { display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── BACK TO TOP ────────────────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: var(--sh-md);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); background: var(--navy2); }

/* ── COOKIE BANNER ──────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 24px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  transform: translateY(100%); transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 13px; color: rgba(255,255,255,.7); flex: 1; min-width: 200px; }
.cookie-banner p a { color: var(--gold2); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner       { gap: 40px; }
  .why-grid         { grid-template-columns: 1fr 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section  { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
  .hero { padding: 60px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-content: center; }
  .hero-card  { max-width: 100%; }
  .steps      { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .why-grid   { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .form-row   { grid-template-columns: 1fr; }
  .nav-links  { display: none; }
  .nav-phone  { display: none; }
  .hamburger  { display: flex; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .hero-trust { gap: 16px; }
  .pricing-grid { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .type-selector { grid-template-columns: 1fr; }
  .modal-actions { flex-direction: column; }
}

/* ── ACCESSIBILITY ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
