/* =========================================================
   VOLKEIN · Versión por secciones (varias páginas)
   Se carga después de site.css (misma base de marca).
   Capas: cortina de transición 70 (sobre la nav 50).
   ========================================================= */

/* ---------- Cortina de transición entre páginas ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 70;
  display: none; place-items: center;
  background: var(--tinta);
  pointer-events: none;
}
.js .curtain { display: grid; }
.curtain svg { width: 64px; height: 75px; color: var(--hielo); }
.curtain__bar { position: absolute; left: 50%; bottom: 18%; width: 120px; height: 2px; margin-left: -60px; background: var(--linea-oscura); overflow: hidden; border-radius: 2px; }
.curtain__bar span { position: absolute; inset: 0; background: var(--azul); transform-origin: left; animation: curtainBar 1s var(--ease-out) infinite; }
@keyframes curtainBar { from { transform: scaleX(0); } to { transform: scaleX(1); opacity: 0; } }
.curtain.is-off { visibility: hidden; }

/* Página actual en la navegación */
.nav__links a.is-current { opacity: 1; background: rgba(127,140,160,.16); }
.menu__links a.is-current { color: var(--azul-claro); }

/* ---------- Cabecera de páginas internas ---------- */
.page-head {
  position: relative; z-index: 2; overflow: hidden;
  padding: calc(var(--nav-h) + 96px) 0 120px;
  background: var(--tinta);
  border-radius: 0 0 48px 48px;
}
.page-head__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at 84% 30%, rgba(47,91,234,.26), transparent 62%); }
.page-head__inner { position: relative; display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; }
.page-head h1 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.045em;
  max-width: 16ch; text-wrap: balance; margin-top: 24px;
}
.page-head .lead { margin-top: 24px; }
.page-head__fox { justify-self: end; width: min(260px, 100%); aspect-ratio: 524 / 612; color: var(--azul-claro); }
.page-head__fox path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.6s var(--ease-out) .35s forwards; }
.page-head__fox .fox-eyes { stroke: none; fill: var(--azul); opacity: 0; animation: eyes .8s ease 1.9s forwards; stroke-dasharray: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes eyes { to { opacity: 1; } }

.light-zone--page { padding-top: 48px; }
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section__head { margin-bottom: 52px; }
.section__head .h2 { max-width: 18ch; }
.link-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; color: var(--azul); }
.link-more i { transition: transform .3s var(--ease-out); }
.link-more:hover i { transform: translateX(4px); }
.cell__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.cell__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--azul-claro); }
.cell--ai .cell__more { color: var(--blanco); }
.cell__more i { transition: transform .3s var(--ease-out); }
.cell:hover .cell__more i { transform: translateX(4px); }

/* ---------- Inicio: proyectos destacados ---------- */
.featured { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.feat { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--blanco); border: 1px solid var(--linea-clara); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.feat:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15,23,36,.35); }
.feat--big { grid-row: span 2; }
.feat__img { overflow: hidden; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--linea-clara); }
.feat--big .feat__img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease-out); }
.feat:hover .feat__img img { transform: scale(1.04); }
.feat__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 22px 24px; }
.feat__body h3 { font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.feat__body p { color: var(--acero); font-size: 15px; margin-top: 4px; }
.feat__go { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--linea-clara); font-size: 18px; transition: background-color .3s, color .3s, border-color .3s; }
.feat:hover .feat__go { background: var(--tinta); color: var(--hielo); border-color: var(--tinta); }

/* ---------- Banda de llamada a la acción ---------- */
.cta-band {
  position: relative; z-index: 2; overflow: hidden;
  margin-top: -48px; padding: 130px 0 110px;
  background: var(--tinta); border-radius: 48px 48px 0 0;
}
.cta-band__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at 18% 40%, rgba(47,91,234,.22), transparent 65%); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.cta-band .contact__title { font-size: clamp(56px, 9vw, 140px); }
.cta-band__side .lead { margin-top: 0; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Servicios ---------- */
.svc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 64px; align-items: start; }
.svc-nav { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 4px; }
.svc-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 14px;
  color: var(--acero); font-weight: 500; font-size: 15.5px;
  transition: background-color .3s, color .3s;
}
.svc-nav a i { font-size: 20px; }
.svc-nav a:hover { color: var(--tinta); background: rgba(15,23,36,.05); }
.svc-nav a.is-active { color: var(--tinta); background: var(--blanco); box-shadow: 0 8px 20px -12px rgba(15,23,36,.25); }
.svc-nav a.is-active i { color: var(--azul); }
.svc { padding: 8px 0 96px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.svc + .svc { padding-top: 96px; box-shadow: inset 0 1px 0 var(--linea-clara); }
.svc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.svc__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tinta); color: var(--hielo); font-size: 26px; margin-bottom: 24px; }
.svc h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -.035em; max-width: 15ch; }
.svc__intro { margin-top: 18px; color: var(--acero); max-width: 48ch; }
.checklist { display: grid; gap: 12px; margin-top: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist i { flex-shrink: 0; margin-top: 3px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(47,91,234,.12); color: var(--azul); font-size: 13px; }
.svc__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.svc__price { font-family: var(--f-display); font-weight: 600; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.svc__price small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 14px; color: var(--acero); letter-spacing: 0; }
.ideal { margin-top: 28px; }
.ideal p { font-size: 14.5px; color: var(--acero); margin-bottom: 10px; }
.btn--dark { background: var(--tinta); color: var(--hielo); }
.btn--dark:hover { background: #1F2B40; }

.svc__visual { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 380px; background: var(--tinta); border: 1px solid var(--linea-clara); }
.svc__visual--img { min-height: 0; aspect-ratio: 10 / 9; padding: 32px 32px 0; background: radial-gradient(420px circle at 70% 80%, rgba(47,91,234,.4), transparent 70%), var(--tinta); }
.svc__visual--img > img:first-child { width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(199,207,218,.16); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.svc__visual--img .svc__phone { position: absolute; right: 22px; bottom: 22px; width: 30%; height: auto; border-radius: 22px; border: 6px solid #0A101A; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.svc__visual--chat { display: grid; place-items: center; padding: 36px 20px; background: radial-gradient(420px circle at 50% 30%, rgba(47,91,234,.35), transparent 70%), var(--tinta); }
.svc__visual--chat .phone { margin: 0; width: min(330px, 100%); }
.svc__visual--chat .chat__body { height: 360px; }
.svc__visual--flow, .svc__visual--social, .svc__visual--voice, .svc__visual--crm { padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; color: var(--hielo); }
.svc__visual--flow { background-image: radial-gradient(rgba(199,207,218,.13) 1px, transparent 1.6px); background-size: 18px 18px; }

.flow { display: grid; gap: 0; }
.flow li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--tinta-2); border: 1px solid var(--linea-oscura); }
.flow li + li { margin-top: 26px; }
.flow li + li::before { content: ""; position: absolute; left: 33px; top: -27px; width: 2px; height: 26px; background: linear-gradient(var(--azul), rgba(47,91,234,.2)); }
.flow i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tinta-3); color: var(--azul-claro); font-size: 19px; }
.flow strong { display: block; font-size: 15px; font-weight: 600; }
.flow span { font-size: 13.5px; color: var(--texto-suave); }

.comment { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--tinta-2); border: 1px solid var(--linea-oscura); max-width: 92%; }
.comment--reply { margin-left: 8%; border-color: rgba(109,140,245,.35); background: rgba(47,91,234,.14); }
.comment__av { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 13px; background: var(--tinta-3); color: var(--niebla); }
.comment--reply .comment__av { background: var(--azul); color: var(--blanco); }
.comment strong { font-size: 14px; }
.comment p { font-size: 14.5px; color: var(--texto-suave); margin-top: 2px; }
.comment--reply p { color: var(--hielo); }

.voice-card { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.voice-card .wave { height: 90px; }
.voice-card .wave i { width: 5px; }
.voice-card p { color: var(--texto-suave); font-size: 15px; max-width: 30ch; }
.voice-card strong { font-family: var(--f-display); font-size: 22px; font-weight: 600; }

.crm-rows { display: grid; gap: 10px; }
.crm-rows li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--tinta-2); border: 1px solid var(--linea-oscura); font-size: 14.5px; }
.crm-rows .comment__av { width: 34px; height: 34px; }
.crm-rows small { display: block; color: var(--texto-tenue); font-size: 12.5px; }
.tag { padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag--new { background: rgba(109,140,245,.18); color: var(--azul-claro); }
.tag--quote { background: rgba(199,207,218,.12); color: var(--niebla); }
.tag--won { background: var(--azul); color: var(--blanco); }
.svc__note { margin-top: 10px; font-size: 13px; color: var(--texto-tenue); text-align: center; }

/* ---------- Proyectos (casos) ---------- */
.case { padding: 0 0 110px; }
.case + .case { padding-top: 110px; box-shadow: inset 0 1px 0 var(--linea-clara); }
.case__media { position: relative; margin-bottom: 72px; }
.case__desk { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--linea-clara); background: var(--blanco); box-shadow: 0 50px 90px -50px rgba(15,23,36,.45); aspect-ratio: 1200 / 717; }
.case__desk img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case__phone { position: absolute; right: 5%; bottom: -56px; width: min(22%, 230px); border-radius: 30px; overflow: hidden; border: 8px solid #0A101A; box-shadow: 0 40px 70px -24px rgba(15,23,36,.6); background: #0A101A; }
.case__phone img { width: 100%; height: auto; }
.case__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.case__top h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 3.8vw, 54px); letter-spacing: -.035em; line-height: 1.04; }
.case__top p { color: var(--acero); margin-top: 8px; }
.case__cols { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; }
.case__cols h3 { font-family: var(--f-mono); font-weight: 400; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--acero); margin-bottom: 12px; }
.case__cols p { color: var(--tinta); }
.case__cols .checklist { margin-top: 0; gap: 10px; }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px; border-radius: 24px; background: var(--blanco); border: 1px solid var(--linea-clara); }
.plan--rec { background: var(--tinta); color: var(--hielo); border-color: var(--tinta); box-shadow: 0 40px 80px -40px rgba(47,91,234,.55); }
.plan__badge { position: absolute; top: 28px; right: 28px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--azul); color: var(--blanco); font-size: 13px; font-weight: 600; }
.plan h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -.02em; }
.plan__desc { margin-top: 8px; color: var(--acero); max-width: 38ch; }
.plan--rec .plan__desc { color: var(--texto-suave); }
.plan__price { margin-top: 28px; font-family: var(--f-display); font-weight: 600; font-size: 54px; letter-spacing: -.04em; line-height: 1; }
.plan__price s { display: block; font-family: var(--f-body); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--acero); margin-bottom: 8px; }
.plan--rec .plan__price s { color: var(--texto-tenue); }
.plan__month { margin-top: 8px; color: var(--acero); font-size: 15px; }
.plan--rec .plan__month { color: var(--texto-suave); }
.plan .checklist { margin-top: 28px; padding-top: 28px; box-shadow: inset 0 1px 0 var(--linea-clara); flex: 1; }
.plan--rec .checklist { box-shadow: inset 0 1px 0 var(--linea-oscura); }
.plan--rec .checklist i { background: rgba(109,140,245,.2); color: var(--azul-claro); }
.plan .btn { margin-top: 32px; width: 100%; }
.plan--rec .btn--ghost { border-color: rgba(199,207,218,.3); }
.plan .btn--ghost { color: var(--tinta); border-color: var(--linea-clara); }
.plan .btn--ghost:hover { background: rgba(15,23,36,.05); border-color: var(--tinta); }

.monthly { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.monthly li { padding: 26px; border-radius: var(--r-card); background: var(--blanco); border: 1px solid var(--linea-clara); }
.monthly i { font-size: 28px; color: var(--azul); }
.monthly strong { display: block; margin-top: 16px; font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.monthly p { margin-top: 6px; color: var(--acero); font-size: 15px; }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--r-card); border: 1px dashed #B8C1CE; }
.addon strong { font-weight: 600; }
.addon span { font-family: var(--f-display); font-weight: 600; font-size: 20px; white-space: nowrap; }
.addon small { display: block; color: var(--acero); font-size: 13.5px; font-weight: 400; }

/* ---------- Nosotros ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story__text p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--tinta); }
.story__text p + p { margin-top: 20px; color: var(--acero); }
.team { display: grid; gap: 16px; }
.member { display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: var(--r-card); background: var(--blanco); border: 1px solid var(--linea-clara); }
.member__mono { flex-shrink: 0; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: var(--tinta); color: var(--hielo); font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -.02em; position: relative; overflow: hidden; }
.member__mono::after { content: ""; position: absolute; right: -10px; bottom: -10px; width: 34px; height: 34px; border-radius: 50%; background: var(--azul); }
.member__mono span { position: relative; z-index: 1; }
.member strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.member p { color: var(--acero); font-size: 15px; margin-top: 2px; }

.values { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-areas: "a b" "a c" "d d"; gap: 16px; }
.value { padding: 32px; border-radius: var(--r-card); background: var(--blanco); border: 1px solid var(--linea-clara); }
.value i { font-size: 30px; color: var(--azul); }
.value h3 { margin-top: 18px; font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.value p { margin-top: 10px; color: var(--acero); max-width: 46ch; }
.value--a { grid-area: a; background: var(--azul); color: var(--blanco); border-color: var(--azul); display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; }
.value--a i { color: var(--blanco); }
.value--a p { color: rgba(251,252,253,.86); }
.value--b { grid-area: b; }
.value--c { grid-area: c; }
.value--d { grid-area: d; display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: center; background: var(--tinta); color: var(--hielo); border-color: var(--tinta); }
.value--d i { grid-row: span 2; color: var(--azul-claro); font-size: 40px; }
.value--d h3 { margin: 0; }
.value--d p { margin: 0; color: var(--texto-suave); max-width: 70ch; }

/* ---------- Contacto ---------- */
.contact--page { margin-top: 0; padding-top: calc(var(--nav-h) + 80px); border-radius: 0 0 48px 48px; }
.direct { display: grid; gap: 12px; margin-top: 40px; }
.direct > a, .direct > div { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-card); background: var(--tinta-2); border: 1px solid var(--linea-oscura); transition: border-color .3s, background-color .3s; }
.direct > a:hover { border-color: rgba(109,140,245,.5); background: var(--tinta-3); }
.direct > * > i { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--azul); color: var(--blanco); font-size: 22px; }
.direct strong { display: block; font-weight: 600; }
.direct span { color: var(--texto-suave); font-size: 15px; }
.faq--page { padding-top: 110px; }
.light-zone--last { z-index: 2; border-radius: 0 0 48px 48px; }
.light-zone--last .faq { padding-bottom: 120px; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .page-head { padding: calc(var(--nav-h) + 56px) 0 96px; }
  .page-head__inner { grid-template-columns: 1fr; }
  .page-head__fox { display: none; }
  .featured { grid-template-columns: 1fr 1fr; }
  .feat--big { grid-column: 1 / -1; grid-row: auto; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 24px; }
  .svc-layout { grid-template-columns: 1fr; gap: 0; }
  .svc-nav {
    position: sticky; top: var(--nav-h); z-index: 3;
    transition: transform .45s var(--ease-out);
    display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1) 40px; padding: 12px var(--gutter);
    background: rgba(242,244,247,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .svc-nav::-webkit-scrollbar { display: none; }
  /* Cuando el menú superior se esconde, la barra de servicios sube con él (sin dejar hueco) */
  .nav-is-hidden .svc-nav { transform: translateY(calc(var(--nav-h) * -1)); }
  .svc-nav a { flex-shrink: 0; padding: 9px 14px; font-size: 14.5px; border-radius: var(--r-pill); }
  .svc__grid { grid-template-columns: 1fr; gap: 36px; }
  .case__cols { grid-template-columns: 1fr 1fr; }
  .case__cols > div:last-child { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; }
  .monthly { grid-template-columns: 1fr 1fr; }
  .addons { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .page-head { padding: calc(var(--nav-h) + 40px) 0 80px; border-radius: 0 0 32px 32px; }
  .page-head h1 { font-size: clamp(34px, 9.6vw, 44px); margin-top: 18px; }
  .page-head .mono-tag { font-size: 11.5px; letter-spacing: .22em; }
  .light-zone--page { padding-top: 32px; }
  .section { padding: 80px 0; }
  .section--tight { padding: 60px 0; }
  .section__head { margin-bottom: 36px; }
  .featured { grid-template-columns: 1fr; gap: 14px; }
  .feat--big .feat__img { min-height: 220px; }
  .cta-band { margin-top: -32px; padding: 96px 0 84px; border-radius: 32px 32px 0 0; }
  .cta-band__btns .btn { width: 100%; }
  .svc { padding-bottom: 72px; }
  .svc + .svc { padding-top: 72px; }
  .svc__visual { min-height: 300px; }
  .svc__visual--img { min-height: 0; padding: 20px 20px 0; }
  .svc__visual--img .svc__phone { right: 14px; bottom: 14px; border-width: 4px; border-radius: 16px; }
  .svc__visual--flow, .svc__visual--social, .svc__visual--voice, .svc__visual--crm { padding: 22px; }
  .svc__foot .btn { width: 100%; }
  .case { padding-bottom: 80px; }
  .case + .case { padding-top: 80px; }
  .case__media { margin-bottom: 48px; }
  .case__phone { width: 30%; bottom: -36px; border-width: 5px; border-radius: 18px; }
  .case__cols { grid-template-columns: 1fr; gap: 28px; }
  .plan { padding: 26px; }
  .plan__badge { position: static; align-self: flex-start; margin-bottom: 14px; }
  .plan__price { font-size: 44px; }
  .monthly { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d"; }
  .value { padding: 26px; }
  .value--a { min-height: 260px; }
  .value--d { grid-template-columns: 1fr; }
  .value--d i { grid-row: auto; }
  .contact--page { padding-top: calc(var(--nav-h) + 48px); border-radius: 0 0 32px 32px; }
  .faq--page { padding-top: 80px; }
  .light-zone--last { border-radius: 0 0 32px 32px; }
  .light-zone--last .faq { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-head__fox path { stroke-dashoffset: 0; }
  .page-head__fox .fox-eyes { opacity: 1; }
}

/* Protecciones: titular oculto solo mientras se anima; la cortina se oculta sola si el JS falla */
.anim [data-split] { visibility: hidden; }
.js .curtain { animation: curtainSafe 0s linear 5s forwards; }
@keyframes curtainSafe { to { visibility: hidden; } }

/* =========================================================
   Pulido para celular (v2)
   ========================================================= */

/* Barra de progreso de lectura */
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--azul); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.nav { position: fixed; }
.nav__inner { position: relative; }
.nav__progress { left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); }

/* Botón flotante: muestra "Cotizar" y se encoge a círculo al bajar */
.wa-float {
  width: auto; height: 52px; padding: 0 20px 0 15px; gap: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); font-size: 24px;
  transition: opacity .35s, transform .45s var(--ease-out), background-color .25s, padding .45s var(--ease-out), gap .45s var(--ease-out), scale .2s;
}
.wa-float__label { font-family: var(--f-body); font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; max-width: 90px; transition: max-width .45s var(--ease-out), opacity .3s; }
.wa-float.is-compact { padding: 0 13px; gap: 0; }
.wa-float.is-compact .wa-float__label { max-width: 0; opacity: 0; }

/* Puntos de los carruseles (solo celular) */
.dots { display: none; }

/* Respuesta al toque en pantallas táctiles */
@media (hover: none) {
  .cell { transition: border-color .3s, scale .25s var(--ease-out); }
  .feat { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), scale .25s var(--ease-out); }
  .plan, .price, .member, .value, .addon { transition: scale .25s var(--ease-out); }
  .direct > a { transition: border-color .3s, background-color .3s, scale .25s var(--ease-out); }
  .niche-cloud li { transition: background-color .3s, color .3s, transform .3s var(--ease-out), border-color .3s, scale .2s var(--ease-out); }
  .tab, .pick span, .chips li { transition: background-color .25s, color .25s, border-color .25s, scale .2s var(--ease-out); }
  .btn { transition: background-color .3s var(--ease-out), border-color .3s, color .3s, scale .2s var(--ease-out); }
  .cell:active, .feat:active, .plan:active, .price:active, .direct > a:active, .member:active, .value:active, .addon:active { scale: .975; }
  .niche-cloud li:active, .tab:active, .chips li:active, .pick label:active span, .wa-float:active { scale: .94; }
  .btn:active { scale: .96; }
  .niche-cloud li:hover { background: var(--blanco); color: var(--tinta); border-color: var(--linea-clara); transform: none; }
  .niche-cloud li:active { background: var(--tinta); color: var(--hielo); border-color: var(--tinta); }
  .niche-cloud li:hover i { color: var(--azul); }
}

@media (max-width: 1023px) {
  /* El zorro de las cabeceras también aparece en celular, como marca de agua */
  .page-head__fox { display: block; position: absolute; right: -28px; top: -12px; width: 190px; opacity: .28; }
}

@media (max-width: 640px) {
  /* Carruseles deslizables */
  [data-carousel] {
    display: flex !important; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 10px;
    scrollbar-width: none;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { flex: 0 0 86%; min-width: 0; scroll-snap-align: start; }
  .bento > .cell { min-height: 300px; }
  .bento > .cell--web { flex-basis: 90%; }
  .featured > .feat .feat__img, .featured > .feat--big .feat__img { aspect-ratio: 16 / 11; min-height: 0; flex: none; }
  .plans > .plan { flex-basis: 88%; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: var(--r-pill); background: currentColor; opacity: .25; transition: width .4s var(--ease-out), opacity .3s, background-color .3s; }
  .dots button.is-on { width: 22px; opacity: 1; background: var(--azul); }
  .services .dots { color: var(--niebla); }
  .light-zone .dots { color: var(--acero); }

  /* Las tarjetas del carrusel se agrandan al centrarse (navegadores compatibles) */
  @supports (animation-timeline: view()) {
    [data-carousel] > * {
      animation: carFocus linear both;
      animation-timeline: view(inline);
    }
    @keyframes carFocus {
      0% { scale: .9; }
      35%, 65% { scale: 1; }
      100% { scale: .9; }
    }
  }

  .wa-float { height: 48px; padding: 0 18px 0 13px; font-size: 22px; }
  .wa-float.is-compact { padding: 0 13px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-carousel] > * { animation: none !important; }
}
