/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 40%; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #0F2226;
  --bg-2: #152E33;
  --bg-3: #1C3A40;
  --bg-4: #24484E;
  --cream: #F4F0E8;
  --cream-2: #CBD6D4;
  --cream-3: #86A19D;
  --accent: #EE5F2A;
  --accent-2: #C93A26;
  --gold: #F5A623;
  --line: rgba(244, 240, 232, 0.14);
  --paper: #FBF7EF;
  --paper-ink: #201C16;
  --paper-mute: #6E665A;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --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-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 84px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--cream);
  -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; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 600; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--cream); }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.4rem;
}
@media (min-width: 720px) { .container { padding-inline: 2.2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.6rem; } }

.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;
}

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-3); font-weight: 600;
}
.kicker::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.eyebrow-num {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--accent); font-size: 1.1rem;
}

section { position: relative; }
.section-pad { padding-block: 5.5rem; }
@media (min-width: 960px) { .section-pad { padding-block: 8rem; } }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: .9rem; }
.section-head p { color: var(--cream-2); margin-top: 1.1rem; font-size: 1.05rem; }

em { font-style: italic; color: var(--accent); }

/* =============================================================
   4. Buttons & links
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--accent) 55%, var(--accent-2));
  color: #1a0d06;
  box-shadow: 0 14px 30px -10px rgba(238, 95, 42, .55);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -12px rgba(238, 95, 42, .65);
}
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--cream-3); background: rgba(244,240,232,.06); transform: translateY(-2px); }

.btn-sm { padding: .7rem 1.2rem; font-size: .85rem; }

.btn svg { width: 18px; height: 18px; flex: none; }

.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform;
  transition: transform .8s var(--ease-soft);
}

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease-out), clip-path 1s var(--ease-soft);
  animation: splashSafety .01s 4.2s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { width: 64px; height: 64px; animation: splashSpin 1.6s var(--ease-soft) infinite; }
.splash-mark img { width: 100%; height: 100%; object-fit: contain; }
@keyframes splashSpin {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .7; }
  50% { transform: scale(1.12) rotate(8deg); opacity: 1; }
}

/* =============================================================
   6. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(15, 34, 38, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-brand img { height: 34px; width: auto; }
.nav-links { display: none; align-items: center; gap: 2.1rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { position: relative; font-size: .92rem; font-weight: 600; color: var(--cream-2); padding: .25rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .btn-primary { display: none; }
@media (min-width: 720px) { .nav-actions .btn-primary { display: inline-flex; } }

.nav-burger {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line);
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger-lines { position: relative; width: 18px; height: 12px; display: block; }
.nav-burger-lines span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--cream);
  transition: transform .35s var(--ease-out), opacity .3s;
}
.nav-burger-lines span:nth-child(1) { top: 0; }
.nav-burger-lines span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-burger-lines span:nth-child(3) { bottom: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-lines span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-lines span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-lines span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg-2);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile-list { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.nav-mobile-list a { font-family: var(--serif); font-style: italic; font-size: 1.9rem; }
.nav-mobile-list a:hover { color: var(--accent); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: stretch;
  background: var(--bg);
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background:
    radial-gradient(48% 42% at var(--mesh-x) var(--mesh-y), rgba(238,95,42,.42), transparent 62%),
    conic-gradient(from var(--mesh-angle), rgba(245,166,35,.16), rgba(201,58,38,.14), rgba(238,95,42,.18), rgba(245,166,35,.16));
  filter: blur(90px) saturate(120%);
  opacity: .85;
  animation: meshShift 26s linear infinite;
  mix-blend-mode: screen;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 26%; --mesh-y: 34%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 46%; --mesh-y: 58%; }
  100% { --mesh-angle: 360deg; --mesh-x: 26%; --mesh-y: 34%; }
}
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: .1; mix-blend-mode: overlay; z-index: 1;
  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.9' numOctaves='3' 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: 220px 220px;
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr;
  width: 100%;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
}

.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 2.2rem) 1.4rem 3.5rem;
  gap: 1.6rem;
}
@media (min-width: 720px) { .hero-copy { padding-inline: 2.2rem; } }
@media (min-width: 960px) { .hero-copy { padding-left: 2.6rem; padding-right: 3rem; } }
@media (min-width: 1280px) { .hero-copy { padding-left: max(2.6rem, calc((100vw - var(--container)) / 2 + 2.6rem)); } }

.hero-badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(244,240,232,.05);
  font-size: .82rem; font-weight: 600; color: var(--cream-2);
}
.hero-badge strong { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; }

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  max-width: 15ch;
}
.hero-title .line { display: block; }
.hero-title em { font-style: italic; }

.hero-sub {
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--cream-2);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  margin-top: 1.4rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero-meta-item { display: flex; align-items: baseline; gap: .4rem; font-size: .85rem; color: var(--cream-3); }
.hero-meta-item strong { font-family: var(--serif); font-style: italic; color: var(--cream); font-size: 1.05rem; }

.hero-figure {
  position: relative;
  min-height: 46vh;
  overflow: clip;
}
@media (min-width: 960px) { .hero-figure { min-height: unset; } }
.hero-figure img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(1.05) contrast(1.05);
  animation: ambientZoom 30s ease-in-out infinite;
}
@keyframes ambientZoom {
  0%, 100% { transform: scale(1.04) translate3d(0,0,0); }
  50% { transform: scale(1.1) translate3d(-1%, -1%, 0); }
}
.hero-figure::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,34,38,.75), rgba(15,34,38,.15) 45%, transparent 70%);
}
.hero-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(15,34,38,.55) 18%, transparent 46%);
}
@media (min-width: 960px) {
  .hero-figure::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(15,34,38,.7) 14%, transparent 42%); }
}
.hero-figure-credit {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 3;
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream-2); background: rgba(15,34,38,.55); backdrop-filter: blur(6px);
  padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--cream-3); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: .8;
}
.scroll-cue-line { width: 1px; height: 34px; background: linear-gradient(180deg, var(--accent), transparent); animation: scrollCue 2.2s ease-in-out infinite; }
@keyframes scrollCue { 0%,100% { transform: scaleY(.6); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 959px) { .scroll-cue { display: none; } }

/* =============================================================
   8. Allies ticker
   ============================================================= */
.ticker-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 1.4rem;
  overflow: hidden; position: relative;
  display: flex; align-items: center;
}
.ticker-band::before, .ticker-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.ticker-band::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker-band::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.ticker-track { display: inline-flex; gap: 3.2rem; white-space: nowrap; will-change: transform; }
.ticker-track span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--cream-3); }
.ticker-track span.dot { font-style: normal; color: var(--accent); }

/* =============================================================
   9. Stats
   ============================================================= */
.stats {
  display: grid; grid-template-columns: 1fr; gap: 2.4rem;
  padding-block: 4rem;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1.6rem; } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: left; padding-inline-end: 1rem; border-left: 1px solid var(--line); padding-left: 1.4rem; }
.stat-num {
  display: inline-flex; align-items: baseline; gap: .15rem;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat p { color: var(--cream-2); margin-top: .5rem; font-size: .96rem; max-width: 26ch; }

/* =============================================================
   10. About (asymmetric)
   ============================================================= */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.6rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: .8fr 1.2fr; gap: 4.5rem; } }
.about-side { display: flex; flex-direction: column; gap: 1.2rem; }
.about-quote {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem;
  color: var(--gold); border-left: 2px solid var(--accent); padding-left: 1.1rem;
  max-width: 24ch;
}
.about-copy { display: flex; flex-direction: column; gap: 1.3rem; font-size: 1.06rem; color: var(--cream-2); }
.about-copy strong { color: var(--cream); font-weight: 700; }

/* =============================================================
   11. Services (bento-ish cards)
   ============================================================= */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.1rem 1.9rem;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), border-color .4s;
}
.card.has-tilt:hover { transition-duration: .15s; border-color: rgba(238,95,42,.4); }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(238,95,42,.28), transparent 62%);
  opacity: 0; transition: opacity .35s;
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; margin-bottom: 1.4rem;
  background: linear-gradient(135deg, var(--gold), var(--accent-2));
  transform: translateZ(30px);
}
.card-icon svg { width: 22px; height: 22px; color: #1a0d06; }
.card h3 { font-size: 1.28rem; margin-bottom: .7rem; transform: translateZ(20px); }
.card p { color: var(--cream-2); font-size: .98rem; transform: translateZ(10px); }

/* =============================================================
   12. Trayectoria (case studies carousel)
   ============================================================= */
.trayectoria { background: var(--bg-2); }
.case-scroller {
  display: flex; gap: 1.4rem;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding-block: .5rem 2.5rem;
  margin-inline: -1.4rem; padding-inline: 1.4rem;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
@media (min-width: 720px) { .case-scroller { margin-inline: -2.2rem; padding-inline: 2.2rem; } }
.case-scroller::-webkit-scrollbar { height: 6px; }
.case-scroller::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; }

.case-card {
  scroll-snap-align: start;
  flex: 0 0 min(78vw, 360px);
  border-radius: 22px;
  overflow: clip;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.case-card.is-paper { background: var(--paper); border-color: rgba(32,28,22,.1); }
.case-media { position: relative; aspect-ratio: 4 / 5; overflow: clip; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .55s; }
.case-card:hover .case-media img { transform: scale(1.08); filter: saturate(1.15) brightness(1.03); }
.case-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,34,38,.92), rgba(15,34,38,.05) 55%);
}
.case-card.is-paper .case-media { aspect-ratio: 5 / 4; display: grid; place-items: center; background: var(--paper); padding: 1.6rem; }
.case-card.is-paper .case-media img { width: 72%; height: 72%; object-fit: contain; }
.case-card.is-paper .case-media::after { display: none; }
.case-tag {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  padding: .4rem .75rem; border-radius: 999px;
  background: rgba(15,34,38,.7); color: var(--gold); border: 1px solid rgba(245,166,35,.35);
  backdrop-filter: blur(4px);
}
.case-card.is-paper .case-tag { background: var(--bg); color: var(--gold); border-color: var(--accent); }
.case-body { padding: 1.5rem 1.4rem 1.7rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.case-card.is-paper .case-body { color: var(--paper-ink); }
.case-body h3 { font-size: 1.2rem; }
.case-body p { color: var(--cream-2); font-size: .92rem; line-height: 1.55; }
.case-card.is-paper .case-body p { color: var(--paper-mute); }

.case-scroller-hint {
  display: flex; align-items: center; gap: .6rem;
  color: var(--cream-3); font-size: .82rem;
}
.case-scroller-hint svg { width: 16px; height: 16px; animation: nudgeRight 1.6s ease-in-out infinite; }
@keyframes nudgeRight { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* =============================================================
   13. Why Dynamis (pillars)
   ============================================================= */
.pillars { display: grid; grid-template-columns: 1fr; gap: 2.6rem; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.pillar { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.pillar-num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.pillar h3 { font-size: 1.3rem; margin: .7rem 0 .8rem; }
.pillar p { color: var(--cream-2); font-size: .98rem; }

/* =============================================================
   14. Final CTA
   ============================================================= */
.cta-band {
  position: relative; overflow: clip; isolation: isolate;
  border-radius: 28px;
  padding: 3.6rem 1.8rem;
  text-align: center;
  background: linear-gradient(155deg, var(--bg-4), var(--bg-2));
  border: 1px solid var(--line);
}
@media (min-width: 720px) { .cta-band { padding: 5rem 3rem; } }
.cta-band::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background: radial-gradient(45% 45% at 50% 20%, rgba(238,95,42,.35), transparent 70%);
  filter: blur(70px);
}
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--cream-2); max-width: 52ch; margin: 1.2rem auto 2.2rem; font-size: 1.05rem; }
.cta-band .btn { margin-inline: auto; }

/* =============================================================
   15. Contact
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.8rem 1.5rem; border-radius: 18px;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: transform .45s var(--ease-soft), border-color .3s;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(238,95,42,.4); }
.contact-card .card-icon { margin-bottom: 0; }
.contact-card h3 { font-size: 1.02rem; font-family: var(--sans); font-weight: 700; }
.contact-card a, .contact-card span.value { color: var(--cream-2); font-size: .95rem; word-break: break-word; }
.contact-card a:hover { color: var(--gold); }

/* =============================================================
   16. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg); padding-block: 3.2rem 2.2rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.4rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; max-width: 320px; }
.footer-brand img { height: 32px; width: auto; align-self: flex-start; flex: none; }
.footer-brand p { color: var(--cream-3); font-size: .92rem; }
.footer-tagline { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 3rem; }
.footer-col h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1rem; font-family: var(--sans); font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: var(--cream-2); font-size: .95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .84rem; color: var(--cream-3); }
.footer-social { display: flex; gap: .8rem; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease-soft);
}
.footer-social a:hover { border-color: var(--accent); transform: translateY(-3px); color: var(--gold); }
.footer-social svg { width: 17px; height: 17px; }

/* =============================================================
   17. Reveal / scroll effects
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; }

.wa-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(238,95,42,.6);
  transition: transform .4s var(--ease-soft);
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 27px; height: 27px; color: #1a0d06; }

/* =============================================================
   18. Reduced motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-figure img { animation: none; }
  .hero::before { animation: none; }
  .splash-mark { animation: none; }
  .scroll-cue-line { animation: none; }
  .case-scroller-hint svg { animation: none; }
}
