/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #263b57;
    background: #fff;
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===========================
   Utilidades
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--gray { background: #f6f7f8; }
.section--blue { background: #424cb8; }
.section--dark { background: #00152f; }

/* ===========================
   Topbar
   =========================== */
.topbar {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eef0f5;
}

.topbar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar__brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #00152f;
    letter-spacing: -0.3px;
}

.topbar__brand span {
    color: #424cb8;
}

.topbar__cta {
    display: inline-block;
    background: #424cb8;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.topbar__cta:hover { background: #131872; }

/* ===========================
   Hero
   =========================== */
.hero {
    background: #00152f url('../images/hero-bg.png') center center / cover no-repeat;
    padding: 80px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 21, 47, 0.72);
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero__content {}

.hero__tag {
    display: inline-block;
    background: rgba(66, 76, 184, 0.85);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.hero__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 28px;
}

.hero__disclaimer {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    font-style: italic;
    max-width: 540px;
}

/* Form Card */
.hero__form-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.28);
}

.hero__form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #00152f;
    margin-bottom: 8px;
}

.hero__form-subtitle {
    font-size: 14px;
    color: #5f6f84;
    margin-bottom: 24px;
}

/* ===========================
   Form
   =========================== */
.lp-form {}

.lp-form__group { margin-bottom: 16px; }

.lp-form__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #00152f;
    margin-bottom: 6px;
}

.lp-form__label--required::after {
    content: ' *';
    color: #d92d20;
}

.lp-form__input,
.lp-form__select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d5dbe6;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: #00152f;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}

.lp-form__input:focus,
.lp-form__select:focus {
    border-color: #424cb8;
}

.lp-form__input.is-empty,
.lp-form__select.is-empty {
    border-color: #d92d20;
    background: #fffafa;
}

.lp-form__checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.lp-form__checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #424cb8;
    flex-shrink: 0;
    cursor: pointer;
}

.lp-form__checkbox-group label {
    font-size: 12px;
    color: #5f6f84;
    line-height: 1.5;
    cursor: pointer;
}

.lp-form__submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #424cb8, #131872);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    margin-top: 8px;
}

.lp-form__submit:hover { opacity: 0.92; transform: translateY(-1px); }
.lp-form__submit:active { transform: translateY(0); }
.lp-form__submit.is-disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.lp-form__error {
    color: #d92d20;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

/* ===========================
   Disclaimer band
   =========================== */
.disclaimer {
    background: #f6f7f8;
    padding: 32px 0;
    border-top: 1px solid #e5e8f0;
    border-bottom: 1px solid #e5e8f0;
}

.disclaimer__text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 13px;
    color: #5f6f84;
    line-height: 1.75;
    font-style: italic;
    text-align: center;
    padding: 0 24px;
}

/* ===========================
   Steps / How it works
   =========================== */
.steps { background: #fff; }

.steps__header {
    text-align: center;
    margin-bottom: 56px;
}

.steps__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #00152f;
    margin-bottom: 12px;
}

.steps__subtitle {
    font-size: 16px;
    color: #5f6f84;
}

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

.step-card {
    text-align: center;
    padding: 40px 28px;
    background: #f6f7f8;
    border-radius: 16px;
}

.step-card__img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.step-card__number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #424cb8;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    line-height: 32px;
    margin: 0 auto 16px;
}

.step-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #00152f;
    margin-bottom: 12px;
}

.step-card__text {
    font-size: 14px;
    color: #5f6f84;
    line-height: 1.65;
}

/* ===========================
   Situación section
   =========================== */
.situacion {}

.situacion__header {
    text-align: center;
    margin-bottom: 48px;
}

.situacion__eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: #424cb8;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.situacion__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #00152f;
    margin-bottom: 16px;
}

.situacion__body {
    max-width: 780px;
    margin: 0 auto;
    font-size: 15px;
    color: #263b57;
    line-height: 1.75;
    text-align: center;
}

/* ===========================
   Feature cards (¿Cómo afecta?)
   =========================== */
.features {}

.features__header {
    text-align: center;
    margin-bottom: 48px;
}

.features__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #00152f;
}

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

.feature-card {
    background: #fff;
    border: 1.5px solid #e5e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(66, 76, 184, 0.1);
    border-color: #424cb8;
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.feature-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #00152f;
    line-height: 1.3;
}

.feature-card__text {
    font-size: 14px;
    color: #5f6f84;
    line-height: 1.6;
}

/* ===========================
   Audience section
   =========================== */
.audience { background: #f6f7f8; }

.audience__header {
    text-align: center;
    margin-bottom: 48px;
}

.audience__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #00152f;
    margin-bottom: 12px;
}

.audience__subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
    color: #5f6f84;
    line-height: 1.65;
}

.audience__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.audience-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    border: 1.5px solid #e5e8f0;
}

.audience-card__icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.audience-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #00152f;
    margin-bottom: 12px;
}

.audience-card__text {
    font-size: 14px;
    color: #5f6f84;
    line-height: 1.65;
}

/* ===========================
   Próximos pasos
   =========================== */
.nextsteps {}

.nextsteps__header {
    text-align: center;
    margin-bottom: 48px;
}

.nextsteps__eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: #424cb8;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.nextsteps__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #00152f;
    margin-bottom: 12px;
}

.nextsteps__subtitle {
    font-size: 15px;
    color: #5f6f84;
}

.nextsteps__grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 56px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.nextsteps__image {
    width: 100%;
    border-radius: 16px;
}

.nextsteps__steps { display: flex; flex-direction: column; gap: 28px; }

.nextstep {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.nextstep__num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #424cb8, #131872);
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nextstep__body {}

.nextstep__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #00152f;
    margin-bottom: 6px;
}

.nextstep__text {
    font-size: 14px;
    color: #5f6f84;
    line-height: 1.65;
}

/* ===========================
   FAQ Accordion
   =========================== */
.faq {
    background: #424cb8 url('../images/faq-bg.jpg') center center / cover no-repeat;
    position: relative;
    padding: 80px 0;
}

.faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 24, 114, 0.80);
}

.faq__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.faq__header {
    text-align: center;
    margin-bottom: 48px;
}

.faq__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.faq__subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
}

.faq__list { display: flex; flex-direction: column; gap: 14px; }

.faq__item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #dfe5ec;
    overflow: hidden;
}

.faq__question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 28px;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #00152f;
    font-family: 'Open Sans', sans-serif;
}

.faq__icon {
    font-size: 20px;
    color: #5f6f84;
    margin-left: 20px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq__item.is-open .faq__icon { transform: rotate(180deg); }

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.is-open .faq__answer { max-height: 400px; }

.faq__answer p {
    padding: 0 28px 22px;
    font-size: 14px;
    line-height: 1.7;
    color: #263b57;
    margin: 0;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #424cb8, #131872);
    padding: 72px 0;
    text-align: center;
}

.cta-section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta-section__subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section__btn {
    display: inline-block;
    background: #fff;
    color: #131872;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-section__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: #00152f;
    padding: 40px 0 28px;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer__brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer__legal {
    font-size: 12px;
    color: rgba(255,255,255,0.52);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 28px;
}

.footer__copy {
    font-size: 12px;
    color: rgba(255,255,255,0.36);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* ===========================
   Tabs (La situación / FAQ / Contacto)
   =========================== */
.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e8f0;
    margin-bottom: 48px;
    overflow-x: auto;
}

.tab-btn {
    padding: 14px 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 15px;
    font-weight: 600;
    color: #5f6f84;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}

.tab-btn.is-active {
    color: #424cb8;
    border-bottom-color: #424cb8;
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ===========================
   Success state
   =========================== */
.form-success {
    display: none;
    text-align: center;
    padding: 32px 16px;
}

.form-success.is-visible { display: block; }

.form-success__icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.form-success__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #00152f;
    margin-bottom: 8px;
}

.form-success__text {
    font-size: 14px;
    color: #5f6f84;
    line-height: 1.65;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero__title { font-size: 30px; }
    .steps__grid { grid-template-columns: 1fr; gap: 20px; }
    .features__grid { grid-template-columns: 1fr; gap: 16px; }
    .audience__grid { grid-template-columns: 1fr; gap: 16px; }
    .nextsteps__grid { grid-template-columns: 1fr; }
    .nextsteps__image { max-width: 140px; margin: 0 auto 24px; }
}

@media (max-width: 600px) {
    .section { padding: 56px 0; }
    .hero { padding: 56px 0; }
    .hero__title { font-size: 26px; }
    .hero__form-card { padding: 24px 20px; }
    .steps__title,
    .situacion__title,
    .nextsteps__title,
    .faq__title,
    .cta-section__title { font-size: 24px; }
    .features__title,
    .audience__title { font-size: 22px; }
    .topbar__cta { display: none; }
    .faq__question { padding: 18px 20px; font-size: 15px; }
    .faq__answer p { padding: 0 20px 18px; }
}
