/*//////////////////////// Hero =///////////////////////*/

.hero-ns {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-ns__bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, #0b0b0b 0%, #1a1a2e 30%, #16213e 70%, #0b0b0b 100%),
        radial-gradient(ellipse at 30% 20%, rgba(225, 6, 44, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(225, 6, 44, 0.15) 0%, transparent 50%);
}

.hero-ns__overlay {
    position: absolute;
    inset: 0;
    background: url('../img/dos.jpeg') center/cover;
    opacity: 0.15;
    filter: grayscale(50%);
}

.hero-contacto .hero-ns__overlay {
    background: url('../img/grupal.jpeg') center/cover;
}

.hero-ns__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-ns__logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 20px;
}

.hero-ns__tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--first-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-ns__title {
    font-size: clamp(2.5rem, 10vw, 7rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-ns__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 15px;
}

.hero-ns__title {
    font-size: clamp(2.5rem, 10vw, 7rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-ns__subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-ns__stats {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat__number {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat__label {
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-ns__btn {
    display: inline-block;
    background: var(--first-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.hero-ns__btn:hover {
    background: var(--first-color-alt);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(225, 6, 44, 0.4);
}

.hero-ns__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 10;
    animation: bounce 2s infinite;
}

.hero-ns__scroll i { font-size: 1.25rem; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/*//////////////////////// Historia =///////////////////////*/

.historia {
    padding: clamp(4rem, 10vw, 8rem) 1.5rem;
    position: relative;
}

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

.historia__content { text-align: center; }

.historia__tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--first-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.historia__title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: #e0e0e0;
    margin-bottom: 1.25rem;
}

.historia__text {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.historia__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.historia__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.historia__feature:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(225, 6, 44, 0.3);
}

.feature__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature__icon i { font-size: 1.5rem; color: #fff; }

.feature__content h3 {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 0.4rem;
}

.feature__content p {
    font-size: 0.85rem;
    color: var(--text-color);
}

/*//////////////////////// Equipo / Crew =///////////////////////*/

.equipo {
    padding: clamp(4rem, 10vw, 6rem) 1.5rem;
}

.equipo__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.equipo__subtitle {
    color: var(--text-color);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.equipo__carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3.5rem;
}

.equipo__carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.equipo__carousel-btn:hover {
    background: var(--first-color);
    border-color: var(--first-color);
}

.equipo__carousel-btn--prev { left: 0; }
.equipo__carousel-btn--next { right: 0; }

.equipo__cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 16px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    scrollbar-width: none;
    padding: 1rem 0;
}

.equipo__cards::-webkit-scrollbar { display: none; }

.equipo__card {
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.equipo__card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(225, 6, 44, 0.3);
}

.equipo__card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--first-color);
    background: rgba(225, 6, 44, 0.15);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
}

.equipo__card-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.equipo__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipo__card h3 {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 0.4rem;
}

.equipo__card-role {
    color: var(--first-color);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.75rem;
}

.equipo__card-social {
    display: flex;
    justify-content: center;
}

.equipo__card-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.equipo__card-social a:hover {
    background: var(--first-color);
    transform: translateY(-2px);
}

/*//////////////////////// Galería =///////////////////////*/

.galeria {
    padding: clamp(4rem, 10vw, 6rem) 1.5rem;
}

.galeria__header {
    text-align: center;
    margin-bottom: 3rem;
}

.galeria__subtitle {
    color: var(--text-color);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.galeria__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.galeria__item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.galeria__item--tall { grid-row: span 2; }

.galeria__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria__item:hover img { transform: scale(1.1); }

.galeria__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.galeria__item:hover .galeria__overlay { opacity: 1; }

.galeria__overlay span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

/*//////////////////////// FAQs / Acordeón =///////////////////////*/

.faqs {
    padding: clamp(4rem, 10vw, 6rem) 1.5rem;
}

.faqs__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faqs__subtitle {
    color: var(--text-color);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.faqs__content {
    max-width: 800px;
    margin: 0 auto;
}

.acordeon {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.acordeon:hover { border-color: rgba(225, 6, 44, 0.3); }

.acordeon label {
    display: block;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 3rem;
}

.acordeon label::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--first-color);
    transition: transform 0.3s ease;
}

.acordeon input:checked + label::after { transform: translateY(-50%) rotate(45deg); }
.acordeon input:checked + label { color: var(--first-color); }

.acordeon .contenido-acordeon {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-color);
    line-height: 1.7;
}

.btn-acordeon { display: none; }

.btn-acordeon:checked ~ .contenido-acordeon {
    max-height: 200px;
    padding: 0 1.25rem 1rem;
}

/*//////////////////////// Scroll Animations =///////////////////////*/

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate][data-delay="100"] { transition-delay: 0.1s; }
[data-animate][data-delay="200"] { transition-delay: 0.2s; }
[data-animate][data-delay="300"] { transition-delay: 0.3s; }

/*//////////////////////// Contacto Formulario =///////////////////////*/

.contacto-form {
    padding: clamp(4rem, 10vw, 6rem) 1.5rem;
}

.contacto-form__container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contacto-form__header {
    text-align: center;
    margin-bottom: 2rem;
}

.contacto-form__text {
    color: var(--text-color);
    font-size: 1rem;
}

.form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form__group {
    margin-bottom: 1.25rem;
}

.form__group--full {
    grid-column: 1 / -1;
}

.form__label {
    display: block;
    color: #e0e0e0;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--first-color);
    background: rgba(255, 255, 255, 0.08);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__group--checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.form__group--checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--first-color);
}

.form__group--checkbox label {
    color: var(--text-color);
    font-size: 0.85rem;
    cursor: pointer;
}

.form__submit {
    width: 100%;
    padding: 1rem;
    background: var(--first-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.form__submit:hover {
    background: var(--first-color-alt);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(225, 6, 44, 0.4);
}

.form__submit i {
    font-size: 1.2rem;
}

.form__submit-text,
.form__submit-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form__submit-loading {
    display: none;
}

.form__submit.loading .form__submit-text {
    display: none;
}

.form__submit.loading .form__submit-loading {
    display: flex;
}

.form__submit.loading .form__submit-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Sidebar de contacto */
.contacto-form__sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.75rem;
    color: var(--first-color);
}

.contact-item span {
    font-size: 0.8rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/*//////////////////////// Rutas / Mapas =///////////////////////*/

.rutas {
    padding: clamp(4rem, 10vw, 6rem) 1.5rem;
}

.rutas__container {
    max-width: 1200px;
    margin: 0 auto;
}

.rutas__header {
    text-align: center;
    margin-bottom: 3rem;
}

.rutas__subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.rutas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.ruta-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.ruta-card:hover {
    transform: translateY(-8px);
    border-color: rgba(225, 6, 44, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.ruta-map {
    position: relative;
    height: 320px;
    width: 100%;
    background: #1a1a2e;
    overflow: hidden;
}

.ruta-map iframe,
.ruta-map .leaflet-container {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

.ruta-map-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(225, 6, 44, 0.95), rgba(255, 61, 90, 0.95));
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(225, 6, 44, 0.4);
}

.ruta-map-badge i {
    font-size: 1.5rem;
    color: #fff;
}

.ruta-map-badge-content {
    display: flex;
    flex-direction: column;
}

.ruta-map-badge-content span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ruta-map-badge-content strong {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}

.ruta-info {
    padding: 2rem;
}

.ruta-info h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ruta-info h3 i {
    color: var(--first-color);
}

.ruta-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
}

.ruta-details {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ruta-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.ruta-details i {
    color: var(--first-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .rutas__grid {
        grid-template-columns: 1fr;
    }
    
    .ruta-map {
        height: 280px;
    }
    
    .ruta-map-badge {
        padding: 10px 16px;
    }
    
    .ruta-map-badge-content span {
        font-size: 0.65rem;
    }
    
    .ruta-map-badge-content strong {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .ruta-map {
        height: 220px;
    }
    
    .ruta-info {
        padding: 1.5rem;
    }
    
    .ruta-details {
        gap: 1rem;
    }
}

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

@media (max-width: 1024px) {
    .equipo__cards { grid-auto-columns: calc((100% / 2) - 12px); }
    .galeria__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .galeria__item--tall { grid-row: span 1; }
    .contacto-form__container { grid-template-columns: 1fr; }
    .contacto-form__sidebar { position: static; }
    .contacto-form__sidebar .sidebar-card { margin-top: 0; }
    .rutas__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-ns__title { letter-spacing: 4px; }
    .hero-ns__stats { gap: 1.5rem; }
    .historia__features { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
    .historia__leaf-1, .historia__leaf-2 { display: none; }
    .equipo__carousel { padding: 0 2.5rem; }
    .equipo__carousel-btn { width: 40px; height: 40px; }
    .form { padding: 1.5rem; }
    .indicadores { grid-template-columns: 1fr; max-width: 350px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
    .hero-ns__title { font-size: 2.2rem; letter-spacing: 3px; }
    .hero-ns__subtitle { font-size: 0.95rem; }
    .galeria__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 0.75rem; }
    .equipo__cards { grid-auto-columns: calc((100% / 1.5) - 10px); }
    .form__row { grid-template-columns: 1fr; }
    .form__group--checkbox { flex-direction: column; align-items: flex-start; }
    .form__group--checkbox input { width: auto; }
    .rutas__grid { grid-template-columns: 1fr; }
    .ruta-map { height: 250px; }
}

@media (max-width: 480px) {
    .hero-ns__stats { flex-direction: column; gap: 1rem; }
    .galeria__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .equipo__cards { grid-auto-columns: 85%; }
    .equipo__carousel-btn--prev { left: -5px; }
    .equipo__carousel-btn--next { right: -5px; }
    .acordeon label { font-size: 0.9rem; }
    .indicador { padding: 1.25rem; }
    .indicador__icon { width: 50px; height: 50px; }
    .indicador__icon i { font-size: 1.5rem; }
    .indicador__numero { font-size: 2rem; }
}

/*//////////////////////// Indicadores Animados //////////////////////*/

.indicadores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.indicador {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.indicador.animated {
    opacity: 1;
    transform: translateY(0);
}

.indicador::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--first-color), var(--first-color-alt, #ff3d5a));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.indicador.animated::before {
    transform: scaleX(1);
}

.indicador:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 6, 44, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(225, 6, 44, 0.1);
}

.indicador__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-alt, #ff3d5a) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
}

.indicador__icon i {
    font-size: 1.75rem;
    color: #fff;
}

.indicador:hover .indicador__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(225, 6, 44, 0.4);
}

.indicador__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.indicador__numero {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    letter-spacing: -1px;
}

.indicador__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.indicador__bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 1.25rem;
    overflow: hidden;
}

.indicador__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--first-color), var(--first-color-alt, #ff3d5a));
    border-radius: 2px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicador.animated .indicador__bar-fill {
    width: var(--bar-width, 0%);
}

/*//////////////////////// Mensajes de Formulario //////////////////////*/

.form__mensaje {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    margin-top: 1.5rem;
    animation: slideInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form__mensaje.show {
    display: flex;
}

.form__mensaje i {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.form__mensaje div {
    flex: 1;
}

.form__mensaje h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.form__mensaje p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
}

/* Mensaje de éxito */
.form__mensaje--exito {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form__mensaje--exito i {
    color: #22c55e;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
    animation: successPulse 1s ease infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.form__mensaje--exito h4 {
    color: #22c55e;
}

.form__mensaje--exito p {
    color: rgba(255, 255, 255, 0.8);
}

/* Mensaje de error */
.form__mensaje--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form__mensaje--error i {
    color: #ef4444;
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.5));
    animation: errorShake 0.5s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.form__mensaje--error h4 {
    color: #ef4444;
}

.form__mensaje--error p {
    color: rgba(255, 255, 255, 0.8);
}

/* Iconos animados */
.form__mensaje--exito i.ri-checkbox-circle-fill::before {
    animation: checkBounce 0.6s ease;
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .form__mensaje {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .form__mensaje i {
        font-size: 2rem;
    }
    
    .form__mensaje h4 {
        font-size: 1rem;
    }
}

/*//////////////////////// Sección de Ubicación Mejorada //////////////////////*/

.ubicacion__header {
    text-align: center;
    margin-bottom: 3rem;
}

.ubicacion__header .section__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(225, 6, 44, 0.15);
    color: var(--first-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.ubicacion__header .section__tag i {
    font-size: 1rem;
}

.ubicacion__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.ubicacion__wrapper {
    display: flex;
    justify-content: center;
}

.ubicacion__map-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    width: 100%;
}

.ubicacion__map {
    height: 500px;
    width: 100%;
    border-radius: 24px;
    z-index: 1;
}

.ubicacion__map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
    gap: 1rem;
}

.ubicacion__time-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(225, 6, 44, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(225, 6, 44, 0.4);
}

.ubicacion__time-badge i {
    font-size: 2rem;
    color: #fff;
}

.ubicacion__time-badge div {
    display: flex;
    flex-direction: column;
}

.ubicacion__time-badge span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ubicacion__time-badge strong {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
}

.ubicacion__location-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ubicacion__location-badge i {
    font-size: 1.25rem;
    color: var(--first-color);
}

.ubicacion__location-badge span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .ubicacion__map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .ubicacion__map-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .ubicacion__time-badge {
        width: 100%;
        justify-content: center;
    }
    
    .ubicacion__location-badge {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .ubicacion__map {
        height: 350px;
    }
    
    .ubicacion__map-container {
        border-radius: 16px;
    }
    
    .ubicacion__map-overlay {
        padding: 1rem;
    }
    
    .ubicacion__time-badge {
        padding: 0.75rem 1rem;
    }
    
    .ubicacion__time-badge i {
        font-size: 1.5rem;
    }
    
    .ubicacion__time-badge strong {
        font-size: 1rem;
    }
    
    .ubicacion__location-badge span {
        font-size: 0.8rem;
    }
}

/*//////////////////////// Estilos Leaflet Customizados //////////////////////*/

.leaflet-container {
    background: #0b0b0b !important;
}

.leaflet-popup-content-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: auto !important;
}

.leaflet-popup-tip-container {
    display: none;
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.leaflet-control-zoom a {
    background: rgba(26, 26, 46, 0.9) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(225, 6, 44, 0.8) !important;
}

.leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.7) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 10px !important;
    padding: 2px 8px !important;
}

.leaflet-control-attribution a {
    color: var(--first-color) !important;
}

.custom-marker {
    background: transparent !important;
    border: none !important;
}

.marker-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
}

.marker-pulse {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(225, 6, 44, 0.4);
    animation: markerPulse 1.5s ease-out infinite;
}

@keyframes markerPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.marker-core {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e10629, #ff3d5a);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(225, 6, 41, 0.6);
    border: 3px solid #fff;
}

.marker-core i {
    transform: rotate(45deg);
    color: #fff;
    font-size: 22px;
}

.map-popup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(225, 6, 44, 0.5);
    border-radius: 16px;
    padding: 0;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.map-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(225, 6, 44, 0.15);
    border-bottom: 1px solid rgba(225, 6, 44, 0.2);
}

.map-popup-header img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.map-popup-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.map-popup-header span {
    font-size: 11px;
    color: var(--first-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-popup-body {
    padding: 14px 16px;
}

.map-popup-body p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-popup-body p:last-child {
    margin-bottom: 0;
}

.map-popup-body i {
    color: var(--first-color);
    font-size: 14px;
}

.custom-popup .leaflet-popup-content-wrapper {
    background: transparent !important;
    border-radius: 16px !important;
    padding: 0 !important;
}

.custom-popup .leaflet-popup-tip {
    background: #1a1a2e !important;
    border: 2px solid rgba(225, 6, 44, 0.5) !important;
    border-top: none !important;
    border-left: none !important;
}

.ruta-popup {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a2e;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 160px;
}

.ruta-popup i {
    font-size: 20px;
}

.ruta-popup div {
    display: flex;
    flex-direction: column;
}

.ruta-popup strong {
    color: #fff;
    font-size: 13px;
}

.ruta-popup span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

.ruta-popup--start {
    border-color: rgba(34, 197, 94, 0.4);
}

.ruta-popup--start i {
    color: #22c55e;
}

.ruta-popup--end {
    border-color: rgba(225, 6, 44, 0.4);
}

.ruta-popup--end i {
    color: var(--first-color);
}

.ruta-info-popup {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid var(--first-color);
    border-radius: 16px;
    padding: 0;
    min-width: 220px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(225, 6, 44, 0.3);
}

.ruta-info-popup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: rgba(225, 6, 44, 0.15);
    border-bottom: 1px solid rgba(225, 6, 44, 0.2);
}

.ruta-info-popup-header i {
    color: var(--first-color);
    font-size: 20px;
}

.ruta-info-popup-header span {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ruta-info-popup-stats {
    display: flex;
    padding: 14px 16px;
    gap: 20px;
}

.ruta-info-popup-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.ruta-info-popup-stats strong {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.ruta-info-popup-stats small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* =============== MOBILE STYLES (max-width: 767px) =============== */
@media screen and (max-width: 767px) {
    /* Hero Section */
    .hero-ns {
        height: 100vh;
        min-height: 500px;
    }

    .hero-ns__logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .hero-ns__title {
        font-size: 2rem !important;
        letter-spacing: 3px;
    }

    .hero-ns__tag {
        font-size: 0.75rem;
    }

    .hero-ns__subtitle {
        font-size: 0.9rem;
    }

    .hero-ns__stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat {
        min-width: 70px;
    }

    .stat__number {
        font-size: 1.5rem !important;
    }

    .stat__label {
        font-size: 0.6rem;
    }

    .hero-ns__btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Equipo/Crew Carousel */
    .equipo__carousel {
        padding: 0;
        position: relative;
    }

    .equipo__carousel-btn {
        display: none !important;
    }

    .equipo__cards {
        display: flex !important;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1rem;
        padding: 1rem 0.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .equipo__cards::-webkit-scrollbar {
        display: none;
    }

    .equipo__card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        min-width: 260px;
        max-width: 300px;
    }

    /* Historia Section */
    .historia {
        padding: 3rem 1rem;
    }

    .historia__container {
        padding: 0;
    }

    .historia__tag {
        font-size: 0.75rem;
    }

    .historia__title {
        font-size: 1.5rem !important;
    }

    .historia__text {
        font-size: 0.95rem;
        text-align: center;
    }

    /* Mission/Vision */
    .mision,
    .vision {
        padding: 2rem 1rem;
    }

    .mision__title,
    .vision__title {
        font-size: 1.25rem !important;
    }

    .mision__text,
    .vision__text {
        font-size: 0.95rem;
        text-align: center;
    }

    .mision__img,
    .vision__img {
        width: 100%;
        max-width: 300px;
        margin: 1rem auto;
        display: block;
    }

    /* Equipo Section */
    .equipo {
        padding: 3rem 1rem;
    }

    .equipo__header {
        margin-bottom: 2rem;
    }

    .equipo__subtitle {
        font-size: 0.9rem;
    }

    .equipo__cards {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .equipo__card {
        min-width: 280px;
        scroll-snap-align: center;
    }

    /* Galeria Section */
    .galeria {
        padding: 3rem 1rem;
    }

    .galeria__grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* FAQ Section */
    .faqs {
        padding: 3rem 1rem;
    }

    .faqs__title {
        font-size: 1.5rem !important;
    }

    .contenedor-acordeon {
        padding: 0;
    }

    .acordeon__pregunta {
        padding: 1rem;
        font-size: 0.95rem;
    }

    /* Contact Form */
    .contacto-form {
        padding: 3rem 1rem;
    }

    .contacto-form__container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .form {
        padding: 1.5rem;
    }

    .form__row {
        flex-direction: column;
        gap: 1rem;
    }

    .indicadores {
        grid-template-columns: 1fr !important;
    }

    .sidebar-card {
        padding: 1.5rem;
    }

    /* Rutas Section */
    .rutas {
        padding: 3rem 1rem;
    }

    .rutas__grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .ruta-card {
        min-width: 100%;
    }

    .ruta-map {
        height: 200px;
    }

    /* Footer */
    .footer__container {
        padding: 2rem 1rem;
        text-align: center;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__social {
        justify-content: center;
        gap: 1rem;
    }

    .footer__copy {
        font-size: 0.75rem;
    }

    /* Scroll Up */
    .scrollup {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        right: 1rem;
        bottom: 1.5rem;
    }

    /* Section Titles */
    .section__title {
        font-size: 1.5rem;
        text-align: center;
    }

    .section__tag {
        display: block;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

/* =============== EXTRA SMALL MOBILE (max-width: 375px) =============== */
@media screen and (max-width: 375px) {
    .hero-ns__title {
        font-size: 1.75rem !important;
        letter-spacing: 2px;
    }

    .hero-ns__stats {
        gap: 0.75rem;
    }

    .stat {
        min-width: 60px;
    }

    .stat__number {
        font-size: 1.25rem !important;
    }

    .stat__label {
        font-size: 0.55rem;
    }

    .historia__title {
        font-size: 1.25rem !important;
    }

    .equipo__card {
        flex: 0 0 90%;
        min-width: 240px;
        max-width: 280px;
    }

    .form {
        padding: 1rem;
    }

    .form__input,
    .form__textarea {
        font-size: 0.9rem;
    }

    .indicador {
        padding: 1rem;
    }
}

/* =============== TABLET (768px - 1023px) =============== */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .hero-ns__stats {
        gap: 2rem;
    }

    .equipo__carousel-btn {
        display: flex !important;
    }

    .equipo__cards {
        display: grid !important;
        grid-auto-flow: column;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .equipo__cards::-webkit-scrollbar {
        display: none;
    }

    .equipo__card {
        min-width: 280px;
        max-width: 320px;
    }

    .galeria__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .rutas__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* =============== DESKTOP (1024px+) =============== */
@media screen and (min-width: 1024px) {
    .equipo__carousel-btn {
        display: flex !important;
    }

    .equipo__cards {
        display: grid !important;
        grid-auto-flow: column;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .equipo__cards::-webkit-scrollbar {
        display: none;
    }
}

/*=============== WHATSAPP FLOAT BUTTON ===============*/
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999 !important;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float i {
    font-size: 2rem;
    color: #fff;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 5rem;
        right: 1rem;
        left: auto;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 1.6rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .whatsapp-float {
        bottom: 2rem;
        left: 1.5rem;
        right: auto;
        width: 55px;
        height: 55px;
    }
}

