/* ============================================================
   EFECTOS INNOVADORES — MV Servicios y Asesorías
   Colores del logo: verde, amarillo, rojo, azul, negro
   ============================================================ */

:root {
    --logo-green:  #00943A;
    --logo-yellow: #FFE500;
    --logo-red:    #E8161B;
    --logo-blue:   #0052A5;
    --logo-black:  #111111;
}

/* ============================================================
   1. TICKER — banda deslizante de servicios
   ============================================================ */

.ticker-wrap {
    background: var(--logo-black);
    padding: 0.55rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.ticker-track {
    display: inline-flex;
    animation: ticker-scroll 35s linear infinite;
    will-change: transform;
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 2.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.ticker-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ticker-item:nth-child(4n+1) .ticker-dot { background: var(--logo-green); }
.ticker-item:nth-child(4n+2) .ticker-dot { background: var(--logo-yellow); }
.ticker-item:nth-child(4n+3) .ticker-dot { background: var(--logo-red); }
.ticker-item:nth-child(4n+4) .ticker-dot { background: var(--logo-blue); }

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ============================================================
   2. HERO — fondo oscuro + título con gradiente animado
   ============================================================ */

.hero {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(245,206,69,0.45) 0%, transparent 52%),
        radial-gradient(ellipse at 100% 100%, rgba(0,148,58,0.20) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(0,82,165,0.13) 0%, transparent 42%),
        #faf8f2 !important;
}

/* Título hero: sin gradiente animado, colores sólidos por línea */
.hero h1 {
    background: none !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    animation: none !important;
    color: var(--color-dark);
}

.hero-line-1 {
    color: var(--logo-green);
}

.hero-line-2 {
    color: var(--color-dark);
}

.hero-content p {
    color: #374151 !important;
}

/* ============================================================
   2b. NAVBAR BRAND — nombre con gradiente animado
   ============================================================ */

.brand-text {
    background: linear-gradient(
        90deg,
        var(--logo-green)  0%,
        var(--logo-blue)   30%,
        var(--logo-red)    60%,
        var(--logo-yellow) 80%,
        var(--logo-green)  100%
    );
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s linear infinite;
    font-weight: 800 !important;
}

@keyframes gradient-shift {
    0%   { background-position: 0%   center; }
    100% { background-position: 250% center; }
}


/* ============================================================
   3. CORTE DIAGONAL en la sección hero
   ============================================================ */

.hero {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    padding-bottom: 6rem !important;
}


/* ============================================================
   4. SCROLL REVEAL — elementos que aparecen al bajar
   ============================================================ */

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* Entrada en cascada para grillas */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > *:nth-child(1)  { opacity:1; transform:none; transition-delay: 0.00s; }
.reveal-stagger.visible > *:nth-child(2)  { opacity:1; transform:none; transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3)  { opacity:1; transform:none; transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(4)  { opacity:1; transform:none; transition-delay: 0.36s; }
.reveal-stagger.visible > *:nth-child(5)  { opacity:1; transform:none; transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(6)  { opacity:1; transform:none; transition-delay: 0.60s; }
.reveal-stagger.visible > *:nth-child(7)  { opacity:1; transform:none; transition-delay: 0.72s; }
.reveal-stagger.visible > *:nth-child(8)  { opacity:1; transform:none; transition-delay: 0.84s; }
.reveal-stagger.visible > *:nth-child(9)  { opacity:1; transform:none; transition-delay: 0.96s; }
.reveal-stagger.visible > *:nth-child(10) { opacity:1; transform:none; transition-delay: 1.08s; }
.reveal-stagger.visible > *:nth-child(11) { opacity:1; transform:none; transition-delay: 1.20s; }
.reveal-stagger.visible > *:nth-child(12) { opacity:1; transform:none; transition-delay: 1.32s; }


/* ============================================================
   5. SERVICE CARDS — borde superior con colores del logo
   ============================================================ */

.service-card {
    border-top: 4px solid transparent !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.service-card:nth-child(4n+1) { border-top-color: var(--logo-green)  !important; }
.service-card:nth-child(4n+2) { border-top-color: var(--logo-blue)   !important; }
.service-card:nth-child(4n+3) { border-top-color: var(--logo-red)    !important; }
.service-card:nth-child(4n+4) { border-top-color: var(--logo-yellow) !important; }

.service-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14) !important;
}


/* ============================================================
   6. CONTADORES ANIMADOS — sección estadísticas
   ============================================================ */

.stat-number {
    display: inline-block;
    transition: color 0.2s ease;
}


/* ============================================================
   7. LÍNEA DECORATIVA MULTICOLOR (divisor de secciones)
   ============================================================ */

.color-divider {
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--logo-green)  0%,
        var(--logo-blue)   33%,
        var(--logo-red)    66%,
        var(--logo-yellow) 100%
    );
    border: none;
    margin: 0;
}


/* ============================================================
   8. AUDIENCE CARDS — hover con acento de color
   ============================================================ */

.audience-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.audience-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}


/* ============================================================
   9. NAVBAR — sticky + línea multicolor + hover animado
   ============================================================ */

.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 200 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10) !important;
}

.site-header::after {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg,
        var(--logo-green)  0%,
        var(--logo-blue)   33%,
        var(--logo-red)    66%,
        var(--logo-yellow) 100%
    );
}

.main-nav a:not(.nav-button) {
    position: relative;
    padding-bottom: 3px;
}

.main-nav a:not(.nav-button)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--logo-black);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav a:not(.nav-button):hover::after {
    width: 100%;
}

.nav-button {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 143, 61, 0.35) !important;
}


/* ============================================================
   10. FOOTER — fondo oscuro, 3 columnas, línea multicolor
   ============================================================ */

.site-footer {
    background: var(--logo-black) !important;
    color: #e5e7eb !important;
    padding: 3rem 0 0 !important;
    border-top: none !important;
    position: relative;
}

.site-footer::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg,
        var(--logo-green)  0%,
        var(--logo-blue)   33%,
        var(--logo-red)    66%,
        var(--logo-yellow) 100%
    );
    position: absolute;
    top: 0; left: 0; right: 0;
}

.footer-content {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr !important;
    gap: 3rem !important;
    align-items: start !important;
    padding-bottom: 2rem !important;
}

.footer-brand-col {}

.footer-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem;
}

.footer-brand-tagline {
    font-size: 0.88rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0 0 1.2rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #d1d5db;
    margin-bottom: 0.4rem;
    text-decoration: none;
}

.footer-contact-item:hover { color: var(--logo-yellow); }

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    margin: 0 0 1rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--logo-yellow); }

.footer-social-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-btn:hover { transform: translateY(-3px); opacity: 0.85; }
.footer-social-btn.fb   { background: #1877f2; }
.footer-social-btn.ig   { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer-social-btn.tk   { background: #010101; border: 1px solid #333; }
.footer-social-btn.wa   { background: #25d366; }

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.78rem;
    color: #6b7280;
}

.footer-bottom a {
    color: #6b7280;
    text-decoration: underline;
}

.footer-bottom a:hover { color: var(--logo-yellow); }


/* ============================================================
   11. SERVICIOS — cards de check con colores del logo
   ============================================================ */

/* services-hero usa el estilo por defecto de base.css */

.service-check-card:nth-child(4n+1):hover,
.service-check-card:nth-child(4n+1).checked {
    border-color: var(--logo-green) !important;
    background: #f0fdf4 !important;
    box-shadow: 0 0 0 3px rgba(0,148,58,0.15) !important;
}

.service-check-card:nth-child(4n+2):hover,
.service-check-card:nth-child(4n+2).checked {
    border-color: var(--logo-blue) !important;
    background: #eff6ff !important;
    box-shadow: 0 0 0 3px rgba(0,82,165,0.15) !important;
}

.service-check-card:nth-child(4n+3):hover,
.service-check-card:nth-child(4n+3).checked {
    border-color: var(--logo-red) !important;
    background: #fff1f2 !important;
    box-shadow: 0 0 0 3px rgba(232,22,27,0.12) !important;
}

.service-check-card:nth-child(4n+4):hover,
.service-check-card:nth-child(4n+4).checked {
    border-color: #b8960a !important;
    background: #fefce8 !important;
    box-shadow: 0 0 0 3px rgba(255,229,0,0.25) !important;
}

.service-check-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.service-check-card:hover {
    transform: translateY(-3px) !important;
}


/* ============================================================
   12. ABOUT HERO — sin línea extra
   ============================================================ */

.mv-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.mv-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.10) !important;
}

.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.value-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 32px rgba(0,0,0,0.10) !important;
}

/* Bordes de color en value cards */
.value-card:nth-child(6n+1) { border-top: 3px solid var(--logo-green) !important; }
.value-card:nth-child(6n+2) { border-top: 3px solid var(--logo-blue)  !important; }
.value-card:nth-child(6n+3) { border-top: 3px solid var(--logo-red)   !important; }
.value-card:nth-child(6n+4) { border-top: 3px solid var(--logo-yellow) !important; }
.value-card:nth-child(6n+5) { border-top: 3px solid var(--logo-green)  !important; }
.value-card:nth-child(6n+6) { border-top: 3px solid var(--logo-blue)   !important; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}


/* ============================================================
   RESPONSIVE — desactivar clip-path en móvil
   ============================================================ */

@media (max-width: 640px) {
    .hero {
        clip-path: none !important;
        padding-bottom: 3rem !important;
    }
}
