/* ================================
   MEDICORP - SEGURO DE VIDA
================================ */

.life-hero {
    position: relative;
    padding: 115px 0 95px;
    background:
        radial-gradient(circle at top right, rgba(14, 77, 146, 0.18), transparent 34%),
        linear-gradient(135deg, #f7fbff 0%, #ffffff 58%, #eef6ff 100%);
    overflow: hidden;
}

.life-hero::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    right: -180px;
    bottom: -210px;
    border-radius: 50%;
    background: rgba(14, 77, 146, 0.08);
}

.life-hero::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    left: -70px;
    top: 80px;
    border-radius: 50%;
    background: rgba(46, 160, 210, 0.11);
}

.life-hero .container {
    position: relative;
    z-index: 2;
}

.life-hero-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    align-items: center;
    gap: 54px;
}

.life-hero-content {
    max-width: 760px;
}

.life-badge,
.pre-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(14, 77, 146, 0.10);
    color: #0E4D92;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.life-hero h1 {
    margin: 0;
    color: #102A43;
    font-size: clamp(2.25rem, 5vw, 4.45rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.life-hero p {
    max-width: 710px;
    margin: 24px 0 0;
    color: #52616B;
    font-size: 1.12rem;
    line-height: 1.8;
}

.life-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
    border: none;
    background: linear-gradient(135deg, #0E4D92, #2EA0D2);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(14, 77, 146, 0.24);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(14, 77, 146, 0.30);
}

.btn-secondary {
    background: #ffffff;
    color: #0E4D92;
    border: 1px solid rgba(14, 77, 146, 0.16);
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.06);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(14, 77, 146, 0.28);
    box-shadow: 0 16px 34px rgba(16, 42, 67, 0.10);
}

.life-hero-card {
    position: relative;
    padding: 38px 34px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(14, 77, 146, 0.10);
    box-shadow: 0 24px 65px rgba(16, 42, 67, 0.12);
    overflow: hidden;
}

.life-hero-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(46, 160, 210, 0.14);
}

.hero-card-icon {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #0E4D92, #2EA0D2);
    color: #ffffff;
    font-size: 1.7rem;
    box-shadow: 0 14px 30px rgba(14, 77, 146, 0.24);
}

.life-hero-card h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #102A43;
    font-size: 1.55rem;
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.life-hero-card ul {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.life-hero-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #52616B;
    font-size: 0.98rem;
    font-weight: 650;
}

.life-hero-card li i {
    color: #2EA0D2;
}

/* ================================
   SECCIONES GENERALES
================================ */

.life-intro,
.life-types,
.life-benefits,
.life-faq {
    padding: 95px 0;
    background: #ffffff;
}

.section-header {
    max-width: 790px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-header h2 {
    margin: 0;
    color: #102A43;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-header p {
    margin: 18px auto 0;
    color: #5B6770;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ================================
   INTRO
================================ */

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.intro-card {
    padding: 34px 30px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(14, 77, 146, 0.10);
    box-shadow: 0 18px 45px rgba(16, 42, 67, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.intro-card:hover {
    transform: translateY(-7px);
    border-color: rgba(14, 77, 146, 0.22);
    box-shadow: 0 26px 58px rgba(16, 42, 67, 0.12);
}

.intro-card i {
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #0E4D92, #2EA0D2);
    color: #ffffff;
    font-size: 1.55rem;
    box-shadow: 0 14px 30px rgba(14, 77, 146, 0.22);
}

.intro-card h3 {
    margin: 0;
    color: #102A43;
    font-size: 1.18rem;
    line-height: 1.35;
    font-weight: 850;
}

.intro-card p {
    margin: 14px 0 0;
    color: #5B6770;
    font-size: 0.98rem;
    line-height: 1.72;
}

/* ================================
   OBJETIVOS
================================ */

.life-coverage {
    position: relative;
    padding: 95px 0;
    background: linear-gradient(135deg, #0E4D92 0%, #123E6F 100%);
    overflow: hidden;
}

.life-coverage::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -220px;
    top: -190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.life-coverage::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    left: -160px;
    bottom: -170px;
    border-radius: 50%;
    background: rgba(46, 160, 210, 0.18);
}

.life-coverage .container {
    position: relative;
    z-index: 2;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 0.48fr;
    align-items: center;
    gap: 48px;
}

.life-coverage .pre-title {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.coverage-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.coverage-content p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.75;
}

.coverage-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 750;
    backdrop-filter: blur(10px);
}

.coverage-item i {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #ffffff;
    color: #0E4D92;
    font-size: 1rem;
}

.coverage-note {
    padding: 34px 30px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.16);
}

.coverage-note > i {
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #0E4D92, #2EA0D2);
    color: #ffffff;
    font-size: 1.55rem;
}

.coverage-note h3 {
    margin: 0;
    color: #102A43;
    font-size: 1.28rem;
    line-height: 1.35;
    font-weight: 900;
}

.coverage-note p {
    margin: 14px 0 0;
    color: #5B6770;
    font-size: 0.98rem;
    line-height: 1.72;
}

/* ================================
   TIPOS DE SEGURO
================================ */

.life-types {
    background: #ffffff;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.type-card {
    padding: 34px 30px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(14, 77, 146, 0.10);
    box-shadow: 0 18px 45px rgba(16, 42, 67, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.type-card:hover {
    transform: translateY(-7px);
    border-color: rgba(14, 77, 146, 0.22);
    box-shadow: 0 26px 58px rgba(16, 42, 67, 0.12);
}

.type-card i {
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(14, 77, 146, 0.10);
    color: #0E4D92;
    font-size: 1.5rem;
}

.type-card h3 {
    margin: 0;
    color: #102A43;
    font-size: 1.18rem;
    line-height: 1.35;
    font-weight: 850;
}

.type-card p {
    margin: 14px 0 0;
    color: #5B6770;
    font-size: 0.98rem;
    line-height: 1.72;
}

/* ================================
   BENEFICIOS
================================ */

.life-benefits {
    background: #f7fbff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 32px 26px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(14, 77, 146, 0.10);
    box-shadow: 0 18px 45px rgba(16, 42, 67, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-7px);
    border-color: rgba(14, 77, 146, 0.22);
    box-shadow: 0 26px 58px rgba(16, 42, 67, 0.12);
}

.benefit-card i {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    background: rgba(14, 77, 146, 0.10);
    color: #0E4D92;
    font-size: 1.35rem;
}

.benefit-card h3 {
    margin: 0;
    color: #102A43;
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 850;
}

.benefit-card p {
    margin: 13px 0 0;
    color: #5B6770;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ================================
   COTIZADOR
================================ */

.life-quote {
    position: relative;
    padding: 95px 0;
    background:
        radial-gradient(circle at top left, rgba(46, 160, 210, 0.13), transparent 32%),
        #ffffff;
}

.quote-grid {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    align-items: start;
    gap: 46px;
}

.quote-content {
    position: sticky;
    top: 110px;
}

.quote-content h2 {
    margin: 0;
    color: #102A43;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.quote-content p {
    margin: 18px 0 0;
    color: #5B6770;
    font-size: 1.05rem;
    line-height: 1.75;
}

.quote-points {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.quote-points div {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f7fbff;
    border: 1px solid rgba(14, 77, 146, 0.10);
    color: #102A43;
    font-size: 0.98rem;
    font-weight: 750;
}

.quote-points i {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #0E4D92, #2EA0D2);
    color: #ffffff;
}

.quote-form {
    padding: 36px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(14, 77, 146, 0.10);
    box-shadow: 0 24px 65px rgba(16, 42, 67, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #102A43;
    font-size: 0.88rem;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(14, 77, 146, 0.15);
    border-radius: 15px;
    background: #f9fcff;
    color: #102A43;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.form-group textarea {
    min-height: 126px;
    padding: 15px 16px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(14, 77, 146, 0.46);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(14, 77, 146, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9AA6B2;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 6px 0 24px;
}

.form-check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #0E4D92;
}

.form-check label {
    color: #5B6770;
    font-size: 0.9rem;
    line-height: 1.55;
}

.quote-form .btn-primary {
    width: 100%;
}

/* ================================
   FAQ
================================ */

.life-faq {
    background: #f7fbff;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(14, 77, 146, 0.10);
    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.06);
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    padding: 22px 58px 22px 24px;
    color: #102A43;
    font-size: 1rem;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #0E4D92;
    font-size: 1.5rem;
    font-weight: 800;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    margin: 0;
    padding: 0 24px 24px;
    color: #5B6770;
    font-size: 0.96rem;
    line-height: 1.75;
}

/* ================================
   CTA FINAL
================================ */

.life-final-cta {
    padding: 95px 0;
    background: #ffffff;
}

.final-cta-box {
    max-width: 920px;
    margin: 0 auto;
    padding: 58px 42px;
    text-align: center;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(46, 160, 210, 0.16), transparent 35%),
        linear-gradient(135deg, #0E4D92 0%, #123E6F 100%);
    box-shadow: 0 24px 65px rgba(16, 42, 67, 0.14);
    overflow: hidden;
}

.final-cta-box h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.final-cta-box p {
    max-width: 650px;
    margin: 18px auto 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.75;
}

.final-cta-box .btn-primary {
    background: #ffffff;
    color: #0E4D92;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1180px) {

    .life-hero-grid,
    .coverage-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .quote-content {
        position: relative;
        top: auto;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 900px) {

    .intro-grid,
    .types-grid,
    .coverage-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    .life-hero {
        padding: 92px 0 72px;
    }

    .life-intro,
    .life-coverage,
    .life-types,
    .life-benefits,
    .life-quote,
    .life-faq,
    .life-final-cta {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 38px;
    }

    .life-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .life-hero-card,
    .quote-form {
        padding: 30px 24px;
        border-radius: 24px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .final-cta-box {
        padding: 42px 24px;
        border-radius: 26px;
    }

}

@media (max-width: 480px) {

    .life-hero {
        padding: 78px 0 62px;
    }

    .life-hero p,
    .section-header p,
    .coverage-content p,
    .quote-content p,
    .final-cta-box p {
        font-size: 1rem;
    }

    .life-badge,
    .pre-title {
        font-size: 0.74rem;
        padding: 8px 14px;
    }

    .intro-card,
    .type-card,
    .benefit-card,
    .coverage-note {
        padding: 28px 24px;
        border-radius: 22px;
    }

    .coverage-item {
        align-items: flex-start;
    }

    .faq-item summary {
        padding: 20px 52px 20px 20px;
    }

    .faq-item p {
        padding: 0 20px 22px;
    }

}