@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&display=swap');

  
        /* ======================== */
        /* ESTILOS GENERALES */
        /* ======================== */
        body {
            margin: 0;
            font-family: 'Montserrat', sans-serif;
            background: #14457A; 
            color: #ffffff;
            overflow-x: hidden; 
            min-width: 320px; 
        }

        a { text-decoration: none; color: inherit; }

        /* --- HEADER --- */
        header {
            text-align: center;
            padding: 40px 10px 0 10px;
            background: #14457A;
        }

        .header-content {
            display: inline-block; 
            max-width: 90%; 
            margin: auto;
            text-align: center;
        }

.titulo-principal {
    font-size: 210px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.titulo-principal:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px #ffffff);
}




        .banda-degrade {
            width: 100%; 
            height: 12px; 
            margin: 15px auto;
            background: linear-gradient(to right, #C0C0C0, #888888, #ffffff);
            border-radius: 3px;
        }

        .subtitulo-principal {
            font-size: 28px; 
            font-weight: 600;
            color: #ffffff;
            margin: 0 0 60px 0;
            letter-spacing: 2px; 
            text-transform: uppercase;
        }

        /* --- HERO --- */
        .hero {
            padding: 0 20px 60px 20px;
            text-align: center;
            color: #ffffff;
            max-width: 800px;
            margin: auto;
        }

        .hero h2 {
            font-size: 26px; 
            font-weight: 700;
            text-align: center;
            margin: 0 0 15px 0;
        }
        
        .hero p {
            font-size: 16px; 
            font-weight: 300;
            text-align: center;
            margin-bottom: 30px;
        }

        /* --- ACERCA DE NOSOTROS --- */
        #acerca-de {
            background: #EFEFEF;
            color: #0A2A66;
            padding: 60px 20px;
            text-align: center;
        }
        #acerca-de h2 {
            font-size: 40px;
            font-weight: 900;
            margin-bottom: 20px;
        }
        #acerca-de p {
            max-width: 700px;
            margin: 0 auto;
            font-size: 17px;
            line-height: 1.6;
        }
        
        /* --- BOTÓN LLAMADA A LA ACCIÓN --- */
        #llamada-cotizar {
            background: #14457A;
            padding: 40px 20px;
            text-align: center;
            color: #ffffff;
        }
        #llamada-cotizar h3 {
            font-size: 24px;
            margin-bottom: 20px;
        }

        .btn {
            padding: 16px 35px;
            background: #EFEFEF;
            color: #0A2A66;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 700;
            display: inline-block;
            border: none;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .btn:hover {
            background: #ffffff;
        }

        /* --- SERVICIOS --- */
        .servicios {
            padding: 60px 40px;
            color: #ffffff;
            background: #0A2A66; 
        }

        .servicios h2 {
            font-size: 40px;
            font-weight: 900;
            text-align: center;
            margin-bottom: 50px;
        }

        .grid-servicios {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
.servicio-card {
    border-radius: 8px;
    overflow: visible; /* <-- permite que el tooltip salga del card sin recortarse */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    transition: transform 0.3s ease;
}


        .servicio-card:hover {
            transform: translateY(-5px);
        }

        .imagen-box {
            width: 100%;
            aspect-ratio: 4 / 3;
            overflow: hidden;
        }

        .imagen-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .descripcion-box {
            padding: 20px;
            background: #EFEFEF; 
            color: #0A2A66;
            flex-grow: 1;
            text-align: left;
        }
        
        .descripcion-box h3 {
             font-size: 22px;
             font-weight: 700;
             margin-top: 0;
             margin-bottom: 15px;
        }

        .lista-servicios {
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 16px;
            line-height: 1.6;
        }
        
        .lista-servicios li {
            margin-bottom: 5px;
            font-weight: 400;
            border-bottom: 1px dotted #CCCCCC;
            padding-bottom: 5px;
        }
        
        .lista-servicios li:last-child {
            border-bottom: none;
        }

        /* --- FORMULARIO COTIZAR --- */
        .cotizar {
            padding: 60px 20px;
            background: #EFEFEF;
            text-align: center;
            color: #0A2A66;
        }

        form {
            max-width: 450px;
            margin: auto;
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        input, select, textarea {
            padding: 12px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
            color: #333;
        }

        .form-button {
            background: #0A2A66;
            color: #EFEFEF;
            border: none;
            cursor: pointer;
            border-radius: 5px;
            padding: 14px;
            font-weight: 700;
        }
        
        /* --- FOOTER --- */
        footer {
            background:#0A2A66;
            padding: 30px 20px 20px 20px; 
            color: #ffffff;
            font-size: 14px; 
            text-align: left; 
        }
        
        footer a {
            color: #EFEFEF;
            text-decoration: none;
            transition: color 0.3s;
        }

        footer a:hover {
            color: #14457A; 
        }
        
        .footer-content-grid {
            max-width: 1200px;
            margin: 0 auto 30px auto; 
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
            gap: 40px; 
            align-items: start; 
            padding-bottom: 20px;
            border-bottom: 1px solid #555555;
        }
        
        .footer-content-grid h4 {
            font-size: 16px; 
            font-weight: 700;
            margin-bottom: 15px;
            color: #EFEFEF;
        }

        .footer-contact p {
            font-size: 14px;
            margin: 8px 0;
            line-height: 1.4;
        }
        
        .footer-contact .whatsapp-link {
            font-size: 16px; 
            font-weight: 700;
            margin-bottom: 10px;
            display: block;
        }

        .mapa-box iframe {
            width: 100%;
            height: 140px; 
            border: 0; 
            border-radius: 8px; 
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        .social-ssn-box {
            text-align: center; 
        }

        .social-links {
            list-style: none;
            padding: 0;
            margin: 0 0 30px 0; 
            display: flex;
            justify-content: center; 
            gap: 25px; 
        }

        .social-links a {
            font-size: 28px; 
            color: #EFEFEF; 
        }
        
        .ssn-logo-box {
            text-align: center; 
        }

        .ssn-logo-box img {
            max-width: 130px; 
            height: auto;
            margin: 0;
        }
        
        .ssn-legal {
            width: 100%;
            text-align: center;
            margin-top: 20px;
            padding-top: 10px;
            color: #BBBBBB; 
            font-size: 12px; 
        }
        
        .ssn-legal p {
            margin: 4px 0;
        }
        
        /* --- WHATSAPP FLOAT --- */
        .wa-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #25d366; 
            color: white;
            width: 60px; 
            height: 60px; 
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(0,0,0,0.5); 
            z-index: 1000;
            font-size: 30px; 
            transition: transform 0.3s ease; 
        }
        
        .wa-btn:hover {
            transform: scale(1.1); 
        }
        /* ======================== */
/* TOOLTIP SIMPLE SIN JS    */
/* ======================== */
.lista-servicios li {
    position: relative;
    cursor: pointer;
    padding-right: 25px; /* espacio para el ícono */
    transition: background 0.3s ease, color 0.3s ease;
}

/* Ícono de información */


/* Hover visual */
.lista-servicios li:hover {
    background: rgba(255,255,255,0.25);
    border-radius: 6px;
    color: #634bad;
    font-weight: bold;
    
}

/* Ícono cambia de color al pasar */
.lista-servicios li:hover::after {
    background: #0A2A66;
    color: #ffffff;
}

/* TOOLTIP */
.lista-servicios li .tooltip {
    display: none;
    position: absolute;
    left:50%;
    top: -5px;
    width: 260px;
    background: #ffffff;
    color: #0A2A66;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.25);
    z-index: 9999;
    font-size: 14px;
    line-height: 1.4;
}

/* Mostrar tooltip */
.lista-servicios li:hover .tooltip {
    display: block;
}

/* DESACTIVAR TOOLTIP EN MÓVIL */
/* ======================== */
@media (max-width: 768px) {
    .lista-servicios li .tooltip {
        display: none !important; /* No mostrar tooltips */
    }

    .lista-servicios li:hover {
        background: none;
        font-weight: 400;
        color: inherit;
    }
}

        /* --- MEDIA QUERY MÓVIL --- */
        @media (max-width: 768px) {
            .titulo-principal { font-size: 80px; font-weight: 700; }
            .subtitulo-principal { font-size: 14px; letter-spacing: 1px; margin-bottom: 25px; }
            .hero { padding: 0 20px 30px 20px; } 
            .hero h2 { font-size: 20px; margin-bottom: 10px; }
            .hero p { font-size: 14px; margin-bottom: 20px; }
            #acerca-de { padding: 40px 20px; }
            #acerca-de h2 { font-size: 30px; }
            #acerca-de p { font-size: 15px; }
            .servicios { padding: 40px 20px; } 
            .servicios h2 { font-size: 30px; margin-bottom: 30px; }
            .servicio-card .imagen-box { display: none; }
            .grid-servicios { grid-template-columns: 1fr; gap: 15px; }
            .descripcion-box { padding: 15px; }
            .descripcion-box h3 { font-size: 18px; margin-bottom: 10px; }
            .lista-servicios li { font-size: 14px; padding-bottom: 3px; }
            #llamada-cotizar { padding: 30px 20px; }
            #llamada-cotizar h3 { font-size: 20px; }
            .cotizar { padding: 40px 10px; }
            form { max-width: 95%; padding: 20px; }
            footer { background: #0A2A66; padding: 20px 15px 10px 15px; }
            .footer-content-grid { grid-template-columns: 1fr; gap: 20px; margin: 0 auto 10px auto; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
            .footer-content-grid h4 { font-size: 15px; margin-bottom: 8px; }
            .footer-contact, .mapa-section, .social-ssn-box { text-align: center; }
            .mapa-box iframe { height: 80px; }
            .footer-contact p, .ssn-legal p { font-size: 13px; margin: 3px 0; }
            .ssn-legal { background: #0A2A66; padding: 5px 10px; font-size: 11px; margin-top: 5px; }
            .wa-btn { width: 50px; height: 50px; font-size: 24px; bottom: 15px; right: 15px; }
        }
/* Se aplica en pantallas con un ancho máximo de 768px (típico para móviles) */
@media (max-width: 768px) {
    /* 1. Ajustar la posición del botón flotante */
    .wa-btn {
        /* Mueve el botón más arriba, lejos del borde inferior.
           Ajusta este valor según la altura de tu footer en móvil. */
        bottom: 120px; 
    }
    
    /* 2. Asegurar que el footer sea más alto que la distancia 'bottom' del botón
          para que no quede oculto o superpuesto de forma inesperada. */
    #contacto {
        /* Añade un padding inferior para asegurar que haya espacio entre el
           contenido del footer y el botón 'wa-btn' flotante. */
        padding-bottom: 150px; 
    }
}