:root {
    --primary: #a50044;
    --secondary: #004d98;
    --accent: #edbb00;
    --dark: #0f172a;
    --light: #f8fafc;
    --success: #25d366;
    --facebook: #1877f2;
    --card-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--light);
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- EMOJIS FLOTANTES DE FONDO --- */
.floating-emoji {
    position: fixed;
    top: -50px;
    font-size: 1.5rem;
    user-select: none;
    pointer-events: none;
    z-index: 9999;
    animation: floatDown 8s linear infinite;
    opacity: 0.7;
}

@keyframes floatDown {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(105vh) rotate(360deg);
        opacity: 0;
    }
}

/* --- HEADER CABECERA CORPORATIVA LIMPIA --- */

header {
    background: linear-gradient(135deg, #002d62, #004d98, #a50044);
    color: white;
    padding: 2.2rem 1.2rem;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.brand-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.4rem;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

header h1 {
    font-size: 1.65rem;
    line-height: 1.25;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

header p {
    font-size: 0.92rem;
    color: #f1f5f9;
    font-weight: 400;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.2rem;
}

/* --- HERO IMAGE CON FLOTACIÓN SUAVE --- */

.hero-wrapper {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    margin: 1rem 0 1.4rem;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- SECCIÓN DISRUPTIVA CON RECORTES CSS --- */

.disruptive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
    margin: 1.5rem 0;
}

.disruptive-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.crop-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.crop-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.crop-focus-top img { object-position: center top; }
.crop-focus-center img { object-position: center center; transform: scale(1.15); }
.crop-focus-bottom img { object-position: center bottom; }

.disruptive-card:hover .crop-container img {
    transform: scale(1.25) rotate(1deg);
}

.disruptive-body {
    padding: 1.2rem;
}

.disruptive-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.3rem;
    display: block;
}

.disruptive-body h3 {
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.disruptive-body p {
    font-size: 0.88rem;
    color: #475569;
}

/* --- BOTÓN FACEBOOK PROMINENTE --- */

.btn-facebook-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--facebook);
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    margin: 1rem 0;
    transition: transform 0.2s;
}

.btn-facebook-profile:hover {
    transform: translateY(-2px);
}

/* --- BOTÓN WHATSAPP --- */

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    text-align: center;
    padding: 1.15rem;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
    margin: 1.2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulseButton 2.5s infinite;
}

@keyframes pulseButton {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* --- CARRUSEL DE FOTOS --- */

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    margin: 1.5rem 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    background: white;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-caption {
    padding: 1rem;
    background: white;
    font-size: 0.9rem;
    color: #475569;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0.8rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

/* --- EFECTO DE NAIPE DE CARTAS EN SCROLL --- */

.card-fly-left {
    opacity: 0;
    transform: translateX(-80px) rotate(-6deg) scale(0.9);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-fly-right {
    opacity: 0;
    transform: translateX(80px) rotate(6deg) scale(0.9);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-fly-left.visible, .card-fly-right.visible {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
}

/* --- BLOQUES INFORMATIVOS --- */

.section-title {
    font-size: 1.35rem;
    color: var(--secondary);
    border-left: 4px solid var(--primary);
    padding-left: 10px;
    margin: 1.8rem 0 0.8rem;
    font-weight: 700;
}

.info-card {
    background: white;
    padding: 1.4rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    margin: 1.5rem 0;
}

.zones-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-top: 0.8rem;
}

.zones-list li {
    background: #f1f5f9;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary);
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    background: #020617;
    color: #94a3b8;
    font-size: 0.82rem;
    margin-top: 2rem;
}