/* =========================================================
   DEPENDENCY BANNER SECTION (Light Premium / Editorial)
   ========================================================= */

.dependency-banner-section {
    position: relative;
    /* Optimización Móvil: Menos padding superior/inferior en móvil */
    padding: 80px 20px;
    background-color: #fafafa;
    color: #0f172a;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .dependency-banner-section {
        padding: 140px 24px;
    }
}


/* Option A: Resplandor Ambiental (Móvil) y Linterna (PC) */
.dependency-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.15) 0%, rgba(250, 250, 250, 0) 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    /* Animación de respiración para móviles */
    animation: ambientBreathe 6s infinite alternate;
}

@keyframes ambientBreathe {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

@media (min-width: 1024px) {
    .dependency-glow {
        /* En PC quitamos la animación y dejamos que JS mueva el glow */
        animation: none;
        opacity: 0; 
        /* Se activa por JS */
        top: 0; left: 0; transform: none;
        width: 1200px; height: 1200px;
        background: radial-gradient(circle, rgba(255, 69, 0, 0.12) 0%, rgba(250, 250, 250, 0) 60%);
    }
}

.dependency-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

@media (min-width: 1024px) {
    .dependency-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 80px;
    }
}

/* Left Column: The Big Question */
.dependency-content-left {
    flex: 1;
    width: 100%;
    max-width: 600px;
    text-align: center; /* Móvil por defecto */
}

@media (min-width: 1024px) {
    .dependency-content-left {
        text-align: left;
    }
}

.dependency-eyebrow {
    font-family: var(--font-sans), 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ff4500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 69, 0, 0.05);
    padding: 6px 16px;
    border-radius: 20px;
}

@media (min-width: 1024px) {
    .dependency-eyebrow {
        justify-content: flex-start;
        background: none;
        padding: 0;
        border-radius: 0;
    }
    .dependency-eyebrow::before {
        content: '';
        display: block;
        width: 24px;
        height: 2px;
        background-color: #ff4500;
    }
}

/* Option C: Tipografía y Revelado Fluido */
.dependency-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
    /* Preparando para el stagger */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2em;
}

@media (min-width: 1024px) {
    .dependency-title {
        justify-content: flex-start;
    }
}

.dependency-title span.grad {
    /* Degradado Naranja/Cobrizo */
    background: linear-gradient(135deg, #ff4500 0%, #d83400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    width: 100%;
}

.dependency-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: 0 4px 6px 4px;
    margin: 0 -4px -6px -4px;
}

.dependency-word-inner {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.dependency-title.visible .dependency-word-inner {
    transform: translateY(0);
    opacity: 1;
}

/* Right Column: The Solution Card */
.dependency-content-right {
    flex: 0 0 100%;
    width: 100%;
    max-width: 500px;
}

@media (min-width: 1024px) {
    .dependency-content-right {
        flex: 0 0 450px;
    }
}

.dependency-card {
    background: #ffffff;
    border-radius: 20px;
    /* Padding generoso pero adaptado a móvil */
    padding: 32px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 
                0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .dependency-card {
        padding: 50px 40px;
    }
}

.dependency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), 
                0 4px 12px rgba(0, 0, 0, 0.03);
}

.dependency-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 69, 0, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4500;
    margin-bottom: 24px;
    /* Para centrar en móvil */
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .dependency-card-icon {
        margin-left: 0;
        margin-right: 0;
    }
}

.dependency-card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.dependency-card-text {
    font-family: var(--font-sans), 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
    text-align: center;
}

@media (min-width: 1024px) {
    .dependency-card-text {
        font-size: 1.15rem;
        text-align: left;
    }
}

.dependency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #0f172a;
    color: #ffffff;
    font-family: var(--font-sans), 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .dependency-btn {
        font-size: 1.05rem;
        padding: 20px 28px;
    }
}

.dependency-btn:hover {
    background-color: #ff4500;
    color: #ffffff;
}

.dependency-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .dependency-btn-icon {
        width: 32px;
        height: 32px;
    }
}

.dependency-btn:hover .dependency-btn-icon {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.2);
}

.dependency-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Reveal Animation */
.dependency-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-2 { transition-delay: 0.3s; }

