/* =====================================================================
   Rabtora Madhyam Management — Design System
   Extracted from index-v6 reference. MOBILE-FIRST.
   Base styles = mobile; min-width media queries scale up.
   ===================================================================== */

:root {
  --navy: #08142f;
  --navy-2: #0c1d44;
  --navy-3: #102453;
  --gold: #c89b2c;
  --gold-l: #f3d67a;
  --gold-ll: #f8dc88;
  --light: #f7f7f5;
  --paper: #fbfaf7;
  --muted: #8b93a6;
  --muted-d: #5d6470;
  --line: rgba(255, 255, 255, 0.10);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--body);
  background: var(--navy);
  color: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--navy); }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- custom cursor (desktop only) ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (min-width: 681px) {
  body { cursor: none; }
  .cursor, .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 9999;
    pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform;
  }
  .cursor { width: 38px; height: 38px; border: 1px solid var(--gold); transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s; }
  .cursor-dot { width: 5px; height: 5px; background: var(--gold-l); }
  .cursor.hover { width: 64px; height: 64px; background: rgba(200, 155, 44, .12); border-color: var(--gold-l); }
  a, button, .btn { cursor: none; }
  .field input, .field textarea { cursor: text; }
  .field select { cursor: pointer; }
}

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 22px; }
section, header, footer { position: relative; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.pad { padding: 72px 0; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(2rem, 6vw, 4rem); margin-top: 18px; }
.sec-head p { color: #aab1c2; font-size: 1rem; line-height: 1.6; margin-top: 18px; max-width: 560px; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--body); font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  padding: 13px 26px; border-radius: 100px; border: none; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  transition: all .4s var(--ease); cursor: pointer;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-ll), var(--gold)); color: var(--navy); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(200, 155, 44, .4); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--light); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(200, 155, 44, .08); }

/* ---------- nav ---------- */
nav#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; transition: all .5s var(--ease);
}
nav#nav.scrolled { padding: 12px 22px; background: rgba(8, 20, 47, .72); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 56px; width: auto; display: block; }
nav.scrolled .logo img { height: 48px; transition: height .45s var(--ease); }
.foot-brand .logo img { height: 62px; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: rgba(8, 20, 47, .4); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; padding: 0 11px; z-index: 10002;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--light); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer (default) */
.nav-links {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
  background: rgba(8, 20, 47, .97); backdrop-filter: blur(20px);
  transform: translateX(100%); transition: transform .5s var(--ease);
}
.nav-links.open { transform: none; }
.nav-links a { color: var(--light); text-decoration: none; font-size: 1.1rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transition: color .3s; position: relative; }
.nav-links a.btn { font-size: .95rem; margin-top: 8px; text-transform: none; }
.nav-links a.btn-gold { color: var(--navy) !important; }
body.menu-open { overflow: hidden; }

/* ---------- services dropdown ---------- */
.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--body); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--light); font-size: 1.1rem; transition: color .3s;
}
.nav-drop-toggle i { font-size: .7em; transition: transform .35s var(--ease); }
.nav-item.open .nav-drop-toggle i { transform: rotate(180deg); }
.nav-drop-toggle:hover { color: var(--gold); }

/* mobile: inline expanding list */
.nav-drop {
  display: none; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 16px; padding: 4px 0;
}
.nav-item.open .nav-drop { display: flex; }
.nav-drop a {
  color: var(--muted); font-size: .92rem; font-weight: 500;
  text-transform: none; letter-spacing: 0; white-space: nowrap;
}
.nav-drop a:hover { color: var(--gold-l); }

/* ---------- hero slider ---------- */
.hero-slider-section { position: relative; width: 100%; height: 100vh; min-height: 560px; overflow: hidden; background: var(--navy); }
.hero-main-slider, .hero-slide-item { height: 100vh; min-height: 560px; }
.hero-slide-item { position: relative; width: 100%; outline: none; }
.hero-slide-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
/* Readability scrim: a soft pool behind the centred headline, plus a top wash for the
   fixed nav. Deliberately not a flat dim — the image stays clear at the edges. */
.hero-slide-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 78% 62% at 50% 48%,
      rgba(8, 20, 47, .82) 0%,
      rgba(8, 20, 47, .66) 38%,
      rgba(8, 20, 47, .30) 68%,
      rgba(8, 20, 47, 0) 100%),
    /* Top band carries the fixed nav, which has no background of its own until
       .scrolled. Must stay strong enough for the links over bright imagery. */
    linear-gradient(180deg, rgba(8, 20, 47, .80) 0%, rgba(8, 20, 47, .46) 12%, rgba(8, 20, 47, 0) 32%);
}
.hero-slide-content {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center; padding: 0 22px;
}
.hero-slide-content h1, .hero-slide-content h2 { font-size: clamp(2.4rem, 9vw, 6rem); margin: 18px 0 0; color: var(--light); max-width: 900px; }
.hero-slide-content h1 .it, .hero-slide-content h2 .it { font-style: italic; color: var(--gold-l); }
.hero-slide-content p.lead { font-size: 1rem; line-height: 1.65; color: #c7cdda; max-width: 680px; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-slider-section .orb { position: absolute; border-radius: 50%; filter: blur(90px); z-index: 1; opacity: .4; pointer-events: none; }
.hero-slider-section .orb-1 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(200, 155, 44, .4), transparent 70%); top: -100px; right: -80px; }
.hero-slider-section .orb-2 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(16, 36, 83, .8), transparent 70%); bottom: -100px; left: -60px; }

/* slick */
.hero-main-slider .slick-dots { bottom: 30px; z-index: 5; }
.hero-main-slider .slick-dots li button:before { color: var(--light); opacity: .25; font-size: 8px; }
.hero-main-slider .slick-dots li.slick-active button:before { color: var(--gold); opacity: 1; font-size: 10px; }
.slick-prev, .slick-next { display: none !important; width: 44px; height: 44px; background: rgba(8, 20, 47, .4) !important; border: 1px solid var(--line) !important; border-radius: 50%; z-index: 5; transition: all .3s; }
.slick-prev:hover, .slick-next:hover { border-color: var(--gold) !important; background: rgba(200, 155, 44, .15) !important; }
.slick-prev:before, .slick-next:before { color: var(--gold-l); font-family: inherit; font-weight: bold; line-height: 0; }
.slick-prev:before { content: "←"; }
.slick-next:before { content: "→"; }

/* ---------- services (8 cards) ---------- */
/* Flex (not grid) so the final row of an odd count centres instead of
   hanging left. Widths are set per breakpoint below. */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.svc-grid > .svc { flex: 0 1 100%; }
.svc {
  position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.svc:hover { transform: translateY(-6px); border-color: rgba(200, 155, 44, .45); box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
/* 3:2 matches the source photos exactly — scales with the card, no crop. */
.svc-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.08); }
.svc .sn { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--display); font-size: .82rem; font-weight: 600; color: var(--navy); background: linear-gradient(135deg, var(--gold-ll), var(--gold)); padding: 5px 12px; border-radius: 100px; }
.svc-txt { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: 1.32rem; margin: 0 0 10px; color: var(--light); }
.svc p { color: #aab1c2; font-size: .9rem; line-height: 1.55; flex: 1; }
.svc .arrow { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-l); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .55; transition: opacity .4s, gap .4s; }
.svc:hover .arrow { opacity: 1; gap: 13px; }

/* ---------- coverage / zone index ----------
   Deliberately a rule-separated index, NOT a card grid — the whole point of this
   section is to break the rhythm between two image-card grids. */
.zone-list {
  list-style: none; max-width: 1040px;
  border-top: 1px solid var(--line);
}
.zone {
  display: grid; grid-template-columns: 1fr; gap: 5px;
  padding: 22px 6px; border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.zone:hover { background: rgba(255, 255, 255, .025); padding-left: 14px; }
.zone-name { font-family: var(--display); font-size: 1.3rem; color: var(--light); line-height: 1.2; }
.zone-formats { color: var(--muted); font-size: .9rem; }
.zone-note {
  color: var(--gold-l); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.zone-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 38px; }
.zone-cta-note { color: var(--muted); font-size: .9rem; max-width: 420px; }

@media (min-width: 861px) {
  .zone { grid-template-columns: 1.05fr 1.5fr auto; align-items: center; gap: 26px; }
  .zone-note { text-align: right; }
}

/* ---------- testimonials (quote cards) ----------
   Text-forward with no imagery, so it reads differently from .svc / .fmt. */
.quotes { display: grid; grid-template-columns: 1fr; gap: 22px; }
.quote {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s;
}
.quote:hover { transform: translateY(-4px); border-color: rgba(200, 155, 44, .35); }
.quote::before {
  content: "\201C"; position: absolute; top: 2px; right: 20px;
  font-family: var(--display); font-size: 5.5rem; line-height: 1;
  color: var(--gold); opacity: .18; pointer-events: none;
}
.quote-stars { color: var(--gold); font-size: .74rem; letter-spacing: 3px; margin-bottom: 16px; }
.quote-text {
  color: #d2d7e0; font-size: .98rem; line-height: 1.7; flex: 1;
  position: relative; z-index: 1; font-style: normal;
}
.quote-by {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
}
.quote-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote-name { display: block; color: var(--light); font-weight: 700; font-size: .95rem; }
.quote-role { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }

@media (min-width: 861px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- capability / format grid ---------- */
.fmt-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.fmt { position: relative; border-radius: 18px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; border: 1px solid var(--gold); isolation: isolate; }
.fmt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.fmt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 55%, rgba(8, 20, 47, .85)); }
.fmt:hover img { transform: scale(1.07); }
.fmt-body { padding: 24px; z-index: 1; }
.fmt h3 { font-size: 1.5rem; }
.fmt p { color: #b7bdca; font-size: .88rem; margin-top: 6px; max-width: 300px; }
.wwd-cat { margin-top: 56px; }
.wwd-cat:first-of-type { margin-top: 0; }
.wwd-cat-head { margin-bottom: 26px; }
.wwd-cat-head h3 { font-size: clamp(1.6rem, 5vw, 2.7rem); line-height: 1.05; }
.wwd-cat-head p { color: #aab1c2; font-size: 1rem; line-height: 1.6; margin-top: 14px; max-width: 640px; }

/* ---------- why / process ---------- */
.why { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.why-img { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.why-img img { width: 100%; height: 340px; object-fit: cover; display: block; }
.why-img .float-stat { position: absolute; bottom: 20px; left: 20px; right: 20px; background: rgba(8, 20, 47, .78); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.why-img .float-stat b { display: block; font-family: var(--display); font-size: 2rem; color: var(--gold-l); font-weight: 500; }
.why-img .float-stat span { color: var(--muted); font-size: .85rem; }
.steps { margin-top: 14px; }
.step { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.step .n { font-family: var(--display); font-size: 1.6rem; color: var(--gold); min-width: 48px; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: #aab1c2; line-height: 1.6; font-size: .95rem; }

/* ---------- clients ---------- */
.logos { padding: 50px 0; text-align: center; }
.logos .lbl { color: var(--muted); font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 30px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; align-items: center; }
.logo-row img { height: 42px; width: auto; transition: transform .3s; }
.logo-row img:hover { transform: translateY(-3px); }

/* ---------- CTA / form ---------- */
.cta { position: relative; overflow: hidden; }
.cta-box { border-radius: 24px; border: 1px solid var(--line); overflow: hidden; background: linear-gradient(135deg, var(--navy-2), var(--navy)); display: grid; grid-template-columns: 1fr; position: relative; }
.cta-box::before { content: ""; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(200, 155, 44, .35), transparent 70%); top: -150px; left: -100px; filter: blur(40px); }
.cta-left { padding: 40px 28px; position: relative; z-index: 1; }
.cta-left h2 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
.cta-left p { color: #aab1c2; margin: 20px 0 28px; line-height: 1.6; }
.cta-points { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cta-points li { display: flex; gap: 12px; align-items: center; color: #d2d7e0; font-size: .95rem; }
.cta-points li::before { content: "✦"; color: var(--gold); }
.cta-form { padding: 40px 28px; background: rgba(255, 255, 255, .02); border-top: 1px solid var(--line); position: relative; z-index: 1; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--light); font-family: var(--body); font-size: .95rem;
  transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(200, 155, 44, .06); }
.field select option { background: var(--navy); }
.cta-form .btn-gold { width: 100%; justify-content: center; margin-top: 8px; padding: 16px; }
.form-note { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 16px; }
.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success.show { display: block; animation: fade .6s var(--ease); }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: rgba(126, 224, 168, .12); border: 1px solid #7ee0a8; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.6rem; color: #7ee0a8; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 40px; }

/* ---------- footer CTA ----------
   Reuses the site's .cta-strip component (bordered box, navy-2 gradient, gold
   glow, centred) — only the spacing is footer-specific. */
.cta-strip.foot-cta { margin-bottom: 56px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.foot-grid h4 { font-family: var(--body); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 700; }
.foot-grid a, .foot-grid p { display: block; color: var(--muted); text-decoration: none; font-size: .92rem; margin-bottom: 12px; transition: color .3s; }
.foot-grid a:hover { color: var(--light); }
.foot-brand p { max-width: 280px; line-height: 1.6; }
/* Contact details are the money on a lead-gen site — they get --light while the
   nav links stay --muted. That contrast IS the hierarchy.
   (Note: --muted-d measures 3.06:1 on navy, so nothing here may be dimmed further.) */
.foot-grid .foot-addr {
  font-style: normal; color: var(--muted); font-size: .92rem;
  line-height: 1.65; margin-bottom: 18px;
}
.foot-grid .foot-contact {
  display: flex; align-items: center; gap: 10px;
  color: var(--light); font-size: .95rem; margin-bottom: 12px;
}
.foot-grid .foot-contact:hover { color: var(--gold-l); }
.foot-grid .foot-contact i { color: var(--gold); font-size: .9rem; width: 15px; flex-shrink: 0; }
.foot-tel-label {
  font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: var(--gold); border-radius: 3px;
  padding: 2px 5px; line-height: 1.4;
}

.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  color: var(--muted); font-size: 1rem; margin: 0;
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .3s, border-color .3s, background .3s, transform .3s;
}
.foot-social a:hover {
  color: var(--gold); border-color: rgba(200, 155, 44, .5);
  background: rgba(200, 155, 44, .08); transform: translateY(-2px);
}
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; flex-wrap: wrap; gap: 12px; }
.foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--gold); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 20px; z-index: 9995;
  width: 52px; height: 52px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }
.stagger.in > *:nth-child(5) { transition-delay: .32s; }
.stagger.in > *:nth-child(6) { transition-delay: .40s; }
.stagger.in > *:nth-child(7) { transition-delay: .48s; }
.stagger.in > *:nth-child(8) { transition-delay: .56s; }
.h-load { opacity: 0; transform: translateY(30px); animation: hin 1s var(--ease) forwards; }
.h-load.d1 { animation-delay: .15s; } .h-load.d2 { animation-delay: .3s; }
.h-load.d3 { animation-delay: .45s; } .h-load.d4 { animation-delay: .6s; }
@keyframes hin { to { opacity: 1; transform: none; } }

/* =====================================================================
   SCALE UP — mobile-first breakpoints
   ===================================================================== */
@media (min-width: 681px) {
  .wrap { padding: 0 32px; }
  nav#nav { padding: 22px 40px; }
  nav#nav.scrolled { padding: 14px 40px; }
  .pad { padding: 96px 0; }
  .svc-grid > .svc { flex: 0 1 calc((100% - 22px) / 2); }
  .fmt-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-left, .cta-form { padding: 52px 40px; }
  .hero-slide-content p.lead { font-size: 1.1rem; }
  .why-img img { height: 440px; }
  .slick-prev, .slick-next { display: block !important; }
  .slick-prev { left: 30px; } .slick-next { right: 30px; }
}

@media (min-width: 861px) {
  /* desktop nav */
  .nav-toggle { display: none; }
  .nav-links {
    position: static; inset: auto; transform: none; background: none; backdrop-filter: none;
    flex-direction: row; align-items: center; gap: 34px; height: auto;
  }
  /* --muted only reaches 2.05:1 over the bright hero imagery (fails WCAG).
     The nav sits on photographs, so it needs a colour that survives them. */
  .nav-links a { color: var(--light); font-size: .82rem; }
  .nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
  /* base is now --light, so hover shifts to gold for a visible affordance */
  .nav-links a:not(.btn):hover { color: var(--gold-l); }
  .nav-links a:not(.btn):hover::after { width: 100%; }
  .nav-links a.btn { margin-top: 0; }
  .logo img { height: 72px; }
  nav.scrolled .logo img { height: 60px; }

  /* services dropdown -> floating panel on desktop */
  .nav-item { align-items: flex-start; }
  /* matches .nav-links a — --muted fails over the hero imagery */
  .nav-drop-toggle { color: var(--light); font-size: .82rem; }
  .nav-drop-toggle:hover { color: var(--gold-l); }
  .nav-drop {
    display: flex; position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(10px);
    align-items: stretch; gap: 2px; margin-top: 0; min-width: 268px; padding: 10px;
    background: rgba(8, 20, 47, .97); backdrop-filter: blur(18px);
    border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  /* hover bridge so the panel doesn't close in the gap */
  .nav-item::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 18px; }
  .nav-item:hover .nav-drop,
  .nav-item.open .nav-drop {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
  .nav-drop a {
    display: block; text-align: left; padding: 9px 14px; border-radius: 8px;
    font-size: .85rem; color: var(--muted); transition: background .25s, color .25s;
  }
  .nav-drop a::after { display: none; }
  .nav-drop a:hover { background: rgba(200, 155, 44, .10); color: var(--gold-l); }
  .nav-drop a.all { color: var(--gold); font-weight: 700; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
}

@media (min-width: 981px) {
  .pad { padding: 120px 0; }
  .sec-head { margin-bottom: 64px; }
  .svc-grid > .svc { flex: 0 1 calc((100% - 44px) / 3); }
  .fmt-grid { grid-template-columns: repeat(12, 1fr); }
  .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
  .why { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .why-img img { height: 520px; }
  .cta-box { grid-template-columns: 1fr 1fr; }
  .cta-form { border-top: none; border-left: 1px solid var(--line); }
  .cta-left, .cta-form { padding: 64px 56px; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
  .wwd-cat { margin-top: 72px; }
  .hero-slider-section .orb-1 { width: 520px; height: 520px; }
  .hero-slider-section .orb-2 { width: 420px; height: 420px; }
  .foot-brand .logo img { height: 78px; }
}

/* (No 4-column step: the cards stay 3-up on desktop so the imagery reads large.) */

/* =====================================================================
   INNER PAGES
   ===================================================================== */

/* ---------- page hero (inner banner + breadcrumb) ---------- */
.page-hero {
  position: relative; padding: 150px 0 64px; overflow: hidden;
  border-bottom: 1px solid var(--line); background: var(--navy);
}
.page-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1; z-index: 0;
}
/* Left-weighted scrim: protects the left-aligned breadcrumb + H1 while letting the
   right of the photograph stay visible. Not a flat dim. */
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(8, 20, 47, .94) 0%,
      rgba(8, 20, 47, .86) 32%,
      rgba(8, 20, 47, .58) 62%,
      rgba(8, 20, 47, .30) 100%),
    /* Top band must stay strong: the fixed nav has no background of its own
       until .scrolled, so its links rely on this for contrast. */
    linear-gradient(180deg, rgba(8, 20, 47, .88) 0%, rgba(8, 20, 47, .62) 14%, rgba(8, 20, 47, 0) 42%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.crumbs {
  position: static; inset: auto; z-index: auto; padding: 0; background: none; backdrop-filter: none;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
  gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 18px;
}
.crumbs a { color: var(--muted); text-decoration: none; transition: color .3s; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: var(--gold-l); }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); color: var(--light); max-width: 900px; }
.page-hero p.lead { color: #aab1c2; font-size: 1.02rem; line-height: 1.6; margin-top: 18px; max-width: 640px; }

/* ---------- prose / rich text ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 44px 0 16px; }
.prose h3 { font-size: 1.35rem; margin: 30px 0 12px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { color: #aab1c2; line-height: 1.75; margin-bottom: 16px; font-size: 1rem; }
.prose a { color: var(--gold-l); }
.prose ul, .prose ol { margin: 0 0 20px 0; padding-left: 0; list-style: none; }
.prose ul li { color: #aab1c2; line-height: 1.7; padding: 8px 0 8px 28px; position: relative; }
.prose ul li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.prose ol { counter-reset: p; }
.prose ol li { color: #aab1c2; line-height: 1.7; padding: 8px 0 8px 34px; position: relative; counter-increment: p; }
.prose ol li::before { content: counter(p) "."; position: absolute; left: 0; color: var(--gold); font-family: var(--display); }
.prose strong { color: var(--light); }

/* ---------- two-column split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.split-img { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.split-img img { width: 100%; height: 320px; object-fit: cover; display: block; }

/* ---------- feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feat {
  border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: transform .5s var(--ease), border-color .5s;
}
.feat:hover { transform: translateY(-5px); border-color: rgba(200, 155, 44, .45); }
.feat .ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-ll), var(--gold)); color: var(--navy);
  font-size: 1.2rem; margin-bottom: 16px;
}
.feat h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feat p { color: #aab1c2; font-size: .93rem; line-height: 1.6; }

/* ---------- stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: 1fr; gap: 18px; }
.stat-strip .st { border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-align: center; background: rgba(255, 255, 255, .03); }
.stat-strip .st b { display: block; font-family: var(--display); font-size: 2.2rem; color: var(--gold-l); font-weight: 500; }
.stat-strip .st span { color: var(--muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; background: rgba(255, 255, 255, .025); }
.faq-item h3 { font-size: 1.1rem; color: var(--light); margin-bottom: 10px; padding-left: 24px; position: relative; }
.faq-item h3::before { content: "Q"; position: absolute; left: 0; color: var(--gold); font-family: var(--display); }
.faq-item p { color: #aab1c2; font-size: .95rem; line-height: 1.7; }

/* ---------- CTA strip ---------- */
.cta-strip {
  border: 1px solid var(--line); border-radius: 24px; padding: 48px 28px; text-align: center;
  background: linear-gradient(135deg, var(--navy-2), var(--navy)); position: relative; overflow: hidden;
}
.cta-strip::before { content: ""; position: absolute; width: 320px; height: 320px; background: radial-gradient(circle, rgba(200, 155, 44, .3), transparent 70%); top: -140px; left: -80px; filter: blur(40px); }
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { font-size: clamp(1.7rem, 4.5vw, 2.8rem); }
.cta-strip p { color: #aab1c2; margin: 16px auto 26px; max-width: 560px; line-height: 1.6; }
.cta-strip .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- contact info cards ---------- */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.info { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: rgba(255, 255, 255, .03); }
.info .ico { color: var(--gold); font-size: 1.4rem; margin-bottom: 12px; display: block; }
.info h3 { font-size: 1.05rem; margin-bottom: 8px; }
.info p, .info a { color: #aab1c2; font-size: .94rem; line-height: 1.65; text-decoration: none; display: block; }
.info a:hover { color: var(--gold-l); }
.map-embed { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9); }

@media (min-width: 681px) {
  .page-hero { padding: 170px 0 76px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .split-img img { height: 400px; }
  .cta-strip { padding: 64px 40px; }
}
@media (min-width: 981px) {
  .page-hero { padding: 190px 0 90px; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse .split-img { order: 2; }
  .split-img img { height: 460px; }
}

/* =====================================================================
   COMPAT LAYER — restyles legacy content components in the v6 language
   (keeps existing page content/markup intact across inner pages)
   ===================================================================== */
.service-wrapper, .premium-content-wrapper { background: transparent !important; border: none !important; padding: 0 !important; }
.premium-section { margin-bottom: 64px; }
.premium-section > div[style*="text-align: center"] { text-align: center; }

.premium-section h2, .premium-section-content h2 {
  font-family: var(--display); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 4vw, 2.6rem) !important; color: var(--light) !important; line-height: 1.05;
}
.premium-section h3, .premium-section-content h3 { font-family: var(--display); font-weight: 400; color: var(--light) !important; }
.premium-section p, .premium-section-content p, .premium-two-col p {
  color: #aab1c2 !important; line-height: 1.75; font-size: 1rem !important; font-family: var(--body);
}

/* two-col + image */
.premium-two-col { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.premium-section-image { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.premium-section-image img { width: 100%; height: auto; display: block; }

/* icon list */
.premium-icon-list { list-style: none; padding: 0; margin: 20px 0 0; }
.premium-icon-list li { color: #aab1c2 !important; line-height: 1.7; padding: 9px 0; display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--line); }
.premium-icon-list-icon { color: var(--gold) !important; background: none !important; width: auto !important; height: auto !important; flex: 0 0 auto; }

/* feature / step / box cards */
.premium-features-grid, .premium-three-col, .premium-steps { display: grid; grid-template-columns: 1fr; gap: 20px; }
.premium-feature-box, .premium-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)) !important;
  border: 1px solid var(--line) !important; border-radius: 18px !important; padding: 30px 26px !important;
  box-shadow: none !important; transition: transform .5s var(--ease), border-color .5s;
}
.premium-feature-box:hover, .premium-step:hover { transform: translateY(-5px); border-color: rgba(200, 155, 44, .45) !important; }
.premium-feature-box h3, .premium-step h3 { font-family: var(--display); font-size: 1.25rem !important; color: var(--light) !important; margin-bottom: 10px; }
.premium-feature-box p, .premium-step p { color: #aab1c2 !important; font-size: .93rem !important; line-height: 1.6; }
.premium-feature-icon {
  width: 46px !important; height: 46px !important; border-radius: 12px !important;
  display: flex !important; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-ll), var(--gold)) !important; color: var(--navy) !important;
  font-size: 1.2rem; margin-bottom: 16px;
}
.premium-step-number {
  font-family: var(--display) !important; background: none !important; color: var(--gold) !important;
  font-size: 1.6rem !important; width: auto !important; height: auto !important; margin-bottom: 10px;
}

/* quote */
.premium-quote-section {
  background: linear-gradient(135deg, var(--navy-2), var(--navy)) !important;
  border: 1px solid var(--line); border-radius: 24px; padding: 48px 32px; text-align: center; margin: 56px 0;
}
.premium-quote-text { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--light); line-height: 1.4; }
.premium-quote-author { color: var(--gold-l); margin-top: 16px; font-size: .9rem; }

/* FAQ */
.premium-faq { max-width: 860px; display: flex; flex-direction: column; gap: 14px; margin: 0 auto; }
.premium-faq-item { background: rgba(255, 255, 255, .025) !important; border: 1px solid var(--line) !important; border-radius: 14px !important; padding: 22px 24px !important; }
.premium-faq-question { font-family: var(--display); font-size: 1.1rem !important; color: var(--light) !important; margin-bottom: 10px; padding-left: 24px; position: relative; }
.premium-faq-question::before { content: "Q"; position: absolute; left: 0; color: var(--gold); }
.premium-faq-answer { color: #aab1c2 !important; font-size: .95rem !important; line-height: 1.7; }

/* contact blocks */
.contact-container { color: #aab1c2 !important; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-item .icon { color: var(--gold) !important; font-size: 1.2rem; }
.contact-container .text-content, .contact-container .text-content a { color: #aab1c2 !important; text-decoration: none; }
.contact-container .text-content a:hover { color: var(--gold-l) !important; }

/* legacy inline white cards/sections -> dark */
[style*="background: #fff"], [style*="background:#fff"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)) !important;
  border: 1px solid var(--line) !important; border-radius: 18px !important;
  color: #aab1c2 !important; box-shadow: none !important;
}
[style*="color: #666"], [style*="color:#666"], [style*="color: #212529"], [style*="color: #1a1a1a"] { color: #aab1c2 !important; }

/* legacy legal / other pages */
.otherPages h2, .otherPages h3 { font-family: var(--display); color: var(--light); font-weight: 400; }
.otherPages p, .otherPages li { color: #aab1c2; line-height: 1.75; }

@media (min-width: 681px) {
  .premium-features-grid, .premium-three-col, .premium-steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 981px) {
  .premium-features-grid, .premium-three-col { grid-template-columns: repeat(3, 1fr); }
  .premium-steps { grid-template-columns: repeat(4, 1fr); }
  .premium-two-col { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal, .stagger > *, .h-load { opacity: 1 !important; transform: none !important; }
  body { cursor: auto !important; }
  .cursor, .cursor-dot { display: none !important; }
}
