/* === VARIABLES DE COLOR (iguales a la web principal) === */
:root {
    --color-fondo-base: #F8EFEA;
    --color-texto-oscuro: #4A3C32;
    --color-navbar: #FDF9F7;
    --color-naranja-quemado: #E2725B;
    --color-melocoton: #F6AD9C;
    --color-verde-principal: #5C7457;
    --color-verde-oscuro: #4A5D46;
    --color-montana-oscura: #3A474D;
    --color-blanco: #FFFFFF;
}

/* --- RESET Y GLOBALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: transparent;
    color: var(--color-texto-oscuro);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    text-align: justify;
    /* Justificar texto por defecto en toda la landing */
}

/* Fondo de montañas, igual que en la home */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-color: var(--color-fondo-base);
    background-image: url('Montañas fondo con azul.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

h1,
h2,
h3,
h4 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-texto-oscuro);
}

/* === CABECERA Y LOGO (Centrado y grande) === */
.landing-header-abs {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 100;
}

.landing-nav {
    display: flex;
    justify-content: center;
    /* Centrar logo */
    padding: 0 !important;
}

.landing-logo {
    display: inline-block;
    height: 350px;
}

.landing-logo img {
    height: 100%;
    width: auto;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ===  MAIN === */
.landing-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 25rem 1.5rem 4rem;
    overflow-x: hidden;
}

/* === GRID DE DOS COLUMNAS === */
.landing-container {
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* === COLUMNA IZQUIERDA — TEXTO === */
.landing-content {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(74, 60, 50, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.landing-content:hover {
    transform: translateY(-2px);
}

.landing-content h1 {
    font-family: 'EB Garamond', serif;
    font-size: 2.4rem;
    color: var(--color-verde-principal);
    margin-bottom: 0.4rem;
}

.landing-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-naranja-quemado);
    margin-bottom: 1.2rem;
}

.landing-content h1 {
    font-size: 2.25rem;
    color: var(--color-texto-oscuro);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-align: center;
    /* Centrar el título solicitado */
}

.landing-content h2 {
    font-size: 1.45rem;
    color: var(--color-montana-oscura);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-melocoton);
}

.landing-content p {
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
    color: #5a4b41;
    text-align: justify;
}

.landing-questions p {
    text-align: center;
    /* Sobrescribir el justify general de landing-content p */
}

.landing-content p strong {
    color: var(--color-verde-principal);
}

/* Listas de beneficios con check */
.landing-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
}

.landing-list li {
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
    padding-left: 2.2rem;
    position: relative;
    color: #5a4b41;
    transition: transform 0.2s ease;
}

.landing-list li:hover {
    transform: translateX(5px);
}

.landing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-naranja-quemado);
    font-weight: bold;
    font-size: 1.2rem;
    background-color: rgba(226, 114, 91, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: -2px;
}

/* Cita final destacada */
.landing-cita {
    margin-top: 2rem;
    padding: 1.2rem 1.5rem;
    border-left: 4px solid var(--color-naranja-quemado);
    background-color: rgba(246, 173, 156, 0.12);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-texto-oscuro);
}

/* === COLUMNA DERECHA — FORMULARIO === */
.landing-form-container {
    background: linear-gradient(145deg, var(--color-verde-principal), var(--color-verde-oscuro));
    padding: 3rem;
    border-radius: 20px;
    color: var(--color-blanco);
    box-shadow: 0 15px 50px rgba(74, 93, 70, 0.4);
    position: sticky;
    top: 7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-form-header h3 {
    font-family: 'Lora', serif;
    color: var(--color-blanco);
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.landing-form-header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Labels */
.simple_form .form-group {
    margin-bottom: 1.2rem;
}

.simple_form .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Inputs */
.simple_form .form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-texto-oscuro);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.simple_form .form-control:focus {
    outline: none;
    border-color: var(--color-naranja-quemado);
    box-shadow: 0 0 0 3px rgba(226, 114, 91, 0.25);
}

/* Botón CTA */
.simple_form .btn-primary {
    background: linear-gradient(135deg, var(--color-naranja-quemado), #c9614b);
    color: var(--color-blanco);
    border: none;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(226, 114, 91, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    white-space: normal;
    /* Permite que el texto largo salte de línea */
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.simple_form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(226, 114, 91, 0.5);
}

.simple_form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(226, 114, 91, 0.3);
}

/* Nota de privacidad debajo del botón */
.form-privacy {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.78rem;
    opacity: 0.65;
}

/* === FOOTER — IDENTICO A LA HOME === */
.footer {
    background-color: var(--color-montana-oscura);
    color: var(--color-fondo-base);
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 2rem;
}

.footer p {
    text-align: center;
    margin-bottom: 0.5rem;
}

.footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === RESPONSIVE: TABLET/MÓVIL (768px para coincidir con la home) === */
@media (max-width: 768px) {
    .landing-header-abs {
        top: 10px;
    }

    .landing-logo {
        height: 160px;
        /* Un poco más grande también en móvil */
    }

    .landing-main {
        padding: 12.5rem 0.85rem 2rem;
    }

    .landing-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .landing-form-container {
        position: static;
    }
}

@media (max-width: 600px) {
    .landing-container {
        gap: 1.5rem;
    }

    .landing-content {
        padding: 1.5rem;
        width: 100%;
        min-width: 0;
    }

    .landing-content h1 {
        font-size: 1.75rem;
    }

    .landing-content h2 {
        font-size: 1.2rem;
    }

    .landing-form-container {
        padding: 1.5rem;
        width: 100%;
        min-width: 0;
    }

    /* Encoge el captcha para evitar desborde */
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center center;
    }

    .simple_form .btn-primary {
        font-size: 1rem;
        /* Un poco más pequeño en móviles muy estrechos */
        padding: 1rem;
    }
}