/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
   background-color: #0D0D0D;
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif; 
    background-size: 60px 60px;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    }

header {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.header-left { flex: 1; display: flex; justify-content: flex-start; }
.header-center { flex: 2; display: flex; justify-content: center; }
.header-right { flex: 1; display: flex; justify-content: flex-end; }

.logo {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    gap: 15px; 
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 20px;
    white-space: nowrap;
}

.header-center ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.header-center ul li a {
    text-decoration: none;
    color: #fcf6ba;
    font-weight: 500;
    transition: 0.3s;
}

.mobile-only { display: none; }

@media (max-width: 1024px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1100;
    }

    .menu-toggle span {
        width: 30px;
        height: 2px;
        background: #fcf6ba;
        transition: 0.4s;
    }

    .header-center {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px;
        transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .header-center.active { right: 0; }

    .header-center ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .header-center ul li a {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        display: none;
        z-index: 1040;
    }
    .nav-overlay.active { display: block; }

    .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}
.consulta-btn {
    background: #9B30FF;
    color: #fff; 
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap; 
    transition: 0.3s;
}

.consulta-btn:hover {
    background: #ffed4e;
    color: #000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #512D6D
}

.consulta-btn {
    background: #512D6D;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.consulta-btn:hover {
    background: #6d3e91;
}

.hero {
    padding: 120px 20px 60px;
    background: linear-gradient(rgba(30, 30, 30, 0.8), rgba(0,0,0,0.8));
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    flex-direction: row; 
}

.hero-video-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-video-column video {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}


.hero-text-column {
    flex: 1;
    text-align: left; 
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 20px;
    animation: fadeInDown 1.5s ease-out forwards, metallic-shine 6s linear infinite;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.2));
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.2rem;
    color: #fcf6ba;
    margin-bottom: 20px;
    font-weight: 500;
}

/* --- AJUSTE PARA CELULARES --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column; /* Video arriba, texto abajo */
        text-align: center;
    }

    .hero-text-column {
        text-align: center;
    }

    .hero-video-column video {
        max-width: 100%; /* El video ocupa todo el ancho en móvil */
    }
}
@keyframes metallic-shine {
    0%   { background-position: 0% 50%; }
    100% { background-position: -300% 50%; }
}

.hero p {
    font-size: clamp(16px, 4vw, 20px);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    animation: fadeInUp 1.5s ease-out 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.search-bar {
    display: flex;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out 1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.search-bar input {
    flex: 1;
    padding: 15px;
    border-radius: 30px 0 0 30px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 16px;
    min-width: 0;
}

.search-bar input::placeholder {
    color: #aaa;
}

.search-bar button {
    padding: 15px 30px;
    border-radius: 0 30px 30px 0;
    border: none;
    background: #512D6D;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #6d3e91;
}



.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 30px; /* Reducido un poco para pantallas pequeñas */
    margin: 40px 20px; /* Margen flexible */
}

.stat-item {
    text-align: center;
    border-radius: 25px;
    background: rgba(60, 20, 100, 0.3);
    padding: 30px;
    border: 2px solid rgba(60, 20, 100, 0.3);
    
    /* CONTROL DE TAMAÑO UNIFORME */
    flex: 1 1 250px; /* Crece, encoge y tiene un base de 250px */
    max-width: 300px; /* Evita que se estiren demasiado en tablets */
    
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.stat-item:hover {
    transform: translateY(-10px); 
    background: rgba(60, 20, 100, 0.3); 
    box-shadow: 
        0 10px 25px rgba(81, 45, 109, 1), 
        0 0 15px rgba(155, 48, 255, 0.2); 
    border-color: rgba(81, 45, 109, 1); 
    cursor: pointer;
}

.stat-item:hover .stat-number {
    color: #fff;
    text-shadow: 0 0 10px rgba(81, 45, 109, 1);
    transition: all 0.4s ease;
}

.stat-number {
    font-size: clamp(35px, 5vw, 50px);
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text; 
    background-clip: text;       
    font-weight: bold;
    color: transparent;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.2));
}

.stat-label {
    font-size: clamp(18px, 3vw, 25px); 
    margin-top: 15px;
}

/* AJUSTES PARA CELULARES PEQUEÑOS */
@media (max-width: 480px) {
    .stats {
        margin: 20px 10px;
        gap: 20px;
    }
    .stat-item {
        flex: 1 1 100%; /* Una tarjeta por fila en móviles */
        padding: 20px;
    }
}

.about {
    text-align: center;
    padding: 100px 50px;
    
}

.about h2 {
    font-size: 40px;
    margin-bottom:30px;
    animation: fadeInDown 1.5s ease-out;
    display: inline-block; 
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text; 
    background-clip: text;       
    
    color: transparent;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.2));
  

}

.about p {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.6;
}

/* From Uiverse.io by qhns3 */ 
/* Contenedor principal para las 4 cartas */
.cards-container {
  display: grid;
  /* CAMBIO: auto-fit en lugar de auto-fill para que las columnas se expandan y centren mejor */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px; 
  padding: 20px;
  /* CAMBIO: Asegura que el contenido del grid esté centrado */
  justify-content: center; 
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.card-2 {
  position: relative;
  width: 100%;
  /* CAMBIO: margin: 0 auto asegura que la tarjeta se centre en su celda del grid */
  margin: 0 auto; 
  max-width: 340px; 
  min-height: 380px;
  background-color: rgba(26, 26, 26, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
}

/* El pseudo-elemento del borde */
.card-2::before {
  content: "";
  position: absolute;
  inset: -5px; 
  border-radius: 16px;
  background: linear-gradient(-45deg, #512D6D 0%, #334155 100%);
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-2::after {
  content: "";
  z-index: -11;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #6d3e91 0%, #334155 100%);
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(25px);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

/* Estilos de texto */
.icon {
  font-size: clamp(40px, 10vw, 50px);
  margin-bottom: 20px;
}

.heading {
  font-size: clamp(30px, 5vw, 24px);
  margin-bottom: 15px;
  background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.2));
    line-height: 1.2;
}

.card-2 p {
  font-size: 18px;
  line-height: 1.5;
  color: #ccc;
  
}


.card-2:hover::before, 
.card-2:active::before {
  transform: rotate(-3deg) scale(1.03);
}

.card-2:hover::after, 
.card-2:active::after {
  filter: blur(40px);
  opacity: 0.8;
}

@media (max-width: 600px) {
  .cards-container {
    padding: 20px 15px;
  }
  
  .card-2 {
 
    max-width: 250px; 
    
 
    min-height: 220px; 

    padding: 25px 20px; 
    margin: 0 auto; 
  }
  .icon {
    font-size: 35px;
    margin-bottom: 12px;
  }

  .heading {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .card-2 p {
    font-size: 15px;
    line-height: 1.4;
  }
}

/* 1. asesoria  */

.cta {
    position: relative; /* Necesario para el efecto */
    text-align: center;
    padding: 100px 50px;
    background: #1a1a1a; /* Color sólido para que no interfiera el brillo */
    margin: 50px 0;
    border-radius: 20px;
    overflow: hidden; /* Corta el brillo que sale de las esquinas */
    z-index: 1;
}

/* El "Gusano" de luz */
.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Degradado morado con transparencia para crear el efecto de "segmento" o gusano */
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #512D6D, 
        #8a4fc2, 
        #512D6D
    );
    animation: girarGusano 4s linear infinite;
    z-index: -2;
}

/* El fondo interno para tapar el centro del brillo y que solo se vea el borde */
.cta::after {
    content: '';
    position: absolute;
    inset: 4px; /* Este número define el grosor del borde LED (4px) */
    background: #1a1a1a;
    border-radius: 16px;
    z-index: -1;
}

/* Animación del giro */
@keyframes girarGusano {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Ajustes de texto para que resalten --- */
.cta h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: white;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ccc;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.btn-primary {
    background: #512D6D;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #6d3e91;
}

.btn-secondary {
    background: transparent;
    color: #512D6D;
    border: 2px solid #512D6D;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background: #512D6D;
    color: #000;
}

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

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

/* Responsivo */
@media (max-width: 768px) {
    /* Ajuste del contenedor CTA en móvil */
    .cta {
        padding: 60px 20px; /* Reducimos padding lateral y vertical */
        margin: 30px 10px;
    }

    /* Tamaño de texto centrado y más pequeño */
    .cta h2 {
        font-size: 28px;    /* Tamaño más equilibrado para móvil */
        line-height: 1.2;
        margin-bottom: 15px;
        text-align: center; /* Asegura el centrado */
    }

    .cta p {
        font-size: 16px;    /* Texto de cuerpo más legible */
        margin-bottom: 30px;
        text-align: center; /* Asegura el centrado */
        padding: 0 10px;    /* Evita que el texto toque los bordes */
    }

    /* Botones en columna y centrados */
    .cta-buttons {
        flex-direction: column; 
        align-items: center;
        gap: 15px;          /* Menos espacio entre botones */
    }

    .btn-primary, .btn-secondary {
        width: 100%;        /* Los botones ocupan el ancho disponible */
        max-width: 300px;   /* Pero no crecen demasiado */
        padding: 12px 20px;
        font-size: 16px;
        text-align: center;
    }

    /* Otros ajustes que tenías */
    .hero h1 { font-size: 32px; }
    .stats { flex-direction: column; align-items: center; }
    .values { grid-template-columns: 1fr; }
}



footer {
    background-color: #333; /* Color de fondo oscuro */
    color: white;           /* Texto en blanco */
    padding: 15px 0;        /* Espacio interno */
    text-align: left;     /* Centrar contenido */
    font-family: Arial, sans-serif;
}

.socials {
    list-style: none;       /* Quita los puntos de la lista */
    padding: 0;
    display: flex;          /* Pone los links en línea */
    justify-content: center;
    gap: 15px;              /* Espacio entre links */
}

.socials a {
    color: #ff9900;         /* Color de los links */
    text-decoration: none;  /* Quita el subrayado */
}
/* fondo */
.star-field {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
        }

.stars {
width: 3px;
height: 3px;
background: #b38728; 
position: absolute;
box-shadow: 
15vw 20vh #b38728, 85vw 10vh #b38728, 40vw 60vh #b38728, 60vw 35vh #b38728, 20vw 80vh #b38728,
70vw 90vh #b38728, 10vw 45vh #b38728, 90vw 70vh #b38728, 30vw 15vh #b38728, 50vw 50vh #b38728,
5vw 95vh #b38728, 95vw 5vh #b38728, 25vw 30vh #b38728, 75vw 65vh #b38728, 45vw 85vh #b38728,
12vw 55vh #b38728, 88vw 25vh #b38728, 33vw 75vh #b38728, 66vw 15vh #b38728, 55vw 92vh #b38728,
18vw 40vh #b38728, 82vw 82vh #b38728, 38vw 10vh #b38728, 62vw 55vh #b38728, 28vw 68vh #b38728,
72vw 42vh #b38728, 8vw 12vh #b38728, 92vw 92vh #b38728, 48vw 28vh #b38728, 52vw 78vh #b38728,
2vw 50vh #b38728, 98vw 40vh #b38728, 35vw 95vh #b38728, 65vw 5vh #b38728, 50vw 5vh #b38728;
         
animation: moveUp 12s linear infinite;         
filter: drop-shadow(0 0 2px #b38728);
        }

.stars::after {
content: "";
position: absolute;
top: 100vh;
left: 0;
width: 3px;
height: 3px;
background: #b38728;
box-shadow: inherit;
        }

@keyframes moveUp {
    0% {
        transform: translateY(0);
        }
        100% {
            transform: translateY(-100vh);
            }
        }


/* Cash */
/* --- Contenedor General --- */
/* --- 1. Definición de las Animaciones --- */
@keyframes entradaSuave {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes brilloRevelado {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* --- Contenedor General --- */
.seccion-premium {
    padding: 40px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0D0D0D;
    min-height: 400px;
}

/* --- Tarjeta con Animación de Inicio --- */
.tarjeta-expandible {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: clamp(20px, 5vw, 40px);
    gap: 30px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    
   opacity: 0;
    transform: translateY(30px);
    
    /* Mantenemos tus transiciones de hover */
    transition: transform 1s ease, box-shadow 1s ease, border-color 1z ease, opacity 1.5s ease;
}

/* ESTA CLASE SE ACTIVARÁ CON JAVASCRIPT */
.tarjeta-expandible.animar {
    animation: entradaSuave 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Activamos los hijos también cuando la madre tenga la clase .animar */
.tarjeta-expandible.animar .contenedor-logo, 
.tarjeta-expandible.animar .contenedor-info {
    opacity: 0;
    animation: entradaSuave 0.8s ease-out 0.4s forwards;
}


.tarjeta-expandible:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
}

/* --- Contenido Interno con retraso (Delay) --- */
.contenedor-logo, .contenedor-info {
    opacity: 0; /* Empiezan invisibles */
    animation: entradaSuave 0.8s ease-out 0.4s forwards; /* Empieza 0.4s después */
}

/* --- Texto Oro con efecto de brillo infinito --- */
.titulo-brillante .texto-oro {
    display: block;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(1.5rem, 4vw, 2rem); 
    font-weight: 800;
    margin-bottom: 8px;
    
    /* Animación constante de brillo */
    animation: brilloRevelado 3s linear infinite;
}

/* --- Lado Izquierdo: Imagen --- */
.contenedor-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 200px;
}

.logo-faded {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    padding: 10px;
    border-radius: 40px; 
    mask-image: radial-gradient(ellipse 90% 80% at center, black 40%, rgba(0, 0, 0, 0.5) 75%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at center, black 40%, rgba(0, 0, 0, 0.5) 75%, transparent 100%);
}

/* Efecto al pasar el mouse - El logo se "revela" más */
.tarjeta-expandible:hover .logo-faded {
    transform: scale(1.08);
    filter: brightness(1.1);
    mask-image: radial-gradient(
        ellipse 100% 90% at center, 
        black 60%, 
        rgba(0, 0, 0, 0.7) 85%, 
        transparent 100%
    );
    -webkit-mask-image: radial-gradient(
        ellipse 100% 90% at center, 
        black 60%, 
        rgba(0, 0, 0, 0.7) 85%, 
        transparent 100%
    );
}

/* --- Lado Derecho: Texto --- */
.contenedor-info {
    flex: 1.5;
    color: #f0f0f0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.titulo-brillante .texto-oro {
    display: block;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.2));
    line-height: 1.2;
    font-size: clamp(1.5rem, 4vw, 2rem); 
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.titulo-brillante small {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    display: block;
    line-height: 1.4;
}

.parrafo-elegante {
    line-height: 1.6;
    color: #ccc;
    margin: 20px 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* --- Botón --- */
.boton-premium {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: #e5c05b;
    border: 2px solid #e5c05b;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.boton-premium:hover {
    background: #e5c05b;
    color: #000;
    box-shadow: 0 0 15px rgba(229, 192, 91, 0.3);
}



@media (max-width: 768px) {
    /* 1. Quitamos el margen del contenedor padre para ganar espacio */
    .seccion-premium {
        padding: 20px 5px; 
    }

    .tarjeta-expandible {
        flex-direction: column; 
        text-align: center;
        gap: 15px; /* Reducimos espacio entre logo y texto */
        
        /* --- AJUSTE DE TAMAÑO --- */
        width: 100%;      /* Controla qué tan ancha es la card (95% es casi total) */
        max-width: none; /* Eliminamos restricciones de escritorio */
        padding: 20px 10px; /* Menos padding arriba/abajo para que no sea tan larga */
        
        /* Reiniciamos la animación para que el JS la controle */
        opacity: 0; 
    }

    /* 2. Ajuste del LOGO para que no ocupe tanto espacio vertical */
    .contenedor-logo {
        max-width: 120px; /* Hazlo más pequeño para que la card sea más corta */
        min-width: auto;
        margin-bottom: 0;
    }

    /* 3. Ajuste del TEXTO (Tu petición de tamaño) */
    .titulo-brillante .texto-oro {
        font-size: 1.3rem !important; /* Tamaño exacto del título en móvil */
        line-height: 1.1;
    }

    .titulo-brillante small {
        font-size: 0.7rem; /* Texto pequeño superior */
    }

    .parrafo-elegante {
        font-size: 0.85rem; /* Texto del cuerpo más pequeño */
        margin: 10px 0;    /* Menos margen para que no crezca la card */
        line-height: 1.4;
    }

    /* 4. Botón más compacto */
    .boton-premium {
        width: 90%; 
        padding: 10px;
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .seccion-premium {
        padding: 20px 10px;
    }
    
    .tarjeta-expandible {
        padding: 25px 15px;
    }
}

/* --- Animaciones --- */


/* --- RESET DE MARGENES PARA QUE OCUPE TODO EL ANCHO --- */
.main-footer {
    background-color: #080808; /* Negro profundo */
    color: #e0e0e0;
    padding: 60px 0 20px 0; /* Sin padding lateral para que el contenedor mande */
    width: 100%;
    border-top: 1px solid rgba(191, 149, 63, 0.2);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin-top: 50px;
}

.footer-container {
    width: 100%;
    max-width: 1200px; /* Ancho máximo en PC */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- GRID DE 3 COLUMNAS --- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    align-items: start;
}

.footer-block h3 {
    color: #fcf6ba; /* Color oro de tus logos */
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-block p {
    color: #b0b0b0; /* Gris elegante para lectura */
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 5px;
}

/* --- REDES SOCIALES (MANTENIENDO TUS COLORES) --- */
.social-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.socialContainer {
    width: 45px;
    height: 45px;
    background-color: #2d2d2d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.socialSvg {
    width: 18px;
    fill: white;
}

/* Hovers con tus colores originales */
.containerOne:hover { background-color: #d62976; transform: scale(1.1); } /* Instagram */
.containerTwo:hover { background-color: #00acee; transform: scale(1.1); } /* Twitter/X */
.containerThree:hover { background-color: #0072b1; transform: scale(1.1); } /* LinkedIn */
.containerFour:hover { background-color: #128c7e; transform: scale(1.1); } /* WhatsApp */

/* --- SEPARADOR Y TEXTO FINAL --- */
.footer-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #bf953f, transparent);
    margin: 40px 0 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

.gold-text {
    color: #fcf6ba;
    font-weight: bold;
}

/* --- RESPONSIVE (CELULARES) --- */
@media (max-width: 850px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Todo en una columna */
        gap: 40px;
    }
    
    .footer-block {
        padding: 0 10px;
    }

    .main-footer {
        padding: 40px 0 20px 0;
    }
}

/* Estilos para el Banner de Cookies */
.cookie-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(191, 149, 63, 0.3); 
    padding: 20px;
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.cookie-content {
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.4;
}

.cookie-content a {
    color: #fcf6ba; 
    text-decoration: underline;
}

.btn-cookie {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728);
    color: #000; 
    padding: 10px 25px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-cookie:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .btn-cookie {
        width: 100%;
    }
}





/* Contenedor principal del botón */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Verde oficial WA */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Efecto de pulso para llamar la atención */
.whatsapp-float::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: -1;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip (Texto que sale al pasar el mouse) */
.tooltip-wa {
    position: absolute;
    right: 75px;
    background-color: #2c2c2c; /* Gris oscuro para combinar con tu web */
    color: #d4af37; /* Tu dorado */
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    border: 1px solid #d4af37;
}

.whatsapp-float:hover .tooltip-wa {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* Ajuste para móvil: para que no tape contenido importante */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
    .tooltip-wa { display: none; } /* En móvil mejor ocultar el texto */
}



/* carrucel */
/* --- NUEVO CARRUSEL PREMIUM CORREGIDO --- */
:root {
    --w-pc: 280px;      /* Ancho en computadora */
    --w-movil: 240px;   /* Aumenté de 190px a 240px para que llene más el ancho del celular */
}

.carrusel-window {
    display: block ;
    width: 100% ;
    overflow: hidden ;
    /* Este margen evita que choque con el menu y lo de abajo */
    margin-top: 90px; 
    margin-bottom: 20px ;
    padding: 20px 0 ;
    background: #0D0D0D ; /* Fondo negro para que no se vea blanco atrás */
    position: relative ;
    left: 0 ;
}

.carrusel-track {
    display: flex;
    width: max-content;
    animation: moverDerecha 30s linear infinite;
}

.carrusel-track:hover {
    animation-play-state: paused;
}

.foto {
    width: var(--w-pc);
    padding: 0 10px;    /* Reducido de 15px a 10px para que estén más juntas */
    flex-shrink: 0;
    text-align: center;
    text-decoration: none;
    transition: transform 0.4s ease;
}

.foto img {
    width: 100%;
    height: 380px; 
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(191, 149, 63, 0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.foto p {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #fcf6ba;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

/* --- AJUSTE PARA CELULARES --- */
@media (max-width: 768px) {
    .carrusel-window {
        padding: 40px 0; /* Menos espacio arriba y abajo en móvil */
    }

    .foto {
        width: var(--w-movil);
        padding: 0 6px; /* Fotos más pegadas entre sí (antes 10px) */
    }

    .foto img {
        height: 320px; /* Un poco más altas para que luzcan mejor */
    }

    .foto p {
        font-size: 0.75rem; /* Letra un poquito más legible */
        padding: 0 5px;
    }

    @keyframes moverDerecha {
        /* Ajuste de animación para el nuevo ancho de 240px */
        0% { transform: translateX(calc(var(--w-movil) * -8)); }
        100% { transform: translateX(0); }
    }
}

/* ANIMACIÓN PC */
@keyframes moverDerecha {
    0% { transform: translateX(calc(var(--w-pc) * -8)); }
    100% { transform: translateX(0); }
}