/* =========================================
   RESET BÁSICO
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111111; /* casi negro */
    background-color: #f7f7f7; /* blanco muy suave */
}

/* Utilidades */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   COLORES BASE / TOP BAR
========================================= */

.top-bar {
    /* Fondo más alegre usando el celeste del colegio */
    background: linear-gradient(90deg, #1EDAE8 0%, #0FB4C0 50%, #0A7F88 100%);
    color: #021014;
    font-size: 0.85rem;
}

.top-bar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.45rem 0;
}

.top-bar__left,
.top-bar__right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Ítems con icono (teléfono, WhatsApp, horario, mail) */

.top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #021014;
    text-decoration: none;
    white-space: nowrap;
}

.top-bar__item--whatsapp {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.top-bar__item--whatsapp:hover {
    background: rgba(255, 255, 255, 0.35);
}

.top-bar__icon {
    font-size: 1rem;
    line-height: 1;
}

/* El “logo” de WhatsApp estilo burbuja verde */

.top-bar__icon--wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #25D366; /* verde WhatsApp */
    color: #ffffff;
    font-size: 0.7rem;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

/* Evitamos subrayado en links dentro de la barra */

.top-bar a {
    text-decoration: none;
}

/* Responsive: top bar en columnas en pantallas pequeñas */

@media (max-width: 768px) {
    .top-bar__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar__left,
    .top-bar__right {
        width: 100%;
    }

    .top-bar__item {
        white-space: normal;
    }
}


/* =========================================
   HEADER / NAV
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1.5rem;
}

.site-header__logo img {
    height: 52px;
    width: auto;
}

/* Navegación */

.main-nav {
    display: flex;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.main-nav__list a {
    position: relative;
    padding-bottom: 0.15rem;
}

.main-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: #1EDAE8;
    transition: width 0.2s ease;
}

.main-nav__list a:hover::after,
.main-nav__list a:focus-visible::after {
    width: 100%;
}

/* link activo marcado desde JS */
.main-nav__list a.is-active {
    color: #0FB4C0;
}

/* Botón hamburguesa (solo móvil) */

.nav-toggle {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-toggle__line {
    display: block;
    width: 24px;
    height: 2px;
    background: #111111;
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =========================================
   HERO
========================================= */

.hero {
    background: radial-gradient(circle at top left, #1EDAE8 0%, #0FB4C0 35%, #000000 100%);
    color: #f9fafb;
    padding: 3.5rem 0 3rem;
}

.hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.hero__title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

.hero__subtitle {
    font-size: 1rem;
    max-width: 34rem;
    margin-bottom: 0.75rem;
}

.hero__highlight {
    font-size: 0.98rem;
    max-width: 34rem;
    margin-bottom: 1.4rem;
}

.hero__quote {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.95;
}

/* HERO CTA */

.hero-cta {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 0.9rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    max-width: 32rem;
    border: 1px solid rgba(230, 251, 253, 0.3);
}

.hero-cta__badge {
    display: inline-block;
    background: #1EDAE8;
    color: #000000;
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.hero-cta__title {
    margin: 0 0 0.4rem;
    font-size: 1.3rem;
}

.hero-cta__text {
    margin: 0 0 0.9rem;
    font-size: 0.95rem;
}

.hero-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* HERO imagen lateral */

.hero__image {
    position: relative;
}

.hero__image img {
    border-radius: 1.25rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    object-fit: cover;
    min-height: 260px;
}

.hero__cards {
    position: absolute;
    left: 7%;
    right: 3%;
    bottom: -18%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-card {
    background: #ffffff;
    color: #111111;
    border-radius: 0.9rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border-top: 3px solid #1EDAE8;
}

.hero-card h3 {
    font-size: 0.92rem;
    margin: 0 0 0.2rem;
}

/* =========================================
   BOTONES
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn--primary {
    background: #1EDAE8;
    color: #000000;
    border-color: #1EDAE8;
}

.btn--primary:hover {
    background: #0FB4C0;
    border-color: #0FB4C0;
    transform: translateY(-1px);
}

/* Botón para fondos claros */
.btn--secondary {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn--secondary:hover {
    background: #1EDAE8;
    color: #000000;
    border-color: #1EDAE8;
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: #f9fafb;
    border-color: rgba(249, 250, 251, 0.9);
}

.btn--outline:hover {
    background: rgba(249, 250, 251, 0.08);
    color: #ffffff;
    transform: translateY(-1px);
}

/* =========================================
   SECCIONES GENERALES
========================================= */

.section {
    padding: 4rem 0;
    background: #f7f7f7;
}

.section--accent {
    background: #E6FBFD;
}

.section--soft {
    background: #ffffff;
}

.section--contact {
    background: #eeeeee;
}

/* NUEVO: sección de video usa fondo suave blanco */
.section--video {
    background: #ffffff;
}

.section__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section__content--two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.section__content--three-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.section__header {
    margin-bottom: 0.75rem;
}

.section__header--center {
    text-align: center;
}

.section__title {
    font-size: 1.7rem;
    margin: 0 0 0.5rem;
    color: #000000;
}

.section__subtitle {
    font-size: 0.98rem;
    margin: 0;
    color: #4b4b4b;
    max-width: 36rem;
}

.section__header--center .section__subtitle {
    margin: 0.4rem auto 0;
}

.section__highlights {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #1EDAE8;
}

.section__quote {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #1EDAE8;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    font-style: italic;
    font-size: 0.95rem;
}

.section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* =========================================
   GRIDS / CARDS
========================================= */

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
    border: 1px solid #f0f0f0;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.card--level {
    border-top: 3px solid #1EDAE8;
}

.card--form-intro {
    border-top: 3px solid #0FB4C0;
}

/* =========================================
   LISTAS
========================================= */

.feature-list {
    display: grid;
    gap: 0.5rem;
    font-size: 0.93rem;
}

.feature-list li::before {
    content: "• ";
    color: #0FB4C0;
    font-weight: 700;
}

.values-list {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-size: 0.93rem;
}

.values-list li::before {
    content: "✓ ";
    color: #1EDAE8;
    font-weight: 600;
}

.simple-list {
    display: grid;
    gap: 0.4rem;
    font-size: 0.93rem;
}

.contact-list {
    display: grid;
    gap: 0.65rem;
    font-size: 0.93rem;
}

/* =========================================
   CONTACTO / MAPA
========================================= */

.section--contact .section__content--two-columns {
    align-items: stretch;
}

.contact__map iframe {
    border: none;
    border-radius: 1rem;
    width: 100%;
    min-height: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =========================================
   FOTOS EQUIPO DIRECTIVO
========================================= */

.staff-photo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.2rem;
}

.staff-photo-block img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.45rem;
    border: 2px solid #1EDAE8;
}

.staff-name {
    font-size: 0.93rem;
    font-weight: 500;
    text-align: center;
}

/* =========================================
   TESTIMONIOS
========================================= */

.testimonials-grid {
    align-items: stretch;
}

.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial__header {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.testimonial__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1EDAE8;
}

.testimonial__quote {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.testimonial__meta {
    font-size: 0.9rem;
    color: #555555;
}

.testimonial__name {
    font-weight: 600;
}

.testimonial__detail {
    font-size: 0.85rem;
}

/* =========================================
   VIDEO (EMBED RESPONSIVE)
========================================= */

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: #000000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* =========================================
   LOGOS / FOTOS DE CERTIFICADOS
========================================= */

.certificates-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
}

/* Todos los “cajones” de certificado tendrán la misma altura */
.certificate-logo {
    position: relative; /* necesario para el tooltip */
    flex: 0 1 180px;
    max-width: 220px;

    height: 150px; /* nivelamos la altura visual */
    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    cursor: default;
}

/* La imagen se adapta sin deformarse, centrada dentro del cajón */
.certificate-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Tooltip: globito suave con el nombre del certificado */
.certificate-logo::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.5rem);
    transform: translate(-50%, 4px);
    padding: 0.4rem 0.75rem;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    font-size: 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 10;
}

/* Flechita del globito */
.certificate-logo::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: 9;
}

/* Al pasar el mouse, se muestra el globo suave, no brusco */
.certificate-logo:hover::after,
.certificate-logo:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.certificate-logo:hover::before,
.certificate-logo:focus-visible::before {
    opacity: 1;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #000000;
    color: #f5f5f5;
    padding: 2.5rem 0 2rem;
    font-size: 0.9rem;
}

.site-footer__content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
}

.site-footer__column h3,
.site-footer__column h4 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.footer-menu {
    display: grid;
    gap: 0.3rem;
}

.footer-menu a:hover {
    text-decoration: underline;
    color: #1EDAE8;
}

.social-links {
    display: grid;
    gap: 0.35rem;
}

.social-links a:hover {
    text-decoration: underline;
    color: #1EDAE8;
}

.site-footer__credits {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #b3b3b3;
}

/* =========================================
   BOTÓN SCROLL TOP
========================================= */

.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid #1EDAE8;
    background: #000000;
    color: #1EDAE8;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
    font-size: 1.2rem;
    z-index: 60;
}

.scroll-top--visible {
    display: flex;
}

/* =========================================
   SECCIÓN: TRABAJA CON NOSOTROS (CARRERAS)
========================================= */

.section--careers {
    background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
    padding: 3rem 0;
}

.careers-intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.careers__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C83D2F; /* Rojo similar al de la imagen */
    line-height: 1.2;
    margin: 0;
}

.careers__tagline {
    font-size: 1.15rem;
    font-style: italic;
    color: #0A7F88;
    font-weight: 500;
    margin: 0;
}

.careers__intro {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.careers-positions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.careers-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.careers-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.careers-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1D4B7D;
    margin: 0;
}

.careers-card__description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    flex-grow: 1;
}

.careers-card .btn {
    margin-top: 0.5rem;
    width: 100%;
}

.careers-form-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.careers-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.careers-form input,
.careers-form select,
.careers-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0A7F88;
    box-shadow: 0 0 0 3px rgba(10, 127, 136, 0.1);
}

/* Asegurar que selects y textareas del formulario tengan misma altura y estilo */
.form-group select,
.careers-form select,
.form-group textarea,
.careers-form textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #ffffff;
    color: inherit;
}

.form-group select:focus,
.careers-form select:focus,
.form-group textarea:focus,
.careers-form textarea:focus {
    outline: none;
    border-color: #0A7F88;
    box-shadow: 0 0 0 3px rgba(10, 127, 136, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    display: none;
    margin-top: 1rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
    border: 1px solid #f5c6cb;
}

/* Estilos adicionales para nuevo formulario */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}


.materia-field {
    display: none;
}
.materia-field.active {
    display: block;
}

@media (max-width: 960px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.careers-benefits {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.careers__subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0A7F88;
    margin-bottom: 1rem;
}

.careers__benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.careers__benefits li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.careers__benefits li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #0A7F88;
    font-weight: bold;
}

.careers__benefits ul {
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.careers__benefits ul li {
    padding-left: 1rem;
    font-size: 0.9rem;
}

.careers__benefits ul li::before {
    content: "•";
    margin-right: 0.5rem;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 960px) {
    .hero__content {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__image {
        order: -1;
    }

    .hero__cards {
        position: static;
        margin-top: 1.2rem;
        /* 2 columnas en pantallas medianas / móviles grandes */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-card {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }

    .section__content--two-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .section__content--three-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid--2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__content {
        grid-template-columns: minmax(0, 1fr);
    }

    .careers-wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .careers-positions {
        grid-template-columns: minmax(0, 1fr);
    }

    .certificates-logos {
        justify-content: center;
    }
}


@media (max-width: 768px) {
    .top-bar__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        inset: 100% 0 auto 0;
        background: #ffffff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .main-nav__list {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1.5rem 1rem;
        gap: 0.75rem;
    }

    body.nav-open .main-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    body.nav-open .nav-toggle__line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.nav-open .nav-toggle__line:nth-child(2) {
        opacity: 0;
    }
    body.nav-open .nav-toggle__line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        padding: 1rem 1.1rem;
    }

    .hero-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .top-bar__content {
        font-size: 0.8rem;
    }

    /* 1 sola columna en celular chico */
    .hero__cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

