:root {
    --primary-green: #005a32;
    --secondary-green: #00391e;
    --accent-orange: #f05a28;
    --text-dark: #1a1a1a;
    --text-light: #4a5568;
    --white: #ffffff;
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Reset de enlaces */
a {
    text-decoration: none;
    color: inherit;
}

/* --- Navigation --- */
header {
    background: white;
    height: 100px;
    border-bottom: 2px solid var(--primary-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo-wrap {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    min-width: 350px;
}

.logo-wrap img {
    height: 160px;
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    left: 0;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    font-weight: 700;
    font-size: 1.15rem;
}

.nav-links a {
    color: var(--primary-green);
    font-family: 'Montserrat', sans-serif;
}

/* --- Hero Compacto anclado a la izquierda --- */
.hero-banner {
    position: relative;
    height: 75vh;
    min-height: 550px;
    background: #000 url('assets/hero.png') center/cover no-repeat;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160%;
    height: 160%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.85;
    z-index: 1;
    filter: brightness(0.85);
}

/* El container dentro del hero ocupa todo el alto para centrar verticalmente */
.hero-banner .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 30px 38px;
    max-width: 460px;
    /* Mas pequeña */
    border-radius: 4px;
    box-shadow: var(--shadow-premium);
    border-left: 10px solid var(--primary-green);
    text-align: left;
    margin-left: 0;
    /* Pegada al borde izquierdo del container */
    flex-shrink: 0;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.2;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.hero-content h2 span {
    color: var(--accent-orange);
    font-weight: 900;
}

.disclaimer-hero {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 12px 15px;
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 25px;
    line-height: 1.4;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.disclaimer-hero i {
    font-size: 1.1rem;
    margin-top: 2px;
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 28px;
}

/* BOTON NARANJA PREMIUM */
.btn-orange {
    background: linear-gradient(135deg, #f05a28 0%, #c84a1a 100%);
    color: white !important;
    padding: 16px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(240, 90, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    display: inline-block;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
}

.btn-orange:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(240, 90, 40, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* --- Secciones --- */
.blue-bar {
    background: var(--primary-green);
    padding: 30px 0;
}

.full-width-bar-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    padding: 0 3%;
    flex-wrap: wrap;
    gap: 15px;
}

.service-pill {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4);
}

/* --- Formulario Compacto --- */
.form-card {
    background: white;
    padding: 30px 35px;
    border-radius: 6px;
    color: var(--text-dark);
    box-shadow: var(--shadow-premium);
    border-top: 8px solid var(--primary-green);
}

.form-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 5px;
    background: #f8fafc;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
    transition: 0.2s;
}

.form-card input:focus,
.form-card textarea:focus {
    border-color: var(--primary-green);
    outline: none;
    background: white;
}

.form-card textarea {
    margin-bottom: 14px;
}

.file-group-title {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.file-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.file-label-pro {
    border: 2px dashed #cbd5e1;
    padding: 15px 10px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    transition: 0.2s;
}

.file-label-pro i {
    font-size: 1.4rem;
    color: var(--primary-green);
}

.file-label-pro span {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--text-light);
}

.file-label-pro:hover {
    border-color: var(--primary-green);
    background: #edf7f1;
}

.file-label-pro input {
    display: none;
}

/* BOTON SUBMIT PREMIUM */
.btn-submit {
    background: linear-gradient(135deg, #f05a28 0%, #c84a1a 100%);
    color: white;
    width: 100%;
    padding: 17px;
    border: none;
    border-radius: 6px;
    font-weight: 900;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 8px 25px rgba(240, 90, 40, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(240, 90, 40, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        margin: 0 auto;
        padding: 30px;
        text-align: center;
        border-left: none;
        border-top: 10px solid var(--primary-green);
        max-width: 90%;
    }

    .logo-wrap {
        min-width: unset;
        width: 100%;
        justify-content: center;
    }

    .logo-wrap img {
        height: 120px;
        position: relative;
        top: unset;
        transform: unset;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header {
        height: auto;
        padding: 10px 0;
    }

    .hero-banner {
        height: auto;
        padding: 80px 0;
    }

    .hero-banner .container {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .blue-bar {
        padding: 20px 0;
    }

    .service-pill {
        width: 100%;
        justify-content: center;
    }

    #plan .container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .check-list li {
        text-align: left;
    }

    #contacto .container>div {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .form-grid,
    .form-grid-2,
    .file-grid {
        grid-template-columns: 1fr !important;
    }

    footer .container>div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 30px !important;
    }

    footer div div:last-child {
        text-align: center !important;
    }

    .disclaimer-hero {
        margin-bottom: 30px;
    }
}