:root {
    --primary-color: #86ff05;
    --primary-dark: #6ad000;
    --secondary-color: #a0f42a;
    --dark-bg: #000000;
    --darker-bg: #000000;
    --card-bg: #101010;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --border-light: rgba(255, 255, 255, 0.1);
    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-bounce: all 0.35s cubic-bezier(0.19, 1.15, 0.22, 1);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.3);
    --glow-primary: 0 0 20px rgba(134, 255, 5, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.37, 0, 0.45, 0.99);
}

*:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background: #000000;
}

img {
    max-width: 100%;
    height: auto;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Animación del GPS */
@keyframes driving {
    0% {
        transform: translateY(-650px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Contenedor principal */
.map-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
    position: relative;
}

/* Hero con animación GPS mejorada */
.hero {
    position: relative;
    height: 100vh;
    max-height: 800px;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
    border-radius: 0 0 30px 30px;
}

.hero__content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    text-align: center;
    margin-top: -70px;
}

.hero__logo {
    width: 120px;
    height: 120px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(134, 255, 5, 0.6);
    animation: pulse-logo 3s infinite;
}

@keyframes pulse-logo {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(134, 255, 5, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(134, 255, 5, 0.8);
    }
}

.hero__logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero__title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero__title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.hero:hover .hero__title span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero__subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
}

.hero__search {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero__search-input {
    width: 100%;
    padding: 18px 20px 18px 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(134, 255, 5, 0.3);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero__search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 5px rgba(134, 255, 5, 0.2);
}

.hero__search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.3rem;
    pointer-events: none;
    z-index: 1000;
}

.hero__search-button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 8.5px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hero__search-button:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

.hero__actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.hero__action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero__action-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.hero__action-btn i {
    font-size: 1.2rem;
}

/* Mapa 3D mejorado */
.map-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.map-3d__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(134, 255, 5, 0.155) 0%, transparent 80%),
        linear-gradient(rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.329) 100%);
}

.map-3d__grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(134, 255, 5, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(134, 255, 5, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: center bottom;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 1000px;
    }
}

.map-3d__roads {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: center bottom;
}

.map-3d__road {
    position: absolute;
    height: 200%;
    background-color: rgba(39, 102, 9, 0.5);
    transform-origin: top;
}

.map-3d__road--main {
    width: 30px;
    left: 50%;
    top: -50%;
    transform: translateX(-50%);
    background-color: rgba(132, 255, 0, 0.614);
    box-shadow: 0 0 20px rgba(134, 255, 5, 0.651);
}

.map-3d__road--left1 {
    width: 15px;
    left: 30%;
    top: -50%;
    transform: translateX(-50%);
}

.map-3d__road--left2 {
    width: 10px;
    left: 15%;
    top: -50%;
    transform: translateX(-50%);
}

.map-3d__road--right1 {
    width: 15px;
    left: 70%;
    top: -50%;
    transform: translateX(-50%);
}

.map-3d__road--right2 {
    width: 10px;
    left: 85%;
    top: -50%;
    transform: translateX(-50%);
}

.map-3d__road--h1 {
    width: 100%;
    height: 15px;
    top: 30%;
    left: 0;
}

.map-3d__road--h2 {
    width: 100%;
    height: 10px;
    top: 60%;
    left: 0;
}

.map-3d__markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: center bottom;
}

.map-3d__marker {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    animation: marker-pulse 2s infinite;
    cursor: pointer;
}

@keyframes marker-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.map-3d__marker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.7;
}

.map-3d__marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.map-3d__marker--1 {
    top: 30%;
    left: 50%;
}

.map-3d__marker--2 {
    top: 40%;
    left: 30%;
}

.map-3d__marker--3 {
    top: 60%;
    left: 70%;
}

.map-3d__marker--4 {
    top: 70%;
    left: 20%;
}

.map-3d__marker--5 {
    top: 50%;
    left: 80%;
}

.map-3d__car {
    position: absolute;
    width: 20px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: car-move 15s linear infinite;
    box-shadow: 0 0 20px rgba(134, 255, 5, 0.5);
}

@keyframes car-move {
    0% {
        top: 90%;
        left: 50%;
    }
    25% {
        top: 30%;
        left: 50%;
    }
    30% {
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    45% {
        top: 30%;
        left: 80%;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    50% {
        top: 30%;
        left: 80%;
        transform: translate(-50%, -50%) rotate(180deg);
    }
    70% {
        top: 70%;
        left: 80%;
        transform: translate(-50%, -50%) rotate(180deg);
    }
    75% {
        top: 70%;
        left: 80%;
        transform: translate(-50%, -50%) rotate(270deg);
    }
    95% {
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(270deg);
    }
    100% {
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.map-3d__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.5) 40%, 
        rgba(0, 0, 0, 0.3) 60%, 
        rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.map-3d__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.map-3d__particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 130px;
    left: 44.6%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Encabezado del mapa */
.map-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.map-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(134, 255, 5, 0.1);
}

.map-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 3px;
}

.map-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contenedor del mapa */
.map-wrapper {
    position: relative;
    height: 650px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    margin-bottom: 60px;
}

.map-wrapper:hover {
    box-shadow: var(--shadow-lg), var(--glow-primary);
    transform: translateY(-5px);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sección de sucursales */
.branch-list {
    margin-top: 50px;
    position: relative;
}

.branch-list::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.branch-list h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    background: linear-gradient(90deg, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.branch-list h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.branches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Tarjetas de sucursales */
.branch-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    padding: 30px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(30px);
    z-index: 1;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.branch-card:hover::before {
    transform: scaleX(1);
}

.branch-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 0) var(--mouse-y, 0), 
                               rgba(134, 255, 5, 0.1) 0%, 
                               transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.branch-card:hover::after {
    opacity: 1;
}

.branch-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--glow-primary);
    border-color: rgba(134, 255, 5, 0.3);
    z-index: 2;
}

.branch-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(134, 255, 5, 0.1);
}

.branch-card:hover .branch-name {
    transform: translateX(5px);
    border-bottom-color: rgba(134, 255, 5, 0.3);
}

.branch-info {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.branch-info p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
    transition: var(--transition);
}

.branch-card:hover .branch-info p {
    transform: translateX(3px);
}

.branch-info i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 3px;
    transition: var(--transition);
    min-width: 20px;
    text-align: center;
}

.branch-card:hover .branch-info i {
    transform: scale(1.2);
}

.branch-actions {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.branch-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(134, 255, 5, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(134, 255, 5, 0.2);
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.branch-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                              transparent, 
                              rgba(255, 255, 255, 0.2), 
                              transparent);
    transition: left 0.7s ease;
}

.branch-button:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.branch-button:hover::before {
    left: 100%;
}

.branch-button i {
    font-size: 1.1rem;
}

/* Animación de pulso para el indicador */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(134, 255, 5, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(134, 255, 5, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(134, 255, 5, 0);
    }
}

/* Elementos flotantes */
.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(134, 255, 5, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: -100px;
    animation: float 15s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    bottom: 30%;
    right: -100px;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, 30px);
    }
}

/* Footer */
.map-footer {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    line-height: 1.8;
}

     .map-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.map-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.map-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.map-footer a:hover::after {
    width: 100%;
}

.map-footer p {
    margin-bottom: 15px;
}

.map-footer p:last-child {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Tooltip para los marcadores */
.marker-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 20;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(134, 255, 5, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transform: translateY(-10px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.map-3d__marker:hover .marker-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Loader para el mapa */
.map-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: opacity 0.5s ease;
    border-radius: 16px;
}

.map-loader__spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(134, 255, 5, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Indicador de pulso para las tarjetas */
.pulse-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: pulse 2s infinite;
}

/* Filtros para las sucursales */
.branch-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.branch-filter {
    background: rgba(134, 255, 5, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(134, 255, 5, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.branch-filter:hover {
    background: rgba(134, 255, 5, 0.2);
    transform: translateY(-3px);
}

.branch-filter.active {
    background: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 600;
}

/* Contador de resultados */
.results-count {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.results-count span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mensaje de no resultados */
.no-results {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    margin-top: 30px;
    display: none;
}

.no-results i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.no-results p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__subtitle {
        font-size: 1.3rem;
    }
    
    .map-header h1 {
        font-size: 2.2rem;
    }
    
    .branch-list h2 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .branches {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .branch-card {
        padding: 25px;
    }
    
    .branch-name {
        font-size: 1.3rem;
    }
    
    .map-wrapper {
        height: 450px;
    }
}

@media (max-width: 768px) {

    .hero__content {
        position: relative;
        z-index: 10;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        text-align: center;
        margin-top: 25px;
    }
    
    .hero {
        max-height: 700px;
    }
    
    .hero__logo {
        width: 100px;
        height: 100px;
    }
    
    .hero__logo img {
        width: 70px;
        height: 70px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .hero__search-input {
        padding: 15px 20px 15px 50px;
        font-size: 1rem;
    }
    
    .hero__search-button {
        padding: 8px 15px;
    }
    
    .hero__actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .map-header h1 {
        font-size: 1.8rem;
    }
    
    .map-header p {
        font-size: 1rem;
    }
    
    .map-wrapper {
        height: 400px;
    }
    
    .branch-list h2 {
        font-size: 1.8rem;
    }
    
    .branches {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .branch-filters {
        gap: 10px;
    }
    
    .branch-filter {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* Scroll indicator */
    .scroll-indicator {
    position: absolute;
    bottom: 3px;
    left: 30%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    z-index: 10;
    animation: bounce 2s infinite;
    }

}

@media (max-width: 576px) {
    .hero {
        max-height: 600px;
    }
    
    .hero__logo {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .hero__logo img {
        width: 50px;
        height: 50px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero__search {
        margin-bottom: 30px;
    }
    
    .hero__search-input {
        padding: 12px 15px 12px 45px;
    }
    
    .hero__search-icon {
        left: 15px;
        font-size: 1.1rem;
    }
    
    .hero__search-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .hero__action-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .map-header h1 {
        font-size: 1.5rem;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .branches {
        grid-template-columns: 1fr;
    }
    
    .branch-actions {
        flex-direction: column;
    }
    
    .back-button {
        top: 75px;
        left: 10px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .branch-list h2 {
        font-size: 1.5rem;
    }
    
    .branch-filters {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .branch-filter {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .map-footer {
        margin-top: 60px;
        padding-top: 30px;
        font-size: 0.9rem;
    }
}

/* Animaciones adicionales */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(134, 255, 5, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(134, 255, 5, 0.8);
    }
}


body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #000000;
    overflow-x: hidden;
    line-height: 1.6;
}