/* Agencia Veredicto · home
 * Mobile first. Cortes: 810px y 1200px. Sin frameworks.
 * Marca: crema + verde bosque + salvia (tokens de src/styles/global.css).
 * --acento-2 cumple el rol del "ocre" del brief: es salvia clara porque la
 * marca no tiene ocre. Si los socios definen uno, se cambia solo aca. */

@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/instrument-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-latin-500-normal.woff2') format('woff2'); }

:root {
  --ink: #1C2B1E;          /* verde bosque: texto */
  --pantalla: #16281E;     /* mini pantallas y tarjetas oscuras */
  --sage: #457553;         /* acento principal (AA sobre crema) */
  --acento-2: #8BAF6E;     /* salvia clara, rol de "ocre" */
  --cream: #F7F5EF;        /* fondo de pagina */
  --cream-hi: #FBFAF6;     /* tarjeta del hero */
  --cream-2: #EFECE3;      /* tarjeta de proposito */
  --tint: #EEF0E8;         /* fondo de tarjetas de servicio */
  --paper: #FFFFFF;
  --line: #E4E1D7;
  --muted: #56645A;        /* 5,6:1 sobre --cream */
  --on-dark: #F7F5EF;
  --on-dark-2: rgba(247, 245, 239, .76);

  --display: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --r-btn: 10px;
  --r-card: 16px;
  --r-screen: 12px;
  --r-hero: 28px;

  /* Escala de capas */
  --z-float: 30;
  --z-header: 40;
  --z-skip: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

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

.skip { position: absolute; left: 16px; top: -60px; z-index: var(--z-skip); background: var(--ink); color: var(--on-dark); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: var(--r-btn); border: 1px solid transparent;
  background: var(--ink); color: var(--on-dark);
  font-family: var(--body); font-weight: 500; font-size: 15px; line-height: 1.4;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: var(--on-dark); color: var(--ink); }

/* Efecto "roll": el texto sube y entra una copia desde abajo. */
.roll { display: inline-block; overflow: hidden; height: 1.4em; line-height: 1.4; vertical-align: top; }
.roll-in { display: block; position: relative; transition: transform .35s var(--ease); }
.roll-in::after {
  content: attr(data-t);
  content: attr(data-t) / "";   /* la copia no se lee dos veces con lector de pantalla */
  position: absolute; left: 0; top: 100%; width: 100%;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover .roll-in { transform: translateY(-100%); }
  .btn:hover { background-color: #2a3f2d; }
  .btn-outline:hover { background-color: var(--ink); color: var(--on-dark); }
  .btn-light:hover { background-color: #fff; }
}
.btn:focus-visible .roll-in { transform: translateY(-100%); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
  text-decoration-color: rgba(28, 43, 30, .35);
  transition: text-decoration-color .25s ease, color .25s ease;
}
.link-arrow::after { content: "→"; display: inline-block; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { color: var(--sage); text-decoration-color: currentColor; }
  .link-arrow:hover::after { transform: translateX(3px); }
}

/* ---------- Hero ---------- */
.hero-wrap { padding: 0 12px; }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 1376px; margin: 0 auto;
  border-radius: var(--r-hero); background: var(--cream-hi);
  border: 1px solid rgba(22, 40, 30, .05);
  padding: 64px 20px 96px; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-a { width: 340px; height: 340px; left: -120px; top: 40px; background: radial-gradient(circle, rgba(69, 117, 83, .55), transparent 70%); }
.blob-b { width: 320px; height: 320px; right: -110px; bottom: -60px; background: radial-gradient(circle, rgba(139, 175, 110, .7), transparent 70%); }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(22, 40, 30, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 40, 30, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

.badge {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 500;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acento-2); }
/* Flechita: sale del costado de la etiqueta y baja hacia la calificacion. */
.hand-arrow { position: absolute; right: -30px; top: 24px; width: 42px; color: var(--sage); transform: scaleX(-1) rotate(-4deg); }

.proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.proof-stars { color: var(--sage); letter-spacing: 3px; font-size: 16px; line-height: 1; }

.hero-title { margin-top: 22px; font-size: clamp(2.25rem, 5.2vw + 1rem, 4.5rem); line-height: 1.08; letter-spacing: -.035em; }
/* Resaltado: misma fuente, sin cursiva, solo color de marca. */
.hero-title em { font-style: normal; color: var(--sage); }
.hero-sub { margin-top: 18px; max-width: 34ch; font-size: clamp(1rem, .6vw + .9rem, 1.2rem); color: var(--muted); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }

/* Cursores del hero. La etiqueta apila todos sus textos en la misma celda
   (ancho estable) y muestra uno por vez. Hasta 1200px van a las esquinas
   libres; desde 1200 flotan a los costados del titulo. */
.cursor { position: absolute; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; z-index: 1; }
.cursor svg { width: 16px; height: 20px; flex: none; filter: drop-shadow(0 2px 3px rgba(22, 40, 30, .2)); }
.cursor-tag {
  display: inline-grid; margin-top: 14px; padding: 4px 10px; border-radius: 7px;
  font-size: 12.5px; font-weight: 500; line-height: 1.35; white-space: nowrap;
  box-shadow: 0 4px 12px -6px rgba(22, 40, 30, .35);
  overflow: hidden;
}
.cursor-tag > span { grid-area: 1 / 1; }
.js .cursor-tag > span { opacity: 0; transform: translateY(70%); transition: opacity .3s ease, transform .4s var(--ease); }
.js .cursor-tag > span.is-on { opacity: 1; transform: none; transition: opacity .4s ease .08s, transform .5s var(--ease) .08s; }
.js .cursor-tag > span.is-off { opacity: 0; transform: translateY(-70%); }
html:not(.js) .cursor-tag > span:not(:first-child) { visibility: hidden; }
.cursor-a { left: 6%; bottom: 22px; color: var(--sage); }
.cursor-a .cursor-tag { background: var(--sage); color: var(--on-dark); }
.cursor-b { right: 5%; top: 12px; color: var(--acento-2); }
.cursor-b .cursor-tag { background: var(--acento-2); color: var(--ink); }

/* ---------- Marquesina ---------- */
.marquee {
  margin: 40px 0 8px; 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; }
.marquee-track li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2vw + 1rem, 2.2rem); letter-spacing: -.02em; color: var(--ink);
}
.marquee-track li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--acento-2); }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.head { max-width: 680px; margin-bottom: 36px; }
.head h2, .why-card h2, .contact h2 { font-size: clamp(1.85rem, 2.6vw + 1rem, 3rem); }
.head > p:not(.kicker) { margin-top: 14px; color: var(--muted); max-width: 56ch; }
.kicker { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--sage); font-size: 13px; font-weight: 500; }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.note a { text-underline-offset: 3px; }

/* ---------- Servicios ---------- */
.svc-intro { max-width: 640px; margin-bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.svc-intro h2 { font-size: clamp(1.85rem, 2.6vw + 1rem, 3rem); }
.svc-lead { margin-top: 14px; color: var(--muted); max-width: 44ch; }
.svc-intro .link-arrow { margin-top: 20px; }
.svc-intro .note { margin-top: 26px; font-size: 13px; }
.svc-stack { display: grid; gap: 16px; }
.svc { background: var(--tint); border-radius: var(--r-card); padding: 12px; }
.svc-body { padding: 18px 10px 10px; }
.svc h3 { font-size: 1.35rem; }
.svc h3 a { text-decoration: none; }
.svc h3 a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s ease; }
.svc h3 a::after { content: "→"; color: var(--sage); display: inline-block; transition: transform .3s var(--ease); }
/* Toda la tarjeta es clicable por el enlace del titulo. */
.svc { position: relative; }
.svc h3 a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) and (pointer: fine) {
  .svc:hover h3 a { color: var(--sage); }
  .svc:hover h3 a::after { transform: translateX(4px); }
}
.svc:has(h3 a:focus-visible) { outline: 2px solid var(--sage); outline-offset: 3px; }
.svc h3 a:focus-visible { outline: none; }
.svc-body p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.screen {
  background: var(--pantalla); color: var(--on-dark); border-radius: var(--r-screen);
  aspect-ratio: 16 / 10; padding: 22px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.screen > * { width: 100%; }

/* a) Sitio web */
.scr-web { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.ring { position: relative; width: 92px; height: 92px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring-track { stroke: rgba(247, 245, 239, .12); }
.ring-fill { stroke: var(--acento-2); stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 4.3; transition: stroke-dashoffset 1.4s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 26px; }
.bars { display: grid; gap: 12px; }
.bars li { display: grid; gap: 5px; }
.bars span { color: var(--on-dark-2); }
.bars i { display: block; height: 6px; border-radius: 3px; background: var(--acento-2); transform-origin: left; transform: scaleX(var(--v)); transition: transform 1.2s var(--ease); }

/* b) Google */
.scr-google { text-align: left; display: grid; gap: 6px; }
.scr-label { color: var(--on-dark-2); }
.rank { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -.03em; }
.stars span { color: var(--acento-2); letter-spacing: 2px; }
.pill-up { justify-self: start; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(139, 175, 110, .18); color: var(--acento-2); font-weight: 500; }

/* c) WhatsApp + CRM */
.scr-chat { display: flex; flex-direction: column; gap: 7px; }
.msg { max-width: 82%; padding: 7px 11px; border-radius: 12px; line-height: 1.35; }
.msg.in { align-self: flex-start; background: rgba(247, 245, 239, .1); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--sage); border-bottom-right-radius: 4px; }
.tag { align-self: flex-start; margin-top: 4px; padding: 5px 10px; border-radius: 8px; background: var(--acento-2); color: var(--pantalla); font-weight: 500; font-size: 12px; }

/* d) Anuncios */
.scr-ads { display: grid; gap: 16px; }
.funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.funnel li { display: grid; gap: 2px; padding: 10px; border-radius: 10px; background: rgba(247, 245, 239, .07); }
.funnel span { color: var(--on-dark-2); font-size: 12px; }
.funnel b { font-family: var(--display); font-size: clamp(18px, 4vw, 24px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(247, 245, 239, .25); color: var(--on-dark-2); transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }

/* ---------- Auditoria gratis ---------- */
.audit { background: var(--pantalla); color: var(--on-dark); border-radius: var(--r-card); padding: 36px 22px; display: grid; gap: 32px; }
.audit-kicker { justify-self: start; display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(139, 175, 110, .16); color: var(--acento-2); font-size: 13px; font-weight: 500; }
.audit-head { display: grid; gap: 18px; align-content: start; }
.audit h2 { font-size: clamp(1.9rem, 3vw + 1rem, 3.2rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.audit h2 em { font-style: normal; color: var(--acento-2); }
.audit-head > p:not(.audit-kicker) { color: var(--on-dark-2); font-size: 1.05rem; line-height: 1.7; max-width: 52ch; }
.audit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.audit .link-arrow { color: var(--on-dark); text-decoration-color: rgba(247, 245, 239, .4); }
.audit-list { display: grid; gap: 18px; align-content: start; }
.audit-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; font-size: 1rem; line-height: 1.55; }
.audit-check { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #B6D98F, var(--acento-2)); color: var(--pantalla); }
.audit-check svg { width: 18px; height: 18px; }
@media (min-width: 810px) { .audit { padding: 48px 40px; } }
@media (min-width: 1200px) { .audit { grid-template-columns: 5fr 6fr; gap: 64px; padding: 64px 56px; align-items: start; } .audit-list { padding-top: 8px; } }

/* ---------- Convenio nuevos profesionales (apartado de la home) ---------- */
.conv { background: var(--tint); border-radius: var(--r-card); padding: 36px 22px; display: grid; gap: 32px; scroll-margin-top: 100px; }
.conv-head { display: grid; gap: 18px; align-content: start; }
.conv-kicker { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--sage); }
.conv-pct { padding: 4px 12px; border-radius: 999px; background: var(--pantalla); color: var(--acento-2); font-family: var(--display); font-weight: 700; font-size: 16px; white-space: nowrap; }
.conv h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.9rem); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.conv-head > p:not(.conv-kicker) { color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 56ch; }
.conv-list { display: grid; gap: 16px; align-content: start; }
.conv-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; line-height: 1.55; }
@media (min-width: 810px) { .conv { padding: 48px 40px; } }
@media (min-width: 1200px) { .conv { grid-template-columns: 5fr 6fr; gap: 64px; padding: 64px 56px; } .conv-list { padding-top: 8px; } }

/* e) Redes */
.scr-social { display: grid; gap: 12px; text-align: left; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.posts li { display: grid; gap: 3px; align-content: start; padding: 10px; border-radius: 10px; background: rgba(247, 245, 239, .07); }
.posts span { color: var(--on-dark-2); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.posts b { font-family: var(--display); font-size: 15px; }
.posts i { font-style: normal; color: var(--on-dark-2); font-size: 12px; line-height: 1.3; }

/* Estados de reproduccion: solo con JS y movimiento permitido.
   Sin JS, las pantallas muestran el estado final. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-screen]:not(.is-playing) .ring-fill { stroke-dashoffset: 213.6; }
  .js [data-screen]:not(.is-playing) .bars i { transform: scaleX(0); }
  .js [data-screen] .bars li:nth-child(2) i { transition-delay: .15s; }
  .js [data-screen] .bars li:nth-child(3) i { transition-delay: .3s; }
  .js [data-screen]:not(.is-playing) .stars,
  .js [data-screen]:not(.is-playing) .pill-up { opacity: 0; transform: translateY(6px); }
  .js [data-screen] .stars, .js [data-screen] .pill-up { transition: opacity .5s var(--ease) 1.2s, transform .5s var(--ease) 1.2s; }
  .js [data-screen] .pill-up { transition-delay: 1.5s; }
  .js [data-screen]:not(.is-playing) .msg,
  .js [data-screen]:not(.is-playing) .tag { opacity: 0; transform: translateY(8px) scale(.98); }
  .js [data-screen] .msg, .js [data-screen] .tag { transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * .7s + .2s); }
  .js [data-screen]:not(.is-playing) .chips span { background: transparent; }
  .js [data-screen]:not(.is-playing) .posts li { opacity: 0; transform: translateY(8px); }
  .js [data-screen] .posts li { transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * .35s + .2s); }
}
[data-screen].is-playing .chips span,
.no-motion .chips span { background: var(--acento-2); color: var(--pantalla); border-color: var(--acento-2); }
.js [data-screen] .chips span { transition-delay: calc(var(--i) * .45s + .9s); }

/* ---------- Proposito ---------- */
.purpose { background: var(--cream-2); border-radius: var(--r-card); padding: 56px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.purpose-text { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw + 1rem, 3.4rem); line-height: 1.18; letter-spacing: -.03em; }
.purpose-text .line { display: block; }
/* Mismo alto de linea que el parrafo y alineado arriba: la palabra queda en la
   linea base del resto. El padding da aire a la cursiva y a los descendentes. */
.rot { display: inline-grid; vertical-align: baseline; height: 1.18em; overflow: hidden; overflow: clip; overflow-clip-margin: 0; text-align: left; padding: 0 .04em; margin-right: -.04em; }
.rot > span { grid-area: 1 / 1; font-style: normal; color: var(--sage); transition: transform .6s var(--ease), opacity .6s var(--ease); }
.js .rot > span { transform: translateY(110%); opacity: 0; }
.js .rot > span.is-on { transform: translateY(0); opacity: 1; }
.js .rot > span.is-off { transform: translateY(-110%); opacity: 0; }
html:not(.js) .rot > span:not(:first-child) { display: none; }

/* ---------- Por que ---------- */
.why { display: grid; gap: 20px; }
.why-card { background: var(--pantalla); color: var(--on-dark); border-radius: var(--r-card); padding: 32px 26px; display: flex; flex-direction: column; gap: 16px; }
.why-card p { color: var(--on-dark-2); }
/* Areas de la agencia, como etiquetas sobre la tarjeta oscura */
.why-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.why-areas li { padding: 6px 14px; border-radius: 999px; background: rgba(247, 245, 239, .1); border: 1px solid rgba(247, 245, 239, .14); color: var(--on-dark); font-size: 13px; font-weight: 500; }
.why-areas li:first-child { background: var(--acento-2); border-color: var(--acento-2); color: var(--pantalla); }

.acc-item { position: relative; border-bottom: 1px solid var(--line); }
.acc-item::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px;
  background: var(--acento-2); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.acc-item.is-open::before { transform: scaleY(1); }
.acc h3 { font-size: inherit; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px 20px 18px; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.3;
}
.plus { position: relative; flex: none; width: 14px; height: 14px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.plus::after { transform: rotate(90deg); }
.is-open .plus::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 18px 22px; color: var(--muted); max-width: 62ch; opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.is-open .acc-panel p { opacity: 1; transform: none; transition-delay: .08s; }
html:not(.js) .acc-panel p { opacity: 1; transform: none; }
.acc-btn { transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .acc-btn:hover { color: var(--sage); } }
.is-open .acc-panel { grid-template-rows: 1fr; }
html:not(.js) .acc-panel { grid-template-rows: 1fr; }

/* ---------- Numeros ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; border-top: 1px solid var(--line); padding-top: 32px; }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.stat dd { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 4vw + 1rem, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat dt { color: var(--muted); font-size: 14px; max-width: 22ch; }

/* ---------- Planes ---------- */
.plans { display: grid; gap: 16px; max-width: 560px; margin: 0 auto; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 24px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; }
.plan-for { margin-top: 8px; color: var(--muted); font-size: 15px; }
.plan-price { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em; }
.plan-mode { font-size: 14px; color: var(--muted); }
.plan-inc { margin-top: 22px; font-weight: 500; font-size: 14px; }
.checks { margin: 12px 0 26px; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; }
.checks svg { width: 20px; height: 20px; color: var(--sage); margin-top: 1px; }
.plan .btn { margin-top: auto; }
.plan { transition: border-color .3s ease; }
@media (hover: hover) and (pointer: fine) { .plan:not(.plan-featured):hover { border-color: #C9C4B4; } }
.plan-featured { background: var(--pantalla); border-color: var(--pantalla); color: var(--on-dark); }
.plan-featured .plan-for, .plan-featured .plan-mode { color: var(--on-dark-2); }
.plan-featured .checks svg { color: var(--acento-2); }
.plan-flag { align-self: flex-start; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px; background: var(--acento-2); color: var(--pantalla); font-size: 12px; font-weight: 500; }

/* ---------- Contacto ---------- */
.contact { background: var(--pantalla); color: var(--on-dark); border-radius: var(--r-card); padding: 36px 22px; display: grid; gap: 32px; }
.contact-copy p { margin-top: 14px; color: var(--on-dark-2); max-width: 46ch; }
.contact .ig a { color: var(--on-dark); text-underline-offset: 4px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--on-dark);
  background: rgba(247, 245, 239, .06); border: 1px solid rgba(247, 245, 239, .28); border-radius: 10px;
  padding: 12px 14px; transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(247, 245, 239, .62); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--acento-2); outline-offset: 1px; border-color: var(--acento-2); }
.field [aria-invalid="true"] { border-color: #E9A28E; }
.err { color: #F2B8A6; font-size: 13px; }
.form .btn { justify-self: start; }
.form-legal { font-size: 13px; color: var(--on-dark-2); }
.form-legal a { color: var(--on-dark); }

/* ---------- WhatsApp flotante ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: var(--z-float);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 6px 18px rgba(22, 40, 30, .22);
  transition: transform 200ms var(--ease);
}
.wa-fab:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .wa-fab:hover { transform: scale(1.06); } }
@media (prefers-reduced-motion: no-preference) { .wa-fab { animation: fab-in .6s var(--ease) 1s backwards; } }
@keyframes fab-in { from { opacity: 0; transform: translateY(14px) scale(.92); } }

/* ---------- Aparicion al scrollear ----------
   El estado oculto existe solo con JS (.js) y sin reduced-motion:
   sin script, todo se ve. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .purpose[data-reveal] { transform: translateY(10px) scale(.985); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .marquee-track { animation: marquee 34s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  .cursor-a { animation: drift-a 11s ease-in-out infinite alternate; }
  .cursor-b { animation: drift-b 13s ease-in-out infinite alternate; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift-a { 0% { transform: translate(0, 0); } 50% { transform: translate(18px, -10px); } 100% { transform: translate(-6px, 6px); } }
@keyframes drift-b { 0% { transform: translate(0, 0); } 50% { transform: translate(-16px, 10px); } 100% { transform: translate(8px, -4px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 6px; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .rot > span { transition: none; }
  .btn, .roll-in, .acc-panel, .acc-item::before, .plus::before, .plus::after { transition: none; }
}

/* ======================= 810px ======================= */
@media (min-width: 810px) {
  .container { padding: 0 24px; }

  .hero-wrap { padding: 0 24px; }
  .hero { padding: 96px 40px 112px; }
  .cursor-a { left: 7%; bottom: 26px; }
  .cursor-b { right: 7%; top: 18px; }
  .blob-a { width: 460px; height: 460px; left: -140px; }
  .blob-b { width: 440px; height: 440px; right: -120px; }

  .section { padding: 104px 0; }
  .section-tight { padding: 48px 0; }
  .svc-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .svc-intro { position: sticky; top: 120px; margin-bottom: 0; }
  .svc-stack { gap: 32px; }
  /* Cada tarjeta se detiene un poco mas abajo que la anterior: al bajar se
     apilan y queda a la vista el borde de las de atras. */
  .svc { position: sticky; top: calc(108px + var(--n, 0) * 18px); box-shadow: 0 -12px 28px -20px rgba(22, 40, 30, .35); }

  .purpose { padding: 80px 40px; }

  .why { grid-template-columns: 5fr 7fr; align-items: start; gap: 28px; }
  .why-card { position: sticky; top: 104px; padding: 40px 34px; min-height: 360px; justify-content: flex-end; }

  .stats { grid-template-columns: repeat(4, 1fr); }


  .contact { grid-template-columns: 5fr 6fr; padding: 56px 48px; gap: 48px; }

}

/* ======================= 1200px ======================= */
@media (min-width: 1200px) {
  .container { padding: 0 32px; }
  .hero { padding: 96px 48px 112px; }
  .plans { grid-template-columns: repeat(3, 1fr); max-width: none; align-items: stretch; }
  .plan-featured { top: -12px; }
  /* Con aire a los costados del titulo, los cursores flotan junto a el. */
  .cursor-a { left: 8%; top: 60%; bottom: auto; }
  .cursor-b { right: 8%; top: 24%; }
}

/* =====================================================================
   Secciones recuperadas de la home anterior (recorrido, servicios,
   sectores, opiniones), con el lenguaje visual nuevo.
   ===================================================================== */

/* Recorrido: una secuencia real, por eso va numerada. */
.path { display: grid; gap: 14px; counter-reset: none; }
.path li { position: relative; padding: 22px 20px 22px 64px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.path-n {
  position: absolute; left: 18px; top: 20px; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; background: var(--tint); color: var(--sage);
  font-family: var(--display); font-weight: 700; font-size: 15px;
}
.path h3 { font-size: 1.2rem; }
.path p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Todos los servicios */
.svc-all { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.svc-all > p { font-size: 13px; font-weight: 500; color: var(--muted); }
.svc-all ul { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-all a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
@media (hover: hover) and (pointer: fine) { .svc-all a:hover { border-color: var(--sage); color: var(--sage); } }

/* Sectores */
.sect-grid { display: grid; gap: 12px; }
.sect {
  position: relative; display: block; height: 100%; padding: 20px 46px 20px 20px; border-radius: var(--r-card);
  background: var(--tint); text-decoration: none; color: var(--ink);
  transition: background-color .25s ease;
}
.sect::after { content: "→"; position: absolute; right: 20px; top: 20px; color: var(--sage); transition: transform .3s var(--ease); }
.sect h3 { font-size: 1.2rem; }
.sect p { margin-top: 4px; font-size: 14px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .sect:hover { background: #E5E9DD; }
  .sect:hover::after { transform: translateX(4px); }
}

/* Opiniones: en movil se deslizan de costado. */
.rating { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
.rating-stars { color: var(--sage); letter-spacing: 3px; font-size: 18px; line-height: 1; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.review-stars { color: var(--sage); letter-spacing: 3px; font-size: 14px; }
.review blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.4; letter-spacing: -.01em; }
.review-who { margin-top: auto; font-weight: 500; font-size: 14px; display: grid; }
.review-who span { font-weight: 400; font-size: 13px; color: var(--muted); }

@media (min-width: 810px) {
  .path { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sect-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .reviews { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, 1fr); overflow: visible; }
}
@media (min-width: 1200px) {
  .path { grid-template-columns: repeat(4, 1fr); }
  .path li { padding: 64px 22px 24px; }
  .path-n { top: 22px; left: 22px; }
  .sect-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .sect::after { transition: none; } }
