/* --- BRAND COLORS (GES SEGUROS) --- */
:root {
    --ges-primary: #E2001A;
    /* Ges Corporate Red */
    --ges-secondary: #696B6E;
    /* Ges Corporate Dark Gray */
    --ges-dark: #333333;
    /* Dark text base */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --bg-gray: #F7F9FA;
    --wa-green: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--ges-secondary);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 10px;
    font-weight: 800;
    color: var(--ges-secondary);
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 50px;
    text-align: center;
    font-weight: 500;
}

/* --- HEADER --- */
.header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-logo {
    height: 50px;
}

.agency-tag {
    font-size: 0.85rem;
    color: var(--text-light);
    border-left: 2px solid var(--ges-primary);
    padding-left: 15px;
    line-height: 1.3;
}

.agency-tag strong {
    color: var(--ges-secondary);
    font-size: 1rem;
    font-weight: 700;
}

.contact-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-phone span {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 500;
}

.contact-phone a {
    color: var(--ges-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.contact-phone a:hover {
    color: var(--ges-secondary);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding: 60px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1511895426328-dc8714191300?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(80, 82, 85, 0.95) 0%, rgba(40, 42, 45, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.hero-text-area {
    flex: 1.1;
    color: var(--white);
}

.badge {
    background-color: var(--ges-primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text-area h1 {
    font-size: 3rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-text-area p {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.95;
}

/* --- LEAD FORM --- */
.hero-form-area {
    flex: 0.9;
}

.form-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-top: 6px solid var(--ges-primary);
}

.form-wrapper h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 8px;
    color: var(--ges-secondary);
}

.form-wrapper p {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    color: #A0B0C0;
    font-size: 1rem;
    z-index: 2;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 13px 13px 13px 40px;
    border: 1px solid #E0E6ED;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: #F8FAFC;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
}

.input-group select {
    cursor: pointer;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f0d7';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0B0C0;
    pointer-events: none;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--ges-primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(226, 0, 26, 0.1);
}

.row {
    display: flex;
    gap: 15px;
}

.half {
    flex: 1;
}

.btn-primary {
    width: 100%;
    background: var(--ges-primary);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary:hover {
    background: #C40016;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 0, 26, 0.3);
}

.gdpr-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
}

.gdpr-checkbox input {
    margin-top: 4px;
    cursor: pointer;
    accent-color: var(--ges-primary);
}

.gdpr-checkbox label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.gdpr-checkbox a {
    color: var(--ges-primary);
}

.gdpr-note {
    font-size: 0.72rem;
    color: #9AA7B4 !important;
    text-align: justify;
    margin-top: 15px !important;
    line-height: 1.4;
}

.gdpr-note a {
    color: var(--ges-primary);
    text-decoration: underline;
}

/* --- BENEFITS SECTION --- */
.benefits-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    width: calc(33.333% - 20px);
    text-align: center;
    border-top: 3px solid transparent;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-top-color: var(--ges-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(226, 0, 26, 0.1);
    color: var(--ges-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.benefit-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- DETAILS (COBERTURAS & TRANSPARENCIA) --- */
.details-section {
    padding: 80px 0;
}

.split-layout {
    display: flex;
    gap: 50px;
}

.split-col {
    flex: 1;
}

.col-title {
    font-size: 2rem;
    margin-bottom: 25px;
}

.list-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-list {
    list-style: none;
    margin-bottom: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.custom-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--ges-primary);
    font-size: 0.9rem;
}

.custom-list.exclude li::before {
    content: '\f00d';
    color: #A0B0C0;
}

.legal-small {
    font-size: 0.75rem;
    color: #888;
    background: #F8FAFC;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 3px solid #DDD;
}

.why-ges-box {
    background: var(--ges-secondary);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(105, 107, 110, 0.2);
}

.why-ges-box h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.why-ges-box .highlight {
    font-weight: 700;
    color: var(--ges-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.why-ges-box p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.min-list {
    list-style: none;
}

.min-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.min-list i {
    color: var(--ges-primary);
}

/* --- CTA FINAL --- */
.final-cta {
    background: #E8EBEF;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #DDE2E7;
}

.final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline {
    background: var(--white);
    border: 2px solid var(--ges-secondary);
    color: var(--ges-secondary);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--ges-secondary);
    color: var(--white);
}

.btn-whatsapp-large {
    background: var(--wa-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-large:hover {
    background: #1ebe57;
    transform: translateY(-2px);
}

/* --- FOOTER --- */
.main-footer {
    background: #3B3C3F;
    padding: 40px 0;
    color: #B0B5BA;
    font-size: 0.85rem;
}

.flex-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand img {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-brand strong {
    color: var(--white);
}

.footer-links {
    text-align: right;
}

.legal-links {
    margin-bottom: 15px;
}

.legal-links a {
    color: var(--ges-primary);
    text-decoration: none;
    margin: 0 5px;
}

.legal-links a:hover {
    color: var(--white);
}

/* --- FLOATING WA --- */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--wa-green);
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.3s;
}

.float-wa:hover {
    transform: scale(1.1);
}

.success-box {
    text-align: center;
    padding: 20px 0;
}

.success-box i {
    font-size: 4rem;
    color: var(--ges-primary);
    margin-bottom: 15px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {

    .hero-content,
    .split-layout {
        flex-direction: column;
    }

    .hero-text-area,
    .hero-form-area {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .benefit-card {
        width: calc(50% - 15px);
    }

    .flex-footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    .hero-text-area h1 {
        font-size: 2.2rem;
    }

    .row {
        flex-direction: column;
        gap: 0;
    }

    .benefit-card {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }
}