/* ==========================================================================
   TM Contabilidad · "Cuentas claras"
   Paleta del manual: turquesa / turquesa oscuro (80 %) · lila / lila oscuro (variación)
   ========================================================================== */

:root {
  /* Manual de identidad TMC */
  --tq: #29d2db;            /* Turquesa · principal (detalles, letras) */
  --tq-deep: #08383d;       /* Turquesa oscuro · principal complementario (fondos) */
  --li: #8b70e4;            /* Lila · secundario */
  --li-deep: #261560;       /* Lila oscuro · secundario complementario */

  /* tokens semánticos (se redefinen por sección para respetar la gama) */
  --ink: var(--tq-deep);
  --ink-2: var(--li-deep);
  --violet: var(--tq-deep);
  --violet-deep: var(--tq-deep);
  --lilac: #f1edfd;
  --mist: #f3f9f9;
  --paper: #ffffff;
  --turq: var(--tq);
  --turq-ink: var(--tq-deep);
  --turq-soft: #c9f4f6;
  --hl: rgba(41, 210, 219, .42);   /* subrayado fosforito */
  --text: #08383d;
  --muted: #47696c;
  --muted-light: #a9d3d6;
  --line: #d3e7e8;
  --line-dark: rgba(255, 255, 255, .13);

  --f-display: "Poppins", system-ui, sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Poppins", system-ui, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 32px;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --section: clamp(88px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; } /* sin scroll-behavior: rompe los cálculos de ScrollTrigger */
body {
  margin: 0;
  font-weight: 300;
  background: var(--mist);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill, svg .fill, .ico-wa { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--turq); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--turq-ink); margin-bottom: 22px;
}
.eyebrow--light { color: var(--turq); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 4px rgba(43, 209, 219, .18); flex: none; }

.h2 {
  font-family: var(--f-display); 
  font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 500;
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; font-weight: 400; color: var(--violet); }
.h2--light { color: #fff; }
.h2--light em { color: var(--turq); }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.24rem); line-height: 1.55; color: var(--text); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease-out), color .3s, box-shadow .4s var(--ease-out), border-color .3s;
  will-change: transform;
}
.btn svg { font-size: 18px; transition: transform .35s var(--ease-out); }
.btn:hover svg:not(.ico-wa) { transform: translateX(4px); }
.btn--turq { --bg: var(--turq); --fg: var(--ink); box-shadow: 0 10px 30px -10px rgba(43, 209, 219, .7); }
.btn--turq:hover { --bg: #5ee0e7; box-shadow: 0 16px 40px -12px rgba(43, 209, 219, .85); }
.btn--ink:hover { --bg: var(--tq); --fg: var(--tq-deep); }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 17px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--violet); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { transition: transform .35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Reveal (CSS-first, JS solo enriquece) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.reveal[data-split], [data-reveal][data-split] { opacity: 1; transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; will-change: transform; }

/* ==========================================================================
   NAV — cápsula flotante
   ========================================================================== */
.nav { position: fixed; inset: 14px 0 auto; z-index: 100; padding: 0 var(--gutter); pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  max-width: calc(var(--maxw) - 2 * var(--gutter) + 24px); margin: 0 auto;
  display: flex; align-items: center; gap: 22px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(8, 56, 61, .42); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: #fff;
  transition: background .5s var(--ease-out), color .4s, border-color .4s, box-shadow .5s, transform .5s var(--ease-out);
}
.nav.is-light .nav__bar { background: rgba(246, 245, 251, .78); color: var(--ink); border-color: rgba(8, 56, 61, .08); box-shadow: 0 10px 40px -20px rgba(8, 56, 61, .35); }
.nav.is-hidden .nav__bar { transform: translateY(-140%); }
.nav__brand { display: block; height: 22px; flex: none; position: relative; }
.nav__logo { height: 22px; width: auto; transition: opacity .4s; }
.nav__logo--dark { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.nav.is-light .nav__logo--dark { opacity: 1; }
.nav.is-light .nav__logo--light { opacity: 0; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; opacity: .82; transition: opacity .2s, background .2s; }
.nav__links a:hover { opacity: 1; background: rgba(41, 210, 219, .16); }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-mono); font-size: 13px; opacity: .85; }
.nav__tel svg { font-size: 16px; }
.nav .btn--ink { --bg: var(--turq); --fg: var(--ink); }
.nav.is-light .btn--ink { --bg: var(--tq-deep); --fg: var(--tq); }
.nav.is-light .btn--ink:hover { --bg: var(--tq); --fg: var(--tq-deep); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: inherit; cursor: pointer; position: relative; }
.nav.is-light .nav__burger { background: rgba(8, 56, 61, .07); }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease-out); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet {
  pointer-events: auto; margin: 10px auto 0; max-width: 520px;
  display: grid; gap: 4px; padding: 14px; border-radius: 24px;
  background: var(--ink); color: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.nav__sheet[hidden] { display: none; }
.nav__sheet a:not(.btn) { padding: 14px 12px; text-decoration: none; font-family: var(--f-display); font-size: 26px; border-bottom: 1px solid var(--line-dark); }
.nav__sheet .btn { margin-top: 12px; }

/* ==========================================================================
   HERO — centrado, turquesa oscuro
   ========================================================================== */
.hero { position: relative; background: var(--tq-deep); color: #fff; }
.hero__pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 130px 0 110px; }
.hero__ruled {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 50% 42%, rgba(41, 210, 219, .16), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 43px, rgba(41, 210, 219, .07) 43px 44px);
  -webkit-mask-image: radial-gradient(80% 75% at 50% 45%, #000 40%, transparent);
  mask-image: radial-gradient(80% 75% at 50% 45%, #000 40%, transparent);
}
.hero__center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__center .eyebrow { margin-bottom: 30px; }
.hero__title {
  font-family: var(--f-display);  font-weight: 500;
  font-size: clamp(3.3rem, 9vw, 9.2rem); line-height: .92; letter-spacing: -.035em;
  margin-bottom: 32px;
}
.hero__title em { color: var(--tq); }
.hero__lead { max-width: 36em; font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: #cde9eb; margin-bottom: 40px; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 52px; }
.hero__ctas .btn--turq { box-shadow: 0 0 0 0 rgba(41, 210, 219, .5), 0 18px 44px -14px rgba(41, 210, 219, .75); animation: ctaPulse 2.8s ease-out infinite; }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(41, 210, 219, .45), 0 18px 44px -14px rgba(41, 210, 219, .75); } 70%, 100% { box-shadow: 0 0 0 16px rgba(41, 210, 219, 0), 0 18px 44px -14px rgba(41, 210, 219, .75); } }
.hero__proof { display: flex; align-items: center; gap: 16px; text-align: left; padding: 10px 22px 10px 10px; border-radius: 999px; border: 1px solid rgba(41, 210, 219, .25); background: rgba(41, 210, 219, .06); font-size: 14.5px; line-height: 1.45; color: #b7dadd; }
.hero__proof strong { color: #fff; font-weight: 600; }
.hero__proof img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 2px solid var(--tq); flex: none; }

.hero__cue { position: absolute; left: 50%; bottom: 24px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8fc3c7; text-decoration: none; }
.hero__cue i { width: 1px; height: 36px; background: linear-gradient(var(--tq), transparent); animation: cue 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ==========================================================================
   SHEET — secciones claras que suben como hojas
   ========================================================================== */
.sheet { position: relative; z-index: 4; background: var(--mist); }

/* ---------- Sobre mí ---------- */
.about { border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -32px; padding: var(--section) 0 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.about__portrait { position: sticky; top: 100px; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--violet-deep); }
.about__fallback { width: 100%; height: 100%; object-fit: cover; }
.slices { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(6, 1fr); }
.slices span { background-size: 100% 600%; background-repeat: no-repeat; will-change: transform; }
.about__tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(8, 56, 61, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: 13.5px; }
.dot--turq { background: var(--turq); }
.about__copy { padding-top: 12px; }
.about__copy .h2 { margin-bottom: 30px; }
.about__copy .lead { margin-bottom: 20px; }
.about__copy > p:not(.lead):not(.eyebrow) { color: var(--muted); max-width: 36em; }

.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 48px 0 44px; border-top: 1px solid var(--ink); }
.figures > div { padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); }
.figures > div:nth-child(odd) { border-right: 1px solid var(--line); }
.figures > div:nth-child(even) { padding-left: 22px; }
.figures dt { font-family: var(--f-display); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.figures dt sup { font-size: .45em; color: var(--turq-ink); vertical-align: super; margin-left: 2px; }
.figures dt small { font-family: var(--f-mono); font-size: 14px; letter-spacing: .06em; margin-left: 6px; color: var(--turq-ink); }
.figures dd { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.4; }

.about__quote { margin: 0; padding: 30px 0 0 28px; border-left: 3px solid var(--turq); }
.about__quote p { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.25; color: var(--violet-deep); }

/* ---------- Logos ---------- */
.trust { padding: clamp(80px, 10vw, 130px) 0 clamp(70px, 8vw, 110px); }
.trust__title { text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 34px; padding: 0 var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; background: var(--lilac); }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); }
.marquee__group li { flex: none; display: flex; align-items: center; height: 64px; }
.marquee__group img { height: 38px; width: auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .72; transition: filter .4s, opacity .4s; }
.marquee__group img.tall { height: 62px; }
.marquee__group li:hover img { filter: none; opacity: 1; }
.marquee__group .wordmark { gap: 10px; font-family: var(--f-body); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: #3f5f62; }
.marquee__group .wordmark img { height: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   PARA QUIÉN
   ========================================================================== */
.who { position: relative; z-index: 4; background: var(--ink); color: #fff; padding: var(--section) 0; overflow: hidden; }
.who__head { margin-bottom: clamp(48px, 6vw, 80px); }
.who__head .h2 { max-width: 14em; }
.who__list { border-top: 1px solid var(--line-dark); }
.who__row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center;
  padding: clamp(26px, 3.2vw, 44px) 0; border-bottom: 1px solid var(--line-dark); cursor: default;
}
.who__row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--turq); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.who__row:hover::before { transform: scaleX(1); }
.who__name { font-family: var(--f-display); font-size: clamp(2rem, 4.8vw, 4.4rem); line-height: 1; letter-spacing: -.03em; transition: transform .6s var(--ease-out), color .4s; }
.who__row:hover .who__name { transform: translateX(14px); color: var(--turq); font-style: italic; }
.who__desc { color: var(--muted-light); max-width: 30em; font-size: 16px; }
.who__thumb { display: none; }
.who__preview {
  position: absolute; left: 0; top: 0; z-index: 3; width: 300px; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden;
  pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85);
  transition: opacity .35s var(--ease-out), scale .5s var(--ease-out);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.who__preview.is-on { opacity: 1; scale: 1.18; }
.who__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   SERVICIOS — tarjetas apiladas
   ========================================================================== */
.services { padding: var(--section) 0; border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -32px; }
.services__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.services__intro { position: sticky; top: 120px; }
.services__intro .h2 { margin-bottom: 24px; }
.services__intro .lead { color: var(--muted); margin-bottom: 28px; }
.services__stack { display: grid; gap: 24px; }
.svc {
  --bg: var(--paper); --fg: var(--ink); --sub: var(--muted); --tag: var(--turq-ink); --tick: var(--turq-ink);
  position: sticky; top: calc(110px + var(--i) * 22px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); min-height: 420px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--bg); color: var(--fg);
  box-shadow: 0 1px 0 rgba(8, 56, 61, .06), 0 30px 60px -40px rgba(8, 56, 61, .5);
  transform-origin: 50% 0;
}
.svc { --tag: var(--tq-deep); --tick: var(--tq); }
.svc--violet { --bg: var(--tq-deep); --fg: #fff; --sub: #cde9eb; --tag: var(--tq); --tick: var(--tq); }
.svc--ink { --bg: var(--li-deep); --fg: #fff; --sub: #cfc4f5; --tag: var(--li); --tick: var(--li); }
.svc--turq { --bg: var(--tq); --fg: var(--tq-deep); --sub: #0b4a50; --tag: var(--tq-deep); --tick: var(--tq-deep); }
.svc__body { padding: clamp(28px, 3.6vw, 48px); display: flex; flex-direction: column; }
.svc__tag { align-self: flex-start; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tag); padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; margin-bottom: auto; }
.svc h3 { font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.02em; margin: 40px 0 14px; }
.svc p { color: var(--sub); margin-bottom: 22px; }
.svc li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); font-size: 15.5px; }
.svc li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--tick); border-bottom: 2px solid var(--tick); transform: rotate(-45deg); }
.svc__media { position: relative; overflow: hidden; }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc:hover .svc__media img { transform: scale(1.05); }

/* ==========================================================================
   YO TE AVISO — chat
   ========================================================================== */
.notice { position: relative; z-index: 4; background: var(--violet-deep); color: #fff; overflow: hidden; }
.notice::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 30%, rgba(41, 210, 219, .45), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(8, 56, 61, .6), transparent 70%); pointer-events: none; }
.notice__pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 80px; }
.notice__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.notice__copy .h2 { margin-bottom: 24px; }
.notice__lead { color: #cde9eb; max-width: 28em; margin-bottom: 40px; font-size: 1.1rem; }

.fiscal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .22); counter-reset: none; }
.fiscal li { position: relative; padding: 18px 12px 0 0; transition: opacity .5s; opacity: .5; }
.fiscal li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--violet-deep); border: 1.5px solid rgba(255, 255, 255, .5); transition: background .4s, border-color .4s, box-shadow .4s; }
.fiscal li.is-on { opacity: 1; }
.fiscal li.is-on::before { background: var(--turq); border-color: var(--turq); box-shadow: 0 0 0 6px rgba(43, 209, 219, .22); }
.fiscal b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -.02em; }
.fiscal span { display: block; font-size: 13px; color: #a9d3d6; line-height: 1.35; margin-top: 4px; }

.chat { position: relative; max-width: 480px; justify-self: end; width: 100%; border-radius: 28px; background: var(--mist); color: var(--ink); box-shadow: 0 50px 100px -40px rgba(2, 24, 27, .8); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.chat__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.chat__head b { display: block; font-size: 15.5px; }
.chat__head span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.chat__head i { width: 7px; height: 7px; border-radius: 50%; background: #29d2db; }
.chat__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 22px; min-height: 470px;
  background-image: radial-gradient(rgba(41, 210, 219, .07) 1px, transparent 1px); background-size: 16px 16px; }
.chat__day { align-self: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); padding: 5px 12px; border-radius: 999px; margin: 6px 0 2px; }
.msg { position: relative; max-width: 84%; padding: 10px 14px 20px; border-radius: 18px; font-size: 14.5px; line-height: 1.42; }
.msg time { position: absolute; right: 12px; bottom: 5px; font-family: var(--f-mono); font-size: 10px; opacity: .55; }
.msg--t { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 6px; box-shadow: 0 1px 0 rgba(8, 56, 61, .06); }
.msg--c { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 6px; }
.msg--ok { background: var(--turq-soft); }
.msg--ok svg, .msg--file svg { display: inline-block; vertical-align: -3px; margin-right: 6px; font-size: 16px; stroke-width: 2.4; }
.msg--file { font-family: var(--f-mono); font-size: 12.5px; }
.msg b { font-weight: 700; }

/* ==========================================================================
   MÉTODO
   ========================================================================== */
.method { padding: var(--section) 0; }
.method__head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 90px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); position: relative; z-index: 1; }
.step { position: relative; padding-top: 74px; }
.step__n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mist); border: 1px solid var(--ink); font-family: var(--f-display); font-size: 24px; transition: background .5s, color .5s, border-color .5s; }
.step.is-lit .step__n { background: var(--ink); color: var(--turq); }
.step h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 14px; }
.step p { color: var(--muted); margin-bottom: 20px; }
.step li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; }
.step li::before { content: "—"; color: var(--turq-ink); }
.method .wrap { position: relative; }
.steps__line { position: absolute; left: calc(var(--gutter) + 52px); right: var(--gutter); top: calc(var(--line-top, 0px) + 26px); height: 1px; background: var(--line); z-index: 0; }
.steps__line span { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   COMPARATIVA
   ========================================================================== */
.compare { position: relative; z-index: 4; background: var(--paper); padding: var(--section) 0; }
.compare__head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 72px); }
.table-hint { display: none; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--line); }
.ctable { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.ctable th, .ctable td { padding: 18px 22px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: 0; }
.ctable thead th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--mist); }
.ctable tbody th { font-weight: 600; width: 24%; }
.ctable td { color: var(--muted); }
.ctable .is-tm { background: var(--ink); color: #fff; border-bottom-color: rgba(255, 255, 255, .1); }
.ctable thead .is-tm { color: var(--turq); background: var(--ink); font-size: 12.5px; }
.ctable thead .is-tm img { width: 26px; display: inline-block; vertical-align: middle; margin-right: 10px; }
.ctable td.is-tm { font-weight: 600; }
.mk { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-right: 10px; vertical-align: -6px; flex: none; position: relative; }
.mk::before, .mk::after { content: ""; position: absolute; }
.mk--yes { background: var(--turq); }
.mk--yes::before { width: 9px; height: 5px; border-left: 2px solid var(--tq-deep); border-bottom: 2px solid var(--tq-deep); transform: translateY(-1px) rotate(-45deg); }
.mk--no { background: #fde2e4; }
.mk--no::before, .mk--no::after { width: 10px; height: 2px; background: #d93848; transform: rotate(45deg); }
.mk--no::after { transform: rotate(-45deg); }
.mk--mid { background: #fdf1c7; }
.mk--mid::before { width: 9px; height: 2px; background: #c99400; }

/* ==========================================================================
   OPINIONES
   ========================================================================== */
.voices { position: relative; z-index: 4; background: var(--lilac); padding: var(--section) 0; overflow: hidden; }
.voices__grid { display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.voices__controls { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.voices__count { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.voices__count b { color: var(--ink); font-weight: 500; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s; }
.round:hover { background: var(--ink); color: #fff; }
.round svg { font-size: 20px; }
.voices__stage { display: grid; }
.voice { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out), visibility 0s .6s; }
.voice.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease-out) .1s, visibility 0s; }
.voice blockquote { margin: 0 0 40px; }
.voice blockquote p { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.08; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.voice blockquote p::before { content: "“"; display: block; font-size: 2.2em; line-height: .6; color: var(--violet); margin-bottom: .1em; font-style: italic; }
.voice figcaption { display: flex; align-items: center; gap: 16px; }
.voice figcaption b { display: block; font-size: 17px; }
.voice figcaption span:last-child { font-size: 14.5px; color: var(--muted); }
.voice__av { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--turq); font-family: var(--f-display); font-size: 24px; flex: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.faq__aside { position: sticky; top: 120px; }
.faq__aside .h2 { margin-bottom: 36px; }
.faq__card { display: flex; gap: 18px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); max-width: 440px; }
.faq__card img { width: 84px; height: 104px; object-fit: cover; object-position: 50% 20%; border-radius: 12px; flex: none; }
.faq__card p { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.faq__card b { color: var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--ink); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--f-display); font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.2; letter-spacing: -.01em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--violet); }
.qa summary i { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: background .3s, transform .5s var(--ease-out); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease-out); }
.qa[open] summary i { background: var(--turq); border-color: var(--turq); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { padding: 0 60px 28px 0; color: var(--muted); }

/* ==========================================================================
   CTA + FORM
   ========================================================================== */
.cta { position: relative; z-index: 4; background: var(--ink); color: #fff; padding: var(--section) 0; border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -32px; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 50% at 15% 40%, rgba(43, 209, 219, .16), transparent 70%); pointer-events: none; }
.cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.cta__visual { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #1b7985; }
.cta__visual img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; }
.cta__badge { position: absolute; left: 18px; bottom: 18px; display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--r-md); background: rgba(246, 245, 251, .92); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cta__badge-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cta__badge b { font-family: var(--f-display); font-size: 34px; font-weight: 400; line-height: 1.05; font-style: italic; color: var(--violet); }
.cta__badge span:last-child { font-size: 13px; color: var(--muted); }
.cta__copy .h2 { margin-bottom: 20px; }
.cta__lead { color: #cde9eb; margin-bottom: 36px; max-width: 34em; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--full, .field--chips { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: #e6f6f7; padding: 0; }
.opt { font-weight: 400; color: var(--muted-light); }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: 16px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #7fb0b4; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--turq); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(43, 209, 219, .18); }
.field__err { display: none; font-size: 13.5px; color: #ff9db6; }
.is-invalid .field__err, .field__err.is-shown { display: block; }
.is-invalid input { border-color: #ff9db6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 15px; font-weight: 500; color: #e6f6f7; transition: background .25s, color .25s, border-color .25s; }
.chips input:checked + span { background: var(--turq); border-color: var(--turq); color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--turq); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #b7dadd; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--turq); flex: none; }
.check a { color: #fff; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__status { font-size: 14.5px; color: var(--turq); min-height: 1em; }

.cta__direct { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 18px 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.cta__direct span { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 4px; }
.cta__direct a, .cta__direct b { font-weight: 600; text-decoration: none; font-size: 15.5px; }
.cta__direct a:hover { color: var(--turq); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { position: relative; z-index: 4; background: #052a2e; color: #fff; padding: 40px 0 28px; overflow: hidden; }
.foot__big { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(3rem, 10.5vw, 10.5rem); line-height: 1; letter-spacing: -.03em; color: var(--tq); white-space: nowrap; margin: 20px 0 40px; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.foot__logo { height: 24px; width: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__links a { text-decoration: none; color: #b7dadd; font-size: 15px; }
.foot__links a:hover { color: var(--turq); }
.foot__social { display: flex; gap: 10px; }
.foot__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background .3s, color .3s, border-color .3s; }
.foot__social a:hover { background: var(--turq); color: var(--ink); border-color: var(--turq); }
.foot__social svg { font-size: 18px; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: 13.5px; color: #7fb0b4; }
.foot__legal a { text-decoration: none; }
.foot__legal a:hover { color: #fff; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 17px; border-radius: 999px;
  background: var(--tq); color: var(--tq-deep); text-decoration: none; font-weight: 700;
  box-shadow: 0 16px 40px -12px rgba(41, 210, 219, .7);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -14px rgba(41, 210, 219, .85); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__tel { display: none; }
}
@media (max-width: 980px) {
  body { font-size: 16px; }
  .nav__links, .nav .btn--small { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  .nav__bar { padding: 6px 6px 6px 18px; }

  .hero__pin { padding: 120px 0 90px; }
  .hero__cue { display: none; }

  .about__grid, .services__grid, .notice__grid, .faq__grid, .cta__grid, .voices__grid { grid-template-columns: 1fr; }
  .about__portrait { position: relative; top: 0; max-width: 520px; }
  .services__intro, .faq__aside { position: static; }
  .svc { top: calc(88px + var(--i) * 14px); }
  .notice__pin { min-height: auto; display: block; padding: var(--section) 0; }
  .chat { justify-self: stretch; max-width: 520px; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps__line { display: none; }
  .cta__visual { position: relative; top: 0; aspect-ratio: 4 / 5; max-width: 520px; }
  .cta__visual img { object-position: 50% 22%; }
  .who__row { grid-template-columns: 1fr; gap: 14px; }
  .who__preview { display: none; }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(2.9rem, 13.5vw, 4rem); }
  .hero__ctas .btn { width: 100%; }
  .table-hint { display: block; }
  .cta__badge { left: auto; right: 12px; bottom: 12px; padding: 12px 14px; }
  .cta__badge b { font-size: 26px; }

  .figures dt { font-size: 2.8rem; }
  .figures > div { padding-right: 12px; }
  .figures > div:nth-child(even) { padding-left: 14px; }
  .svc { grid-template-columns: 1fr; min-height: 0; }
  .svc__media { height: 180px; order: -1; }
  .svc h3 { margin-top: 26px; }
  .who__thumb { display: block; width: 100%; height: 170px; object-fit: cover; border-radius: var(--r-md); margin-top: 4px; }
  .fiscal { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .chat__body { min-height: 0; }
  .form { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .cta__direct { grid-template-columns: 1fr; }
  .qa__a { padding-right: 0; }
  .wa-float { right: 14px; bottom: 14px; height: 56px; width: 56px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
  .voice blockquote p { font-size: 1.9rem; }
}

/* Movimiento: solo se apaga lo intrusivo */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .hero__cue i { animation: none; }
}

/* ==========================================================================
   GAMA LILA — secciones de variación (Sobre mí, Opiniones)
   ========================================================================== */
.about, .voices {
  --ink: var(--li-deep); --violet: var(--li-deep); --violet-deep: var(--li-deep);
  --turq: var(--li); --turq-ink: var(--li-deep); --text: var(--li-deep);
  --muted: #5d518f; --line: #ddd5f7; --hl: rgba(139, 112, 228, .34);
  background: var(--lilac); color: var(--text);
}
.about .dot, .voices .dot { box-shadow: 0 0 0 4px rgba(139, 112, 228, .2); }
.about__tag { background: rgba(38, 21, 96, .62); }
.marquee__group .wordmark { color: #4d4475; }
.voice blockquote p::before { color: var(--li); }
.voice__av { background: var(--li-deep); color: var(--li); }
.round:hover { background: var(--li-deep); color: var(--li); }

/* ==========================================================================
   BLOG — listado y artículos
   ========================================================================== */
.hero--blog .hero__pin { min-height: 82vh; min-height: 82svh; padding-bottom: 140px; }
.blog { border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -32px; padding: clamp(56px, 7vw, 96px) 0 var(--section); }

.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__chips button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--tq-deep); font: inherit; font-size: 15px; font-weight: 400; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filters__chips button:hover { border-color: var(--tq-deep); }
.filters__chips button[aria-pressed="true"] { background: var(--tq-deep); border-color: var(--tq-deep); color: var(--tq); }
.filters__count { font-size: 14px; color: var(--muted); }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.posts > li[hidden] { display: none; }
.post { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.post:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -36px rgba(8, 56, 61, .55); }
.post__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tq-deep); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post:hover .post__media img { transform: scale(1.06); }
.post__cat { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--tq-deep); color: var(--tq); font-size: 12px; letter-spacing: .06em; }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post__date { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post h2, .post h3 { font-size: clamp(1.15rem, 1.5vw, 1.32rem); line-height: 1.28; letter-spacing: -.01em; margin-bottom: 12px; text-wrap: balance; }
.post p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.post__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--tq-deep); }
.post__more svg { transition: transform .35s var(--ease-out); }
.post:hover .post__more svg { transform: translateX(4px); }

.posts > li.is-featured { grid-column: span 2; }
.is-featured .post { flex-direction: row; }
.is-featured .post__media { aspect-ratio: auto; flex: 1.1; min-height: 360px; }
.is-featured .post__body { flex: .9; padding: clamp(26px, 3vw, 40px); justify-content: center; }
.is-featured .post h2 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; }
.post__badge { align-self: flex-start; margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--tq-deep); font-size: 12px; letter-spacing: .06em; color: var(--tq-deep); }

.post-cta { display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 380px; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-md); background: var(--tq); color: var(--tq-deep); position: relative; overflow: hidden; }
.post-cta h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 14px; position: relative; }
.post-cta p { font-size: 15.5px; color: var(--tq-deep); margin-bottom: 24px; position: relative; }
.post-cta .btn { --bg: var(--tq-deep); --fg: var(--tq); align-self: flex-start; position: relative; }
.post-cta .btn:hover { --bg: #fff; --fg: var(--tq-deep); }
.post-cta img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 2px solid var(--tq-deep); position: relative; }
.post-cta::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(8, 56, 61, .2); box-shadow: 0 0 0 30px rgba(8, 56, 61, .05), 0 0 0 60px rgba(8, 56, 61, .04); }

/* Banda CTA final (blog y artículos) */
.cta--band .cta__grid { align-items: center; }
.cta--band .cta__visual { position: relative; top: 0; }
.cta--band .hero__ctas { justify-content: flex-start; margin: 32px 0 0; }
.cta__points { display: grid; gap: 10px; margin-top: 8px; }
.cta__points li { position: relative; padding-left: 30px; color: #cde9eb; }
.cta__points li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--tq); border-bottom: 2px solid var(--tq); transform: rotate(-45deg); }

/* Artículo */
.hero--article .hero__pin { min-height: 0; padding: 150px 0 150px; }
.hero--article .hero__center { max-width: 980px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13.5px; color: #8fc3c7; margin-bottom: 26px; }
.crumbs a { color: #cde9eb; text-decoration: none; }
.crumbs a:hover { color: var(--tq); }
.article__title { font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 500; margin-bottom: 30px; text-wrap: balance; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; font-size: 14.5px; color: #b7dadd; }
.hero__meta .who-by { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.hero__meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 2px solid var(--tq); }
.hero__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--tq); }

.article { border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -32px; padding: 0 0 var(--section); }
.article__cover { position: relative; max-width: 1080px; margin: -96px auto 0; padding: 0 var(--gutter); z-index: 5; }
.article__cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 50px 90px -50px rgba(2, 24, 27, .7); }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 80px); align-items: start; margin-top: clamp(48px, 6vw, 80px); }
.article__aside { position: sticky; top: 110px; display: grid; gap: 18px; }

.toc { padding: 22px 24px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); }
.toc p { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 0; font-size: 14.5px; line-height: 1.35; text-decoration: none; color: var(--tq-deep); border-top: 1px solid var(--line); transition: color .2s, padding .3s var(--ease-out); }
.toc li:first-child a { border-top: 0; }
.toc a:hover, .toc a.is-active { color: var(--tq-deep); padding-left: 8px; font-weight: 500; box-shadow: inset 2px 0 0 var(--tq); }

.talk { padding: 24px; border-radius: var(--r-md); background: var(--tq-deep); color: #fff; }
.talk__who { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.talk__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 2px solid var(--tq); }
.talk__who b { display: block; font-weight: 500; }
.talk__who span { font-size: 13px; color: #a9d3d6; }
.talk p { font-size: 15px; color: #cde9eb; margin-bottom: 18px; }
.talk .btn { width: 100%; }
.talk .btn + .btn { margin-top: 10px; }

.prose { max-width: 720px; font-size: 17.5px; line-height: 1.75; color: #24484c; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.55rem, 2.3vw, 2rem); line-height: 1.2; letter-spacing: -.02em; color: var(--tq-deep); margin-top: 2.2em; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.25rem; line-height: 1.3; color: var(--tq-deep); margin-top: 1.8em; }
.prose strong { font-weight: 600; color: var(--tq-deep); }
.prose a { color: var(--tq-deep); font-weight: 500; text-decoration: underline; text-decoration-color: var(--tq); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--tq-deep); }
.prose a.btn { color: var(--fg); text-decoration: none; font-weight: 600; }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--tq); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 38px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 26px; height: 26px; border-radius: 50%; background: var(--tq-deep); color: var(--tq); font-size: 13px; font-weight: 500; display: grid; place-items: center; }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--tq); background: var(--paper); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--tq-deep); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose-table { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; background: var(--paper); }
.prose th { text-align: left; padding: 14px 16px; background: var(--tq-deep); color: var(--tq); font-weight: 500; }
.prose td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }

.inline-cta { display: flex; align-items: center; gap: 20px; margin: 2.4em 0 !important; padding: 22px 24px; border-radius: var(--r-md); background: var(--tq); color: var(--tq-deep); }
.inline-cta img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 2px solid var(--tq-deep); flex: none; }
.inline-cta p { margin: 0 0 10px; font-size: 16px; line-height: 1.45; color: var(--tq-deep); }
.inline-cta p b { font-weight: 600; }
.inline-cta a.btn { --bg: var(--tq-deep); --fg: var(--tq); text-decoration: none; font-size: 15px; min-height: 44px; }

.related { padding: var(--section) 0 0; }
.related__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 36px; }

@media (max-width: 980px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article__grid { grid-template-columns: 1fr; }
  .article__aside { position: static; }
  .toc { display: none; }
  .cta--band .cta__visual { aspect-ratio: 4 / 5; max-width: 520px; }
}
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; }
  .posts > li.is-featured { grid-column: auto; }
  .is-featured .post { flex-direction: column; }
  .is-featured .post__media { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .hero--article .hero__pin { padding: 120px 0 120px; }
  .hero__meta .sep:first-of-type { display: none; }
  .hero__meta .who-by { flex-basis: 100%; justify-content: center; }
  .article__cover { margin-top: -72px; }
  .article__cover img { aspect-ratio: 4 / 3; }
  .prose { font-size: 16.5px; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .cta--band .hero__ctas .btn { width: 100%; }
}

/* ==========================================================================
   GUÍA DESCARGABLE (página oculta)
   ========================================================================== */
.g-hero { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.g-hero__title { font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: 1; }
.g-hero .hero__ctas { justify-content: flex-start; margin-bottom: 18px; }
.g-hero__meta { font-size: 14px; color: #8fc3c7; }
.g-hero__cover { margin: 0; justify-self: center; max-width: 420px; transform: rotate(3deg); transition: transform .8s var(--ease-out); }
.g-hero__cover:hover { transform: rotate(0deg) scale(1.02); }
.g-hero__cover img { width: 100%; border-radius: 14px; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(41, 210, 219, .25); }
.g-body { border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -32px; padding: var(--section) 0; }
.g-body__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.g-body__intro { position: sticky; top: 110px; }
.g-body__intro .h2 { margin-bottom: 22px; }
.g-body__intro .lead { color: var(--muted); }
.g-steps { display: grid; gap: 12px; margin: 32px 0; }
.g-steps li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; }
.g-steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tq-deep); color: var(--tq); font-weight: 500; flex: none; }
.g-steps strong { font-weight: 600; }
.g-body__cta { justify-content: flex-start; }
.g-errs { display: grid; gap: 14px; }
.g-errs li { display: flex; gap: 22px; align-items: flex-start; padding: 24px 26px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.g-errs li:hover { transform: translateX(6px); box-shadow: 0 24px 50px -36px rgba(8, 56, 61, .5); }
.g-err__n { font-size: 2.2rem; line-height: 1; font-weight: 500; color: var(--tq); letter-spacing: -.03em; min-width: 52px; }
.g-errs h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 6px; }
.g-errs p { font-size: 15px; color: var(--muted); }
@media (max-width: 980px) {
  .g-hero, .g-body__grid { grid-template-columns: 1fr; }
  .g-hero__cover { max-width: 300px; }
  .g-body__intro { position: static; }
}
@media (max-width: 640px) {
  .g-hero .hero__ctas .btn { width: 100%; }
  .g-errs li { padding: 20px; gap: 16px; }
  .g-err__n { font-size: 1.7rem; min-width: 40px; }
}
