@charset "utf-8";
/* CSS Document */


/* =========================================================
   VARIABLES PRINCIPALES
   ========================================================= */
:root {
    --color-fondo: #0A1A2F;
    --color-secundario: #132B4A;
    --color-claro: #F5F5F5;
    --color-acento: #FFD700;
    --color-texto: #FFFFFF;
    --color-texto-osc: #0A1A2F;
}

/* =========================================================
   RESETEO BÁSICO
   ========================================================= */
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-texto);
}

/* =========================================================
   ANIMACIONES
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   HEADER & FOOTER
   ========================================================= */
header,
footer {
    background: var(--color-fondo);
    color: var(--color-texto);
    text-align: center;
    padding: 2rem 1rem;
}

header h1 {
    margin: 0 0 .35rem;
    color: var(--color-acento);
    font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem);
    letter-spacing: .5px;
}

header p { margin: .25rem 0 0; opacity: .9; }

footer {
    border-top: 3px solid var(--color-acento);
}

footer p {
    margin: .6rem 0 0;
    font-size: .95rem;
    opacity: .9;
}

/* =========================================================
   BOTÓN CTA
   ========================================================= */
.btn-cta {
    background: var(--color-acento);
    border-radius: 999px;
    color: var(--color-fondo);
    display: inline-block;
    font-weight: 700;
    margin-top: 1rem;
    padding: .65rem 1.25rem;
    text-decoration: none;
    transition: transform .15s ease, filter .2s ease;
}

.btn-cta:hover { transform: translateY(-1px); filter: brightness(0.95); }
.btn-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* =========================================================
   CONTENEDORES
   ========================================================= */
.container {
    max-width: 1000px;
    padding: 2rem 1rem;
    margin: auto;
}

@media (min-width:1100px) {
    .container { max-width: 1100px; }
}

/* =========================================================
   FONDOS ALTERNADOS
   ========================================================= */
.bg-oscuro { background: var(--color-fondo); color: var(--color-texto); }
.bg-secundario { background: var(--color-secundario); color: var(--color-texto); }
.bg-claro { background: var(--color-claro); color: var(--color-texto-osc); }

/* =========================================================
   TITULOS
   ========================================================= */
h2 {
    text-align: center;
    margin: 0 0 .75rem;
    color: var(--color-acento);
    font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem);
}

h3 {
    text-align: center;
    margin: 0 0 .75rem;
    color: var(--color-secundario);
    font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem);
}

.separador {
    text-align: center;
    color: var(--color-acento);
    margin: .25rem 0 1.5rem;
    letter-spacing: 2px;
}

/* =========================================================
   REDES SOCIALES
   ========================================================= */
.redes,
.redes1 {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.redes a {
    color: var(--color-acento);
    font-size: 1.8rem;
    text-decoration: none;
    transition: transform .2s, color .2s;
}

.redes a:hover { transform: scale(1.1); color: #F3F3F3; }
.redes a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Redes 1 */
.redes1 a {
    color: var(--color-claro);
    font-size: 1.8rem;
    text-decoration: none;
    transition: transform .2s, color .2s;
}

.redes1 a:hover { transform: scale(1.1); color: #e6c200; }
.redes1 a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* =========================================================
   SERVICIOS (CARDS)
   ========================================================= */
.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--color-acento);
    border-radius: 12px;
    padding: 1.2rem 1rem;
    text-align: center;
}

.card h3 {
    margin: .2rem 0 .4rem;
    color: var(--color-acento);
    font-size: 1.1rem;
}

.card p { margin: 0; opacity: .95; }

/* =========================================================
   LISTAS
   ========================================================= */
.lista {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 700px;
}

.lista li {
    padding: .65rem 0;
    border-bottom: 1px solid rgba(10,26,47,0.12);
    text-align: center;
    font-weight: 500;
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contacto { text-align: center; }
.contacto p { margin: .25rem 0; }

/* =========================================================
   LINK ESPECIAL (UBICACIÓN)
   ========================================================= */
.link-texto {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-texto:hover { color: var(--color-acento); }

/* =========================================================
   POPUP – PRIVACIDAD
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

.popup-privacidad {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.75);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-content {
    background: white;
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
    padding: 30px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    animation: fadeIn 0.35s ease-in-out;
    position: relative;
}

.popup-content h2 {
    color: #111;
    border-left: 4px solid #d4af37;
    padding-left: 10px;
    margin-bottom: 15px;
}

.popup-content h3 {
    color: #111;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.popup-content p,
.popup-content li {
    color: #333;
    font-size: 15px;
}

.popup-content a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #111;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* =========================================================
   POPUP – AVISO LEGAL
   ========================================================= */
#popup-aviso-legal.popup-overlay {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 9999;
}

#popup-aviso-legal .popup-content {
    background: #ffffff;
    color: #222;
    width: 90%;
    max-width: 650px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

#popup-aviso-legal .popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

#popup-aviso-legal h2 {
    margin-top: 0;
    font-size: 26px;
    color: #000;
    font-weight: bold;
}

#popup-aviso-legal h3 {
    margin-top: 22px;
    font-weight: 600;
}

#popup-aviso-legal.show {
    visibility: visible;
    opacity: 1;
}

/* =========================================================
   POPUP – POLÍTICAS DE SERVICIO
   ========================================================= */
.popup-servicio {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.75);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-content-servicio {
    background: white;
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
    padding: 30px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    animation: fadeInServicio 0.35s ease-in-out;
    position: relative;
}

.popup-content-servicio h2 {
    color: #111;
    border-left: 4px solid #d4af37;
    padding-left: 10px;
    margin-bottom: 15px;
}

.popup-content-servicio h3 {
    color: #111;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.popup-content-servicio p,
.popup-content-servicio li {
    color: #333;
    font-size: 15px;
}

.popup-content-servicio a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.popup-close-servicio {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #111;
}

@keyframes fadeInServicio {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* =========================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white !important; /* Fuerza el color blanco */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px; /* Tamaño del icono */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: transform 0.3s;
    
    /* 🛑 ESTA LÍNEA ES LA MÁS IMPORTANTE */
    text-decoration: none !important; 
}

/* Esto asegura que no aparezca nada al pasar el mouse */
.whatsapp-float:hover {
    text-decoration: none !important;
    transform: scale(1.1);
    color: white !important;
}

/* Por si el icono i tiene algún margen extraño */
.whatsapp-float i {
    margin: 0;
    padding: 0;
}
