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

@font-face {
    font-family: "Astonpoliz";
    /* nombre que usarás en CSS */
    src: url("../public/fonts/Astonpoliz.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Bebas Neue */
@font-face {
    font-family: "Bebas Neue";
    src: url("../public/fonts/BebasNeue-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fcfcfe;
    /* Fondo inicial claro */
    transition: background 0.3s ease;
    /* opcional: fallback */
}

header {
    text-align: center;
    padding: 0;
    background: #00d4ff;
    color: white;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00d4ff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    /* espacio entre logo y texto */
    text-decoration: none;
    color: white;
    /* el color del texto */
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-logo .logo svg {
    height: 40px;
    /* ajusta según necesidad */
    width: auto;
    fill: #ff6b6b;
}

.logo:hover {
    color: #00d4ff;
    fill: #ff6b6b;
    transform: scale(1.05);
}

.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.navar-logo-text {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Astonpoliz', sans-serif;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container img {
    width: 50px;
    height: 50px;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #00d4ff;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #00d4ff;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    /* Aumentado para más espacio */
    margin: 40px auto;
    padding: 20px;
    gap: 40px;
    /* Más espacio entre secciones */
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
}



/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    margin: 0 auto;
    background: #121212;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin-bottom: 40px;

}




/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header {
        padding: 15px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 10px;
    }

    .badges {
        gap: 15px;
    }
}

.map-section,
.timeline-section {
    flex: 1;
    min-width: 320px;
}

.map-section h2,
.timeline-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #222;
    font-size: 1.6rem;
}

/* Mapa */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 20px;
    text-align: center;
}


/* mapa */
#mapa path {
    margin-top: 20px;
    fill: #d35e5e;
    stroke: #ffffff;
    stroke-width: 2px;
}

#mapa path:hover {
    fill: #ff5050;
}

#mapa #MXNLE {
    fill: #80ffff;
}

.note {
    margin-top: 20px;
    padding: 18px 20px;
    background-color: #0f1620;
    /* Fondo oscuro para resaltar el neon */
    border-left: 4px solid #00d4ff;
    /* Línea izquierda en cian neon */
    font-size: 0.95rem;
    color: #fff;
    /* Texto en tono neon cian */
    border-radius: 8px;
    box-shadow:
        0 0 5px rgba(0, 212, 255, 0.3),
        /* Brillo suave */
        0 0 10px rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Efecto hover: brillo suave al pasar el mouse */
.note:hover {
    box-shadow:
        0 0 8px rgba(0, 212, 255, 0.5),
        0 0 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}

/* Estilo para el texto en negrita dentro del note */
.note strong {
    color: #00ffea;
    font-weight: 600;
}

/* Timeline: más ancho, tarjetas más grandes */
/* Timeline: más ancho, tarjetas más grandes */
.timeline {
    position: relative;
    max-width: 550px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Línea central con efecto neon azul */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #00d4ff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    /* Brillo neon */
    box-shadow:
        0 0 5px rgba(0, 212, 255, 0.7),
        0 0 10px rgba(0, 212, 255, 0.5),
        0 0 20px rgba(0, 212, 255, 0.3);
    z-index: 0;
}

.timeline-item {
    
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

/* Círculos del timeline */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: white;
    border: 3px solid #00d4ff;
    border-radius: 50%;
    top: 22px;
    z-index: 2;
    /* Brillo inicial (neon azul) */
    box-shadow:
        0 0 5px rgba(0, 212, 255, 0.7),
        0 0 10px rgba(0, 212, 255, 0.5);
    /* Animación suave */
    transition: all 0.3s ease !important;
    /* Asegura que el hover funcione */
    pointer-events: auto;
}

/* Separar círculos de la línea */
.timeline-item:nth-child(odd)::before {
    right: -25px;
    /* separado a la derecha */
}

.timeline-item:nth-child(even)::before {
    left: -25px;
    /* separado a la izquierda */
}

/* Hover: cambia a rosa neon */
/* Círculos del timeline */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: white;
    border: 3px solid #00d4ff;
    border-radius: 50%;
    top: 22px;
    z-index: 2;
    box-shadow:
        0 0 5px rgba(0, 212, 255, 0.7),
        0 0 10px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
    pointer-events: none;
    /* Permite que el hover se active desde el contenedor */
}

/* Separar círculos de la línea */
.timeline-item:nth-child(odd)::before {
    right: -25px;
}

.timeline-item:nth-child(even)::before {
    left: -25px;
}

/* Hover: efecto neon rosa al pasar el mouse sobre el ITEM */
.timeline-item:hover::before {
    border-color: #ff6b6b;
    box-shadow:
        0 0 8px rgba(255, 107, 107, 0.8),
        0 0 15px rgba(255, 107, 107, 0.6);
    transform: scale(1.1);
    z-index: 3;
}

/* Contenido de cada paso */
.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

.timeline-content h3 {
    color: #222;
    margin-bottom: 8px;
    font-size: 1.15rem;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}



/* Footer */

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0f0f0f;
    color: white;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, #00d4ff, #0099cc, #00ff88, transparent);
}

.contact .section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-actions {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(15px);
    overflow: hidden;
    cursor: pointer;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    transition: width 0.4s ease;
}

.action-btn:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(255, 255, 255, 0.05);
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover::after {
    width: 80%;
}

.email-btn {
    border-left: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.email-btn:hover {
    border-left-color: #00d4ff;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.whatsapp-btn {
    border-left: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.whatsapp-btn:hover {
    border-left-color: #25d366;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.03) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(37, 211, 102, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
}

.btn-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.3s ease;
}

.btn-subtitle {
    font-size: 0.9rem;
    color: #c0c0c0;
    font-weight: 300;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.action-btn:hover .btn-title {
    color: #ffffff;
}

.action-btn:hover .btn-subtitle {
    color: #e0e0e0;
}

.btn-icon {
    font-size: 2rem;
    opacity: 0.6;
    transition: all 0.4s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.btn-icon img {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.action-btn:hover .btn-icon {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
}

.email-btn .btn-icon {
    color: #ffffff;
}

.whatsapp-btn .btn-icon {
    color: #ffffff;
}

.email-btn:hover .btn-icon {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.whatsapp-btn:hover .btn-icon {
    color: #25d366;
    text-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.action-description {
    text-align: center;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-title {
    font-size: 0.9rem;
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.feature-desc {
    font-size: 0.8rem;
    color: #888;
}

.social-links {
    margin-top: 2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    transform: translateX(5px);
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Ajuste en pantallas medianas y móviles */
@media (max-width: 768px) {
    .timeline {
        max-width: 400px;
    }

    .timeline-content {
        padding: 16px;
        font-size: 0.95rem;
    }

    .timeline-item {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row;
        justify-content: flex-start;
    }

    .timeline-content {
        max-width: 100%;
        width: 100%;
    }

    .timeline-item::before {
        left: 21px !important;
        top: 24px;
    }

    .container {
        padding: 15px;
    }
}/* FOOTER OPTIMIZADO - VERSION LIMPIA */
.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.contact > p {
    text-align: center;
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Información de contacto */
.contact-info h3 {
    color: #00d4ff;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.4;
}

.contact-info p span {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* Redes sociales */
.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: #ddd;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    transform: translateX(3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Sección de acciones */
.contact-actions {
    background: rgba(255, 255, 255, 0.04);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-actions h3 {
    color: #00d4ff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.action-description {
    text-align: center;
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 1.3rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.action-btn.email-btn:hover {
    border-left-color: #00d4ff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
}

.action-btn.whatsapp-btn:hover {
    border-left-color: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.15);
}

.btn-content {
    flex: 1;
    text-align: left;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.btn-subtitle {
    font-size: 0.85rem;
    color: #bbb;
    line-height: 1.4;
}

.btn-icon {
    margin-left: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-icon svg {
    width: 28px;
    height: 28px;
}

.action-btn:hover .btn-icon {
    transform: scale(1.1);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .contact {
        padding: 3rem 0 1.5rem;
    }
    
    .contact .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact > p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .contact-actions {
        padding: 1.5rem;
    }
    
    .contact-actions h3 {
        font-size: 1.2rem;
    }
    
    .action-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .action-btn {
        padding: 1rem 1.2rem;
    }
    
    .btn-title {
        font-size: 1rem;
    }
    
    .btn-subtitle {
        font-size: 0.8rem;
    }
    
    .btn-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 2.5rem 0 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .contact > p {
        font-size: 0.95rem;
    }
    
    .contact-info p {
        font-size: 0.85rem;
    }
    
    .action-btn {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1.2rem 1rem;
    }
    
    .btn-content {
        text-align: center;
    }
    
    .btn-icon {
        margin-left: 0;
    }
}
