/* ──────────────────────────────────────────────
   HOME - front-page.php
   ────────────────────────────────────────────── */

/* ── HERO / COVER ── */
.hero {
    height: 80vh;
    max-height: 1200px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--dark, #0D0D0D);
    min-height: fit-content;
    padding: 1em !important;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245, 183, 49, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 183, 49, 0.3), transparent);
}

.hero-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 183, 49, 0.1);
    border: 1px solid rgba(245, 183, 49, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brand-yellow, #F5B731);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease both;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1.08;
    color: var(--light, #F7F4EF);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s 0.15s ease both;
}

.hero h1 em {
    font-style: italic;
    color: var(--brand-yellow, #F5B731);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-light, #B8B0A4);
    max-width: 520px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-subtitle strong {
    color: var(--light, #F7F4EF);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s 0.45s ease both;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    position: relative;
    z-index: 2;
}

.hero-image::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(245, 183, 49, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* ── BOTONES ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-yellow, #F5B731);
    color: var(--dark, #0D0D0D);
    padding: 0.9rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(245, 183, 49, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--light, #F7F4EF);
    padding: 0.9rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--brand-yellow, #F5B731);
    color: var(--brand-yellow, #F5B731);
}

/* ── SECTION TAGS ── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-yellow, #F5B731);
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--brand-yellow, #F5B731);
}

/* ── QUOTE BAND (dorada) ── */
.quote-band {
    background: var(--brand-yellow, #F5B731);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-band::before {
    content: '\201C';
    position: absolute;
    top: -40px;
    left: 40px;
    font-family: 'DM Serif Display', serif;
    font-size: 12rem;
    color: rgba(0, 0, 0, 0.06);
    line-height: 1;
    pointer-events: none;
}

.quote-band blockquote {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    color: var(--dark, #0D0D0D);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.5;
}

.quote-band cite {
    display: block;
    margin-top: 1rem;
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.5);
}

/* ── ABOUT SECTION ── */
.about {
    padding: 7rem 3rem;
    position: relative;
    background: var(--dark, #0D0D0D);
}

.about-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
}

.about-image .accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--brand-yellow, #F5B731);
    opacity: 0.3;
}

.about h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--light, #F7F4EF);
}

.about p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light, #B8B0A4);
    margin-bottom: 1.2rem;
}

.about p strong {
    color: var(--light, #F7F4EF);
    font-weight: 600;
}

/* ── SERVICIOS CARDS ── */
.services {
    padding: 7rem 3rem;
    background: var(--charcoal, #1A1A1A);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 183, 49, 0.2), transparent);
}

.services-header {
    max-width: 1300px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.services-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--light, #F7F4EF);
}

.services-header p {
    font-size: 1.05rem;
    color: var(--text-light, #B8B0A4);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--dark, #0D0D0D);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-yellow, #F5B731);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    border-color: rgba(245, 183, 49, 0.2);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    display: block;
}

.service-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--light, #F7F4EF);
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-light, #B8B0A4);
}

.service-card .card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    color: var(--brand-yellow, #F5B731);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: gap 0.3s;
}

.service-card:hover .card-arrow {
    gap: 0.8rem;
}

/* ── FORMACIÓN ── */
.formacion {
    padding: 7rem 3rem;
    position: relative;
    background: var(--dark, #0D0D0D);
}

.formacion-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.formacion h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--light, #F7F4EF);
}

.formacion p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light, #B8B0A4);
    margin-bottom: 1.2rem;
}

.formacion p strong {
    color: var(--light, #F7F4EF);
    font-weight: 600;
}

.formacion-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.formacion-image img {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
}

/* ── QUOTE INLINE ── */
.quote-inline {
    padding: 5rem 3rem;
    background: var(--charcoal, #1A1A1A);
    position: relative;
}

.quote-inline-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-inline-inner::before {
    content: '\201C';
    font-family: 'DM Serif Display', serif;
    font-size: 6rem;
    color: var(--brand-yellow, #F5B731);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: -1.5rem;
}

.quote-inline blockquote {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-style: italic;
    color: var(--light, #F7F4EF);
    line-height: 1.6;
}

.quote-inline cite {
    display: block;
    margin-top: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-yellow, #F5B731);
}

/* ── FEATURES / RECURSOS ── */
.features {
    padding: 7rem 3rem;
    position: relative;
    background: var(--dark, #0D0D0D);
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 183, 49, 0.2), transparent);
}

.features-header {
    max-width: 1300px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.features-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--light, #F7F4EF);
}

.features-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(245, 183, 49, 0.04);
    border: 1px solid rgba(245, 183, 49, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(245, 183, 49, 0.08);
    border-color: rgba(245, 183, 49, 0.25);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(245, 183, 49, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.feature-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--light, #F7F4EF);
}

.feature-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-light, #B8B0A4);
}

/* ── CTA SECTION ── */
.cta-section {
    padding: 7rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--dark, #0D0D0D) 0%, var(--charcoal, #1A1A1A) 100%);
    position: relative;
}

.cta-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--light, #F7F4EF);
}

.cta-section h2 em {
    font-style: italic;
    color: var(--brand-yellow, #F5B731);
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-light, #B8B0A4);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── ANIMACIONES ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero {
        padding: 7rem 2rem 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 180px;
    }

    .about-grid,
    .formacion-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        order: -1;
        text-align: center;
    }

    .about-image img {
        max-width: 300px;
    }

    .formacion-image {
        order: -1;
        text-align: center;
    }

    .formacion-image img {
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about,
    .formacion,
    .services,
    .features,
    .cta-section {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .quote-band {
        padding: 2.5rem 1.5rem;
    }
}