/*=========================================
   PÁGINA ESTACIONES DE SERVICIO
=========================================*/

.page-estaciones {
    background: #4a4a4a;
}

/* Header siempre rojo sólido (como en las fotos) */
.header-solid {
    background: #c1121f !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    transition: box-shadow 0.35s ease, background 0.35s ease;
    z-index: 1000;
}

.header-solid.scrolled {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.header-solid .logo,
.header-solid nav ul li a,
.header-solid #menu {
    color: #ffffff !important;
}

.header-solid .logo-text > span,
.header-solid .logo span span {
    color: #ffffff;
}

.header-solid .btn-header {
    background: #ffffff;
    color: #c1121f;
}

.header-solid .btn-header:hover {
    background: #f3f4f6;
    color: #9b0e18;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Submenú sobre header rojo */
.header-solid .submenu {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.header-solid .submenu li a {
    color: #1f2937 !important;
}

.header-solid .submenu li a:hover {
    color: #c1121f !important;
    background: #fef2f2;
}

/*=========================================
   HERO
=========================================*/

.eds-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
}

.eds-hero-bg {
    position: absolute;
    inset: -5%;
    background: url("herobannerestaciones.avif") center center / cover no-repeat;
    z-index: 0;
    will-change: transform;
    transform: scale(1.05);
}

.eds-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(20, 20, 20, 0.6) 0%,
        rgba(30, 30, 30, 0.35) 45%,
        rgba(193, 18, 31, 0.2) 100%
    );
    z-index: 1;
}

.eds-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.eds-hero-title-wrap h1 {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 22px;
    border-radius: 6px;
    line-height: 1.25;
    margin: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    border-left: 4px solid #c1121f;
}

.eds-hero-text {
    background: rgba(255, 255, 255, 0.92);
    padding: 26px 30px;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.eds-hero-text:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.eds-hero-text p {
    color: #1f2937;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

/*=========================================
   PROYECTOS
=========================================*/

.eds-project {
    background: #4a4a4a;
    padding: 80px 0 60px;
}

.eds-project-alt {
    padding-top: 40px;
}

.eds-project-intro {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

.eds-project-intro h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    position: relative;
    padding-bottom: 16px;
}

.eds-project-intro h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: #c1121f;
    border-radius: 2px;
}

.eds-project-intro p {
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/*=========================================
   GALERÍA
=========================================*/

.eds-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.eds-gallery-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: #333;
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.eds-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.eds-gallery-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    transform: translateY(-6px);
}

.eds-gallery-item:hover::after {
    opacity: 1;
}

.eds-gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    will-change: transform;
}

/*=========================================
   VIDEO
=========================================*/

.eds-gallery-video {
    align-items: stretch;
}

.eds-video {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eds-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: #111;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.eds-video-wrapper:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.eds-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.eds-video-caption {
    color: #d1d5db;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    transition: color 0.3s ease;
}

.eds-video:hover .eds-video-caption {
    color: #ffffff;
}

.eds-video-caption i {
    color: #ff0000;
    font-size: 18px;
}

/*=========================================
   CTA
=========================================*/

.eds-cta {
    background: #4a4a4a;
    padding: 20px 0 70px;
    text-align: center;
}

.eds-cta-btn {
    display: inline-block;
    background: #c1121f;
    color: #ffffff;
    padding: 16px 44px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(193, 18, 31, 0.3);
    position: relative;
    overflow: hidden;
}

.eds-cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.eds-cta-btn:hover {
    background: #9b0e18;
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(193, 18, 31, 0.45);
}

.eds-cta-btn:hover::before {
    left: 100%;
}
/*=========================================
    FOOTER
=========================================*/

footer {
    background: var(--primary);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 30px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-logo-img {
    height: 86px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-logo span span {
    color: var(--primary);
}

.footer-text {
    color: #ffffff;
    line-height: 1.8;
    font-size: 14px;
    max-width: 320px;
}

.footer-title {
    font-size: 18px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    color:  #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1f2937;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: #ffffff;
    color: var(--white);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 22px 0;
    text-align: center;
    color: #f8f9fa;
    font-size: 14px;
}
/* =========================================================
   RESPONSIVE - ESTACIONES DE SERVICIO
   DESKTOP → LAPTOP → TABLET → CELULAR
========================================================= */


/* =========================================================
   LAPTOPS GRANDES
   1440px - 1201px
========================================================= */

@media (max-width: 1440px) {

    .eds-hero-content {
        width: 92%;
        margin: 0 auto;
        gap: 35px;
    }

    .eds-project .container,
    .eds-cta .container {
        width: 92%;
    }

    .eds-project-intro {
        gap: 40px;
    }

    .eds-gallery {
        gap: 20px;
    }

    .eds-gallery-item img {
        height: 300px;
    }

}


/* =========================================================
   LAPTOPS MEDIANAS
   1200px - 992px
========================================================= */

@media (max-width: 1200px) {

    /* HERO */

    .eds-hero {
        min-height: 500px;
        padding: 90px 0 70px;
    }

    .eds-hero-content {
        width: 92%;
        grid-template-columns: 0.9fr 1.1fr;
        gap: 28px;
    }

    .eds-hero-title-wrap h1 {
        font-size: clamp(22px, 2.8vw, 30px);
        padding: 13px 20px;
    }

    .eds-hero-text {
        padding: 24px 26px;
    }

    .eds-hero-text p {
        font-size: 14px;
    }


    /* PROYECTOS */

    .eds-project {
        padding: 75px 0 55px;
    }

    .eds-project-intro {
        grid-template-columns: 1fr 1.2fr;
        gap: 35px;
    }

    .eds-project-intro h2 {
        font-size: clamp(28px, 3.2vw, 36px);
    }

    .eds-project-intro p {
        font-size: 15px;
    }


    /* GALERÍA */

    .eds-gallery {
        gap: 18px;
    }

    .eds-gallery-item img {
        height: 280px;
    }

}


/* =========================================================
   TABLET / IPAD
   991px
========================================================= */

@media (max-width: 991px) {

    /* =====================================================
       HEADER
    ===================================================== */

    .header-solid {
        position: sticky;
        top: 0;
    }

    .header-solid .container {
        height: 76px;
    }

    .header-solid #menu {
        display: block;
        color: #ffffff !important;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .eds-hero {
        min-height: auto;
        padding: 85px 0 65px;
    }

    .eds-hero-content {
        width: 92%;
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: stretch;
    }

    .eds-hero-title-wrap {
        width: 100%;
    }

    .eds-hero-title-wrap h1 {
        font-size: clamp(24px, 4vw, 32px);
        padding: 14px 20px;
        max-width: 100%;
    }

    .eds-hero-text {
        width: 100%;
        padding: 24px 26px;
    }

    .eds-hero-text p {
        font-size: 15px;
        line-height: 1.75;
    }


    /* =====================================================
       PROYECTOS
    ===================================================== */

    .eds-project {
        padding: 70px 0 50px;
    }

    .eds-project-alt {
        padding-top: 35px;
    }

    .eds-project-intro {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 35px;
    }

    .eds-project-intro h2 {
        font-size: clamp(30px, 5vw, 40px);
    }

    .eds-project-intro p {
        font-size: 15px;
        line-height: 1.75;
    }


    /* =====================================================
       GALERÍA
    ===================================================== */

    .eds-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .eds-gallery-item img {
        height: 270px;
    }


    /* =====================================================
       VIDEO
    ===================================================== */

    .eds-video-wrapper {
        border-radius: 10px;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .eds-cta {
        padding: 15px 0 60px;
    }

}


/* =========================================================
   TABLET PEQUEÑA
   768px
========================================================= */

@media (max-width: 768px) {

    /* HERO */

    .eds-hero {
        padding: 70px 0 55px;
    }

    .eds-hero-bg {
        inset: 0;
        transform: scale(1.02);
    }

    .eds-hero-content {
        width: 92%;
        gap: 18px;
    }

    .eds-hero-title-wrap h1 {
        font-size: clamp(23px, 5vw, 30px);
        line-height: 1.25;
        padding: 13px 17px;
    }

    .eds-hero-text {
        padding: 20px;
    }

    .eds-hero-text p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* PROYECTOS */

    .eds-project {
        padding: 60px 0 45px;
    }

    .eds-project-intro {
        margin-bottom: 30px;
    }

    .eds-project-intro h2 {
        font-size: 32px;
    }

    .eds-project-intro p {
        font-size: 14px;
    }


    /* GALERÍA */

    .eds-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .eds-gallery-item img {
        height: auto;
        min-height: 260px;
        max-height: 430px;
        object-fit: cover;
    }


    /* VIDEO */

    .eds-video-wrapper {
        width: 100%;
        padding-bottom: 56.25%;
    }


    /* CTA */

    .eds-cta {
        padding: 10px 0 55px;
    }

    .eds-cta-btn {
        width: 90%;
        max-width: 360px;
        padding: 15px 25px;
        font-size: 15px;
    }

}


/* =========================================================
   CELULARES GRANDES
   576px
========================================================= */

@media (max-width: 576px) {

    /* =====================================================
       HERO
    ===================================================== */

    .eds-hero {
        min-height: 0;
        padding: 60px 0 45px;
    }

    .eds-hero-bg {
        inset: -2%;
        transform: scale(1.04);
        background-position: center center;
    }

    .eds-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(20, 20, 20, 0.58) 0%,
            rgba(20, 20, 20, 0.48) 100%
        );
    }

    .eds-hero-content {
        width: 90%;
        gap: 16px;
    }

    .eds-hero-title-wrap h1 {
        display: block;
        width: 100%;
        font-size: 21px;
        line-height: 1.3;
        padding: 12px 14px;
        border-left-width: 3px;
        border-radius: 5px;
    }

    .eds-hero-text {
        padding: 18px 16px;
        border-radius: 7px;
    }

    .eds-hero-text p {
        font-size: 13px;
        line-height: 1.7;
    }


    /* =====================================================
       PROYECTOS
    ===================================================== */

    .eds-project {
        padding: 50px 0 35px;
    }

    .eds-project-alt {
        padding-top: 25px;
    }

    .eds-project-intro {
        gap: 15px;
        margin-bottom: 25px;
    }

    .eds-project-intro h2 {
        font-size: 28px;
        line-height: 1.2;
        padding-bottom: 12px;
    }

    .eds-project-intro h2::after {
        width: 45px;
        height: 3px;
    }

    .eds-project-intro p {
        font-size: 13.5px;
        line-height: 1.7;
    }


    /* =====================================================
       GALERÍA
    ===================================================== */

    .eds-gallery {
        width: 100%;
        gap: 15px;
        margin-bottom: 15px;
    }

    .eds-gallery-item {
        border-radius: 10px;
    }

    .eds-gallery-item img {
        width: 100%;
        height: 250px;
        min-height: 0;
        max-height: none;
        object-fit: cover;
    }


    /* =====================================================
       VIDEO
    ===================================================== */

    .eds-video {
        gap: 9px;
    }

    .eds-video-wrapper {
        border-radius: 9px;
    }

    .eds-video-caption {
        font-size: 12px;
        gap: 6px;
    }

    .eds-video-caption i {
        font-size: 15px;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .eds-cta {
        padding: 5px 0 45px;
    }

    .eds-cta-btn {
        width: 90%;
        padding: 14px 20px;
        font-size: 14px;
    }


    /* =====================================================
       DESACTIVAR HOVER EN MÓVIL
    ===================================================== */

    .eds-gallery-item:hover {
        transform: none;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    }

    .eds-gallery-item:hover::after {
        opacity: 0;
    }

    .eds-hero-text:hover {
        transform: none;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    }

}


/* =========================================================
   CELULARES MEDIANOS
   400px
========================================================= */

@media (max-width: 400px) {

    .eds-hero {
        padding: 52px 0 38px;
    }

    .eds-hero-content {
        width: 92%;
    }

    .eds-hero-title-wrap h1 {
        font-size: 19px;
        padding: 11px 13px;
    }

    .eds-hero-text {
        padding: 16px 14px;
    }

    .eds-hero-text p {
        font-size: 13px;
        line-height: 1.65;
    }


    /* PROYECTOS */

    .eds-project {
        padding: 45px 0 30px;
    }

    .eds-project-intro h2 {
        font-size: 26px;
    }

    .eds-project-intro p {
        font-size: 13px;
    }


    /* GALERÍA */

    .eds-gallery {
        gap: 13px;
    }

    .eds-gallery-item img {
        height: 225px;
    }


    /* CTA */

    .eds-cta-btn {
        width: 94%;
        font-size: 13px;
        padding: 13px 16px;
    }

}


/* =========================================================
   CELULARES PEQUEÑOS
   360px
========================================================= */

@media (max-width: 360px) {

    .eds-hero {
        padding: 45px 0 32px;
    }

    .eds-hero-content {
        width: 94%;
        gap: 13px;
    }

    .eds-hero-title-wrap h1 {
        font-size: 17px;
        padding: 10px 11px;
    }

    .eds-hero-text {
        padding: 14px 12px;
    }

    .eds-hero-text p {
        font-size: 12px;
    }


    /* PROYECTOS */

    .eds-project {
        padding: 40px 0 25px;
    }

    .eds-project-intro h2 {
        font-size: 24px;
    }

    .eds-project-intro p {
        font-size: 12.5px;
    }


    /* GALERÍA */

    .eds-gallery-item img {
        height: 200px;
    }


    /* CTA */

    .eds-cta-btn {
        font-size: 12px;
        padding: 12px 14px;
    }

}


/* =========================================================
   CELULAR EN HORIZONTAL
========================================================= */

@media (max-width: 991px) and (orientation: landscape) and (max-height: 500px) {

    .eds-hero {
        min-height: auto;
        padding: 80px 0 45px;
    }

    .eds-hero-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .eds-hero-title-wrap h1 {
        font-size: 21px;
    }

    .eds-hero-text {
        padding: 18px;
    }

    .eds-hero-text p {
        font-size: 13px;
    }

    .eds-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .eds-gallery-item img {
        height: 220px;
    }

}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) and (pointer: coarse) {

    .eds-gallery-item:hover {
        transform: none;
    }

    .eds-gallery-item:hover::after {
        opacity: 0;
    }

    .eds-video-wrapper:hover {
        transform: none;
    }

    .eds-hero-text:hover {
        transform: none;
    }

    .eds-cta-btn:hover {
        transform: none;
    }

}


/* =========================================================
   REDUCIR ANIMACIONES
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .eds-hero-bg,
    .eds-gallery-item,
    .eds-gallery-item img,
    .eds-video-wrapper,
    .eds-hero-text,
    .eds-cta-btn {
        transition: none !important;
        animation: none !important;
    }

}