/**
 * GPD Theme - Responsive Styles
 *
 * Mobile-first breakpoints
 *
 * @package GPD_Theme
 * @since 1.0.0
 */

/* ==========================================================================
   Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-banner {
        min-height: 400px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    /* Hero Slider */
    .hero-slide {
        min-height: 80vh;
    }

    .hero-slide--principal {
        min-height: 80vh;
        grid-template-columns: 45% 55%;
    }

    a.hero-slide--normal {
        min-height: 80vh;
    }

    .hero-slide__title {
        font-size: 3rem;
    }

    .hero-slide__subtitle {
        font-size: 1.5rem;
    }

    /* Slide Brand: 1024px */
    .hero-slide-brand__logo-img {
        max-height: 220px;
        max-width: 260px;
    }

    .hero-slide-brand__name {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }

    /* Home: Quiénes Somos */
    .home-about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .home-about__title {
        white-space: normal;
    }

    /* Home: Estaciones */
    .home-estaciones__bg {
        min-height: 450px;
    }

    .home-estaciones__title {
        font-size: 2.5rem;
    }

    .home-estaciones__title strong {
        font-size: 2.25rem;
    }

    /* Home: Servicios */
    .home-servicios .container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .home-servicios__grid {
        grid-column: 1;
    }

    .servicio-item {
        grid-template-columns: 220px 1fr;
        gap: var(--space-xl);
    }

    /* Home: Empleos */
    .home-empleos__title {
        font-size: 2rem;
    }

    .home-empleos__content {
        padding: var(--space-2xl) var(--space-xl);
    }

    /* Page: Quiénes Somos */
    .about-hero {
        margin-top: 30px;
    }

    .about-hero__img {
        max-height: 300px;
    }

    .about-nosotros__title {
        font-size: 2rem;
    }

    .about-liderazgo__title {
        font-size: 2rem;
    }

    /* Page: Nuestros Valores */
    .valores-hero {
        margin-top: 30px;
    }

    .valores-hero__img {
        max-height: 300px;
    }

    .valores-heading__title {
        font-size: 2rem;
    }

    .valores-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .valores-row--reverse {
        grid-template-columns: 1fr 1fr;
    }

    .valores-principios__title {
        font-size: 2rem;
    }

    /* Archive: Equipo */
    .equipo-hero {
        margin-top: 30px;
    }

    .equipo-hero__img {
        max-height: 300px;
    }

    .equipo-heading__title {
        font-size: 2rem;
    }

    /* Page: Techron */
    .techron-hero {
        margin-top: 30px;
    }

    .techron-hero__img {
        max-height: 300px;
    }

    .techron-heading__title {
        font-size: 2rem;
    }

    .techron-blue__title {
        font-size: 2rem;
    }

    .techron-cta {
        min-height: 400px;
    }

    .techron-cta__title {
        font-size: 2.5rem;
    }

    /* Page: Historia */
    .historia-hero__img {
        max-height: 250px;
    }

    .historia-heading__title {
        font-size: 2rem;
    }

    .historia-entry {
        grid-template-columns: 80px auto 1fr;
    }

    .historia-entry__logo-img {
        max-width: 65px;
    }

    .historia-cta {
        min-height: 400px;
    }

    .historia-cta__title {
        font-size: 2rem;
    }

    .historia-dark__title {
        font-size: 2.5rem;
    }

    /* Page: Tarjeta de Combustible */
    .tarjeta-heading__title {
        font-size: var(--text-3xl);
    }

    .tarjeta-como__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .tarjeta-beneficios__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .tarjeta-beneficios__title {
        font-size: var(--text-3xl);
    }

    .tarjeta-control__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .tarjeta-control__title {
        font-size: var(--text-3xl);
    }

    .tarjeta-vigencia__title {
        font-size: var(--text-3xl);
    }

    .tarjeta-gestion {
        min-height: 500px;
    }

    .tarjeta-gestion__title {
        font-size: var(--text-3xl);
    }

    /* Page: Bono de Combustible */
    .bono-heading__title {
        font-size: var(--text-3xl);
    }

    .bono-denom__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .bono-beneficios__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .bono-beneficios__title {
        font-size: var(--text-3xl);
    }

    .bono-seguridad__title {
        font-size: var(--text-3xl);
    }

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

    .bono-vigencia__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .bono-vigencia__subtitle {
        font-size: 1.5rem;
    }

    /* Page: Aliados */
    .aliados-heading__title {
        font-size: var(--text-3xl);
    }

    .aliados-grid {
        gap: var(--space-2xl);
    }

    /* Page: Aviación */
    .aviacion-heading__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .aviacion-heading__title {
        font-size: var(--text-3xl);
    }

    .aviacion-fortalezas__grid,
    .aviacion-portafolio__grid {
        grid-template-columns: 1fr;
    }

    .aviacion-inversion__grid {
        grid-template-columns: 1fr;
    }

    .aviacion-inversion {
        min-height: 600px;
    }

    .aviacion-alianzas__inner {
        grid-template-columns: 1fr;
    }

    .aviacion-alianzas__logos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .aviacion-alianzas {
        min-height: auto;
    }

    .aviacion-quote__text {
        font-size: var(--text-3xl);
    }

    /* Page: Aliados Estratégicos — grid de logos */
    .alest-aliados__logos {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    /* Page: Acuerdos Globales — bloques con contenido */
    .alest-aliado {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .alest-aliado--reverse {
        direction: ltr;
    }

    .alest-aliado__media {
        min-height: 140px;
    }

    /* Page: Contáctanos */
    .contactanos-info__top-inner {
        flex-direction: column;
        align-items: center;
    }

    .contactanos-info__top-items {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: var(--space-xl);
    }

    .contactanos-info__top-items .contacto-item,
    .contactanos-info__bottom-items .contacto-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contactanos-info__bottom-inner {
        flex-direction: column;
        align-items: center;
    }

    .contactanos-info__bottom-items {
        width: 100%;
        align-items: center;
    }

    .contactanos-info__map-wrapper {
        margin-top: var(--space-xl);
        max-width: 400px;
        width: 100%;
    }

    .contactanos-form__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* Contáctanos: sin mapa */
    .contactanos-info--no-map .contactanos-info__top-items {
        grid-template-columns: 1fr;
    }

    /* Page: Entrenamientos */
    .entrenamientos-blue__grid {
        grid-template-columns: 1fr;
    }

    .entrenamientos-blue__img {
        height: 400px;
    }

    /* Page: Responsabilidad Social */
    .rse-content__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .rse-content__img {
        height: 400px;
    }

    /* Page: Estaciones */
    .estaciones-body__grid {
        gap: var(--space-lg);
    }
    .estaciones-listado__header,
    .estaciones-listado__row {
        grid-template-columns: 1fr 1fr 1.4fr;
        gap: var(--space-xs);
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    .estaciones-listado__cell {
        font-size: 0.8125rem;
    }

    /* Page: Políticas de Gobernanza */
    .gobernanza-body__grid {
        grid-template-columns: 280px 1fr;
        gap: var(--space-2xl);
    }

    /* Archive/Single: Novedades */
    .novedades-grid {
        grid-template-columns: 1fr;
    }

    .novedad-related__grid {
        grid-template-columns: 1fr;
    }

    /* Home: Novedades */
    .home-novedad-card {
        height: 250px;
    }

    /* Home: Contáctanos */
    .home-contacto__top-items {
        flex-direction: column;
        gap: var(--space-xl);
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        gap: var(--space-2xl);
    }

    .footer-primary-menu {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }

    .footer-primary-menu > li {
        flex: 0 0 calc(50% - var(--space-xl));
    }
}

/* ==========================================================================
   Mobile Navigation (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    :root {
        --header-height: 60px;
        --container-padding: 1rem;
    }

    h1, .page-title, .archive-title {
        font-size: var(--text-3xl);
    }

    h2, .section-title {
        font-size: var(--text-2xl);
    }

    .hero-slide--principal.hero-slide--no-image .hero-slide__title {
        white-space: normal;
        font-size: 2rem;
    }

    /* Mobile: Logo small, no scroll animation */
    .site-branding img {
        max-height: 50px;
        margin-top: 0;
        transition: none;
    }
    .site-header.is-scrolled .site-branding img {
        max-height: 50px;
        margin-top: 0;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-base);
        overflow-y: auto;
        z-index: 1000;
    }

    .main-navigation.is-open {
        right: 0;
    }

    .primary-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .primary-menu li {
        width: 100%;
    }

    .primary-menu a {
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--color-gray-100);
        width: 100%;
        text-align: left;
    }

    /* Parent items: link + toggle side by side */
    .primary-menu .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
    }

    .primary-menu .menu-item-has-children > a {
        flex: 1;
        border-bottom: none;
    }

    .primary-menu .menu-item-has-children > .sub-menu {
        width: 100%;
    }

    /* Hide desktop underline on mobile */
    .primary-menu > li > a::before {
        display: none;
    }

    /* Hide the old CSS chevron on parent links */
    .primary-menu .menu-item-has-children > a::after {
        display: none !important;
    }

    /* Toggle button for submenu */
    .submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        background: none;
        border: none;
        border-bottom: 1px solid var(--color-gray-100);
        cursor: pointer;
        padding: 0;
        color: var(--color-gray-500);
        transition: color var(--transition-fast);
    }

    .submenu-toggle__icon {
        display: block;
        font-family: 'Material Symbols Outlined';
        font-size: 1.5rem;
        line-height: 1;
        transition: transform var(--transition-fast);
    }

    .submenu-toggle__icon::before {
        content: '\e5cf';
    }

    .submenu-open > .submenu-toggle {
        color: var(--color-accent);
    }

    .submenu-open > .submenu-toggle .submenu-toggle__icon {
        transform: rotate(180deg);
    }

    /* Submenus: hidden by default, shown on toggle */
    .primary-menu .sub-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        padding-left: var(--space-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        min-width: auto;
    }

    .primary-menu .menu-item-has-children.submenu-open > .sub-menu {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
    }

    /* Mega-menu: reset to vertical on mobile */
    .primary-menu > li > .sub-menu:has(.sub-menu) {
        display: block;
        flex-wrap: unset;
        width: 100%;
        padding: 0;
        padding-left: var(--space-lg);
    }

    .primary-menu > li > .sub-menu:has(.sub-menu) > li {
        min-width: auto;
    }

    .primary-menu > li > .sub-menu:has(.sub-menu) > .menu-item-has-children > a::after {
        display: none !important;
    }

    /* Level 3 on mobile: also hidden by default */
    .primary-menu > li > .sub-menu > li > .sub-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
    }

    .primary-menu > li > .sub-menu > .menu-item-has-children.submenu-open > .sub-menu {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
    }

    .header-language-switcher {
        margin-left: 0;
        margin-top: var(--space-lg);
    }

    /* Mobile overlay */
    body.menu-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    /* Hamburger active state */
    .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Grids */
    .novedades-grid,
    .estaciones-grid,
    .archive-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    /* Hero */
    .hero-banner {
        min-height: 300px;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    /* Hero Slider */
    .hero-slide {
        min-height: auto;
    }

    a.hero-slide--normal {
        min-height: 70vh;
    }

    .hero-slide--principal {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-slide--principal::before {
        background: var(--color-secondary);
    }

    .hero-slide__image {
        display: none;
    }

    .hero-slide__content {
        max-width: 100%;
        margin-left: 0;
        padding: var(--space-xl) var(--container-padding) var(--space-2xl);
    }

    .hero-slide__title {
        font-size: 2.25rem;
        color: var(--color-white);
    }

    .hero-slide__subtitle {
        font-size: 1.25rem;
    }

    .hero-slider .swiper-pagination {
        bottom: 20px;
    }

    /* Slide Brand: 768px */
    .hero-slide--brand {
        min-height: calc(100vh + var(--header-height));
    }

    .hero-slide-brand__main {
        flex-direction: column;
        gap: var(--space-xl);
        padding: 0 var(--container-padding);
        text-align: center;
    }

    .hero-slide-brand__logo-img {
        max-height: 180px;
        max-width: 220px;
    }

    .hero-slide-brand__name {
        font-size: 2.25rem;
    }

    .hero-slide-brand__bar {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
        padding: var(--space-xl) var(--container-padding) var(--space-2xl);
    }

    .hero-slide-brand__tagline {
        font-size: var(--text-base);
    }

    /* Home: Quiénes Somos */
    .home-about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .home-about__title {
        white-space: normal;
    }

    .home-about__left {
        width: fit-content;
        align-items: flex-end;
    }

    /* Home: Estaciones */
    .home-estaciones__bg {
        min-height: 350px;
    }

    .home-estaciones__title {
        font-size: 2rem;
    }

    .home-estaciones__title strong {
        font-size: 1.75rem;
    }

    /* Home: Servicios */
    .home-servicios .container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .home-servicios__grid {
        grid-column: 1;
    }

    .servicio-item {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .servicio-item__figure {
        margin: 0 auto;
    }

    .servicio-item__list {
        text-align: left;
    }

    /* Home: Empleos */
    .home-empleos__inner {
        grid-template-columns: 1fr;
    }

    .home-empleos__image {
        width: 100%;
        height: 280px;
        margin: 0;
        border-radius: 0;
    }

    .home-empleos__title {
        font-size: 1.75rem;
    }

    .home-empleos__content {
        padding: var(--space-2xl) var(--container-padding);
    }

    /* Home: Novedades */
    .home-novedades__header {
        width: fit-content;
    }

    .home-novedad-card {
        height: 220px;
    }

    .home-novedades .container {
        grid-template-columns: 1fr;
    }

    .home-novedades__grid {
        grid-column: 1;
        grid-row: auto;
    }

    .home-novedad-card__overlay {
        width: 100%;
    }

    .home-novedad-card__content {
        max-width: 60%;
    }

    .home-novedad-card__title {
        font-size: var(--text-sm);
    }

    .home-novedad-card__excerpt {
        font-size: var(--text-sm);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Home: Contáctanos */
    .home-contacto__header {
        width: fit-content;
    }

    .home-contacto__top-inner {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .home-contacto__top-items {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .home-contacto__bottom-inner {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .home-contacto__bottom-items {
        width: 100%;
    }

    .home-contacto__map-wrapper {
        margin-top: 0;
    }

    /* Page: Nuestros Valores */
    .valores-hero {
        margin-top: 20px;
    }

    .valores-hero__img {
        max-height: 200px;
    }

    .valores-heading__title {
        font-size: 1.75rem;
    }

    .valores-card {
        height: 220px;
    }

    .valores-card--full {
        height: 220px;
    }

    .valores-card__overlay {
        height: 70px;
    }

    .valores-card__label {
        font-size: 1.5rem;
    }

    .valores-row,
    .valores-row--reverse {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .valores-row--reverse .valores-row__text {
        order: 2;
    }

    .valores-row--reverse .valores-row__card {
        order: 1;
    }

    .valores-principios__inner {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .valores-principios__title {
        font-size: 1.75rem;
        max-width: 100%;
    }

    .valores-principios__text {
        text-align: left;
    }

    /* Archive: Equipo */
    .equipo-hero {
        margin-top: 20px;
    }

    .equipo-hero__img {
        max-height: 200px;
    }

    .equipo-heading__title {
        font-size: 1.75rem;
    }

    .equipo-member__name {
        font-size: 1.25rem;
    }

    .equipo-member__bio {
        text-align: left;
    }

    .equipo-member--has-photo {
        grid-template-columns: 150px 1fr;
        gap: var(--space-lg);
    }

    /* Page: Techron */
    .techron-hero {
        margin-top: 20px;
    }

    .techron-hero__img {
        max-height: 200px;
    }

    .techron-heading__title {
        font-size: 1.75rem;
    }

    .techron-blue__title {
        font-size: 1.75rem;
    }

    .techron-cta {
        min-height: 350px;
    }

    .techron-cta__title {
        font-size: 2rem;
        max-width: 100%;
    }

    .techron-intro__text {
        text-align: left;
    }

    /* Page: Historia */
    .historia-hero__img {
        max-height: 200px;
    }

    .historia-heading__title {
        font-size: 1.75rem;
    }

    .historia-entry {
        grid-template-columns: 60px auto 1fr;
        gap: 0 var(--space-md);
    }

    .historia-entry__logo-img {
        max-width: 50px;
    }

    .historia-cta {
        min-height: 350px;
    }

    .historia-cta__title {
        font-size: 1.75rem;
        max-width: 100%;
    }

    .historia-dark__inner {
        grid-template-columns: 1fr;
    }

    .historia-dark__deco {
        max-height: 250px;
    }

    .historia-dark__title {
        font-size: 2rem;
    }

    .historia-dark__logo {
        max-width: 200px;
    }

    /* Page: Tarjeta de Combustible */
    .tarjeta-hero__img {
        max-height: 250px;
    }

    .tarjeta-heading__title {
        font-size: var(--text-2xl);
    }

    .tarjeta-intro__text {
        text-align: left;
    }

    .tarjeta-como__subtitle {
        font-size: 1.5rem;
    }

    .tarjeta-beneficios {
        padding: var(--space-3xl) 0;
    }

    .tarjeta-beneficios__title {
        font-size: var(--text-2xl);
        text-align: left;
    }

    .tarjeta-beneficios__list {
        gap: var(--space-2xl);
    }

    .tarjeta-control__title {
        font-size: var(--text-2xl);
    }

    .tarjeta-vigencia__title {
        font-size: var(--text-2xl);
    }

    .tarjeta-vigencia__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .tarjeta-gestion {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }

    .tarjeta-gestion__inner {
        justify-content: center;
    }

    .tarjeta-gestion__title {
        font-size: var(--text-2xl);
    }

    .tarjeta-gestion__icons {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Page: Bono de Combustible */
    .bono-heading__title {
        font-size: var(--text-2xl);
    }

    .bono-denom__subtitle {
        font-size: 1.5rem;
    }

    .bono-denom__value {
        min-width: 80px;
    }

    .bono-denom__img {
        max-width: 100px;
    }

    .bono-beneficios {
        padding: var(--space-3xl) 0;
    }

    .bono-beneficios__title {
        font-size: var(--text-2xl);
    }

    .bono-seguridad {
        padding: var(--space-3xl) 0;
    }

    .bono-seguridad__title {
        font-size: var(--text-2xl);
    }

    .bono-seguridad__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .bono-vigencia__items {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .bono-vigencia__subtitle {
        font-size: 1.25rem;
    }

    /* Page: Aliados */
    .aliados-hero__img {
        height: 200px;
    }

    .aliados-heading__title {
        font-size: var(--text-2xl);
    }

    .aliados-grid {
        gap: var(--space-xl);
    }

    .aliados-grid__logo {
        max-height: 150px;
    }

    /* Page: Aviación */
    .aviacion-hero__img {
        height: 200px;
    }

    .aviacion-heading__title {
        font-size: var(--text-2xl);
    }

    .aviacion-ops__img {
        height: 200px;
    }

    .aviacion-quote__text {
        font-size: var(--text-2xl);
    }

    .aviacion-quote__svg {
        height: 60px;
    }

    .aviacion-fortalezas__img {
        height: 300px;
    }

    .aviacion-fortalezas__title,
    .aviacion-inversion__title,
    .aviacion-portafolio__title,
    .aviacion-alianzas__title,
    .aviacion-contacto__title {
        font-size: var(--text-2xl);
    }

    .aviacion-inversion {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }

    .aviacion-portafolio__img {
        height: 300px;
    }

    .aviacion-dark__icon-img {
        width: 100px;
        height: 100px;
    }

    .aviacion-alianzas__content {
        padding-right: 0;
    }

    .aviacion-alianzas__logo-img {
        max-width: 120px;
        max-height: 80px;
    }

    .aviacion-contacto__items {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }

    /* Page: Contáctanos */
    .contactanos-hero__img {
        height: 200px;
    }

    .page-contactanos .contactanos-heading__title {
        font-size: 2rem;
    }

    .contactanos-info__map-wrapper {
        max-width: 350px;
    }

    .contactanos-form__title {
        font-size: var(--text-2xl);
    }

    /* Page: Entrenamientos */
    .entrenamientos-hero__img {
        height: 200px;
    }

    .entrenamientos-heading__title {
        font-size: var(--text-3xl);
    }

    .entrenamientos-intro__img {
        height: 220px;
    }

    .entrenamientos-blue__img {
        height: 300px;
    }

    /* Page: Responsabilidad Social */
    .rse-hero__img {
        height: 200px;
    }

    .rse-heading__title {
        font-size: var(--text-3xl);
    }

    .rse-intro__img {
        height: 220px;
    }

    .rse-content__img {
        height: 300px;
    }

    /* Page: Estaciones */
    .estaciones-heading__title {
        font-size: var(--text-3xl);
    }
    .estaciones-body__grid {
        grid-template-columns: 1fr;
    }
    .estaciones-mapa {
        order: 1;
    }
    .estaciones-listado {
        order: 2;
        max-height: 400px;
    }
    .estaciones-listado__header,
    .estaciones-listado__row {
        grid-template-columns: 1fr 1fr 1.5fr;
    }

    /* Page: Políticas de Gobernanza */
    .gobernanza-hero__img {
        height: 220px;
    }

    .gobernanza-heading__title {
        font-size: var(--text-3xl);
    }

    .gobernanza-body__grid {
        grid-template-columns: 1fr;
    }

    .gobernanza-sidebar__wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .gobernanza-sidebar__item {
        flex: 1;
        min-width: 200px;
        justify-content: center;
        text-align: center;
    }

    /* Archive/Single: Novedades */
    .novedades-hero__img {
        height: 200px;
    }

    .archive-novedades .novedades-heading__title {
        font-size: 2rem;
    }

    .novedad-featured__link {
        height: 220px;
    }

    .novedad-featured__overlay {
        width: 100%;
        border-radius: 0;
    }

    .novedad-featured__content {
        max-width: 60%;
    }

    .novedad-featured__title {
        font-size: var(--text-sm);
    }

    .novedad-featured__excerpt {
        font-size: var(--text-sm);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .novedad-card__link {
        height: 220px;
    }

    .novedad-card__content {
        max-width: 60%;
    }

    .novedad-card__excerpt {
        font-size: var(--text-sm);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .novedad-single-hero__img {
        height: 250px;
    }

    .novedad-single__title {
        font-size: var(--text-2xl);
    }

    .novedad-related__title {
        font-size: var(--text-3xl);
    }

    /* Sections */
    .home-section,
    .entry-content {
        padding: var(--space-2xl) 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-hero {
        padding: var(--space-2xl) 0;
    }

    /* Footer — Minimalista mobile */
    .site-footer {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }

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

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-logo img {
        max-height: 70px;
    }

    .footer-branding .social-links {
        justify-content: center;
    }

    /* Footer nav: hide on mobile, show as accordion */
    .footer-nav {
        width: 100%;
    }

    .footer-primary-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .footer-primary-menu > li {
        flex: 1 0 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-primary-menu > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-md) 0;
        font-size: var(--text-sm);
    }

    /* Chevron icon for accordion */
    .footer-primary-menu > .menu-item-has-children > a::after {
        display: inline-block !important;
        content: '\e5cf';
        font-family: 'Material Symbols Outlined';
        font-size: 1.25rem;
        transition: transform var(--transition-fast);
        margin-left: auto;
    }

    .footer-primary-menu > .menu-item-has-children.footer-open > a::after {
        transform: rotate(180deg);
    }

    /* Sub-menus: hidden by default, shown on toggle */
    .footer-primary-menu .sub-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: var(--space-md);
    }

    .footer-primary-menu > .menu-item-has-children.footer-open > .sub-menu {
        max-height: 500px;
    }

    /* Items without children: just show as links */
    .footer-primary-menu > li:not(.menu-item-has-children) > a {
        padding: var(--space-md) 0;
    }

    /* Footer bottom: stacked centered */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-md);
    }

    .copyright {
        text-align: center;
    }

    .footer-bottom__credit {
        display: flex;
        justify-content: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-navigation .footer-menu {
        flex-direction: column;
    }

    /* Filters */
    .filter-list,
    .tabs-list {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--space-sm);
    }

    .filter-list::-webkit-scrollbar,
    .tabs-list::-webkit-scrollbar {
        display: none;
    }

    .filter-item,
    .tab-item {
        white-space: nowrap;
    }

    /* Pagination */
    .pagination,
    .nav-links {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    h1, .page-title, .archive-title {
        font-size: var(--text-2xl);
    }

    .hero-title {
        font-size: var(--text-2xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    /* Hero Slider */
    a.hero-slide--normal {
        min-height: 60vh;
    }

    .hero-slide__image {
        display: none;
    }

    .hero-slide__title {
        font-size: 1.75rem;
    }

    .hero-slide__subtitle {
        font-size: 1rem;
    }

    /* Slide Brand: 480px */
    .hero-slide-brand__logo-img {
        max-height: 140px;
        max-width: 170px;
    }

    .hero-slide-brand__name {
        font-size: 1.75rem;
    }

    .hero-slide-brand__tagline {
        font-size: var(--text-sm);
    }

    .hero-slide__btn {
        padding: 8px 16px;
        font-size: var(--text-sm);
    }

    .hero-bullet {
        width: 20px;
    }

    .hero-bullet--active {
        width: 35px;
    }

    /* Home: Estaciones */
    .home-estaciones__bg {
        min-height: 280px;
    }

    .home-estaciones__title {
        font-size: 1.5rem;
    }

    .home-estaciones__title strong {
        font-size: 1.5rem;
    }

    /* Home: Servicios */
    .servicio-item__figure {
        width: 180px;
        height: 155px;
    }

    /* Home: Empleos */
    .home-empleos__title {
        font-size: 1.5rem;
    }

    /* Home: Novedades */
    /* Home: Contáctanos */
    .contacto-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contacto-item__icon {
        width: 48px;
        height: 48px;
    }

    .home-contacto__map-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Page: Nuestros Valores */
    .valores-hero {
        margin-top: 20px;
    }

    .valores-hero__img {
        max-height: 180px;
        border-radius: var(--radius-sm);
    }

    .valores-heading__title {
        font-size: 1.5rem;
    }

    .valores-card {
        height: 180px;
    }

    .valores-card--full {
        height: 180px;
    }

    .valores-card__overlay {
        height: 60px;
        padding: 0 var(--space-md);
    }

    .valores-card__label {
        font-size: 1.25rem;
    }

    .valores-principios {
        padding: var(--space-2xl) 0;
    }

    .valores-principios__title {
        font-size: 1.5rem;
    }

    .btn--outline-white {
        width: 100%;
    }

    /* Archive: Equipo */
    .equipo-hero__img {
        max-height: 180px;
        border-radius: var(--radius-sm);
    }

    .equipo-heading__title {
        font-size: 1.5rem;
    }

    .equipo-member__header {
        margin-bottom: var(--space-lg);
    }

    .equipo-member__name {
        font-size: 1.125rem;
    }

    .equipo-member--has-photo {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .equipo-member__img {
        max-width: 180px;
        margin: 0 auto;
    }

    /* Page: Techron */
    .techron-hero__img {
        max-height: 180px;
        border-radius: var(--radius-sm);
    }

    .techron-heading__title {
        font-size: 1.5rem;
    }

    .techron-blue__title {
        font-size: 1.5rem;
    }

    .techron-cta {
        min-height: 300px;
    }

    .techron-cta__title {
        font-size: 1.5rem;
    }

    /* Page: Historia */
    .historia-hero__img {
        max-height: 180px;
        border-radius: var(--radius-sm);
    }

    .historia-heading__title {
        font-size: 1.5rem;
    }

    .historia-entry {
        grid-template-columns: 45px auto 1fr;
        gap: 0 var(--space-sm);
    }

    .historia-entry__title {
        font-size: var(--text-base);
    }

    .historia-entry__logo-img {
        max-width: 40px;
    }

    .historia-entry__dot {
        width: 12px;
        height: 12px;
    }

    .historia-dark__inner {
        grid-template-columns: 1fr;
    }

    .historia-dark__deco-img {
        margin-top: 0;
        margin-bottom: 0;
    }

    .historia-cta {
        min-height: 300px;
    }

    .historia-cta__title {
        font-size: 1.5rem;
    }

    .historia-dark__title {
        font-size: 1.5rem;
    }

    .historia-dark__logo-img {
        height: 0.85em;
    }

    /* Page: Tarjeta de Combustible */
    .tarjeta-hero__img {
        max-height: 180px;
        border-radius: var(--radius-sm);
    }

    .tarjeta-heading__title {
        font-size: 1.5rem;
    }

    .tarjeta-como__subtitle {
        font-size: 1.25rem;
    }

    .tarjeta-beneficios__title {
        font-size: 1.5rem;
    }

    .tarjeta-control__title {
        font-size: 1.5rem;
    }

    .tarjeta-vigencia__title {
        font-size: 1.5rem;
    }

    .tarjeta-vigencia__icon {
        width: 48px;
        height: 48px;
    }

    .tarjeta-gestion__title {
        font-size: 1.5rem;
    }

    .tarjeta-gestion__content {
        max-width: 100%;
    }

    .tarjeta-gestion__icon-item {
        width: 80px;
    }

    .tarjeta-gestion__icon-wrap {
        width: 36px;
        height: 36px;
    }

    .tarjeta-gestion__icon-label {
        font-size: var(--text-sm);
    }

    /* Page: Bono de Combustible */
    .bono-hero__img {
        max-height: 180px;
        border-radius: var(--radius-sm);
    }

    .bono-heading__title {
        font-size: 1.5rem;
    }

    .bono-denom__subtitle {
        font-size: 1.25rem;
    }

    .bono-denom__values {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .bono-denom__value {
        min-width: auto;
        justify-content: center;
    }

    .bono-denom__img {
        max-width: 100%;
        width: 100%;
    }

    .bono-beneficios__title {
        font-size: 1.5rem;
    }

    .bono-seguridad__title {
        font-size: 1.5rem;
    }

    .bono-seguridad__icon {
        width: 48px;
        height: 48px;
    }

    .bono-vigencia__icon {
        width: 48px;
        height: 48px;
    }

    /* Page: Aliados Estratégicos / Acuerdos Globales — logos grid */
    .alest-aliados__logos {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .alest-aliados__logo-img {
        max-width: 140px;
    }

    /* Page: Aliados */
    .aliados-hero__img {
        height: 150px;
    }

    .aliados-heading__title {
        font-size: 1.5rem;
    }

    .aliados-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .aliados-grid__item {
        padding: var(--space-md);
    }

    .aliados-grid__logo {
        max-height: 120px;
    }

    /* Page: Aviación */
    .aviacion-hero__img {
        height: 150px;
    }

    .aviacion-heading__title {
        font-size: 1.5rem;
    }

    .aviacion-ops__img {
        height: 150px;
    }

    .aviacion-quote__text {
        font-size: 1.25rem;
    }

    .aviacion-quote__svg {
        height: 40px;
    }

    .aviacion-fortalezas__img,
    .aviacion-portafolio__img {
        height: 220px;
    }

    .aviacion-fortalezas__title,
    .aviacion-inversion__title,
    .aviacion-portafolio__title,
    .aviacion-alianzas__title,
    .aviacion-contacto__title {
        font-size: 1.5rem;
    }

    .aviacion-dark__inner {
        flex-direction: column;
        text-align: center;
    }

    .aviacion-dark__icon-img {
        width: 80px;
        height: 80px;
    }

    .aviacion-alianzas__logo-img {
        max-width: 90px;
        max-height: 60px;
    }

    /* Page: Contáctanos */
    .contactanos-hero__img {
        height: 150px;
    }

    .page-contactanos .contactanos-heading {
        padding: var(--space-2xl) 0 var(--space-md);
    }

    .page-contactanos .contactanos-heading__title {
        font-size: 1.6rem;
    }

    .contactanos-info__map-wrapper {
        max-width: 260px;
    }

    .contactanos-form__title {
        font-size: 1.5rem;
    }

    .contactanos-form__btn {
        width: 100%;
        text-align: center;
    }

    /* Page: Entrenamientos */
    .entrenamientos-hero__img {
        height: 150px;
    }

    .entrenamientos-heading__title {
        font-size: var(--text-2xl);
    }

    .entrenamientos-intro__img {
        height: 180px;
    }

    .entrenamientos-blue__img {
        height: 220px;
    }

    .entrenamientos-blue__btn {
        width: 100%;
        text-align: center;
    }

    /* Page: Responsabilidad Social */
    .rse-hero__img {
        height: 150px;
    }

    .rse-heading__title {
        font-size: var(--text-2xl);
    }

    .rse-intro__img {
        height: 180px;
    }

    .rse-content__img {
        height: 220px;
    }

    /* Page: Estaciones */
    .estaciones-heading__title {
        font-size: var(--text-2xl);
    }
    .estaciones-heading__subtitle {
        font-size: 0.875rem;
    }
    .estaciones-selector__dropdown {
        max-width: 100%;
    }
    .estaciones-listado__header,
    .estaciones-listado__row {
        grid-template-columns: 1fr 1fr;
    }
    .estaciones-listado__col--ubicacion,
    .estaciones-listado__cell--ubicacion {
        grid-column: 1 / -1;
    }
    .estaciones-listado {
        max-height: 350px;
    }
    .estaciones-listado__cell {
        font-size: 0.75rem;
    }

    /* Page: Políticas de Gobernanza */
    .gobernanza-hero__img {
        height: 150px;
    }

    .gobernanza-heading__title {
        font-size: var(--text-2xl);
    }

    .gobernanza-sidebar__item {
        min-width: 100%;
    }

    .gobernanza-content {
        font-size: var(--text-sm);
    }

    /* Archive/Single: Novedades */
    .novedades-hero__img {
        height: 150px;
    }

    .archive-novedades .novedades-heading {
        padding: var(--space-2xl) 0 var(--space-md);
    }

    .archive-novedades .novedades-heading__title {
        font-size: 1.6rem;
    }

    .novedad-featured__link {
        height: 200px;
    }

    .novedad-featured__content {
        left: var(--space-lg);
        max-width: 65%;
    }

    .novedad-featured__excerpt {
        -webkit-line-clamp: 2;
    }

    .novedad-featured__cta {
        top: var(--space-md);
        right: var(--space-lg);
    }

    .novedad-card__link {
        height: 200px;
    }

    .novedad-card__content {
        left: var(--space-lg);
        max-width: 65%;
    }

    .novedad-card__title {
        font-size: var(--text-sm);
    }

    .novedad-card__excerpt {
        font-size: var(--text-sm);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .novedad-card__overlay {
        width: 100%;
    }

    .novedad-single-hero__img {
        height: 180px;
    }

    .novedad-single__title {
        font-size: var(--text-xl);
    }

    .novedad-related__title {
        font-size: var(--text-2xl);
    }

    /* Section titles */
    .section-title {
        font-size: 1.625rem;
    }

    /* Footer */
    .footer-logo img {
        max-height: 55px;
    }

    .equipo-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form .search-field {
        border-right: 2px solid var(--color-gray-200);
        border-radius: var(--radius-md);
        margin-bottom: var(--space-sm);
    }

    .search-form .search-submit {
        border-radius: var(--radius-md);
    }

    /* Page: Quiénes Somos */
    .about-hero {
        margin-top: 20px;
    }

    .about-hero__img {
        max-height: 200px;
        border-radius: var(--radius-sm);
    }

    .about-nosotros__title {
        font-size: 1.75rem;
    }

    .about-nosotros__text {
        text-align: left;
    }

    .about-liderazgo__inner {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .about-liderazgo__title {
        font-size: 1.75rem;
    }

    .about-liderazgo__text {
        text-align: left;
    }

    .about-liderazgo__buttons {
        flex-direction: column;
        gap: var(--space-md);
    }

    .btn--outline-white {
        width: 100%;
    }
}

/* ==========================================================================
   Large Desktop (min-width: 1200px)
   ========================================================================== */

@media (min-width: 1200px) {
    .novedades-grid--home {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .home-contacto__top-items {
        gap: var(--space-3xl);
    }
}

/* ==========================================================================
   Extra Large Desktop (min-width: 1600px)
   ========================================================================== */

@media (min-width: 1600px) {
    .hero-slide__title {
        font-size: 4rem;
    }

    .hero-slide__subtitle {
        font-size: 2rem;
    }
}
