/* ============================================================
   INSURE NYC BROKERAGE — Luxury Design System
   Palette derived from the brand logo (deep navy #083679)
   Navy · Champagne Gold · Ivory
   ============================================================ */

:root {
  /* Brand palette */
  --navy-950: #041228;
  --navy-900: #06203F;
  --navy-800: #082B5C;
  --navy-700: #083679;   /* logo navy */
  --navy-600: #1A4A96;
  --navy-100: #E7EDF6;
  --gold-600: #A8842C;
  --gold-500: #C9A227;
  --gold-400: #D9B95C;
  --gold-300: #E9D28E;
  --ivory:    #F8F6F1;
  --white:    #FFFFFF;
  --ink:      #10213A;
  --muted:    #4A5B74;
  --line:     #DFE5EE;

  --grad-gold: linear-gradient(120deg, #A8842C 0%, #D9B95C 45%, #C9A227 100%);
  --grad-navy: linear-gradient(160deg, #0B3D8C 0%, #082B5C 55%, #051A3D 100%);

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", -apple-system, sans-serif;

  /* Depth: layered shadows (ambient + contact) */
  --shadow-sm: 0 1px 2px rgba(8, 43, 92, .06), 0 2px 8px rgba(8, 43, 92, .06);
  --shadow-md: 0 2px 4px rgba(8, 43, 92, .07), 0 10px 24px rgba(8, 43, 92, .10);
  --shadow-lg: 0 4px 8px rgba(8, 43, 92, .08), 0 24px 48px rgba(8, 43, 92, .14);
  --shadow-gold: 0 6px 18px rgba(201, 162, 39, .35);

  /* Motion */
  --ease-lux: cubic-bezier(.22, .61, .21, 1);
  --dur: 300ms;

  /* Layout */
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 28px;

  /* z-index scale */
  --z-nav: 50;
  --z-sticky: 40;
  --z-drop: 30;

  scroll-behavior: smooth;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul[class], ol[class] { list-style: none; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy-800); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-family: var(--font-display); color: var(--navy-900); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; color: var(--navy-900); }
p  { max-width: 68ch; }
.lead { font-size: 1.125rem; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-inline: auto; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.06rem; }

.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-dark { background: var(--grad-navy); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, .78); }
.section-white { background: var(--white); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
  position: relative;
  z-index: calc(var(--z-nav) + 1);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; flex-wrap: wrap; padding-block: .3rem; }
.topbar-group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: .45rem; transition: color var(--dur) var(--ease-lux); }
.topbar a:hover { color: var(--gold-400); }
.topbar svg { width: 15px; height: 15px; flex: none; }
.topbar-social { display: flex; align-items: center; gap: .35rem; }
.topbar-social a {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08);
  transition: background var(--dur) var(--ease-lux), color var(--dur) var(--ease-lux);
}
.topbar-social a:hover { background: var(--gold-500); color: var(--navy-950); }

/* ============================================================
   HEADER — sticky glassmorphic
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(8, 54, 121, .08);
  transition: box-shadow var(--dur) var(--ease-lux), background var(--dur) var(--ease-lux);
}
.site-header.scrolled { background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-md); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand img { height: 52px; width: auto; }

.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-list a.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .9rem; font-weight: 600; font-size: .93rem; color: var(--navy-900);
  border-radius: 10px; position: relative;
}
.nav-list a.nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px;
  background: var(--grad-gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-lux);
}
.nav-list a.nav-link:hover::after,
.nav-list a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a.nav-link svg { width: 12px; height: 12px; transition: transform var(--dur) var(--ease-lux); }

/* Dropdown */
.has-drop:hover > a svg, .has-drop:focus-within > a svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(8, 54, 121, .1); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: .6rem; z-index: var(--z-drop);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--dur) var(--ease-lux), transform var(--dur) var(--ease-lux), visibility var(--dur);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 10px;
  font-weight: 600; font-size: .92rem; color: var(--navy-900);
  transition: background var(--dur) var(--ease-lux), transform var(--dur) var(--ease-lux);
}
.dropdown a:hover { background: var(--navy-100); transform: translateX(4px); }
.dropdown a svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; }

.nav-cta-group { display: flex; align-items: center; gap: .9rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy-800); font-size: .95rem; }
.nav-phone svg { width: 17px; height: 17px; color: var(--gold-600); }

/* Hamburger */
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; color: var(--navy-800); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 2rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  overflow: hidden; isolation: isolate; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease-lux); }
.btn:hover svg { transform: translateX(4px); }
.btn::before { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
  transform: translateX(-110%);
  transition: transform 650ms var(--ease-lux);
}
.btn:hover::before { transform: translateX(110%); }
.btn-gold { background: var(--grad-gold); color: var(--navy-950); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(201, 162, 39, .45); }
.btn-navy { background: var(--grad-navy); color: #fff; box-shadow: var(--shadow-md); }
.btn-navy:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-outline:hover { transform: translateY(-3px); border-color: var(--gold-400); color: var(--gold-300); }
.btn-outline-navy { border: 1.5px solid var(--navy-700); color: var(--navy-700); }
.btn-outline-navy:hover { transform: translateY(-3px); background: var(--navy-100); }
.btn-sm { padding: .65rem 1.35rem; font-size: .88rem; }

/* ============================================================
   HERO — parallax, layered, 3D
   ============================================================ */
.hero {
  position: relative; overflow: clip;
  background: var(--grad-navy);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem);
  perspective: 1200px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.orb-gold { width: 520px; height: 520px; background: radial-gradient(circle, rgba(201,162,39,.5), transparent 65%); top: -160px; right: -120px; }
.orb-blue { width: 620px; height: 620px; background: radial-gradient(circle, rgba(26,74,150,.8), transparent 65%); bottom: -260px; left: -180px; }
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: #fff; margin: 1.1rem 0 1.4rem; }
.hero h1 em { font-style: italic; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255, 255, 255, .8); max-width: 56ch; }
.hero .eyebrow { color: var(--gold-400); }
.hero-ctas { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-benefits { display: grid; gap: .55rem; margin-top: 1.6rem; }
.hero-benefits li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255, 255, 255, .88); font-size: .98rem; }
.hero-benefits li strong { color: var(--gold-300); }
.hero-benefits svg { width: 20px; height: 20px; color: var(--gold-400); flex: none; margin-top: 3px; }
.hero-trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-stars { display: inline-flex; gap: 2px; color: var(--gold-400); }
.hero-stars svg { width: 18px; height: 18px; }
.hero-trust span { color: rgba(255,255,255,.75); font-size: .9rem; }

/* Hero visual: layered 3D glass composition */
.hero-visual { position: relative; min-height: 460px; }
.hero-photo-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 40px 80px rgba(0, 0, 0, .35);
  transform: rotateY(-7deg) rotateX(2.5deg);
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform 600ms var(--ease-lux);
  will-change: transform;
}
.hero-photo-card img { width: 100%; height: 460px; object-fit: cover; object-position: top; }
.hero-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(4, 18, 40, .65)); }

.glass-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .8rem;
  background: rgba(6, 25, 54, .45);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px; padding: .9rem 1.15rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  color: #fff; animation: floaty 6s ease-in-out infinite;
}
.glass-chip .num { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--gold-300); line-height: 1; }
.glass-chip .lbl { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.glass-chip svg { width: 26px; height: 26px; color: var(--gold-400); flex: none; }
.chip-1 { top: 6%; left: -12%; animation-delay: 0s; }
.chip-2 { bottom: 20%; right: -9%; animation-delay: -2s; }
.chip-3 { bottom: -5%; left: 4%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateZ(60px) translateY(0); } 50% { transform: translateZ(60px) translateY(-14px); } }

/* Marquee-style trust strip */
.trust-strip { background: var(--navy-950); padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.trust-strip .container { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 600; letter-spacing: .04em; }
.trust-item svg { width: 18px; height: 18px; color: var(--gold-400); }

/* ============================================================
   CARDS
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 1.6rem; }

.service-card {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux), border-color var(--dur) var(--ease-lux);
  transform-style: preserve-3d; will-change: transform;
  cursor: pointer; display: flex; flex-direction: column; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform 450ms var(--ease-lux);
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(201, 162, 39, .4); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: var(--navy-100); color: var(--navy-700); margin-bottom: 1.4rem;
  transform: translateZ(30px);
  transition: background var(--dur) var(--ease-lux), color var(--dur) var(--ease-lux);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: var(--grad-navy); color: var(--gold-300); }
.service-card h3 { margin-bottom: .7rem; transform: translateZ(20px); }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--gold-600); margin-top: 1.3rem; }
.card-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-lux); }
.service-card:hover .card-link svg { transform: translateX(5px); }

/* Glass feature card (dark sections) */
.glass-card {
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg); padding: 2rem 1.8rem;
  transition: transform var(--dur) var(--ease-lux), background var(--dur) var(--ease-lux), border-color var(--dur) var(--ease-lux);
}
.glass-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .11); border-color: rgba(201, 162, 39, .45); }
.glass-card h3 { font-size: 1.18rem; margin: 1.1rem 0 .5rem; }
.glass-card p { font-size: .93rem; }
.glass-card .g-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-gold); color: var(--navy-950); }
.glass-card .g-icon svg { width: 26px; height: 26px; }

/* Stats */
.stats-band { background: var(--grad-navy); border-radius: var(--radius-lg); padding: 3rem 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.28), transparent 65%); top: -180px; right: -90px; filter: blur(30px); }
.stat { text-align: center; position: relative; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 3.2rem); font-weight: 800; color: var(--gold-300); line-height: 1.1; }
.stat .lbl { color: rgba(255,255,255,.75); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; margin-top: .3rem; }

/* ============================================================
   REVIEWS
   ============================================================ */
.review-filters { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-chip {
  padding: .6rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .88rem;
  background: var(--white); color: var(--navy-800); border: 1.5px solid var(--line);
  transition: all var(--dur) var(--ease-lux); cursor: pointer;
}
.filter-chip:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.filter-chip.active { background: var(--grad-navy); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.6rem; }
.review-card {
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem; display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review-card.hidden { display: none; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review-stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.review-stars svg { width: 16px; height: 16px; }
.review-badge { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); background: var(--navy-100); padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; }
.review-card blockquote { font-size: .95rem; color: var(--ink); flex: 1; }
.review-card blockquote::before { content: "\201C"; font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-400); line-height: 0; display: block; margin: .8rem 0 .2rem; }
.reviewer { display: flex; align-items: center; gap: .8rem; }
.reviewer .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-navy); color: var(--gold-300); font-weight: 700; font-size: .95rem; flex: none; }
.reviewer .name { font-weight: 700; font-size: .9rem; color: var(--navy-900); }
.reviewer .src { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; }
.reviewer .src svg { width: 12px; height: 12px; }

.google-rating-pill {
  display: inline-flex; align-items: center; gap: .8rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .7rem 1.4rem; box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
}
.google-rating-pill strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy-900); }
.google-rating-pill .g-logo { width: 22px; height: 22px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-shell {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: clamp(1.8rem, 4vw, 2.8rem); position: relative; overflow: hidden;
}
.form-shell::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad-gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .86rem; color: var(--navy-900); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--ivory);
  font: inherit; font-size: .95rem; color: var(--ink);
  transition: border-color var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux), background var(--dur) var(--ease-lux);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); background: #fff;
  box-shadow: 0 0 0 4px rgba(8, 54, 121, .12);
}
.field.error input, .field.error select, .field.error textarea { border-color: #C0392B; }
.field .err-msg { display: none; color: #C0392B; font-size: .8rem; margin-top: .35rem; }
.field.error .err-msg { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-success {
  display: none; text-align: center; padding: 3rem 1rem;
}
.form-success.show { display: block; animation: fadeUp .6s var(--ease-lux); }
.form-success .tick { width: 74px; height: 74px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; margin: 0 auto 1.2rem; color: var(--navy-950); box-shadow: var(--shadow-gold); }
.form-success .tick svg { width: 36px; height: 36px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--grad-navy); padding: clamp(2.6rem, 6vw, 4.2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.3), transparent 60%); right: -140px; top: -200px; filter: blur(40px); }
.cta-banner h2 { color: #fff; max-width: 22ch; position: relative; }
.cta-banner p { color: rgba(255,255,255,.78); margin-top: .6rem; position: relative; }
.cta-banner .cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: .9rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--dur) var(--ease-lux), border-color var(--dur) var(--ease-lux); }
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(201, 162, 39, .45); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.5rem; text-align: left; font-weight: 700; font-size: 1rem; color: var(--navy-900);
  cursor: pointer;
}
.faq-q .faq-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-100); display: grid; place-items: center; flex: none; transition: transform var(--dur) var(--ease-lux), background var(--dur) var(--ease-lux); }
.faq-q .faq-icon svg { width: 15px; height: 15px; color: var(--navy-700); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--grad-gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 420ms var(--ease-lux); }
.faq-a > div { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: .96rem; }

/* ============================================================
   PAGE HERO (inner pages) + breadcrumbs
   ============================================================ */
.page-hero { background: var(--grad-navy); padding: clamp(3.5rem, 7vw, 5.5rem) 0; position: relative; overflow: clip; }
.page-hero h1 { color: #fff; margin-top: .9rem; }
.page-hero .lead { color: rgba(255,255,255,.8); margin-top: 1rem; }
.page-hero .eyebrow { color: var(--gold-400); }
.breadcrumbs { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.6); }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--gold-400); }
.breadcrumbs svg { width: 12px; height: 12px; }

/* Split content rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; }
.split-media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); position: relative;
}
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after {
  content: ""; position: absolute; inset: 2rem -1.4rem -1.4rem 2rem; z-index: -1;
  border-radius: var(--radius-lg); background: var(--grad-gold); opacity: .25;
}
.check-list { display: grid; gap: .9rem; margin-top: 1.6rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); font-size: .98rem; }
.check-list li svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; margin-top: 2px; }
.check-list li strong { color: var(--navy-900); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; counter-reset: step; }
.step-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem 1.8rem 1.9rem; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux); }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-card::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -1.1rem; left: 1.6rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  background: var(--grad-gold); color: var(--navy-950);
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  box-shadow: var(--shadow-gold);
}
.step-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step-card p { font-size: .93rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.75); padding: 4.5rem 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,39,.6), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 54px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-brand p { font-size: .9rem; margin-top: 1.1rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; transition: color var(--dur) var(--ease-lux), transform var(--dur) var(--ease-lux); }
.footer-links a:hover { color: var(--gold-400); transform: translateX(4px); }
.footer-links a svg { width: 12px; height: 12px; color: var(--gold-600); }
.footer-contact { display: grid; gap: .9rem; font-size: .92rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--gold-400); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.1); transition: all var(--dur) var(--ease-lux); }
.footer-social a:hover { background: var(--grad-gold); color: var(--navy-950); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 1.4rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom a { color: var(--gold-400); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   MOBILE STICKY ACTION BAR
   ============================================================ */
.mobile-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: none; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 24px rgba(4, 18, 40, .25);
  transform: translateY(110%); animation: slideUpBar .5s var(--ease-lux) .8s forwards;
}
@keyframes slideUpBar { to { transform: translateY(0); } }
.mobile-actions a {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem .5rem; font-weight: 700; font-size: .95rem; color: #fff; min-height: 54px;
}
.mobile-actions svg { width: 20px; height: 20px; }
.mob-call { background: var(--grad-navy); }
.mob-wa { background: #1DA851; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-gold); z-index: 60; }

/* Back-to-top */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.6rem; z-index: var(--z-sticky);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-navy); color: var(--gold-300);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all var(--dur) var(--ease-lux);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ============================================================
   SCROLL-REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--ease-lux), transform .7s var(--ease-lux); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-44px); transition: opacity .7s var(--ease-lux), transform .7s var(--ease-lux); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(44px); transition: opacity .7s var(--ease-lux), transform .7s var(--ease-lux); }
.reveal-right.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .7s var(--ease-lux), transform .7s var(--ease-lux); }
.reveal-scale.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ============================================================
   404
   ============================================================ */
.err-page { min-height: 62vh; display: grid; place-items: center; text-align: center; background: var(--grad-navy); padding: 5rem 0; }
.err-page .code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-page h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: .6rem 0 1rem; }
.err-page p { color: rgba(255,255,255,.75); margin-inline: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-list, .nav-cta-group .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  /* Mobile nav drawer */
  .nav-list.open {
    display: flex; flex-direction: column; align-items: stretch; gap: .2rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem 1.4rem;
  }
  .nav-list.open a.nav-link { padding: .85rem .6rem; font-size: 1rem; }
  .nav-list.open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--ivory); margin: .2rem 0 .5rem;
  }
  .glass-chip { padding: .7rem .9rem; }
  .chip-1 { left: -2%; } .chip-2 { right: -2%; }
}
@media (max-width: 768px) {
  .mobile-actions { display: grid; }
  body { padding-bottom: 54px; }
  .to-top { bottom: calc(54px + 1.2rem); }
  .topbar-group.topbar-info { display: none; }
  .topbar .container { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-photo-card img { height: 380px; }
  .trust-strip .container { justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .mobile-actions { transform: none; }
  .glass-chip { animation: none; }
  .hero-photo-card { transform: none; }
}

/* ============================================================
   LUXURY 3D ENHANCEMENTS
   ============================================================ */
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* Gold shimmer on display accents */
.hero h1 em, .gold-text, .err-page .code {
  background: linear-gradient(110deg, #A8842C 10%, #E9D28E 28%, #C9A227 42%, #F6EBC3 50%, #C9A227 58%, #E9D28E 72%, #A8842C 90%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4.5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* Film-grain texture for a tactile, printed feel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor-following gold glow (injected by JS, desktop only) */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 560px; height: 560px; border-radius: 50%;
  pointer-events: none; z-index: 3; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(217, 185, 92, .12), transparent 60%);
  transform: translate(-50%, -50%); will-change: transform;
}

/* Cursor-tracked glare highlight (injected by JS into tilt cards) */
.tilt-glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 253, 240, .28), transparent 55%);
  opacity: 0; transition: opacity .35s var(--ease-lux);
}

/* Rotating gold ring border on card hover */
.service-card, .review-card, .glass-card, .step-card, .stats-band { position: relative; }
.service-card::after, .review-card::after, .glass-card::after, .step-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--spin),
    transparent 0%, rgba(201, 162, 39, .95) 10%, transparent 28%,
    transparent 50%, rgba(233, 210, 142, .85) 62%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .45s var(--ease-lux);
  animation: ringspin 4s linear infinite paused; pointer-events: none;
}
.service-card:hover::after, .review-card:hover::after, .glass-card:hover::after, .step-card:hover::after {
  opacity: 1; animation-play-state: running;
}
@keyframes ringspin { to { --spin: 360deg; } }

/* Deeper hero photo presence + orbiting gold rings */
.hero-scene { position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .5s var(--ease-lux); will-change: transform; }
.hero-photo-card { box-shadow: 0 6px 12px rgba(0,0,0,.25), 0 30px 60px rgba(0,0,0,.4), 0 60px 120px rgba(4,18,40,.45); }
.hero-orbit {
  position: absolute; top: 50%; left: 50%; border-radius: 50%; pointer-events: none;
}
.orbit-1 {
  width: 560px; height: 560px; margin: -280px 0 0 -280px;
  border: 1px solid rgba(201, 162, 39, .35);
  animation: orbit 26s linear infinite;
}
.orbit-1::before {
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad-gold); box-shadow: 0 0 18px rgba(201, 162, 39, .95);
}
.orbit-2 {
  width: 700px; height: 700px; margin: -350px 0 0 -350px;
  border: 1px dashed rgba(255, 255, 255, .16);
  animation: orbit 44s linear infinite reverse;
}
.orbit-2::before {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; opacity: .8; box-shadow: 0 0 12px rgba(255, 255, 255, .9);
}
@keyframes orbit { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .orbit-2 { display: none; } .orbit-1 { width: 420px; height: 420px; margin: -210px 0 0 -210px; } }

/* Metallic bevel + press feedback on buttons */
.btn-gold { box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(110, 84, 20, .3); }
.btn:active { transform: translateY(0) scale(.97); }

/* Symmetric gold rules around centered eyebrows */
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px; }

/* Infinite marquee trust strip (activated by JS) */
.trust-strip .container.has-marquee { width: 100%; max-width: none; padding: 0; justify-content: flex-start; flex-wrap: nowrap; }
.trust-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.trust-strip:hover .trust-track { animation-play-state: paused; }
.trust-group { display: flex; gap: 3.4rem; padding-right: 3.4rem; flex: none; align-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .hero h1 em, .gold-text, .err-page .code { animation: none; }
  .hero-orbit { animation: none; }
  .trust-track { animation: none; width: auto; flex-wrap: wrap; }
  .cursor-glow { display: none; }
}
