/* ============================================ */
/* manifiesto.css - AZENIS Guía Landing         */
/* v3.8 - Formulario 2 columnas                 */
/* Paleta: #D4AF37 (Dorado), #0a0a0f (Oscuro)   */
/* Tipografía: Montserrat                       */
/* ============================================ */

:root {
    --dorado: #06B6D4;        /* cyan principal */
    --dorado-hover: #0891B2;  /* cyan oscuro */
    --dorado-light: #22D3EE;  /* cyan claro */
    --sombra-dorada: 0 4px 20px rgba(6, 182, 212, 0.3);
    /* el resto igual */
}

.hero-manifiesto,
.hero-manifiesto *,
.hero-manifiesto *::before,
.hero-manifiesto *::after,
.comparativa,
.comparativa *,
.verdades,
.verdades *,
.testimonial,
.testimonial *,
.indice-completo,
.indice-completo *,
.descarga,
.descarga * {
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================ */
/* HERO SECTION                                  */
/* ============================================ */
.hero-manifiesto {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
    padding-top: calc(120px + var(--header-height));
    background-image: url('/guia/assets/images/hero-home.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0a0a0f;
}

.hero-manifiesto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.45);
    z-index: 0;
    pointer-events: none;
}

.hero-linea-dorada {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 900px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--dorado) 20%, var(--dorado-light) 50%, var(--dorado) 80%, transparent 100%);
    z-index: 3;
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--dorado);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--blanco);
    line-height: 1.25;
    margin-bottom: 24px;
}

.texto-dorado { color: var(--dorado); }

.hero-insight {
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 3px solid var(--dorado);
}

.hero-insight p {
    font-size: 1.1rem;
    color: var(--gris-claro);
    font-weight: 500;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

.hero-description {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.btn-dorado {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--dorado), #B8942E);
    color: #0A1F2E;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--sombra-dorada);
    pointer-events: auto;
}

.btn-dorado:hover {
    background: linear-gradient(135deg, var(--dorado-light), var(--dorado));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    color: #0A1F2E;
    text-decoration: none;
}

.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-block { width: 100%; }

.cta-subtext {
    font-size: 0.85rem;
    color: #ffffff;
    opacity: 0.7;
    margin-top: 4px;
}

/* --- Ebook Mockup --- */
.ebook-mockup { display: flex; justify-content: center; align-items: center; position: relative; z-index: 2; }

.ebook-cover {
    width: 320px; height: 420px; border-radius: 8px; position: relative; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(212, 175, 55, 0.2);
    transform: perspective(800px) rotateY(-10deg) rotateX(5deg); transition: transform 0.5s ease;
    background: #12121a;
}

.ebook-cover:hover { transform: perspective(800px) rotateY(-5deg) rotateX(2deg); }
.ebook-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ebook-cover::after {
    content: ''; position: absolute; left: 0; top: 0; width: 6px; height: 100%;
    background: linear-gradient(180deg, var(--dorado), #8B6914); z-index: 2; border-radius: 8px 0 0 8px;
}

.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ============================================ */
/* SECCIÓN COMPARATIVA DE VALOR                  */
/* ============================================ */
.comparativa { background-color: #1a0a0c; padding: 80px 0; }

.seccion-titulo {
    font-family: 'Montserrat', sans-serif; font-size: 2.2rem; font-weight: 700;
    color: var(--blanco); text-align: center; margin-bottom: 40px;
}

.comparativa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1000px; margin: 0 auto; }

.col-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid; }
.no-es-header { border-bottom-color: rgba(255, 71, 87, 0.4); }
.si-es-header { border-bottom-color: rgba(212, 175, 55, 0.4); }

.col-icono { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.no-es-header .col-icono { background: rgba(255, 71, 87, 0.1); border: 1px solid rgba(255, 71, 87, 0.25); }
.si-es-header .col-icono { background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212, 175, 55, 0.25); }
.col-icono svg { display: block; }

.col-header h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 500; color: #999; margin: 0; }
.col-header h3 strong { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.no-es-header h3 strong { color: #ff4757; }
.si-es-header h3 strong { color: var(--dorado); }

.comparativa-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 10px; margin-bottom: 14px; transition: all 0.3s ease; border-left: 4px solid; }
.card-no-es { background: rgba(255, 71, 87, 0.04); border-color: rgba(255, 71, 87, 0.15); border-left-color: #ff4757; }
.card-no-es:hover { background: rgba(255, 71, 87, 0.08); border-color: rgba(255, 71, 87, 0.35); border-left-color: #ff6b81; transform: translateX(3px); }
.card-si-es { background: rgba(212, 175, 55, 0.04); border-color: rgba(212, 175, 55, 0.12); border-left-color: var(--dorado); }
.card-si-es:hover { background: rgba(212, 175, 55, 0.08); border-color: rgba(212, 175, 55, 0.3); border-left-color: var(--dorado-light); transform: translateX(-3px); }

.card-icono { flex-shrink: 0; line-height: 1; margin-top: 1px; opacity: 0.9; transition: opacity 0.3s ease; }
.comparativa-card:hover .card-icono { opacity: 1; }
.comparativa-card p { color: #bbb; font-size: 0.95rem; margin: 0; line-height: 1.5; }
.card-si-es p { color: #ddd; font-weight: 500; }

/* ============================================ */
/* SECCIÓN VERDADES INCÓMODAS                    */
/* ============================================ */
.verdades { background-color: #0d0d14; padding: 80px 0; }

.seccion-subtitulo { text-align: center; color: #888; margin-bottom: 50px; font-size: 1.05rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.verdades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.verdades-grid .verdad-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; max-width: 380px; justify-self: center; }

.verdad-card {
    background: #111118; border: 1px solid #1e1e2e; border-radius: 12px; padding: 32px 28px 28px;
    position: relative; overflow: hidden; transition: all 0.35s ease; display: flex; flex-direction: column; gap: 16px;
}
.verdad-card:hover { border-color: rgba(212, 175, 55, 0.35); transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.1); }
.verdad-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, transparent, var(--dorado), transparent); opacity: 0; transition: opacity 0.35s ease; }
.verdad-card:hover::before { opacity: 1; }

.verdad-numero { font-family: 'Montserrat', sans-serif; font-size: 4rem; font-weight: 800; color: rgba(212, 175, 55, 0.12); line-height: 1; position: absolute; top: 16px; right: 20px; pointer-events: none; transition: color 0.35s ease; }
.verdad-card:hover .verdad-numero { color: rgba(212, 175, 55, 0.22); }
.verdad-contenido { position: relative; z-index: 1; }
.verdad-contenido h3 { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--blanco); margin-bottom: 10px; line-height: 1.35; padding-right: 50px; }
.verdad-contenido p { color: #999; font-size: 0.92rem; line-height: 1.65; margin: 0; }

/* ============================================ */
/* SECCIÓN TESTIMONIAL                           */
/* ============================================ */
.testimonial {
    background: linear-gradient(180deg, #1a0a0c 0%, #140a0e 50%, #0a0a0f 100%);
    padding: 80px 0;
    position: relative;
}

.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.testimonial-icono {
    flex-shrink: 0;
}

.testimonial-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.testimonial:hover .testimonial-img {
    opacity: 1;
}

.testimonial blockquote {
    position: relative;
    text-align: left;
}

.comillas {
    font-family: 'Georgia', serif;
    font-size: 6rem;
    color: rgba(212, 175, 55, 0.06);
    line-height: 1;
    position: absolute;
    top: -30px;
    left: -10px;
    pointer-events: none;
}

.testimonial p {
    font-size: 1.15rem;
    color: #ccc;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin: 0;
}

.testimonial cite {
    display: block;
    margin-top: 16px;
    color: var(--dorado);
    font-style: normal;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .testimonial blockquote {
        text-align: center;
    }

    .comillas {
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-img {
        width: 70px;
        height: 70px;
    }
}

/* ============================================ */
/* ÍNDICE POR FASES ESTRATÉGICAS                 */
/* ============================================ */
.indice-completo {
    background: linear-gradient(180deg, #0a0a0f 0%, #0a1020 35%, #0a1528 50%, #140a0c 75%, #1a0a0c 100%);
    padding: 80px 0;
}

.fases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; }
.fase-card { background: #111118; border: 1px solid #1e1e2e; border-left: 4px solid var(--dorado); border-radius: 10px; padding: 30px 28px 24px; transition: all 0.35s ease; display: flex; flex-direction: column; gap: 18px; }
.fase-card:hover { border-color: rgba(212, 175, 55, 0.3); transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4); }
.fase-header { display: flex; align-items: center; gap: 14px; }
.fase-icono { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(212, 175, 55, 0.06); border: 1px solid rgba(212, 175, 55, 0.15); flex-shrink: 0; }
.fase-icono svg { display: block; }
.fase-titulo { display: flex; flex-direction: column; gap: 2px; }
.fase-numero { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dorado); opacity: 0.7; }
.fase-titulo h3 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--blanco); margin: 0; }
.fase-descripcion { color: #888; font-size: 0.85rem; line-height: 1.5; margin: 0; padding-bottom: 12px; border-bottom: 1px solid #1e1e2e; }
.fase-capitulos { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fase-capitulos li { color: #bbb; font-size: 0.9rem; line-height: 1.5; padding: 6px 0; display: flex; align-items: baseline; gap: 10px; transition: color 0.3s ease; cursor: default; }
.fase-capitulos li:hover { color: var(--dorado); }
.capitulo-marcador { color: var(--dorado); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; transition: transform 0.3s ease; }
.fase-capitulos li:hover .capitulo-marcador { transform: translateX(3px); }

/* ============================================ */
/* FORMULARIO DE DESCARGA                        */
/* ============================================ */
.descarga {
    background-image: url('/guia/assets/images/cta-guia.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0a0a0f;
    padding: 80px 0;
    position: relative;
}

.descarga::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.4);
    z-index: 0;
    pointer-events: none;
}

.descarga .container {
    position: relative;
    z-index: 1;
}

.descarga-card {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(17, 17, 24, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.descarga-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blanco);
    margin-bottom: 12px;
    line-height: 1.3;
}

.descarga-card > p {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 1rem;
}

.descarga-card > p strong {
    color: var(--dorado);
    font-weight: 600;
}

.form-manifiesto .form-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row-doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: #ddd;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.required {
    color: #ff4757;
    font-weight: 700;
}

.form-hint {
    display: block;
    font-size: 0.7rem;
    color: #999;
    margin-top: 4px;
    font-style: italic;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--dorado);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: rgba(10, 10, 15, 0.8);
}

.form-group input::placeholder {
    color: #666;
}

.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--dorado);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: rgba(10, 10, 15, 0.8);
}

.form-group select option {
    background: #111118;
    color: #ccc;
}

.form-group select option:disabled {
    color: #555;
}

.telefono-group {
    display: flex;
    gap: 8px;
}

.codigo-input {
    width: 85px !important;
    flex-shrink: 0;
    background: rgba(13, 13, 20, 0.7) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--dorado) !important;
    font-weight: 600 !important;
    text-align: center;
    cursor: default;
    padding: 14px 8px !important;
}

.telefono-group input[type="tel"] {
    flex: 1;
}

.form-submit {
    margin-top: 8px;
}

.form-disclaimer {
    font-size: 0.78rem;
    color: #999;
    margin-top: 16px;
}

.form-mensaje {
    margin-top: 20px;
    padding: 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-mensaje.success {
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

.form-mensaje.error {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

/* ============================================ */
/* LÍNEA DORADA COMPARTIDA                       */
/* ============================================ */
.comparativa,
.verdades,
.testimonial,
.indice-completo,
.descarga {
    position: relative;
}

.comparativa::after,
.verdades::after,
.testimonial::after,
.indice-completo::after,
.descarga::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 900px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--dorado) 20%, var(--dorado-light) 50%, var(--dorado) 80%, transparent 100%);
    z-index: 3;
    opacity: 0.4;
}

/* ============================================ */
/* RESPONSIVE                                    */
/* ============================================ */
@media (max-width: 992px) {
    .hero-manifiesto { padding: 100px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-insight p { font-size: 1rem; }
    .hero-linea-dorada { width: 85%; }
    .ebook-cover { width: 260px; height: 340px; transform: none; }
    .ebook-cover:hover { transform: none; }
    .comparativa-grid { grid-template-columns: 1fr; gap: 40px; }
    .verdades-grid { grid-template-columns: 1fr 1fr; }
    .verdades-grid .verdad-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; max-width: 100%; }
    .fases-grid { grid-template-columns: 1fr; gap: 24px; max-width: 600px; }
    .seccion-titulo { font-size: 1.8rem; }
}

@media (max-width: 576px) {
    .hero-manifiesto { padding: 80px 0 60px; }
    .hero-content h1 { font-size: 1.7rem; }
    .hero-insight p { font-size: 0.95rem; }
    .hero-description { font-size: 0.9rem; }
    .hero-linea-dorada { width: 90%; }
    .ebook-cover { width: 200px; height: 270px; }
    .badge { font-size: 0.65rem; padding: 8px 18px; letter-spacing: 1px; }
    .comparativa { padding: 60px 0; }
    .comparativa-card { padding: 16px; }
    .comparativa-card p { font-size: 0.88rem; }
    .col-header h3 { font-size: 1rem; }
    .verdades { padding: 60px 0; }
    .verdades-grid { grid-template-columns: 1fr; }
    .verdad-card { padding: 24px 20px 22px; }
    .verdad-numero { font-size: 3rem; top: 10px; right: 14px; }
    .verdad-contenido h3 { font-size: 1.05rem; padding-right: 40px; }
    .verdad-contenido p { font-size: 0.87rem; }
    .indice-completo { padding: 60px 0; }
    .fase-card { padding: 24px 18px 20px; }
    .fase-titulo h3 { font-size: 1.1rem; }
    .fase-capitulos li { font-size: 0.85rem; }
    .descarga-card { padding: 30px 20px; }
    .descarga-card h2 { font-size: 1.3rem; }
    .seccion-titulo { font-size: 1.5rem; }
    .btn-dorado { width: 100%; justify-content: center; text-align: center; }
    .hero-cta { align-items: stretch; }
    .form-row-doble { grid-template-columns: 1fr; gap: 18px; }
    .codigo-input { width: 75px !important; }
}