/* ============================================
   NRF2 NUTRICELL — Design tokens
   ============================================ */
:root {
    /* Color — sin cambios respecto al original */
    --bg-deep: #06112b;
    --bg-base: #08183a;
    --bg-surface: #0c2351;
    --bg-surface-soft: #102a5e;
    --line: #1c3868;
    --line-soft: #142b59;

    --text-main: #f2fbff;
    --text-soft: #aebfdc;
    --text-muted: #7488ae;

    --accent: #13d2f0;
    --accent-dim: #0f9fbb;
    --accent-deep: #14528f;

    --gold: #e8c468; /* reservado para Club 960, único uso */

    /* Type */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 1180px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Motion */
    --ease: cubic-bezier(.22, .88, .25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Campo celular — firma visual de fondo
   Retícula de hexágonos ambientales, ligada al
   ícono de la marca, que recorre toda la página
   ============================================ */
.cell-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(19, 210, 240, 0.08), transparent 40%),
        radial-gradient(circle at 90% 30%, rgba(20, 82, 143, 0.16), transparent 45%),
        var(--bg-base);
}

.cell-field::before,
.cell-field::after {
    content: '';
    position: absolute;
    width: 220%;
    height: 220%;
    left: -60%;
    background-image:
        linear-gradient(30deg, var(--line-soft) 1px, transparent 1px),
        linear-gradient(150deg, var(--line-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
    background-size: 84px 146px;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.9) 8%, rgba(0,0,0,.9) 70%, transparent);
    mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.9) 8%, rgba(0,0,0,.9) 70%, transparent);
}

.cell-field::before {
    top: -10%;
    will-change: transform;
    transform: translateY(var(--parallax-1, 0px));
}

.cell-field::after {
    top: 35%;
    opacity: 0.2;
    background-size: 132px 228px;
    will-change: transform;
    transform: translateY(var(--parallax-2, 0px));
}

@media (max-width: 640px) {
    .cell-field::before,
    .cell-field::after {
        background-size: 56px 98px;
    }
}

/* ============================================
   Scroll reveal
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }

/* ============================================
   Hexagon signature — eco visual del logo
   ============================================ */
.hex-clip {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* ============================================
   Eyebrow / labels
   ============================================ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '';
    width: 14px;
    height: 1px;
    background: var(--accent);
}

.eyebrow--gold {
    color: var(--gold);
}

.eyebrow--gold::before {
    background: var(--gold);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, box-shadow .25s ease;
    white-space: nowrap;
    position: relative;
}

.btn--primary {
    background: var(--accent);
    color: #04111f;
}

.btn--primary:hover {
    background: #3fdcf5;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -8px rgba(19, 210, 240, 0.55);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text-main);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn--small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--large {
    padding: 15px 32px;
    font-size: 16px;
}

.btn--xlarge {
    padding: 18px 40px;
    font-size: 17px;
}

/* ============================================
   Header
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 17, 43, 0.7);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line-soft);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.header__logo img {
    height: 38px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header__navlink {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-soft);
    text-decoration: none;
    position: relative;
    transition: color .2s ease;
}

.header__navlink::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .25s var(--ease);
}

.header__navlink:hover {
    color: var(--text-main);
}

.header__navlink:hover::after {
    width: 100%;
}

@media (max-width: 760px) {
    .header__navlink {
        display: none;
    }
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding: 96px 0 64px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    height: 680px;
    background:
        radial-gradient(circle at 18% 20%, rgba(19, 210, 240, 0.12), transparent 45%),
        radial-gradient(circle at 85% 0%, rgba(20, 82, 143, 0.26), transparent 50%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    position: relative;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(19, 210, 240, 0.18);
    flex-shrink: 0;
    animation: pulse-dot 2.6s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(19, 210, 240, 0.18); }
    50% { box-shadow: 0 0 0 7px rgba(19, 210, 240, 0.10); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.6vw, 58px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.015em;
    margin-bottom: 22px;
    color: var(--text-main);
}

.hero__subtitle {
    font-size: 17px;
    color: var(--text-soft);
    max-width: 540px;
    margin-bottom: 34px;
}

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

.hero__stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__stat-value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--accent);
}

.hero__stat-label {
    font-size: 12.5px;
    color: var(--text-muted);
    max-width: 120px;
}

.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: var(--line);
}

.hero__media {
    position: relative;
}

.hero__media-frame {
    position: relative;
}

.hero__media .responsive-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 70px -30px rgba(2, 8, 24, 0.7);
}

.hero__media-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(8, 24, 58, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 12px 28px -12px rgba(2, 8, 24, 0.8);
}

.hero__media-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hero__media-tag--1 {
    top: -16px;
    left: 24px;
    animation: float-tag 6s ease-in-out infinite;
}

.hero__media-tag--2 {
    bottom: -16px;
    right: 24px;
    animation: float-tag 6s ease-in-out infinite 1.2s;
}

@keyframes float-tag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 760px) {
    .hero__media-tag {
        display: none;
    }
}

.hero__scroll-cue {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.hero__scroll-cue span {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    position: relative;
    overflow: hidden;
    display: block;
}

.hero__scroll-cue span::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scroll-cue 2.2s ease-in-out infinite;
}

@keyframes scroll-cue {
    0% { top: -100%; }
    60% { top: 100%; }
    100% { top: 100%; }
}

@media (max-width: 760px) {
    .hero__scroll-cue { display: none; }
}

/* ============================================
   Section scaffolding
   ============================================ */
section {
    padding: 112px 0;
    position: relative;
}

.section-head {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--text-main);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 18px;
}

.section-title--left {
    text-align: left;
    margin: 0 0 18px;
    max-width: none;
}

.section-title--accent {
    color: var(--gold);
}

.section-intro {
    text-align: center;
    color: var(--text-soft);
    max-width: 560px;
    margin: 0 auto;
    font-size: 16px;
}

.section-text {
    color: var(--text-soft);
    font-size: 16.5px;
    max-width: 460px;
    margin-bottom: 28px;
}

.responsive-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line-soft);
}

.responsive-media__image {
    width: 100%;
    height: auto;
    transition: transform .6s var(--ease);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.link-arrow span {
    transition: transform .2s var(--ease);
    display: inline-block;
}

.link-arrow:hover span {
    transform: translateX(5px);
}

/* ============================================
   Beneficios — layout asimétrico
   ============================================ */
.benefits {
    background: linear-gradient(180deg, transparent, rgba(12, 35, 81, 0.35) 18%, rgba(12, 35, 81, 0.35) 82%, transparent);
}

.benefits__layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.benefits__media .responsive-media {
    box-shadow: 0 30px 70px -30px rgba(2, 8, 24, 0.6);
}

.benefits__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.benefits__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefits__item-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin-top: 2px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.benefits__item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.benefits__item strong {
    font-size: 15.5px;
    color: var(--text-main);
}

.benefits__item span {
    font-size: 14.5px;
    color: var(--text-soft);
}

/* ============================================
   Productos
   ============================================ */
.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.product-card {
    background: linear-gradient(165deg, var(--bg-surface), var(--bg-surface-soft));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .25s ease, transform .35s var(--ease), box-shadow .35s ease;
}

.product-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -28px rgba(19, 210, 240, 0.2);
}

.product-card:hover .product-card__image img {
    transform: scale(1.04);
}

.product-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-surface-soft);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.product-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 17, 43, 0.75) 100%);
}

.product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 7px 14px;
    background: rgba(8, 24, 58, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.product-card__content {
    padding: 30px;
}

.product-card__name {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--text-main);
}

.product-card__description {
    color: var(--text-soft);
    font-size: 14.5px;
    margin-bottom: 18px;
}

.product-card__benefit {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid var(--line-soft);
    padding-top: 16px;
}

.product-card__benefit strong {
    color: var(--accent);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.04em;
}

/* ============================================
   Oportunidad — layout asimétrico invertido
   ============================================ */
.opportunity {
    background: linear-gradient(180deg, transparent, rgba(12, 35, 81, 0.3) 20%, rgba(12, 35, 81, 0.3) 80%, transparent);
}

.opportunity__layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.opportunity__media .responsive-media {
    box-shadow: 0 30px 70px -30px rgba(2, 8, 24, 0.6);
}

/* ============================================
   Club 960 — único punto dorado de la página
   ============================================ */
.club960 {
    background:
        radial-gradient(circle at 50% 0%, rgba(232, 196, 104, 0.08), transparent 55%),
        linear-gradient(180deg, var(--bg-base) 0%, #0a1c44 100%);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.club960__content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.club960__intro {
    color: var(--text-soft);
    font-size: 16.5px;
    margin-bottom: 48px;
}

.club960__media {
    position: relative;
}

.club960__media .responsive-media {
    max-width: 920px;
    margin: 0 auto;
    border-color: rgba(232, 196, 104, 0.25);
    box-shadow: 0 30px 80px -30px rgba(232, 196, 104, 0.12);
}

/* ============================================
   Cómo funciona — pasos numerados (secuencia real)
   ============================================ */
.how-it-works .responsive-media {
    max-width: 920px;
    margin: 64px auto 0;
}

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.steps__track {
    position: absolute;
    top: 17px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), var(--line), transparent);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    padding-top: 8px;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--bg-deep);
    background: var(--accent);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 0 6px var(--bg-base);
}

.step__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.step__text {
    font-size: 14.5px;
    color: var(--text-soft);
}

@media (max-width: 900px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 28px;
    }
    .steps__track {
        display: none;
    }
}

@media (max-width: 540px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CTA Final
   ============================================ */
.cta-final {
    text-align: center;
}

.cta-final__panel {
    background: linear-gradient(150deg, var(--bg-surface), var(--bg-surface-soft));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 64px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.cta-final__panel::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(19, 210, 240, 0.14), transparent 65%);
    pointer-events: none;
}

.cta-final__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    line-height: 1.18;
    margin-bottom: 16px;
}

.cta-final__text {
    color: var(--text-soft);
    max-width: 460px;
    margin-bottom: 32px;
    font-size: 16px;
}

.cta-final__media .responsive-media {
    box-shadow: 0 30px 70px -30px rgba(2, 8, 24, 0.6);
}

@media (max-width: 900px) {
    .cta-final__panel {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
    }
    .cta-final__text-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cta-final__text {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--line-soft);
    padding: 64px 0 32px;
    position: relative;
    z-index: 1;
}

.footer__content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand img {
    height: 30px;
    margin-bottom: 12px;
}

.footer__tagline {
    color: var(--text-muted);
    font-size: 14px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer__column-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-soft);
    margin-bottom: 16px;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 10px;
}

.footer__list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14.5px;
    transition: color .15s ease;
}

.footer__list a:hover {
    color: var(--accent);
}

.footer__bottom {
    border-top: 1px solid var(--line-soft);
    padding-top: 28px;
}

.footer__disclaimer {
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 760px;
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 12.5px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__subtitle {
        max-width: none;
    }

    .benefits__layout,
    .opportunity__layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .opportunity__media {
        order: 2;
    }

    .opportunity__content {
        order: 1;
    }

    .section-title--left {
        text-align: center;
    }

    .section-text {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .benefits__intro {
        text-align: center;
    }

    .benefits__item {
        text-align: left;
    }

    .link-arrow {
        margin: 0 auto;
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 72px 0;
    }

    .hero {
        padding-top: 48px;
    }

    .header__content {
        height: 64px;
    }

    .header__logo img {
        height: 30px;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .hero__stats {
        gap: 20px;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-final__buttons .btn {
        width: 100%;
    }
}
