/* ============================================================
   Kit CV de Alto Impacto — style.css
   yoestoy.online/guia-cv/
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy:            #1e3a5f;
    --navy-light:      #2c4a6e;
    --navy-ultra-light:#eef3f8;
    --gold:            #b8963e;
    --gold-dark:       #9a7a2f;
    --text:            #1c1c1c;
    --text-muted:      #6b6b6b;
    --bg:              #f7f7f5;
    --white:           #ffffff;
    --border:          #e0e0dc;
    --radius:          8px;
    --font:            'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* === LAYOUT === */
.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    background-color: var(--navy);
    color: var(--white);
    padding: 96px 0 84px;
    text-align: center;
}

.eyebrow {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.9rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white);
}

.hero h1 span {
    color: #a8c8e8;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.68);
    max-width: 620px;
    margin: 0 auto 38px;
    font-weight: 300;
    line-height: 1.75;
}

.btn-primary {
    display: inline-block;
    background-color: var(--white);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 14px 34px;
    border-radius: var(--radius);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background-color: var(--navy-ultra-light);
    transform: translateY(-1px);
}


/* ============================================================
   SECCIÓN: PROBLEMA
   ============================================================ */
.section-problema {
    padding: 72px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}

.section-problema h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--navy);
}

.lista-problemas {
    list-style: none;
    margin-bottom: 30px;
    max-width: 680px;
}

.lista-problemas li {
    padding: 12px 0 12px 28px;
    position: relative;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-size: 0.97rem;
}

.lista-problemas li:first-child {
    border-top: 1px solid var(--border);
}

.lista-problemas li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--navy-light);
    font-weight: 600;
}

.problema-cierre {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 26px;
    max-width: 580px;
}


/* ============================================================
   SECCIÓN: SOLUCIÓN / KIT
   ============================================================ */
.section-solucion {
    padding: 80px 0;
    background-color: var(--bg);
}

.section-solucion h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy);
}

.section-sub {
    color: var(--text-muted);
    margin-bottom: 42px;
    font-size: 0.97rem;
    max-width: 580px;
}

/* Cards versiones A / B / C */
.cards-kit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.card-kit {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.card-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-light);
    background-color: var(--navy-ultra-light);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.card-kit h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy);
}

.card-kit p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Bonus items */
.bonus-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.bonus-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
}

.bonus-icon {
    font-size: 0.95rem;
    color: var(--navy-light);
    font-weight: 700;
    margin-top: 2px;
    flex-shrink: 0;
}

.bonus-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.bonus-item p {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}


/* ============================================================
   SECCIÓN: PRECIOS
   ============================================================ */
.section-precios {
    padding: 88px 0;
    background-color: var(--navy);
}

.section-precios h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    text-align: center;
}

/* Toggle moneda */
.toggle-moneda {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 44px;
}

.toggle-btn {
    padding: 8px 30px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s;
    letter-spacing: 0.06em;
}

.toggle-btn.active {
    background-color: var(--white);
    color: var(--navy);
    border-color: var(--white);
    font-weight: 700;
}

.toggle-btn:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.85);
}

/* Grid de cards */
.precios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    align-items: start;
}

.precio-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 32px 26px 28px;
    position: relative;
    border: 2px solid transparent;
}

.precio-card--featured {
    border-color: var(--gold);
    transform: translateY(-8px);
}

.badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    color: var(--white);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.precio-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.precio-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
}

.precio-card-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.precio-amount {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.2s;
}

.precio-tachado {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    min-height: 1.2em;
}

.precio-features {
    list-style: none;
    margin-bottom: 26px;
}

.precio-features li {
    padding: 9px 0 9px 22px;
    font-size: 0.875rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.precio-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--navy-light);
    font-weight: 700;
    font-size: 0.78rem;
    top: 10px;
}

/* Botones de card */
.btn-card {
    display: block;
    text-align: center;
    background-color: var(--navy);
    color: var(--white);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 13px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.18s, transform 0.15s;
    letter-spacing: 0.01em;
}

.btn-card:hover {
    background-color: var(--navy-light);
    transform: translateY(-1px);
}

.btn-card--featured {
    background-color: var(--gold);
    color: var(--white);
}

.btn-card--featured:hover {
    background-color: var(--gold-dark);
}


/* ============================================================
   SECCIÓN: SOBRE MÍ
   ============================================================ */
.section-sobre {
    padding: 76px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border);
}

.section-sobre h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--navy);
}

.section-sobre p {
    font-size: 0.97rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.8;
}

.section-sobre p:last-child {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--bg);
    border-top: 1px solid var(--border);
    padding: 28px 0;
    text-align: center;
}

.footer a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero {
        padding: 64px 0 56px;
    }

    .precio-card--featured {
        transform: none;
    }

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

    .cards-kit {
        grid-template-columns: 1fr;
    }

    .bonus-row {
        flex-direction: column;
    }

    .section-problema,
    .section-solucion,
    .section-precios,
    .section-sobre {
        padding: 56px 0;
    }
}

@media (max-width: 480px) {
    .container,
    .container--narrow {
        padding: 0 18px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }
}
