:root {
    --main-blue: #1e1a34;
    --secondary-blue: #101820;
    --yellow: #f6be00;
}


/* 1. Gotham Book (Peso Normal / 400) */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Book.eot');
    src: url('../fonts/Gotham-Book.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gotham-Book.woff2') format('woff2'),
        url('../fonts/Gotham-Book.woff') format('woff'),
        url('../fonts/Gotham-Book.ttf') format('truetype'),
        url('../fonts/Gotham-Book.svg#Gotham') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 2. Gotham Bold (Peso Negrita / 700) */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Bold.eot');
    src: url('../fonts/Gotham-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gotham-Bold.woff2') format('woff2'),
        url('../fonts/Gotham-Bold.woff') format('woff'),
        url('../fonts/Gotham-Bold.ttf') format('truetype'),
        url('../fonts/Gotham-Bold.svg#Gotham') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 3. Asegurar que TODO use esta fuente (incluidos los inputs) */
body,
input,
select,
textarea,
button,
.form-control,
.form-select {
    font-family: 'Gotham', sans-serif;
}

/* Asegurar que las negritas usen el archivo Bold correcto */
b,
strong,
h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold {
    font-weight: 700;
}

.form-control:focus-visible {
    text-shadow: none !important;
}

.form-bg {
    z-index: 999;
}


#overlay {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #383838 repeat;
    z-index: 500;
}

#forms {
    z-index: 999;
    position: relative;
}

.small,
small {
    font-size: 0.575em;
    color: var(--main-blue);
}

.bottomRow {
    min-height: 2rem;
    background-color: #0b1129;
    position: sticky;
    bottom: 0;
    z-index: 999;
    display: none;
}

.bottomRowIdx {
    min-height: 2rem;
    background-color: #0b1129;
    position: sticky;
    bottom: 0;
    z-index: 999;
    display: none;
}

.bottomfixed {
    min-height: 2rem;
    background-color: #0b1129;
    /* position: sticky; */
    bottom: 0;
    z-index: 999;
    display: none;
}

.btn-full {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    background: #0b1129;
    z-index: 999;
}

h1,
h3,
h4,
h5,
h6 {
    font-family: gotham, sans-serif;
}

h3 span,
h4 span,
h5 span {}

h1 {
    color: var(--yellow);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 2.05rem;
    font-weight: 700;
    letter-spacing: 0.0125rem;
}

h1 span {
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    color: white;
}

h2 {
    color: var(--main-blue);
    text-align: center;
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: 0.0125rem;
}

h2 span {
    color: var(--purple);
}

/* h2 span:nth-child(2) {
    color: white;
} */

h4 {
    font-weight: 600;
    color: var(--bg-blue);
    font-size: 2rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1.6rem;
    color: var(--bg-gray);
}

h6 span {
    font-weight: 600;
    color: var(--bg-blue);
}

/* ul { */
/* list-style: none; */
/* Remove default bullets */
/* padding-left: 0rem; */
/* color: var(--bg-red); */
/* } */

ul li::marker {
    color: var(--bg-red);
}

ul li span {
    padding: 0;
    margin: 13px 0;
    font-size: 0.7rem;
    font-weight: normal;
    color: var(--text);
}

/* navbar */

nav {
    background: var(--main-blue);
    box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

a.navbar-brand {
    display: contents;
}

.navbar-toggler {
    border-color: var(--main-color);
    background: var(--main-color);
}

.logo {
    width: 9.375rem;
    height: 2.90788rem;
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 500;
    color: white;
    font-size: 1rem;
    text-align: center;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--yellow);
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link:hover {
    font-weight: 500;
    /* color: var(--accent-color); */
    font-size: 1.2rem;
}

a.nav-link:active {}

/* navbar */

/* main >>>>>>>>>>>> */

.form-floating>label {
    /* color: white; */
    font-weight: 0.9rem;
}

.legals {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: var(--main-blue);
}

.legals a {
    color: var(--main-blue);
}

/* .success {
    margin: auto;
    width: 90%;
    padding: 1rem;
    border-radius: 26px;
    background: var(--sec-color);
    box-shadow: 10px 13px 16px rgba(0, 0, 0, 0.21);
    color: white;
} */

form,
.success {
    display: flex;
    /* width: 20.5rem; */
    padding: 1.25rem 1.125rem 1.875rem 1.125rem;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6625rem;
    flex-shrink: 0;
    /* background: white; */
}

.success img {
    background: var(--bg-blue);
    border-radius: 50%;
}

.success img.mx-1 {
    background: transparent;
    border-radius: 0;
}

.form-floating select {
    border-radius: 0;
}

.form-control,
.input-group select.form-select {
    background: transparent;
    border-radius: 0;
}

form .form-title {
    color: var(--main, #1e1a34);
    text-align: center;
    font-size: 1.625rem;
    font-style: normal;
    font-weight: 700;
    line-height: 106.5%;
    /* 1.73063rem */
}

#forms .success .form-title p {
    font-size: 1rem;
    color: var(--main-blue);
    text-align: center;
}

form .form-title span {
    font-weight: bold;
}

.form-control::placeholder {
    /* color: white; */
}

.form-floating>.form-control:focus {
    background: transparent;
}

.form-floating>.form-control:focus~label {
    background: transparent;
    /* color: white; */
}

.form-floating>.form-control:focus~label::after {
    background-color: transparent;
}

input label {
    background-color: transparent;
}

.form-floating {
    color: #414042;
    width: 100%;
}

.form-check-input[type="checkbox"] {
    border-radius: 0.25em;
    margin-right: 0.6rem;
    /* background: transparent; */
}

.form-check {
    padding-left: 4.7em;
}

.navbar-nav .nav-item.btn .nav-link,
.cta {
    display: flex;
    width: 14.25rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    gap: 1.375rem;
    flex-shrink: 0;
    background: var(--yellow);
    color: var(--secondary-blue);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.btn.btn-form {
    display: flex;
    height: 3rem;
    justify-content: center;
    align-items: center;
    gap: 1.375rem;
    background: var(--yellow);
    color: var(--secondary-blue);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    font-size: 0.8rem;
}

.navbar-nav .nav-item.btn .nav-link:hover,
.cta:hover {
    background: transparent;
    border: solid 2px var(--yellow);
    color: white;
    fill: white;
    cursor: pointer;
}

.btn.btn-form:hover {
    background: var(--main-blue);
    border: solid 1px var(--yellow);
    color: white;
    fill: white;
    cursor: pointer;
}

.navbar-nav .nav-item.btn .nav-link .my-svg {
    fill: black;
}

.navbar-nav .nav-item.btn .nav-link:hover .my-svg {
    fill: white;
}

.btn.btn-form .my-svg {
    fill: black;
}

.btn.btn-form:hover .my-svg {
    fill: white;
}

.cta .my-svg {
    fill: black;
}

.cta:hover .my-svg {
    fill: white;
}

.success .btn.btn-form {
    font-size: 0.8rem;
}

.btn-collapse.collapsed {
    background: white;
    border-radius: 0;
    border-bottom: solid 2px #cecece;
    padding: 0.5rem;
    color: var(--text);
    min-height: 7.5rem;
    font-size: 0.7rem;
    display: flex;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

.btn-collapse {
    background: var(--bg-red);
    border-radius: 0;
    border-bottom: 2px #cecece;
    padding: 0.5rem;
    color: white;
    /* min-height: 7.5rem; */
    font-size: 0.7rem;
    display: flex;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    max-height: 5.5rem;
}

.main-image,
.main-image2 {
    /* background-image: url(../img/01.jpg); */
    background-image: url(../img/01.webp);
    padding: 2rem 0;
    max-height: fit-content;
    background-position: 64%;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-image2 p {
    font-size: 1.7rem;
    color: white;
}

.main-image p {
    font-size: 1.2rem;
    color: white;
}

.main-image .top {
    font-size: 1.625rem;
    color: white;
    font-weight: 700;
}

.hero-cards .container .row {
    display: flex;
    justify-content: space-between;
    margin: -25px 0 25px 0;
}

.hero-cards .card-content {
    justify-content: space-around;
    width: 25.3125rem;
    height: 7.9375rem;
    gap: 1.6rem;
    display: flex;
    align-items: center;
    border-radius: 0.3125rem;
    background: linear-gradient(90deg, #f6be00 0%, #fecc22 62.79%, #fed64d 100%);
    padding: 2rem;
}

.hero-cards .card-content img {
    width: 3.9375rem;
    height: 3.9375rem;
}

.hero-cards .card-content img[alt="Modelo Dual Alemán"] {
    width: 6.25rem;
    height: 2.5625rem;
}

.hero-cards .card-content img[alt="Certificación TOEIC idioma inglés"] {
    width: 5.75rem;
    height: 1.1875rem;
}

.hero-cards .card-content p.text {
    color: var(--main-blue);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.4375rem;
    letter-spacing: 0.03125rem;
    margin-bottom: 0;
}

.hero-cards .card-content p.text span {
    font-weight: 700;
}

.estudiar-unid {
    background: var(--secondary-blue);
    color: white;
    padding: 5rem 0;
}

.estudiar-unid h2 {
    color: white;
    text-align: left;
}

.estudiar-unid h2 span {
    color: var(--yellow);
}

.estudiar-unid p {
    font-size: 1.2rem;
}

.estudiar-unid p.go2form {
    font-weight: 700;
    color: var(--yellow);
    cursor: pointer;
}

.estudiar-unid .items {
    max-height: 6rem;
    display: flex;
    padding: 1.25rem;
    /* justify-content: center; */
    align-items: center;
    gap: 0.625rem;
    background: white;
    color: var(--main-blue);
}

.estudiar-unid .items img {
    width: 3.5625rem;
    height: 3.5625rem;
    flex-shrink: 0;
    margin-right: 1rem;
}

.estudiar-unid .items p {
    margin-bottom: 0;
    color: var(--main-blue);
    font-weight: 700;
}

.encuentra {
    background-image: url(../img/bg-encuentra.jpg);
    padding: 2rem 0;
    max-height: fit-content;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.encuentra h2 {
    color: white;
    font-size: 2rem;
}

.encuentra .programas {
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
}

.encuentra .element {
    cursor: pointer;
    display: flex;
    width: 80%;
    height: 2rem;
    padding: 1.25rem;
    justify-content: center;
    align-items: center;
    gap: 1.0625rem;
    flex-shrink: 0;
    border-radius: 0.125rem;
    background: var(--yellow);
    font-size: 0.575rem;
    font-weight: 700;
    text-align: center;
}

.campus {
    padding: 4rem 0;
}

.campus h3 {
    font-size: 2.2rem;
    font-weight: bold;
}

.campus .go2form {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.4rem;
}

footer {
    background: var(--main-blue);
}

footer .btn-footer {
    border-radius: 0;
    display: flex;
    width: 14.25rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    gap: 1.375rem;
    background: var(--yellow);
    font-weight: 700;
}

footer .btn-footer:hover {
    border-radius: 0;
    display: flex;
    width: 14.25rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    gap: 1.375rem;
    background: var(--yellow);
    font-weight: 700;
}

.completa h2 {
    font-weight: normal;
    font-size: 1.12rem;
}

.estudiar-unid .element {
    background: white;
    color: var(--secondary-blue);
}

.estudiar-unid .element p {
    font-size: 0.7rem;
    margin-bottom: 0;
    line-height: normal;
}

.estudiar-unid h2.down {
    font-size: 1.5rem;
}

.estudiar-unid h2.down span {
    color: var(--yellow);
}

.numeros .content {
    display: flex;
    align-items: center;
    border-radius: 0.3125rem;
    background: linear-gradient(90deg, #f6be00 0%, #fecc22 62.79%, #fed64d 100%);
    color: var(--main-blue);
    /* flex-direction: column; */
}

.numeros .content p.number {
    font-size: 2rem;
    font-weight: bold;
}

.numeros .content p.text {
    font-size: 1rem;
    font-weight: normal;
}

.numeros .content img {
    width: 17%;
}

.porque {
    background-color: var(--secondary-blue);
    padding: 2rem 0;
}

.porque h3 {
    font-weight: bold;
    color: white;
    text-align: center;
    font-size: 2rem;
}

.porque .element {
    background: white;
    display: flex;
    font-weight: bold;
    padding: 1rem;
    align-items: center;
}

.porque .element p.number {
    color: var(--yellow);
    font-weight: bold;
    font-size: 1.8rem;
    margin-right: 1rem;
}

.porque .element span {
    color: #eab500;
}

.porque .element small {
    font-weight: normal;
}

.numeros p.texto {
    font-size: 0.9rem;
}

@media (min-width: 600px) {
    .encuentra .element {
        width: 11.9125rem;
    }

    .numeros p.texto {
        font-size: 0.7rem;
    }

    .numeros .content p.number {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .numeros .content img {
        width: 15%;
    }

    .numeros .content {
        display: flex;
        align-items: center;
        border-radius: 0.3125rem;
        background: linear-gradient(90deg, #f6be00 0%, #fecc22 62.79%, #fed64d 100%);
        color: var(--main-blue);
    }

    .estudiar-unid .element p {
        font-size: 0.9rem;
        margin-bottom: 0;
        line-height: normal;
    }

    .completa h2 {
        font-size: 1.6rem;
    }

    .hero-cards .card-content {
        flex-direction: column;
        justify-content: space-evenly;
        width: 13rem;
        height: 10.9375rem;
        gap: 0;
        display: flex;
        align-items: center;
        border-radius: 0.3125rem;
        background: linear-gradient(90deg, #f6be00 0%, #fecc22 62.79%, #fed64d 100%);
        padding: 1rem;
    }

    .hero-cards .card-content img,
    .hero-cards .card-content img[alt="Modelo Dual Alemán"],
    .hero-cards .card-content img[alt="Certificación TOEIC idioma inglés"] {
        width: 30%;
        height: auto;
    }

    .main-image p {
        font-size: 1.7rem;
        color: white;
    }

    form .form-title {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 1.5rem;
        line-height: normal;
    }

    .navbar-nav .nav-item.btn .nav-link,
    .btn-footer {
        font-size: 0.8rem;
    }

    .main-image2 p {
        font-size: 1.1rem;
    }

    .logo {
        width: 20%;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 0.8rem;
    }

    .main-image,
    .main-image2 {
        /* background-image: url(../img/01.jpg); */
        background-image: url(../img/01.webp);
        padding: 2rem 0;
        max-height: fit-content;
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media (min-width: 768px) {}

@media (min-width: 992px) {
    .numeros p.texto {
        font-size: 1rem;
        margin-bottom: 1rem !important;
    }

    .numeros .content p.number {
        font-size: 2rem;
    }

    .hero-cards .card-content img[alt="Certificación TOEIC idioma inglés"] {
        width: 5.75rem;
        height: 1.1875rem;
    }

    .hero-cards .card-content img[alt="Modelo Dual Alemán"] {
        width: 4.25rem;
        /* height: 2.5625rem; */
    }

    .hero-cards .card-content img {
        width: 61px;
        height: auto;
    }

    .hero-cards .card-content {
        flex-direction: row;
        justify-content: space-around;
        width: 34rem;
        height: 7.9375rem;
        gap: 1.6rem;
        display: flex;
        align-items: center;
        border-radius: 0.3125rem;
        background: linear-gradient(90deg, #f6be00 0%, #fecc22 62.79%, #fed64d 100%);
        padding: 1.1rem;
    }

    .encuentra .element {
        width: 19.8125rem;
        height: 3.5625rem;
        padding: 1.25rem;
        justify-content: center;
        align-items: center;
        font-size: 0.875rem;
    }

    .campus h3 {
        font-size: 3.5rem;
    }

    .estudiar-unid .items {
        justify-content: center;
    }

    .hero-cards .card-content p.text {
        font-size: 1.3125rem;
    }

    h1 span {
        font-size: 1.725rem;
    }

    h1 {
        font-size: 3.25rem;
    }

    .main-image p {
        font-size: 2rem;
        color: white;
    }

    .estudiar-unid h2 {
        font-size: 2.5rem;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-item.btn .nav-link,
    .btn-footer {
        font-size: 1rem;
    }

    h1 {
        font-size: 2.1rem;
    }

    .main-image,
    .main-image2 {
        /* background-image: url(../img/01.jpg); */
        background-image: url(../img/01.webp);
        /* max-height: 725px; */
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 4rem 0;
    }

    .logo {
        width: 9.375rem;
        height: 2.90788rem;
    }
}

@media (min-width: 1440px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1350px;
    }

    h1 {
        font-size: 2.8rem;
    }
}

@media (min-width: 1920px) {}

@media (min-width: 2300px) {}


/* =======================================================
   NUEVOS ESTILOS CORREGIDOS: ESTRUCTURA IMAGEN ARRIBA + FORM ABAJO
   (Reemplaza el bloque de CSS anterior por este)
   ======================================================= */

/* 1. Contenedor de la imagen superior */
.form-banner-top {
    width: 100%;
    /* Redondeamos solo las esquinas superiores */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    overflow: hidden;
    /* Para que la imagen respete el borde redondo */
    background-color: var(--main-blue);
    /* Fondo de seguridad */
}

/* Aseguramos que la imagen llene el contenedor sin espacios extra */
.form-banner-top img {
    display: block;
    width: 100%;
    height: auto;
}

/* 2. Contenedor tipo Tarjeta del Formulario (Azul) */
.form-card {
    background-color: white;
    border-radius: 0 0 24px 24px;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
    /* Eliminamos el margin-bottom aquí para que no se separe en móvil */
}

/* --- NOTA: SE ELIMINÓ EL BLOQUE .form-card::before --- */

/* 3. Títulos y textos dentro de la tarjeta (Blancos) */
.form-card h2.card-title {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.form-card p.card-desc {
    color: white;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* 4. Inputs flotantes dentro de la tarjeta */
.form-card .form-floating>.form-control,
.form-card .form-floating>.form-select {
    background-color: white;
    /* border: none; */
    border-radius: 8px;
    height: 3.5rem;
    color: var(--secondary-blue);
}

.form-card .form-floating>label {
    color: #6c757d;
    font-weight: normal;
    font-size: 0.9rem;
}

/* 5. Botón de envío (Estilo Redondo con Amarillo UNID) */

.btn-submit {
    background-color: var(--yellow);
    color: var(--main-blue);
    border: none;
    border-radius: 0;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 1rem; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.btn-submit:hover {
    background-color: var(--yellow);
    color: var(--main-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(246, 190, 0, 0.4);
}

.btn-submit svg {
    fill: currentColor;
    margin-left: 8px;
}

/* 6. Legales dentro de la tarjeta */
.form-card .legals {
    color: white;
    justify-content: flex-start;
    margin-top: 1.5rem;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
}

.form-card .legals .form-check-input {
    margin-top: 0.25rem;
    margin-right: 0.5rem;
}

.form-card .legals a {
    color: var(--yellow) !important;
    text-decoration: underline;
}

/* 7. Ajustes Responsivos Generales */
@media (min-width: 992px) {
    .text-column {
        text-align: left;
        padding-right: 2rem;
    }

    .text-column h1 {
        font-size: 4.5rem;
    }
}