/* =============================================================
   VECTOR POLÍTICO — styles.css
   Archetype: Editorial Dark Warm (accent shifted to neutral gold/bronze)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0E0B09;
  --bg-2:      #15110E;
  --bg-3:      #1E1813;
  --bg-4:      #241D16;
  --cream:     #F2EBDA;
  --cream-2:   #DDD2BC;
  --cream-3:   #9C8E7A;
  --accent:       #C49A5B;
  --accent-2:     #8B6438;   /* decorative only — never as text background, see contrast note below */
  --accent-light: #D9B173;   /* used with --accent for button gradients — keeps text contrast > 4.5:1 */
  --accent-soft: rgba(196, 154, 91, 0.16);
  --line:      rgba(242, 235, 218, 0.12);
  --line-strong: rgba(242, 235, 218, 0.22);

  --serif: "Playfair Display", "Georgia", serif;
  --sans:  "Inter", -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: 80px;
  --container: 1240px;
  --radius: 18px;

  color-scheme: dark;
}

@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --angle      { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
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.05; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 600; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

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

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

.eyebrow {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: .9rem;
}

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

.section-pad { padding-block: clamp(4rem, 9vw, 8rem); }

/* =============================================================
   4. Typography
   ============================================================= */
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream-2); max-width: 62ch; }

/* Kinetic split-text base states */
[data-split] .split-word,
[data-split] .split-char {
  display: inline-block;
  will-change: transform, opacity;
}
/* Defensive fix: element w/ both .reveal and [data-split] must never be invisible */
.reveal[data-split] { opacity: 1; transform: none; }

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

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 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, color .3s;
  min-height: 44px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #17130d;
  box-shadow: 0 8px 24px rgba(196,154,91,.22), 0 2px 6px rgba(0,0,0,.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(196,154,91,.32), 0 8px 18px rgba(0,0,0,.4); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-ghost {
  border: 1px solid var(--line-strong); color: var(--cream);
}
.btn-ghost:hover { background: rgba(242,235,218,.06); transform: translateY(-2px); }

/* --- Cards / bento --- */
.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  position: relative;
  isolation: isolate;
}
.card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: auto; padding-top: 1.1rem;
  font-size: .85rem; font-weight: 600; color: var(--accent);
  transform: translateZ(10px);
}
.card-link span { transition: transform .3s var(--ease-out); }
.card:hover .card-link span { transform: translateX(4px); }
.services-intro { margin-bottom: 2.6rem; }
.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), box-shadow .4s var(--ease-soft), border-color .4s;
}
.has-tilt:hover {
  transition-duration: .15s;
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5), 0 0 0 1px var(--accent-soft);
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 1.1rem;
  transform: translateZ(30px);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .5rem; transform: translateZ(20px); }
.card p { color: var(--cream-3); font-size: .95rem; transform: translateZ(10px); }

/* =============================================================
   6. Sections — Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav.is-scrolled {
  background: rgba(14,11,9,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.nav-brand em { font-style: italic; }
.nav-links { display: none; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { position: relative; padding: .3rem 0; font-size: .92rem; color: var(--cream-2); }
.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(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
@media (min-width: 960px) { .nav-cta { display: inline-flex; padding: .7rem 1.4rem; font-size: .88rem; } }

.nav-burger {
  display: grid; place-items: center; width: 44px; height: 44px;
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span, .nav-burger::before, .nav-burger::after {
  content: ""; display: block; width: 22px; height: 1.5px; background: var(--cream);
  transition: transform .35s var(--ease-soft), opacity .3s;
}
.nav-burger::before { transform: translateY(-6px); }
.nav-burger::after { transform: translateY(6px); }
.nav-burger[aria-expanded="true"] span { opacity: 0; }
.nav-burger[aria-expanded="true"]::before { transform: translateY(0) rotate(45deg); }
.nav-burger[aria-expanded="true"]::after { transform: translateY(0) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  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 a { font-family: var(--serif); font-size: 1.7rem; }
.nav-mobile .btn { margin-top: 1rem; }

/* =============================================================
   Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  pointer-events: auto;
  transition: opacity .9s, clip-path 1.1s;
  animation: splashSafety .01s 4.5s 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-inner { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.splash-mark { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--accent); }
.splash-line {
  width: 64px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden;
}
.splash-line::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  animation: splashLoad 1.6s var(--ease-soft) infinite;
}
@keyframes splashLoad { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* =============================================================
   Scroll progress
   ============================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: rgba(242,235,218,.06); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: 0 0; transform: scaleX(0); transition: transform .08s linear;
}

/* =============================================================
   Cursor
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  display: none; mix-blend-mode: difference;
  opacity: 0; transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: var(--cream); border-radius: 50%; }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px; border: 1px solid var(--cream); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 52px; height: 52px; margin: -26px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: clip;
  padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,11,9,.55) 0%, rgba(14,11,9,.35) 40%, rgba(14,11,9,.92) 100%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(50% 40% at var(--mesh-x) var(--mesh-y), rgba(196,154,91,.28), transparent 60%),
    conic-gradient(from var(--mesh-angle), rgba(196,154,91,.14), rgba(139,100,56,.06), rgba(196,154,91,.14));
  filter: blur(90px) saturate(120%);
  opacity: .8;
  animation: meshShift 24s linear infinite;
  mix-blend-mode: screen;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 32%; --mesh-y: 38%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 68%; --mesh-y: 58%; }
  100% { --mesh-angle: 360deg; --mesh-x: 32%; --mesh-y: 38%; }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .12; mix-blend-mode: overlay;
  background-image: url("assets/img/grain.webp");
  background-size: 220px 220px;
}
.hero-inner { position: relative; z-index: 1; padding-block: 3rem; width: 100%; }
.kicker { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); margin-bottom: 1.6rem; }
.hero-title {
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  max-width: 16ch;
  margin-bottom: 1.6rem;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream-2); max-width: 46ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 640px; border-top: 1px solid var(--line); padding-top: 1.8rem;
}
.hero-stat .stat-value {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--accent); display: block;
}
.hero-stat .stat-label { font-size: .82rem; color: var(--cream-3); line-height: 1.3; }

.hero-scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  width: 22px; height: 34px; border: 1px solid var(--line-strong); border-radius: 20px;
  z-index: 1;
}
.hero-scroll-cue::after {
  content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px;
  background: var(--accent); border-radius: 2px; transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { 0% { transform: translate(-50%, 0); opacity: 1; } 60% { opacity: .3; } 100% { transform: translate(-50%, 14px); opacity: 0; } }
@media (max-width: 719px) { .hero-scroll-cue { display: none; } }

@media (max-width: 719px) {
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
}

/* =============================================================
   Mesh helper for other sections
   ============================================================= */
.section-with-mesh { position: relative; overflow: clip; isolation: isolate; }
.section-with-mesh .bg-panel { position: absolute; inset: 0; z-index: -1; }
.section-with-mesh .bg-panel img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.section-with-mesh .bg-panel::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: .55; }

/* =============================================================
   MANIFESTO
   ============================================================= */
.manifesto { padding-block: clamp(5rem, 10vw, 9rem); }
.manifesto-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .manifesto-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; } }
.manifesto-lead h2 { margin-top: .4rem; }
.pillars { display: grid; gap: 2.2rem; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; }
.pillar-n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--accent); opacity: .8; }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { color: var(--cream-3); }

/* =============================================================
   SERVICES — bento (icon/text cards, not photo bento)
   ============================================================= */
.services { padding-block: clamp(5rem, 10vw, 9rem); background: var(--bg-2); }
.services > .container > h2 { max-width: 20ch; margin-bottom: 3rem; }
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .bento .card:nth-child(1) { grid-column: span 5; }
  .bento .card:nth-child(2) { grid-column: span 4; }
  .bento .card:nth-child(3) { grid-column: span 3; }
  .bento .card:nth-child(4) { grid-column: span 4; }
  .bento .card:nth-child(5) { grid-column: span 4; }
  .bento .card:nth-child(6) { grid-column: span 4; }
  .bento .card:nth-child(7) { grid-column: span 6; }
  .bento .card:nth-child(8) { grid-column: span 6; }
}

/* =============================================================
   PROCESS
   ============================================================= */
.process { padding-block: clamp(5rem, 10vw, 9rem); }
.process > .container > h2 { max-width: 16ch; margin-bottom: 3rem; }
.process-list { display: grid; gap: 0; }
.process-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem;
  padding-block: 1.8rem; border-top: 1px solid var(--line);
}
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-n { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--accent); }
.process-item h3 { margin-bottom: .4rem; }
.process-item p { color: var(--cream-3); max-width: 56ch; }
@media (min-width: 720px) {
  .process-item { grid-template-columns: 100px 1fr 1fr; align-items: baseline; }
}

/* =============================================================
   METHODOLOGY
   ============================================================= */
.methodology { padding-block: clamp(5rem, 10vw, 9rem); }
.methodology-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .methodology-grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: start; } }
.watch-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.watch-item {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.watch-item .w-label { font-weight: 600; }
.watch-item .w-detail { color: var(--cream-3); font-size: .9rem; text-align: right; }

.pull-quote {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem clamp(1.6rem, 3vw, 3rem);
  position: relative;
}
.pull-quote::before {
  content: "“"; position: absolute; top: 1rem; left: 1.4rem;
  font-family: var(--serif); font-size: 4rem; color: var(--accent); opacity: .35; line-height: 1;
}
.pull-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; margin-bottom: 1.2rem; }
.pull-quote cite { color: var(--cream-3); font-size: .85rem; font-style: normal; }

/* =============================================================
   FAQ
   ============================================================= */
.faq { padding-block: clamp(5rem, 10vw, 9rem); background: var(--bg-2); }
.faq > .container > h2 { max-width: 18ch; margin-bottom: 2.6rem; }
.faq-list { display: grid; gap: .8rem; max-width: 760px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-3); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; text-align: left; font-weight: 600; font-size: 1rem;
}
.faq-q .faq-plus { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-q .faq-plus::before, .faq-q .faq-plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent);
  transition: transform .35s var(--ease-soft);
}
.faq-q .faq-plus::before { width: 14px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-q .faq-plus::after  { width: 1.5px; height: 14px; transform: translate(-50%,-50%); }
.faq-item[data-open="true"] .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-soft);
}
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--cream-3); max-width: 62ch; }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }

/* =============================================================
   CTA / CONTACT
   ============================================================= */
.cta-contact { position: relative; padding-block: clamp(5rem, 10vw, 9rem); overflow: clip; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,11,9,.7), rgba(14,11,9,.94)); }
.cta-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; align-items: start; } }
.cta-lead h2 { margin-bottom: 1.1rem; }
.cta-lead p { color: var(--cream-2); max-width: 44ch; margin-bottom: 1.4rem; }
.whatsapp-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 600; font-size: .92rem; }
.whatsapp-link::after { content: "→"; transition: transform .3s var(--ease-out); }
.whatsapp-link:hover::after { transform: translateX(4px); }

.cta-form { position: relative; display: grid; gap: 1.1rem; transition: opacity .55s var(--ease-out), transform .55s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.3rem 1rem .5rem; border: 1px solid var(--line-strong); border-radius: 10px;
  background: rgba(242,235,218,.03); color: inherit; font: inherit; min-height: 44px;
  transition: border-color .3s;
}
.field textarea { min-height: 110px; resize: vertical; padding-top: 1.3rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field label {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  pointer-events: none; transition: all .25s var(--ease-out); color: var(--cream-3); font-size: .95rem;
}
.field textarea + label { top: 1.5rem; transform: none; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 0.55rem; transform: none; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.cta-submit {
  position: relative; justify-self: start; margin-top: .4rem;
}
.cta-form-spinner, .cta-form-check {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none;
}
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 18px; height: 18px; border: 1.5px solid rgba(23,19,13,.35); border-top-color: #17130d;
  border-radius: 50%; animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cta-success {
  position: absolute; left: 0; top: 0; right: 0;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .8s var(--ease-out) .1s, transform .9s var(--ease-soft) .1s;
}
.cta-success.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.cta-success h3 { margin-bottom: .6rem; }
.cta-success p { color: var(--cream-2); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { padding-block: 4rem 2.5rem; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; gap: 2.6rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr .7fr .7fr 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .8rem; }
.footer-brand em { font-style: italic; }
.footer-blurb { color: var(--cream-3); font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1rem; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: var(--cream-2); font-size: .92rem; margin-bottom: .6rem; }
.footer-col a:hover { color: var(--accent); }
.footer-legal { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.footer-legal p { color: var(--cream-3); font-size: .8rem; max-width: 74ch; margin-bottom: .5rem; }

/* Credito de autoria del sitio */
.footer-legal .footer-credit {
  margin-top: 1.4rem; margin-bottom: 0;
  font-size: .76rem; letter-spacing: .04em;
  color: rgba(156, 142, 122, .7);
}
.footer-credit a {
  color: var(--cream-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.footer-credit a:hover { color: var(--accent); border-color: var(--accent); }

/* =============================================================
   SERVICE SUBPAGES (/servicios/*.html)
   ============================================================= */
.hero-service { min-height: auto; padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.service-crumb {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--cream-3); margin-bottom: 1.4rem;
}
.service-crumb a { color: var(--cream-2); }
.service-crumb a:hover { color: var(--accent); }

.svc-section { padding-block: clamp(4rem, 8vw, 7rem); }
.svc-section.is-tinted { background: var(--bg-2); }
.svc-section > .container > h2 { max-width: 26ch; margin-bottom: 1rem; }
.svc-section > .container > .lead { margin-bottom: 2.6rem; }

.subservices-grid {
  display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 2.6rem;
}
@media (min-width: 640px) { .subservices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .subservices-grid { grid-template-columns: repeat(3, 1fr); } }
.subservices-grid .card p { color: var(--cream-3); font-size: .95rem; }

.svc-applies { max-width: 760px; margin-top: 2.6rem; }

.svc-faq-list { max-width: 760px; margin-top: 2.6rem; }

.svc-cta { position: relative; padding-block: clamp(4.5rem, 9vw, 7.5rem); overflow: clip; isolation: isolate; text-align: center; }
.svc-cta-bg { position: absolute; inset: 0; z-index: -1; }
.svc-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.svc-cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,11,9,.72), rgba(14,11,9,.94)); }
.svc-cta-inner { max-width: 640px; margin-inline: auto; }
.svc-cta-inner h2 { margin-bottom: 1rem; }
.svc-cta-inner p { color: var(--cream-2); margin-bottom: 1.8rem; }
.svc-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1.6rem; }

.svc-related { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.svc-related h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1.2rem; font-weight: 600; }
.svc-related-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.svc-related-list a {
  padding: .6rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .85rem; color: var(--cream-2); transition: background .3s, color .3s, transform .3s var(--ease-soft);
}
.svc-related-list a:hover { background: rgba(242,235,218,.06); color: var(--cream); transform: translateY(-2px); }

/* =============================================================
   7. Effects — reveal on scroll
   ============================================================= */
/* Hidden-until-revealed ONLY when JS is present (.js on <html>, set by an
   inline script in <head>). With JS disabled there's no .js class, so
   content is visible by default — required by "must work without JS". */
[data-reveal] {
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

.is-ready .splash { }

/* =============================================================
   8. Responsive breakpoints already inlined per-component above
   ============================================================= */

/* =============================================================
   9. Reduced-motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue::after { animation: none; }
  .splash-line::after { animation: none; }
  /* Do NOT disable: tilt, hover, fades, mesh, count-ups, marquee */
}
