/* =========================================================
   Selector de estaciones / servicios
   Archivo: css/estaciones.css
   ========================================================= */

#banner .station-selector-content {
    width: 100%;
    padding: 54px 0 48px;
    box-sizing: border-box;
}

#banner .station-selector-intro {
    text-align: center;
    margin: 0 auto 28px;
    max-width: 850px;
}

#banner .station-selector-intro > span {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 12px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 30px;
    background: rgba(0,0,0,.18);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

#banner .station-selector-intro h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

#banner .station-selector-intro p {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 15px;
}

#banner .station-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    max-width: 1160px;
    margin: 0 auto;
    background: rgba(8, 17, 28, .30);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

#banner .station-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 300px;
    padding: 27px 30px 30px;
    background: rgba(4, 12, 22, .58);
    border-right: 1px solid rgba(255,255,255,.24);
    text-align: left;
    transition: background .25s ease, transform .25s ease;
}

#banner .station-card:last-child {
    border-right: 0;
}

#banner .station-card:hover {
    background: rgba(4, 12, 22, .76);
}

#banner .station-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff3b30;
}

#banner .station-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

#banner .station-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,59,48,.95);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}

#banner .station-type {
    color: rgba(255,255,255,.72);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: right;
}

#banner .station-card h2 {
    margin: 0 0 17px;
    color: #fff;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

#banner .station-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 67px;
    margin-bottom: 15px;
    padding: 13px 14px;
    border-left: 3px solid #ff3b30;
    background: rgba(255,255,255,.08);
    border-radius: 0 7px 7px 0;
}

#banner .station-address > i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #ff554b;
    font-size: 20px;
}

#banner .station-address strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 11px;
    letter-spacing: .7px;
    text-transform: uppercase;
}

#banner .station-address p {
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 13px;
    line-height: 1.45;
}

#banner .station-address-service {
    min-height: 67px;
}

#banner .station-description {
    margin: 0 0 20px;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    line-height: 1.55;
}

#banner .station-btn,
#banner .station-btn:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
    gap: 10px !important;
    margin-top: auto !important;
    min-width: 220px !important;
    min-height: 46px !important;
    padding: 13px 22px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #f44336 !important;
    background-image: none !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .35px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.25) !important;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

#banner .station-btn span {
    display: inline-block;
    color: #fff !important;
}

#banner .station-btn i {
    display: inline-block;
    color: #fff !important;
    font-size: 13px;
    line-height: 1;
}

#banner .station-btn:hover,
#banner .station-btn:focus,
#banner .station-btn:active {
    background: #e53935 !important;
    background-image: none !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(0,0,0,.32) !important;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    #banner .station-selector-content {
        padding: 40px 20px;
    }

    #banner .station-selector-intro h1 {
        font-size: 30px;
    }

    #banner .station-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #banner .station-card:nth-child(2) {
        border-right: 0;
    }

    #banner .station-card:nth-child(1),
    #banner .station-card:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,.24);
    }
}

@media (max-width: 767px) {
    #banner .banner-parallax {
        height: auto !important;
        min-height: 100vh;
    }

    #banner .slide-content.station-selector-content {
        position: relative;
        height: auto;
        padding: 76px 15px 35px;
    }

    #banner .station-selector-intro {
        margin-bottom: 20px;
    }

    #banner .station-selector-intro h1 {
        font-size: 26px;
    }

    #banner .station-selector-intro p {
        font-size: 13px;
    }

    #banner .station-grid {
        grid-template-columns: 1fr;
        border-radius: 10px;
    }

    #banner .station-card,
    #banner .station-card:nth-child(1),
    #banner .station-card:nth-child(2) {
        min-height: 0;
        padding: 23px 21px 25px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.24);
    }

    #banner .station-card:last-child {
        border-bottom: 0;
    }

    #banner .station-card h2 {
        font-size: 22px;
    }

    #banner .station-address,
    #banner .station-address-service {
        min-height: 0;
    }

    #banner .station-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 380px) {
    #banner .slide-content.station-selector-content {
        padding-top: 65px;
    }

    #banner .station-selector-intro h1 {
        font-size: 23px;
    }

    #banner .station-card-header {
        align-items: flex-start;
    }

    #banner .station-type {
        max-width: 145px;
    }
}
