/* ═══════════════════════════════════════════════════════════════
   TRIANA ATTORNEYS — Neumorphism Design System
   Palette matched exactly to the firm's marque:
   navy #003E8A · gold #FFAE2A · shade-gold #C08320
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Surfaces — warm parchment, logo-matched */
  --bg:          #EDE8DC;
  --bg-deep:     #DED8C7;
  --panel:       #EDE8DC;

  /* Ink & text — logo navy family */
  --ink:         #04284E;
  --text:        #2F3B54;
  --muted:       #6F6A5C;

  /* Brand — sampled from assets/img/triana-bgr.png */
  --navy-900:    #032042;
  --navy-800:    #04284E;
  --navy-700:    #06356F;
  --navy:        #003E8A;
  --navy-soft:   #2558A8;
  --gold:        #FFAE2A;
  --gold-light:  #FFC85E;
  --gold-deep:   #C08320;
  --gold-soft:   rgba(255, 174, 42, .22);
  --green:       #04284E;
  --green-soft:  rgba(4, 40, 78, .12);
  --red:         #B3402A;
  --red-soft:    rgba(179, 64, 42, .12);

  /* Neumorphic shadow pair */
  --sh-dark:     #CFC8B7;
  --sh-light:    #FFFFFF;
  --sh-out-lg:   14px 14px 30px var(--sh-dark), -14px -14px 30px var(--sh-light);
  --sh-out:      10px 10px 22px var(--sh-dark), -10px -10px 22px var(--sh-light);
  --sh-out-sm:   6px 6px 14px var(--sh-dark), -6px -6px 14px var(--sh-light);
  --sh-out-xs:   4px 4px 9px var(--sh-dark), -4px -4px 9px var(--sh-light);
  --sh-in:       inset 8px 8px 16px var(--sh-dark), inset -8px -8px 16px var(--sh-light);
  --sh-in-sm:    inset 5px 5px 10px var(--sh-dark), inset -5px -5px 10px var(--sh-light);
  --sh-in-xs:    inset 3px 3px 7px var(--sh-dark), inset -3px -3px 7px var(--sh-light);

  /* Radii */
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --nav-h: 74px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --transition: .35s var(--ease);
}

/* ───────────────────────── Reset ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #A89F8F; border-radius: 8px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 10000;
  background: var(--navy-800); color: #fff; padding: .75rem 1.4rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); text-decoration: none; font-weight: 600;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 0; }

/* ───────────────────────── Neumorphic primitives ───────────────────────── */
.neo-raised { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--sh-out); }
.neo-inset  { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--sh-in); }
.neo-frame  { background: var(--panel); border-radius: var(--r-xl); box-shadow: var(--sh-out-lg); }

/* ───────────────────────── Typography helpers ───────────────────────── */
.section { padding: clamp(4rem, 7vw, 6.5rem) 0; position: relative; }
.section-title {
  font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink);
  font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; letter-spacing: -.01em;
  margin: 1rem 0 1.1rem;
}
.section-title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-sub { color: var(--muted); max-width: 46ch; font-size: 1.02rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }
.lead { font-size: 1.08rem; color: var(--text); }
.body-copy { margin-top: .9rem; color: var(--text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy); background: var(--panel);
  padding: .5rem 1.05rem; border-radius: var(--r-pill); box-shadow: var(--sh-out-xs);
}
.eyebrow--sm { font-size: .66rem; padding: .38rem .85rem; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.eyebrow-tag { background: var(--navy-800); color: var(--gold-light); border-radius: var(--r-pill); padding: .14rem .55rem; font-size: .62rem; letter-spacing: .14em; }

/* ───────────────────────── Buttons ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  font-weight: 700; font-size: .92rem; letter-spacing: .01em; text-decoration: none;
  border-radius: var(--r-pill); padding: .82rem 1.6rem; white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  border: 0;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { padding: 1.02rem 1.9rem; font-size: .97rem; }
.btn-sm { padding: .62rem 1.15rem; font-size: .82rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-gold {
  color: var(--navy-900);
  background: linear-gradient(155deg, #FFD985 0%, var(--gold) 42%, var(--gold-deep) 100%);
  box-shadow: 0 16px 34px rgba(192, 131, 32, .38), 0 3px 0 var(--gold-deep) inset, 0 -2px 6px rgba(255,255,255,.65) inset;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(192, 131, 32, .45), 0 3px 0 var(--gold-deep) inset, 0 -2px 6px rgba(255,255,255,.7) inset; filter: saturate(1.05); }

.btn-navy {
  color: #fff;
  background: linear-gradient(160deg, var(--navy-soft) 0%, var(--navy-700) 55%, var(--navy-800) 100%);
  box-shadow: 0 16px 34px rgba(4, 40, 78, .35), 0 1px 0 rgba(255,255,255,.25) inset;
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(4, 40, 78, .42), 0 1px 0 rgba(255,255,255,.3) inset; }

.btn-neo {
  color: var(--ink); background: var(--panel); box-shadow: var(--sh-out-sm);
}
.btn-neo:hover { transform: translateY(-2px); box-shadow: var(--sh-out); }
.btn-neo:active { box-shadow: var(--sh-in-sm); }

.btn-ghost { color: var(--navy); background: transparent; box-shadow: none; border: 2px solid transparent; }
.btn-ghost:hover { background: rgba(20,57,92,.07); }

/* ───────────────────────── Scroll progress ───────────────────────── */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep)); transition: width .12s linear; }

/* ───────────────────────── Preloader ───────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-mark { width: 130px; margin-inline: auto; animation: preloaderPulse 1.6s ease-in-out infinite; filter: drop-shadow(0 14px 22px rgba(4, 40, 78,.28)); }
.preloader-word { display: flex; gap: .42em; justify-content: center; margin-top: 1.2rem; font-family: 'Fraunces', serif; font-size: 1.6rem; letter-spacing: .3em; color: var(--navy-800); font-weight: 700; padding-left: .3em; }
.preloader-word span { animation: preloaderLetter 1.15s var(--ease) infinite; display: inline-block; }
.preloader-word span:nth-child(1) { animation-delay: 0s; }    .preloader-word span:nth-child(2) { animation-delay: .08s; }
.preloader-word span:nth-child(3) { animation-delay: .16s; }  .preloader-word span:nth-child(4) { animation-delay: .24s; }
.preloader-word span:nth-child(5) { animation-delay: .32s; }  .preloader-word span:nth-child(6) { animation-delay: .40s; }
.preloader-sub { margin-top: .35rem; font-size: .68rem; letter-spacing: .6em; padding-left: .6em; color: var(--gold-deep); font-weight: 700; }
@keyframes preloaderPulse { 0%,100% { transform: scale(.96); opacity: .85; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes preloaderLetter { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-8px); opacity: 1; } }

/* ───────────────────────── Topbar ───────────────────────── */
.topbar { background: linear-gradient(90deg, var(--navy-900), var(--navy-800) 50%, var(--navy-900)); color: #DAD4C4; font-size: .74rem; position: relative; z-index: 1002; }
.topbar-inner { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.1rem; min-width: 0; }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar-item i { color: var(--gold); font-size: .78rem; }
.topbar-link { color: inherit; text-decoration: none; transition: color .25s; }
.topbar-link:hover { color: #fff; }
.topbar-item--divider { border-left: 1px solid rgba(255,255,255,.18); padding-left: 1.1rem; }
.open-status { display: inline-flex; align-items: center; gap: .4rem; margin-left: .6rem; padding: .1rem .6rem .1rem .35rem; border-radius: var(--r-pill); background: rgba(255,255,255,.07); font-style: normal; }
.open-status em { font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .02em; }
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffd35a; box-shadow: 0 0 8px rgba(255,211,90,.8); }
.open-status.is-open .open-dot { background: var(--gold-light); box-shadow: 0 0 10px rgba(255, 200, 94, .9); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }

/* ───────────────────────── Navbar ───────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(233, 237, 243, .86);
  backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(255,255,255,.9);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.is-scrolled { box-shadow: 0 10px 34px rgba(16, 35, 58, .14); background: rgba(233, 237, 243, .94); }
.navbar-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { height: 56px; width: auto; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(4, 40, 78,.18)); transition: transform var(--transition); }
.brand:hover .brand-logo { transform: scale(1.03); }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  position: relative; text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem;
  padding: .55rem .95rem; border-radius: var(--r-pill); transition: color .25s, background .25s, box-shadow .25s;
}
.nav-link:hover { color: var(--navy-800); }
.nav-link.is-active { color: var(--navy-800); background: var(--panel); box-shadow: var(--sh-in-xs); }
.navbar-actions { display: flex; align-items: center; gap: .85rem; }
.hotline-chip { display: flex; align-items: center; gap: .6rem; text-decoration: none; padding: .35rem .7rem .35rem .35rem; border-radius: var(--r-pill); background: var(--panel); box-shadow: var(--sh-out-xs); transition: transform var(--transition); }
.hotline-chip:hover { transform: translateY(-2px); }
.hotline-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--navy-900); background: linear-gradient(155deg, var(--gold-light), var(--gold-deep)); box-shadow: 0 4px 10px rgba(192, 131, 32,.4); }
.hotline-copy { display: flex; flex-direction: column; line-height: 1.15; }
.hotline-copy small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.hotline-copy strong { font-size: .86rem; color: var(--navy-800); letter-spacing: .02em; }

.hamburger { display: none; width: 46px; height: 46px; border-radius: var(--r-md); background: var(--panel); box-shadow: var(--sh-out-xs); position: relative; z-index: 1003; }
.hamburger span { display: block; width: 20px; height: 2.4px; background: var(--navy-800); border-radius: 2px; margin: 4.6px auto; transition: transform .35s var(--ease), opacity .3s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel { position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid rgba(4, 40, 78,.1); box-shadow: 0 30px 50px rgba(4, 40, 78,.18); animation: panelSlide .38s var(--ease); z-index: 999; }
@keyframes panelSlide { from { opacity: 0; transform: translateY(-12px); } }
.mobile-nav { padding: 1.2rem 1.5rem 1.6rem; display: grid; gap: .35rem; }
.mobile-nav a { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--text); font-weight: 600; padding: .8rem .9rem; border-radius: var(--r-md); transition: background .25s, color .25s; }
.mobile-nav a:hover { background: var(--bg-deep); color: var(--navy-800); }
.mobile-nav a i { color: var(--gold-deep); width: 1.2em; text-align: center; }
.mobile-call { margin-top: .5rem; background: var(--navy-800); color: #fff !important; justify-content: center; }
.mobile-call i { color: var(--gold) !important; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2rem, 4vw, 3.4rem) 0 clamp(4.5rem, 6vw, 5.5rem);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(255, 174, 42,.22), transparent 55%),
    radial-gradient(900px 600px at -12% 108%, rgba(0, 62, 138,.14), transparent 55%),
    var(--bg);
}
.hero-decor--ring { position: absolute; width: 560px; height: 560px; border: 78px solid rgba(0, 62, 138,.06); border-radius: 50%; top: -180px; right: -170px; pointer-events: none; }
.hero-decor--blob { position: absolute; width: 300px; height: 300px; border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; background: linear-gradient(140deg, rgba(255, 174, 42,.18), rgba(255, 174, 42,.04)); bottom: -90px; left: -110px; filter: blur(2px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 3rem; align-items: center; position: relative; }

.eyebrow--hero { background: var(--panel); box-shadow: var(--sh-out-xs); }
.hero-title {
  font-family: 'Fraunces', serif; font-weight: 650; color: var(--ink);
  font-size: clamp(2.55rem, 6vw, 4.35rem); line-height: 1.02; letter-spacing: -.02em;
  margin: 1.4rem 0 1.5rem;
}
.hero-title em { font-style: italic; background: linear-gradient(120deg, var(--navy) 5%, var(--gold-deep) 55%, var(--gold) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.06rem; max-width: 54ch; }
.hero-sub strong { color: var(--navy-800); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.7rem; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem; }
.hero-trust li { display: flex; align-items: center; gap: .5rem; font-size: .86rem; color: var(--text); }
.hero-trust i { color: var(--green); }
.hero-trust strong { color: var(--navy-800); }

.hero-rating { display: flex; align-items: center; gap: 1rem; margin-top: 1.7rem; padding-top: 1.5rem; border-top: 1px dashed rgba(4, 40, 78,.22); max-width: 480px; }
.hero-rating-avatars { display: flex; }
.hero-rating-avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); box-shadow: var(--sh-out-xs); margin-left: -12px; }
.hero-rating-avatars img:first-child { margin-left: 0; }
.hero-rating-more { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-800); color: var(--gold-light); font-size: .72rem; font-weight: 700; display: grid; place-items: center; margin-left: -12px; border: 3px solid var(--bg); }
.hero-rating p { display: flex; flex-direction: column; }
.hero-rating strong { font-size: .88rem; color: var(--ink); }
.hero-rating span { font-size: .76rem; color: var(--muted); }

/* Hero visual — arch portrait with floating chips */
.hero-visual { display: flex; justify-content: center; }
.hero-arch-wrap { position: relative; width: min(360px, 100%); }
.hero-arch { border-radius: 50% 50% 22px 22px / 34% 34% 22px 22px; overflow: hidden; aspect-ratio: 3 / 4.35; position: relative; }
.hero-arch-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.02); }
.hero-arch-gloss { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(255,255,255,.28) 0%, transparent 28%), linear-gradient(0deg, rgba(3, 32, 66,.42) 0%, transparent 38%); pointer-events: none; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: .65rem;
  padding: .55rem .85rem .55rem .55rem; border-radius: var(--r-lg);
  animation: chipFloat 6.5s ease-in-out infinite alternate;
}
.float-chip--top { top: 8%; left: -72px; animation-delay: .2s; }
.float-chip--mid { top: 44%; right: -84px; animation-delay: 1.6s; }
.float-chip--bottom { bottom: 7%; left: -56px; animation-delay: 3.1s; }
@keyframes chipFloat { from { transform: translateY(-8px); } to { transform: translateY(12px); } }
.float-chip-icon { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; color: #fff; font-size: 1.15rem; }
.float-chip-icon--gold { background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); box-shadow: 0 6px 14px rgba(192, 131, 32,.45); }
.float-chip-icon--navy { background: linear-gradient(150deg, var(--navy-soft), var(--navy-800)); box-shadow: 0 6px 14px rgba(4, 40, 78,.4); }
.float-chip-icon--green { background: linear-gradient(150deg, var(--navy-soft), var(--navy-800)); box-shadow: 0 6px 14px rgba(192, 131, 32, .4); }
.float-chip-copy { display: flex; flex-direction: column; line-height: 1.15; }
.float-chip-copy strong { font-family: 'Fraunces', serif; font-size: 1.12rem; color: var(--ink); }
.float-chip-copy small { font-size: .66rem; color: var(--muted); letter-spacing: .03em; }

.scroll-cue { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .45rem; text-decoration: none; color: var(--muted); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.scroll-cue-wheel { width: 22px; height: 34px; border: 2px solid #B9B29F; border-radius: 12px; position: relative; }
.scroll-cue-wheel::after { content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 7px; margin-left: -2px; border-radius: 3px; background: var(--gold-deep); animation: wheelDot 1.7s ease-in-out infinite; }
@keyframes wheelDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ═══════════ MARQUEE ═══════════ */
.marquee { overflow: hidden; background: linear-gradient(90deg, var(--navy-900), var(--navy-800) 30%, var(--navy-900) 50%, var(--navy-800) 70%, var(--navy-900)); border-top: 1px solid rgba(255, 174, 42,.45); border-bottom: 1px solid rgba(255, 174, 42,.45); padding: .78rem 0; }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marqueeScroll 46s linear infinite; padding-left: 1rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: 'Fraunces', serif; font-style: italic; font-size: .95rem; color: #e8d9b0; letter-spacing: .04em; white-space: nowrap; }
.marquee-track i { color: var(--gold); font-size: .8rem; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════ STATS STRIP ═══════════ */
.stats-strip { padding: 1.4rem 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.stat-cell { padding: 1.5rem 1.2rem; text-align: center; border-radius: var(--r-lg); }
.stat-number { display: block; font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--navy-800); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: .5rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ═══════════ ABOUT ═══════════ */
.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-collage { position: relative; min-height: 480px; }
.polaroid { background: #fff; padding: 14px 14px 46px; border-radius: var(--r-md); box-shadow: var(--sh-out), 0 26px 40px rgba(4, 40, 78,.22); position: absolute; transition: transform .5s var(--ease); }
.polaroid img { border-radius: var(--r-sm); object-fit: cover; }
.polaroid figcaption { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: 'Fraunces', serif; font-style: italic; font-size: .82rem; color: var(--muted); }
.polaroid--a { width: 62%; top: 0; left: 0; transform: rotate(-4deg); z-index: 2; }
.polaroid--a img { height: 330px; width: 100%; }
.polaroid--b { width: 54%; bottom: 0; right: 0; transform: rotate(3.5deg); z-index: 3; }
.polaroid--b img { height: 210px; width: 100%; }
.polaroid:hover { transform: rotate(0) translateY(-8px) scale(1.02); z-index: 5; }
.about-seal { position: absolute; z-index: 6; left: 56%; top: 38%; width: 118px; height: 118px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; background: var(--panel); padding: .6rem; animation: sealSpin 26s linear infinite; }
.about-seal img { width: 62px; object-fit: contain; }
.about-seal span { text-align: center; line-height: 1.05; }
.about-seal strong { display: block; font-size: .62rem; letter-spacing: .2em; color: var(--navy-800); }
.about-seal small { font-size: .58rem; color: var(--gold-deep); font-weight: 700; letter-spacing: .1em; }
@keyframes sealSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.about-seal > * { animation: sealSpin 26s linear infinite reverse; }

.about-checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin: 1.6rem 0 1.4rem; }
.about-checklist li { display: flex; gap: .7rem; align-items: flex-start; background: var(--panel); border-radius: var(--r-md); box-shadow: var(--sh-out-xs); padding: .75rem .8rem; }
.check-pill { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: .75rem; background: linear-gradient(150deg, var(--navy-soft), var(--navy-800)); box-shadow: 0 4px 8px rgba(192, 131, 32, .4); }
.about-checklist strong { display: block; font-size: .82rem; color: var(--ink); }
.about-checklist small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.45; margin-top: .15rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag { font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--navy-700); padding: .34rem .75rem; border-radius: var(--r-pill); background: var(--panel); box-shadow: var(--sh-in-xs); }

/* ═══════════ MISSION / VISION / VALUES ═══════════ */
.pillars { padding-top: 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pillar { padding: 1.7rem 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .65rem; transition: transform .4s var(--ease); }
.pillar:hover { transform: translateY(-6px); }
.pillar-head { display: flex; align-items: center; justify-content: space-between; }
.pillar-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 1rem; color: var(--muted); }
.pillar-icon { width: 58px; height: 58px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: linear-gradient(150deg, var(--navy-soft), var(--navy-800)); box-shadow: 0 8px 18px rgba(4, 40, 78,.38); }
.pillar-icon--gold { background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); box-shadow: 0 8px 18px rgba(192, 131, 32,.42); color: var(--navy-900); }
.pillar-icon--green { background: linear-gradient(150deg, var(--navy-soft), var(--navy-800)); box-shadow: 0 8px 18px rgba(192, 131, 32, .4); }
.pillar h3 { font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--ink); }
.pillar p { font-size: .9rem; color: var(--text); flex: 1; }
.pillar-foot { border-top: 1px dashed rgba(4, 40, 78,.2); padding-top: .75rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); display: flex; align-items: center; gap: .5rem; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; } .reveal-delay-2 { transition-delay: .24s; }

/* ═══════════ SERVICES ═══════════ */
.services { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 40%, var(--bg) 100%); }
.btn-service-cta { align-self: flex-end; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.service-card {
  background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--sh-out-sm);
  overflow: hidden; text-align: left; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); cursor: pointer; border: 1px solid rgba(255,255,255,.7);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--sh-out), 0 24px 44px rgba(4, 40, 78,.18); }
.service-card:active { box-shadow: var(--sh-in-sm); }
.service-media { position: relative; height: 132px; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.08); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 32, 66,.05) 0%, rgba(3, 32, 66,.62) 100%); }
.service-media-icon { position: absolute; left: .9rem; bottom: -16px; z-index: 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--navy-900); font-size: 1.05rem; background: linear-gradient(155deg, var(--gold-light), var(--gold-deep)); box-shadow: var(--sh-out-xs), 0 6px 14px rgba(192, 131, 32,.4); border: 3px solid var(--panel); }
.service-badge { position: absolute; top: .65rem; right: .65rem; z-index: 2; font-size: .58rem; letter-spacing: .18em; font-weight: 800; color: #ffe9b8; padding: .28rem .55rem; border-radius: var(--r-pill); background: rgba(3, 32, 66,.55); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.25); }
.service-body { padding: 1.35rem .95rem .95rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.service-body h3 { font-family: 'Fraunces', serif; font-size: .98rem; line-height: 1.25; color: var(--ink); min-height: 2.5em; }
.service-body p { font-size: .76rem; color: var(--muted); line-height: 1.5; flex: 1; }
.service-more { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); margin-top: .2rem; }
.service-more i { transition: transform .3s var(--ease); }
.service-card:hover .service-more i { transform: translateX(5px); }

/* ═══════════ BILLING ═══════════ */
.billing-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.6rem; align-items: stretch; }
.billing-card { padding: 1.8rem; display: flex; flex-direction: column; }
.billing-card-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(4, 40, 78,.12); margin-bottom: 1.1rem; }
.billing-badge { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.6rem; color: #fff; background: linear-gradient(155deg, var(--navy-soft), var(--navy-800)); box-shadow: 0 8px 18px rgba(4, 40, 78,.4); }
.billing-badge--b { background: linear-gradient(155deg, var(--gold-light), var(--gold-deep)); color: var(--navy-900); box-shadow: 0 8px 18px rgba(192, 131, 32,.45); }
.billing-card-head h3 { font-family: 'Fraunces', serif; font-size: 1.32rem; color: var(--ink); }
.billing-card-head p { font-size: .8rem; color: var(--muted); }
.billing-tag { margin-left: auto; align-self: flex-start; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .6rem; border-radius: var(--r-pill); white-space: nowrap; }
.billing-tag--standard { color: var(--green); background: var(--green-soft); }
.billing-tag--nonstandard { color: #ffd98a; background: rgba(255,217,138,.14); }
.billing-list { list-style: none; counter-reset: bill; display: grid; gap: .75rem; }
.billing-list li { counter-increment: bill; position: relative; padding-left: 2.15rem; font-size: .87rem; line-height: 1.55; }
.billing-list li::before { content: counter(bill); position: absolute; left: 0; top: -2px; width: 1.5rem; height: 1.5rem; border-radius: 9px; display: grid; place-items: center; font-size: .68rem; font-weight: 800; color: var(--navy-800); background: var(--bg-deep); box-shadow: var(--sh-out-xs); }
.billing-card--dark { background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy-800) 60%, var(--navy-900) 100%); color: #E3DECF; box-shadow: var(--sh-out-lg), 0 30px 60px rgba(3, 32, 66,.45); }
.billing-card--dark h3 { color: #fff; }
.billing-card--dark .billing-card-head { border-bottom-color: rgba(255,255,255,.14); }
.billing-card--dark .billing-card-head p { color: #C9C3B3; }
.billing-list--dark li { color: #E3DECF; }
.billing-list--dark li::before { color: var(--gold-light); background: rgba(255,255,255,.08); box-shadow: inset 2px 2px 5px rgba(0,0,0,.45), inset -2px -2px 5px rgba(255,255,255,.09); }
.billing-note { margin-top: 1.1rem; display: flex; gap: .6rem; align-items: flex-start; font-size: .78rem; background: rgba(3, 32, 66,.45); border: 1px solid rgba(255, 174, 42,.35); border-radius: var(--r-md); padding: .7rem .8rem; color: #f0dfae; }
.billing-note i { color: var(--gold); margin-top: .12rem; }
.billing-vs { display: flex; align-items: center; }
.billing-vs span { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 800; color: var(--gold-light); background: radial-gradient(circle at 35% 30%, var(--navy-soft), var(--navy-900)); box-shadow: var(--sh-out-sm), 0 0 0 6px var(--bg); letter-spacing: .08em; }

/* ═══════════ TEAM ═══════════ */
.team-filters { display: flex; gap: .35rem; background: var(--panel); padding: .4rem; border-radius: var(--r-pill); box-shadow: var(--sh-in-xs); flex-wrap: wrap; }
.filter-chip { border-radius: var(--r-pill); padding: .5rem 1rem; font-size: .78rem; font-weight: 700; color: var(--muted); transition: all .3s var(--ease); display: inline-flex; align-items: center; gap: .35rem; }
.filter-chip span { font-size: .66rem; background: var(--bg-deep); border-radius: var(--r-pill); padding: .05rem .4rem; }
.filter-chip:hover { color: var(--navy-800); }
.filter-chip.is-active { background: var(--navy-800); color: #fff; box-shadow: 0 6px 14px rgba(4, 40, 78,.4); }
.filter-chip.is-active span { background: rgba(255,255,255,.16); color: var(--gold-light); }

.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.15rem; }
.team-card { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--sh-out-sm); overflow: hidden; text-align: center; padding-bottom: .9rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--sh-out); }
.team-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: saturate(.92); transition: transform .5s var(--ease), filter .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); filter: saturate(1.1); }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(3, 32, 66,.55) 100%); }
.team-mail { position: absolute; bottom: .55rem; left: 50%; transform: translate(-50%, 14px); z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--navy-900); text-decoration: none; background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); opacity: 0; transition: all .35s var(--ease); box-shadow: 0 6px 14px rgba(192, 131, 32,.5); }
.team-card:hover .team-mail, .team-card:focus-within .team-mail { opacity: 1; transform: translate(-50%, 0); }
.team-body { padding: .75rem .6rem 0; }
.team-body h3 { font-family: 'Fraunces', serif; font-size: .82rem; line-height: 1.25; color: var(--ink); min-height: 2.55em; display: flex; align-items: center; justify-content: center; }
.team-body span { display: inline-block; margin-top: .35rem; font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; color: var(--gold-deep); background: var(--gold-soft); padding: .3rem .55rem; border-radius: var(--r-pill); }
.team-card.is-hidden { display: none; }

/* ═══════════ CLIENT PORTAL & MATTER INTAKE ═══════════ */
.portal { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 45%, var(--bg) 100%); }
.portal-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 1.7rem; align-items: stretch; }
.portal-card { padding: 1.7rem; display: flex; flex-direction: column; }
.portal-card-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.3rem; }
.portal-card-head h3 { font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--ink); }
.portal-card-head p { font-size: .78rem; color: var(--muted); }
.portal-icon { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: linear-gradient(150deg, var(--navy-soft), var(--navy-800)); box-shadow: 0 8px 18px rgba(4, 40, 78,.4); }
.portal-icon--gold { background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); color: var(--navy-900); box-shadow: 0 8px 18px rgba(192, 131, 32,.45); }

.field { display: block; margin-bottom: .95rem; position: relative; }
.field-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.field-label .opt { text-transform: none; font-weight: 500; color: #A89F8F; letter-spacing: 0; }
.field-wrap { position: relative; display: flex; align-items: center; background: var(--bg-deep); border-radius: var(--r-md); box-shadow: var(--sh-in-sm); transition: box-shadow .3s; border: 2px solid transparent; }
.field-wrap:focus-within { border-color: rgba(255, 174, 42,.6); box-shadow: var(--sh-in-sm), 0 0 0 4px var(--gold-soft); }
.field-icon { position: absolute; left: .9rem; color: #9C9484; font-size: .9rem; pointer-events: none; z-index: 1; }
.field-icon--top { top: 1rem; left: .9rem; }
.field-wrap input, .field-wrap select, .field-wrap textarea {
  width: 100%; background: transparent; border: 0; outline: none;
  padding: .85rem 1rem .85rem 2.5rem; font-size: .92rem; color: var(--ink); border-radius: var(--r-md);
}
.field-wrap textarea { resize: vertical; min-height: 96px; padding-left: 2.5rem; }
.field-wrap--area { align-items: flex-start; }
.field-wrap--select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field-select-caret { position: absolute; right: .9rem; pointer-events: none; color: var(--muted); font-size: .8rem; }
.field-toggle { position: absolute; right: .55rem; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: background .25s, color .25s; }
.field-toggle:hover { background: rgba(4, 40, 78,.08); color: var(--navy-800); }
.field-error { display: none; font-size: .72rem; color: var(--red); font-weight: 600; margin-top: .35rem; }
.field.is-invalid .field-wrap { border-color: rgba(179,64,42,.55); box-shadow: var(--sh-in-sm), 0 0 0 4px var(--red-soft); }
.field.is-invalid .field-error { display: block; }
.wizard-error { display: none; }
.wizard-error.is-visible { display: block; }

.portal-form-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .2rem 0 1.1rem; }
.remember { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text); cursor: pointer; user-select: none; }
.remember input { position: absolute; opacity: 0; pointer-events: none; }
.remember-box { width: 20px; height: 20px; border-radius: 6px; background: var(--bg-deep); box-shadow: var(--sh-in-xs); display: grid; place-items: center; color: transparent; font-size: .65rem; transition: all .25s; }
.remember input:checked + .remember-box { background: var(--navy-800); color: var(--gold-light); box-shadow: 0 3px 8px rgba(4, 40, 78,.4); }
.link-quiet { font-size: .8rem; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(0, 62, 138,.4); }
.link-quiet:hover { color: var(--gold-deep); }

.portal-assurances { list-style: none; display: flex; gap: .4rem 1.1rem; flex-wrap: wrap; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px dashed rgba(4, 40, 78,.22); }
.portal-assurances li { display: flex; align-items: center; gap: .35rem; font-size: .7rem; color: var(--muted); font-weight: 600; }
.portal-assurances i { color: var(--green); }
.portal-demo-note { margin-top: .85rem; font-size: .68rem; color: #9C9484; display: flex; gap: .4rem; align-items: flex-start; }
.portal-demo-note i { margin-top: .1rem; color: var(--gold-deep); }

/* Wizard */
.wizard-steps { list-style: none; display: flex; align-items: center; gap: .35rem; margin-bottom: 1.2rem; }
.wizard-step { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.wizard-step span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: var(--muted); background: var(--bg-deep); box-shadow: var(--sh-in-xs); transition: all .35s; }
.wizard-step small { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); white-space: nowrap; }
.wizard-step.is-active span { background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); color: var(--navy-900); box-shadow: 0 6px 14px rgba(192, 131, 32,.45); }
.wizard-step.is-active small { color: var(--gold-deep); }
.wizard-step.is-done span { background: var(--navy-800); color: var(--gold-light); box-shadow: 0 4px 10px rgba(4, 40, 78,.35); }
.wizard-step.is-done small { color: var(--navy-800); }
.wizard-connector { flex: 1; height: 3px; border-radius: 2px; background: var(--bg-deep); box-shadow: var(--sh-in-xs); margin-bottom: 1rem; min-width: 18px; }
.wizard-panel { border: 0; display: none; }
.wizard-panel.is-active { display: block; animation: panelFade .4s var(--ease); }
@keyframes panelFade { from { opacity: 0; transform: translateX(18px); } }
.wizard-legend { font-family: 'Fraunces', serif; font-size: 1rem; color: var(--ink); margin-bottom: .8rem; padding: 0; }
.wizard-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.wizard-chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 600; color: var(--navy-800); background: var(--panel); border-radius: var(--r-pill); padding: .5rem .8rem; box-shadow: var(--sh-out-xs); transition: all .25s; border: 2px solid transparent; }
.wizard-chip i { color: var(--gold-deep); font-size: .8rem; }
.wizard-chip:hover { transform: translateY(-2px); }
.wizard-chip.is-selected { background: var(--navy-800); color: #ffe9b8; border-color: var(--gold); box-shadow: 0 8px 18px rgba(4, 40, 78,.42); }
.wizard-chip.is-selected i { color: var(--gold-light); }
.wizard-actions { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1.1rem; }
.wizard-actions--end { justify-content: flex-end; }
.wizard-two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.day-picker { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .3rem; }
.day-chip { width: 52px; height: 44px; border-radius: var(--r-md); background: var(--panel); box-shadow: var(--sh-out-xs); font-size: .8rem; font-weight: 700; color: var(--muted); transition: all .25s; border: 2px solid transparent; }
.day-chip:hover { transform: translateY(-2px); }
.day-chip.is-selected { background: var(--navy-800); color: var(--gold-light); border-color: var(--gold); box-shadow: 0 8px 16px rgba(4, 40, 78,.4); }

.intake-summary { background: var(--bg-deep); border-radius: var(--r-md); box-shadow: var(--sh-in-xs); padding: 1rem 1.1rem; display: grid; gap: .5rem; font-size: .86rem; }
.intake-summary > div { display: flex; justify-content: space-between; gap: 1.2rem; }
.intake-summary dt { color: var(--muted); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.intake-summary dd { color: var(--ink); font-weight: 600; text-align: right; }

.wizard-success { text-align: center; padding: 1.4rem 1rem .4rem; animation: panelFade .5s var(--ease); }
.success-ring { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 2rem; background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold-deep)); color: var(--navy-900); box-shadow: 0 14px 30px rgba(4, 40, 78,.42), 0 0 0 10px var(--green-soft); animation: successPop .6s var(--ease); }
.success-ring--sm { width: 58px; height: 58px; font-size: 1.3rem; box-shadow: 0 10px 22px rgba(192, 131, 32, .4), 0 0 0 7px var(--green-soft); margin: 0; flex: 0 0 auto; }
@keyframes successPop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.18); } 100% { transform: scale(1); opacity: 1; } }
.wizard-success h4 { font-family: 'Fraunces', serif; color: var(--ink); font-size: 1.3rem; }
.wizard-success p { color: var(--muted); font-size: .88rem; margin: .4rem auto 1rem; max-width: 40ch; }
.success-ref { display: inline-block; font-size: .82rem; background: var(--panel); box-shadow: var(--sh-in-xs); border-radius: var(--r-sm); padding: .5rem 1rem; color: var(--text); margin-bottom: 1.1rem; }
.success-ref strong { color: var(--navy-800); letter-spacing: .08em; }

/* ═══════════ FAQ ═══════════ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-callcard { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--r-lg); margin-top: 1.6rem; }
.faq-call-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--navy-900); background: linear-gradient(155deg, var(--gold-light), var(--gold-deep)); }
.faq-callcard strong { display: block; color: var(--ink); font-size: .9rem; }
.faq-callcard small { display: block; font-size: .72rem; color: var(--muted); }
.faq-callcard a { color: var(--navy-800); font-weight: 800; font-size: .95rem; text-decoration: none; }
.faq-callcard a:hover { color: var(--gold-deep); }
.faq-list { display: grid; gap: .8rem; }
.faq-item { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--sh-out-sm); overflow: hidden; transition: box-shadow .35s; }
.faq-item.is-open { box-shadow: var(--sh-in-xs); }
.faq-question { width: 100%; display: flex; align-items: center; gap: .85rem; text-align: left; padding: 1.05rem 1.2rem; }
.faq-question-num { flex: 0 0 auto; font-family: 'Fraunces', serif; font-style: italic; font-size: .78rem; color: var(--muted); width: 1.6rem; }
.faq-question h3 { flex: 1; font-size: .95rem; font-weight: 700; color: var(--ink); }
.faq-chevron { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--navy-800); background: var(--bg-deep); box-shadow: var(--sh-out-xs); transition: transform .35s var(--ease); font-size: .75rem; }
.faq-item.is-open .faq-chevron { transform: rotate(45deg); color: var(--gold-deep); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-answer-inner { padding: 0 1.2rem 1.1rem 3.65rem; font-size: .86rem; color: var(--text); }
.faq-answer-inner a { color: var(--navy); font-weight: 600; }

/* ═══════════ CONTACT ═══════════ */
.contact-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 1.7rem; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: .8rem; padding: 1rem; border-radius: var(--r-lg); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); border: 1px solid rgba(255,255,255,.65); }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh-out); }
.contact-card-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 1.15rem; background: linear-gradient(150deg, var(--navy-soft), var(--navy-800)); box-shadow: 0 8px 16px rgba(4, 40, 78,.38); }
.contact-card-icon--gold { background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); color: var(--navy-900); box-shadow: 0 8px 16px rgba(192, 131, 32,.42); }
.contact-card-icon--green { background: linear-gradient(150deg, var(--navy-soft), var(--navy-800)); box-shadow: 0 8px 16px rgba(192, 131, 32, .4); }
.contact-card-icon--navy { background: linear-gradient(150deg, var(--navy-soft), var(--navy-900)); }
.contact-card-copy { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.contact-card-copy small { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin-bottom: .15rem; }
.contact-card-copy strong { font-size: .8rem; color: var(--ink); font-weight: 700; word-break: break-word; }
.contact-card-arrow { margin-left: auto; color: #A89F8F; transition: transform .3s var(--ease), color .3s; }
a.contact-card:hover .contact-card-arrow { transform: translateX(5px); color: var(--gold-deep); }
.map-frame { overflow: hidden; flex: 1; min-height: 240px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 240px; border: 0; filter: grayscale(.35) sepia(.4) saturate(.9); border-radius: var(--r-xl); }

.contact-form { padding: 1.7rem; display: flex; flex-direction: column; }
.contact-form-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.contact-form-head h3 { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--ink); }
.contact-form-head p { font-size: .78rem; color: var(--muted); }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-success { display: flex; gap: .85rem; align-items: center; background: var(--green-soft); border: 1px solid rgba(4, 40, 78, .28); border-radius: var(--r-md); padding: .9rem 1rem; margin-top: .9rem; font-size: .86rem; }
.form-success strong { color: var(--green); }
.form-success p { color: var(--text); font-size: .8rem; margin-top: .2rem; }
.form-success a { color: var(--navy-800); font-weight: 700; }
.btn.is-loading { opacity: .75; pointer-events: none; }
.btn.is-loading .btn-label::after { content: "…"; }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background:
    radial-gradient(rgba(255,255,255,.045) 1.2px, transparent 1.2px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #C9C3B3;
  border-top: 2px solid rgba(255, 174, 42,.55);
  padding: 3rem 0 1.4rem;
}
.footer-newsletter { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-newsletter-copy h3 { font-family: 'Fraunces', serif; color: #fff; font-size: 1.35rem; }
.footer-newsletter-copy p { font-size: .84rem; color: #C9C3B3; margin-top: .25rem; max-width: 42ch; }
.newsletter-form { display: flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-pill); padding: .35rem .35rem .35rem 1.1rem; min-width: min(430px, 100%); transition: box-shadow .3s, border-color .3s; }
.newsletter-form:focus-within { border-color: rgba(255, 174, 42,.6); box-shadow: 0 0 0 4px rgba(255, 174, 42,.18); }
.newsletter-icon { color: var(--gold); }
.newsletter-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font-size: .9rem; }
.newsletter-form input::placeholder { color: #A29A88; }
.newsletter-form .btn { flex: 0 0 auto; }

.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 2.4rem; }
.footer-logo-chip { display: inline-flex; background: var(--bg); border-radius: var(--r-lg); padding: .65rem .9rem; box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.footer-logo-chip img { height: 78px; width: auto; object-fit: contain; }
.footer-brand p { font-size: .84rem; color: #C9C3B3; margin: 1rem 0 1.1rem; max-width: 40ch; }
.footer-hotline { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--gold-light); background: rgba(255, 174, 42,.09); border: 1px solid rgba(255, 174, 42,.35); padding: .6rem 1rem; border-radius: var(--r-md); transition: background .3s; }
.footer-hotline:hover { background: rgba(255, 174, 42,.16); }
.footer-hotline i { font-size: 1.3rem; }
.footer-hotline small { display: block; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: #C9C3B3; font-weight: 700; }
.footer-hotline span { font-weight: 800; font-size: 1.02rem; letter-spacing: .02em; line-height: 1.2; }

.footer-col h4 { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .85rem; font-weight: 800; }
.footer-col a { display: block; color: #C9C3B3; text-decoration: none; font-size: .86rem; padding: .18rem 0; transition: color .25s, transform .25s; }
.footer-col a:hover { color: #fff; transform: translateX(5px); }
.footer-address { display: flex; gap: .55rem; font-size: .84rem; color: #C9C3B3; margin-bottom: .8rem; line-height: 1.6; }
.footer-address i { color: var(--gold); margin-top: .2rem; }
.footer-mail { display: inline-flex; gap: .5rem; align-items: center; color: #ffe9b8; text-decoration: none; font-size: .84rem; border-bottom: 1px dashed rgba(255,233,184,.4); padding-bottom: .15rem; }
.footer-mail:hover { color: #fff; }

.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.09); font-size: .78rem; color: #A29A88; }
.footer-bar-mid { display: flex; align-items: center; gap: .45rem; color: #C9C3B3; }
.footer-bar-mid i { color: var(--gold); }
.back-to-top-link { color: #ffe9b8; text-decoration: none; font-weight: 600; display: inline-flex; gap: .45rem; align-items: center; }
.back-to-top-link:hover { color: #fff; }

/* ═══════════ FABs ═══════════ */
.fab-call {
  position: fixed; bottom: 1.4rem; left: 1.4rem; z-index: 990;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  color: var(--navy-900); font-size: 1.3rem; text-decoration: none;
  background: linear-gradient(155deg, var(--gold-light), var(--gold-deep));
  box-shadow: 0 12px 28px rgba(192, 131, 32,.5), 0 0 0 0 rgba(255, 174, 42,.5);
  animation: fabPulse 2.6s ease-out infinite;
}
@keyframes fabPulse { 0% { box-shadow: 0 12px 28px rgba(192, 131, 32,.5), 0 0 0 0 rgba(255, 174, 42,.55); } 70% { box-shadow: 0 12px 28px rgba(192, 131, 32,.5), 0 0 0 18px rgba(255, 174, 42,0); } 100% { box-shadow: 0 12px 28px rgba(192, 131, 32,.5), 0 0 0 0 rgba(255, 174, 42,0); } }
.fab-top {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 990;
  width: 56px; height: 56px; border-radius: 50%; background: var(--panel);
  box-shadow: var(--sh-out-sm); color: var(--navy-800); font-size: 1.05rem;
  opacity: 0; transform: translateY(16px) scale(.85); pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.fab-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab-top-ring circle { fill: none; stroke: var(--gold-deep); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: calc(132 - (132 * var(--scroll, 0))); transition: stroke-dashoffset .15s linear; }

/* ═══════════ SERVICE MODAL ═══════════ */
.modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 32, 66, .62); backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card {
  position: relative; width: min(920px, 100%); max-height: min(88vh, 640px);
  display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden;
  animation: modalIn .42s var(--ease); background: var(--panel);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(28px) scale(.96); } }
.modal-media { position: relative; min-height: 100%; }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(3, 32, 66,.72)); }
.modal-media-badge { position: absolute; bottom: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; font-size: .66rem; letter-spacing: .22em; font-weight: 800; color: #ffe9b8; background: rgba(3, 32, 66,.55); border: 1px solid rgba(255,255,255,.3); padding: .4rem .7rem; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.modal-body { padding: 1.6rem 1.7rem; overflow-y: auto; display: flex; flex-direction: column; gap: .75rem; }
.modal-body h3 { font-family: 'Fraunces', serif; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); line-height: 1.15; }
.modal-body p { font-size: .9rem; color: var(--text); }
.modal-points { list-style: none; display: grid; gap: .4rem; }
.modal-points li { position: relative; padding-left: 1.4rem; font-size: .84rem; color: var(--text); }
.modal-points li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .1em; color: var(--green); font-size: .75rem; }
.modal-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: auto; padding-top: .6rem; }
.modal-close { position: absolute; top: .7rem; right: .7rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(3, 32, 66,.45); color: #fff; backdrop-filter: blur(4px); display: grid; place-items: center; transition: transform .3s, background .3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--navy-900); }

/* ═══════════ TOAST ═══════════ */
.toast-stack { position: fixed; top: 1.1rem; left: 50%; transform: translateX(-50%); z-index: 1300; display: grid; gap: .5rem; width: min(440px, 92vw); }
.toast { display: flex; align-items: center; gap: .65rem; background: var(--navy-800); color: #ffe9b8; border: 1px solid rgba(255, 174, 42,.4); font-size: .85rem; font-weight: 600; padding: .75rem 1rem; border-radius: var(--r-md); box-shadow: 0 18px 40px rgba(3, 32, 66,.45); animation: toastIn .4s var(--ease); }
.toast i { color: var(--gold); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px); } }
.toast.is-leaving { opacity: 0; transform: translateY(-10px); transition: all .35s; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1160px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .float-chip--top { left: -30px; }
  .float-chip--mid { right: -34px; }
  .float-chip--bottom { left: -16px; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .navbar-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr .9fr; gap: 2rem; }
  .hotline-copy small { display: none; }
  .hotline-copy strong { font-size: .78rem; }
}
@media (max-width: 900px) {
  .topbar-left .topbar-item--divider { display: none; }
  .topbar-hide-sm { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 1rem; }
  .hero-visual { order: -1; }
  .hero-arch-wrap { width: min(260px, 74vw); }
  .hero-credit-row { display: none; }
  .hero-trust { gap: .6rem 1rem; }
  .scroll-cue { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-collage { min-height: 0; height: 400px; order: -1; }
  .pillars-grid { grid-template-columns: 1fr; }
  .billing-grid { grid-template-columns: 1fr; }
  .billing-vs { justify-content: center; }
  .billing-vs span { margin: -.4rem 0; }
  .portal-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .footer-newsletter { flex-direction: column; align-items: flex-start; }
  .fab-call { display: grid; }
  .modal-card { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .modal-media { min-height: 170px; height: 190px; }
  .modal-media img { position: absolute; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .container { width: min(var(--container), 100% - 1.6rem); }
  .brand-logo { height: 44px; }
  .hotline-chip { display: none; }
  .topbar-item span:not(.open-status):not(em) { font-size: .68rem; }
  .topbar-inner { height: 32px; }
  .hero-title { font-size: clamp(2.15rem, 9.4vw, 2.6rem); }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero-rating { max-width: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-media { height: 150px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-photo { aspect-ratio: 3/3.6; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-two, .wizard-two { grid-template-columns: 1fr; }
  .about-checklist { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; text-align: center; gap: .5rem; }
  .newsletter-form { min-width: 0; width: 100%; border-radius: var(--r-lg); flex-direction: column; padding: .8rem; }
  .newsletter-form input { width: 100%; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
  .float-chip--top { left: -8px; top: 4%; }
  .float-chip--mid { right: -8px; top: 46%; }
  .float-chip--bottom { left: -4px; bottom: 4%; }
  .about-collage { height: 340px; }
  .polaroid--a img { height: 230px; }
  .polaroid--b img { height: 130px; }
  .about-seal { width: 92px; height: 92px; left: 52%; }
  .about-seal img { width: 48px; }
}

/* ═══════════ REDUCED MOTION & PRINT ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
@media print {
  .topbar, .navbar, .hero-ctas, .marquee, .fab-call, .fab-top, .preloader, .scroll-progress, .modal, .toast-stack { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 1rem 0; }
}

/* ═══════════ FORM SUCCESS STATE ═══════════ */
.contact-form.is-sent > *:not(.form-success) { display: none; }
.contact-form.is-sent .form-success { display: flex; }

/* ═══════════ TOPBAR OVERFLOW FIX ═══════════ */
@media (max-width: 1160px) { .topbar-hide-lg { display: none; } }
.topbar-item span { overflow: hidden; text-overflow: ellipsis; }


















/* ═══════════ NAVBAR EXTRAS ═══════════ */
.nav-icon-btn { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--panel); box-shadow: var(--sh-out-xs); color: var(--navy-800); font-size: .92rem; transition: transform var(--transition), box-shadow var(--transition); }

.nav-icon-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-out-sm); }
.nav-icon-btn:active { box-shadow: var(--sh-in-xs); }
.kbd { display: inline-block; border: 1px solid rgba(0, 62, 138,.35); border-bottom-width: 2px; border-radius: 6px; padding: .02rem .38rem; font-size: .68rem; font-weight: 700; font-family: 'Inter'; color: var(--navy-800); background: var(--bg-deep); margin-left: .3rem; }


/* ═══════════ SEARCH OVERLAY ═══════════ */
.search-overlay { position: fixed; inset: 0; z-index: 1250; display: grid; place-items: start center; padding: 12vh 1rem 2rem; background: rgba(3, 32, 66, .6); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.search-overlay.is-open { opacity: 1; pointer-events: auto; }
.search-panel { width: min(680px, 100%); background: var(--panel); border-radius: var(--r-xl); box-shadow: var(--sh-out-lg), 0 40px 80px rgba(0,0,0,.5); overflow: hidden; transform: translateY(18px) scale(.97); transition: transform .35s var(--ease); }
.search-overlay.is-open .search-panel { transform: none; }
.search-input-row { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid rgba(4, 40, 78,.14); }

.search-input-row > i { color: var(--gold-deep); font-size: 1.15rem; }
.search-input-row input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; font-size: 1.1rem; color: var(--ink); }
.search-input-row input::placeholder { color: var(--muted); }
.search-esc { font-size: .65rem; color: var(--muted); letter-spacing: .1em; }
.search-results { max-height: 46vh; overflow-y: auto; padding: .6rem; }
.search-result { display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; padding: .65rem .7rem; border-radius: var(--r-md); transition: background .2s; text-decoration: none; color: inherit; }
.search-result:hover, .search-result.is-active { background: var(--bg-deep); }
.search-result-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--navy-800); background: var(--bg-deep); box-shadow: var(--sh-in-xs); font-size: .85rem; }

.search-result small { display: block; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 800; }
.search-result strong { display: block; font-size: .87rem; color: var(--ink); font-weight: 600; }
.search-empty { text-align: center; color: var(--muted); padding: 2rem 1rem; font-size: .9rem; }
.search-hint { padding: .6rem 1.3rem; font-size: .68rem; color: var(--muted); border-top: 1px solid rgba(4, 40, 78,.12); display: flex; gap: 1rem; }


/* ═══════════ SUBPAGE HERO ═══════════ */
.page-hero { background: radial-gradient(rgba(255,255,255,.05) 1.2px, transparent 1.2px) 0 0 / 20px 20px, linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 55%, var(--navy-900) 100%); border-bottom: 2px solid rgba(255, 174, 42,.55); padding: clamp(2.2rem, 5vw, 3.6rem) 0; color: #fff; }
.breadcrumb { display: flex; align-items: center; gap: .55rem; font-size: .72rem; letter-spacing: .06em; color: #C9C3B3; margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a { color: #E3DECF; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb i { font-size: .55rem; color: var(--gold); }
.page-hero h1 { font-family: 'Fraunces', serif; font-weight: 620; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -.01em; color: #fff; max-width: 20ch; }
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { margin-top: .8rem; color: #DAD4C4; max-width: 62ch; font-size: .98rem; }

/* ═══════════ PROFILE (TEAM DETAIL) ═══════════ */
.profile-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.profile-card { padding: 1.4rem; text-align: center; position: sticky; top: calc(var(--nav-h) + 20px); }
.profile-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/3.4; box-shadow: var(--sh-in-sm); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.profile-role-badge { display: inline-block; margin: 1.1rem 0 .2rem; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: var(--gold-deep); background: var(--gold-soft); padding: .4rem .8rem; border-radius: var(--r-pill); }

.profile-contact { margin-top: 1.1rem; display: grid; gap: .5rem; text-align: left; }
.profile-contact a { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); background: var(--bg-deep); border-radius: var(--r-md); padding: .6rem .7rem; font-size: .8rem; transition: transform .25s; box-shadow: var(--sh-in-xs); }
.profile-contact a:hover { transform: translateX(4px); color: var(--navy-800); }

.profile-contact i { color: var(--gold-deep); width: 1.1em; text-align: center; flex: 0 0 auto; }
.profile-copy h2 { font-family: 'Fraunces', serif; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--ink); line-height: 1.12; margin: .9rem 0 1.1rem; }
.profile-intro { font-size: 1.02rem; color: var(--text); }
.profile-note { margin-top: .8rem; font-size: .9rem; color: var(--muted); font-style: italic; border-left: 3px solid var(--gold); padding-left: .8rem; }
.profile-block { margin-top: 1.5rem; }
.profile-block h3 { display: flex; align-items: center; gap: .55rem; font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--navy-800); margin-bottom: .65rem; }

.profile-block h3 i { color: var(--gold-deep); }
.chip-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-list li { list-style: none; font-size: .76rem; font-weight: 600; color: var(--navy-800); background: var(--panel); box-shadow: var(--sh-out-xs); border-radius: var(--r-pill); padding: .38rem .8rem; }

.edu-list { list-style: none; display: grid; gap: .5rem; }
.edu-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--text); }
.edu-list i { color: var(--green); margin-top: .15rem; }
.profile-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }

.other-members { margin-top: clamp(2.5rem, 5vw, 4rem); }
.other-members h3 { font-family: 'Fraunces', serif; color: var(--ink); font-size: 1.3rem; margin-bottom: 1rem; }
.other-rail { display: flex; gap: 1rem; overflow-x: auto; padding: .35rem .35rem 1rem; scroll-snap-type: x mandatory; }
.other-card { flex: 0 0 190px; scroll-snap-align: start; text-decoration: none; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--sh-out-sm); overflow: hidden; text-align: center; transition: transform .3s var(--ease); }
.other-card:hover { transform: translateY(-5px); }
.other-card img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; object-position: 50% 12%; }
.other-card div { padding: .6rem .5rem .7rem; }
.other-card strong { display: block; font-size: .66rem; color: var(--ink); line-height: 1.35; min-height: 2.6em; }
.other-card span { display: block; font-size: .54rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-deep); font-weight: 800; margin-top: .35rem; }

/* ═══════════ SERVICE DETAIL ═══════════ */
.service-detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.service-detail-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-out-lg); aspect-ratio: 4/3.1; }
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.service-points { list-style: none; display: grid; gap: .55rem; margin-top: 1rem; }
.service-points li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--text); }
.service-points i { color: var(--green); margin-top: .18rem; }
.service-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.related-services { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card { display: flex; align-items: center; gap: .7rem; text-decoration: none; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--sh-out-sm); padding: .7rem; transition: transform .3s; }
.related-card:hover { transform: translateY(-4px); }
.related-card i { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--navy-900); background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); }
.related-card strong { font-size: .78rem; color: var(--ink); line-height: 1.35; }

/* ═══════════ CTA BAND ═══════════ */
.cta-band { background: radial-gradient(rgba(255,255,255,.05) 1.2px, transparent 1.2px) 0 0 / 20px 20px, linear-gradient(150deg, var(--navy-700), var(--navy-900)); border-block: 2px solid rgba(255, 174, 42,.55); padding: 2.6rem 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.cta-band h2 { font-family: 'Fraunces', serif; color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); max-width: 34ch; line-height: 1.2; }
.cta-band h2 em { color: var(--gold-light); font-style: italic; }
.cta-band p { color: #a8bdd2; font-size: .85rem; margin-top: .35rem; }

/* ═══════════ WHATSAPP FAB ═══════════ */
.fab-whatsapp { position: fixed; right: 1.4rem; bottom: calc(1.4rem + 68px); z-index: 990; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); font-size: 1.55rem; text-decoration: none; box-shadow: 0 12px 28px rgba(0, 62, 138, .45); transition: transform .3s var(--ease); }
.fab-whatsapp:hover { transform: scale(1.12) rotate(-6deg); }

/* ═══════════ FEE ESTIMATOR ═══════════ */
.estimator { background: var(--panel); border-radius: var(--r-xl); box-shadow: var(--sh-out-lg); padding: 1.6rem; position: relative; overflow: hidden; }
.estimator::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep)); }
.estimator-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.5rem; align-items: stretch; }
.estimator-title { font-family: 'Fraunces', serif; font-size: 1.25rem; color: var(--ink); display: flex; align-items: center; gap: .6rem; }
.estimator-title i { color: var(--gold-deep); }
.estimator-sub { font-size: .78rem; color: var(--muted); margin: .3rem 0 1rem; }
.range-row { display: flex; align-items: center; gap: .8rem; margin: .9rem 0 .2rem; }
.range-row label { font-size: .74rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; flex: 0 0 auto; }
input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; height: 8px; border-radius: 5px; background: var(--bg-deep); box-shadow: var(--sh-in-xs); outline-offset: 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); box-shadow: 0 4px 8px rgba(192, 131, 32,.5), 0 0 0 4px var(--panel); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); box-shadow: 0 4px 8px rgba(192, 131, 32,.5); border: 0; cursor: pointer; }
.range-value { flex: 0 0 auto; font-family: 'Fraunces', serif; font-weight: 700; color: var(--navy-800); min-width: 2.4em; text-align: center; background: var(--bg-deep); border-radius: var(--r-sm); box-shadow: var(--sh-in-xs); padding: .2rem .4rem; }

.estimator-output { background: linear-gradient(165deg, var(--navy-700), var(--navy-900)); border-radius: var(--r-lg); padding: 1.4rem; color: #E3DECF; display: flex; flex-direction: column; justify-content: center; gap: .5rem; position: relative; }
.estimator-output small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.estimator-figure { font-family: 'Fraunces', serif; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; line-height: 1.15; font-variant-numeric: tabular-nums; }
.estimator-figure em { color: var(--gold-light); font-style: italic; }
.estimator-note { font-size: .68rem; color: #C9C3B3; line-height: 1.5; }
.estimator-note a { color: var(--gold-light); }

/* ═══════════ BOOKING WIDGET ═══════════ */
.booking { background: var(--panel); border-radius: var(--r-xl); box-shadow: var(--sh-out); padding: 1.5rem; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.slot-picker { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.slot-chip { border-radius: var(--r-sm); padding: .45rem .65rem; font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--bg-deep); box-shadow: var(--sh-in-xs); transition: all .25s; border: 2px solid transparent; }
.slot-chip.is-selected { background: var(--navy-800); color: var(--gold-light); border-color: var(--gold); box-shadow: 0 6px 14px rgba(4, 40, 78,.4); }
input[type="date"] { color-scheme: light; }


/* ═══════════ INSIGHTS ═══════════ */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.insight-card { text-align: left; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--sh-out-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); border: 1px solid rgba(255,255,255,.6); }

.insight-card:hover { transform: translateY(-6px); box-shadow: var(--sh-out); }
.insight-top { display: flex; align-items: center; gap: .55rem; padding: .8rem 1rem 0; }
.insight-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--navy-soft), var(--navy-800)); }
.insight-tag { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--gold-deep); background: var(--gold-soft); border-radius: var(--r-pill); padding: .28rem .55rem; }
.insight-body { padding: .7rem 1rem .9rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.insight-body h3 { font-family: 'Fraunces', serif; font-size: 1.02rem; color: var(--ink); line-height: 1.3; }
.insight-body p { font-size: .78rem; color: var(--muted); line-height: 1.55; flex: 1; }
.insight-read { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-top: .2rem; }

/* ═══════════ BIG 404 ═══════════ */
.error-hero { min-height: 72vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 1rem; gap: .6rem; }
.error-code { font-family: 'Fraunces', serif; font-weight: 800; font-size: clamp(6rem, 22vw, 11rem); line-height: 1; background: linear-gradient(160deg, var(--navy-700) 10%, var(--gold-deep) 60%, var(--gold-light) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-hero p { color: var(--muted); max-width: 46ch; }

/* ═══════════ FOOTER A11Y CONTROLS ═══════════ */
.footer-a11y { display: flex; gap: .4rem; align-items: center; }
.a11y-btn { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); color: #ffe9b8; font-size: .7rem; font-weight: 800; transition: background .25s; }
.a11y-btn:hover { background: rgba(255,255,255,.16); }

/* ═══════════ RESPONSIVE ADDITIONS ═══════════ */
@media (max-width: 1100px) {
  .related-services { grid-template-columns: 1fr; }
  .estimator-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .profile-grid, .service-detail-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .insights-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .search-hint { display: none; }
}
@media (max-width: 640px) {
  .nav-icon-btn { width: 40px; height: 40px; }
}

/* ═══════════ MULTI-PAGE FIXES ═══════════ */
mark { background: var(--gold); color: var(--navy-900); border-radius: 3px; padding: 0 .1em; }
.team-card { text-decoration: none; color: inherit; }
.service-card { text-decoration: none; color: inherit; }
.team-mail { cursor: pointer; }
.legal-note { font-size: .74rem; color: var(--muted); border-left: 3px solid var(--gold); padding-left: .6rem; margin-top: .6rem; font-style: italic; }
.booking-legend { font-family: 'Fraunces', serif; font-size: 1rem; color: var(--ink); margin-bottom: .3rem; }
.search-result mark { background: var(--gold); }
.insight-read i { color: var(--gold-deep); }
.insight-modal-card { max-width: 720px; grid-template-columns: 1fr; max-height: 86vh; }
.insight-modal-tag { align-self: flex-start; }
.insight-modal-card .modal-body { overflow-y: auto; }
.insight-modal-card .modal-body p { margin-bottom: .7rem; }
.cta-band .btn { flex: 0 0 auto; }

/* ═══════════ WHY GRID (multi-page additions) ═══════════ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.why-item { display: flex; gap: .75rem; align-items: flex-start; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--sh-out-sm); padding: 1rem 1.1rem; }
.why-item > i { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--navy-900); background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); box-shadow: 0 6px 12px rgba(192, 131, 32,.4); }
.why-item strong { display: block; font-size: .85rem; color: var(--ink); }
.why-item small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.45; margin-top: .15rem; }
.about-teaser-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-teaser-media { overflow: hidden; position: relative; }
.about-teaser-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-xl); }
.about-teaser-chip { position: absolute; bottom: .9rem; left: .9rem; display: flex; flex-direction: column; padding: .55rem 1rem; border-radius: var(--r-md); line-height: 1.15; }
.about-teaser-chip strong { font-family: 'Fraunces', serif; color: var(--navy-800); }
.about-teaser-chip small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ═══════════ PARTNERS BAND (wide three-partner portrait) ═══════════ */
.partners-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); }
.partners-band-media { position: absolute; inset: 0; z-index: -2; }
.partners-band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; transform: scale(1.02); }
.partners-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3,32,66,.95) 0%, rgba(3,32,66,.86) 38%, rgba(3,32,66,.34) 70%, rgba(3,32,66,.62) 100%); }
.partners-band-inner { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0; min-height: clamp(360px, 44vw, 540px); display: flex; align-items: flex-end; }
.partners-copy { max-width: 600px; color: #fff; }
.partners-copy .eyebrow { color: var(--gold-light); background: rgba(255,255,255,.1); box-shadow: none; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.partners-copy h2 { font-family: 'Fraunces', serif; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.08; margin: .8rem 0 .8rem; color: #fff; }
.partners-copy h2 em { font-style: italic; color: var(--gold-light); }
.partners-copy p { color: #C9D6E6; font-size: .95rem; max-width: 52ch; }
.partners-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.2rem 0 1.4rem; padding: 0; list-style: none; }
.partners-chips li { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); padding: .4rem .75rem; border-radius: var(--r-pill); backdrop-filter: blur(6px); }
.partners-chips i { color: var(--gold-light); font-size: .62rem; }
.partners-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-ghost-light { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); box-shadow: none; }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.partners-credit { position: absolute; right: 1.2rem; bottom: .7rem; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }

/* ═══════════ GALLERY TEASER (home mosaic) ═══════════ */
.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 158px; grid-auto-flow: dense; gap: .95rem; }
.mosaic-card { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-out-sm); text-decoration: none; background: var(--bg-deep); }
.mosaic-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic-card:hover img { transform: scale(1.07); }
.mosaic-card span { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 1.6rem .8rem .7rem; background: linear-gradient(180deg, transparent, rgba(3,32,66,.88)); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .02em; display: flex; align-items: center; gap: .4rem; }
.mosaic-card span i { color: var(--gold-light); font-size: .66rem; }
.mosaic-card--wide { grid-column: span 2; grid-row: span 2; }
.mosaic-card--tall { grid-row: span 2; }

/* ═══════════ GALLERY PAGE ═══════════ */
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.7rem; }
.gallery-filters { display: flex; gap: .35rem; background: var(--panel); padding: .4rem; border-radius: var(--r-pill); box-shadow: var(--sh-in-xs); flex-wrap: wrap; }
.gallery-count { font-size: .74rem; color: var(--muted); letter-spacing: .06em; }
.gallery-count strong { color: var(--ink); font-family: 'Fraunces', serif; font-size: .98rem; }
.gallery-section + .gallery-section { margin-top: clamp(2rem, 4vw, 3.2rem); }
.gallery-section.is-hidden { display: none; }
.gallery-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid rgba(4, 40, 78, .12); }
.gallery-group-head h3 { font-family: 'Fraunces', serif; font-size: clamp(1.3rem, 2.4vw, 1.65rem); color: var(--ink); display: flex; align-items: center; gap: .6rem; line-height: 1.15; }
.gallery-group-head h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); flex: 0 0 auto; }
.gallery-group-head p { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.gallery-group-count { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--navy); background: var(--panel); box-shadow: var(--sh-out-xs); padding: .45rem .85rem; border-radius: var(--r-pill); white-space: nowrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gallery-item { display: block; width: 100%; aspect-ratio: 4 / 3; margin: 0; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; cursor: zoom-in; background: var(--bg-deep); box-shadow: var(--sh-out-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); font: inherit; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--sh-out); }
.gallery-item.is-hidden { display: none; }
.gallery-item img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item.is-portrait img { object-position: 50% 20%; }
.gallery-section[data-cat="team"] .gallery-item { aspect-ratio: 3 / 4; }
.gallery-section[data-cat="team"] .gallery-item img { object-position: 50% 16%; }
.gallery-section[data-cat="brand"] .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(3,32,66,.8)); transition: opacity .3s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .9rem 1rem; text-align: left; color: #fff; display: flex; flex-direction: column; gap: .1rem; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.gallery-item-tag { font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--gold-light); }
.gallery-item-overlay strong { font-size: .8rem; line-height: 1.3; font-weight: 600; }
.gallery-item-zoom { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(3,32,66,.5); color: #fff; font-size: .72rem; backdrop-filter: blur(4px); opacity: 0; transform: scale(.8); transition: all .3s; }
.gallery-item:hover .gallery-item-zoom, .gallery-item:focus-visible .gallery-item-zoom { opacity: 1; transform: none; }
@media (hover: hover) {
  .gallery-item::after { opacity: 0; }
  .gallery-item-overlay { opacity: 0; transform: translateY(8px); }
  .gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
  .gallery-item:hover .gallery-item-overlay, .gallery-item:focus-visible .gallery-item-overlay { opacity: 1; transform: none; }
}

/* ═══════════ LIGHTBOX ═══════════ */
.lightbox { position: fixed; inset: 0; z-index: 1400; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: clamp(.8rem, 3vw, 2rem); background: rgba(3, 18, 40, .92); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s, visibility 0s 0s; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .9rem; min-width: 0; }
.lightbox-img-wrap { position: relative; display: grid; place-items: center; max-width: 100%; }
.lightbox-img-wrap img { max-width: 100%; max-height: 70vh; border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0,0,0,.55); object-fit: contain; background: var(--bg-deep); }
.lightbox-caption { text-align: center; color: #fff; max-width: 68ch; }
.lightbox-caption small { display: block; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--gold-light); margin-bottom: .2rem; }
.lightbox-caption strong { display: block; font-family: 'Fraunces', serif; font-size: 1.05rem; }
.lightbox-caption p { color: #C9D6E6; font-size: .8rem; margin-top: .2rem; }
.lightbox-caption a { display: inline-flex; align-items: center; gap: .4rem; margin-top: .45rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); text-decoration: none; }
.lightbox-caption a[hidden] { display: none; }
.lightbox-counter { margin-top: .15rem; font-size: .64rem; color: rgba(255,255,255,.55); letter-spacing: .16em; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; font-size: 1rem; transition: background .25s, transform .25s; }
.lightbox-close:hover { background: rgba(255,255,255,.24); transform: rotate(90deg); }
.lightbox-nav { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem; transition: background .25s, transform .25s; z-index: 3; }
.lightbox-nav:hover { background: var(--gold); color: var(--navy-900); transform: scale(1.06); }

/* ═══════════ TEAM FEATURE (team page) ═══════════ */
.team-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.team-feature-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-out-lg); background: var(--bg-deep); }
.team-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.team-feature-stats { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.team-feature-stats div { display: flex; flex-direction: column; }
.team-feature-stats strong { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--navy-800); line-height: 1; }
.team-feature-stats small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: .28rem; }

/* ═══════════ FAQ PHOTO CARD ═══════════ */
.faq-photo { margin: 1.2rem 0 0; border-radius: var(--r-lg); overflow: hidden; background: var(--panel); padding: .55rem; }
.faq-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: calc(var(--r-lg) - 6px); }
.faq-photo figcaption { font-size: .66rem; color: var(--muted); padding: .55rem .3rem .1rem; text-align: center; letter-spacing: .04em; }

/* ═══════════ PROMISE (contact page) ═══════════ */
.promise-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.promise-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-out-lg); background: var(--bg-deep); margin: 0; }
.promise-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.promise-copy .section-title { margin-bottom: .7rem; }

/* ═══════════ QUOTE BAND ═══════════ */
.quote-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); padding: clamp(3rem, 7vw, 5rem) 0; text-align: center; }
.quote-band-media { position: absolute; inset: 0; z-index: -2; }
.quote-band-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.45); }
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,32,66,.92), rgba(3,32,66,.86)); }
.quote-band blockquote { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(1.6rem, 4vw, 2.7rem); color: #fff; max-width: 26ch; margin: 0 auto .9rem; line-height: 1.2; }
.quote-band blockquote em { color: var(--gold-light); }
.quote-band p { color: #C9D6E6; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.quote-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 1rem; border-radius: 50%; background: rgba(255,174,42,.16); color: var(--gold-light); font-family: 'Fraunces', serif; font-size: 1.7rem; }
.quote-band .btn { margin-top: 1.4rem; }

/* ═══════════ INSIGHTS GAVEL ═══════════ */
.insight-gavel { width: 58px; height: 58px; border-radius: 16px; object-fit: cover; box-shadow: var(--sh-out-sm); background: var(--panel); flex: 0 0 auto; }

/* ═══════════ IMAGE RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-mosaic { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .team-feature, .promise-grid { grid-template-columns: 1fr; }
  .partners-band-inner { min-height: 430px; }
  .partners-copy { max-width: 100%; }
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 132px; }
  .gallery-toolbar { align-items: flex-start; }
  .gallery-group-head { align-items: flex-start; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 1rem 1rem 1.4rem; }
  .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; }
  .lightbox-prev { left: .6rem; }
  .lightbox-next { right: .6rem; }
  .lightbox-img-wrap img { max-height: 60vh; }
  .insight-gavel { display: none; }
  .partners-credit { display: none; }
}
@media (max-width: 520px) {
  .gallery-section[data-cat="brand"] .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

