/* ==========================================================================
   Nophas — Sistema de diseño "Boutique Premium"
   --------------------------------------------------------------------------
   Direccion estetica: lujo gastronomico. Pergamino, verde bosque, carbon y
   un dorado usado con medida. Nada de neon, nada de glow, nada de hacker.

   Reglas del sistema:
   - Tipografia display serif (Playfair Display) + sans geometrica (Jost).
   - El dorado es un acento de peso fino, nunca un color de superficie.
   - Las separaciones son lineas calidas de 1px, no sombras.
   - Ritmo vertical generoso: el aire es lo que hace que parezca caro.
   - Contraste verificado: todos los pares de texto pasan 4.5:1
     (tools/color/test-contraste.js lo comprueba sobre este mismo fichero).

   Ficheros: este CSS + assets/fonts/ (self-alojadas, sin CDN de terceros).
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
    /* --- Pergamino y superficies --- */
    --nph-bg:            #FAF7F0;   /* crema pergamino, fondo principal */
    --nph-bg-alt:        #F2ECDF;   /* crema profunda, secciones alternas */
    --nph-surface:       #FFFFFF;   /* tarjetas sobre fondo crema */
    --nph-surface-2:     #FBF8F2;   /* tarjetas secundarias */

    /* --- Verde bosque --- */
    --nph-forest:        #16352A;   /* profundo: CTA principal y secciones oscuras */
    --nph-forest-2:      #24513C;   /* medio: enlaces y acentos */
    --nph-forest-3:      #3E7A5A;   /* claro: detalles */
    --nph-forest-soft:   #E8EFE9;   /* fondo verde muy suave */

    /* --- Carbon --- */
    --nph-ink:           #1B1A18;   /* texto principal */
    --nph-ink-2:         #46423B;   /* texto secundario */
    --nph-ink-3:         #6A655C;   /* texto terciario */

    /* --- Dorado: acento de lujo --- */
    --nph-gold:          #8A6420;   /* texto de acento sobre crema (5:1) */
    --nph-gold-light:    #D9B661;   /* acento sobre verde bosque (6.9:1) */
    --nph-gold-line:     #C9A227;   /* filetes y subrayados, nunca texto */

    /* --- Semaforo: ajustados para contraste sobre crema --- */
    --nph-red:           #98261F;
    --nph-red-bg:        #FBEEEC;
    --nph-amber:         #8A5A12;
    --nph-amber-bg:      #FAF0DC;
    --nph-green:         #1E6B47;
    --nph-green-bg:      #E9F3ED;

    /* --- Lineas --- */
    --nph-line:          #E4DCCC;   /* separadores decorativos */
    --nph-line-strong:   #8E8371;   /* bordes de formulario (3.5:1) */

    /* --- WhatsApp: el verde de marca, peroChecked para texto --- */
    --nph-whatsapp:      #1E6B47;
    --nph-whatsapp-dark: #175437;

    /* --- Tipografia --- */
    --nph-display: 'Playfair Display', 'Iowan Old Style', 'Apple Garamond',
                   'Times New Roman', Georgia, serif;
    --nph-sans:    'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                   Roboto, 'Helvetica Neue', Arial, sans-serif;
    --nph-mono:    ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

    /* --- Medidas --- */
    --nph-wrap:       1160px;
    --nph-wrap-text: 680px;
    --nph-gap:        28px;

    /* El dorado se usa para filetes y detalles, nunca para superficies. */
    --nph-hairline: 1px solid var(--nph-line);
    --nph-hairline-gold: 1px solid var(--nph-gold-line);

    --nph-radius:     3px;
    --nph-radius-lg:  5px;
    --nph-radius-sm:  2px;

    /* Sombras minimas: en este sistema las profundidad viene del borde. */
    --nph-shadow:     0 1px 2px rgba(27, 26, 24, .04);
    --nph-shadow-lift: 0 12px 32px rgba(22, 53, 42, .10);

    --nph-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        /* IMPORTANTE: transition-property tiene como valor inicial "all".
           Si solo se limita la duracion, el navegador "anima" CUALQUIER
           propiedad que cambie (por ejemplo un max-width) y eso obliga a
           rehacer el layout. transition-property: none lo evita. */
        transition-property: none !important;
    }
}

body.nph-body {
    margin: 0;
    background: var(--nph-bg);
    color: var(--nph-ink);
    font-family: var(--nph-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.68;
    letter-spacing: .002em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Papel: una textura casi imperceptible, hecha solo con CSS. */
body.nph-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .5;
    background-image:
        radial-gradient(circle at 18% 12%, rgba(201, 162, 39, .05), transparent 42%),
        radial-gradient(circle at 84% 78%, rgba(22, 53, 42, .045), transparent 46%);
}

main, header, footer { position: relative; z-index: 1; }

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }

a { color: var(--nph-forest-2); text-decoration: none; }
a:hover { color: var(--nph-forest); text-decoration: underline; text-underline-offset: 3px; }

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

h1, h2, h3, h4 {
    font-family: var(--nph-display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.018em;
    margin: 0 0 .55em;
    color: var(--nph-ink);
    text-wrap: balance;
}

h1[id], h2[id], h3[id] { scroll-margin-top: 100px; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--nph-ink); }

.nph-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--nph-forest);
    color: var(--nph-bg);
    padding: 14px 24px;
    z-index: 999;
    font-weight: 600;
}
.nph-skip:focus { left: 12px; top: 12px; }

/* ==========================================================================
   3. TIPOGRAFIA Y UTILIDADES
   ========================================================================== */

/**
 * El contenedor. Todo el ancho util vive dentro de el.
 * Sin esta regla el header se desborda: es el unico elemento que
 * fija el ancho maximo y el centrado de la pagina.
 */
.nph-wrap {
    width: 100%;
    max-width: var(--nph-wrap);
    margin-inline: auto;
    padding-inline: 20px;
}

/* Antetitulo: versalitas espaciadas. El recurso tipografico del estilo. */
.nph-eyebrow {
    display: inline-block;
    font-family: var(--nph-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--nph-gold);
    margin: 0 0 20px;
    padding: 0;
    background: none;
    border: 0;
}

.nph-muted { color: var(--nph-ink-2); font-weight: 400; }

/* ==========================================================================
   4. BOTONES
   ========================================================================== */

.nph-btn {
    --btn-bg: transparent;
    --btn-fg: var(--nph-forest);
    --btn-bd: var(--nph-line-strong);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: var(--nph-radius-sm);
    border: 1px solid var(--btn-bd);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--nph-sans);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .045em;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: background-color .18s var(--nph-ease), color .18s var(--nph-ease),
                border-color .18s var(--nph-ease), transform .18s var(--nph-ease);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(201, 162, 39, .18);
}

/* Primario: verde bosque. El unico bloque de color solido del sitio. */
.nph-btn--primary {
    --btn-bg: var(--nph-forest);
    --btn-fg: var(--nph-bg);
    --btn-bd: var(--nph-forest);
}
.nph-btn--primary:hover {
    --btn-bg: var(--nph-forest-2);
    --btn-bd: var(--nph-forest-2);
    color: var(--nph-bg);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Secundario: solo contour, con un filete dorado al pasar el cursor. */
.nph-btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--nph-forest);
    --btn-bd: var(--nph-line-strong);
}
.nph-btn--ghost:hover {
    --btn-bd: var(--nph-gold);
    --btn-bg: rgba(201, 162, 39, .07);
    color: var(--nph-forest);
    transform: translateY(-1px);
    text-decoration: none;
}

.nph-btn--block { display: flex; width: 100%; }

.nph-link {
    color: var(--nph-forest-2);
    font-weight: 500;
    border-bottom: 1px solid var(--nph-gold-line);
    padding-bottom: 1px;
}
.nph-link:hover { color: var(--nph-forest); border-bottom-color: var(--nph-forest); }

/* ==========================================================================
   5. CABECERA
   ========================================================================== */

.nph-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(250, 247, 240, .92);
    backdrop-filter: saturate(150%) blur(10px);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    border-bottom: var(--nph-hairline);
}

.nph-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}

.nph-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--nph-display);
    font-weight: 600;
    font-size: 23px;
    letter-spacing: -.01em;
    color: var(--nph-forest);
    flex: none;
}
.nph-logo:hover { text-decoration: none; color: var(--nph-forest); }

/* El monograma: un rombo de verde bosque con filo dorado. */
.nph-logo__mark {
    width: 26px;
    height: 26px;
    flex: none;
    background: var(--nph-forest);
    border: 1px solid var(--nph-gold-line);
    transform: rotate(45deg);
    border-radius: 1px;
}

.nph-nav { margin-left: auto; }

.nph-nav__list {
    display: flex;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nph-nav__list a {
    color: var(--nph-ink-2);
    font-size: 15px;
    font-weight: 450;
    letter-spacing: .01em;
    padding: 6px 0;
    display: inline-block;
    position: relative;
}
.nph-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--nph-gold-line);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--nph-ease);
}
.nph-nav__list a:hover {
    color: var(--nph-forest);
    text-decoration: none;
}
.nph-nav__list a:hover::after { transform: scaleX(1); }

.nph-header__cta { margin-left: 8px; }
.nph-header__cta .nph-btn { padding: 13px 22px; font-size: 13.5px; }

.nph-burger {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    background: transparent;
    border: 1px solid var(--nph-line-strong);
    border-radius: var(--nph-radius-sm);
    cursor: pointer;
    padding: 0;
    position: relative;
}
.nph-burger span {
    position: absolute;
    left: 13px;
    width: 18px;
    height: 1.5px;
    background: var(--nph-forest);
    transition: transform .22s var(--nph-ease), opacity .18s var(--nph-ease);
}
.nph-burger span:nth-child(1) { top: 16px; }
.nph-burger span:nth-child(2) { top: 22px; }
.nph-burger span:nth-child(3) { top: 28px; }

.nph-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nph-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nph-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   6. HERO
   ========================================================================== */

.nph-hero {
    padding: 92px 0 76px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42%),
        var(--nph-bg);
}

.nph-hero__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 68px;
    align-items: center;
}

.nph-hero__copy { min-width: 0; }
.nph-hero__visual { min-width: 0; }

/* Titular: serif grande, con la frase clave en cursiva en verde bosque. */
.nph-hero__title {
    font-size: clamp(34px, 4.9vw, 58px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.028em;
    margin-bottom: 26px;
    color: var(--nph-ink);
    /* NOTA: se usa em, NO ch. La unidad ch depende del ancho del glifo "0" de
       la fuente: al cargar la webfont el valor cambia y el navegador rehace
       el layout de todo el titular (y de la pagina entera). em es estable
       porque depende solo del tamano de fuente. */
    max-width: 9em;
}

/* La frase en cursiva va en su propia linea: es una pausa editorial,
   no una continuacion del titular. */
.nph-hero__title em {
    display: block;
    font-style: italic;
    color: var(--nph-forest-2);
    margin-top: .06em;
}
.nph-hero__title-sub {
    display: block;
    font-family: var(--nph-sans);
    font-size: .30em;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--nph-gold);
    margin-top: 20px;
    line-height: 1.4;
}

.nph-hero__lead {
    font-size: 18.5px;
    line-height: 1.72;
    color: var(--nph-ink-2);
    max-width: 32em; /* era 54ch: ver la nota de .nph-hero__title */
    margin-bottom: 34px;
    font-weight: 380;
}

.nph-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

/* Garantias: separador dorado en vez de un check verde. */
.nph-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    list-style: none;
    padding: 22px 0 0;
    margin: 0;
    font-size: 14.5px;
    color: var(--nph-ink-3);
    border-top: var(--nph-hairline);
}
.nph-hero__trust li { position: relative; padding-left: 20px; }
.nph-hero__trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 9px;
    height: 1px;
    background: var(--nph-gold-line);
}

.nph-hero__visual { position: relative; }

/* ==========================================================================
   7. TIRA DE PRUEBA
   ========================================================================== */

.nph-strip {
    border-block: var(--nph-hairline);
    background: var(--nph-forest);
    color: var(--nph-bg);
}
.nph-strip__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 34px 0;
}
.nph-strip__list li { text-align: center; }
.nph-strip__list strong {
    display: block;
    font-family: var(--nph-display);
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--nph-bg);
}
.nph-strip__list span {
    display: block;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(250, 247, 240, .68);
    margin-top: 4px;
}

/* ==========================================================================
   8. SECCIONES
   ========================================================================== */

.nph-main { min-width: 0; }

.nph-section { padding: 104px 0; }
.nph-section--alt { background: var(--nph-bg-alt); }

/* La seccion del problema: el tono mas grave del sitio. Fondo profundo y
   tarjetas claras, para que el dolor se lea antes que la solucion. */
.nph-section--problem {
    background: var(--nph-forest);
    color: var(--nph-bg);
}
.nph-section--problem .nph-section__title { color: var(--nph-bg); }
.nph-section--problem .nph-muted { color: rgba(250, 247, 240, .68); }
.nph-section--problem .nph-eyebrow { color: var(--nph-gold-light); }
.nph-section--problem .nph-pain {
    background: rgba(250, 247, 240, .05);
    border-color: rgba(250, 247, 240, .16);
}
.nph-section--problem .nph-pain:hover { border-color: var(--nph-gold-line); }
.nph-section--problem .nph-pain h3 { color: var(--nph-bg); }
.nph-section--problem .nph-pain p { color: rgba(250, 247, 240, .74); }
.nph-section--problem .nph-pain__num { color: var(--nph-gold-light); }
.nph-section--problem .nph-pain__cost {
    border-top-color: rgba(250, 247, 240, .18);
    color: var(--nph-bg) !important;
}
.nph-section--problem .nph-pain__cost strong { color: var(--nph-gold-light); }

.nph-section__title {
    font-size: clamp(27px, 3.4vw, 42px);
    font-weight: 500;
    margin-bottom: 18px;
    max-width: 13em; /* era 22ch: ver la nota de .nph-hero__title */
}
.nph-section__lead {
    font-size: 18px;
    color: var(--nph-ink-2);
    max-width: 37em; /* era 62ch: ver la nota de .nph-hero__title */
    margin-bottom: 52px;
    font-weight: 380;
    line-height: 1.72;
}

.nph-pains {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nph-gap);
}

.nph-pain {
    background: var(--nph-surface);
    border: var(--nph-hairline);
    border-radius: var(--nph-radius);
    padding: 36px 30px;
    position: relative;
    transition: border-color .2s var(--nph-ease), transform .2s var(--nph-ease);
}
.nph-pain:hover {
    border-color: var(--nph-gold-line);
    transform: translateY(-3px);
}

.nph-pain__num {
    font-family: var(--nph-display);
    font-size: 15px;
    font-style: italic;
    color: var(--nph-gold);
    letter-spacing: .06em;
}
.nph-pain h3 {
    font-size: 23px;
    line-height: 1.24;
    margin: 10px 0 14px;
}
.nph-pain p { color: var(--nph-ink-2); font-size: 16px; }
.nph-pain__cost {
    margin-top: 18px;
    padding-top: 18px;
    border-top: var(--nph-hairline);
    color: var(--nph-ink) !important;
    font-size: 15.5px !important;
}
.nph-pain__cost strong { color: var(--nph-forest); }

/* ==========================================================================
   9. SERVICIOS
   ========================================================================== */

.nph-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: var(--nph-gap);
}
.nph-service {
    background: var(--nph-surface);
    border: var(--nph-hairline);
    border-radius: var(--nph-radius);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    transition: border-color .2s var(--nph-ease), transform .2s var(--nph-ease);
}
.nph-service:hover {
    border-color: var(--nph-gold-line);
    transform: translateY(-3px);
}
.nph-service__name {
    font-size: 21px;
    margin-bottom: 10px;
}
.nph-service__price {
    color: var(--nph-gold);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.nph-service__desc {
    color: var(--nph-ink-2);
    font-size: 16px;
    flex: 1;
    line-height: 1.66;
}
.nph-service .nph-btn { margin-top: 24px; }

/* ==========================================================================
   10. SEMAFORO
   ========================================================================== */

.nph-section--semaforo {
    background:
        radial-gradient(800px 380px at 78% 0%, rgba(201, 162, 39, .09), transparent 62%),
        var(--nph-bg);
}
.nph-semaforo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 68px;
    align-items: center;
}
.nph-semaforo-copy,
.nph-semaforo-visual { min-width: 0; }
.nph-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 14px;
}
.nph-checklist li {
    position: relative;
    padding-left: 28px;
    color: var(--nph-ink-2);
    font-size: 16.5px;
}
.nph-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 13px;
    height: 1.5px;
    background: var(--nph-gold-line);
}
.nph-checklist strong { color: var(--nph-ink); font-weight: 600; }

.nph-semaforo-note {
    background: var(--nph-surface);
    border-left: 2px solid var(--nph-gold-line);
    border-radius: 0 var(--nph-radius-sm) var(--nph-radius-sm) 0;
    padding: 20px 24px;
    font-size: 16px;
    color: var(--nph-ink-2);
    margin-bottom: 30px;
    line-height: 1.66;
}

/* --- La tarjeta del semaforo: una ficha editorial, no un panel de control --- */

.nph-semaforo-demo {
    background: var(--nph-surface);
    border: var(--nph-hairline);
    border-radius: var(--nph-radius-lg);
    box-shadow: var(--nph-shadow-lift);
    overflow: hidden;
}

.nph-semaforo-demo__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 26px;
    background: var(--nph-forest);
    color: var(--nph-bg);
    flex-wrap: wrap;
}
.nph-semaforo-demo__title {
    font-family: var(--nph-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.01em;
}
.nph-semaforo-demo__verdict {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--nph-gold-line);
    color: var(--nph-gold-light);
}

.nph-lights {
    list-style: none;
    margin: 0;
    padding: 6px 26px;
}
.nph-light {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: var(--nph-hairline);
}
.nph-light:last-child { border-bottom: 0; }

.nph-light__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: none;
}
.nph-light--verde .nph-light__dot { background: var(--nph-green); }
.nph-light--ambar .nph-light__dot { background: var(--nph-amber); }
.nph-light--rojo .nph-light__dot   { background: var(--nph-red); }

.nph-light__name {
    flex: 1;
    font-weight: 500;
    font-size: 16px;
    color: var(--nph-ink);
}
.nph-light__value {
    font-size: 14px;
    color: var(--nph-ink-3);
    font-family: var(--nph-mono);
}

.nph-semaforo-demo__body {
    padding: 22px 26px 26px;
    background: var(--nph-surface-2);
    border-top: var(--nph-hairline);
    font-size: 15px;
    color: var(--nph-ink-2);
    line-height: 1.62;
}
.nph-semaforo-demo__body strong { color: var(--nph-ink); font-weight: 600; }

/* ==========================================================================
   11. PLANES
   ========================================================================== */

.nph-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
    gap: var(--nph-gap);
    align-items: start;
}
.nph-plan {
    background: var(--nph-surface);
    border: var(--nph-hairline);
    border-radius: var(--nph-radius);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.nph-plan--featured {
    border-color: var(--nph-gold-line);
    background: var(--nph-surface);
    box-shadow: var(--nph-shadow-lift);
}
.nph-plan__badge {
    position: absolute;
    top: -10px;
    left: 28px;
    background: var(--nph-forest);
    color: var(--nph-bg);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 999px;
}
.nph-plan__name {
    font-size: 24px;
    margin-bottom: 6px;
}
.nph-plan__tagline {
    color: var(--nph-ink-2);
    font-size: 15px;
    min-height: 46px;
    margin-bottom: 20px;
    line-height: 1.55;
}
.nph-plan__price {
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums lining-nums;
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
}
.nph-plan__currency {
    font-size: 13px;
    color: var(--nph-ink-3);
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.nph-plan__amount {
    font-family: var(--nph-display);
    font-size: 46px;
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--nph-forest);
}
.nph-plan__period {
    font-size: 15px;
    color: var(--nph-ink-3);
}
.nph-plan__setup {
    font-size: 13.5px;
    color: var(--nph-ink-3);
    margin: 10px 0 24px;
    padding-bottom: 22px;
    border-bottom: var(--nph-hairline);
}
.nph-plan__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 11px;
    flex: 1;
    font-size: 15px;
    color: var(--nph-ink-2);
}
.nph-plan__features li { position: relative; padding-left: 24px; }
.nph-plan__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 11px;
    height: 1.5px;
    background: var(--nph-gold-line);
}
.nph-plan__proof {
    font-size: 14px;
    color: var(--nph-ink-3);
    font-style: italic;
    border-top: var(--nph-hairline);
    padding-top: 18px;
    margin-bottom: 20px;
    font-family: var(--nph-display);
    font-style: italic;
    font-size: 15.5px;
}
.nph-plans__note {
    text-align: center;
    color: var(--nph-ink-3);
    font-size: 14.5px;
    margin-top: 36px;
}

/* ==========================================================================
   12. PROCESO
   ========================================================================== */

.nph-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
    gap: var(--nph-gap);
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: paso;
}
.nph-step {
    background: var(--nph-surface);
    border: var(--nph-hairline);
    border-radius: var(--nph-radius);
    padding: 32px 26px;
    position: relative;
}
.nph-step__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--nph-gold-line);
    color: var(--nph-gold);
    font-family: var(--nph-display);
    font-size: 16px;
    margin-bottom: 16px;
}
.nph-step h3 { font-size: 20px; margin-bottom: 10px; }
.nph-step p { color: var(--nph-ink-2); font-size: 15.5px; }
.nph-step__time {
    display: inline-block;
    margin-top: 14px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nph-forest-2);
    border-bottom: 1px solid var(--nph-gold-line);
    padding-bottom: 2px;
}

/* ==========================================================================
   13. CASOS
   ========================================================================== */

.nph-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: var(--nph-gap);
}
.nph-case {
    background: var(--nph-surface);
    border: var(--nph-hairline);
    border-radius: var(--nph-radius);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
}
.nph-case__metric {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: var(--nph-hairline);
}
.nph-case__metric strong {
    font-family: var(--nph-display);
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -.03em;
    color: var(--nph-forest);
}
.nph-case__metric span {
    font-size: 13px;
    color: var(--nph-ink-3);
    letter-spacing: .04em;
}
.nph-case h3 { font-size: 21px; margin-bottom: 10px; }
.nph-case p { color: var(--nph-ink-2); font-size: 16px; }
.nph-case blockquote {
    margin: 20px 0;
    padding: 4px 0 4px 20px;
    border-left: 1px solid var(--nph-gold-line);
    color: var(--nph-ink);
    font-family: var(--nph-display);
    font-style: italic;
    font-size: 17px;
    line-height: 1.6;
}
.nph-case__meta {
    margin-top: auto;
    padding-top: 18px;
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nph-ink-3);
}
.nph-cases__note {
    margin-top: 26px;
    font-size: 13.5px;
    color: var(--nph-ink-3);
    text-align: center;
}

/* ==========================================================================
   14. FAQ
   ========================================================================== */

.nph-faq-wrap { max-width: 840px; }
.nph-faq { display: grid; gap: 0; }
.nph-faq__item {
    background: var(--nph-surface);
    border: var(--nph-hairline);
    border-radius: 0;
    margin-bottom: -1px;
    overflow: hidden;
}
.nph-faq__item:first-child { border-radius: var(--nph-radius) var(--nph-radius) 0 0; }
.nph-faq__item:last-child { border-radius: 0 0 var(--nph-radius) var(--nph-radius); margin-bottom: 0; }
.nph-faq__q {
    cursor: pointer;
    padding: 22px 56px 22px 26px;
    font-family: var(--nph-display);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.34;
    list-style: none;
    position: relative;
    color: var(--nph-ink);
}
.nph-faq__q::-webkit-details-marker { display: none; }
.nph-faq__q::after {
    content: "+";
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--nph-gold);
    line-height: 1;
}
.nph-faq__item[open] .nph-faq__q::after { content: "−"; }
.nph-faq__a {
    padding: 0 26px 24px;
    color: var(--nph-ink-2);
    font-size: 16px;
    line-height: 1.7;
}
.nph-faq__a p { margin: 0; }

/* ==========================================================================
   15. CONTACTO / FORMULARIO
   ========================================================================== */

.nph-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 68px;
    align-items: start;
}
.nph-contact-copy,
.nph-contact-form { min-width: 0; }
.nph-contact__points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    gap: 11px;
    color: var(--nph-ink-2);
    font-size: 16px;
}
.nph-contact__points li { position: relative; padding-left: 26px; }
.nph-contact__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 13px;
    height: 1.5px;
    background: var(--nph-gold-line);
}
.nph-contact__or { color: var(--nph-ink-2); font-size: 16px; }

.nph-form {
    background: var(--nph-surface);
    border: var(--nph-hairline);
    border-radius: var(--nph-radius-lg);
    padding: 38px 34px;
    box-shadow: var(--nph-shadow-lift);
}
.nph-field { margin-bottom: 18px; }
.nph-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nph-ink-3);
    margin-bottom: 7px;
}
.nph-field input[type="text"],
.nph-field input[type="email"],
.nph-field input[type="url"],
.nph-field input[type="tel"],
.nph-field select {
    width: 100%;
    padding: 14px 15px;
    background: var(--nph-bg);
    border: 1px solid var(--nph-line-strong);
    border-radius: var(--nph-radius-sm);
    color: var(--nph-ink);
    font-family: var(--nph-sans);
    font-size: 16px;
    transition: border-color .16s var(--nph-ease), box-shadow .16s var(--nph-ease);
}
.nph-field input::placeholder { color: var(--nph-ink-3); opacity: 1; }
.nph-field input:focus,
.nph-field select:focus {
    outline: none;
    border-color: var(--nph-forest-2);
    box-shadow: 0 0 0 3px rgba(36, 81, 60, .14);
}
.nph-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236A655C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    /* Windows dark mode: fondo y color explicitos en el select nativo */
    background-color: var(--nph-bg);
    color: var(--nph-ink);
}

.nph-field--check label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--nph-ink-3);
    line-height: 1.55;
    cursor: pointer;
}
.nph-field--check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--nph-forest);
    flex: none;
}

/* Honeypot: fuera de pantalla, no accesible */
.nph-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.nph-form__status {
    margin: 16px 0 0;
    font-size: 14.5px;
    font-weight: 500;
    min-height: 22px;
}
.nph-form__status.is-ok    { color: var(--nph-green); }
.nph-form__status.is-error { color: var(--nph-red); }

/* Linea secundaria del formulario: la via alternativa a WhatsApp. */
.nph-form__alt {
    margin: 22px 0 0;
    padding-top: 22px;
    border-top: var(--nph-hairline);
    font-size: 15px;
    color: var(--nph-ink-2);
    text-align: center;
}

/* Enlace de WhatsApp dentro de un texto.
 *
 * Se acota a :not(.nph-btn) porque este bloque aparece DESPUES de la
 * definicion de .nph-btn y tiene la misma especificidad (0,1,0): si no, su
 * `color` pisa el del boton y el CTA primario queda con texto verde medio
 * sobre fondo verde oscuro (contraste 1.46, muy por debajo de 4.5).
 */
a.nph-wa-link:not(.nph-btn) {
    color: var(--nph-forest-2);
    font-weight: 500;
    border-bottom: 1px solid var(--nph-gold-line);
    padding-bottom: 1px;
}
a.nph-wa-link:not(.nph-btn):hover { color: var(--nph-forest); border-bottom-color: var(--nph-forest); }

/* Panel de estado del informe */
.nph-estado {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--nph-green-bg);
    border: 1px solid rgba(30, 107, 71, .25);
    border-radius: var(--nph-radius-sm);
    padding: 16px 18px;
    margin-top: 16px;
}
.nph-estado[hidden] { display: none; }
.nph-estado__punto {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--nph-green);
    flex: none;
    margin-top: 7px;
    animation: nph-pulse 1.6s var(--nph-ease) infinite;
}
.nph-estado__titulo { font-weight: 600; font-size: 16px; margin: 0 0 3px; }
.nph-estado__texto { color: var(--nph-ink-2); font-size: 15px; margin: 0; }

.nph-estado[data-estado="done"] .nph-estado__punto { animation: none; }
.nph-estado[data-estado="failed"] .nph-estado__punto,
.nph-estado[data-estado="dead"] .nph-estado__punto {
    background: var(--nph-red);
    animation: none;
}
.nph-estado[data-estado="failed"],
.nph-estado[data-estado="dead"] {
    background: var(--nph-red-bg);
    border-color: rgba(152, 38, 31, .25);
}

@keyframes nph-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.8); }
}
@media (prefers-reduced-motion: reduce) {
    .nph-estado__punto { animation: none; }
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */

.nph-footer {
    background: var(--nph-forest);
    color: var(--nph-bg);
    padding: 72px 0 28px;
    border-top: 3px solid var(--nph-gold-line);
}
.nph-footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 44px;
}
.nph-footer__brand p {
    color: rgba(250, 247, 240, .68);
    font-size: 15px;
    margin-top: 14px;
    max-width: 22em; /* era 36ch: ver la nota de .nph-hero__title */
    line-height: 1.66;
}
.nph-footer__nav { min-width: 0; }
.nph-footer .nph-logo__mark {
    background: transparent;
    border-color: var(--nph-gold-line);
}
.nph-footer .nph-logo__text { color: var(--nph-bg); }
.nph-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.nph-footer__list a { color: rgba(250, 247, 240, .74); font-size: 15px; }
.nph-footer__list a:hover { color: var(--nph-gold-light); }
.nph-footer__title {
    font-family: var(--nph-display);
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 14px;
    color: var(--nph-bg);
}
.nph-footer__cta .nph-btn--primary {
    --btn-bg: var(--nph-bg);
    --btn-fg: var(--nph-forest);
    --btn-bd: var(--nph-bg);
}
.nph-footer__cta .nph-btn--primary:hover {
    --btn-bg: var(--nph-gold-light);
    --btn-fg: var(--nph-forest);
    --btn-bd: var(--nph-gold-light);
}
.nph-footer__legal {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(250, 247, 240, .16);
    padding-top: 26px;
    font-size: 13.5px;
    color: rgba(250, 247, 240, .6);
}
.nph-footer__legal ul {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nph-footer__legal a { color: rgba(250, 247, 240, .6); }
.nph-footer__legal a:hover { color: var(--nph-gold-light); }

/* ==========================================================================
   17. BOTON FLOTANTE DE WHATSAPP
   --------------------------------------------------------------------------
   Mismo criterio que antes, con la paleta nueva: verde de marca (no el verde
   saturado de WhatsApp), contour en vez de sombra verde chillona.
   ======================================================================== */

.nph-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    pointer-events: none;
}

.nph-fab > * { pointer-events: auto; }

.nph-fab[data-state="hidden"] {
    opacity: 0;
    transform: translateY(20px) scale(.9);
    transition: opacity .28s var(--nph-ease), transform .28s var(--nph-ease);
    visibility: hidden;
}

.nph-fab[data-state="visible"] {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity .28s var(--nph-ease), transform .28s var(--nph-ease);
    visibility: visible;
}

.nph-fab__btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--nph-whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 26px rgba(30, 107, 71, .3);
    transition: transform .18s var(--nph-ease), background-color .18s var(--nph-ease);
}
.nph-fab__btn:hover {
    background: var(--nph-whatsapp-dark);
    transform: scale(1.05);
    text-decoration: none;
}
.nph-fab__icon { width: 30px; height: 30px; }

.nph-fab__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--nph-line);
    color: var(--nph-ink-3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.nph-fab__close:hover { color: var(--nph-ink); border-color: var(--nph-line-strong); }
.nph-fab__close svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; }

.nph-fab__bubble {
    position: relative;
    background: var(--nph-surface);
    border: var(--nph-hairline);
    border-radius: var(--nph-radius);
    padding: 16px 40px 16px 18px;
    max-width: 258px;
    box-shadow: var(--nph-shadow-lift);
    transform-origin: bottom right;
    animation: nph-bubble-in .35s var(--nph-ease);
}
.nph-fab__bubble[hidden] { display: none; }
.nph-fab__bubble-title {
    font-family: var(--nph-display);
    font-weight: 500;
    font-size: 16px;
    margin: 0 0 3px;
    color: var(--nph-ink);
}
.nph-fab__bubble-text { font-size: 14px; color: var(--nph-ink-2); margin: 0; }

@keyframes nph-bubble-in {
    from { opacity: 0; transform: translateY(8px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
    .nph-hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .nph-semaforo-grid { grid-template-columns: 1fr; gap: 44px; }
    .nph-contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .nph-pains { grid-template-columns: 1fr; }
    .nph-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
    .nph-burger { display: block; }
    .nph-header__cta { display: none; }

    .nph-nav {
        position: fixed;
        inset: 76px 0 auto 0;
        background: var(--nph-bg);
        border-bottom: var(--nph-hairline);
        padding: 20px 20px 30px;
        margin: 0;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s var(--nph-ease), transform .2s var(--nph-ease), visibility .2s;
    }
    .nph-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
    .nph-nav__list { flex-direction: column; gap: 2px; }
    .nph-nav__list a {
        display: block;
        padding: 14px 0;
        font-size: 18px;
        border-bottom: var(--nph-hairline);
    }
    .nph-nav__list li:last-child a { border-bottom: 0; }
    .nph-nav__list a::after { display: none; }
}

@media (max-width: 640px) {
    body.nph-body { font-size: 16.5px; }
    .nph-section { padding: 66px 0; }
    .nph-hero { padding: 52px 0 44px; }
    .nph-hero__cta { flex-direction: column; }
    .nph-hero__cta .nph-btn { width: 100%; }
    .nph-strip__list { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
    .nph-footer__inner { grid-template-columns: 1fr; gap: 34px; }
    .nph-footer__legal { flex-direction: column; align-items: flex-start; }
    .nph-section__lead { margin-bottom: 36px; }

    .nph-fab { bottom: 16px; right: 16px; }
    .nph-fab__btn { width: 54px; height: 54px; }
    .nph-fab__bubble { max-width: 216px; }
}

/* El flotante se atenua cuando el usuario esta escribiendo */
.nph-fab.is-dimmed { opacity: .25; }
.nph-fab.is-dimmed .nph-fab__btn { pointer-events: none; }
