:root {
    --dp-violeta-profundo: #340E49;
    --dp-purpura-hero: #3F0F52;
    --dp-oro-antiguo: #D0A761;
    --dp-oro-claro: #EAD095;
    --dp-marfil-ritual: #F8F3E8;
    --dp-font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --dp-font-body: 'Montserrat', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.depurarte-hero-section {
    position: relative;
    background: #340E49;
    color: #F8F3E8;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.depurarte-hero-bg-img,
.depurarte-hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 1;
}

.depurarte-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(52, 14, 73, 0.95) 0%, rgba(52, 14, 73, 0.82) 40%, rgba(52, 14, 73, 0.35) 70%, rgba(52, 14, 73, 0.05) 100%);
    z-index: 2;
}

.depurarte-hero-container {
    position: relative;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 24px;
    z-index: 3;
    box-sizing: border-box;
}

.depurarte-hero-content {
    max-width: 600px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.depurarte-hero-title {
    font-family: var(--dp-font-serif);
    font-size: 52px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--dp-marfil-ritual);
    margin: 0 0 22px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 18px rgba(18, 3, 27, 0.35);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.depurarte-hero-description {
    font-family: var(--dp-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: rgba(248, 243, 232, 0.85);
    margin: 0 0 34px;
    max-width: 48ch;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Action Buttons */
.depurarte-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
}

/* Button Primary (Gold Resplendent) */
.depurarte-btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    background: #D0A761;
    color: #12071B !important;
    font-family: var(--dp-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(208, 167, 97, 0.4);
    transition: all 0.25s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.depurarte-btn-hero-primary:hover {
    background: #EAD095;
    color: #12071B !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(208, 167, 97, 0.55);
}

/* Button Secondary (Violet / Outlined) */
.depurarte-btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    background: transparent;
    border: 1.5px solid rgba(248, 243, 232, 0.8);
    color: #F8F3E8 !important;
    font-family: var(--dp-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.25s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.depurarte-btn-hero-secondary:hover {
    background: rgba(248, 243, 232, 0.15);
    border-color: #FFFFFF;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* Micro Trust Features */
.depurarte-hero-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(234, 208, 149, 0.3);
    flex-wrap: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

.depurarte-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--dp-font-body);
    font-size: 12.5px;
    font-weight: 500;
    color: #F8F3E8 !important;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.depurarte-trust-item span {
    color: #F8F3E8 !important;
    font-family: var(--dp-font-body);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.3;
    display: inline-block;
    white-space: nowrap;
}

.depurarte-trust-item svg {
    color: #EAD095 !important;
    stroke: #EAD095 !important;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .depurarte-hero-section {
        display: flex;
        flex-direction: column;
        min-height: 0;
        background: var(--dp-violeta-profundo);
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .depurarte-hero-bg-img,
    .depurarte-hero-bg-video {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: 100%;
        height: 380px;
        object-fit: cover;
        object-position: 82% 20%;
        order: 1;
        z-index: 1;
        display: block;
        box-sizing: border-box;
    }

    .depurarte-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 380px;
        background: linear-gradient(180deg, rgba(52, 14, 73, 0.1) 0%, rgba(52, 14, 73, 0) 50%, rgba(52, 14, 73, 0.95) 95%, #340E49 100%);
        z-index: 2;
        pointer-events: none;
        box-sizing: border-box;
    }

    .depurarte-hero-container {
        order: 3;
        width: 100%;
        max-width: 100vw;
        padding: 16px 20px 48px;
        margin-top: 0;
        background: #340E49;
        position: relative;
        z-index: 3;
        box-sizing: border-box;
        overflow: hidden;
    }

    .depurarte-hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .depurarte-hero-title {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .depurarte-hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin: 0 auto 24px;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .depurarte-hero-actions {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        gap: 12px;
        margin-bottom: 28px;
        box-sizing: border-box;
    }

    .depurarte-btn-hero-primary,
    .depurarte-btn-hero-secondary {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        box-sizing: border-box;
    }

    .depurarte-hero-trust {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        gap: 12px;
        padding-top: 18px;
        margin-top: 14px;
        box-sizing: border-box;
    }

    .depurarte-trust-item {
        font-size: 12px;
        box-sizing: border-box;
        max-width: 100%;
    }

    .depurarte-trust-item span {
        white-space: normal;
        text-align: left;
    }
}

/* ==========================================================================
   Animación tipo Enfoque Canva (Caracteres) & Calma Orgánica
   ========================================================================== */

/* Envoltorio de palabra para mantener estructura en saltos de línea */
.dp-word {
    display: inline-block;
    white-space: nowrap;
}

/* Animación por Carácter (Canva Focus) */
.dp-char {
    display: inline-block;
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.88) translateY(6px);
    animation: dpCanvaFocus 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.024s * var(--char-idx) + 0.15s);
    will-change: transform, opacity, filter;
}

@keyframes dpCanvaFocus {
    0% {
        opacity: 0;
        filter: blur(14px);
        transform: scale(0.88) translateY(6px);
    }
    50% {
        opacity: 0.75;
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1) translateY(0);
    }
}

/* Entrada sutil y serena de los elementos posteriores */
@keyframes dpSereneSubtleUp {
    0% {
        opacity: 0;
        transform: translateY(14px);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.depurarte-hero-description,
.depurarte-hero-actions,
.depurarte-hero-trust {
    opacity: 0;
    animation: dpSereneSubtleUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.depurarte-hero-description {
    animation-delay: 1.1s;
}

.depurarte-hero-actions {
    animation-delay: 1.4s;
}

.depurarte-hero-trust {
    animation-delay: 1.7s;
}

@media (prefers-reduced-motion: reduce) {
    .dp-char,
    .dp-word,
    .depurarte-hero-description,
    .depurarte-hero-actions,
    .depurarte-hero-trust {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        white-space: normal !important;
        display: inline !important;
    }
}

