/* ============ FUENTES (alojadas en local, sin llamadas a Google) ============ */
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/merriweather-classic-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/merriweather-classic-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/merriweather-classic-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: italic; font-weight: 700; font-display: swap; src: url('assets/fonts/merriweather-classic-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 900; font-display: swap; src: url('assets/fonts/merriweather-classic-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: italic; font-weight: 900; font-display: swap; src: url('assets/fonts/merriweather-classic-900-italic.woff2') format('woff2'); }
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('assets/fonts/montserrat-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('assets/fonts/playfair-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url('assets/fonts/playfair-latin-italic.woff2') format('woff2');
}

/* ============ TOKENS ============ */
:root {
    --bg: #0A1428;
    --bg-2: #0E1A34;
    --card: rgba(255, 255, 255, 0.025);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(96, 165, 250, 0.4);
    --text: #E7ECF3;
    --text-mute: #8A9AB4;
    --text-soft: #B4C0D4;
    --accent: #4C7DFF;
    --accent-2: #7C5CFF;
    --accent-light: #60A5FA;
    --accent-teal: #4FD1C5;
    --orange: #F97316;
    --orange-hover: #FB8B36;
    --white: #FFFFFF;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-display: 'Merriweather', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    --container: 1180px;
    --container-narrow: 900px;

    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --transition: 300ms cubic-bezier(.4, 0, .2, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; }

/* ============ LAYOUT ============ */
.container {
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section {
    padding: 110px 0;
    position: relative;
}
@media (max-width: 768px) {
    .section { padding: 70px 0; }
}

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(10, 20, 40, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.nav.is-scrolled {
    background: rgba(10, 20, 40, 0.85);
    border-bottom-color: var(--card-border);
}
.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo-img { height: 30px; width: auto; display: block; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 15px; color: var(--text-soft); }
.nav__links a:hover { color: var(--white); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

@media (max-width: 900px) {
    .nav__links {
        position: fixed;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        padding: 30px 24px;
        background: rgba(10, 20, 40, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--card-border);
        gap: 20px;
        transform: translateY(-120%);
        transition: transform 400ms cubic-bezier(.4,0,.2,1);
    }
    .nav__links.is-open { transform: translateY(0); }
    .nav__toggle { display: flex; }
    .btn--orange { padding: 10px 18px; font-size: 14px; }
    /* En movil el boton dice solo "Demo"; el aria-label mantiene el nombre completo */
    .btn__long { display: none; }
}

/* Pantallas estrechas: libera ancho en la cabecera para que el logo no se comprima */
@media (max-width: 420px) {
    .nav__inner { padding: 0 16px; }
    .nav__toggle { padding: 8px 0 8px 8px; }
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}
.btn--orange {
    background: var(--orange);
    color: #0A1428;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
}
.btn--orange:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.4);
}
.btn--outline {
    background: transparent;
    color: var(--accent-light);
    border: 1px solid rgba(96, 165, 250, 0.5);
}
.btn--outline:hover {
    background: rgba(96, 165, 250, 0.08);
    border-color: var(--accent-light);
    color: var(--white);
}
.btn--gradient {
    background: linear-gradient(120deg, #3350C4 0%, #5236C9 100%);
    color: var(--white);
    padding: 15px 32px;
    box-shadow: 0 10px 30px rgba(76, 125, 255, 0.35);
    background-size: 200% 100%;
    animation: gradient-shift 6s ease infinite;
}
.btn--gradient::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%);
    transform: skewX(-25deg);
    animation: shimmer 3.5s ease-in-out infinite;
}
.btn--gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(76, 125, 255, 0.55);
}
.btn--gradient:hover::before { animation-duration: 1.5s; }
.btn--large { padding: 18px 40px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--ghost {
    background: transparent;
    color: var(--text-soft);
    border: 1px solid var(--card-border);
}
.btn--ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes shimmer {
    0% { left: -75%; }
    60%, 100% { left: 125%; }
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-soft);
    font-size: 15px;
    margin-right: 28px;
    transition: var(--transition);
}
.link-arrow--bold { color: var(--white); font-weight: 600; }
.link-arrow span { transition: transform var(--transition); display: inline-block; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow:hover { color: var(--accent-light); }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: var(--font-sans);
}
.eyebrow--center { display: block; text-align: center; }
.eyebrow--pill {
    padding: 8px 16px;
    border: 1px solid rgba(76, 125, 255, 0.35);
    border-radius: var(--radius-pill);
    background: rgba(76, 125, 255, 0.06);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1.5px;
    font-size: 11px;
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 10px var(--accent-light);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.section__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(36px, 5vw, 48px);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}
.section__title em {
    font-style: italic;
    background: linear-gradient(120deg, #4C7DFF 0%, #7C9DFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    padding-bottom: 0.12em;
    line-height: 1.15;
    display: inline-block;
}
.section__title--center { text-align: center; }
.section__title--spaced { margin-bottom: 66px; }
.section__title--left { text-align: left; }
.section__subtitle {
    color: var(--text-mute);
    font-size: 16px;
    margin-bottom: 60px;
    max-width: 640px;
}
.section__subtitle--left { margin-left: 0; }
.section__subtitle:not(.section__subtitle--left) {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.accent-blue {
    background: linear-gradient(120deg, #4C7DFF 0%, #7C9DFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
    font-family: var(--font-display);
    font-weight: 900;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 780px;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/hero-chess.webp');
    background-size: auto 100%;
    background-position: calc(100% - 240px) center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 30%);
    mask-image: linear-gradient(90deg, transparent 0%, black 30%);
    animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
    0% { transform: scale(1) translateX(0); }
    100% { transform: scale(1.08) translateX(-1%); }
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 65% 50%, transparent 0%, rgba(10,20,40,0.75) 100%),
        linear-gradient(180deg, rgba(10,20,40,0.75) 0%, rgba(10,20,40,0.35) 25%, rgba(10,20,40,0.35) 70%, rgba(10,20,40,0.7) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
    color: var(--white);
    margin: 26px 0 20px;
    letter-spacing: -1px;
}
.hero__title em {
    font-style: italic;
    font-weight: 900;
}
.hero__subtitle {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.3;
    color: var(--text-soft);
    margin-bottom: 26px;
    font-style: italic;
    font-weight: 700;
}
.hero__lead {
    color: var(--text-mute);
    max-width: 560px;
    margin-bottom: 44px;
    font-size: 16px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 8px 0; }

/* ============ CARDS ============ */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: var(--transition);
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(76, 125, 255, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }
.card__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(76, 125, 255, 0.1);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}
.card:hover .card__icon {
    background: rgba(76, 125, 255, 0.2);
    transform: scale(1.05);
}
.card__icon--filled { background: rgba(76, 125, 255, 0.12); }
.card h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}
.card p { color: var(--text-mute); font-size: 15px; line-height: 1.6; }
.card--center { text-align: center; }
.card--center .card__icon { margin-left: auto; margin-right: auto; }

/* ============ PROSE BLOCK ============ */
.prose-block {
    max-width: 720px;
    margin: 60px auto 40px;
    text-align: center;
    color: var(--text-soft);
    line-height: 1.9;
}
.prose-block p { margin-bottom: 18px; }
.prose-block strong { color: var(--white); font-weight: 600; }
.prose-block--left { text-align: left; margin-left: 0; margin-right: 0; margin: 20px 0; }
.prose-block--left p { margin-bottom: 14px; font-size: 15px; line-height: 1.75; }

.section__cta { text-align: center; margin-top: 40px; }
.section__closing {
    text-align: center;
    color: var(--text-soft);
    font-size: 15px;
    max-width: 800px;
    margin: 50px auto 0;
}

/* ============ SPLIT (Soluciones) ============ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split__text { max-width: 100%; }

.bulb-frame {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    position: relative;
    background: #0a0e1e;
    border: 1px solid var(--card-border);
}
.bulb-frame__img {
    position: absolute;
    inset: 0;
    background-image: url('assets/motor-ia.webp');
    background-size: cover;
    background-position: center;
    transition: transform 800ms cubic-bezier(.4, 0, .2, 1);
}
.bulb-frame:hover .bulb-frame__img { transform: scale(1.05); }

/* ============ FEATURES ============ */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    margin: 20px 0 50px;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(76, 125, 255, 0.1);
    color: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
}
.feature h3 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 600;
}
.feature p { font-size: 14px; color: var(--text-mute); line-height: 1.6; }

/* ============ STATS ============ */
.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 620px;
    margin: 0 auto;
}
.stat {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 26px 30px;
    text-align: center;
}
.stat__num {
    font-family: var(--font-serif);
    font-size: 54px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    background: linear-gradient(120deg, #4FD1C5 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}
.stat__num span { font-size: 36px; }
.stat__label { color: var(--text-mute); font-size: 14px; }

/* ============ PROCESO IMG ============ */
.proceso-figure { margin: 40px 0 60px; }
.proceso-figure__nota {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-mute);
    text-align: center;
}
.proceso-figure .proceso-img { margin: 0; }
.proceso-img {
    margin: 40px 0 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--card-border);
    line-height: 0;
}
.proceso-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 800ms cubic-bezier(.4, 0, .2, 1);
}
.proceso-img:hover img { transform: scale(1.02); }

/* ============ STEP CARDS ============ */
.step-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}
.step-card:hover { border-color: var(--card-border-hover); transform: translateY(-3px); }
.step-card__num {
    position: absolute;
    top: 8px; right: 18px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 60px;
    font-weight: 400;
    color: rgba(76, 125, 255, 0.12);
    line-height: 1;
    letter-spacing: -2px;
}
.step-card h3 {
    font-family: var(--font-sans);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
}
.step-card p {
    font-family: var(--font-sans);
    color: var(--text-mute);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
}

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.faq__item {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq__item[open] { border-color: rgba(76, 125, 255, 0.25); }
.faq__item summary {
    padding: 20px 26px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    list-style: none;
    user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
    width: 12px; height: 12px;
    border-right: 1.5px solid var(--text-mute);
    border-bottom: 1.5px solid var(--text-mute);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 250ms ease, border-color var(--transition);
    margin-top: -4px;
}
.faq__item[open] .faq__chev {
    transform: rotate(-135deg);
    margin-top: 4px;
    border-color: var(--accent-light);
}
.faq__body {
    padding: 0 26px 22px;
    color: var(--text-mute);
    font-size: 15px;
    line-height: 1.7;
    animation: faq-open 400ms ease;
}
@keyframes faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ CONTACTO ============ */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }

.checks { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--text-soft); font-size: 15px; }
.check {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(76, 125, 255, 0.15);
    color: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.check::after {
    content: '';
    width: 8px; height: 4px;
    border-left: 1.8px solid var(--accent-light);
    border-bottom: 1.8px solid var(--accent-light);
    transform: rotate(-45deg) translateY(-1px);
}

.contact__form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact__form label { display: flex; flex-direction: column; gap: 8px; }
.contact__form label span { color: var(--white); font-size: 14px; font-weight: 500; }
.contact__form input,
.contact__form textarea {
    background: rgba(10, 20, 40, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    resize: vertical;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(138, 154, 180, 0.6); }
.contact__form input:focus,
.contact__form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(10, 20, 40, 0.8);
    box-shadow: 0 0 0 3px rgba(76, 125, 255, 0.35);
}
.contact__form label.form__consent {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.contact__form label.form__consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    padding: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.contact__form label.form__consent span {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(138, 154, 180, 0.9);
}
.form__privacy { font-size: 12.5px; text-align: center; color: var(--text-mute); margin-top: -4px; }
.form__privacy a { color: var(--text-soft); text-decoration: underline; }
.form__privacy a:hover { color: var(--accent-light); }

/* ============ CÓMO FUNCIONA ============ */
.como { display: flex; flex-direction: column; margin-top: 44px; }
.como__item { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--card-border); }
.como__item:last-child { border-bottom: none; }
.como__num { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--accent-light); flex-shrink: 0; width: 40px; line-height: 1.4; }
.como__body h3 { font-size: 18px; margin-bottom: 8px; color: var(--white); }
.como__body p { color: var(--text-soft); }
@media (max-width: 600px) { .como__item { gap: 14px; padding: 20px 0; } .como__num { width: 28px; font-size: 18px; } }

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float {
    position: fixed; bottom: 88px; right: 16px;
    width: 60px; height: 60px; border-radius: 50%;
    background: #128C7E; color: #fff;
    display: flex; align-items: center; justify-content: center;
    z-index: 998;
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.45);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); color: #fff; box-shadow: 0 8px 26px rgba(18, 140, 126, 0.6); }
@media (max-width: 600px) { .wa-float { bottom: 84px; right: 16px; } }
.footer__nap .footer__wa { white-space: nowrap; }

/* ============ SALTAR AL CONTENIDO (accesibilidad) ============ */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--accent-light); color: #0A1428; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: top 150ms ease; }
.skip-link:focus { top: 8px; }
.form__status { font-size: 14px; text-align: center; min-height: 20px; }
.form__status.is-success { color: #4FD1C5; }
.form__status.is-error { color: #EF4444; }

/* ============ CTA FINAL ============ */
.section--final {
    text-align: center;
    padding: 100px 0 80px;
    background: radial-gradient(ellipse at top, rgba(76, 125, 255, 0.08) 0%, transparent 60%);
}
.final__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(38px, 5.5vw, 56px);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}
.final__title em {
    font-style: italic;
    background: linear-gradient(120deg, #4C7DFF 0%, #7C9DFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 0.12em;
    line-height: 1.15;
    display: inline-block;
}
.final__lead {
    color: var(--text-mute);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 40px;
}

/* ============ FOOTER ============ */
.footer {
    padding: 40px 0 30px;
    border-top: 1px solid var(--card-border);
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.footer__brand { display: flex; align-items: center; gap: 8px; }
.footer__logo { height: 28px; width: auto; display: block; }
.footer__copy { color: var(--text-mute); font-size: 14px; }
.footer__nap { color: var(--text-mute); font-size: 13px; font-style: normal; line-height: 1.7; margin-top: 8px; }
.footer__nap a { color: var(--text-soft); }
.footer__nap a:hover { color: var(--accent-light); }
.footer__legal {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}
.footer__legal a { color: var(--text-mute); font-size: 13px; }
.footer__legal a:hover { color: var(--accent-light); }
@media (max-width: 600px) {
    .footer__legal { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============ COOKIE CONSENT (vanilla-cookieconsent overrides) ============ */
:root {
    /* Fondo y texto */
    --cc-bg: #0F1A34;
    --cc-primary-color: #E7ECF3;
    --cc-secondary-color: #B4C0D4;

    /* Ambos botones Aceptar / Rechazar con mismo peso visual (AEPD) */
    --cc-btn-primary-bg: transparent;
    --cc-btn-primary-color: #E7ECF3;
    --cc-btn-primary-border-color: rgba(255, 255, 255, 0.18);
    --cc-btn-primary-hover-bg: rgba(255, 255, 255, 0.06);
    --cc-btn-primary-hover-color: #E7ECF3;
    --cc-btn-primary-hover-border-color: rgba(255, 255, 255, 0.4);

    --cc-btn-secondary-bg: transparent;
    --cc-btn-secondary-color: #E7ECF3;
    --cc-btn-secondary-border-color: rgba(255, 255, 255, 0.18);
    --cc-btn-secondary-hover-bg: rgba(255, 255, 255, 0.06);
    --cc-btn-secondary-hover-color: #E7ECF3;
    --cc-btn-secondary-hover-border-color: rgba(255, 255, 255, 0.4);

    /* Toggles */
    --cc-toggle-on-bg: #4C7DFF;
    --cc-toggle-off-bg: #3a4560;
    --cc-toggle-readonly-bg: #2a3350;
    --cc-toggle-on-knob-bg: #fff;
    --cc-toggle-off-knob-bg: #fff;

    /* Bloques de categoría (modal preferencias) */
    --cc-cookie-category-block-bg: rgba(255, 255, 255, 0.025);
    --cc-cookie-category-block-bg-hover: rgba(255, 255, 255, 0.05);
    --cc-cookie-category-block-border: rgba(255, 255, 255, 0.08);
    --cc-cookie-category-expanded-block-bg: rgba(0, 0, 0, 0.15);
    --cc-cookie-category-expanded-block-hover-bg: rgba(0, 0, 0, 0.2);

    /* Otros */
    --cc-link-color: #60A5FA;
    --cc-separator-border-color: rgba(255, 255, 255, 0.08);
    --cc-overlay-bg: rgba(4, 10, 22, 0.75);
    --cc-modal-border-radius: 14px;
    --cc-btn-border-radius: 999px;
    --cc-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}
#cc-main .cm__btn,
#cc-main .pm__btn { font-weight: 600; font-size: 14px; }
/* Marco azul del banner (mismo tono que "Configurar") */
#cc-main .cm {
    border: 1px solid #60A5FA;
}
/* Botón "Configurar" (show preferences) — más discreto */
#cc-main button[data-role="show"] {
    background: transparent;
    border-color: transparent;
    color: #60A5FA;
}
#cc-main button[data-role="show"]:hover {
    background: rgba(96, 165, 250, 0.08);
    color: #E7ECF3;
}

/* ============ MODAL LEGAL ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(4, 10, 22, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fade-in 250ms ease;
}
.modal__panel {
    position: relative;
    background: #0F1A34;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 780px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: modal-in 350ms cubic-bezier(.16, 1, .3, 1);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    border-bottom: 1px solid var(--card-border);
    flex-shrink: 0;
}
.modal__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.3px;
}
.modal__close {
    width: 36px; height: 36px;
    border-radius: 50%;
    color: var(--text-mute);
    font-size: 26px;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.modal__close:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.modal__body {
    padding: 24px 30px 30px;
    overflow-y: auto;
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.75;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.modal__body::-webkit-scrollbar { width: 8px; }
.modal__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
.modal__body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--white);
    margin: 28px 0 12px;
    font-weight: 700;
}
.modal__body h3:first-child { margin-top: 0; }
.modal__body p { margin-bottom: 14px; }
.modal__body ul { margin: 0 0 16px 22px; }
.modal__body li { margin-bottom: 6px; }
.modal__body strong { color: var(--white); font-weight: 600; }
.modal__body a { color: var(--accent-light); text-decoration: underline; }
.modal__body table {
    width: 100%; margin: 12px 0 18px;
    border-collapse: collapse;
    font-size: 13px;
}
.modal__body th, .modal__body td {
    padding: 8px 10px;
    border: 1px solid var(--card-border);
    text-align: left;
}
.modal__body th { background: rgba(255,255,255,0.03); color: var(--white); }
body.modal-open { overflow: hidden; }
@media (max-width: 600px) {
    .modal { padding: 12px; }
    .modal__head { padding: 18px 20px; }
    .modal__title { font-size: 20px; }
    .modal__body { padding: 20px; font-size: 14px; }
}

/* Fix corte última letra italic con background-clip: text */
.section__title em,
.hero__title em,
.final__title em,
.accent-blue {
    display: inline-block;
    padding-right: 0.14em;
}

/* ============ REVEAL ANIMATIONS ============ */
/* Sin JS: todo visible. Con JS (html.js), los .reveal empiezan ocultos y se animan al hacer scroll. */
html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 800ms cubic-bezier(.16, 1, .3, 1), transform 800ms cubic-bezier(.16, 1, .3, 1);
}
html.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger */
html.js .grid > .reveal:nth-child(2) { transition-delay: 100ms; }
html.js .grid > .reveal:nth-child(3) { transition-delay: 200ms; }
html.js .grid > .reveal:nth-child(4) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ============ PÁGINA SEGURIDAD ============ */
.sec-hero {
    padding: 170px 0 60px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(76, 125, 255, 0.10) 0%, transparent 65%);
    border-bottom: 1px solid var(--card-border);
}
.sec-hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.15;
    color: var(--white);
    margin: 24px 0 16px;
    letter-spacing: -0.5px;
}
.sec-hero__sub {
    color: var(--text-mute);
    font-size: 17px;
    font-weight: 500;
}
.section--tight { padding: 60px 0; }

/* Tarjetas de las dos capas */
.layer-card {
    background: rgba(76, 125, 255, 0.07);
    border: 1px solid rgba(76, 125, 255, 0.22);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: var(--transition);
}
.layer-card--conf {
    background: rgba(124, 92, 255, 0.09);
    border-color: rgba(124, 92, 255, 0.3);
}
.layer-card:hover { transform: translateY(-3px); border-color: var(--accent-light); }
.layer-card__icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(76, 125, 255, 0.14);
    color: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.layer-card--conf .layer-card__icon {
    background: rgba(124, 92, 255, 0.16);
    color: #A78BFA;
}
.layer-card__icon svg { width: 26px; height: 26px; }
.layer-card h3 {
    font-family: var(--font-sans);
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.layer-card p { color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.layer-card strong { color: var(--white); font-weight: 600; }

/* Tarjetas de compromisos */
.commit-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    padding: 24px 26px;
    transition: var(--transition);
}
.commit-card:hover {
    border-color: var(--card-border-hover);
    border-left-color: var(--accent-light);
    transform: translateY(-2px);
}
.commit-card h3 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.4;
}
.commit-card p { color: var(--text-mute); font-size: 14.5px; line-height: 1.65; }

/* Firma final */
.sec-signature {
    margin-top: 44px;
    color: var(--text-mute);
    font-size: 15px;
    line-height: 1.9;
}
.sec-signature a { color: var(--accent-light); }
.sec-signature a:hover { text-decoration: underline; }

/* Enlace inline dentro de las FAQ */
.faq__body a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.faq__body a:hover { color: var(--white); }

/* ============ EJEMPLOS / ESCENARIOS ============ */
.scenarios {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
}
.scenario {
    display: flex;
    gap: 24px;
    align-items: stretch;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 26px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.scenario::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4C7DFF 0%, #7C5CFF 100%);
    opacity: 0;
    transition: opacity var(--transition);
}
.scenario:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-3px);
}
.scenario:hover::before { opacity: 1; }
.scenario__time {
    flex-shrink: 0;
    width: 110px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(120deg, #4FD1C5 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
}
.scenario__body p {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.7;
}
@media (max-width: 640px) {
    .scenario { flex-direction: column; gap: 10px; padding: 22px 22px; }
    .scenario__time { width: auto; font-size: 22px; }
}

/* ============ OTROS SERVICIOS ============ */
.services-mini {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}
.service-mini {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px 26px;
    transition: var(--transition);
}
.service-mini:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-2px);
}
.service-mini__icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(76, 125, 255, 0.1);
    color: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
}
.service-mini__icon svg { width: 22px; height: 22px; }
.service-mini h3 {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.service-mini p {
    color: var(--text-mute);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Duración en tarjetas de proceso */
.step-card__dur {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(76, 125, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

/* ============ QUIÉN ESTÁ DETRÁS ============ */
.about {
    display: flex;
    gap: 48px;
    align-items: center;
}
.about__photo {
    flex-shrink: 0;
    width: 260px;
}
.about__photo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 2px solid rgba(76, 125, 255, 0.35);
    box-shadow: 0 0 60px rgba(76, 125, 255, 0.15);
}
.about__text .section__title { margin-bottom: 20px; }
.about__text p {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.75;
    margin-bottom: 14px;
}
@media (max-width: 720px) {
    .about { flex-direction: column; gap: 28px; text-align: center; }
    .about__photo { width: 200px; }
    .about__text .section__title--left { text-align: center; }
}

/* ============ NAV: seis enlaces caben en pantallas medianas ============ */
@media (max-width: 1100px) and (min-width: 901px) {
    .nav__links { gap: 22px; }
    .nav__links a { font-size: 14px; }
}

/* ============ Enlace activo en el menú ============ */
.nav__links a.is-active { color: var(--white); }

/* ============ Botón secundario discreto ============ */
.btn--ghost {
    background: transparent;
    color: var(--text-soft);
    border: 1px solid transparent;
}
.btn--ghost:hover { color: var(--white); }

/* ============ Dos botones en una misma llamada a la acción ============ */
.section__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ Párrafos alineados con el texto de las tarjetas ============ */
.prose-block--aligned { padding-left: 91px; }

/* Doble espacio entre el título y el párrafo en "Cómo empezamos" */
#como-empezamos .prose-block--left { margin-top: 44px; }
