/* ============================================================
   Sigilo — Landing v3 (editorial, narrative, mobile-first)
   Built on the Sigilo design tokens. Ink on bone, single signal
   accent, Overpass, square corners, hairline rules, lots of air.
   One conversion goal: "Solicitar propuesta".
   ============================================================ */
@import url('assets/colors_and_type.css');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--ink); overflow-x: hidden; }
img { display: block; }
button, select, input { font-family: inherit; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--page-pad-x); }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }

.measure { max-width: 58ch; }

.label {
  font-family: var(--font-sans); font-size: var(--t-2xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--mute);
}

/* ---- Buttons (the ONLY interactive accent on the page) ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: var(--t-sm); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 16px 26px; border: 1px solid transparent; border-radius: var(--r-sm);
  background: var(--ink); color: var(--bone); cursor: pointer; white-space: nowrap;
  transition: background var(--dur-hover) var(--ease-out), transform 80ms var(--ease-out), color var(--dur-hover) var(--ease-out);
}
.btn:hover { background: var(--shadow); }
.btn:active { transform: translateY(1px); background: var(--ink-90); }
.btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.btn--lg { padding: 19px 32px; font-size: var(--t-body); }
.btn .arr { transition: transform var(--dur-hover) var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
/* on dark surfaces the button inverts to bone */
.on-dark .btn { background: var(--bone); color: var(--ink); }
.on-dark .btn:hover { background: #fff; }

/* ============================================================
   NAV — minimal: logo + single CTA. Transparent over the dark
   hero, gains a bone scrim once scrolled.
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background var(--dur-state) var(--ease-out), border-color var(--dur-state) var(--ease-out), backdrop-filter var(--dur-state) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(242, 240, 235, 0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}
.nav__inner { max-width: 1140px; margin: 0 auto; padding: 16px var(--page-pad-x); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }
@media (max-width: 720px) { .nav__inner { padding: 14px 22px; } }
.nav__logo { display: inline-flex; border: 0; }
.nav__logo img { height: 32px; width: auto; }
.nav__logo .logo-dark { display: none; }
/* over the hero (transparent), show the on-dark logo + ghost button */
.nav:not(.is-scrolled) .nav__logo .logo-light { display: block; }
.nav:not(.is-scrolled) .nav__logo .logo-dark { display: none; }
.nav.is-scrolled .nav__logo .logo-light { display: none; }
.nav.is-scrolled .nav__logo .logo-dark { display: block; }
.nav:not(.is-scrolled) .nav__cta .btn { background: transparent; color: var(--bone); border-color: rgba(242,240,235,0.45); }
.nav:not(.is-scrolled) .nav__cta .btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.nav__cta .btn { padding: 12px 20px; font-size: var(--t-xs); }
@media (max-width: 520px) { .nav__cta .btn { padding: 11px 15px; letter-spacing: 0.06em; } }

/* ============================================================
   Section scaffold
   ============================================================ */
.section { padding: var(--sp-10) 0; }
@media (max-width: 860px) { .section { padding: var(--sp-9) 0; } }
@media (max-width: 520px) { .section { padding: var(--sp-8) 0; } }
section[id] { scroll-margin-top: 80px; }

.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-6); }
.kicker__num { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--signal); letter-spacing: var(--tr-mono); }
.kicker__txt { font-family: var(--font-sans); font-size: var(--t-2xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--mute); }

.s-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.02em;
  margin: 0; max-width: 20ch;
}
.s-title i { font-style: italic; color: var(--shadow); }
.s-sub { margin-top: var(--sp-5); font-family: var(--font-sans); font-weight: 300; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.5; color: var(--shadow); max-width: 50ch; }
.s-sub em { font-style: normal; color: var(--ink); font-weight: 400; }

.divider { height: 1px; background: var(--rule); border: 0; margin: 0; }
.wrap--rule { padding-top: 0; padding-bottom: 0; }

/* dark sections */
.on-dark { background: var(--shadow); color: var(--bone); }
.on-dark .kicker__txt { color: var(--mute-2); }
.on-dark .s-title { color: var(--bone); }
.on-dark .s-title i { color: var(--pearl); }

/* ============================================================
   HERO — near black. Typography is the protagonist.
   Only decoration: the brand sello (concentric soundwave),
   rendered large and faint in negative space.
   ============================================================ */
.hero { position: relative; background: var(--ink); color: var(--bone); overflow: hidden; margin-top: calc(-1 * var(--nav-h, 78px)); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__sello {
  position: absolute; right: -16vw; top: 50%; transform: translateY(-50%);
  width: clamp(420px, 62vw, 920px); height: auto; color: var(--shadow-80);
  opacity: 0.6; filter: blur(1px);
}
.hero__sello .sg-dot { fill: var(--signal); opacity: 0.85; filter: blur(2px); transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero__sello .sg-dot { animation: heroDotPulse 3.4s var(--ease-in-out) infinite; }
}
@keyframes heroDotPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 0.32; transform: scale(1.7); }
}
@media (max-width: 720px) { .hero__sello { right: -34vw; top: 28%; opacity: 0.4; } }
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1140px; margin: 0 auto; padding: clamp(120px, 18vh, 200px) var(--page-pad-x) clamp(80px, 12vh, 140px);
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 720px) { .hero__inner { padding-left: 22px; padding-right: 22px; min-height: 88vh; } }

.hero__lockup { display: flex; align-items: center; gap: 16px; margin-bottom: var(--sp-7); }
.hero__lockup .seal { width: 26px; height: 26px; flex: 0 0 auto; }
.hero__lockup .seal .sg-ring { stroke: var(--bone); }
.hero__lockup .seal .sg-dot { fill: var(--signal); }
.hero__tag { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute-2); transition: color var(--dur-state) var(--ease-out); }

/* elegant entrance + hover for the hero lockup */
.hero__lockup .seal { transition: transform var(--dur-state) var(--ease-out); }
.hero__lockup:hover .seal { transform: scale(1.12); }
.hero__lockup:hover .hero__tag { color: var(--bone); }
@media (prefers-reduced-motion: no-preference) {
  .hero__lockup .seal .sg-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
  .hero__lockup .seal .sg-dot { transform-box: fill-box; transform-origin: center; }
  .hero__lockup.is-in .seal .sg-ring { animation: lockRing 0.9s var(--ease-out) both; }
  .hero__lockup.is-in .seal .sg-ring:nth-of-type(2) { animation-delay: 0.14s; }
  .hero__lockup.is-in .seal .sg-dot { animation: lockDot 0.8s var(--ease-out) 0.28s backwards, lockDotPulse 3.4s var(--ease-in-out) 1.2s infinite; }
  .hero__lockup.is-in .hero__tag { animation: lockTrack 1s var(--ease-out) 0.18s both; }
}
@keyframes lockRing { from { opacity: 0; transform: scale(0.25); } to { opacity: 1; transform: scale(1); } }
@keyframes lockDot { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes lockDotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes lockTrack { from { opacity: 0; letter-spacing: 0.55em; } to { opacity: 1; letter-spacing: 0.28em; } }

.hero__h {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(44px, 7.6vw, 116px); line-height: 0.98; letter-spacing: -0.03em;
  margin: 0; max-width: 15ch; color: var(--bone);
}
.hero__h i { font-style: italic; font-weight: 300; color: var(--pearl); }
.hero__sub {
  margin-top: var(--sp-7); font-family: var(--font-mono); font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2);
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.hero__sub .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--signal); display: inline-block; flex: 0 0 auto; animation: dotPulse 2.6s var(--ease-in-out) infinite; }
.hero__cta { margin-top: var(--sp-8); }
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .hero__sub .dot { animation: none; } }

/* sello svg shared */
.sello .sg-ring { stroke: currentColor; }
.sello .sg-dot { fill: var(--signal); }

/* ============================================================
   01 — EL PROBLEMA (statement + 3 numbered support lines)
   ============================================================ */
.problema__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-9); align-items: start; }
@media (max-width: 900px) { .problema__grid { grid-template-columns: 1fr; gap: var(--sp-7); } }
.problema__lines { border-top: 1px solid var(--rule); }
.pline { display: grid; grid-template-columns: 40px 1fr; gap: var(--sp-4); padding: var(--sp-6) 0; border-bottom: 1px solid var(--rule); }
.pline__n { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--signal); letter-spacing: var(--tr-mono); padding-top: 4px; }
.pline__t { font-family: var(--font-sans); font-size: var(--t-h3); line-height: 1.55; color: var(--shadow); }
.pline__t em { font-style: normal; color: var(--ink); }

/* ============================================================
   02 — QUÉ ES SIGILO (headline + sub + 3 columns)
   ============================================================ */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-7); margin-top: var(--sp-9); border-top: 1px solid var(--rule); padding-top: var(--sp-7); }
@media (max-width: 820px) { .cols3 { grid-template-columns: 1fr; gap: var(--sp-7); } }
.col3__n { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--signal); letter-spacing: var(--tr-mono); display: block; margin-bottom: var(--sp-4); }
.col3__h { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 var(--sp-3); }
.col3__b { font-family: var(--font-sans); font-size: var(--t-body); line-height: 1.62; color: var(--shadow); margin: 0; }

/* dictionary-style gloss of "curaduría" */
.def { margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--rule); max-width: 62ch; }
.def__lab { display: block; font-family: var(--font-sans); font-size: var(--t-2xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--signal); margin-bottom: var(--sp-4); }
.def__term { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.02em; line-height: 1.0; margin: 0; color: var(--ink); }
.def__pos { font-style: normal; font-family: var(--font-mono); font-size: var(--t-sm); letter-spacing: var(--tr-mono); color: var(--mute); }
.def__body { margin: var(--sp-4) 0 0; font-family: var(--font-sans); font-size: var(--t-h3); line-height: 1.6; color: var(--shadow); }
.def__body em { font-style: normal; color: var(--ink); }

/* ============================================================
   03 — ROI ACÚSTICO (dark concept block + 4 arrow lines)
   ============================================================ */
.roi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-9); align-items: center; }
@media (max-width: 900px) { .roi__grid { grid-template-columns: 1fr; gap: var(--sp-7); } }
.roi__h { font-family: var(--font-display); font-weight: 300; font-size: clamp(48px, 7vw, 96px); line-height: 0.96; letter-spacing: -0.03em; margin: var(--sp-5) 0 0; color: var(--bone); }
.roi__h .dotmark { color: var(--signal); }
.roi__text { margin-top: var(--sp-6); font-family: var(--font-sans); font-weight: 300; font-size: clamp(19px, 2vw, 26px); line-height: 1.42; color: var(--mute-2); max-width: 30ch; }
.roi__text em { font-style: normal; color: var(--bone); font-weight: 400; }
.roi__list { display: flex; flex-direction: column; }
.roi__item { display: flex; align-items: baseline; gap: 18px; padding: var(--sp-5) 0; border-bottom: 1px solid var(--shadow-80); font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.015em; line-height: 1.1; color: var(--bone); }
.roi__item:first-child { border-top: 1px solid var(--shadow-80); }
.roi__item .ar { color: var(--signal); font-family: var(--font-mono); font-weight: 400; font-size: 0.7em; flex: 0 0 auto; transform: translateY(-1px); }

/* ============================================================
   04 — TRES MODALIDADES (three cards)
   ============================================================ */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: var(--sp-8); background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-sm); overflow: hidden; }
@media (max-width: 880px) { .mods { grid-template-columns: 1fr; } }
.mod { background: var(--paper); padding: var(--sp-7) var(--sp-6) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); transition: background var(--dur-hover) var(--ease-out); }
.mod:hover { background: var(--bone); }
.mod__top { display: flex; align-items: baseline; gap: 14px; }
.mod__n { font-family: var(--font-mono); font-size: var(--t-h3); color: var(--signal); letter-spacing: var(--tr-mono); }
.mod__name { font-family: var(--font-sans); font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 1.5vw, 18px); letter-spacing: 0.04em; line-height: 1.15; }
.mod__tag { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(19px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.mod__roi { font-family: var(--font-mono); font-size: var(--t-2xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding: 8px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.mod__roi b { color: var(--signal); font-weight: 400; }
.mod__for { font-family: var(--font-sans); font-size: var(--t-sm); line-height: 1.55; color: var(--shadow); margin: 0; margin-top: auto; }
.mod__for span { color: var(--mute); }

/* ============================================================
   05 — CÓMO FUNCIONA (4 steps + closing + secondary CTA)
   ============================================================ */
.steps { border-top: 1px solid var(--rule); margin-top: var(--sp-8); }
.step { display: grid; grid-template-columns: 64px 0.8fr 1.4fr; gap: var(--sp-6); align-items: baseline; padding: var(--sp-6) 0; border-bottom: 1px solid var(--rule); }
.step__n { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--signal); letter-spacing: var(--tr-mono); }
.step__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.015em; line-height: 1.05; }
.step__b { font-family: var(--font-sans); font-size: var(--t-h3); line-height: 1.5; color: var(--shadow); }
@media (max-width: 760px) { .step { grid-template-columns: 38px 1fr; gap: var(--sp-3) var(--sp-4); } .step__b { grid-column: 1 / -1; } }
.como__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; margin-top: var(--sp-8); }
.como__closing { font-family: var(--font-sans); font-weight: 300; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.45; color: var(--shadow); max-width: 42ch; margin: 0; }
.como__closing em { font-style: normal; color: var(--ink); }

/* ============================================================
   06 — EL ROSTER
   ============================================================ */
.roster { border-top: 1px solid var(--rule); margin-top: var(--sp-8); }
.act { display: grid; grid-template-columns: 64px 0.9fr 1.5fr; gap: var(--sp-6); align-items: baseline; padding: var(--sp-7) 0; border-bottom: 1px solid var(--rule); }
.act__n { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--signal); letter-spacing: var(--tr-mono); }
.act__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 42px); letter-spacing: -0.02em; line-height: 1.0; }
.act__name.is-muted { color: var(--mute); }
.act__b { font-family: var(--font-sans); font-size: var(--t-h3); line-height: 1.55; color: var(--shadow); }
@media (max-width: 760px) { .act { grid-template-columns: 38px 1fr; gap: var(--sp-3) var(--sp-4); } .act__b { grid-column: 1 / -1; } }
.roster__tags { margin-top: var(--sp-7); display: flex; flex-direction: column; gap: var(--sp-5); }
.tagrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tagrow__lab { font-family: var(--font-sans); font-size: var(--t-2xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--mute); min-width: 92px; flex: 0 0 auto; }
.chip {
  display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: var(--t-2xs);
  letter-spacing: var(--tr-mono); padding: 6px 13px; background: transparent; border: 1px solid var(--rule);
  border-radius: var(--r-full); color: var(--mute); white-space: nowrap;
}
.chip--format { border-color: var(--ink); color: var(--ink); }
.chip--signal { border-color: var(--signal); color: var(--signal); }
.roster__closing { margin-top: var(--sp-7); font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -0.015em; color: var(--shadow); max-width: 34ch; }

/* ============================================================
   07 — INVERSIÓN
   ============================================================ */
.inv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-9); align-items: start; margin-top: var(--sp-8); }
@media (max-width: 900px) { .inv__grid { grid-template-columns: 1fr; gap: var(--sp-8); } }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-sm); overflow: hidden; }
@media (max-width: 540px) { .prices { grid-template-columns: 1fr; } }
.price { background: var(--paper); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.price__lab { font-family: var(--font-sans); font-size: var(--t-2xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--mute); }
.price__amt { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.02em; line-height: 1.0; }
.price__amt .from { display: block; font-size: var(--t-2xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--mute); margin-bottom: 8px; font-family: var(--font-sans); }
.price__iva { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: var(--tr-mono); color: var(--mute); }
.inv__includes { margin-top: var(--sp-7); }
.inv__inclab { font-family: var(--font-sans); font-size: var(--t-2xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--mute); margin-bottom: var(--sp-4); }
.inc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); max-width: none; }
.inc-list li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--font-sans); font-size: var(--t-h3); color: var(--ink); }
.inc-list li .ar { color: var(--signal); font-family: var(--font-mono); font-size: 0.75em; flex: 0 0 auto; }
.pay { display: flex; flex-direction: column; gap: var(--sp-4); }
.pay__row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; }
.pay__pct { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.02em; line-height: 0.9; color: var(--ink); }
.pay__t { font-family: var(--font-sans); font-size: var(--t-h3); line-height: 1.5; color: var(--shadow); }
.inv__note { margin-top: var(--sp-6); font-family: var(--font-sans); font-size: var(--t-body); line-height: 1.6; color: var(--shadow); max-width: 48ch; }
.inv__note em { font-style: normal; color: var(--ink); }
.inv__fine { margin-top: var(--sp-4); font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: var(--tr-mono); line-height: 1.6; color: var(--mute); max-width: 50ch; }
.inv__fine b { color: var(--signal); font-weight: 400; }

/* ============================================================
   09 — LA CASA (cierre editorial)
   ============================================================ */
.casa__body { font-family: var(--font-sans); font-weight: 400; font-size: var(--t-h2); line-height: 1.6; color: var(--shadow); max-width: 48ch; margin: 0; }
.casa__body em { font-style: normal; color: var(--ink); }
.casa__lead { margin: var(--sp-6) 0 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); max-width: 32ch; }
.casa__lead em { font-style: italic; color: var(--shadow); }
/* mobile: lighten the lead paragraph so the type feels airier, not heavy.
   Smaller size + Light weight body, with emphasis carried by weight, not bulk. */
@media (max-width: 640px) {
  .casa__body { font-size: 17px; font-weight: 300; line-height: 1.62; }
  .casa__body em { font-weight: 400; }
  .casa__lead { font-size: 21px; }
}

/* ============================================================
   09 — CIERRE Y FORMULARIO
   ============================================================ */
.contacto__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-9); align-items: start; }
@media (max-width: 880px) { .contacto__grid { grid-template-columns: 1fr; gap: var(--sp-7); } }
.contacto__h { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 5vw, 68px); line-height: 0.98; letter-spacing: -0.025em; margin: 0; }
.contacto__h i { font-style: italic; color: var(--shadow); }
.contacto__sub { margin-top: var(--sp-5); font-family: var(--font-sans); font-weight: 300; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.5; color: var(--shadow); max-width: 34ch; }
.contacto__meta { margin-top: var(--sp-8); border-top: 1px solid var(--rule); padding-top: var(--sp-5); display: flex; flex-direction: column; gap: 14px; }
.contacto__line { display: flex; gap: 14px; align-items: baseline; font-family: var(--font-mono); font-size: var(--t-sm); letter-spacing: var(--tr-mono); }
.contacto__line .lab { color: var(--signal); font-size: var(--t-2xs); text-transform: uppercase; letter-spacing: var(--tr-label); width: 78px; flex: 0 0 auto; }
.contacto__line a { border-bottom: 1px solid transparent; }
.contacto__line a:hover { border-bottom-color: var(--signal); }

/* form — exactly 5 fields */
.form { display: flex; flex-direction: column; gap: var(--sp-6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-family: var(--font-sans); font-size: var(--t-2xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: var(--t-h3);
  padding: 12px 0; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  transition: border-color var(--dur-hover) var(--ease-out);
}
.field select { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: none; }
.field textarea { resize: vertical; min-height: 52px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }

/* conditional "Otro" field — gentle entrance when revealed */
.field--otro[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .field--otro:not([hidden]) { animation: fieldIn var(--dur-state) var(--ease-out) both; }
}
@keyframes fieldIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.field .sel-wrap { position: relative; }
.phone { display: flex; gap: var(--sp-5); align-items: flex-end; }
.phone .sel-wrap--code { width: 168px; flex: 0 0 auto; }
.phone input { flex: 1 1 auto; min-width: 0; }
@media (max-width: 380px) { .phone .sel-wrap--code { width: 140px; } }
.field .sel-wrap::after { content: ""; position: absolute; right: 2px; top: 22px; width: 7px; height: 7px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: rotate(45deg); pointer-events: none; }
.field select:invalid { color: var(--mute-2); }
.form__submit { margin-top: var(--sp-3); align-self: flex-start; }

.confirm {
  display: none; border: 1px solid var(--rule); border-radius: var(--r-sm);
  padding: var(--sp-8) var(--sp-7); flex-direction: column; gap: var(--sp-5); background: var(--paper);
}
.form.is-sent { display: none; }
.confirm.is-shown { display: flex; }
.confirm__mark { display: flex; align-items: center; gap: 14px; }
.confirm__mark .sello { width: 38px; height: 38px; color: var(--ink); flex: 0 0 auto; }
.confirm__mark .label { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: var(--tr-mono); color: var(--mute); text-transform: none; }
.confirm__h { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.02; margin: 0; }
.confirm__h i { font-style: italic; color: var(--shadow); }
.confirm__body { font-family: var(--font-sans); font-size: var(--t-h3); line-height: 1.55; color: var(--shadow); max-width: 42ch; margin: 0; }
.confirm__meta { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--mute); letter-spacing: var(--tr-mono); }
.confirm__reset { background: transparent; border: 0; cursor: pointer; align-self: flex-start; font-family: var(--font-sans); font-size: var(--t-2xs); text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--mute); border-bottom: 1px solid var(--rule); padding: 0 0 2px; }
.confirm__reset:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--shadow); color: var(--bone); padding: var(--sp-8) 0 var(--sp-6); }
.footer__inner { max-width: 1140px; margin: 0 auto; padding: 0 var(--page-pad-x); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
@media (max-width: 720px) { .footer__inner { padding: 0 22px; } }
.footer__logo img { height: 24px; width: auto; }
.footer__left { display: flex; align-items: center; gap: var(--sp-6); }
.footer__social { display: inline-flex; align-items: center; gap: 9px; color: var(--mute-2); border-bottom: none; transition: color var(--dur-hover) var(--ease-out); }
.footer__social svg { width: 21px; height: 21px; display: block; }
.footer__handle { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: var(--tr-mono); }
.footer__social:hover, .footer__social:focus-visible { color: var(--signal); border-bottom: none; }
@media (max-width: 640px) { .footer__left { gap: var(--sp-5); } }
.footer__meta { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: var(--tr-mono); color: var(--mute-2); text-align: right; }
.footer__meta .s { color: var(--signal); }
@media (max-width: 640px) { .footer__inner { flex-direction: column; align-items: flex-start; } .footer__meta { text-align: left; } }

/* ============================================================
   Reveal
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-entry) var(--ease-out), transform var(--dur-entry) var(--ease-out); }
  .reveal.is-in { opacity: 1; transform: none; }
}
html[data-reveal="off"] .reveal { opacity: 1 !important; transform: none !important; }

/* ============================================================
   LIVE HOVER — editorial micro-interactions (tweakable)
   Controlled via <html data-hover data-hover-style data-hover-intensity>
   and the --hov-accent / --hov-shift custom properties.
   ============================================================ */
:root { --hov-accent: var(--signal); --hov-shift: 6px; }
html[data-hover-intensity="sutil"] { --hov-shift: 3px; }
html[data-hover-intensity="media"] { --hov-shift: 6px; }
html[data-hover-intensity="viva"]  { --hov-shift: 11px; }
@media (prefers-reduced-motion: reduce) { :root { --hov-shift: 0px; } }

/* base transitions on the elements we bring to life */
html[data-hover="on"] .act, html[data-hover="on"] .step, html[data-hover="on"] .pline,
html[data-hover="on"] .roi__item, html[data-hover="on"] .inc-list li, html[data-hover="on"] .mod {
  cursor: default;
}
html[data-hover="on"] .act__name, html[data-hover="on"] .step__name, html[data-hover="on"] .pline__t,
html[data-hover="on"] .col3__h, html[data-hover="on"] .roi__item, html[data-hover="on"] .inc-list li,
html[data-hover="on"] .mod__name, html[data-hover="on"] .mod__tag, html[data-hover="on"] .def__term {
  transition: transform var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out), background-size var(--dur-state) var(--ease-out);
}
html[data-hover="on"] .act__n, html[data-hover="on"] .step__n, html[data-hover="on"] .pline__n,
html[data-hover="on"] .col3__n, html[data-hover="on"] .mod__n, html[data-hover="on"] .roi__item .ar,
html[data-hover="on"] .inc-list li .ar {
  transition: color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out);
}

/* index/arrow → accent on row hover */
html[data-hover="on"] .act:hover .act__n,
html[data-hover="on"] .step:hover .step__n,
html[data-hover="on"] .pline:hover .pline__n,
html[data-hover="on"] .col3:hover .col3__n,
html[data-hover="on"] .mod:hover .mod__n { color: var(--hov-accent); }

/* SLIDE — content nudges toward the reader */
html[data-hover="on"][data-hover-style="slide"] .act:hover .act__name,
html[data-hover="on"][data-hover-style="both"]  .act:hover .act__name,
html[data-hover="on"][data-hover-style="slide"] .step:hover .step__name,
html[data-hover="on"][data-hover-style="both"]  .step:hover .step__name,
html[data-hover="on"][data-hover-style="slide"] .pline:hover .pline__t,
html[data-hover="on"][data-hover-style="both"]  .pline:hover .pline__t {
  transform: translateX(var(--hov-shift));
}
html[data-hover="on"][data-hover-style="slide"] .roi__item:hover,
html[data-hover="on"][data-hover-style="both"]  .roi__item:hover,
html[data-hover="on"][data-hover-style="slide"] .inc-list li:hover,
html[data-hover="on"][data-hover-style="both"]  .inc-list li:hover { transform: translateX(var(--hov-shift)); }
html[data-hover="on"] .roi__item:hover .ar,
html[data-hover="on"] .inc-list li:hover .ar { transform: translateX(4px); color: var(--hov-accent); }
html[data-hover="on"] .roi__item:hover, html[data-hover="on"] .inc-list li:hover { color: var(--hov-accent); }

/* UNDERLINE — a hairline draws in from the left */
html[data-hover="on"] .act__name, html[data-hover="on"] .step__name,
html[data-hover="on"] .col3__h, html[data-hover="on"] .def__term {
  background-image: linear-gradient(var(--hov-accent), var(--hov-accent));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1.5px;
  padding-bottom: 3px;
}
html[data-hover="on"][data-hover-style="underline"] .act:hover .act__name,
html[data-hover="on"][data-hover-style="both"]      .act:hover .act__name,
html[data-hover="on"][data-hover-style="underline"] .step:hover .step__name,
html[data-hover="on"][data-hover-style="both"]      .step:hover .step__name,
html[data-hover="on"][data-hover-style="underline"] .col3:hover .col3__h,
html[data-hover="on"][data-hover-style="both"]      .col3:hover .col3__h { background-size: 100% 1.5px; }

/* MODALIDAD CARDS — gentle lift + accent name, no scale */
html[data-hover="on"] .mod { transition: background var(--dur-hover) var(--ease-out), transform var(--dur-state) var(--ease-out), box-shadow var(--dur-state) var(--ease-out); }
html[data-hover="on"] .mod:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(14,13,11,0.4); }
html[data-hover="on"] .mod:hover .mod__name { color: var(--hov-accent); }

/* HEADLINES — italic accent word warms to signal */
html[data-hover="on"] .s-title i, html[data-hover="on"] .contacto__h i,
html[data-hover="on"] .hero__h i { transition: color var(--dur-state) var(--ease-out); }
html[data-hover="on"] .s-title:hover i, html[data-hover="on"] .contacto__h:hover i { color: var(--hov-accent); }
html[data-hover="on"] .def:hover .def__term { background-size: 100% 1.5px; }

/* on dark: arrows already accent; keep names readable */
html[data-hover="on"] .on-dark .col3__h { background-image: none; }

/* HERO sublínea — per-word hover (each location reacts on its own) */
.hero__sub { gap: 9px; }
.hero__sub .hw { display: inline-block; transition: color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out); }
.hero__sub .sep { color: var(--shadow-80); }
html[data-hover="on"] .hero__sub .hw:hover { color: var(--hov-accent); transform: translateY(calc(-1 * var(--hov-shift))); }

/* ============================================================
   CURADURÍA — interactive term + definition popover
   ============================================================ */
.cura {
  cursor: help;
  text-decoration: underline dotted var(--signal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color var(--dur-hover) var(--ease-out);
}
.cura:hover, .cura:focus-visible { color: var(--signal); }
.cura:focus { outline: none; }
.cura:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 1px; }
/* on dark sections the dotted underline still reads as signal */
.on-dark .cura, .footer .cura { text-decoration-color: var(--signal); }

.cura-pop {
  position: fixed;
  z-index: 200;
  top: 0; left: 0;
  width: min(360px, calc(100vw - 32px));
  padding: var(--sp-5) var(--sp-5) var(--sp-5);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-modal);
  background: rgba(242, 240, 235, 0.42);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.96);
  transform-origin: 50% 100%;
}
.cura-pop.is-below { transform-origin: 50% 0%; }
.cura-pop.is-on {
  pointer-events: auto;
  animation: curaPop 240ms var(--ease-out) both;
}
.cura-pop.is-on.is-below { animation-name: curaPopBelow; }
@keyframes curaPop {
  0%   { opacity: 0; transform: translateY(7px) scale(0.92); }
  55%  { opacity: 1; transform: translateY(-1px) scale(1.018); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes curaPopBelow {
  0%   { opacity: 0; transform: translateY(-7px) scale(0.92); }
  55%  { opacity: 1; transform: translateY(1px) scale(1.018); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cura-pop.is-on { animation: none; opacity: 1; transform: none; }
}
.cura-pop__lab {
  display: block;
  font-family: var(--font-sans); font-size: var(--t-2xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: var(--tr-label);
  color: var(--signal); margin-bottom: var(--sp-3);
}
.cura-pop__term {
  margin: 0; color: var(--ink);
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; line-height: 1.0;
}
.cura-pop__pos {
  font-style: normal; font-family: var(--font-mono); font-size: var(--t-sm);
  letter-spacing: var(--tr-mono); color: #FFFFFF;
}
.cura-pop__body {
  margin: var(--sp-3) 0 0; color: var(--shadow);
  font-family: var(--font-sans); font-size: var(--t-body); line-height: 1.6;
}
.cura-pop__body em { font-style: normal; color: var(--ink); }
.cura-pop__arrow {
  position: absolute;
  left: var(--arrow-x, 50%); transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(242, 240, 235, 0.42);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--rule);
}
.cura-pop:not(.is-below) .cura-pop__arrow {
  bottom: -7px; border-top: none; border-left: none;
}
.cura-pop.is-below .cura-pop__arrow {
  top: -7px; border-bottom: none; border-right: none;
}
