/* -------------------------------------------------------------
 *  EG Transporte - Hoja de Estilos Principal (Mobile-First)
 *  Versión mejorada — 2 de marzo de 2026
 * -----------------------------------------------------------*/

/* 1. Variables Globales y Settings */
:root {
    --color-red: #D20A11;
    --color-red-dark: #9E0005;
    --color-dark: #1A1A1A;
    --color-dark-lighter: #262626;
    --color-light: #F4F4F4;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-muted: #888888;

    --font-main: 'Inter', -apple-system, sans-serif;

    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;

    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

/* Scroll margin para navegación con header fijo */
section[id] {
    scroll-margin-top: var(--header-height);
}

/* Utilitarios */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
}

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

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

.text-red {
    color: var(--color-red) !important;
}

.text-white {
    color: var(--color-white) !important;
}

.text-muted {
    color: var(--color-text-muted);
}

.bg-red {
    background-color: var(--color-red);
}

.bg-dark {
    background-color: var(--color-dark);
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.d-flex {
    display: flex;
}

.d-inline-block {
    display: inline-block;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.align-items-center {
    align-items: center;
}

.align-items-stretch {
    align-items: stretch;
}

.w-100 {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Tipografía */
.section-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.2rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: transform var(--transition-fast),
        background-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-red-dark);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-red);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
    font-style: italic;
    letter-spacing: -1px;
}

.logo-red {
    color: var(--color-red);
    font-size: 1.8rem;
    margin-right: 4px;
}

.logo-text {
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
}

.logo-text small {
    font-size: 0.6rem;
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--color-text-muted);
    font-style: normal;
    margin-top: -2px;
}

.section-dark .logo-text {
    color: var(--color-white);
}

/* Layout seccion base */
section {
    padding: var(--space-xl) 0;
}

.section-light {
    background-color: var(--color-light);
}

.section-dark {
    background-color: var(--color-dark);
}

.section-red {
    background-color: var(--color-red);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    transition: padding var(--transition-normal),
        box-shadow var(--transition-normal);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-dark);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 1.5rem 1rem;
}

.main-nav.active {
    display: block;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: right;
    width: 100%;
    justify-content: flex-end;
}

.nav-link {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-text);
    font-style: italic;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-red);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    margin-top: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/IMG_6626.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.35) 60%,
            rgba(0, 0, 0, 0.55) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
}

.hero .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(210, 10, 17, 0.4);
}

.hero .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(210, 10, 17, 0.5);
}

/* Propuesta */
.propuesta-seccion {
    padding: 5rem 0;
    background-color: #f4f4f4;
    /* light grey as seen in original request image */
}

.propuesta-seccion .section-title {
    margin-bottom: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.propuesta-seccion p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    font-weight: 400;
    /* Clean and readable */
    line-height: 1.8;
    color: #4a4a4a;
}

.propuesta-seccion p:last-child {
    margin-bottom: 0;
}

/* Scroll Animation Cascades specific to Propuesta */
.propuesta-seccion .section-title.animate-on-scroll {
    transition-delay: 0.1s;
}

.propuesta-seccion .text-content p:nth-child(1) {
    transition-delay: 0.2s;
}

.propuesta-seccion .text-content p:nth-child(2) {
    transition-delay: 0.3s;
}

.propuesta-seccion .text-content p:nth-child(3) {
    transition-delay: 0.4s;
}

/* Beneficios */
.beneficios-seccion {
    padding: 4rem 0;
    background: var(--color-red);
    /* Elegante degradado radial hacia oscuro como en el diseño de cliente */
    background: radial-gradient(circle at 10% 50%, #d20a11 0%, #5a0000 100%);
}

.beneficios-seccion .section-title {
    margin-bottom: 2.5rem;
}

.list-icon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Diseño nuevo para image_2 (features) */
.features-grid {
    gap: 0;
    /* Quitamos gap para usar padding en el borde */
    row-gap: 0;
    column-gap: 4rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    position: relative;
    /* transition effect base for hover background */
    transition: background-color 0.4s ease, transform 0.4s ease;
}

/* El pseudo-elemento before servirá como el border-top interactivo */
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

/* El pseudo-elemento after será la línea brillante que crece */
.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: #ffffff;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.feature-item:hover::after {
    width: 100%;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    /* Ligerísimo levantamiento */
    transform: translateY(-2px);
}

/* Ocultar ítems vacíos usados para balancear grilla */
.feature-item.empty-feature {
    padding: 0;
}

.feature-item.empty-feature::before,
.feature-item.empty-feature::after {
    display: none;
}

@media (max-width: 767px) {
    .feature-item.empty-feature {
        display: none;
    }
}

.icon-list-item p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: #f4f4f4;
}

.feature-item strong {
    color: #ffffff;
    font-weight: 700;
}

.icon-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-white);
    margin-top: 3px;
}

.icon-arrow.dark-arrow {
    color: transparent;
    filter: brightness(0) opacity(0.85);
    /* La flecha será negra suave */
    width: 24px;
    height: 24px;
    margin-top: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.feature-item:hover .icon-arrow.dark-arrow {
    transform: translate(4px, -4px);
    filter: brightness(0) opacity(1);
}

/* =========================================
   Scroll Animations
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays escalonados para la grilla (hasta 8 items) */
.features-grid .feature-item:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .feature-item:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .feature-item:nth-child(3) {
    transition-delay: 0.3s;
}

.features-grid .feature-item:nth-child(4) {
    transition-delay: 0.4s;
}

.features-grid .feature-item:nth-child(5) {
    transition-delay: 0.5s;
}

.features-grid .feature-item:nth-child(6) {
    transition-delay: 0.6s;
}

.features-grid .feature-item:nth-child(7) {
    transition-delay: 0.7s;
}

.features-grid .feature-item:nth-child(8) {
    transition-delay: 0.8s;
}

/* Servicios */
.servicios-seccion {
    padding: 5rem 0 4.5rem;
    position: relative;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(15, 0, 0, 0.85)), url('../img/IMG_6467.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* Scroll Animation Cascades specific to Servicios */
.servicios-grid .servicio-card.animate-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.servicios-grid .servicio-card.animate-on-scroll:nth-child(2) {
    transition-delay: 0.15s;
}

.servicios-grid .servicio-card.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.servicios-grid .servicio-card.animate-on-scroll:nth-child(4) {
    transition-delay: 0.25s;
}

.servicios-grid .servicio-card.animate-on-scroll:nth-child(5) {
    transition-delay: 0.3s;
}

.servicios-grid .servicio-card.animate-on-scroll:nth-child(6) {
    transition-delay: 0.35s;
}

.servicios-grid .servicio-card.animate-on-scroll:nth-child(7) {
    transition-delay: 0.4s;
}

.servicios-grid .servicio-card.animate-on-scroll:nth-child(8) {
    transition-delay: 0.45s;
}

.servicios-grid .servicio-card.animate-on-scroll:nth-child(9) {
    transition-delay: 0.5s;
}

.container-servicios {
    max-width: 1000px;
    margin: 0 auto;
}

.servicios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.servicio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 6px;
    transition: background-color var(--transition-fast),
        transform var(--transition-fast);
}

.servicio-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.servicio-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.servicio-icon svg {
    width: 36px;
    height: 36px;
    transition: transform var(--transition-normal), stroke var(--transition-normal);
}

.servicio-card:hover .servicio-icon svg {
    transform: scale(1.25);
    stroke: var(--color-white) !important;
}

.servicio-card p {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Medios de pago */
.medios-pago-banner {
    background: linear-gradient(135deg, #1f0101 0%, #111 60%, #1a1a1a 100%);
    border-radius: 10px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(210, 10, 17, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(210, 10, 17, 0.05);
}

.medios-pago-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(210, 10, 17, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pago-img-box {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    z-index: 2;
    transition: transform var(--transition-normal);
}

.medios-pago-banner:hover .pago-img-box {
    transform: translateY(-8px) scale(1.05);
}

.pago-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

.pago-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--color-white);
}

.pago-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
    color: #e0e0e0;
}

/* Destinos */
.destinos-seccion {
    padding: 5rem 0;
    background-color: #FAFAFA;
}

/* Scroll Animation Cascades specific to Destinos */
.destinos-content h2.section-title.animate-on-scroll {
    transition-delay: 0.1s;
}

.destinos-tags.animate-on-scroll {
    transition-delay: 0.2s;
}

.destinos-map .map-container.animate-on-scroll {
    transition-delay: 0.3s;
}

.destinos-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.destinos-content h2.section-title {
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
}

.destinos-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    padding: 0.7rem 1.3rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    color: #555;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag.tag-active,
.tag:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
    box-shadow: 0 8px 18px rgba(210, 10, 17, 0.2);
    transform: translateY(-3px);
}

.tag.tag-primary {
    background-color: var(--color-red);
    color: var(--color-white);
}

.tag.tag-primary:hover {
    background-color: var(--color-red-dark);
}

.map-container {
    width: 100%;
    /* Altura fluida según svg */
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-container svg {
    max-height: 500px;
    width: auto;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.05));
}

.map-grid-wrapper {
    display: grid;
    gap: 8px;
    position: relative;
}

.map-dot {
    width: 8px;
    height: 8px;
    background-color: #d1d1d1;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.map-dot:hover {
    background-color: var(--color-red);
    transform: scale(1.5);
}

.map-cell {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 12px;
    height: 12px;
}

.map-pin {
    width: 16px;
    height: 16px;
    background-color: var(--color-red);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: absolute;
    bottom: 4px;
    box-shadow: 0 4px 6px rgba(210, 10, 17, 0.4);
    animation: bouncePin 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 10;
}

.map-pin::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes bouncePin {

    0%,
    100% {
        transform: rotate(-45deg) translateY(0);
    }

    50% {
        transform: rotate(-45deg) translateY(-6px);
    }
}

/* Contacto */
.contacto-seccion {
    padding: 0;
}

/* Delays para animaciones de contacto */
.contacto-image.animate-on-scroll {
    transition-delay: 0.1s;
}

.contacto-form-wrapper.animate-on-scroll {
    transition-delay: 0.3s;
}

.contacto-layout {
    display: flex;
    flex-direction: column;
}

.contacto-image {
    min-height: 400px;
    background-image: url('../img/IMG_6503.jpg');
    background-size: cover;
    background-position: center 30%;
    position: relative;
    z-index: 1;
}

.contacto-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.contacto-form-wrapper {
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
    background-color: #d20a11;
    /* deeper red base */
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.25);
}

.contacto-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.contacto-form-container h2.section-title {
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 0.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    outline: none;
    transition: all var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.04);
}

.form-group textarea {
    resize: none;
    margin-top: 0.5rem;
}

.btn.btn-white {
    background-color: var(--color-white);
    color: #d20a11;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.btn-white:hover {
    background-color: #f4f4f4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.social-icons a {
    color: inherit;
    opacity: 0.85;
    transition: all var(--transition-normal);
    display: inline-block;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.social-icons svg {
    width: 22px;
    height: 22px;
}

.redes-sociales {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Sucursales */
.sucursales-seccion {
    padding: 5rem 0;
    position: relative;
    background-image: url('../img/IMG_6433.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.sucursales-seccion::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.75) 50%, rgba(15, 15, 15, 0.95) 100%);
    z-index: -1;
}

.sucursales-title {
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
}

.sucursales-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

.sucursal-card {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(210, 10, 17, 0.25);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sucursal-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sucursal-card .small {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.sucursal-card.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

.sucursal-card:hover,
.sucursal-card.sucursal-active {
    background: linear-gradient(135deg, rgba(210, 10, 17, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-color: rgba(210, 10, 17, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Cascading scroll animation delays for Sucursales */
.sucursales-title.animate-on-scroll {
    transition-delay: 0.1s;
}

.sucursal-card.animate-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.sucursal-card.animate-on-scroll:nth-child(2) {
    transition-delay: 0.15s;
}

.sucursal-card.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.sucursal-card.animate-on-scroll:nth-child(4) {
    transition-delay: 0.25s;
}

.sucursal-card.animate-on-scroll:nth-child(5) {
    transition-delay: 0.3s;
}

.sucursal-card.animate-on-scroll:nth-child(6) {
    transition-delay: 0.35s;
}

.sucursal-card.animate-on-scroll:nth-child(7) {
    transition-delay: 0.4s;
}

.sucursal-card.animate-on-scroll:nth-child(8) {
    transition-delay: 0.45s;
}

.sucursal-card.animate-on-scroll:nth-child(9) {
    transition-delay: 0.5s;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-logo {
    display: block;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.02);
}

/* =========================================================
   Media Queries
   ========================================================= */

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .sucursal-card {
        text-align: center;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }

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

    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .nav-list {
        flex-direction: row;
        gap: 2rem;
        justify-content: flex-end;
    }

    .list-icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 3rem;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .medios-pago-banner {
        flex-direction: row;
        text-align: left;
        padding: 2rem 3rem;
    }

    .pago-icon-box {
        margin-right: 1.5rem;
        width: 70px;
        height: 70px;
    }

    .destinos-layout {
        flex-direction: row;
        align-items: center;
    }

    .destinos-content {
        flex: 1;
        padding-right: 2rem;
        max-width: 50%;
        position: relative;
        z-index: 2;
    }

    .destinos-map {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .map-container {
        height: 100%;
    }

    .map-container svg {
        max-height: 580px;
        width: 100%;
        filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.05));
    }

    .contacto-layout {
        flex-direction: row;
    }

    .contacto-image {
        flex: 1;
        min-height: auto;
    }

    .contacto-form-wrapper {
        flex: 1;
        padding: var(--space-xl);
        display: flex;
        align-items: center;
    }

    .contacto-form-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .redes-sociales {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .sucursales-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Desktop grande */
@media (min-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }

    section {
        padding: 5rem 0;
    }

    .hero {
        height: 85vh;
        max-height: 900px;
    }

    .propuesta-seccion {
        padding: 5rem 0;
    }

    .propuesta-seccion p {
        font-size: 1.08rem;
    }

    .beneficios-seccion {
        padding: 4rem 0;
    }

    .servicios-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-list {
        gap: 2.5rem;
    }

    .sucursales-seccion {
        padding: 5rem 0;
    }

    .destinos-seccion {
        padding: 5rem 0;
    }
}

/* Desktop extra grande */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}

/* -------------------------------------------------------------
 *  WhatsApp Floating Button
 * -----------------------------------------------------------*/
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    background-color: #20b858;
    color: #FFF;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}