/* ========================================================
   LINAJE HEALING CENTER - SECCIÓN HERO
   ======================================================== */

/* --- HERO PRINCIPAL --- */
.hero {
    height: 100vh;
    background-image: url('../img/hero-amazonia.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.08) brightness(0.9);
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.08) 66%, rgba(0, 0, 0, 0.64)),
        radial-gradient(circle at 50% 12%, rgba(0, 0, 0, 0.12), transparent 48%),
        radial-gradient(circle, transparent 26%, rgba(0, 0, 0, 0.38) 74%, rgba(0, 0, 0, 0.76) 100%),
        radial-gradient(circle at 50% 40%, rgba(192, 107, 59, 0.11), transparent 56%),
        linear-gradient(135deg, rgba(5, 8, 7, 0.34), rgba(15, 42, 36, 0.28) 55%, rgba(192, 107, 59, 0.08));
    z-index: 1;
}

/* Efecto místico de neblina o partículas sutiles */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/shipibo-pattern-DLQBC06c.jpg');
    background-size: 400px;
    opacity: 0.03;
    mix-blend-mode: overlay;
    z-index: 1;
    pointer-events: none;
    animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
    from { background-position: 0 0; }
    to { background-position: 400px 400px; }
}

/* El degradado inferior para transicionar a las secciones */
.hero-bottom-gradient {
    content: '';
    position: absolute;
    bottom: -100px; left: 0; right: 0;
    height: 300px;
    background: linear-gradient(to bottom, rgba(5, 8, 7, 0), var(--color-black));
    z-index: 3;
    pointer-events: none;
}

/* Efecto de neblina mística */
.hero-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 40%;
    background: url('../img/shipibo-pattern-DLQBC06c.jpg'); /* Reusando patrón para textura de neblina sutil */
    background-size: 800px;
    opacity: 0.05;
    filter: blur(20px);
    z-index: 2;
    pointer-events: none;
    animation: fogMove 40s linear infinite;
}

@keyframes fogMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video { transform: none; }
    .hero::after { animation: none; }
    .hero-fog { animation: none; }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 100px 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    animation: fadeInUp 1s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

/* --- SOBRE-TÍTULO: Amazonía — Perú --- */
.hero-overline {
    font-family: var(--font-title);
    font-size: clamp(11px, 1.15vw, 13px);
    font-weight: 600;
    color: #bdf4ef;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: min(520px, calc(100vw - 48px));
    overflow-wrap: normal;
    text-wrap: balance;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.84),
        0 0 18px rgba(74, 169, 166, 0.48);
}

/* --- TÍTULO PRINCIPAL: LINAJE --- */
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 8px;
    line-height: 1;
}

/* LINAJE - Palabra Principal Grande */
.hero-title-main {
    font-family: var(--font-title);
    font-size: clamp(92px, 13.4vw, 188px);
    font-weight: 300;
    color: #d9783c;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1;
    display: block;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.55), 0 0 14px rgba(217, 120, 60, 0.24);
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 6px 22px rgba(0, 0, 0, 0.55), 0 0 14px rgba(217, 120, 60, 0.24); }
    to { text-shadow: 0 6px 26px rgba(0, 0, 0, 0.6), 0 0 24px rgba(217, 120, 60, 0.34), 0 0 10px rgba(255, 255, 255, 0.1); }
}

/* Healing Center */
.hero-title-sub {
    font-family: var(--font-subtitle);
    font-size: 32px;
    font-weight: 400;
    color: var(--color-cyan-soft);
    text-transform: capitalize;
    letter-spacing: 2px;
    display: block;
    margin-top: 5px;
    opacity: 0.9;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

/* --- SUB-TÍTULO: Centro de Retiro y Sanación Ancestral --- */
.hero-subtitle {
    font-family: var(--font-subtitle);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-cyan);
    font-style: normal;
    text-transform: capitalize;
    letter-spacing: 0px;
    margin-bottom: 16px;
    line-height: 1.4;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

/* --- ESLOGAN: Raíz, medicina y conciencia --- */
.hero-tagline {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 16px;
    line-height: 1.4;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
}

/* --- SEPARADOR VISUAL --- */
.hero-divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-orange);
    border: 1px solid var(--color-orange);
    margin: 16px auto;
}

/* --- DESCRIPCIÓN: Párrafo central --- */
.hero-description {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 620px;
    overflow-wrap: anywhere;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.62);
}

/* --- FILA DE BOTONES --- */
.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* --- BASE COMPARTIDA PARA LOS 3 BOTONES DEL HERO --- */
.hero-buttons .btn {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 16px 0;
    min-width: 190px;
    width: 190px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1;
}

/* --- LOS 3 BOTONES: transparente + texto blanco, hover dorado --- */
.hero-buttons .btn-secondary-outline,
.hero-buttons .btn-primary,
.hero-buttons .btn-secondary-text {
    color: #ffffff;
    background-color: #c96f35;
    border: 2px solid #c96f35;
    border-radius: 999px;
}

.hero-buttons .btn-secondary-outline:hover,
.hero-buttons .btn-primary:hover,
.hero-buttons .btn-secondary-text:hover {
    background-color: #35cb34;
    border-color: #35cb34;
    color: #ffffff;
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 1024px) {
    .hero-title-main { font-size: 124px; }
    .hero-title-sub  { font-size: 28px; }
    .hero-description { font-size: 18px; }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100svh;
        padding: 4rem 1rem;
        background-attachment: scroll;
        display: flex;
        align-items: center;
    }

    .hero-content {
        padding: 0;
        max-width: 100%;
        margin-top: 2rem;
    }

    .hero-overline {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 14px;
        max-width: 100%;
    }

    .hero-title-main { 
        font-size: clamp(64px, 15vw, 90px); 
        letter-spacing: 1px; 
    }
    .hero-title-sub  { font-size: 24px; }
    .hero-subtitle   { font-size: 16px; margin-bottom: 12px; }

    .hero-tagline {
        font-size: 10px;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }

    .hero-divider { width: 50px; margin: 12px auto; }

    .hero-description {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 12px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        min-width: unset;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero-overline {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-title-main { 
        font-size: clamp(48px, 18vw, 68px); 
        letter-spacing: 0.5px; 
    }
    .hero-title-sub  { font-size: 18px; }
    .hero-subtitle   { font-size: 14px; }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-buttons .btn {
        padding: 12px 16px;
        font-size: 11px;
    }
}
