/* ============================================================
   BEST ACCOUNTING & TAX SERVICES — Luxury Design System
   Palette derived from the brand logo:
   azure blue badge · midnight navy · amber-gold bar · ivory
   ============================================================ */

:root {
  /* Color system */
  --ink: #081826;
  --navy: #0a2236;
  --navy-2: #0e2d47;
  --primary: #0e9fd8;
  --primary-deep: #0a7fb5;
  --primary-soft: #e3f4fc;
  --gold: #e8a53d;
  --gold-light: #f3c66f;
  --gold-deep: #c8862a;
  --ivory: #f8fafc;
  --cream: #fdfbf6;
  --white: #ffffff;
  --text: #16293c;
  --muted: #51667c;
  --line: #dfe8ef;

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

  /* Fluid type scale */
  --fs-hero: clamp(2.5rem, 5.5vw + 1rem, 4.6rem);
  --fs-h1: clamp(2.2rem, 4vw + 1rem, 3.6rem);
  --fs-h2: clamp(1.8rem, 2.6vw + 0.8rem, 2.75rem);
  --fs-h3: clamp(1.2rem, 1vw + 0.9rem, 1.45rem);
  --fs-eyebrow: clamp(0.72rem, 0.4vw + 0.6rem, 0.82rem);

  /* Depth — multi-layer shadow recipes */
  --shadow-soft: 0 1px 2px rgba(8, 24, 38, 0.06), 0 8px 24px rgba(8, 24, 38, 0.08);
  --shadow-lift: 0 2px 4px rgba(8, 24, 38, 0.08), 0 12px 28px rgba(8, 24, 38, 0.12), 0 28px 64px rgba(8, 24, 38, 0.12);
  --shadow-glow: 0 2px 6px rgba(8, 24, 38, 0.10), 0 18px 44px rgba(8, 24, 38, 0.16), 0 0 0 1px rgba(232, 165, 61, 0.22), 0 24px 70px rgba(14, 159, 216, 0.18);
  --shadow-gold: 0 4px 14px rgba(200, 134, 42, 0.35), 0 12px 34px rgba(200, 134, 42, 0.25);

  --radius: 18px;
  --radius-lg: 28px;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);

  /* z-index scale */
  --z-nav: 50;
  --z-sticky: 40;
  --z-progress: 60;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; position: relative; }
.section--dark { background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 55%, var(--navy-2) 100%); color: #e8f1f8; }
.section--cream { background: var(--cream); }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep);
}
.section--dark .eyebrow { color: var(--gold-light); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section--dark .h-display { color: #f4f9fd; }
.h-display .accent {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-light) 60%, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
}
.lede { font-size: clamp(1.05rem, 0.5vw + 1rem, 1.2rem); color: var(--muted); max-width: 62ch; }
.section--dark .lede { color: #a9c2d6; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .h-display { margin: 0.9rem 0 1rem; font-size: var(--fs-h2); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem; padding: 1rem 2.1rem; min-height: 52px;
  border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.02em; cursor: pointer; overflow: hidden;
  transition: transform 0.25s var(--ease-lux), box-shadow 0.25s var(--ease-lux), background-color 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold {
  background: linear-gradient(115deg, var(--gold-deep), var(--gold) 45%, var(--gold-light));
  color: var(--ink); box-shadow: var(--shadow-gold);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease-lux);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(200,134,42,0.45), 0 20px 48px rgba(200,134,42,0.3); }
.btn--ghost {
  color: #f4f9fd; border: 1.5px solid rgba(244, 249, 253, 0.35);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-3px); }
.btn--ghost-dark { color: var(--navy); border: 1.5px solid rgba(10, 34, 54, 0.25); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-3px); }
.btn--blue { background: linear-gradient(115deg, var(--primary-deep), var(--primary)); color: #fff; box-shadow: 0 4px 14px rgba(14,159,216,0.35), 0 12px 34px rgba(14,159,216,0.22); }
.btn--blue:hover { transform: translateY(-3px); }
.btn--sm { padding: 0.65rem 1.4rem; min-height: 44px; font-size: 0.88rem; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--gold));
  z-index: var(--z-progress); pointer-events: none;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: #bcd3e4;
  font-size: 0.82rem; position: relative; z-index: calc(var(--z-nav) + 1);
  border-bottom: 1px solid rgba(232, 165, 61, 0.18);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; flex-wrap: wrap; }
.topbar__group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; transition: color 0.2s; }
a.topbar__item:hover { color: var(--gold-light); }
.topbar__item svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.topbar__social { display: flex; align-items: center; gap: 0.35rem; }
.topbar__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: #bcd3e4; transition: color 0.2s, background-color 0.2s, transform 0.2s;
}
.topbar__social a:hover { color: var(--ink); background: var(--gold); transform: translateY(-2px); }
.topbar__social svg { width: 15px; height: 15px; }
@media (max-width: 720px) {
  .topbar__hours, .topbar__addr { display: none; }
}

/* ---------- Header / glass nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  transition: box-shadow 0.3s, background-color 0.3s;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(10, 34, 54, 0.08);
}
.site-header.is-scrolled { box-shadow: 0 2px 8px rgba(8,24,38,0.06), 0 10px 30px rgba(8,24,38,0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 2px 6px rgba(8,24,38,0.15), 0 6px 18px rgba(14,159,216,0.25); }
.brand__text { line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); display: block; }
.brand__tag { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav__links a {
  position: relative; font-weight: 600; font-size: 0.95rem; color: var(--text);
  padding: 0.4rem 0; transition: color 0.2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-lux);
}
.nav__links a:hover { color: var(--primary-deep); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--primary-deep); }
.nav__cta { flex: none; }

/* Dropdown for services */
.nav__item--drop { position: relative; }
.nav__drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  min-width: 300px; padding: 0.7rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 34, 54, 0.08);
  box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease-lux), transform 0.25s var(--ease-lux), visibility 0.25s;
}
.nav__item--drop:hover .nav__drop,
.nav__item--drop:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop a {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.9rem;
  border-radius: 12px; font-size: 0.92rem;
}
.nav__drop a::after { display: none; }
.nav__drop a:hover { background: var(--primary-soft); }
.nav__drop svg { width: 17px; height: 17px; color: var(--gold-deep); flex: none; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: calc(var(--z-nav) + 2); }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease-lux), opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: 0; z-index: var(--z-nav);
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: linear-gradient(165deg, var(--ink), var(--navy-2));
    opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a { color: #ecf4fa; font-family: var(--font-display); font-size: 1.5rem; }
  .nav__links a[aria-current="page"] { color: var(--gold-light); }
  .nav__drop { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; border: 0; box-shadow: none; min-width: 0; padding: 0; text-align: center; }
  .nav__drop a { justify-content: center; color: #9fbdd4; font-family: var(--font-body); font-size: 1rem; padding: 0.3rem; }
  .nav__drop a:hover { background: transparent; color: var(--gold-light); }
  .nav__item--drop > a { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(14, 159, 216, 0.28), transparent 62%),
    radial-gradient(720px 460px at 8% 110%, rgba(232, 165, 61, 0.16), transparent 60%),
    linear-gradient(160deg, #071523 0%, var(--navy) 52%, #0d3050 100%);
  color: #eaf3fa;
}
.hero--home { min-height: min(92vh, 880px); display: flex; align-items: center; padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(5rem, 9vw, 8rem); }
.hero__grid-lines {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(150, 200, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 200, 230, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; will-change: transform; }
.orb--gold { width: 380px; height: 380px; background: rgba(232, 165, 61, 0.20); top: -120px; right: 4%; animation: drift 14s ease-in-out infinite alternate; }
.orb--blue { width: 460px; height: 460px; background: rgba(14, 159, 216, 0.22); bottom: -180px; left: -6%; animation: drift 18s ease-in-out infinite alternate-reverse; }
.orb--sm { width: 200px; height: 200px; background: rgba(243, 198, 111, 0.14); top: 42%; left: 46%; animation: drift 11s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(46px, -34px, 0) scale(1.12); }
}

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light);
  border: 1px solid rgba(232, 165, 61, 0.35); background: rgba(232, 165, 61, 0.08);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__badge svg { width: 15px; height: 15px; }
.hero h1 { font-family: var(--font-display); font-size: var(--fs-hero); line-height: 1.08; margin: 1.4rem 0 1.3rem; font-weight: 700; color: #f6fafd; }
.hero h1 .accent { display: inline-block; }
.hero__sub { font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.22rem); color: #a9c2d6; max-width: 56ch; margin-bottom: 2.2rem; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero__trust { display: flex; align-items: center; gap: 0.9rem; font-size: 0.9rem; color: #a9c2d6; flex-wrap: wrap; }
.hero__stars { color: var(--gold-light); letter-spacing: 2px; font-size: 1rem; }

/* Hero line-reveal */
.reveal-lines .line { display: block; overflow: hidden; }
.reveal-lines .line > span { display: block; transform: translateY(110%); animation: lineUp 0.9s var(--ease-lux) forwards; }
.reveal-lines .line:nth-child(2) > span { animation-delay: 0.12s; }
.reveal-lines .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes lineUp { to { transform: translateY(0); } }

/* Hero glass panel + stat cards */
.hero__visual { position: relative; perspective: 1000px; }
.glass-panel {
  position: relative; border-radius: var(--radius-lg); padding: 2.2rem;
  background: linear-gradient(150deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 6px 18px rgba(0,0,0,0.25), 0 30px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}
.glass-panel__logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.glass-panel__logo img { width: 74px; height: 74px; border-radius: 50%; box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 3px rgba(232,165,61,0.35); }
.glass-panel__logo strong { font-family: var(--font-display); font-size: 1.25rem; color: #f6fafd; display: block; }
.glass-panel__logo span { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.glass-panel hr { border: 0; height: 1px; background: linear-gradient(90deg, rgba(232,165,61,0.5), transparent); margin: 1.3rem 0; }
.glass-rows { display: grid; gap: 0.9rem; font-size: 0.93rem; color: #c4d8e7; }
.glass-rows div { display: flex; justify-content: space-between; gap: 1rem; }
.glass-rows .ok { color: var(--gold-light); font-weight: 700; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1.2rem; border-radius: 16px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  box-shadow: var(--shadow-lift);
  font-size: 0.85rem; font-weight: 700; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
  will-change: transform;
}
.float-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 0.72rem; }
.float-chip svg { width: 26px; height: 26px; color: var(--primary-deep); flex: none; }
.float-chip--tl { top: -26px; left: -34px; animation-delay: 0.8s; }
.float-chip--br { bottom: -26px; right: -20px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Inner-page hero */
.hero--page { padding: clamp(4rem, 7vw, 6rem) 0 clamp(3.5rem, 6vw, 5rem); }
.hero--page::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/images/queensborough-bridge-queens-ny.jpg") center 30% / cover no-repeat;
  opacity: 0.12; mix-blend-mode: luminosity; pointer-events: none;
}
.hero--page h1 { margin: 1.1rem 0 1rem; font-size: var(--fs-h1); }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #8fb0c8; flex-wrap: wrap; }
.breadcrumb a { color: #bcd3e4; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb svg { width: 13px; height: 13px; color: var(--gold); }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin-top: 1.5rem; }
  .float-chip--tl { left: -8px; }
  .float-chip--br { right: -8px; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); border-block: 1px solid rgba(232,165,61,0.25); padding: 0.9rem 0; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 0.8rem; color: #9fbdd4; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.marquee__item svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-lux), transform 0.8s var(--ease-lux); }
.reveal--left { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--scale { transform: scale(0.92); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 2.1rem 1.9rem;
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux), border-color 0.35s;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(232,165,61,0.55), transparent 40%, transparent 65%, rgba(14,159,216,0.4));
  -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 0.35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }
a.card { cursor: pointer; }

.card--tilt { transform-style: preserve-3d; }
.card--tilt > * { transform: translateZ(24px); }

.card__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--primary-soft), #fdf3e0);
  border: 1px solid rgba(232, 165, 61, 0.3);
  margin-bottom: 1.4rem;
  transition: transform 0.35s var(--ease-lux);
}
.card:hover .card__icon { transform: translateZ(24px) scale(1.08) rotate(-4deg); }
.card__icon svg { width: 28px; height: 28px; color: var(--primary-deep); }
.card h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink); margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 1.3rem; font-weight: 700; font-size: 0.9rem; color: var(--gold-deep);
}
.card__link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-lux); }
.card:hover .card__link svg { transform: translateX(6px); }

/* Dark glass card variant */
.card--glass {
  background: linear-gradient(150deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 24px rgba(0,0,0,0.28);
}
.card--glass h3 { color: #f4f9fd; }
.card--glass p { color: #a9c2d6; }

/* ---------- Stats / counters ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 2rem 1rem; }
.stat__num {
  font-family: var(--font-display); font-size: clamp(2.4rem, 3.5vw, 3.4rem); font-weight: 700;
  background: linear-gradient(120deg, var(--gold-light), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.stat__label { margin-top: 0.5rem; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8fb0c8; font-weight: 700; }

/* ---------- Split / layered layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split__media { position: relative; }
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(155deg, var(--navy), var(--primary-deep) 120%);
}
.media-frame--pattern::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 78% 18%, rgba(232,165,61,0.35), transparent 42%),
    linear-gradient(rgba(150, 200, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 200, 230, 0.07) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}
.media-frame__logo {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.media-frame--photo::before { display: none; }
.media-frame__photo { position: absolute; inset: 0; }
.media-frame__photo img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(8, 24, 38, 0) 55%, rgba(8, 24, 38, 0.55));
  box-shadow: inset 0 0 0 1px rgba(232, 165, 61, 0.25);
  border-radius: inherit; pointer-events: none;
}
.media-frame__logo img { width: 56%; max-width: 300px; border-radius: 50%; box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 0 0 8px rgba(255,255,255,0.06), 0 0 0 1px rgba(232,165,61,0.4); }
.split__media .float-chip { z-index: 2; }
.checklist { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--text); font-weight: 600; font-size: 0.98rem; }
.section--dark .checklist li { color: #d4e4f0; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--gold-deep); margin-top: 2px; }
.section--dark .checklist svg { color: var(--gold-light); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 2rem 1.6rem 1.8rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1;
  display: block; margin-bottom: 1rem;
  background: linear-gradient(140deg, var(--gold-light), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0.9;
}
.step h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.review-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.4rem; }
.review-tab {
  padding: 0.6rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
  color: #bcd3e4; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05); cursor: pointer;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s, transform 0.25s;
}
.review-tab:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.review-tab.is-active { background: linear-gradient(115deg, var(--gold-deep), var(--gold)); color: var(--ink); border-color: transparent; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 960px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { display: flex; flex-direction: column; gap: 1rem; opacity: 1; transition: opacity 0.4s, transform 0.4s var(--ease-lux); }
.review-card.is-hidden { display: none; }
.review-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review-card__who { display: flex; align-items: center; gap: 0.8rem; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: var(--ink);
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
}
.review-card__who strong { display: block; color: #f4f9fd; font-size: 0.95rem; line-height: 1.3; }
.review-card__who span { font-size: 0.78rem; color: #8fb0c8; }
.review-card__g { width: 22px; height: 22px; flex: none; }
.review-card__stars { color: var(--gold-light); letter-spacing: 3px; font-size: 0.95rem; }
.review-card__text { color: #c2d6e5; font-size: 0.94rem; flex: 1; }
.review-card__cat {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-light);
  padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid rgba(232,165,61,0.35);
}
.rating-badge {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1.5rem; border-radius: 999px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #eaf3fa; font-weight: 700; transition: transform 0.25s var(--ease-lux), border-color 0.25s;
}
.rating-badge:hover { transform: translateY(-3px); border-color: var(--gold); }
.rating-badge svg { width: 22px; height: 22px; }
.reviews-cta { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2.6rem; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 1rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); overflow: hidden; transition: box-shadow 0.3s; }
.faq-item[open] { box-shadow: var(--shadow-lift); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 1.6rem; cursor: pointer; font-weight: 700; color: var(--ink);
  font-size: 1.02rem; list-style: none; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-deep); }
.faq-item summary .faq-plus { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--gold-deep); color: var(--gold-deep); transition: transform 0.35s var(--ease-lux), background-color 0.3s, color 0.3s; }
.faq-item summary .faq-plus svg { width: 14px; height: 14px; }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); background: var(--gold-deep); color: #fff; }
.faq-item .faq-body { padding: 0 1.6rem 1.4rem; color: var(--muted); font-size: 0.97rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.8rem, 5vw, 4.5rem);
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(232,165,61,0.30), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, rgba(14,159,216,0.30), transparent 60%),
    linear-gradient(150deg, rgba(7, 21, 35, 0.94), rgba(14, 45, 71, 0.94)),
    url("../assets/images/queensborough-bridge-queens-ny.jpg") center 35% / cover no-repeat;
  color: #eef5fa; text-align: center;
  box-shadow: var(--shadow-lift);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(150,200,230,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,200,230,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-family: var(--font-display); font-size: var(--fs-h2); margin: 0.9rem 0 1rem; color: #f6fafd; }
.cta-banner p { color: #a9c2d6; max-width: 58ch; margin: 0 auto 2.2rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-shell {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lift); padding: clamp(1.8rem, 4vw, 3rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.15rem 1.1rem 0.55rem; border-radius: 13px;
  border: 1.5px solid var(--line); background: var(--ivory);
  font-size: 0.98rem; transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  min-height: 54px;
}
.field textarea { min-height: 130px; resize: vertical; padding-top: 1.5rem; }
.field label {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  font-size: 0.95rem; color: var(--muted); pointer-events: none;
  transition: top 0.22s var(--ease-lux), font-size 0.22s, color 0.22s, transform 0.22s;
}
.field--area label { top: 1.6rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 159, 216, 0.14); background: #fff;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field.has-value label {
  top: 0.85rem; transform: none; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep);
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field select { appearance: none; padding-top: 1.35rem; color: var(--text); }
.field--select::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field .error-msg { display: none; font-size: 0.78rem; color: #c0392b; margin-top: 0.35rem; font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c0392b; }
.field.is-invalid .error-msg { display: block; }
.form-success {
  display: none; text-align: center; padding: 2.5rem 1rem;
}
.form-success.is-shown { display: block; animation: popIn 0.5s var(--ease-lux); }
.form-success svg { width: 62px; height: 62px; color: var(--gold-deep); margin: 0 auto 1rem; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: 0.5rem; }
@keyframes popIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }

/* ---------- Resource / tool cards ---------- */
.tool-card { display: flex; flex-direction: column; }
.tool-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Contact page ---------- */
.contact-info { display: grid; gap: 1.4rem; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; }
.contact-line svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; margin-top: 3px; }
.contact-line strong { display: block; color: var(--ink); font-size: 0.98rem; }
.contact-line span, .contact-line a { color: var(--muted); font-size: 0.95rem; }
.contact-line a:hover { color: var(--primary-deep); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(170deg, #071523, var(--ink));
  color: #a9c2d6; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem); padding: clamp(3.5rem, 6vw, 5rem) 0 3rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 62px; height: 62px; border-radius: 50%; margin-bottom: 1.1rem; box-shadow: 0 0 0 3px rgba(232,165,61,0.3); }
.footer-brand p { font-size: 0.92rem; margin-top: 0.9rem; max-width: 34ch; }
.footer-brand .brand__name { color: #f4f9fd; font-size: 1.2rem; }
.site-footer h4 {
  font-family: var(--font-display); color: #f4f9fd; font-size: 1.05rem; margin-bottom: 1.3rem;
  position: relative; padding-bottom: 0.7rem;
}
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); }
.footer-links { display: grid; gap: 0.7rem; font-size: 0.93rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s, transform 0.2s; }
.footer-links a::before { content: "→"; color: var(--gold); font-size: 0.8rem; transition: transform 0.25s var(--ease-lux); }
.footer-links a:hover { color: var(--gold-light); }
.footer-links a:hover::before { transform: translateX(4px); }
.footer-contact { display: grid; gap: 0.9rem; font-size: 0.92rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.18); color: #bcd3e4;
  transition: background-color 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 1.4rem 0 5.5rem; text-align: center; font-size: 0.85rem; color: #7d99b0;
}
@media (min-width: 769px) { .footer-bottom { padding-bottom: 1.4rem; } }
.footer-bottom a { color: var(--gold-light); font-weight: 700; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Sticky mobile call/WhatsApp bar ---------- */
.sticky-actions {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-sticky);
  display: none; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 20px rgba(8, 24, 38, 0.25);
}
.sticky-actions a {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem; font-weight: 800; font-size: 0.95rem; color: #fff; min-height: 56px;
}
.sticky-actions svg { width: 20px; height: 20px; }
.sticky-actions .act-call { background: linear-gradient(115deg, var(--primary-deep), var(--primary)); }
.sticky-actions .act-wa { background: linear-gradient(115deg, #1da851, #25d366); }
.sticky-actions .act-call svg { animation: ring 2.4s ease-in-out infinite; }
@keyframes ring {
  0%, 70%, 100% { transform: rotate(0); }
  74%, 82%, 90% { transform: rotate(-14deg); }
  78%, 86%, 94% { transform: rotate(14deg); }
}
@media (max-width: 768px) {
  .sticky-actions { display: grid; }
  body { padding-bottom: 0; }
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 1.4rem; bottom: 1.6rem; z-index: var(--z-sticky);
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-deep), var(--gold));
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s var(--ease-lux), visibility 0.3s;
}
.back-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }
.back-top svg { width: 20px; height: 20px; }
@media (max-width: 768px) { .back-top { bottom: 4.8rem; } }

/* ---------- 404 ---------- */
.page-404 { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.page-404 .code {
  font-family: var(--font-display); font-size: clamp(6rem, 16vw, 11rem); font-weight: 700; line-height: 1;
  background: linear-gradient(140deg, var(--gold-light), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Prose (service pages) ---------- */
.prose h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem); color: var(--ink); margin: 2.4rem 0 1rem; }
.prose p { color: var(--muted); margin-bottom: 1.1rem; }
.prose strong { color: var(--text); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-lines .line > span { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}
