/* ========================================
   GLOBAL RESET
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #333;
    min-height: 100vh;
    padding: 0;
}

.page-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* evita centrado vertical exagerado */
    min-height: auto;
    padding: 10px 10px 20px 10px;
}

/* ========================================
   LAYOUT
======================================== */
/*
   Contenedor principal del formulario.
   Reducido el espacio visual alrededor del iframe
   para evitar exceso de fondo gris/azulado.
*/
.container {
    width: 100%;
    max-width: 560px;
    margin: auto;
    background: #fff;
    padding: 1.5rem;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center; /* keep default */
}

.container .section-title,
.container .steps {
    text-align: left;
}

.logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.logos img {
    max-height: 40px;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

.dark-title {
    color: #363B51;
}

/* ========================================
   HERO / LANDING HEADERS
======================================== */
.hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #363B51;
    margin-top: 12px;
    margin-bottom: 10px;
    text-align: center;
}

.hero-subtitle {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin-bottom: 0;
}

.hero-subtitle b {
    color: #363B51;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    margin-top: 12px;
    color: #363B51;
    text-align: left;
}

/* ========================================
   STEPS LIST
======================================== */
.steps {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-circle {
    background: #E08A52;
    color: #fff;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-align: center;
    padding-left: 1px; /* optical correction for '1' */
}

.step-text {
    font-size: 13px;
    text-align: left;
}

/* Divider */
.divider {
    margin: 25px 0;
    opacity: 0.2;
    border: none;
    border-top: 1px solid #ccc;
}

/* ========================================
   FORM
======================================== */
form {
    margin-top: 1rem;
}

label {
    display: block;
    text-align: left;
    font-size: 14px;
    margin-top: 10px;
}

input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: #2765a0;
    box-shadow: 0 0 0 2px rgba(39,101,160,0.1);
}

button {
    background: #2765a0;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 15px;
}

button:hover {
    background: #1f4f7d;
}

/* ========================================
   CTA BUTTON (PILL STYLE)
======================================== */
.btn-cta {
    background: #E08A52; /* naranja aproximado */
    border: 1px solid transparent;
    color: #363B51;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: auto; /* override full width */
    display: inline-block;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.btn-cta:hover {
    background: #ffffff;
    color: #363B51;
    border: 1px solid #E08A52;
    transform: none;
}

.btn-cta:active {
    transform: scale(0.96);
}

/* ========================================
   CHECKBOX GROUP
======================================== */
.checkbox-group {
    text-align: left;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.checkbox-group input {
    width: auto;
    margin-top: 3px;
}

/* ========================================
   HELPERS
======================================== */
.small {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* ========================================
   TOP EVENT BANNER
======================================== */
/*
   Banner superior ajustado al nuevo padding reducido
   del contenedor principal para evitar descuadres.
*/
.top-banner {
    width: calc(100% + 3rem); /* compensate container padding */
    margin: -1.5rem -1.5rem 12px -1.5rem; /* align with new container padding */
    background: linear-gradient(90deg, #0E2A47 0%, #163A5F 100%);
    color: #fff;
    padding: 14px 0;
    border-radius: 10px 10px 0 0; /* only top rounded */
}

.top-banner-inner {
    width: 100%;
    display: flex;
    justify-content: space-between; /* tighter distribution for small width */
    align-items: flex-start; /* align text top */
    gap: 10px;
    padding: 0 12px;
}

.top-item {
    display: flex;
    align-items: flex-start; /* icon aligned to top */
    gap: 10px;
    text-align: left; /* force left alignment */
}

.top-item-icon {
    font-size: 20px;
    color: #E08A52; /* naranja marca */
}

.top-item-icon svg {
    width: 48px;
    height: 48px;
}

.top-item-title {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #E08A52; /* naranja SodaCrowd */
}

.top-item-text {
    font-weight: 400; /* normal weight */
    font-size: 15.5px;
}

.top-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
}

/* Responsive banner */
@media (max-width: 600px) {
    .top-banner-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 6px;
        padding: 0 6px;
        flex-wrap: nowrap;
    }

    .top-item {
        gap: 4px;
        flex: 1;
        min-width: 0;
    }
    .top-item-icon svg {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }

    .top-item-title {
        font-size: 8px;
    }

    .top-item-text {
        font-size: 10px;
    }

    .top-item-text,
    .top-item-title {
        line-height: 1.1;
    }

    .checkbox-group label {
        display: grid;
        grid-template-columns: 18px 1fr;
        align-items: start;
        column-gap: 8px;
    }

    .checkbox-group input[type="checkbox"] {
        margin-top: 3px;
    }

    .checkbox-group label a {
        display: inline;
        white-space: normal;
    }

    .top-divider {
        height: 28px; /* smaller but still visible */
        display: block;
    }
}

/* ========================================
   FEATURE CARDS
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 4px 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    border: 1px solid #eef1f5;
}

.feature-card-icon {
    flex-shrink: 0;
}

.feature-card-icon svg {
    width: 42px;
    height: 42px;
    color: #E08A52;
}

.feature-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #0E2A47;
    margin-bottom: 4px;
}

.feature-card-text {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.35;
}

@media (max-width: 700px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr); /* mantener horizontal */
        gap: 8px;
    }

    .feature-card {
        padding: 8px 6px;
        gap: 6px;
    }

    .feature-card-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-card-title {
        font-size: 10px;
    }

    .feature-card-text {
        font-size: 11px;
        line-height: 1.2;
    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 480px) {
    .container {
        margin: 0;
        padding: 0.6rem;
        max-width: 100vw;
        width: 100vw;
        border-radius: 0;
        box-shadow: none;
    }
    .page-wrapper {
        padding: 0;
    }
    .page-wrapper {
        width: 100vw;
        max-width: 100vw;
    }
    .logos {
        gap: 12px;
    }

    .logos img {
        max-height: 28px;
        max-width: 48%;
        object-fit: contain;
    }
    .top-banner {
        width: calc(100% + 1.2rem);
        margin: -0.6rem -0.6rem 8px -0.6rem;
    }
    body {
        overflow-x: hidden;
    }
}

/* ========================================
   FORM CARD
======================================== */
.form-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    border: 1px solid #eef1f5;
    margin-top: 28px;
}