/* =========================================
   MARISA_STYLE.CSS - Estilo "Refugio del Corazón"
   ========================================= */

/* --- VARIABLES Y RESET --- */
:root {
    --color-background: #F9F6F1; /* Pergamino cálido */
    --color-text: #222222;       /* Marrón Tierra */
    --color-primary: #800020;   /* Burdeos / Clarete */
    --color-accent: #d4b254;     /* Oro Antiguo */
    --color-panel: #ffffff;
    --font-heading: 'Lora', serif;
    --font-body: 'Source Sans Pro', 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: 19px;
    -webkit-font-smoothing: antialiased;
}

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

/* --- TIPOGRAFÍA --- */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.3; margin-bottom: 1.5rem; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--color-primary); font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); color: var(--color-primary); }
h3 { font-size: 1.5rem; color: var(--color-text); font-weight: 600; }
p, li { margin-bottom: 1rem; max-width: 60ch; }
strong { font-weight: 600; color: var(--color-primary); }
ul.custom-list-none { list-style: none; padding-left: 0; }
ul.custom-list-none li { padding-left: 0; }
.quote {
    font-family: var(--font-heading); font-style: italic; font-size: 1.2rem;
    color: #5c4b3d; padding: 1.5rem;
    border-left: 3px solid var(--color-accent); margin-top: 2rem; background-color: #fff;
    border-radius: 0 8px 8px 0;
}

/* --- CABECERA --- */
.intro-header {
    padding: 2rem 1rem; text-align: center;
}
.intro-header__image {
    width: 250px; height: 250px; border-radius: 40%; object-fit: cover;
    border: 6px solid white; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}
.intro-header__subtitle { font-size: 1.2rem; font-style: italic; font-family: 'Lora', serif; max-width: 55ch; margin: 1rem auto 2.5rem auto; color: #666; }

/* --- BOTONES DE LLAMADA (ESTILOS GLOBALES) --- */
.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: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--color-panel);
    border: 1px solid #EAE3D9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.cta-button__title { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text); }
.cta-button__number { font-size: 1.4rem; font-weight: 600; margin: 0.3rem 0; color: var(--color-primary); }
.cta-button--primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}
.cta-button--primary .cta-button__title, .cta-button--primary .cta-button__number, .cta-button--primary .cta-button__subtext {
    color: white;
}
.cta-button--primary:hover { background-color: #6a001a; border-color: #6a001a; }

/* --- 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-radius: 12px;
    background-color: var(--color-panel);
    border-top: 4px solid var(--color-accent);
}

/* --- TESTIMONIOS --- */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; 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: 'Lora', serif; font-style: italic; font-size: 1.2rem; line-height: 1.6; border: none; margin: 0; padding: 0; color: #555; position: relative; }
.testimonial blockquote::before { content: '“'; font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--color-primary); opacity: 0.1; position: absolute; top: -2rem; left: -1rem; line-height: 1; }
.testimonial footer { font-family: 'Source Sans Pro', sans-serif; font-weight: 700; color: var(--color-primary); text-align: right; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #f0e9e9; }
        
/* --- 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) {
    .spotlight { grid-template-columns: 1fr 1fr; }
    .pain-points-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
    .spotlight.reverse .text { grid-column: 1; grid-row: 1; }
    .spotlight.reverse .image-container { grid-column: 2; grid-row: 1; }
}