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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 50%, #fff5fb 100%);
    color: #1a1a1a;
    overflow-x: hidden;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    background: radial-gradient(circle at 20% 30%, rgba(0, 81, 135, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(223, 47, 167, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(0, 81, 135, 0.08) 0%, transparent 60%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.25; }
}

/* --- ESTILOS DE NAVEGACIÓN APLICADOS --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1002;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(0, 81, 135, 0.2), rgba(223, 47, 167, 0.2), transparent) 1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.brand {
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.6px;
    font-size: 24px;
    background: linear-gradient(135deg, #005187, #df2fa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.site-nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.site-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #005187, #df2fa7);
    transition: width 0.3s ease-in-out;
    border-radius: 2px;
}

.site-nav a:hover {
    color: #005187;
}

.site-nav a:hover::before {
    width: 100%;
}

/* --- NUEVAS REGLAS PARA MENÚ HAMBURGUESA (ESCRITORIO: OCULTO) --- */
.menu-toggle {
    display: none; /* Oculto por defecto en escritorio */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1003;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #005187; /* Color principal para el ícono */
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #005187;
    border-radius: 3px;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Estado de cruz (X) para el menú activo */
.menu-toggle.is-active .hamburger {
    background: transparent;
}

.menu-toggle.is-active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background: #df2fa7; /* Color de acento al cerrar */
}

.menu-toggle.is-active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
    background: #df2fa7;
}
/* --- FIN REGLAS HAMBURGUESA --- */

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 60px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #005187 0%, #df2fa7 50%, #005187 100%);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(135deg, #005187 0%, #df2fa7 100%);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(223, 47, 167, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(223, 47, 167, 0.5);
}

.btn-service {
    background: linear-gradient(135deg, rgba(0, 81, 135, 0.08), rgba(223, 47, 167, 0.08));
    color: #005187;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    background-clip: padding-box;
    cursor: pointer;
    display: inline-block;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    position: relative;
}

.btn-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #005187, #df2fa7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
}

.btn-service:hover {
    background: linear-gradient(135deg, #005187, #df2fa7);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 47, 167, 0.3);
}

.btn-service:hover::before {
    opacity: 0;
}

.service-card a:hover {
    font-size: 102%;
}

.why-section {
    padding: 60px 0;
    background: rgba(0, 81, 135, 0.02);
}

.why-section h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #005187 0%, #df2fa7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    height: 230px;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.why-card {
    min-width: 180px;
    width: 250px;
    max-width: 300px;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid transparent;
    background-clip: padding-box;
    flex-shrink: 0;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 81, 135, 0.1);
    position: relative;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(135deg, #005187, #df2fa7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.4s;
}

.why-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(223, 47, 167, 0.25);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    font-size: 32px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #005187, #df2fa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-card h3 {
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.3;
    font-weight: 700;
}

.why-card p {
    color: #4a5568;
    line-height: 1.4;
    font-size: 15px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #005187, #df2fa7);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(223, 47, 167, 0.3);
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(223, 47, 167, 0.5);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #005187 0%, #df2fa7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    text-align: center;
    color: #4a5568;
    font-size: 18px;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 81, 135, 0.1);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #005187, #df2fa7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(223, 47, 167, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #df2fa7;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(223, 47, 167, 0.4);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    box-shadow: 0 8px 25px rgba(223, 47, 167, 0.6);
    transform: translateY(-3px);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.service-price {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #005187, #df2fa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.service-card ul {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card li {
    color: #2d3748;
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    font-size: 13px;
}

.service-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    background: linear-gradient(135deg, #005187, #df2fa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #005187 0%, #df2fa7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 35px;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 1001;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

footer {
    background: #f7f9fc;
    border-top: 2px solid rgba(0, 81, 135, 0.15);
    padding: 50px 0 30px;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 24px;
}

.footer-social a {
    color: #4d82bc;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #005187;
}

footer p {
    color: #2f353f;
    margin-bottom: 10px;
}

footer a {
    color: #4d82bc;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #005187;
}

.price-note {
    text-align: center;
    color: #4d82bc;
    font-size: 14px;
    margin-top: 20px;
    font-style: italic;
    font-weight: 600;
}

/* --- REGLAS DE RESPONSIVIDAD --- */

@media (max-width: 768px) {
    .hero {
        padding: 40px 15px 40px;
        min-height: 75vh;
    }

    .why-card {
        min-width: 160px;
        padding: 25px;
    }

    .why-card h3 {
        font-size: 18px;
    }

    .why-card p {
        font-size: 15px;
    }

    .slider-container {
        padding: 0 20px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-price {
        font-size: 20px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 600px) {
    /* 1. Ocultar la navegación normal y mostrar el botón de hamburguesa */
    .site-nav {
        flex-direction: column;
        position: fixed;
        top: 50px; /* Debajo del header */
        right: 0;
        width: 100%;
        max-width: 280px; /* Ancho máximo del menú */
        height: 100vh;
        padding: 20px;
        /* Estilo de panel de menú */
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
        backdrop-filter: blur(10px);
        box-shadow: -6px 0 20px rgba(0, 0, 0, 0.2);
        transform: translateX(100%); /* Oculto (fuera de la pantalla) */
        transition: transform 0.3s ease-in-out;
        gap: 0; 
        z-index: 1001;
        display: none; /* Oculto inicialmente */
    }

    .site-nav.is-open {
        /* Clase añadida por JS para mostrar el menú */
        display: flex;
        transform: translateX(0); /* Deslizar hacia adentro */
    }

    .menu-toggle {
        display: block; /* Mostrar el botón de hamburguesa */
    }

    /* 2. Ajustes de ítems del menú para la vista de columna */
    .header-inner { 
        padding: 10px 14px; 
    }

    .site-nav a {
        padding: 15px 10px;
        font-size: 16px;
        color: #1a1a1a;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 81, 135, 0.1);
        border-radius: 0;
        margin: 0;
    }

    .site-nav a:hover {
        background: rgba(223, 47, 167, 0.1); /* Hover para mobile */
        color: #df2fa7;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .why-card {
        min-width: 140px;
        width: 160px;
        min-height: 140px;
        padding: 20px;
    }

    .slider-container {
        padding: 0 10px;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    .why-icon {
        font-size: 24px;
    }

    .why-card h3 {
        font-size: 15px;
    }

    .why-card p {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .why-card {
        min-width: 130px;
        width: 160px;
        min-height: 130px;
        padding: 10px;
    }
    
    .why-card h3 {
        font-size: 15px;
    }

    .why-card p {
        font-size: 13px;
    }
}


