/* ==========================================================================
   Tinfo · Tecnologías de la Información — Sistema de diseño
   Mobile-first · variables CSS · sin frameworks · contraste AA
   Para "vestir" el sitio cambia los valores de :root.
   Reglas de texto: sin cortes de palabra, títulos alineados a la izquierda,
   escala tipográfica fluida (clamp) y anchos de lectura controlados.
   ========================================================================== */

@font-face { font-family: "Lora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lora-600.woff") format("woff"); }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lora-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-Bold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/inter-ExtraBold.woff") format("woff"); }

:root {
    /* Color */
    --navy-950: #050b24;
    --navy-900: #0a1640;
    --navy-800: #0e1f5c;
    --navy-700: #123a9a;
    --blue-700: #1b3fb0;
    --blue-600: #1d4fe0;
    --blue-500: #2f6bff;
    --blue-400: #6a93f5;
    --blue-300: #8fb5ff;
    --blue-200: #c5d6fb;
    --blue-100: #e6eefc;
    --blue-50: #f2f6ff;
    --cyan: #22d3ee;
    --ink: #0b1530;
    --muted: #51608a;
    --line: #dbe4fb;
    --white: #ffffff;
    --wa: #128c4a;
    --wa-dark: #0d6e3a;
    --danger: #b3261e;
    --ok: #0e7a43;

    /* Tipografía: familia, escala fluida, pesos, alturas de línea y medidas */
    --font-display: "Lora", Georgia, "Times New Roman", serif;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fs-h1: clamp(2rem, 1.2rem + 3.2vw, 3.5rem);        /* 32 → 56 px */
    --fs-h2: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);      /* 27 → 40 px */
    --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.4rem);    /* 20 → 22 px */
    --fs-lead: clamp(1rem, 0.94rem + 0.3vw, 1.1875rem);  /* 16 → 19 px */
    --fs-body: 1rem;
    --fs-md: 1rem;
    --fs-sm: 0.9375rem;
    --fs-xs: 0.8125rem;
    --fw-regular: 400;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-black: 800;
    --lh-display: 1.15;
    --lh-heading: 1.25;
    --lh-body: 1.65;
    --measure: 40rem;       /* ancho máximo de lectura de párrafos de sección */
    --measure-hero: 34rem;  /* ancho máximo del texto de cabeceras */

    /* Espaciado */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.5rem;
    --s-6: 2rem;
    --s-7: 3rem;
    --s-8: 4.5rem;
    --section-y: clamp(4rem, 8vw, 6.5rem);

    /* Forma y elevación */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(11, 31, 77, 0.05), 0 2px 8px rgba(11, 31, 77, 0.05);
    --shadow: 0 10px 30px rgba(11, 31, 77, 0.1);
    --shadow-lg: 0 24px 60px rgba(11, 31, 77, 0.22);
    --ring: 0 0 0 3px rgba(47, 107, 240, 0.3);
    --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    /* Nunca partir palabras: ni guiones automáticos ni cortes a mitad de palabra */
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
    line-break: auto;
}
img, svg, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 var(--s-3); color: var(--navy-900); text-align: left; text-wrap: balance; font-weight: var(--fw-bold); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-display); letter-spacing: -0.03em; font-weight: var(--fw-black); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-md); line-height: 1.4; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--blue-50); padding: 0.1em 0.4em; border-radius: 6px; }
small { font-size: 0.8em; font-weight: 500; opacity: 0.8; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }
/* Texto largo sin espacios (correos, URLs) puede partirse solo en último recurso */
.wrap-any, .footer-list a[href^="mailto"] { overflow-wrap: anywhere; }

/* Párrafos largos y de ancho cómodo: justificados (sin hueco en la última línea) */
.hero__lead, .page-hero__copy p, .section__head p, .why__copy > p, .media__copy p, .infra__copy p,
.cta-band p, .footer-brand p, .faq details p, .profile > p, .prose p, .prose li {
    text-align: justify; text-justify: inter-word; text-align-last: left;
}

.container { width: min(100% - 2.25rem, 1180px); margin-inline: auto; }
.container--narrow { width: min(100% - 2.25rem, 820px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-xs); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy-900); padding: 0.6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 1.4rem; border-radius: 10px; border: 1.5px solid transparent;
    font: inherit; font-weight: 700; font-size: var(--fs-sm); line-height: 1.25; text-decoration: none; cursor: pointer; text-align: center;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 0.95rem 1.6rem; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue-600); color: var(--white); box-shadow: 0 6px 16px rgba(29, 85, 216, 0.28); }
.btn--primary:hover { background: var(--blue-700); color: var(--white); box-shadow: 0 8px 20px rgba(29, 85, 216, 0.38); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }
.btn--outline { background: var(--white); color: var(--blue-600); border-color: var(--blue-200); }
.btn--outline:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-500); }
.btn--light { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow); }
.btn--light:hover { color: var(--blue-700); }
.btn--wa { background: var(--wa); color: var(--white); box-shadow: 0 6px 16px rgba(18, 140, 74, 0.3); }
.btn--wa:hover { background: var(--wa-dark); color: var(--white); }
.btn--danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn--danger:hover { background: #fdecea; color: var(--danger); }

/* ---------- Barra superior + Header ---------- */
.topbar { display: none; background: var(--navy-950); color: rgba(255, 255, 255, 0.8); font-size: var(--fs-xs); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 38px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-5); }
.topbar li { display: inline-flex; align-items: center; gap: 0.45rem; text-align: left; }
.topbar a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar .icon { color: var(--cyan); }
@media (min-width: 900px) { .topbar { display: block; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { height: 36px; width: auto; }
.brand__tag { display: none; margin-left: 0.8rem; padding-left: 0.8rem; border-left: 1px solid var(--line); font-size: 0.6875rem; line-height: 1.25; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); text-align: left; }
@media (min-width: 430px) { .brand__tag { display: block; } }
.nav-toggle { background: var(--blue-50); border: 1px solid var(--line); color: var(--navy-900); padding: 0.5rem; border-radius: 10px; cursor: pointer; display: inline-flex; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--white); padding: var(--s-3) 1.125rem var(--s-5);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none; flex-direction: column; gap: var(--s-4);
}
.main-nav.is-open { display: flex; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.main-nav a:not(.btn) { display: block; color: var(--navy-900); text-decoration: none; padding: 0.85rem 0.25rem; font-weight: 600; border-bottom: 1px solid var(--line); text-align: left; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--blue-600); }

@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .main-nav { position: static; display: flex; flex-direction: row; align-items: center; background: transparent; padding: 0; border: 0; box-shadow: none; gap: var(--s-5); }
    .main-nav ul { flex-direction: row; gap: 0.15rem; }
    .main-nav a:not(.btn) { border: 0; padding: 0.5rem 0.85rem; border-radius: 8px; font-size: var(--fs-sm); }
    .main-nav a:not(.btn):hover { background: var(--blue-50); }
    .main-nav a[aria-current="page"]:not(.btn) { background: var(--blue-50); }
}

/* ---------- Botón flotante de contacto ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.4rem; border-radius: 999px; text-decoration: none; color: var(--navy-900); background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(11, 31, 77, 0.1); box-shadow: 0 12px 32px rgba(11, 31, 77, 0.22), 0 2px 6px rgba(11, 31, 77, 0.1); transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease; }
.wa-float:hover { color: var(--navy-900); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(11, 31, 77, 0.28), 0 2px 6px rgba(11, 31, 77, 0.1); }
.wa-float:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; }
/* En móvil se oculta al bajar y reaparece al subir, para no tapar contenido ni botones */
.wa-float.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
.wa-float__badge { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--white); background: linear-gradient(145deg, #2fe27a, #11a257); animation: ring 3s ease-out infinite; }
.wa-float__badge .icon { width: 24px; height: 24px; }
.wa-float__dot { position: absolute; top: 1px; right: 1px; width: 11px; height: 11px; border-radius: 50%; background: #34d27b; border: 2px solid var(--white); }
.wa-float__text { display: none; flex-direction: column; line-height: 1.2; padding-right: 0.9rem; text-align: left; }
.wa-float__text strong { font-size: 0.875rem; letter-spacing: -0.01em; }
.wa-float__text small { font-size: 0.75rem; color: var(--muted); opacity: 1; font-weight: 500; }
body.has-mobile-bar .wa-float { bottom: 84px; }
@media (min-width: 720px) { .wa-float { right: 24px; bottom: 24px; } .wa-float__text { display: flex; } }
@media (min-width: 1000px) { body.has-mobile-bar .wa-float { bottom: 24px; } }

/* ---------- Hero (portada) ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); padding: var(--s-7) 0 7rem;
    background: radial-gradient(900px 480px at 85% 0%, rgba(47, 107, 240, 0.35), transparent 65%), linear-gradient(180deg, var(--navy-900) 0%, #0a1a42 100%); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; animation: gridmove 40s linear infinite;
    background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%); mask-image: linear-gradient(180deg, #000, transparent 92%); }
.hero::after { content: ""; position: absolute; right: -4%; top: 6%; width: min(62%, 760px); aspect-ratio: 600 / 460; background: url("/assets/img/hero-net.svg") center / contain no-repeat; opacity: 0.7; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero__visual { position: relative; width: 100%; max-width: 460px; margin-inline: auto; animation: floaty 8s ease-in-out infinite; }

/* Título de cabecera (portada y páginas): un solo color, sin mayúsculas forzadas */
.hero h1, .page-hero h1 { color: var(--blue-300); max-width: 20ch; font-weight: var(--fw-bold); letter-spacing: -0.03em; margin-bottom: var(--s-4); }
.hero__lead { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.9); max-width: var(--measure-hero); margin-bottom: var(--s-5); }
.hero__price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0.15rem 0.6rem; margin: 0 0 var(--s-5); padding: 0.1rem 0 0.1rem 1rem; border-left: 3px solid var(--cyan); text-align: left; }
.hero__price-label { flex-basis: 100%; font-size: 0.75rem; font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.hero__price strong { font-size: 2.25rem; line-height: 1.1; color: var(--white); letter-spacing: -0.03em; font-weight: var(--fw-black); }
.hero__price-unit { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0 0 var(--s-5); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 6px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--blue-200); margin-bottom: var(--s-4); text-align: left; }
.eyebrow--dark { background: var(--blue-100); border-color: transparent; color: var(--blue-700); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.9); }
.chips li { display: inline-flex; align-items: center; gap: 0.45rem; text-align: left; }
.chips .icon { color: var(--cyan); }

/* Panel de configuración (representación animada del configurador) */
.mock { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 0.7rem 1rem; background: var(--blue-50); border-bottom: 1px solid var(--line); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #c8d6f5; }
.mock__bar b { margin-left: 0.5rem; font-size: var(--fs-xs); color: var(--muted); font-weight: var(--fw-semibold); }
.mock__body { padding: var(--s-4); display: grid; gap: 0.5rem; }
.mock__label { margin: 0.4rem 0 0; font-size: 0.7rem; font-weight: var(--fw-black); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: left; }
.mock__row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.65rem 0.8rem; border: 1.5px solid var(--line); border-radius: 10px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); transition: opacity 0.35s ease, border-color 0.35s ease, background 0.35s ease; opacity: 0.55; }
.mock__row span { display: inline-flex; align-items: center; gap: 0.5rem; }
.mock__row svg { width: 1.1em; height: 1.1em; color: var(--blue-600); }
.mock__row--on, .mock__row.is-on { opacity: 1; border-color: var(--blue-500); background: var(--blue-50); }
.mock__row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mock__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.4rem; padding: 0.9rem 0.8rem 0.2rem; border-top: 2px dashed var(--line); }
.mock__total span { font-weight: var(--fw-semibold); color: var(--muted); }
.mock__total strong { font-size: 1.6rem; letter-spacing: -0.03em; color: var(--blue-600); font-variant-numeric: tabular-nums; }

@media (max-width: 899px) {
    .hero::after { width: 120%; right: -30%; top: 2%; opacity: 0.4; }
    /* Orden comercial en móvil: etiqueta, título, texto, precio, ventajas, botones, panel */
    .chips { order: 4; margin-bottom: var(--s-5); }
    .hero__cta { order: 5; }
}
@media (min-width: 900px) {
    .hero { padding: 5.5rem 0 8rem; }
    .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-8); }
}

/* ---------- Barra de confianza ---------- */
.trust { position: relative; z-index: 2; margin-top: -3.5rem; }
.trust__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--s-5); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.trust__item { display: flex; gap: var(--s-3); align-items: flex-start; }
.trust__item .card__icon { margin: 0; flex: none; }
.trust__item strong { display: block; color: var(--navy-900); font-size: var(--fs-sm); line-height: 1.3; text-align: left; }
.trust__item span { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.5; text-align: left; }
@media (min-width: 560px) { .trust__card { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .trust__card { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: var(--s-5) var(--s-6); } }

/* ---------- Secciones ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--blue-50); }
.section--dark { background: linear-gradient(170deg, var(--navy-950), var(--navy-800)); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 44rem; margin: 0 0 clamp(2rem, 4vw, 3rem); text-align: left; }
.section__head h2 { margin-bottom: var(--s-3); }
.section__head p { color: var(--muted); font-size: var(--fs-lead); max-width: var(--measure); margin-bottom: 0; }
.section__head--left { display: flex; align-items: center; gap: var(--s-4); max-width: none; margin-bottom: var(--s-6); }
.section__head--left h2 { margin: 0; font-size: var(--fs-h3); }
.section .center.muted { margin-top: var(--s-5); }

/* ---------- Cabecera de páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    background: radial-gradient(900px 480px at 85% 0%, rgba(47, 107, 240, 0.35), transparent 65%), linear-gradient(180deg, var(--navy-900) 0%, #0a1a42 100%); }
.page-hero--compact { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: center; }
.page-hero__copy p { color: rgba(255, 255, 255, 0.9); font-size: var(--fs-lead); max-width: var(--measure-hero); margin-bottom: 0; }
.page-hero__cta { margin-top: var(--s-5); }
.page-hero__art { width: min(78%, 260px); margin-inline: auto; }
.page-hero__art img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
    .page-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--s-7); }
    .page-hero__art { width: min(100%, 440px); margin-inline: auto 0; }
    .page-hero--compact .page-hero__art { width: min(100%, 390px); }
}
@media (max-width: 599px) {
    .page-hero--legal .page-hero__art { display: none; }
    .page-hero--compact .page-hero__art { width: min(62%, 220px); }
}

.grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Tarjetas ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); box-shadow: var(--shadow-sm); transition: border-color 0.2s ease, box-shadow 0.2s ease; position: relative; min-width: 0; }
.card:hover { box-shadow: var(--shadow); border-color: var(--blue-200); }
.card h3 { margin-bottom: var(--s-2); }
.card p { text-align: left; }
.card p:last-child { margin-bottom: 0; }
.card--service p, .card--item p { color: var(--muted); font-size: var(--fs-md); }
.card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); margin-bottom: var(--s-4); flex: none; }
.card__icon svg { width: 24px; height: 24px; }
.card__icon--sm { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 0; }
.card__icon--sm svg { width: 20px; height: 20px; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--s-3); }
.card .price-line { font-weight: var(--fw-black); color: var(--ink); font-size: var(--fs-md); text-align: left; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: var(--fw-bold); text-decoration: none; font-size: var(--fs-sm); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform 0.2s; }

.badge { display: inline-block; background: var(--navy-900); color: var(--white); font-size: 0.7rem; font-weight: var(--fw-bold); letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 6px; }
.badge--soft { background: var(--blue-100); color: var(--blue-700); }
.badge--sm { font-size: 0.65rem; padding: 0.2rem 0.55rem; }

/* ---------- Planes ---------- */
.plan { display: flex; flex-direction: column; }
.plan > .badge { position: absolute; top: -12px; left: 20px; background: var(--blue-600); }
.plan--featured { border: 2px solid var(--blue-600); box-shadow: var(--shadow); }
.plan__desc { color: var(--muted); }
.plan .plan__price { font-size: 2.5rem; font-weight: var(--fw-black); letter-spacing: -0.04em; line-height: 1; margin: var(--s-3) 0 var(--s-4); color: var(--navy-900); text-align: left; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 1rem; font-weight: var(--fw-semibold); letter-spacing: 0; color: var(--muted); opacity: 1; }
.plan .checklist { flex: 1; }
.plan .btn { margin-top: var(--s-5); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: var(--fs-sm); }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; text-align: left; }
.checklist .icon { color: var(--blue-600); margin-top: 0.22em; }
.section--dark .checklist .icon { color: var(--cyan); }
@media (min-width: 640px) { .plan__desc { min-height: 3.3em; } }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); position: relative; box-shadow: var(--shadow-sm); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-900); color: var(--white); font-weight: var(--fw-black); margin-bottom: var(--s-4); }
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--muted); margin: 0; text-align: left; }
@media (min-width: 800px) {
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .step:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--s-5) + 20px); left: 100%; width: var(--s-5); height: 2px; background: linear-gradient(90deg, var(--blue-200), transparent); }
}

/* ---------- Infraestructura ---------- */
.infra { position: relative; overflow: hidden; }
.infra::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 40%, rgba(47, 107, 240, 0.28), transparent 70%); pointer-events: none; }
.infra__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: center; }
.infra__copy h2 { color: var(--white); }
.infra__copy p { color: var(--blue-200); font-size: var(--fs-lead); }
.infra__stats { list-style: none; margin: var(--s-5) 0; padding: 0; display: grid; gap: var(--s-3); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.infra__stats li { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-sm); padding: var(--s-3); display: grid; gap: 0.15rem; text-align: left; align-content: start; }
.infra__stats strong { color: var(--cyan); font-size: var(--fs-md); }
.infra__stats span { color: var(--blue-200); font-size: var(--fs-xs); line-height: 1.4; text-align: left; }
.infra__art img { width: 100%; height: auto; max-width: 560px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.4)); }
@media (min-width: 900px) { .infra__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-7); } }
@media (max-width: 480px) { .infra__stats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Multimedia ---------- */
.media { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .media { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.media__copy p { color: var(--muted); font-size: var(--fs-lg); }
.media__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-950); aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.media__frame video, .media__frame iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.browser { height: 100%; display: flex; flex-direction: column; background: #f4f7ff; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 0.65rem 1rem; background: #e6edff; }
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #b8c9f7; }
.browser__bar b { margin-left: 0.6rem; flex: 1; text-align: center; font-size: var(--fs-xs); color: var(--muted); background: var(--white); border-radius: 999px; padding: 0.15rem 0; }
.browser__page { flex: 1; padding: var(--s-4); display: grid; gap: 0.75rem; align-content: start; }
.skel { border-radius: 10px; background: linear-gradient(100deg, #dbe6ff 30%, #f2f6ff 50%, #dbe6ff 70%); background-size: 200% 100%; animation: shimmer 2.2s linear infinite, build 6s ease-in-out infinite; }
.skel--nav { height: 22px; width: 100%; }
.skel--hero { height: 96px; background-image: linear-gradient(120deg, var(--blue-600), var(--blue-400)); animation: build 6s ease-in-out infinite; animation-delay: 0.6s; }
.skel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.skel--card { height: 64px; animation-delay: 1.2s, 1.2s; }
.skel--btn { height: 30px; width: 40%; background-image: linear-gradient(120deg, var(--blue-700), var(--blue-600)); animation: build 6s ease-in-out infinite; animation-delay: 1.8s; }


/* ---------- Por qué Tinfo ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .why { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-7); } }
.why__copy > p { color: var(--muted); font-size: var(--fs-lead); }
.feature-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-5); }
.feature-list li { display: flex; gap: var(--s-4); }
.feature-list h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: var(--fs-sm); text-align: left; }
.profile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--s-6); position: relative; }
.profile__head { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-4); }
.profile__avatar { width: 64px; height: 64px; border-radius: 16px; background: var(--navy-900); display: grid; place-items: center; flex: none; }
.profile__avatar img { width: 36px; height: 36px; }
.profile__name { margin: 0; font-size: 1.15rem; text-align: left; }
.profile__role { margin: 0; color: var(--muted); font-size: var(--fs-sm); text-align: left; }
.profile .checklist { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.profile__cta { margin-top: var(--s-5); display: grid; gap: var(--s-3); }

/* ---------- Preguntas frecuentes ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.faq-layout .section__head { margin-bottom: 0; }
@media (min-width: 900px) {
    .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--s-7); }
    .faq-layout .section__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.faq { display: grid; gap: var(--s-3); }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 0 var(--s-5); transition: box-shadow 0.2s, border-color 0.2s; }
.faq details[open] { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: var(--fw-bold); font-size: var(--fs-md); padding: var(--s-4) 0; list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; text-align: left; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue-600); transition: transform 0.2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: var(--s-4); margin: 0; }

/* ---------- Llamada a la acción final ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: var(--white); padding: var(--s-7) 0; }
.cta-band__inner { display: flex; flex-direction: column; gap: var(--s-5); align-items: flex-start; }
.cta-band h2 { margin-bottom: var(--s-2); color: var(--white); font-size: var(--fs-h3); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: var(--fs-lead); max-width: var(--measure); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (min-width: 800px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
@media (max-width: 599px) { .cta-band__actions { width: 100%; flex-direction: column; } }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.78); padding-top: var(--s-7); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); padding-bottom: var(--s-6); }
.footer-brand p { max-width: 30rem; margin-top: var(--s-4); }
.footer-title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: var(--s-4); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-list li { display: flex; gap: 0.6rem; align-items: flex-start; text-align: left; }
.footer-list .icon { color: var(--cyan); margin-top: 0.25em; }
.footer-list a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: var(--s-4) 0 var(--s-6); font-size: var(--fs-xs); display: flex; flex-direction: column; gap: var(--s-3); }
.footer-bottom p { margin: 0; text-align: left; }
.footer-legal { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: var(--fs-xs); }
.footer-legal a { color: var(--blue-200); }
.footer-legal a:hover { color: var(--white); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); } .footer-brand { grid-column: auto; } }
@media (min-width: 800px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 0.4rem; margin-bottom: var(--s-4); }
.field label { font-weight: 700; font-size: var(--fs-sm); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
    width: 100%; font: inherit; color: var(--ink); background: var(--white);
    border: 1.5px solid #c3d1f5; border-radius: 12px; padding: 0.8rem 0.95rem; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 6rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--ring); }
.field--error input, .field--error textarea, .field--error select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--fs-xs); font-weight: 600; margin: 0; }
.form-grid { display: grid; gap: 0 var(--s-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.form-card { padding: var(--s-5); }
@media (min-width: 640px) { .form-card { padding: var(--s-6); } }
.contact-grid { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 0.9fr; } }
.contact-side { display: grid; gap: var(--s-4); }
.contact-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: var(--s-4); }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list svg { color: var(--blue-600); width: 24px; height: 24px; margin-top: 2px; }
.contact-list strong { display: block; }

.alert { padding: 0.9rem 1.1rem; border-radius: 12px; border: 1px solid; margin: var(--s-4) 0; font-weight: 600; font-size: var(--fs-sm); }
.alert--success { background: #e7f7ee; border-color: #8fd1ad; color: #0a5a31; }
.alert--error { background: #fdecea; border-color: #f0a8a3; color: #8a1a13; }
.alert--info { background: var(--blue-50); border-color: var(--blue-200); color: var(--navy-700); }
.alert--warning { background: #fff6e0; border-color: #f0cf7a; color: #6b4a00; }
.flash-wrap { position: relative; z-index: 5; }

/* ---------- Configurador ---------- */
.section--configurator { background: var(--blue-50); padding-top: var(--s-6); }
.configurator { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1000px) { .configurator { grid-template-columns: minmax(0, 1fr) 380px; } }
.step-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); margin-bottom: var(--s-5); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .step-block { padding: var(--s-6); } }
.step-title { display: flex; align-items: center; gap: var(--s-3); font-size: 1.15rem; margin-bottom: var(--s-5); }
.step-title__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: var(--cyan); font-size: var(--fs-sm); font-weight: 800; flex: none; }

.combos { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .combos { grid-template-columns: repeat(3, 1fr); } }
.combo { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-3); align-items: center; text-align: left; font: inherit; color: inherit; background: var(--blue-50); border: 1.5px dashed var(--blue-400); border-radius: var(--radius); padding: var(--s-3) var(--s-4); cursor: pointer; transition: all 0.2s; }
.combo .card__icon { grid-row: span 2; }
.combo small { grid-column: 2; opacity: 1; color: var(--muted); font-weight: 500; }
.combo:hover, .combo.is-active { background: var(--white); border-style: solid; border-color: var(--blue-500); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.plan-pick { display: grid; gap: var(--s-4); }
@media (min-width: 720px) { .plan-pick { grid-template-columns: repeat(3, 1fr); } }
.pick { display: block; cursor: pointer; position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick__body { display: grid; gap: 0.35rem; height: 100%; padding: var(--s-5) var(--s-4) var(--s-4); border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); transition: all 0.2s; position: relative; }
.pick__body .badge { position: absolute; top: -11px; right: 12px; }
.pick__name { font-size: 1.15rem; }
.pick__price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.pick__price small { font-size: 0.9rem; letter-spacing: 0; }
.pick__list { margin: var(--s-2) 0 0; padding-left: 1.1rem; color: var(--muted); font-size: var(--fs-xs); display: grid; gap: 0.2rem; }
.pick:hover .pick__body { border-color: var(--blue-400); }
.pick input:checked + .pick__body { border-color: var(--blue-500); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2), var(--shadow-sm); }
.pick input:focus-visible + .pick__body { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.extras { border: 0; padding: 0; margin: 0 0 var(--s-6); min-width: 0; }
.extras:last-child { margin-bottom: 0; }
.extras legend { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-700); margin-bottom: var(--s-3); padding: 0; }
.extra { border: 1.5px solid var(--line); border-radius: var(--radius); margin-bottom: var(--s-3); background: var(--white); transition: all 0.2s; }
.extra:hover { border-color: var(--blue-400); }
.extra.is-on { border-color: var(--blue-500); background: var(--blue-50); }
.extra__main { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; padding: var(--s-4); cursor: pointer; position: relative; }
.extra__main input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.extra__check { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #b4c5f2; display: grid; place-items: center; color: transparent; background: var(--white); transition: all 0.15s; margin-top: 2px; }
.extra.is-on .extra__check { background: var(--blue-500); border-color: var(--blue-500); color: var(--white); }
.extra__main input:focus-visible ~ .extra__check { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.extra__text { display: grid; gap: 0.15rem; }
.extra__text small { opacity: 1; color: var(--muted); font-size: var(--fs-xs); font-weight: 500; line-height: 1.45; }
.extra__prices { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { background: var(--blue-100); color: var(--navy-800); font-weight: 800; font-size: var(--fs-xs); padding: 0.25rem 0.65rem; border-radius: 999px; font-variant-numeric: tabular-nums; }
.tag small { opacity: 0.8; font-weight: 600; }
.extra.is-on .tag { background: var(--white); }
@media (min-width: 720px) {
    .extra__main { grid-template-columns: auto 1fr auto; align-items: center; }
    .extra__prices { grid-column: auto; justify-content: flex-end; flex-direction: column; align-items: flex-end; }
}
.qty { display: flex; align-items: center; gap: 0.5rem; padding: 0 var(--s-4) var(--s-4) calc(26px + var(--s-3) + var(--s-4)); }
.qty[hidden] { display: none; }
.qty label { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); margin-right: auto; }
.qty input { width: 4.2rem; text-align: center; padding: 0.5rem; }
.qty__btn { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--blue-400); background: var(--white); color: var(--blue-600); cursor: pointer; display: grid; place-items: center; }
.qty__btn:hover { background: var(--blue-100); }

.summary { position: relative; }
@media (min-width: 1000px) { .summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.summary__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow); }
.summary__title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.15rem; }
.summary__empty { color: var(--muted); font-size: var(--fs-sm); }
.summary__empty[hidden] { display: none; }
.summary__lines { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: grid; gap: 0.1rem; max-height: 38vh; overflow: auto; }
.summary__lines li { display: flex; justify-content: space-between; gap: var(--s-3); padding: 0.55rem 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.summary__lines li span:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__lines em { font-style: normal; color: var(--muted); }
.summary__lines .sub { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--muted); }
.totals { margin: var(--s-4) 0; display: grid; gap: 0.4rem; }
.totals > div { display: flex; justify-content: space-between; gap: var(--s-3); align-items: baseline; }
.totals[hidden], .totals > div[hidden] { display: none; }
.totals dt { color: var(--muted); font-size: var(--fs-sm); }
.totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.totals__main { padding-top: 0.6rem; margin-top: 0.3rem; border-top: 2px solid var(--ink); }
.totals__main dt { color: var(--ink); font-weight: 800; }
.totals__main dd { font-size: 1.7rem; letter-spacing: -0.03em; color: var(--blue-600); }
.summary .btn { margin-top: var(--s-3); }
.bump { animation: bump 0.35s ease; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--navy-950); color: var(--white); padding: 0.7rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); box-shadow: 0 -8px 24px rgba(5, 11, 36, 0.35); }
.mobile-bar[hidden] { display: none; }
.mobile-bar small { display: block; opacity: 0.75; font-size: 0.72rem; }
.mobile-bar strong { font-size: 1.3rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
@media (min-width: 1000px) { .mobile-bar { display: none; } }

/* ---------- Gracias / recibo ---------- */
.receipt h2 { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.receipt:hover { transform: none; }
.receipt__lines { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.receipt__lines li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.receipt__lines em { font-style: normal; color: var(--muted); }
.receipt__amount { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* ---------- Panel admin ---------- */
body.admin { background: var(--blue-50); min-height: 100vh; }
.admin-bar { background: var(--navy-950); color: var(--white); }
.admin-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); padding: 0.75rem 0; }
.admin-bar__tag { margin-left: 0.5rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255, 255, 255, 0.12); padding: 0.2rem 0.6rem; border-radius: 999px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-right: auto; }
.admin-nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; padding: 0.45rem 0.8rem; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.admin-nav a:hover, .admin-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.admin-main { padding: var(--s-6) 0 var(--s-8); }
.admin-main h1 { font-size: 1.8rem; }
.admin-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); margin-bottom: var(--s-5); box-shadow: var(--shadow-sm); }
.admin-card--narrow { max-width: 460px; margin-inline: auto; margin-top: var(--s-6); }
.admin-card h2 { font-size: 1.15rem; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.admin-head h1 { margin: 0; }
.admin-head__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.admin-two { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .admin-two { grid-template-columns: 1fr 1fr; } }
.admin-steps { padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.stat-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); margin-bottom: var(--s-5); }
@media (min-width: 800px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: grid; gap: 0.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); }
.stat strong { font-size: 2.2rem; letter-spacing: -0.04em; color: var(--blue-600); line-height: 1; }
.stat span { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th { text-align: left; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--line); white-space: nowrap; }
.table td { padding: 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr.is-off td { opacity: 0.5; }
.table__actions { display: flex; gap: var(--s-2); white-space: nowrap; }
.pill { display: inline-block; padding: 0.15rem 0.65rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: var(--blue-100); color: var(--blue-700); }
.pill--nueva { background: #fff1c9; color: #6b4a00; }
.pill--cerrada { background: #dff5e8; color: #0a5a31; }
.pill--descartada { background: #eceff6; color: #51608a; }
.stack { display: grid; gap: var(--s-2); }
.checks { display: flex; flex-wrap: wrap; gap: var(--s-5); margin: var(--s-3) 0 var(--s-5); font-weight: 600; }
.checks label { display: inline-flex; align-items: center; gap: 0.5rem; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }
.inline-form select { width: auto; }
.kv { display: grid; gap: 0.5rem; margin: 0 0 var(--s-4); }
.kv div { display: flex; gap: var(--s-4); }
.kv dt { color: var(--muted); min-width: 6rem; }
.kv dd { margin: 0; font-weight: 600; }
.note { background: var(--blue-50); border-left: 3px solid var(--blue-500); padding: 0.75rem 1rem; border-radius: 8px; white-space: pre-wrap; }
.message { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.message:last-child { border-bottom: 0; }
.message header { display: flex; flex-wrap: wrap; gap: 0.25rem var(--s-4); align-items: baseline; }
.message time { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); }
.message p { margin: var(--s-2) 0 0; }

/* ---------- Páginas legales y consentimiento ---------- */
.prose { font-size: var(--fs-md); line-height: 1.75; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; color: var(--navy-900); }
.prose p, .prose ul { margin: 0 0 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.prose__note { margin-top: 2rem; padding: 1rem 1.2rem; background: var(--blue-50); border-left: 4px solid var(--blue-500); border-radius: var(--radius-sm); font-size: var(--fs-sm); color: var(--muted); }
.consent { display: grid; gap: 0.7rem; margin: var(--s-4) 0 var(--s-5); padding: var(--s-4); background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.consent.field--error { border-color: var(--danger); }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.5; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex: none; accent-color: var(--blue-600); }
.check a { color: var(--blue-600); text-decoration: underline; }

/* ---------- Alineación de componentes (evita texto "cargado" a un lado) ---------- */
.btn, .tag, .badge, .pill, .stat, .totals dd, .totals dt, .summary__lines li, .receipt__lines li, .table th, .table td, label, legend, input, select, textarea, .pick__body, .extra__text, .combo, .qty label, .kv dt, .kv dd, .message header, .alert, .mock__row, .mock__total, .pick__list, .field-error, .note, .contact-list li { text-align: left; }
.btn { text-align: center; }
.thanks-actions { justify-content: flex-start; }

/* ---------- Páginas de error (mismo lenguaje visual que las cabeceras) ---------- */
.error-page { position: relative; overflow: hidden; color: var(--white); padding: var(--s-8) 0; min-height: 62vh; display: grid; align-items: center; text-align: center;
    background: radial-gradient(900px 480px at 85% 0%, rgba(47, 107, 240, 0.35), transparent 65%), linear-gradient(180deg, var(--navy-900) 0%, #0a1a42 100%); }
.error-page::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background: url("/assets/img/hero-net.svg") center / min(900px, 140%) no-repeat; }
.error-page .container { position: relative; z-index: 1; }
.error-page__code { margin: 0; font-size: clamp(4.5rem, 16vw, 8rem); font-weight: var(--fw-black); letter-spacing: -0.06em; line-height: 1; background: linear-gradient(120deg, var(--blue-500), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { color: var(--white); font-size: var(--fs-h2); text-align: center; margin-inline: auto; }
.error-page p { color: rgba(255, 255, 255, 0.88); font-size: var(--fs-lead); max-width: var(--measure-hero); margin-inline: auto; text-align: center; }
.error-page p.error-page__code { max-width: none; color: transparent; font-size: clamp(4.5rem, 16vw, 8rem); }
.error-page__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.error-page__detail { text-align: left; background: var(--navy-950); color: #cfe0ff; padding: var(--s-4); border-radius: 12px; overflow: auto; font-size: var(--fs-xs); max-height: 320px; }

/* ---------- Animaciones ---------- */
@keyframes gridmove { to { background-position: 56px 56px, 56px 56px; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes build { from { opacity: 0; transform: translateY(10px) scaleX(0.96); } to { opacity: 1; transform: none; } }
@keyframes bump { 50% { transform: scale(1.06); } }

.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-ready.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal-ready { opacity: 1; transform: none; }
}

/* Texto en bloque (justificado) en todos los anchos, títulos incluidos */
.hero h1, .page-hero h1 {
  text-align: justify; text-align-last: left; text-justify: inter-word;
}
.hero h1 { width: max-content; max-width: 100%; }
.hero h1 .hero__l1, .hero h1 .hl { display: block; }
.hero h1 .hero__l1 { text-align-last: justify; }
.hero__lead, .page-hero__copy p, .section__head p { text-justify: inter-word; }
.hero h1 { max-width: 100%; font-size: min(var(--fs-h1), 7.2vw); }
.hero h1 .hero__l1, .hero h1 .hl { white-space: nowrap; }
@media (min-width: 900px) { .hero h1 { font-size: min(var(--fs-h1), 3.6vw); } }

/* Textos de tarjetas, pasos y listas también en bloque */
.card p, .plan__desc, .step p, .feature-list p, .trust__item span, .infra__stats span { text-align: justify; text-align-last: left; text-justify: inter-word; }
.card p, .plan__desc, .step p, .feature-list p, .hero__lead, .section__head p, .page-hero__copy p { text-wrap: pretty; }

/* =====================================================================
   TEMA EDITORIAL (Opción A): portadas claras, rejillas de líneas finas,
   bloques unidos y numerados. Capa final del sistema de diseño.
   ===================================================================== */
.hero, .page-hero { color: var(--ink); background: linear-gradient(180deg, #fff 0%, #f1f5fd 100%); border-bottom: 1px solid var(--line); }
.hero::before, .hero::after, .page-hero::before, .page-hero::after { display: none; }
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero h1, .page-hero h1 { color: var(--navy-900); }
.hero__lead, .page-hero__copy p { color: var(--muted); }
.hero .eyebrow, .page-hero .eyebrow { background: transparent; border: 0; border-left: 3px solid var(--blue-600); border-radius: 0; padding: 0 0 0 0.7rem; color: var(--blue-600); }
.hero__price { border-left-color: var(--blue-600); }
.hero__price-label, .hero__price-unit { color: var(--muted); }
.hero__price strong { color: var(--navy-900); }
.chips { color: var(--ink); }
.chips .icon { color: var(--blue-600); }
.hero .btn--ghost, .page-hero .btn--ghost { color: var(--navy-900); border-color: var(--navy-900); }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover { background: var(--navy-900); color: var(--white); }
.page-hero__art { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); border-radius: var(--radius-lg); padding: var(--s-4); box-shadow: var(--shadow); }
.page-hero__meta, .page-hero .muted { color: var(--muted); }
.mock { border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11, 31, 77, 0.45); }

/* Franja de datos clave unida al hero */
.trust { margin-top: 0; }
.trust__card { border-radius: 0; box-shadow: none; border-width: 0 0 1px; padding: 0; gap: 0; }
.trust__item { padding: var(--s-5) var(--s-4); border-bottom: 1px solid var(--line); }
.trust__item:last-child { border-bottom: 0; }
.trust .card__icon { background: transparent; color: var(--blue-600); width: 32px; height: 32px; }
@media (min-width: 900px) {
  .trust__item { border-bottom: 0; border-right: 1px solid var(--line); padding: var(--s-5); }
  .trust__item:last-child { border-right: 0; }
}

/* Planes: bloque unido con líneas finas */
@media (min-width: 900px) {
  .plans { gap: 0; border: 1px solid var(--line); background: var(--white); }
  .plans .plan { border: 0; border-right: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: var(--s-6) var(--s-5); }
  .plans .plan:last-child { border-right: 0; }
  .plans .plan--featured { background: var(--navy-900); color: var(--white); border: 0; }
  .plans .plan--featured h3, .plans .plan--featured .plan__price { color: var(--white); }
  .plans .plan--featured .plan__desc, .plans .plan--featured .plan__price small { color: var(--blue-200); }
  .plans .plan--featured .checklist .icon { color: var(--cyan); }
  .plans .plan--featured .btn--primary { background: var(--cyan); border-color: var(--cyan); color: var(--navy-900); }
  .plans .plan > .badge { top: 0; left: auto; right: 0; border-radius: 0; background: var(--cyan); color: var(--navy-900); }
}
.plan .card__icon { background: transparent; width: auto; height: auto; justify-content: start; margin-bottom: var(--s-2); }

/* Servicios: tabla numerada */
.grid--4 { counter-reset: svc; }
.card--service { counter-increment: svc; border-radius: 0; box-shadow: none; position: relative; }
.card--service .card__icon { display: none; }
.card--service::before { content: counter(svc, decimal-leading-zero); display: block; font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.12em; color: var(--blue-600); margin-bottom: var(--s-3); }
@media (min-width: 900px) {
  .grid--4 { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .grid--4 > .card--service { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s-6) var(--s-5); }
  .grid--4 > .card--service:hover { background: var(--blue-50); }
}

/* Pasos con numeración editorial */
.step { border-radius: 0; box-shadow: none; }
.step__n { background: transparent; color: var(--blue-600); width: auto; height: auto; justify-content: start; font-size: 1.75rem; font-weight: var(--fw-black); }
.section--tint { background: #f4f7fe; }

/* Encabezados de sección a dos columnas en escritorio */
@media (min-width: 900px) {
  .section__head { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-8); align-items: end; }
  .section__head .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .section__head h2 { margin-bottom: 0; }
  .section__head p { margin: 0; max-width: none; }
  .faq-layout .section__head { display: block; }
}
.eyebrow--dark { background: transparent; border-left: 3px solid var(--blue-600); border-radius: 0; padding: 0 0 0 0.7rem; color: var(--blue-600); }
.page-hero h1 { text-align: left; text-align-last: left; }

/* =====================================================================
   ENCABEZADO DE PÁGINA INTERIOR (.phead)
   El encabezado muestra el dato que la página promete (precios, bases,
   canales, leyes) en una ficha; la ilustración queda detrás, al borde.
   ===================================================================== */
.phead { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, #edf2fc 100%); border-bottom: 1px solid var(--line); padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.25rem); }
.phead__panel { position: relative; }
.phead__wash { position: absolute; left: 50%; top: 50%; width: 132%; max-width: none; height: auto; transform: translate(-50%, -50%); opacity: 0.3; pointer-events: none; z-index: 0; display: none; }
.ledger { position: relative; z-index: 1; }
.phead__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.phead__copy { min-width: 0; }
.phead__kicker { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 var(--s-3); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--blue-700); }
.phead__kicker::before { content: ""; flex: none; width: 2.25rem; height: 2px; background: var(--cyan); }
.phead h1 { margin: 0 0 var(--s-4); color: var(--navy-900); font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.035em; font-weight: var(--fw-black); text-align: left; text-wrap: balance; }
.phead h1 span { display: block; }
.phead__lead { margin: 0; color: var(--muted); font-size: var(--fs-lead); max-width: 34rem; text-align: justify; text-align-last: left; text-wrap: pretty; }
.phead__cta { margin: var(--s-5) 0 0; }

.ledger { background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 26px 50px -34px rgba(11, 31, 77, 0.55); overflow: hidden; }
.ledger__cap { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); margin: 0; padding: 0.8rem 1.1rem; background: var(--navy-900); color: var(--white); font-size: var(--fs-sm); font-weight: var(--fw-bold); }
.ledger__cap span:last-child { font-weight: var(--fw-semibold); font-size: var(--fs-xs); color: var(--blue-200); }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger li { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding: 0.85rem 1.1rem 0.85rem 1.4rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink); }
.ledger li:first-child { border-top: 0; }
.ledger li::before { content: ""; position: absolute; left: 0; top: 0.9rem; bottom: 0.9rem; width: 3px; border-radius: 0 2px 2px 0; background: var(--cyan); }
.ledger li:nth-child(2)::before { background: var(--blue-500); }
.ledger li:nth-child(3)::before { background: var(--blue-700); }
.ledger li:nth-child(4)::before { background: var(--navy-800); }
.ledger li > span { min-width: 0; }
.ledger li b { flex: none; color: var(--navy-900); font-weight: var(--fw-black); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger li b small { font-weight: var(--fw-semibold); color: var(--muted); margin-left: 0.15rem; }
.ledger__note { margin: 0; padding: 0.75rem 1.1rem; border-top: 1px solid var(--line); background: var(--blue-50); color: var(--muted); font-size: var(--fs-xs); line-height: 1.5; }

@media (min-width: 960px) {
    .phead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); }
    .phead h1 { max-width: 15ch; }
}
@media (min-width: 960px) { .phead__wash { display: block; } }

.ledger__total { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin: 0; padding: 0.9rem 1.1rem; background: var(--navy-900); color: var(--white); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.ledger__total b { color: var(--cyan); font-size: 1.35rem; font-weight: var(--fw-black); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Etiquetas de sección: misma marca que los encabezados interiores */
.eyebrow, .eyebrow--dark { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: var(--s-3); padding: 0; background: transparent; border: 0; border-radius: 0;
    font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: 0; text-transform: none; color: var(--blue-700); }
.eyebrow::before, .eyebrow--dark::before { content: ""; flex: none; width: 2.25rem; height: 2px; background: var(--cyan); }
.eyebrow .icon { display: none; }
.section--dark .eyebrow, .infra .eyebrow, .cta-band .eyebrow { color: var(--cyan); }
.section--dark .eyebrow::before, .infra .eyebrow::before { background: rgba(76, 201, 240, 0.55); }

/* Servicios: cada tarjeta muestra su precio de partida en vez de un número */
.card--service::before { content: none; }
.card--service .card__icon { display: inline-grid; background: transparent; color: var(--blue-600); width: auto; height: auto; margin: 0 0 var(--s-3); }
.card__from { margin: 0 0 var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); text-align: left; }
.card__from b { color: var(--navy-900); font-size: var(--fs-md); font-weight: var(--fw-black); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (min-width: 900px) {
  .section__head--left { display: flex; align-items: center; gap: var(--s-4); }
  .section__head--left h2 { margin: 0; }
}
.hero .eyebrow, .page-hero .eyebrow { border: 0; padding: 0; }
.hero__price-label { text-transform: none; letter-spacing: 0.01em; font-size: var(--fs-xs); }
.extras legend { text-transform: none; letter-spacing: 0; font-size: var(--fs-md); color: var(--navy-900); }
@media (min-width: 1000px) { .page-armar .wa-float { display: none; } }

/* =====================================================================
   IDENTIDAD DE LA TARJETA: azul noche, acentos celestes y tipografía
   con carácter (Lora para títulos, Inter para texto y cifras).
   ===================================================================== */
h1, h2, .plan h3, .phead h1, .hero h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.012em; }
h1, .hero h1, .phead h1 { line-height: 1.12; }
h2 { line-height: 1.18; }
h3, h4 { font-family: var(--font); letter-spacing: -0.01em; }
.btn, .tag, .badge, .eyebrow, .phead__kicker, .ledger, .mock, .summary, .plan__price, .hero__price { font-family: var(--font); }

/* --- Superficies oscuras: portada, encabezados, infraestructura, cierre --- */
.hero, .phead {
    color: var(--white);
    background: linear-gradient(145deg, var(--navy-950) 0%, #0a1b52 48%, var(--navy-700) 100%);
    border-bottom: 0;
}
.hero::before, .phead::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); }
.hero::after { content: ""; position: absolute; right: -6%; top: -10%; width: min(70%, 820px); aspect-ratio: 1; z-index: 0; opacity: 0.85;
    background: url("/assets/img/hero-net.svg") center / contain no-repeat; }
.hero h1, .phead h1 { color: var(--white); }
.hero__lead, .phead__lead { color: #c9d6f5; }
.hero .eyebrow, .phead__kicker { color: var(--cyan); }
.phead__kicker::before, .hero .eyebrow::before { background: var(--cyan); }
.hero__price-label, .hero__price-unit { color: #9fb2dd; }
.hero__price { border-left-color: var(--cyan); }
.hero__price strong, .chips { color: var(--white); }
.chips .icon { color: var(--cyan); }
.hero .btn--ghost, .phead .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.hero .btn--ghost:hover, .phead .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.phead__wash { display: none !important; }
.phead { padding-bottom: clamp(3rem, 6vw, 5rem); }

/* La ficha blanca sobre el azul: el reverso de la tarjeta */
.ledger, .mock { box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.75); }
.phead h1 { max-width: none; font-size: clamp(2rem, 1rem + 3.4vw, 3.25rem); }
@media (min-width: 960px) { .phead h1 { max-width: 20ch; } }
.hero h1 { font-size: min(var(--fs-h1), 7vw); }
@media (min-width: 900px) { .hero h1 { font-size: min(var(--fs-h1), 3.5vw); } }

/* --- Cabecera sobre la portada: transparente arriba, sólida al bajar --- */
.brand__logo--light { display: none; }
.is-home .site-header.is-top { background: transparent; box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.is-home .site-header.is-top .main-nav a:not(.btn) { color: rgba(255, 255, 255, 0.92); }
.is-home .site-header.is-top .main-nav a[aria-current="page"]:not(.btn) { color: var(--cyan); background: transparent; }
.is-home .site-header.is-top .brand__tag { color: rgba(255, 255, 255, 0.72); border-left-color: rgba(255, 255, 255, 0.24); }
.is-home .site-header.is-top .nav-toggle { color: var(--white); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); }
.is-home .site-header.is-top .brand__logo { display: none; }
.is-home .site-header.is-top .brand__logo--light { display: block; }
@media (max-width: 899px) {
    .is-home .site-header.is-top .main-nav { background: var(--navy-950); border-top: 1px solid rgba(255, 255, 255, 0.12); }
}
.is-home .hero { margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); }

/* --- Entrada orquestada de la portada (una sola vez, al cargar) --- */
@media (prefers-reduced-motion: no-preference) {
    .hero__copy > *, .hero__visual { animation: rise 0.75s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
    .hero__copy > :nth-child(1) { animation-delay: 0.05s; }
    .hero__copy > :nth-child(2) { animation-delay: 0.14s; }
    .hero__copy > :nth-child(3) { animation-delay: 0.23s; }
    .hero__copy > :nth-child(4) { animation-delay: 0.32s; }
    .hero__copy > :nth-child(5) { animation-delay: 0.41s; }
    .hero__copy > :nth-child(6) { animation-delay: 0.5s; }
    .hero__visual { animation-delay: 0.38s; animation-duration: 0.9s; }
    .hero::after { animation: netin 1.6s ease-out both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes netin { from { opacity: 0; transform: scale(1.06); } to { opacity: 0.85; transform: none; } }
.footer-title { text-transform: none; letter-spacing: 0.01em; font-size: var(--fs-sm); color: var(--white); }
/* El foco debe verse también sobre las superficies oscuras */
.hero :focus-visible, .phead :focus-visible, .section--dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--cyan); }
.is-home .site-header.is-top :focus-visible { outline-color: var(--cyan); }

/* =====================================================================
   MOVIMIENTO CON SENTIDO
   Cada sección anima lo que esa sección explica, no por adorno:
   los precios se cuentan, los pasos se encadenan, el sitio se construye.
   Todo se apaga con prefers-reduced-motion y nada depende del JavaScript
   para que el contenido se vea.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
    /* Planes: la tarjeta elegida se adelanta un poco al entrar */
    .plan { transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1), box-shadow 0.45s, border-color 0.3s; }
    .plan:hover { transform: translateY(-6px); }
    .plan--featured.is-visible { animation: liftin 0.9s cubic-bezier(0.22, 0.8, 0.3, 1) 0.25s both; }

    /* Pasos: la línea entre 1, 2 y 3 se dibuja cuando llegas */
    @media (min-width: 800px) {
        .step:not(:last-child)::after { transform: scaleX(0); transform-origin: left center; transition: transform 0.6s ease 0.35s; }
        .step.is-visible:not(:last-child)::after { transform: scaleX(1); }
    }

    /* Servicios: las celdas aparecen en diagonal, como capas que se apilan */
    .card--service { transition: background 0.25s, transform 0.35s cubic-bezier(0.22, 0.8, 0.3, 1); }
    .card--service:hover { transform: translateY(-3px); }
    .card--service:hover .card__from b { color: var(--blue-600); }

    /* Infraestructura: respiración lenta del gráfico de servidores */
    .infra__art img { animation: breathe 9s ease-in-out infinite; }

    /* Por qué Tinfo: los vistos se marcan uno a uno */
    .checklist.is-visible li { animation: checkin 0.5s ease both; }
    .checklist.is-visible li:nth-child(2) { animation-delay: 0.1s; }
    .checklist.is-visible li:nth-child(3) { animation-delay: 0.2s; }
    .checklist.is-visible li:nth-child(4) { animation-delay: 0.3s; }
    .checklist.is-visible li:nth-child(5) { animation-delay: 0.4s; }

    /* Míralo en acción: el sitio se arma solo dentro del navegador */
    .media__frame.is-visible .skel { animation: build 0.55s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
    .media__frame.is-visible .skel--nav { animation-delay: 0.1s; }
    .media__frame.is-visible .skel--hero { animation-delay: 0.3s; }
    .media__frame.is-visible .skel-row .skel--card:nth-child(1) { animation-delay: 0.55s; }
    .media__frame.is-visible .skel-row .skel--card:nth-child(2) { animation-delay: 0.68s; }
    .media__frame.is-visible .skel-row .skel--card:nth-child(3) { animation-delay: 0.81s; }
    .media__frame.is-visible .skel--btn { animation-delay: 1s; }

    /* Preguntas: la respuesta se despliega en vez de aparecer de golpe */
    .faq details[open] p { animation: unfold 0.35s ease both; }

    /* Cierre: el botón principal late una vez cuando aparece */
    .cta-band.is-visible .btn--primary { animation: bump 0.6s ease 0.3s both; }
}

@keyframes liftin { from { transform: translateY(14px) scale(0.985); } to { transform: none; } }
@keyframes checkin { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Cifras que se cuentan: evita que el ancho salte mientras suben */
.plan__price, .hero__price strong, .ledger__total b { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
    .card--service.is-visible { animation: rise 0.55s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
    .grid--4 > .card--service:nth-child(1).is-visible { animation-delay: 0s; }
    .grid--4 > .card--service:nth-child(2).is-visible, .grid--4 > .card--service:nth-child(5).is-visible { animation-delay: 0.07s; }
    .grid--4 > .card--service:nth-child(3).is-visible, .grid--4 > .card--service:nth-child(6).is-visible { animation-delay: 0.14s; }
    .grid--4 > .card--service:nth-child(4).is-visible, .grid--4 > .card--service:nth-child(7).is-visible { animation-delay: 0.21s; }
    .grid--4 > .card--service:nth-child(8).is-visible { animation-delay: 0.28s; }
}
