/* ============================================================
   Mónica Alba — Estilo claro inspirado en idea pag.pdf
   Colores parametrizados via CSS variables inyectadas desde PHP
   ============================================================ */

body {
    font-family: var(--font-body), 'Lato', sans-serif;
    font-weight: var(--font-body-weight, 400);
    font-style: var(--font-body-style, normal);
    font-size: var(--font-body-size, 1rem);
    color: var(--color-text);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .heading-font {
    font-family: var(--font-heading), 'Playfair Display', serif;
    font-weight: var(--font-heading-weight, 700);
    font-style: var(--font-heading-style, normal);
}

.accent-font {
    font-family: var(--font-accent), 'Cormorant Garamond', serif;
    font-weight: var(--font-accent-weight, 400);
    font-style: var(--font-accent-style, italic);
}

/* ── Hero ───────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color: var(--color-text);
    background: #fff;
    padding-top: 3rem;
}
.hero-logo {
    max-width: 80px;
    margin-bottom: 0.5rem;
}
.hero-brand {
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}
.hero-brand strong {
    color: var(--color-secondary);
}
.hero-brand-sub {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: #97878C;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.hero-content {
    max-width: 1100px;
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto 2rem;
    text-align: center;
}
.hero-content h1 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}
.hero-content h1 strong {
    font-weight: 700;
}
.hero-content .hero-poem {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-style: italic;
    color: #97878C;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.hero-image {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
}

/* ── CTA Button ─────────────────────────────────────── */
.btn-cta {
    background: var(--color-cta);
    color: var(--color-dark);
    border: none;
    padding: 14px 40px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}
.btn-cta:hover {
    background: var(--color-cta-hover);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214,190,113,0.35);
}

.btn-cta-red {
    background: linear-gradient(135deg, #8B0000, #Cd0822, #E53935);
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 15px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(205,8,34,0.35);
}
.btn-cta-red:hover {
    background: linear-gradient(135deg, #6B0000, #a8061b, #Cd0822);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205,8,34,0.45);
}

.btn-play-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B0000, #Cd0822, #E53935);
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(205,8,34,0.35);
    transition: all 0.3s;
    padding-left: 4px;
}
.btn-play-circle:hover {
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(205,8,34,0.5);
}

.video-container {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2E1A17, #1a1a1a);
    border-radius: 12px;
}

.btn-cta-outline {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    padding: 12px 38px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}
.btn-cta-outline:hover {
    background: var(--color-secondary);
    color: #fff;
}

/* ── Red divider bar (como en el PDF) ───────────────── */
.red-bar {
    width: 100%;
    height: 5px;
    background: var(--color-secondary);
}

/* ── Sections ───────────────────────────────────────── */
.section-white {
    background: #fff;
    color: var(--color-text);
    padding: 3rem 0;
}
.section-cream {
    background: var(--color-light);
    color: var(--color-text);
    padding: 3rem 0;
}
.section-dark {
    background: var(--color-dark);
    color: var(--color-text-light);
    padding: 3rem 0;
}

/* ── CTA flotante entre secciones ───────────────────── */
.cta-floating-wrap {
    position: relative;
    z-index: 10;
    text-align: center;
    height: 0;
    overflow: visible;
}
.cta-floating-wrap .btn-cta-red {
    position: relative;
    top: -26px;
    box-shadow: 0 6px 20px rgba(205,8,34,0.35);
}
.section-bordered {
    background: #fff;
    border: 1px solid #e0d8d0;
    margin: 2rem auto;
    padding: 3rem;
    max-width: 700px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.section-title-dark {
    color: var(--color-text);
}
.section-title-red {
    color: var(--color-secondary);
}
.section-title-light {
    color: #fff;
}
.section-subtitle {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-style: italic;
    color: #97878C;
    margin-bottom: 1.5rem;
}
.section-divider {
    width: 50px;
    height: 2px;
    background: var(--color-secondary);
    margin: 0 auto 2.5rem;
}

/* ── Logo header (repetido en secciones) ─────────── */
.section-logo-header {
    text-align: center;
    margin-bottom: 2rem;
}
.section-logo-header img {
    max-width: 50px;
    margin-bottom: 0.5rem;
}
.section-logo-header .brand-text {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
}
.section-logo-header .brand-text strong {
    color: var(--color-secondary);
    font-weight: 700;
}
.section-logo-header .brand-sub {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-style: italic;
    color: #97878C;
}

/* ── Cards ──────────────────────────────────────────── */
.card-movimiento {
    background: #fff;
    border: 1px solid #e8e0d8;
    border-radius: 2px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}
.card-movimiento:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.card-movimiento .icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.card-movimiento h4 {
    color: var(--color-secondary);
    letter-spacing: 2px;
    font-size: 0.95rem;
    text-transform: uppercase;
}
.card-movimiento p {
    color: #817378;
    font-size: 0.92rem;
    line-height: 1.7;
}

.card-modulo {
    background: #fff;
    border: none;
    border-left: 3px solid var(--color-secondary);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.card-modulo h4 {
    color: var(--color-text);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.card-modulo ul {
    list-style: none;
    padding: 0;
}
.card-modulo ul li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #817378;
    font-size: 0.93rem;
}
.card-modulo ul li::before {
    content: '\00b7';
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

/* ── Checklist ──────────────────────────────────────── */
.checklist {
    list-style: none;
    padding: 0;
}
.checklist li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}
.checklist li::before {
    content: '\00b7';
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1;
    top: 0.5rem;
}
.checklist-no li::before {
    content: '\2715';
    color: var(--color-secondary);
    font-size: 0.85rem;
    top: 0.6rem;
}

/* ── Contact form ───────────────────────────────────── */
.contact-section {
    background: var(--color-light);
    color: var(--color-text);
    padding: 5rem 0;
}
.form-maa .form-control {
    background: #fff;
    border: 1px solid #d8d0c8;
    color: var(--color-text);
    border-radius: 2px;
    padding: 0.8rem 1rem;
}
.form-maa .form-control::placeholder {
    color: #b0a8a0;
}
.form-maa .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.2rem rgba(205,8,34,0.1);
    background: #fff;
    color: var(--color-text);
}
.form-maa label {
    color: var(--color-text);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

/* ── Footer ─────────────────────────────────────────── */
.footer-maa {
    background: var(--color-dark);
    color: rgba(255,255,255,0.6);
    padding: 2rem 0;
    font-size: 0.85rem;
}
.footer-maa a {
    color: #fff;
    text-decoration: none;
}
.footer-maa a:hover {
    color: var(--color-accent);
}

/* ── Animations ─────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .btn-cta {
        padding: 12px 30px;
        font-size: 0.8rem;
    }
    .section-bordered {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
}

/* ── Status / Verification pages ────────────────────── */
.status-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--color-text);
}
.status-box {
    text-align: center;
    max-width: 500px;
    padding: 3rem;
}
.status-box .icon {
    font-size: 4rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

/* ── Gray text helpers ──────────────────────────────── */
.text-warm-gray {
    color: #97878C;
}
.text-dark-gray {
    color: var(--color-text);
}
