/* =========================================
   KORAL_STYLE.CSS - Estilo "Mística Moderna"
   ========================================= */

/* --- VARIABLES Y RESET --- */
:root {
    --color-background: #FBFBFB; /* Blanco Lino */
    --color-text: #1a1a1a;       /* Negro Intenso para contraste */
    --color-primary: #E57373;   /* Terracota Vibrante */
    --color-secondary: #556B2F;  /* Verde Oliva Profundo */
    --color-soft-panel: #f8f5f1; /* Crema suave para paneles */
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Inter', 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.7;
    font-size: 19px;
    -webkit-font-smoothing: antialiased;
}

/* --- ESTRUCTURA Y CONTENEDORES --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 0;
}
.text-center { text-align: center; }
.section-intro-text { max-width: 65ch; margin: 0 auto 3rem auto; font-weight: 300; font-size: 1.1rem; color: #555; }
.bg-soft-panel { background-color: var(--color-soft-panel); }

/* --- TIPOGRAFÍA --- */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin-bottom: 1.5rem; font-weight: 400; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--color-secondary); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--color-secondary); }
h3 { font-size: 1.5rem; color: var(--color-primary); }
p { margin-bottom: 1rem; max-width: 60ch; }
strong { font-weight: 700; color: var(--color-primary); }

/* --- CABECERA ASIMÉTRICA --- */
.intro-header .container { padding-top: 3rem; padding-bottom: 3rem; }
.intro-header__content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.intro-header__text { grid-row: 2; }
.intro-header__image-container { grid-row: 1; }
.intro-header__image {
    width: 180px; height: 180px; border-radius: 50%; object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: -4rem; /* Efecto de superposición */
    position: relative;
    z-index: 2;
}
.intro-header__subtitle { font-size: 1.2rem; font-weight: 300; max-width: 50ch; margin: 1rem auto 0 auto; color: #555; }

/* --- BOTONES DE LLAMADA (V3) --- */
/* (El CSS específico de los botones está en el archivo cta_buttons_koral_v3.php) */

/* --- LAYOUTS DE SECCIÓN --- */
.spotlight { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
.spotlight img { width: 100%; height: auto; border-radius: 12px; }

.pain-points-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.pain-point {
    padding: 2.5rem;
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: white;
}
.pain-point h3 { margin-top: 0; }

.how-it-works__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.how-it-works__step {
    padding: 2rem;
}

/* --- TESTIMONIOS --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.testimonial {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: relative;
}
.testimonial blockquote {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    border: none;
    margin: 0;
    padding: 0 0 1.5rem 0;
    color: #444;
    position: relative;
}
.testimonial blockquote::before {
    content: '“';
    font-family: 'DM Serif Display', serif;
    font-size: 6rem;
    color: var(--color-primary);
    opacity: 0.1;
    position: absolute;
    top: -2.5rem;
    left: -1rem;
    line-height: 1;
}
.testimonial footer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--color-secondary);
    text-align: right;
}

/* --- FOOTER --- */
footer { background-color: #EAE3D9; padding: 4rem 1rem 2rem 1rem; text-align: center; }
.footer-nav { list-style: none; padding: 0; margin: 2rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; }
.footer-nav a { color: var(--color-text); opacity: 0.8; text-decoration: none; transition: opacity 0.2s ease; font-size: 0.9em; }
.footer-nav a:hover { opacity: 1; }
.legal-text { font-size: 0.8rem; opacity: 0.7; max-width: 800px; margin: 0 auto; line-height: 1.6; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,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) {
    .intro-header__content {
        grid-template-columns: 1fr auto;
        text-align: left;
        gap: 3rem;
    }
    .intro-header__text { grid-row: 1; }
    .intro-header__image-container { grid-row: 1; grid-column: 2; }
    .intro-header__image { margin-bottom: 0; }

    .spotlight { grid-template-columns: 1fr 1fr; }
    .spotlight.reverse .text { grid-column: 1; grid-row: 1; }
    .spotlight.reverse .image-container { grid-column: 2; grid-row: 1; }
    .pain-points-grid { grid-template-columns: repeat(3, 1fr); }
    .how-it-works__grid { grid-template-columns: repeat(3, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}