/* =========================================
   ÁNGELO_STYLE.CSS - Estilo "Alquimista Intuitivo" (v2 con Footer Mejorado)
   ========================================= */

/* --- VARIABLES Y RESET --- */
:root {
    --color-background: #0f0f1a; /* Índigo muy oscuro */
    --color-panel: #191922;      
    --color-text: #d1d1e0;       /* Blanco-Lavanda pálido */
    --color-primary: #8a2be2;   /* Violeta Energético */
    --color-accent: #c0c0c0;     /* Plata */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.8;
    font-size: 18px;
}

/* --- ESTRUCTURA Y CONTENEDORES --- */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 0;
}
.text-center { text-align: center; }
.section-intro-text { max-width: 65ch; margin: 0 auto 3rem auto; opacity: 0.8; font-weight: 300; }
.bg-panel { background-color: var(--color-panel); }
.method-centerpiece-image {
    display: block;
    max-width: 500px; /* Ajusta este valor si quieres la imagen más grande o pequeña */
    width: 100%;
    margin: 0 auto 4rem auto; /* Centra la imagen y le da espacio debajo */
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border: 1px solid rgba(192, 192, 192, 0.2); /* Borde plateado sutil */
}
/* --- TIPOGRAFÍA --- */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin-bottom: 1.5rem; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); color: white; font-style: italic; }
h2 { font-size: clamp(2.2rem, 5vw, 3rem); color: white; border-bottom: 1px solid var(--color-primary); padding-bottom: 1rem; }
h3 { font-size: 1.6rem; color: var(--color-accent); }
strong { font-weight: 700; color: white; }
.highlight { color: var(--color-primary); font-weight: 500; }

/* --- CABECERA Y PARTÍCULAS --- */
.intro-header {
    padding: 6rem 1rem;
    text-align: center;
    position: relative; /* Padre para el canvas */
    overflow: hidden;
    background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1a 70%);
}
#star-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Detrás del contenido */
    pointer-events: none; /* No interfiere con clics */
}
.intro-header .container {
    position: relative;
    z-index: 2; /* Contenido por encima del canvas */
}
.intro-header__subtitle { font-size: 1.3rem; font-weight: 300; max-width: 50ch; margin: 1.5rem auto 3rem auto; opacity: 0.9; }

/* --- BOTONES DE LLAMADA --- */
.cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.cta-button {
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding: 1.5em 1em; border-radius: 4px; text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent; border: 1px solid var(--color-accent); color: var(--color-accent);
}
.cta-button:hover { background-color: var(--color-accent); color: var(--color-background); }
.cta-button__title { font-weight: 500; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1.5px; }
.cta-button__number { font-size: 1.3rem; font-weight: 700; margin: 0.3rem 0; color: white; }
.cta-button__subtext { font-size: 0.85rem; opacity: 0.8; }
.cta-button--primary {
    background-color: var(--color-primary); border-color: var(--color-primary); color: white;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}
.cta-button--primary:hover { background-color: #9c40ff; border-color: #9c40ff; box-shadow: 0 0 30px rgba(138, 43, 226, 0.7); }

/* --- LAYOUTS DE SECCIÓN --- */
.spotlight { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
.spotlight img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 15px 35px rgba(0,0,0,0.6); }

.method-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
.method-step { padding: 2rem; border: 1px solid rgba(192, 192, 192, 0.2); border-radius: 8px; }

/* 
   =========================================
   --- FOOTER (ESTILOS MEJORADOS) ---
   =========================================
*/
footer { background-color: #000; padding: 1rem 1rem 2rem 1rem; text-align: center; }
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 2rem; /* Menos espacio vertical, más horizontal */
}
.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9em;
    padding: 0.2rem 0;
    position: relative;
    transition: color 0.3s ease;
}
.footer-nav a::after { /* Línea para efecto hover */
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.footer-nav a:hover {
    color: white;
}
.footer-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.legal-text { font-size: 0.8rem; color: rgba(255,255,255,0.5); max-width: 800px; margin: 0 auto; line-height: 1.6; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); }


/* --- ANIMACIONES Y RESPONSIVIDAD --- */
.fade-in-section { opacity: 0; transform: translateY(40px); transition: opacity 1s ease-out, transform 1s ease-out; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }
@media (min-width: 768px) {
    .spotlight { grid-template-columns: 1fr 1fr; }
    .method-grid { grid-template-columns: repeat(3, 1fr); }
}

