@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════
   TuFacturaSV — Tema "Torogoz" (MUESTRA)
   Se carga solo con ?tema=torogoz. No toca el sitio actual.
   Paleta: teal petróleo + naranja sobre fondo crema.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --primary:        #0e6b72;
    --primary-dark:   #0a4c51;
    --primary-light:  #1fa0a8;
    --primary-pale:   #e6f2f1;
    --accent:         #f26a21;
    --accent-dark:    #d8551a;
    --accent-pale:    #fdf0e7;
    --navy:           #0c4a50;
    --navy-2:         #0e5a61;
    --text:           #123a3f;
    --text-2:         #3c5a5f;
    --text-muted:     #5b7378;
    --text-faint:     #94a9ad;
    --bg:             #fdfbf6;
    --bg-2:           #f7f3ea;
    --bg-3:           #f1ece0;
    --border:         #e7dfd2;
    --border-2:       #d3c8b5;
    --radius:         14px;
    --radius-lg:      22px;
    --shadow-sm:      0 1px 3px rgba(12,74,80,0.05), 0 1px 2px rgba(12,74,80,0.04);
    --shadow:         0 6px 20px rgba(12,74,80,0.07), 0 2px 6px rgba(12,74,80,0.04);
    --shadow-lg:      0 24px 60px rgba(12,74,80,0.10), 0 8px 20px rgba(12,74,80,0.05);
    --shadow-blue:    0 10px 30px rgba(14,107,114,0.14);
    --script:         'Caveat', 'Segoe Script', cursive;
}

/* ── Fondo crema global ── */
body { background: var(--bg); }
.features, .dte-types, .testimonials, .contact, .numbers { background: var(--bg); }
.how, .pricing, .faq, .modules { background: var(--bg-2); }

/* ── Acentos manuscritos ──
   .gradient-text envuelve la segunda línea del H1 ("para tu negocio"). */
.gradient-text {
    font-family: var(--script);
    font-weight: 700;
    font-size: 1.18em;
    line-height: 1;
    letter-spacing: .005em;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--primary);
    padding-right: .08em;
}
.gradient-text-light {
    font-family: var(--script);
    font-weight: 700;
    font-size: 1.15em;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #ffd9a8;
}

/* ── Botones: el CTA principal pasa a naranja ── */
.btn--primary { background: var(--accent); box-shadow: 0 4px 14px rgba(242,106,33,.28); }
.btn--primary:hover { background: var(--accent-dark); box-shadow: 0 8px 22px rgba(242,106,33,.36); }
.btn--ghost { color: var(--primary); border-color: var(--border-2); background: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; border-color: var(--primary); }
.btn--outline { color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary-pale); }
.btn--white { color: var(--primary); }
.btn--pulse { animation: ctaPulseWarm 2.4s ease-in-out infinite; }
@keyframes ctaPulseWarm {
    0%   { box-shadow: 0 4px 14px rgba(242,106,33,.28), 0 0 0 0 rgba(242,106,33,.5); }
    70%  { box-shadow: 0 4px 14px rgba(242,106,33,.28), 0 0 0 12px rgba(242,106,33,0); }
    100% { box-shadow: 0 4px 14px rgba(242,106,33,.28), 0 0 0 0 rgba(242,106,33,0); }
}

/* ── Cinta promo y navbar ── */
.promobar { background: var(--navy); }
.promobar__btn { background: var(--accent); }
.navbar { background: rgba(253,251,246,0.88); }
.navbar.scrolled { box-shadow: 0 1px 14px rgba(12,74,80,0.07); }
.navbar__links a:hover { color: var(--primary); background: var(--primary-pale); }
.nav-pos__tag { background: var(--accent); }

@media (max-width: 768px) {
    .navbar__links { background: rgba(253,251,246,0.98); }
}

/* ═══════════ FONDOS: degradados en capas + ondas + trama de puntos ═══════════ */

/* Hero: tres manchas de color superpuestas, sin bordes duros */
.hero {
    background:
        radial-gradient(58% 52% at 76% 34%, rgba(31,160,168,.20) 0%, transparent 62%),
        radial-gradient(42% 40% at 14% 16%, rgba(242,106,33,.09) 0%, transparent 62%),
        radial-gradient(80% 55% at 46% 104%, rgba(14,107,114,.09) 0%, transparent 60%),
        linear-gradient(168deg, #eef6f4 0%, var(--bg) 50%, #fbf5ea 100%);
    padding-bottom: 104px;
}
/* Trama de puntos arriba a la derecha */
.hero::before {
    content: ''; position: absolute; z-index: 0; pointer-events: none;
    top: 96px; right: 34px; width: 168px; height: 132px;
    background-image: radial-gradient(circle, var(--accent) 1.6px, transparent 1.7px);
    background-size: 17px 17px; opacity: .34;
    border-radius: 0; inset: auto 34px auto auto; top: 96px;
}
/* Onda que cierra el hero contra el fondo de la página */
.hero::after {
    content: ''; position: absolute; z-index: 1; pointer-events: none;
    left: 0; right: 0; bottom: -1px; top: auto;
    width: 100%; height: 96px; border-radius: 0; background: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'><path d='M0 44C210 92 400 6 706 32S1152 90 1440 26V96H0Z' fill='%23fdfbf6'/></svg>");
    background-repeat: no-repeat; background-size: 100% 100%;
}

/* Ondas entre secciones claras. Cada una toma el color de su propia sección
   y sube por encima del borde de la anterior. Van solo en las secciones arena
   que siguen a una clara: entre dos del mismo color no se verían. */
.modules, .pricing, .faq { position: relative; }
.modules::before, .pricing::before, .faq::before {
    content: ''; position: absolute; z-index: 0; pointer-events: none;
    left: 0; right: 0; top: -1px; height: 72px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'><path d='M0 0h1440v22c-286 56-500-22-742-6S246 74 0 30Z' fill='%23f7f3ea'/></svg>");
    background-repeat: no-repeat; background-size: 100% 100%;
}
.modules > .container, .pricing > .container, .faq > .container { position: relative; z-index: 1; }

/* Manchas suaves también en características y testimonios */
.features {
    background:
        radial-gradient(38% 44% at 96% 8%, rgba(31,160,168,.10) 0%, transparent 62%),
        var(--bg);
}
.testimonials {
    background:
        radial-gradient(40% 46% at 3% 14%, rgba(242,106,33,.07) 0%, transparent 62%),
        var(--bg);
}

.hero__badge { background: var(--primary-pale); border-color: #c8e0dd; color: var(--primary); }
.hero__pos { background: #fff; }
.hero__pos-icon { background: var(--accent-pale); }
.hero__pos-arrow { color: var(--accent); }
.hero-art__blob {
    background: radial-gradient(circle at 35% 30%, #dcece9 0%, #e4f0ec 45%, #fbf3e6 100%);
}
/* La escena ya trae su propio globo y sus tarjetas: las flotantes del tema
   anterior se le encimaban y ensuciaban la composición. */
.hero__visual--tema .hero__float { display: none; }
/* El pájaro del logo ya hace de icono; el rayo quedaba de más al lado. */
.navbar__logo .logo-icon { display: none; }
/* El logo ya no trae el rectángulo blanco alrededor: a 60px la marca tocaba
   el borde de la barra, porque ese margen lo ponía el fondo recortado. */
.navbar .logo-img { height: 44px; }
.navbar.scrolled .logo-img { height: 38px; }

/* ═══════════ ESCENAS (imágenes completas con mascota incluida) ═══════════ */
.escena { display: block; width: 100%; height: auto; }

/* El fondo de la escena del hero es casi blanco: multiply lo funde con el
   crema de la página en vez de dejar un rectángulo. Nada que recortar. */
.escena--hero {
    mix-blend-mode: multiply;
    max-width: 700px; margin-left: auto; margin-right: -70px;
}
/* Más aire para la escena: la columna del texto cede espacio y la imagen
   sangra un poco fuera del contenedor (.hero recorta lo que sobre). */
.hero__inner { grid-template-columns: 0.92fr 1.16fr; gap: 36px; }

/* multiply solo mezcla dentro de su grupo de composición, y el z-index de
   .hero__inner creaba un contexto aislado que dejaba fuera el fondo de .hero
   (el blanco habría quedado como un rectángulo). Al quitarlo, el degradado
   entra en la mezcla; las capas decorativas bajan detrás del contenido. */
.hero__inner { z-index: auto; }
.hero::before, .hero::after { z-index: -1; }

/* La del POS también trae fondo casi blanco: al pasar la sección a claro
   se funde igual que la del hero, sin borde de lámina pegada. */
.escena--pos { mix-blend-mode: multiply; max-width: 620px; margin: 0 auto; }

/* ═══════════ HERO DE LA MUESTRA ═══════════ */
.hero__visual--tema { position: relative; display: block; padding: 34px 0 0 0; min-height: 400px; }

/* Laptop */
.tv-laptop { position: relative; z-index: 2; width: 100%; max-width: 470px; margin-left: auto; }
.tv-laptop__screen {
    background: #fff; border: 1px solid var(--border); border-radius: 16px 16px 6px 6px;
    box-shadow: var(--shadow-lg); overflow: hidden; padding: 9px;
}
.tv-laptop__base {
    display: block; height: 12px; margin: 0 auto;
    width: 118%; max-width: none; transform: translateX(-7.6%);
    background: linear-gradient(#e9e2d5, #d9cfbe);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 22px rgba(12,74,80,.13);
}

/* Dashboard dentro de la laptop */
.tv-dash { display: flex; gap: 12px; background: var(--bg-2); border-radius: 10px; padding: 12px; min-height: 250px; }
.tv-dash__side { width: 52px; display: flex; flex-direction: column; gap: 7px; flex-shrink: 0; }
.tv-dash__brand { height: 16px; border-radius: 5px; background: var(--primary); opacity: .85; }
.tv-dash__nav { height: 9px; border-radius: 4px; background: var(--border); }
.tv-dash__nav.is-on { background: var(--accent); opacity: .85; }
.tv-dash__main { flex: 1; background: #fff; border-radius: 9px; padding: 14px; display: flex; flex-direction: column; }
.tv-dash__head { font-size: .74rem; font-weight: 700; color: var(--text-muted); }
.tv-dash__amount { font-size: 1.6rem; font-weight: 900; color: var(--navy); letter-spacing: -.02em; margin: 2px 0 12px; }
.tv-dash__chart { display: flex; align-items: flex-end; gap: 7px; height: 88px; margin-bottom: 14px; }
.tv-dash__chart span { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--primary-light), var(--primary)); opacity: .85; }
.tv-dash__chart span:last-child { background: linear-gradient(#f89a5e, var(--accent)); opacity: 1; }
.tv-dash__kpis { display: flex; gap: 8px; margin-top: auto; }
.tv-dash__kpis div { flex: 1; background: var(--bg-2); border-radius: 8px; padding: 7px 8px; text-align: center; }
.tv-dash__kpis strong { display: block; font-size: .95rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.tv-dash__kpis small { font-size: .58rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ═══════════════ TORI: slots de la mascota ═══════════════
   Cada slot se posiciona solo. Mientras falte el PNG se ve el recuadro
   punteado con el nombre del archivo; al copiarlo, la imagen ocupa su lugar. */
.tori {
    position: absolute; z-index: 3; pointer-events: none;
    height: auto; filter: drop-shadow(0 14px 22px rgba(12,74,80,.16));
    animation: floaty 7s ease-in-out infinite;
}
.tori--empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    aspect-ratio: 4 / 5;
    border: 2.5px dashed var(--primary-light); border-radius: 20px;
    background: rgba(255,255,255,.75); text-align: center;
    filter: none; animation: none;
}
.tori--empty b { font-size: 2rem; line-height: 1; }
.tori--empty i {
    font-style: normal; font-family: var(--font);
    font-size: .62rem; font-weight: 600; color: var(--primary);
    letter-spacing: .01em; padding: 0 8px; word-break: break-all;
}
/* Las secciones que alojan a Tori necesitan ser el marco de referencia */
.features > .container, .pos > .container, .how > .container,
.pricing > .container, .testimonials > .container { position: relative; }

/* <picture> no debe romper el posicionado: la img cuelga del contenedor */
.tori-pic { display: contents; }

/* Posiciones. Todas las poses miran a la derecha, así que van a la izquierda
   de su contenido para "mirar hacia adentro"; las dos simétricas van a la derecha.
   Solo se fija el ancho: el alto lo resuelve la proporción de cada PNG. */
.tori--hero        { left: -30px;  bottom: -20px; width: 168px; }
.tori--features    { left: -30px;  top: -16px;    width: 160px; }
.tori--pos         { left: -30px;  top: -4px;     width: 235px; z-index: 4; }
.tori--pasos       { left: -26px;  top: 0;        width: 200px; }
.tori--precios     { right: -18px; top: 2px;      width: 128px; }
.tori--testimonios { right: -24px; top: -14px;    width: 205px; }

/* Nota manuscrita junto a los planes */
.tori-note {
    position: absolute; z-index: 4; pointer-events: none;
    font-family: var(--script); font-weight: 600; line-height: 1.12;
    font-size: 1.24rem; color: var(--primary);
}
.tori-note--precios { right: 100px; top: 138px; width: 168px; text-align: right; transform: rotate(-3deg); }

/* Entre 1024 y 1280 el contenido centrado deja menos aire a los lados:
   los laterales se achican para no invadir los títulos. */
@media (max-width: 1280px) {
    .tori--features    { left: -12px;  width: 132px; }
    .tori--pasos       { left: -12px;  width: 165px; }
    /* La cabecera del POS es más ancha (760px) y no deja aire suficiente
       en esta franja: preferimos no mostrarlo antes que pisar el título. */
    .tori--pos         { display: none; }
    .tori--precios     { right: -10px; width: 108px; }
    .tori--testimonios { right: -12px; width: 168px; }
    .tori-note--precios { display: none; }
}
@media (max-width: 1024px) {
    .tori--features, .tori--pasos, .tori--precios,
    .tori--pos, .tori--testimonios { display: none; }
}

/* Globo de diálogo de Tori */
.tv-bubble {
    position: absolute; z-index: 5; top: -46px; right: -14px; width: 218px;
    background: #fff; border: 2px solid var(--primary-light); border-radius: 26px;
    padding: 15px 20px; text-align: center; pointer-events: none;
    font-size: .93rem; font-weight: 700; line-height: 1.4; color: var(--navy);
    box-shadow: 0 10px 26px rgba(12,74,80,.10);
}
.tv-bubble b { color: var(--primary-light); font-weight: 800; }
/* Punta del globo, apuntando hacia Tori (abajo a la izquierda) */
.tv-bubble::before, .tv-bubble::after {
    content: ''; position: absolute; left: 34px; bottom: -15px;
    width: 0; height: 0;
    border-left: 13px solid transparent; border-right: 13px solid transparent;
    border-top: 15px solid var(--primary-light);
}
.tv-bubble::after {
    bottom: -11px; border-top-color: #fff;
    border-left-width: 11px; border-right-width: 11px; left: 36px;
}

@media (max-width: 1024px) {
    /* Igual que en .pos__layout: el tema carga después, así que hay que
       repetir el apilado o sobreviven las dos columnas y la escena se encoge. */
    .hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .hero { padding-bottom: 96px; }
    .hero__visual--tema { max-width: 470px; margin: 0 auto; padding-top: 20px; min-height: 0; }
    .escena--hero { max-width: 100%; margin: 0 auto; }
    .tv-bubble { top: -22px; right: -6px; width: 182px; font-size: .84rem; padding: 12px 16px; }
    .tori--hero { width: 140px; height: 155px; left: -12px; bottom: -8px; }
}
@media (max-width: 640px) {
    .hero { padding-bottom: 72px; }
    .hero::after { height: 58px; }
    .hero::before { display: none; } /* la trama de puntos no cabe en móvil */
}
@media (prefers-reduced-motion: reduce) { .tori { animation: none; } }

/* Subrayado ondulado bajo el acento manuscrito (como "complicaciones" en el mockup) */
.gradient-text {
    padding-bottom: .12em;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 8 C 18 1, 32 11, 48 6 S 78 1, 94 7 S 112 10, 118 5' fill='none' stroke='%23f26a21' stroke-width='2.6' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% .28em;
}

/* ── Trust: de tira de texto a tres tarjetas flotando en el crema ── */
.trust { background: transparent; border-top: none; border-bottom: none; padding: 10px 0 46px; }
.trust__logo {
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    padding: 14px 22px; color: var(--text-2); font-size: .88rem; font-weight: 700;
    box-shadow: var(--shadow-sm);
}

/* ── Features: icono a la izquierda, rejilla de 3 (como el mockup) ── */
.features__grid { grid-template-columns: repeat(3, 1fr); }
.feature-card {
    display: grid; grid-template-columns: auto 1fr; column-gap: 15px; align-content: start;
    padding: 24px 22px;
}
.feature-card--highlight { grid-column: span 1; }
.feature-icon {
    grid-row: 1 / span 3; width: 44px; height: 44px; margin-bottom: 0;
    border-radius: 13px; font-size: 1.25rem;
}
.feature-card h3 { align-self: center; margin-bottom: 6px; font-size: .97rem; }
.feature-card p, .feature-list { grid-column: 2; }
.feature-list { margin-top: 10px; }
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features__grid { grid-template-columns: 1fr; } }

/* ── POS: tarjeta oscura redondeada e insertada, no banda a todo lo ancho ── */
.pos { margin: 0 22px; border-radius: 34px; padding: 64px 0; }

/* La sección se veía enorme porque los 6 beneficios apilados hacían una
   columna casi el doble de alta que el visual, y el grid los centraba
   dejando un hueco grande. En dos columnas ambos lados quedan parejos. */
.pos__layout { grid-template-columns: 1.08fr 1.12fr; gap: 34px; }
.pos__points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; }
.pos-point { gap: 11px; }
.pos-point__icon { width: 38px; height: 38px; border-radius: 11px; font-size: 1.1rem; }
.pos-point h4 { font-size: .92rem; }
.pos-point p { font-size: .82rem; line-height: 1.5; }
.pos__cta { grid-column: 1 / -1; margin-top: 4px; }
.pos .section-header { margin-bottom: 34px; }

/* El tema carga después de style.css, así que hay que repetir aquí el
   apilado de móvil: si no, las dos columnas sobreviven y el visual queda
   reducido a unas decenas de píxeles. */
@media (max-width: 900px) {
    .pos__layout { grid-template-columns: 1fr; gap: 28px; }
    .pos__points { grid-template-columns: 1fr 1fr; }
    .escena--pos { max-width: 460px; }
}
@media (max-width: 640px) {
    .pos { margin: 0 12px; border-radius: 24px; padding: 48px 0; }
    .pos__points { grid-template-columns: 1fr; }
}

/* ── Pasos: círculo numerado con línea punteada, como el mockup ── */
.steps { align-items: flex-start; gap: 0; }
.step { padding: 0 18px; text-align: center; }
.step__num {
    width: 54px; height: 54px; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff; opacity: 1;
    border-radius: 50%; font-size: 1.25rem; font-weight: 800;
    box-shadow: 0 8px 18px rgba(14,107,114,.26);
}
.step__arrow {
    flex: 0 0 70px; align-self: flex-start; margin-top: 27px; padding-top: 0;
    height: 2px; color: transparent; overflow: hidden;
    background-image: linear-gradient(90deg, var(--border-2) 0 9px, transparent 9px 18px);
    background-size: 18px 2px;
}
@media (max-width: 768px) { .step { padding: 0; } }

/* ── Tarjetas: bordes cálidos, hover teal ── */
.feature-card, .dte-card, .testimonial-card, .pricing-card, .faq-item, .contact__form {
    background: #fff; border-color: var(--border);
}
.feature-card:hover, .dte-card:hover, .testimonial-card:hover { border-color: #bcd9d5; box-shadow: var(--shadow-blue); }
.feature-card--highlight {
    background: linear-gradient(135deg, var(--primary-pale) 0%, #d9ebe7 100%);
    border-color: #bcd9d5;
}
.feature-icon { background: var(--accent-pale); }
.section-tag { background: var(--primary-pale); border-color: #c8e0dd; color: var(--primary); }
.section-header h2 { color: var(--navy); }

/* ── Pasos / módulos ── */
.step__num { color: var(--accent); opacity: .28; }
.modules__stage { background: linear-gradient(150deg, #eaf3f1 0%, #f6efe2 100%); }
.modules__panel-icon { color: var(--primary); }
.modules__track-fill { background: linear-gradient(var(--primary), var(--primary-light)); }
.module-item__num { color: var(--accent); }
.modules__mock-row::before { background: var(--primary-pale); }
.modules__mock-row.is-hot::before { background: var(--primary); }
.modules__mock-row.is-hot { border-color: #bcd9d5; }

/* ── Banda de cifras ── */
.numbers__banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.numbers__banner::before { background: radial-gradient(circle, rgba(31,160,168,.35), transparent 70%); }
.number-stat__num .suffix { color: #ffb877; }
.number-stat__label { color: rgba(255,255,255,.65); }

/* ── DTE / precios ── */
.dte-code { background: var(--accent-pale); color: var(--accent-dark); }
.pricing-card--popular {
    border-color: var(--primary);
    background: linear-gradient(160deg, var(--primary-pale) 0%, #fff 60%);
    box-shadow: var(--shadow-blue);
}
.pricing-card__badge { background: var(--accent); }
.pricing-card__features li::before { color: var(--primary); }
.price__tax { background: var(--primary-pale); color: var(--primary); }
.pricing__pos-note a { background: var(--accent-pale); border-color: #f5cdae; color: var(--accent-dark); }
.pricing__pos-note a:hover { background: #fff; border-color: var(--accent); }
.pricing-card__annual { color: var(--accent-dark); }

/* ── Testimonios ── */
.testimonial-stars { color: var(--accent); }
.testimonial-avatar { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }

/* ── FAQ / formulario ── */
.faq-item[open] { border-color: #bcd9d5; }
.faq-item summary::after { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea { background: var(--bg-2); border-color: var(--border); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,107,114,.12); background: #fff;
}
.contact-item a { color: var(--primary); }

/* ── Sección POS: de bloque verde oscuro a tarjeta clara ──
   El verde apagado ensuciaba la página entera y dejaba la escena (de fondo
   celeste) como un recorte pegado encima. En claro, la escena se funde. */
.pos {
    background:
        radial-gradient(52% 60% at 84% 12%, rgba(31,160,168,.20) 0%, transparent 64%),
        radial-gradient(46% 52% at 8% 92%, rgba(242,106,33,.10) 0%, transparent 62%),
        linear-gradient(148deg, #dcefea 0%, #ecf7f4 46%, #fdf0de 100%);
    border: 1px solid #cde3dd;
    box-shadow: 0 18px 46px rgba(12,74,80,.07);
}
.pos::before { background: none; }

/* multiply necesita alcanzar el fondo de .pos: el z-index del contenedor y
   el transform/will-change de la animación de entrada lo aislaban. */
.pos > .container { z-index: auto; }
.pos__visual { will-change: auto; }
.pos .section-header h2 { color: var(--navy); }
.pos .section-header p  { color: var(--text-muted); }
.section-tag--light { color: var(--primary); background: #fff; border-color: #c8e0dd; }
.gradient-text-light { color: var(--accent); }
.pos-rubro {
    color: var(--text-2); background: #fff;
    border-color: var(--border); box-shadow: var(--shadow-sm);
}
.pos-point__icon {
    background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.pos-point h4 { color: var(--navy); }
.pos-point p  { color: var(--text-muted); }
.pos__badge {
    background: #eaf7ef; color: #15803d; border-color: #b7e4c7;
}
/* En claro, el botón blanco era invisible: pasa a ser el naranja principal */
.pos .btn--white { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(242,106,33,.28); }
.pos .btn--white:hover { background: var(--accent-dark); }
.btn--ghost-light { background: #fff; color: var(--primary); border-color: var(--border-2); }
.btn--ghost-light:hover { background: var(--primary-pale); border-color: var(--primary); }

.pos-mock { border-color: var(--border); }
.pos-mock__top { background: var(--navy); }
.pos-mock__dot { background: var(--accent); }
.pos-mock__grid { background: var(--bg-2); }
.pos-mock__item { border-color: var(--border); }
.pos-mock__btn { background: var(--accent); }

/* ── CTA final y footer ── */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.footer { background: var(--navy); }
.footer__brand .logo-text strong { color: #ffb877; }
.footer__col a:hover { color: #fff; }

/* ── Mockup del navegador en el hero ── */
.mock-nav-item--active { background: var(--primary-pale); color: var(--primary); }
.mock-badge { background: var(--primary-pale); color: var(--primary); }
.mock-tr--alt { background: var(--primary-pale); }
.mock-btn { background: var(--accent); }

/* ── Editor inline (tuerca / barra admin) ── */
.editor-fab { background: var(--primary); }
.inline-bar { background: var(--navy); }
.inline-bar .ib-toggle { background: var(--accent); }
.inline-bar .ib-toggle:hover { background: var(--accent-dark); }
body.edit-mode [data-editable],
body.edit-mode [data-editable-rich] { outline-color: rgba(14,107,114,.5); }
body.edit-mode [data-editable]:hover,
body.edit-mode [data-editable-rich]:hover { outline-color: var(--primary); background: rgba(14,107,114,.05); }
