/* --- Reseteo Básico y Variables Globales --- */
:root {
    --primary-gold: #FFD700;
    --secondary-purple: #c863f9;
    --text-light: #EAEAEA;
    --background-dark: #000000;
    --font-headings: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    background-color: var(--background-dark); color: var(--text-light); font-family: var(--font-body);
    overflow-x: hidden; background-image: url('img/stars-bg.png'); background-attachment: fixed; background-size: cover;
}

/* --- Fondo de Estrellas Animado --- */
#star-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.star { position: absolute; background-color: white; border-radius: 50%; animation: twinkle 5s infinite ease-in-out; }
@keyframes twinkle { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* --- Cabecera --- */
.main-header { text-align: center; padding: 60px 20px 40px; background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%); }
.main-title {
    font-family: var(--font-headings); font-size: 3.5rem; color: var(--primary-gold); text-transform: uppercase; letter-spacing: 3px;
    text-shadow: 0 0 10px var(--primary-gold), 0 0 20px rgba(255, 215, 0, 0.5); animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow { from { text-shadow: 0 0 8px var(--primary-gold); } to { text-shadow: 0 0 15px var(--primary-gold); } }
.subtitle { font-size: 1.2rem; margin-top: 10px; }
.subtitle strong { color: var(--primary-gold); font-weight: 400; }

/* --- Contenedor Principal y Secciones --- */
content-container {
    /* max-width: 900px;  <-- ELIMINA ESTA LÍNEA */
    /* margin: 0 auto;    <-- ELIMINA ESTA LÍNEA */
    padding: 20px;
}

/* ============================================== */
/* === ESTILOS MODIFICADOS PARA LA INTRODUCCIÓN === */
/* ============================================== */
.intro-section {
    /* --- CÓDIGO SIMPLIFICADO Y CORREGIDO --- */
    width: 95%; /* Ocupará el 95% de su contenedor (que ahora es el body) */
    max-width: 1100px; /* Mantenemos el límite para pantallas gigantes */
    margin-left: auto; /* Truco estándar para centrar un bloque */
    margin-right: auto; /* Truco estándar para centrar un bloque */
    
    /* Se eliminan: position, left, y transform. Ya no son necesarios. */

    /* Estilos que ya tenías (no los cambies) */
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
}


/* --- APLICAMOS EL LÍMITE A LAS OTRAS SECCIONES --- */
.cta-section, .content-section {
    /* --- ESTILOS AÑADIDOS PARA MANTENER SU ANCHO ORIGINAL --- */
    max-width: 900px; /* El ancho que tenía el contenedor principal */
    margin-left: auto;
    margin-right: auto;
    
    /* El resto de tus estilos para estas secciones no cambian */
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
}
/* ============================================== */
/* === ESTILOS MODIFICADOS PARA LA INTRODUCCIÓN === */
/* ============================================== */
.intro-layout {
    display: flex; /* Activa el layout flexible para poner elementos en línea */
    align-items: center; /* Centra verticalmente la imagen y la lista */
    gap: 40px; /* Espacio entre la imagen y la lista */
}

.image-container {
    flex-shrink: 0; /* Evita que la imagen se encoja si no hay espacio */
}

.vidente-image {
    max-width: 400px; /* Imagen más grande */
    width: 100%;
    border-radius: 0%; /* Mantiene la forma circular de la imagen */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5); /* Sombra sutil para dar profundidad */
    /* Se eliminan 'border' y el 'box-shadow' de color dorado */
    transition: transform 0.3s ease-in-out;
}

.vidente-image:hover {
    transform: scale(1.04);
}

.list-container {
    flex-grow: 1; /* Permite que la lista ocupe el espacio restante */
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 1.15rem; /* Letra un poco más grande */
    padding: 14px 0 14px 40px; /* Más espacio vertical */
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    font-size: 1.4rem;
}


/* --- Sección CTA --- */
.section-title { font-family: var(--font-headings); font-size: 2.2rem; margin-bottom: 25px; color: var(--primary-gold); text-transform: uppercase; letter-spacing: 2px; text-align: center; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cta-box { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 215, 0, 0.3); border-radius: 10px; padding: 25px; transition: all 0.3s ease; text-align: center; }
.cta-box:hover { transform: translateY(-5px); border-color: var(--primary-gold); }
.cta-title { font-family: var(--font-headings); font-size: 1.5rem; color: var(--text-light); margin-bottom: 10px; }
.cta-description { font-size: 0.95rem; color: #ccc; margin-bottom: 20px; min-height: 50px; }
.phone-number { display: block; font-size: 2.5rem; font-weight: bold; color: var(--secondary-purple); text-decoration: none; margin-bottom: 15px; letter-spacing: 2px; text-shadow: 0 0 10px var(--secondary-purple); transition: color 0.3s ease; }
.phone-number1 { display: block; font-size: 2.5rem; font-weight: bold; color: var(--secondary-purple); text-decoration: none; margin-bottom: 15px; letter-spacing: 2px; text-shadow: 0 0 10px var(--secondary-purple); transition: color 0.3s ease; }
}
.phone-number:hover { color: #eec4ff; }
.card-icons img { height: 25px; margin: 0 5px; opacity: 0.8; }
.cta-price { font-size: 0.85rem; color: #aaa; margin-top: 10px; }

/* --- Sección de Contenido --- */
.content-section { text-align: left; line-height: 1.8; }
.content-section h2 { font-family: var(--font-headings); color: var(--primary-gold); margin: 25px 0 10px; }

/* --- Efectos y Pie de Página --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.main-footer { text-align: center; padding: 30px 20px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); border-top: 1px solid rgba(255, 215, 0, 0.2); background: linear-gradient(360deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%); }
.main-footer p { margin-bottom: 8px; }
.main-footer a { color: var(--primary-gold); text-decoration: none; }
.main-footer a:hover { text-decoration: underline; }

/* ======================================================== */
/* =========== ESTILOS PARA LA SECCIÓN DE SERVICIOS ========= */
/* ======================================================== */
.services-section {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    /* Puedes quitar las 3 líneas de arriba si quieres que ocupe el 95% como la intro */
}

.services-grid {
    display: grid;
    /* Crea una cuadrícula responsive: 3 columnas en grande, 1 en pequeño */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; /* Espacio entre las tarjetas */
    margin-top: 40px;
}

.service-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.service-icon {
    max-height: 80px; /* Tamaño del icono/imagen */
    margin-bottom: 20px;
    /* Sombra sutil para que el icono se despegue del fondo */
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.service-card h3 {
    font-family: var(--font-headings);
    color: var(--primary-gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-card p {
    color: #ccc;
    line-height: 1.6;
}

/* ======================================================== */
/* ========== ESTILOS PARA LA SECCIÓN DE PROCESO ========== */
/* ======================================================== */
.process-section {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-gold);
    color: var(--background-dark);
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 15px var(--primary-gold);
}

.process-step h3 {
    font-family: var(--font-headings);
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.process-step p {
    color: #ccc;
    line-height: 1.6;
}
/* ======================================================== */
/* =========== ESTILOS PARA EL BANNER DE COOKIES ========== */
/* ======================================================== */

/* --- Contenedor del Banner Principal --- */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #111827; /* bg-gray-900 */
    color: white;
    padding: 1.25rem; /* p-5 */
    z-index: 100;
    transition: opacity 0.3s ease;
}

#cookie-consent-banner .max-w-7xl {
    max-width: 80rem; /* 1280px */
    margin-left: auto;
    margin-right: auto;
}

/* --- Botones del Banner --- */
#cookie-consent-banner button {
    width: 100%;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}
#btn-accept-all { background-color: #16a34a; } /* bg-green-600 */
#btn-accept-all:hover { background-color: #15803d; } /* hover:bg-green-700 */
#btn-reject-all { background-color: #374151; } /* bg-gray-700 */
#btn-reject-all:hover { background-color: #4b5563; } /* hover:bg-gray-600 */
#btn-configure { text-decoration: underline; }

/* --- Overlay y Modal --- */
#cookie-modal-overlay {
    position: fixed; inset: 0; background-color: rgba(0,0,0,0.6); z-index: 110; transition: opacity 0.3s ease;
}
#cookie-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background-color: white; color: #1f2937; border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    z-index: 120; width: 91.666667%; max-width: 42rem; /* w-11/12 md:max-w-2xl */
    transition: all 0.3s ease;
}

/* --- Contenido del Modal --- */
#cookie-modal .p-6 { padding: 1.5rem; }
#cookie-modal .flex { display: flex; }
#cookie-modal .justify-between { justify-content: space-between; }
#cookie-modal .items-center { align-items: center; }
#cookie-modal .mb-4 { margin-bottom: 1rem; }
#cookie-modal .mb-6 { margin-bottom: 1.5rem; }
#cookie-modal .space-y-4 > * + * { margin-top: 1rem; }
#cookie-modal button { border-radius: 0.5rem; padding: 0.5rem 1rem; font-weight: bold; transition: background-color 0.2s ease; }
#btn-close-modal { color: #6b7280; }
#btn-close-modal:hover { color: #1f2937; }
#btn-save-config { background-color: #2563eb; color: white; }
#btn-save-config:hover { background-color: #1d4ed8; }
#btn-accept-all-modal { background-color: #16a34a; color: white; }
#btn-accept-all-modal:hover { background-color: #15803d; }

/* --- Estilos para los Toggles (Interruptores) --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.relative { position: relative; }
input:checked + .peer-checked\:after\:translate-x-full::after { transform: translateX(100%); }
input:checked + .peer-checked\:bg-blue-600 { background-color: #2563eb; }
/* ====================================================== */
/* === ESTILOS CORREGIDOS PARA LOS INTERRUPTORES (TOGGLES) === */
/* ====================================================== */
#cookie-modal .cursor-pointer {
    cursor: pointer;
}

/* El fondo del interruptor */
#cookie-modal input[type="checkbox"] + div {
    position: relative;
    width: 2.75rem;  /* 44px */
    height: 1.5rem; /* 24px */
    background-color: #e5e7eb; /* Gris claro */
    border-radius: 9999px;
    transition: background-color 0.3s ease;
}

/* El círculo del interruptor */
#cookie-modal input[type="checkbox"] + div::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.25rem;  /* 20px */
    height: 1.25rem; /* 20px */
    background-color: white;
    border: 1px solid #d1d5db; /* Borde gris */
    border-radius: 9999px;
    transition: transform 0.3s ease;
}

/* --- Estilos cuando el interruptor está ACTIVO --- */
/* Cambia el color de fondo */
#cookie-modal input[type="checkbox"]:checked + div {
    background-color: #2563eb; /* Azul */
}

/* Mueve el círculo a la derecha */
#cookie-modal input[type="checkbox"]:checked + div::after {
    transform: translateX(calc(100% - 2px));
}

/* Deshabilitado (para las cookies esenciales) */
#cookie-modal input[type="checkbox"]:disabled + div {
    background-color: #9ca3af; /* Gris más oscuro */
    cursor: not-allowed;
}
/* --- Botón flotante para administrar consentimiento --- */
#manage-consent-button {
    position: fixed; bottom: 1.25rem; left: 1.25rem; background-color: #2563eb;
    color: white; padding: 0.75rem; border-radius: 9999px; z-index: 99;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: opacity 0.3s ease;
}

/* --- Clases de estado (visibilidad, opacidad, etc.) --- */
.hidden { display: none; }
.opacity-0 { opacity: 0; }
.scale-95 { transform: translate(-50%, -50%) scale(0.95); }

/* --- Clases para responsive (simulando sm: de Tailwind) --- */
@media (min-width: 640px) {
    #cookie-consent-banner .sm\:flex { display: flex; }
    #cookie-consent-banner .sm\:items-center { align-items: center; }
    #cookie-consent-banner .sm\:gap-6 { gap: 1.5rem; }
    #cookie-consent-banner .sm\:mb-0 { margin-bottom: 0; }
    #cookie-consent-banner .sm\:flex-row { flex-direction: row; }
    #cookie-consent-banner .sm\:mt-0 { margin-top: 0; }
    #cookie-consent-banner .sm\:ml-2 { margin-left: 0.5rem; }
    #cookie-modal .sm\:flex-row { flex-direction: row; }
}


/* --- Diseño Responsivo --- */
@media (max-width: 768px) {
    .main-title { font-size: 2.5rem; }
    
    /* Cambia el layout de la introducción en móviles */
    .intro-layout {
        flex-direction: column;
        text-align: center;
    }
    .vidente-image {
        margin: 0 auto 30px auto;
        max-width: 220px;
    }
    .features-list {
        display: inline-block;
        text-align: left;
    }

    /* Las cajas del CTA se ponen una encima de la otra en móvil */
    .cta-grid { grid-template-columns: 1fr; }
    .cta-description { min-height: auto; }

    /* ====================================================== */
    /* ========= CÓDIGO AÑADIDO PARA ANCHAR EL CTA ========== */
    /* ====================================================== */
    .cta-section {
        /* Anula el padding del contenedor padre para expandirse a los lados */
        margin-left: -20px;
        margin-right: -20px;
        
        /* Ajusta el padding interno para que el texto no se pegue a los bordes */
        padding-left: 15px;
        padding-right: 15px;
        
        /* Opcional: Reducir un poco el padding vertical en móvil */
        padding-top: 30px;
        padding-bottom: 30px;
    }
	.phone-number1 { display: block; font-size: 2.0rem; font-weight: bold; color: var(--secondary-purple); text-decoration: none; margin-bottom: 15px; letter-spacing: 2px; text-shadow: 0 0 10px var(--secondary-purple); transition: color 0.3s ease; }
}