/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #1a1a1a;
  --bg-1: #1f1f1f;
  --bg-2: #262626;
  --bg-3: #313131;
  --ink: #f5f5f4;
  --ink-soft: #d1d1d1;
  --ink-mute: #9a9a98;
  --accent: #003882;
  --accent-soft: #1c56a8;
  --accent-2: #5b7ba8;
  --gold: #c5992e;
  --gold-soft: #96721f;
  --line: rgba(245, 245, 244, 0.1);
  --line-strong: rgba(245, 245, 244, 0.2);
  --glass-bg: rgba(245, 245, 244, 0.045);
  --glass-bg-strong: rgba(245, 245, 244, 0.07);
  --glass-highlight: rgba(255, 255, 255, 0.07);

  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: var(--sans);
  --script: var(--sans);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-height: 80px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); font-family: var(--serif); font-weight: 700; }
::selection { background: var(--accent-soft); color: var(--ink); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--bg);
  border-radius: 6px; font-weight: 600; font-size: .85rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(5.5rem, 11vw, 9.5rem); position: relative; }
.section-tight { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

.kicker {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  background: var(--glass-bg); border: 1px solid var(--line);
  padding: .5rem 1rem .5rem .8rem; border-radius: 999px;
  margin-bottom: .9rem;
}
.kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

.eyebrow { color: var(--ink-mute); font-size: .95rem; }

.pull-quote {
  font-family: var(--serif); font-weight: 400; letter-spacing: 0;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--ink);
  max-width: 34ch;
}

.hairline { height: 1px; background: var(--line); border: 0; }

.visually-hidden-mobile { display: none; }
@media (min-width: 720px) { .visually-hidden-mobile { display: initial; } }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

em, i { color: var(--gold); font-family: var(--serif); font-weight: 500; }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink-soft);
  max-width: 56ch; line-height: 1.6;
}

.prose { max-width: 66ch; }
.prose p + p { margin-top: 1.3em; }
.prose a { color: var(--accent); text-underline-offset: 3px; text-decoration: underline; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--accent); }

.dropcap {
  float: left; font-family: var(--serif); font-weight: 500; color: var(--gold);
  font-size: 3.4rem; line-height: .8; margin: .1rem .5rem -.1rem 0;
}

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1.15rem 1.7rem 1.15rem 2.1rem; border-radius: 999px;
  font-size: 1.02rem; font-weight: 700; letter-spacing: .01em;
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-spring), background-color .35s var(--ease-out), border-color .35s var(--ease-out), color .35s var(--ease-out);
}
.btn-primary {
  background: linear-gradient(155deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #1a1a1a;
  box-shadow: 0 18px 44px -14px rgba(197, 153, 46, 0.6);
}
.btn-primary::after {
  content: "↗";
  width: 1.9em; height: 1.9em; flex-shrink: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(26, 26, 26, 0.16); font-size: .85em;
  transition: transform .5s var(--ease-spring);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 28px 58px -14px rgba(197, 153, 46, 0.75); }
.btn-primary:hover::after { transform: translate(2px, -2px) scale(1.08); }
.btn-lg { padding: 1.4rem 2.1rem 1.4rem 2.6rem; font-size: 1.12rem; }
.btn-ghost {
  border: 2px solid var(--line-strong); color: var(--ink);
  background: var(--glass-bg);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.99); transition-duration: .15s; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Credential strip — bloque de autoridad */
.credential-strip {
  display: grid; gap: 1.5rem; margin-top: 3.5rem; padding-top: 2.4rem;
  border-top: 2px solid var(--gold-soft);
}
@media (min-width: 720px) { .credential-strip { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; } }
.credential-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
  background: var(--glass-bg); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.6rem 1.6rem 1.4rem; box-shadow: inset 0 1px 0 var(--glass-highlight);
}
.credential-num {
  font-family: var(--serif); font-weight: 500; color: var(--gold);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem); line-height: 1; white-space: nowrap;
}
.credential-label { font-size: .88rem; color: var(--ink-soft); line-height: 1.35; }

/* Nav — floating glass island */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: calc(var(--nav-height) + 20px);
  display: flex; align-items: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: min(100% - 2.5rem, 1080px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .7rem .8rem .7rem 1.5rem;
  border-radius: 999px;
  background: rgba(14, 11, 7, 0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.6), inset 0 1px 0 var(--glass-highlight);
  transition: background-color .5s var(--ease-out), transform .5s var(--ease-spring), box-shadow .5s var(--ease-out);
}
.nav.is-scrolled .nav-inner {
  background: rgba(14, 11, 7, 0.85);
  transform: translateY(2px) scale(.99);
}
.nav-brand {
  font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: 0; color: var(--ink);
  white-space: nowrap; display: inline-flex; align-items: center;
}
.nav-brand em { color: var(--gold); }
.nav-brand img { height: 34px; width: auto; display: block; }
.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; padding: .3rem 0; font-size: .92rem; color: var(--ink-soft);
  transition: color .3s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--ink); }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; padding: .7rem 1.4rem; font-size: .85rem; } }

.nav-burger {
  display: grid; place-items: center; width: 40px; height: 40px;
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 22px; height: 1px; background: var(--ink);
  transition: transform .35s var(--ease-soft), opacity .3s;
  position: relative;
}
.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after { position: absolute; top: 7px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(10, 8, 5, 0.88);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-spring);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile-links { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.nav-mobile-links a {
  font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--ink);
  display: inline-block;
  opacity: 0; transform: translateY(28px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-spring), color .3s;
}
.nav-mobile[data-open="true"] .nav-mobile-links a { opacity: 1; transform: none; }
.nav-mobile-links a:nth-child(1) { transition-delay: .08s; }
.nav-mobile-links a:nth-child(2) { transition-delay: .13s; }
.nav-mobile-links a:nth-child(3) { transition-delay: .18s; }
.nav-mobile-links a:nth-child(4) { transition-delay: .23s; }
.nav-mobile-links a:nth-child(5) { transition-delay: .28s; }
.nav-mobile-links a:nth-child(6) { transition-delay: .33s; }
.nav-mobile-links a:nth-child(7) { transition-delay: .38s; }
.nav-mobile-links a:hover { color: var(--gold); }

/* Cards — double-bezel (nested glass shell + core) */
.card {
  position: relative; isolation: isolate;
  background: var(--glass-bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.2rem;
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 1px 0 rgba(0,0,0,.2);
  transition: transform .55s var(--ease-spring), border-color .4s var(--ease-out), box-shadow .55s var(--ease-spring), background-color .4s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(120% 100% at 15% 0%, rgba(197,153,46,.06), transparent 55%);
  pointer-events: none;
}
.card:hover {
  border-color: var(--gold-soft);
  background: var(--glass-bg-strong);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 40px 70px -34px rgba(0,0,0,.7);
}
.card-num { font-family: var(--serif); font-weight: 500; color: var(--gold); font-size: 1rem; }
.card h3 { margin-top: .9rem; }
.card p { margin-top: .7rem; color: var(--ink-mute); font-size: .95rem; }
.card-link {
  margin-top: 1.2rem; display: inline-flex; align-items: center; gap: .4em;
  font-size: .85rem; color: var(--accent); font-weight: 600;
}

.has-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft);
}
.has-tilt:hover { transition-duration: .15s; }

/* Forms */
.field { position: relative; margin-bottom: 1.3rem; }
.field input, .field textarea {
  width: 100%; padding: 1.3rem 1.1rem .6rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--glass-bg); color: var(--ink);
  font-family: var(--sans); font-size: 1rem;
  transition: border-color .3s var(--ease-out), background-color .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: var(--glass-bg-strong); outline: none; }
.field label {
  position: absolute; left: 1rem; top: 1.1rem;
  pointer-events: none; transition: all .25s var(--ease-out);
  color: var(--ink-mute); font-size: .95rem;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: .45rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.form-note { font-size: .8rem; color: var(--ink-mute); margin-top: .8rem; }

.contact-form-wrap { position: relative; }
[data-contact-form] { transition: opacity .5s var(--ease-out), transform .5s var(--ease-soft); }
[data-contact-form].is-sending { opacity: .55; pointer-events: none; }
[data-contact-form].is-sent { opacity: 0; transform: translateY(-10px); pointer-events: none; position: absolute; inset: 0; }
[data-contact-success] {
  opacity: 0; transform: translateY(10px); pointer-events: none;
  position: absolute; inset: 0;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-soft);
}
[data-contact-success].is-visible { opacity: 1; transform: none; pointer-events: auto; }
[data-contact-success] h3 { margin-bottom: .6rem; }
[data-contact-success] p { color: var(--ink-mute); }

/* =============================================================
   6. Sections
   ============================================================= */

/* Hero — full-bleed photo, text overlaid */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 74% 18%;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,26,26,.96) 0%, rgba(26,26,26,.84) 30%, rgba(26,26,26,.4) 56%, rgba(26,26,26,.05) 76%);
}
.hero .container {
  width: min(100% - 2.5rem, 1080px);
  max-width: none;
  padding-inline: 0;
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: calc(var(--nav-height) + 20px);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  padding-left: 1.5rem;
  max-width: 32rem;
}
@media (max-width: 719px) {
  .hero-content { padding-left: 0; }
  .hero-media img { object-position: 80% 12%; }
}
.hero-title { max-width: 13ch; }
.hero-sub { margin-top: 1.4rem; max-width: 38ch; }
.hero-actions { margin-top: 2.2rem; }
@media (max-width: 719px) {
  .hero { align-items: flex-end; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(26,26,26,.5) 0%, rgba(26,26,26,.72) 45%, rgba(26,26,26,.96) 92%);
  }
  .hero-content { max-width: 100%; padding-top: calc(var(--nav-height) + 20px); padding-bottom: clamp(3rem, 12vw, 5rem); }
}

.plano-line { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.plano-line path, .plano-line circle, .plano-line line {
  fill: none; stroke: var(--accent); stroke-width: 1;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-soft);
  opacity: .55;
}
.plano-line .is-gold { stroke: var(--gold); opacity: .4; }
.plano-line.is-drawn path,
.plano-line.is-drawn circle,
.plano-line.is-drawn line { stroke-dashoffset: 0; }

/* Positioning / pull-quote band */
.band {
  background: var(--bg-1); border-block: 1px solid var(--line);
}
.band-quote { max-width: 46ch; }
.band-quote p + p { margin-top: 1em; }

/* Step circles — colored process teaser, same hue family in different shades */
.step-circles {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.8rem 1rem;
  margin-top: 2.8rem;
}
@media (min-width: 640px) { .step-circles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.step-circle-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; width: 28%; }
@media (min-width: 640px) { .step-circle-item { width: auto; } }
.step-circle {
  width: clamp(78px, 11vw, 104px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.6rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 16px 32px -14px rgba(0,0,0,.55);
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-spring);
}
.step-circle-item:hover .step-circle { transform: translateY(-5px) scale(1.05); }
.step-1 { background: linear-gradient(155deg, #ecd07a 0%, #c5992e 100%); color: #1a1408; }
.step-2 { background: linear-gradient(155deg, #c5992e 0%, #a37c25 100%); color: #1a1408; }
.step-3 { background: linear-gradient(155deg, #a37c25 0%, #82611d 100%); color: #f5f5f4; }
.step-4 { background: linear-gradient(155deg, #82611d 0%, #614816 100%); color: #f5f5f4; }
.step-5 { background: linear-gradient(155deg, #614816 0%, #40300e 100%); color: #f5f5f4; }
.step-circle-name { font-size: .95rem; color: var(--ink); font-weight: 700; }
.step-circle-label { font-size: .82rem; color: var(--ink-mute); max-width: 13ch; line-height: 1.3; }

/* Photo band — foto a sangre completa + cita grande */
.photo-band {
  position: relative; min-height: min(78vh, 720px);
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.photo-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,.1) 0%, rgba(26,26,26,.55) 55%, rgba(0,56,130,.88) 100%);
}
.photo-band-content { position: relative; z-index: 1; max-width: 46rem; }
.photo-band .pull-quote {
  color: var(--ink); font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 18ch; margin-bottom: 1.4rem;
}
.photo-band-cite { color: var(--ink-soft); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }

/* Teaser grids */
.teaser-head { max-width: 56ch; margin-bottom: 2.8rem; }
.grid-cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-cards.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid-cards.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.teaser-foot { margin-top: 2.5rem; }

/* About / bio sections */
.split {
  display: grid; gap: 3rem; align-items: start;
}
@media (min-width: 960px) { .split { grid-template-columns: .85fr 1.15fr; gap: 4.5rem; } }
.split-figure {
  position: relative; border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -36px rgba(0,0,0,.8);
}
.split-figure::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.split-figure img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center;
  border-radius: inherit;
}
.split-figure { position: sticky; top: calc(var(--nav-height) + 2rem); }
@media (max-width: 959px) { .split-figure { position: static; max-width: 340px; margin-inline: auto; } }

.fact-list { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.fact-list dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.fact-list dd { color: var(--ink-soft); margin: 0; }
.fact-row { display: grid; grid-template-columns: 1fr; gap: .3rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .fact-row { grid-template-columns: 220px 1fr; gap: 1.5rem; } }

/* Pillars */
.pillars { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border-top: 1px solid var(--gold); padding-top: 1.2rem; }
.pillar-num { font-family: var(--serif); font-weight: 500; color: var(--gold); }

.pillars-lg { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 640px) { .pillars-lg { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-lg { grid-template-columns: repeat(4, 1fr); } }
.pillar-lg {
  position: relative;
  background: var(--glass-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.8rem 2.2rem; text-align: left;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  transition: transform .55s var(--ease-spring), border-color .4s var(--ease-out), box-shadow .55s var(--ease-spring), background-color .4s;
}
.pillar-lg:hover {
  border-color: var(--gold-soft); background: var(--glass-bg-strong);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 40px 70px -34px rgba(0,0,0,.7);
}
.pillar-lg-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--glass-bg-strong); border: 1px solid var(--gold-soft); color: var(--gold);
  font-family: var(--serif); font-weight: 500; font-size: 1.2rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.1);
}
.pillar-lg h3 { margin-top: 1.4rem; }
.pillar-lg p { margin-top: .8rem; color: var(--ink-mute); }

/* Horizontal pinned carousel (services showcase) */
.showcase { position: relative; }
.showcase-track {
  display: flex; flex-wrap: nowrap; gap: 1.5rem;
  margin-top: 3rem;
}
.showcase-track { overflow-x: auto; overflow-y: visible; padding-bottom: 1rem; scroll-snap-type: x proximity; }
@media (min-width: 1024px) { .showcase.is-pinned .showcase-track { overflow: visible; padding-bottom: 0; } }
.showcase-card {
  flex: 0 0 auto; width: min(340px, 80vw); scroll-snap-align: start;
  background: var(--glass-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.4rem; display: flex; flex-direction: column;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  transition: transform .55s var(--ease-spring), border-color .4s var(--ease-out), box-shadow .55s var(--ease-spring), background-color .4s;
}
.showcase-card:hover {
  border-color: var(--gold-soft); background: var(--glass-bg-strong); transform: translateY(-4px);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 40px 70px -34px rgba(0,0,0,.7);
}
.showcase-card .card-num { font-size: 1.1rem; }
.showcase-card h3 { margin-top: 1rem; }
.showcase-card p { margin-top: .8rem; color: var(--ink-mute); flex-grow: 1; }
.showcase-card .btn { margin-top: 1.6rem; align-self: flex-start; }
.showcase-hint { margin-top: 1rem; font-size: .8rem; color: var(--ink-mute); }
@media (min-width: 1024px) { .showcase-hint { display: none; } }

/* Testimonials */
.testi-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 9 / 16; background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  transition: border-color .4s var(--ease-out), transform .55s var(--ease-spring);
}
.testi-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.testi-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.testi-card:hover img { transform: scale(1.05); }
.testi-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.testi-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(10,13,12,.15), rgba(10,13,12,.65));
}
.testi-play-btn {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(239,237,230,.92); display: grid; place-items: center;
  transition: transform .4s var(--ease-soft), background .3s;
}
.testi-card:hover .testi-play-btn { transform: scale(1.08); }
.testi-play-btn svg { width: 20px; height: 20px; fill: var(--bg); margin-left: 3px; }
.testi-label {
  position: absolute; left: 1rem; bottom: 1rem; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.testi-thumb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 640px; margin-inline: auto; }
.testi-thumb { aspect-ratio: 9/16; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.testi-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Articles */
.article-hero { padding-top: calc(var(--nav-height) + 3rem); }
.article-meta { display: flex; gap: .8rem; align-items: center; color: var(--ink-mute); font-size: .85rem; margin-top: 1rem; }
.article-body p { margin-top: 1.35em; }
.article-quote {
  margin: 2.4rem 0; padding-left: 1.6rem; border-left: 2px solid var(--gold);
}
.article-foot { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 720px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* Contact */
.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 5rem; } }
.contact-channels { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-channel {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem;
  background: var(--glass-bg); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  transition: border-color .3s var(--ease-out), transform .5s var(--ease-spring), background-color .3s;
}
.contact-channel:hover { border-color: var(--gold-soft); background: var(--glass-bg-strong); transform: translateX(4px); }
.contact-channel-icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-3); color: var(--gold); flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.08);
}
.contact-channel-icon svg { width: 18px; height: 18px; fill: currentColor; }
.contact-figure { display: none; }
@media (min-width: 960px) { .contact-figure { display: block; } }
.contact-figure img { width: 100%; max-width: 360px; margin-inline: auto; }

/* Footer */
.footer-cta {
  background: var(--bg-1); border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 6rem); text-align: center;
}
.footer-cta .pull-quote { margin-inline: auto; }
.footer-cta .btn-row { justify-content: center; margin-top: 2.2rem; }

.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 4.5rem 2.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--ink); display: inline-flex; }
.footer-brand img { height: 30px; width: auto; }
.footer-tagline { margin-top: .8rem; color: var(--ink-mute); font-size: .92rem; max-width: 32ch; }
.footer-heading { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: .8rem; }
.footer-links a { color: var(--ink-soft); font-size: .92rem; transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-social-col { display: flex; flex-direction: column; gap: .8rem; }
.footer-social { display: flex; gap: .9rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--ink-soft); transition: all .3s var(--ease-out);
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .82rem; color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); text-decoration: underline; text-decoration-color: var(--line-strong); transition: color .3s var(--ease-out); }
.footer-bottom a:hover { color: var(--gold); }

/* Final CTA band */
.cta-band { text-align: center; }
.cta-band .pull-quote { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* =============================================================
   7. Effects
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-spring), filter .9s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; filter: blur(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* Fixed grain overlay — luxury film texture, cheap and GPU-safe */
.grain-overlay {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .55s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   10. v4 — Goal picker, forms, testimonials text, video grid, FAQ, popup, floating CTAs
   ============================================================= */

/* Goal picker */
.goal-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.goal-btn {
  padding: .85rem 1.5rem; border-radius: 999px;
  background: var(--glass-bg); border: 1.5px solid var(--line-strong);
  color: var(--ink-soft); font-size: .92rem; font-weight: 600;
  transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out), color .35s var(--ease-out), transform .4s var(--ease-spring);
}
.goal-btn:hover { border-color: var(--gold-soft); color: var(--ink); transform: translateY(-2px); }
.goal-btn.is-active { background: var(--gold); border-color: var(--gold); color: #17130a; }
.goal-result {
  width: 100%;
  margin-top: 0; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease-spring), opacity .5s var(--ease-out), margin-top .6s var(--ease-spring);
}
.goal-result.is-visible { margin-top: 1rem; max-height: 320px; opacity: 1; }
.goal-result-inner {
  background: var(--glass-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 2.2rem; box-shadow: inset 0 1px 0 var(--glass-highlight);
}
.goal-result-inner p.kicker { margin-bottom: .8rem; }
.goal-result-inner h3 { margin-bottom: .6rem; }
.goal-result-inner p.body { color: var(--ink-mute); margin-bottom: 1.4rem; }
@media (max-width: 719px) {
  .goal-result.is-visible { max-height: 420px; }
  .goal-result-inner { padding: 1.5rem 1.6rem; }
}

/* Signup / booking form */
.signup-form { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .signup-form { grid-template-columns: 1fr 1fr; } }
.signup-form .field-full { grid-column: 1 / -1; }
.signup-form-wrap {
  background: var(--glass-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem); box-shadow: inset 0 1px 0 var(--glass-highlight);
  position: relative;
}

/* Text testimonials */
.testi-text-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .testi-text-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .testi-text-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-text-card {
  background: var(--glass-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: inset 0 1px 0 var(--glass-highlight);
  transition: transform .5s var(--ease-spring), border-color .4s var(--ease-out);
  display: flex; flex-direction: column;
}
.testi-text-card:hover { border-color: var(--gold-soft); transform: translateY(-4px); }
.testi-text-quote {
  font-family: var(--serif); color: var(--ink-soft);
  font-size: .98rem; line-height: 1.6; flex-grow: 1;
}
.testi-text-quote::before { content: "“"; color: var(--gold); }
.testi-text-quote::after { content: "”"; color: var(--gold); }
.testi-text-name { margin-top: 1.3rem; font-weight: 700; color: var(--ink); font-size: .95rem; }
.testi-text-loc { color: var(--ink-mute); font-size: .82rem; margin-top: .15rem; }

/* Testimonial carousel — Home */
.testi-carousel {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: 2.5rem; padding-bottom: .25rem;
  scrollbar-width: none;
}
.testi-carousel::-webkit-scrollbar { display: none; }
.testi-carousel .testi-text-card { flex: 0 0 min(320px, 82vw); scroll-snap-align: start; }
.testi-carousel-nav { display: flex; gap: .75rem; justify-content: center; margin-top: 1.75rem; }
.testi-carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--glass-bg); color: var(--ink);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.testi-carousel-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Video showcase (reorganized) */
.video-showcase-head { text-align: center; max-width: 46ch; margin-inline: auto; margin-bottom: 2.8rem; }
.video-showcase-head .kicker { margin-inline: auto; width: fit-content; }
.video-showcase-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .video-showcase-grid { grid-template-columns: repeat(3, 1fr); } }

/* FAQ accordion */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0; text-align: left; font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
}
.faq-q-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  position: relative; transition: transform .5s var(--ease-spring), border-color .3s;
}
.faq-q-icon::before, .faq-q-icon::after {
  content: ""; position: absolute; background: var(--gold); transition: transform .4s var(--ease-spring);
}
.faq-q-icon::before { width: 12px; height: 1.5px; }
.faq-q-icon::after { width: 1.5px; height: 12px; }
.faq-item.is-open .faq-q-icon::after { transform: rotate(90deg) scaleY(0); }
.faq-item.is-open .faq-q-icon { border-color: var(--gold); }
.faq-a {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s var(--ease-spring), opacity .4s var(--ease-out), padding-bottom .5s;
  color: var(--ink-mute); max-width: 66ch;
}
.faq-item.is-open .faq-a { max-height: 320px; opacity: 1; padding-bottom: 1.5rem; }

/* Lead popup */
.lead-popup-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 6, 4, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease-out);
}
.lead-popup-overlay.is-visible { opacity: 1; pointer-events: auto; }
.lead-popup {
  position: relative; width: min(460px, 100%);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 5vw, 2.8rem);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 60px 100px -30px rgba(0,0,0,.8);
  transform: translateY(24px) scale(.97); transition: transform .5s var(--ease-spring);
}
.lead-popup-overlay.is-visible .lead-popup { transform: none; }
.lead-popup-close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 34px; height: 34px; border-radius: 50%;
  background: var(--glass-bg); border: 1px solid var(--line-strong); display: grid; place-items: center;
  color: var(--ink-mute); transition: color .3s, border-color .3s;
}
.lead-popup-close:hover { color: var(--gold); border-color: var(--gold-soft); }
.lead-popup h3 { max-width: 22ch; }
.lead-popup p { margin-top: .7rem; color: var(--ink-mute); }
.lead-popup form { margin-top: 1.6rem; display: grid; gap: 1.1rem; }

/* Floating WhatsApp button */
.float-whatsapp {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(155deg, var(--gold) 0%, var(--gold-soft) 100%);
  display: grid; place-items: center;
  box-shadow: 0 16px 36px -12px rgba(197, 153, 46, .6);
  transition: transform .4s var(--ease-spring);
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 28px; height: 28px; fill: #1a1408; }
@media (max-width: 719px) { .float-whatsapp { display: none; } }

/* Sticky mobile booking bar */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 89;
  padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom));
  background: rgba(14, 11, 7, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: none;
}
@media (max-width: 719px) { .mobile-cta-bar { display: block; } }
.mobile-cta-bar .btn { width: 100%; justify-content: center; }

/* Hero accent word */
.hero-accent {
  font-weight: 700;
  color: var(--gold);
}

/* Stat bar — flat, no cards, modest sizing */
.stat-bar { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.stat-bar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; text-align: center; }
@media (max-width: 719px) {
  .stat-bar-grid { gap: .6rem; }
  .stat-num { font-size: clamp(1.15rem, 5vw, 1.5rem); }
  .stat-label { font-size: .72rem; }
}
.stat-num {
  font-family: var(--serif); font-weight: 700; color: var(--gold);
  font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1;
}
.stat-label { margin-top: .5rem; color: var(--ink-mute); font-size: .88rem; }

/* =============================================================
   8. Responsive helpers
   ============================================================= */
@media (min-width: 540px) { .container { padding-inline: var(--gutter); } }
@media (min-width: 1600px) { .container { max-width: 1320px; } }

/* =============================================================
   9. Reduced-motion — only kills genuinely intrusive movement
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .plano-line path, .plano-line circle, .plano-line line { transition-duration: .4s; }
  [data-reveal] { transition-duration: .3s; }
}
