/* ============================================================
 * ANIMACIONES GLOBALES — SKYDROP DELIVERY
 * ============================================================ */

/* ===== LOGO HORIZONTAL EN NAVBAR ===== */
.logo-wrap { display: inline-flex; align-items: center; text-decoration: none; }
.logo-wrap img.custom-logo,
.logo-wrap img.logo-horizontal {
    height: 54px !important; width: auto;
    max-width: 260px; object-fit: contain;
    transition: transform 0.3s ease;
}
.logo-wrap:hover img { transform: scale(1.04); }

.footer-brand img.custom-logo,
.footer-brand img.logo-horizontal { height: 68px !important; width: auto; filter: brightness(1.05); }

@media (max-width: 968px) {
    .logo-wrap img { height: 44px !important; max-width: 210px; }
}

/* ===== SCROLL REVEAL ===== */
[data-anim] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
[data-anim="fade-up"]    { transform: translateY(40px); }
[data-anim="fade-down"]  { transform: translateY(-40px); }
[data-anim="fade-left"]  { transform: translateX(40px); }
[data-anim="fade-right"] { transform: translateX(-40px); }
[data-anim="zoom-in"]    { transform: scale(0.9); }
[data-anim="zoom-out"]   { transform: scale(1.1); }
[data-anim].in-view      { opacity: 1; transform: translate(0,0) scale(1); }

[data-anim-delay="1"] { transition-delay: 0.1s; }
[data-anim-delay="2"] { transition-delay: 0.2s; }
[data-anim-delay="3"] { transition-delay: 0.3s; }
[data-anim-delay="4"] { transition-delay: 0.4s; }
[data-anim-delay="5"] { transition-delay: 0.5s; }
[data-anim-delay="6"] { transition-delay: 0.6s; }

/* ===== ANIMACIÓN CONTINUA DEL HERO ===== */
.hero-slider .hero-slide {
    transform: scale(1.05);
    animation: kenburns 12s ease-in-out infinite alternate;
}
@keyframes kenburns {
    0%   { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, -1%); }
}

.hero-eyebrow { animation: fadeInDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.hero h1      { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.hero .lead   { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both; }
.hero .hero-ctas { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both; }
.hero .hero-stats{ animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s both; }

@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } }

/* ===== HOVER MAGNÉTICO EN TARJETAS ===== */
.audience-card, .feature-card, .service-card, .value-card, .pitch-card, .tech-card, .investor-stat-card, .mv-card, .step-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease, border-color 0.3s ease;
}

/* Hover “lift + glow” */
.audience-card:hover, .feature-card:hover, .value-card:hover, .pitch-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 60px rgba(30, 111, 184, 0.22);
}
.service-card:hover { transform: translateY(-12px) scale(1.015); box-shadow: 0 30px 80px rgba(10, 37, 64, 0.25); }
.tech-card:hover    { transform: translateY(-8px) scale(1.02); }

/* ===== ANIMACIÓN EN BOTONES ===== */
.btn { position: relative; overflow: hidden; }
.btn::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; background: rgba(255,255,255,0.35);
    border-radius: 50%; transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}
.btn:hover::after { width: 320px; height: 320px; }
.btn-gold:hover { animation: pulse-gold 1.4s ease infinite; }
@keyframes pulse-gold {
    0%,100% { box-shadow: 0 10px 28px rgba(255, 184, 0, 0.45); }
    50%     { box-shadow: 0 10px 40px rgba(255, 184, 0, 0.75); }
}

/* ===== NAVBAR ANIMADO ===== */
.navbar { animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(0); } }

.nav-menu a::before {
    content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--gold);
    transition: width 0.3s ease;
}
.nav-menu a { position: relative; }
.nav-menu a:hover::before { width: 60%; }

/* ===== ICONOS PULSANTES ===== */
.audience-icon svg, .feature-icon svg, .tech-icon svg {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.audience-card:hover .audience-icon svg,
.feature-card:hover .feature-icon svg,
.tech-card:hover    .tech-icon svg { transform: rotate(-6deg) scale(1.15); }

/* ===== GRADIENT ANIMADO EN CTA ===== */
.cta-band {
    background: linear-gradient(135deg, #0a2540, #143464, #1e6fb8, #0a2540);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
    0%,100% { background-position: 0% 50%; }
    50%     { background-position: 100% 50%; }
}

/* ===== NÚMEROS DE ESTADÍSTICAS ===== */
.stat-num, .investor-stat-card .num, .pitch-card .big-num {
    background: linear-gradient(120deg, #ffb800, #ff8c00, #ffb800);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ===== PANORÁMICO ===== */
.panoramic-section { padding: 100px 0; background: var(--gray-50); }
.panoramic-slider {
    position: relative; width: 100%; height: 62vh; max-height: 700px; min-height: 400px;
    border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(10, 37, 64, 0.25);
}
.panoramic-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease, transform 8s linear;
    transform: scale(1.05);
}
.panoramic-slide.active { opacity: 1; transform: scale(1.15); }
.panoramic-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,37,64,0.2) 0%, rgba(10,37,64,0.75) 100%);
}
.panoramic-content {
    position: absolute; bottom: 60px; left: 60px; z-index: 3; color: white; max-width: 640px;
    animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.panoramic-content .caption-eyebrow {
    display: inline-block; padding: 6px 16px; background: rgba(255,184,0,0.2);
    border: 1px solid rgba(255,184,0,0.5); color: var(--gold);
    border-radius: 100px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.panoramic-content h3 { color: white; font-size: clamp(1.6rem, 3vw, 2.6rem); margin-bottom: 12px; }
.panoramic-content p { color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.panoramic-dots {
    position: absolute; bottom: 30px; right: 40px; display: flex; gap: 10px; z-index: 5;
}
.panoramic-dots button {
    width: 40px; height: 5px; border: none; background: rgba(255,255,255,0.35);
    border-radius: 5px; cursor: pointer; transition: all 0.3s;
}
.panoramic-dots button.active { background: var(--gold); width: 70px; }

@keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-40px); } 100% { opacity: 1; transform: translateX(0); } }

@media (max-width: 768px) {
    .panoramic-slider { height: 55vh; border-radius: 18px; }
    .panoramic-content { left: 24px; right: 24px; bottom: 32px; }
    .panoramic-dots { right: 20px; bottom: 20px; }
}

/* ===== CARRUSEL DE FOTOS ===== */
.gallery-carousel {
    position: relative; padding: 20px 0; margin: 0 -20px;
    overflow: hidden;
}
.gallery-track {
    display: flex; gap: 24px; padding: 0 20px;
    animation: scrollGallery 40s linear infinite;
    width: max-content;
}
.gallery-carousel:hover .gallery-track { animation-play-state: paused; }
.gallery-item {
    flex-shrink: 0; width: 320px; height: 320px;
    border-radius: 22px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(10, 37, 64, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; cursor: pointer;
    background-size: cover; background-position: center;
}
.gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 60px rgba(10, 37, 64, 0.3);
}
.gallery-item::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10,37,64,0.7) 100%);
    opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .gallery-cap {
    position: absolute; bottom: 22px; left: 24px; right: 24px; z-index: 2;
    color: white; font-weight: 600; font-size: 0.95rem;
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.4s, transform 0.4s;
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }

@keyframes scrollGallery { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== FLOATING PARTICLE (efecto decorativo) ===== */
.floating-orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(0,180,216,0.35), transparent 70%);
    animation: float 8s ease-in-out infinite;
    filter: blur(20px);
}
@keyframes float {
    0%,100% { transform: translate(0, 0) scale(1); }
    50%     { transform: translate(30px, -30px) scale(1.15); }
}

/* ===== LOADING BAR (top page loader) ===== */
.page-loader {
    position: fixed; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--cyan), var(--gold));
    background-size: 200% 100%;
    z-index: 10000; transform-origin: left;
    animation: loaderMove 2s ease-out forwards, loaderShine 2s linear infinite;
}
@keyframes loaderMove { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes loaderShine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== MAGNIFIC EFFECT (fotografía con zoom) ===== */
.zoomable { cursor: zoom-in; transition: transform 0.3s ease; }
.zoomable:hover { transform: scale(1.02); }

.lightbox {
    position: fixed; inset: 0; background: rgba(10, 31, 61, 0.96);
    display: none; align-items: center; justify-content: center;
    z-index: 100000; padding: 5vh 5vw;
    backdrop-filter: blur(6px); animation: fadeIn 0.3s ease;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.lightbox-close {
    position: absolute; top: 24px; right: 24px; width: 48px; height: 48px;
    border: 2px solid rgba(255,255,255,0.35); background: transparent;
    color: white; font-size: 24px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s;
}
.lightbox-close:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes zoomIn { 0% { opacity: 0; transform: scale(0.85); } 100% { opacity: 1; transform: scale(1); } }
