/* ============================================
   SILVENZA — Premium minimal (home + nav + hero)
   ============================================ */

/* --- Más aire en secciones --- */
.site-page--home .site-main .section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .site-page--home .site-main .section {
        padding: 4rem 0;
    }
}

/* --- Hero minimal --- */
.hero--minimal {
    min-height: auto;
    padding: 0 0 3rem;
}

.hero--minimal .hero-cinematic-bg {
    background: linear-gradient(165deg, #0f1824 0%, var(--primary-navy, #1f2a3a) 55%, #152030 100%);
}

.hero--minimal .hero-network-canvas {
    opacity: 0.35;
}

.hero--minimal .hero-video-bg {
    opacity: 0.12;
}

.hero--minimal .hero-network-vignette {
    background: radial-gradient(ellipse 80% 70% at 50% 40%, transparent 0%, rgba(15, 24, 36, 0.85) 100%);
}

.hero--minimal .hero-container--cinematic {
    padding-top: 7.5rem;
    padding-bottom: 1rem;
}

.hero--minimal .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(183, 142, 72, 0.9);
    margin-bottom: 1.25rem;
}

.hero--minimal .hero-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    max-width: 32rem;
}

.hero-cta-group--minimal {
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-cta-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.35rem 0;
    border: none;
    background: none;
}

.hero-cta-link:hover {
    color: var(--primary-gold, #b78e48);
}

.hero--minimal .impact-carousel-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.75rem;
}

/* --- Nav premium reducido --- */
.main-header.header--minimal .nav-container {
    height: 68px;
}

.main-header.header--minimal .logo-image {
    height: 52px;
    max-width: 200px;
}

.main-header.header--minimal.header-scrolled .logo-image {
    height: 44px;
}

.main-header.header--minimal {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(31, 42, 58, 0.08);
    box-shadow: none;
}

.main-header.header--minimal.header-scrolled {
    box-shadow: 0 4px 24px rgba(15, 24, 36, 0.06);
}

.nav-menu .nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.nav-link--dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0.5rem 0.85rem;
}

.nav-dropdown-chevron {
    font-size: 0.65rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.nav-item-dropdown.is-open .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-item-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 180px;
    margin: 0;
    padding: 0.45rem;
    list-style: none;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(31, 42, 58, 0.08);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 24, 36, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1100;
}

.nav-item-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 0.65rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--primary-navy, #1f2a3a);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active {
    background: rgba(183, 142, 72, 0.1);
    color: var(--primary-gold, #b78e48);
}

.nav-link--cta {
    padding: 0.5rem 1.1rem !important;
    border-radius: 50px !important;
    font-size: 0.86rem !important;
    background: transparent !important;
    color: var(--primary-navy, #1f2a3a) !important;
    border: 1px solid rgba(183, 142, 72, 0.55) !important;
    box-shadow: none !important;
}

.nav-link--cta:hover,
.nav-link--cta.active {
    background: var(--primary-gold, #b78e48) !important;
    color: var(--primary-white, #fff) !important;
    border-color: var(--primary-gold, #b78e48) !important;
}

/* --- Home: confianza unificada --- */
.site-page--home .home-trust {
    background: linear-gradient(165deg, #0f1824 0%, var(--primary-navy, #1f2a3a) 50%, #152030 100%) !important;
    padding: 5.5rem 0 4rem;
}

.site-page--home .home-trust .section-title {
    color: var(--primary-white) !important;
    -webkit-text-fill-color: var(--primary-white) !important;
    background: none !important;
}

.site-page--home .home-trust .section-subtitle {
    color: rgba(255, 255, 255, 0.72) !important;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.home-trust-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.home-trust-standards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-bottom: 2.75rem;
}

.home-trust-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(183, 142, 72, 0.2);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.home-trust-pill:hover {
    border-color: rgba(183, 142, 72, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

.home-trust-pill-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(183, 142, 72, 0.12);
    color: var(--primary-gold, #b78e48);
}

.home-trust-pill-icon .silvenza-icon {
    width: 18px;
    height: 18px;
}

.home-trust-pill strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.home-trust-pill span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
}

.home-trust-logos {
    position: relative;
}

.home-trust-logos .clients-showcase {
    margin-top: 0;
}

/* KPIs más discretos */
.home-kpis-float {
    margin-top: -2rem;
    position: relative;
    z-index: 3;
}

/* Animaciones más lentas */
.scroll-reveal,
.scroll-reveal-left,
.scroll-reveal-right {
    transition-duration: 0.65s !important;
}

/* WhatsApp solo móvil */
@media (min-width: 993px) {
    .nav-item-dropdown:hover .nav-dropdown,
    .nav-item-dropdown:focus-within .nav-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

@media (min-width: 993px) {
    .whatsapp-float {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .nav-item-dropdown .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: rgba(31, 42, 58, 0.04);
        margin: 0 1rem 0.5rem;
        padding: 0.25rem 0;
        display: none;
    }

    .nav-item-dropdown.is-open .nav-dropdown {
        display: block;
    }

    .nav-link--dropdown {
        width: 100%;
        justify-content: space-between;
        padding: 0.9rem 1.5rem;
    }

    .nav-dropdown-link {
        padding: 0.75rem 1.25rem;
    }

    .hero-cta-group--minimal {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-link {
        text-align: center;
    }

    .home-trust-standards {
        grid-template-columns: 1fr 1fr;
    }

    .main-header.header--minimal .nav-container {
        height: 64px;
    }
}

@media (max-width: 576px) {
    .home-trust-standards {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right {
        transition-duration: 0.01ms !important;
    }
}
