/* ============================================
   KIA HONDURAS - FIFA WORLD CUP 2026
   Alex López Toro
   alexlopez@kiahonduras.com 
   ============================================ */

/* ============================================
   1. FONT FACES
   ============================================ */
@font-face {
			font-family: 'Kia Signature';
			src: url('https://fifa.kiahonduras.com/fonts/KiaSignatureFixOTFRegular.otf') format('opentype');
			font-weight: normal;
			font-style: normal;
		}

		@font-face {
			font-family: 'Kia Signature';
			src: url('https://fifa.kiahonduras.com/fonts/KiaSignatureFixOTFBold.otf') format('opentype');
			font-weight: bold;
			font-style: normal;
		}

		@font-face {
			font-family: 'Kia Signature Light';
			src: url('https://fifa.kiahonduras.com/fonts/KiaSignatureFixOTFLight.otf') format('opentype');
			font-weight: 300;
			font-style: normal;
		}

/* ============================================
   2. CSS VARIABLES
   ============================================ */
:root {
    --kia-black: #05141F;
    --kia-dark-gray: #6D6E71;
    --kia-white: #FFFFFF;
    --kia-gray: #939598;
    --kia-light-gray: #C7C8CA;
    --fifa-blue: #05141F;
}

/* ============================================
   3. GLOBAL RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kia Signature', sans-serif;
    color: var(--kia-black);
    overflow-x: hidden;
    background: var(--kia-black);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

/* ============================================
   4. CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--kia-white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.custom-cursor.click {
    transform: scale(0.5);
    background: var(--kia-white);
}

/* ============================================
   5. FLOATING BACKGROUND ELEMENTS
   ============================================ */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.floating-ball {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    opacity: 0.3;
    animation: float-random 20s infinite ease-in-out;
}

.floating-ball:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.floating-ball:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: -5s;
    width: 30px;
    height: 30px;
}

.floating-ball:nth-child(3) {
    top: 30%;
    left: 70%;
    animation-delay: -10s;
}

.floating-ball:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: -15s;
    width: 35px;
    height: 35px;
}

.floating-ball:nth-child(5) {
    top: 45%;
    left: 50%;
    animation-delay: -8s;
}

@keyframes float-random {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-15px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(30px, 10px) rotate(270deg);
    }
}

/* ============================================
   6. SCROLL SNAP & Z-INDEX STACKING
   ============================================ */
.hero-section,
.mascots-section,
.countdown-section,
.steps-section,
.info-section,
.worldcup-section,
.social-section,
.registro-section,
.kia-footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hero-section {
    z-index: 1;
}

.mascots-section {
    z-index: 25;
}

.countdown-section {
    z-index: 20;
}

.steps-section {
    z-index: 30;
}

.info-section {
    z-index: 40;
}

.worldcup-section {
    z-index: 50;
}

.social-section {
    z-index: 55;
}

.kia-footer {
    z-index: 60;
    position: relative;
}

/* ============================================
   7. NAVBAR - CENTERED & DYNAMIC
   ============================================ */
.navbar-custom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}



.navbar-custom.scrolled {
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-custom.nav-dark {
    background: rgba(5, 20, 31, 0.95);
}

.navbar-custom.nav-light {
    background: rgba(255, 255, 255, 0.95);
}

.navbar-custom.nav-gray {
    background: rgba(199, 200, 202, 0.95);
}

.navbar-custom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-custom .container::before {
    content: '';
    flex: 1;
}

.composite-logo {
    position: relative;
    height: 50px;
}

.composite-logo-white,
.composite-logo-dark {
    height: 50px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.composite-logo-white {
    opacity: 1;
}

.composite-logo-dark {
    opacity: 0;
}

.navbar-custom.show-dark-logo .composite-logo-white {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
}

.navbar-custom.show-dark-logo .composite-logo-dark {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.navbar-terms-link {
    color: var(--kia-white);
    text-decoration: none;
    font-family: 'Kia Signature', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.navbar-terms-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.navbar-terms-link:hover::after {
    width: 100%;
}

/* --- Navbar móvil: logo izquierda, link derecha --- */
@media (max-width: 767px) {
    .navbar-custom .container {
        justify-content: space-between;
    }

    .navbar-custom .container::before {
        display: none;
    }

    .composite-logo {
        height: 38px;
        width: auto;
        flex-shrink: 0;
    }

    .composite-logo-white,
    .composite-logo-dark {
        height: 38px;
        position: static;
        left: auto;
        transform: none !important;
    }

    /* Para el estado scrolled (show-dark-logo), mantener transform solo en Y */
    .navbar-custom.show-dark-logo .composite-logo-white {
        opacity: 0;
        transform: translateY(-10px) !important;
    }

    .navbar-custom.show-dark-logo .composite-logo-dark {
        opacity: 1;
        transform: translateY(0) !important;
    }

    /* El contenedor del logo en móvil usa position:relative para superponer los dos logos */
    .composite-logo {
        position: relative;
        width: 120px; /* ajusta según el ancho real del logo */
    }

    .composite-logo-white,
    .composite-logo-dark {
        position: absolute;
        left: 0;
        top: 0;
        transform: none !important;
    }

    .navbar-custom.show-dark-logo .composite-logo-white {
        transform: translateY(-10px) !important;
    }

    .navbar-custom.show-dark-logo .composite-logo-dark {
        transform: translateY(0) !important;
    }

    .navbar-terms-link {
        font-size: 0.75rem;
        text-align: right;
    }
}

/* ============================================
   8. ANIMATED TROPHY
   ============================================ */
.hero-trophy {
    position: fixed;
    left: 50%;
    bottom: 10vh;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
    transition: all 0.1s ease-out;
    will-change: transform, opacity;
}

.hero-trophy img {
    height: 140px;
    width: auto;
}

.hero-trophy.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   9. HERO SECTION
   ============================================ */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('https://www.kia.cl/descubre-kia/noticias-kia/kia-noticias-2025/septiembre/kia-chile-auto-oficial-copa-mundial-sub-20-fifa-chile-2025/_jcr_content/root/container_982483139/container_331111640/image.coreimg.jpeg/1759173917257/kia-chile---entrega-flota-mundial-sub-20-nota-portada-1.jpeg');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(5, 20, 31, 0.75) 0%, 
        rgba(5, 20, 31, 0.3) 50%,
        rgba(5, 20, 31, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--kia-white);
    padding: 0 60px;
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-pretitle {
    font-family: 'Kia Signature Light';
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title {
    font-family: 'Kia Signature Bold', sans-serif;
    font-weight:bold;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    margin: 20px 0;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
    letter-spacing: -2px;
    max-width: 700px;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
    font-weight: 300;
    max-width: 550px;
    line-height: 1.6;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-hero-primary {
    background: var(--kia-white);
    color: var(--kia-black);
    padding: 14px 35px;
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary:hover {
    background: var(--kia-black);
    color: var(--kia-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Video visibility - Default: Desktop */
.hero-video-desktop {
    display: block;
}

.hero-video-mobile {
    display: none;
}

/* Mobile devices - Portrait orientation (9:16 ratio) */
@media (max-width: 768px) and (orientation: portrait) {
    .hero-video-desktop {
        display: none;
    }
    
    .hero-video-mobile {
        display: block;
    }
}

/* Additional support for aspect ratio */
@media (max-aspect-ratio: 9/16) {
    .hero-video-desktop {
        display: none;
    }
    
    .hero-video-mobile {
        display: block;
    }
}

/* Ensure proper video sizing for mobile vertical video */
@media (max-width: 768px) and (orientation: portrait) {
    .hero-video-mobile {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}
/* ============================================
   10. MASCOTS SECTION
   ============================================ */
.mascots-section {
    min-height: 300vh;
    position: relative;
    background: var(--kia-black);
}

.mascots-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.mascots-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mascot-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.mascot-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%) scale(0.5);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mascot-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.mascot-slide.previous {
    opacity: 0;
    transform: translateX(-100%) scale(0.5);
    z-index: 1;
}

.mascot-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.2));
}

.mascot-info {
    padding: 40px;
}

.mascot-label {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: 2.8rem;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: var(--kia-white);
    margin-bottom: 45px;
}

.mascot-name {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--kia-white);
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 30px;
    line-height: 0.9;
}

.mascot-name img {
    max-width: 100%;
    height: auto;
}

.mascot-description {
    font-size: 1.1rem;
    color: var(--kia-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.mascot-progress {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.progress-item {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-item.active {
    background: var(--kia-white);
    height: 40px;
    border-radius: 6px;
}

/* ============================================
   11. COUNTDOWN SECTION
   ============================================ */
.countdown-section {
    background: var(--fifa-blue);
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.countdown-blocks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.countdown-block {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(0deg);
}

.countdown-block:nth-child(1) {
    width: 150px;
    height: 80px;
    top: 10px;
    left: 5%;
}

.countdown-block:nth-child(2) {
    width: 120px;
    height: 70px;
    top: 10px;
    left: 20%;
}

.countdown-block:nth-child(3) {
    width: 180px;
    height: 90px;
    top: 10px;
    left: 40%;
}

.countdown-block:nth-child(4) {
    width: 140px;
    height: 75px;
    top: 10px;
    left: 60%;
}

.countdown-block:nth-child(5) {
    width: 160px;
    height: 85px;
    top: 10px;
    left: 75%;
}

.countdown-block:nth-child(6) {
    width: 130px;
    height: 80px;
    top: 10px;
    left: 90%;
}

.countdown-block:nth-child(7) {
    width: 200px;
    height: 100px;
    bottom: 10px;
    left: 0%;
}

.countdown-block:nth-child(8) {
    width: 170px;
    height: 90px;
    bottom: 10px;
    left: 15%;
}

.countdown-block:nth-child(9) {
    width: 150px;
    height: 85px;
    bottom: 10px;
    left: 35%;
}

.countdown-block:nth-child(10) {
    width: 180px;
    height: 95px;
    bottom: 10px;
    left: 52%;
}

.countdown-block:nth-child(11) {
    width: 160px;
    height: 88px;
    bottom: 10px;
    left: 70%;
}

.countdown-block:nth-child(12) {
    width: 190px;
    height: 92px;
    bottom: 10px;
    left: 85%;
}

.countdown-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--kia-white);
    max-width: 1200px;
    padding: 0 20px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 4vw, 40px);
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.countdown-unit {
    text-align: center;
    min-width: clamp(80px, 12vw, 140px);
}

.countdown-number {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1;
    color: var(--kia-white);
    margin-bottom: 12px;
    display: block;
    font-weight: 900;
    letter-spacing: -2px;
}

.countdown-separator {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1;
    color: var(--kia-white);
    font-weight: 900;
    display: flex;
    align-items: center;
    opacity: 0.6;
}

.countdown-text {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    font-family: 'Kia Signature Light';
}

.countdown-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    line-height: 1.6;
    opacity: 0.95;
    font-family: 'Kia Signature Light';
    letter-spacing: 1px;
}

/* ============================================
   12. STEPS SECTION
   ============================================ */
.steps-section {
    background: var(--kia-white);
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-pretitle {
    font-family: 'Kia Signature Light';
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--kia-gray);
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Kia Signature Bold', sans-serif;        
    font-weight:bold;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--kia-black);
    letter-spacing: -1px;
}

.steps-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 30px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--kia-light-gray);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(1) .timeline-content-left {
    order: 1;
}

.timeline-item:nth-child(1) .timeline-center {
    order: 2;
}

.timeline-item:nth-child(1) .timeline-content-right {
    order: 3;
}

.timeline-item:nth-child(2) .timeline-content-left {
    order: 1;
}

.timeline-item:nth-child(2) .timeline-center {
    order: 2;
}

.timeline-item:nth-child(2) .timeline-content-right {
    order: 3;
}

.timeline-item:nth-child(3) .timeline-content-left {
    order: 1;
}

.timeline-item:nth-child(3) .timeline-center {
    order: 2;
}

.timeline-item:nth-child(3) .timeline-content-right {
    order: 3;
}

.timeline-content-left,
.timeline-content-right {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.timeline-content-left:empty,
.timeline-content-right:empty {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.timeline-content-left:hover,
.timeline-content-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.timeline-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--kia-black);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
        font-family: 'Kia Signature Bold', sans-serif;
    font-weight:bold;
    font-size: 1.3rem;
    box-shadow: 0 0 0 6px white, 0 0 0 8px var(--kia-light-gray);
}

.step-title {
        font-family: 'Kia Signature Bold', sans-serif;
    font-weight:bold;
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--kia-black);
}

.step-description {
    color: var(--kia-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   13. INFO SECTION
   ============================================ */
.info-section {
    background: var(--kia-black);
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.info-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.info-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5);
}

.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        125deg,
        rgba(5, 20, 31, 0.85) 0%,
        rgba(5, 20, 31, 0.75) 30%,
        rgba(5, 20, 31, 0.85) 70%
    );
    z-index: 1;
}

.info-section .container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
}

.info-header-premium {
    text-align: center;
    margin-bottom: 80px;
}

.info-pretitle {
    font-family: 'Kia Signature Light';
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.info-title-premium {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: clamp(2.5rem, 6vw, 3rem);
    color: var(--kia-white);
    letter-spacing: -2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.info-divider {
    width: 100px;
    height: 3px;
    background: var(--kia-white);
    margin: 0 auto;
}

.info-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.info-card-premium {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 50px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--kia-white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card-premium:hover::before {
    transform: scaleX(1);
}

.info-card-premium.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-card-premium:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.info-card-number {
           font-family: 'Kia Signature Bold', sans-serif;
    font-weight:bold;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.08);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -3px;
}

.info-card-icon-premium {
    font-size: 2.5rem;
    color: var(--kia-white);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.info-card-title-premium {
            font-family: 'Kia Signature Bold', sans-serif;
    font-weight:bold;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--kia-white);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.info-card-text-premium {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.info-card-text-premium strong {
    color: var(--kia-white);
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
}

/* ============================================
   14. WORLD CUP SECTION
   ============================================ */
.worldcup-section {
    background: var(--kia-white);
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* DIVISI�0�7N DE COLORES - Mitad y Mitad */
.worldcup-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--kia-black);
    z-index: 0;
}

.worldcup-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

.worldcup-text {
    color: var(--kia-black); /* Asegurar texto negro sobre fondo blanco */
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.worldcup-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.worldcup-pretitle {
    font-family: 'Kia Signature Light';
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--kia-gray);
    margin-bottom: 20px;
}

.worldcup-title {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -2px;
    color: var(--kia-black); /* Negro para fondo blanco */
}

.worldcup-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--kia-gray);
    margin-bottom: 40px;
}

.worldcup-cta {
    display: inline-block;
    background: var(--kia-black);
    color: var(--kia-white);
    padding: 18px 45px;
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1rem;
}

.worldcup-cta:hover {
    background: var(--kia-gray);
    color: var(--kia-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.worldcup-trophy {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateX(50px) scale(0.9);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    z-index: 2;
}

.worldcup-trophy.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.worldcup-trophy-inner {
    position: relative;
    will-change: transform;
}

.worldcup-trophy img {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    filter: drop-shadow(0 30px 80px rgba(255, 215, 0, 0.1));
    animation: floatTrophy 6s ease-in-out infinite;
}

@keyframes floatTrophy {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.worldcup-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}
/* ============================================
   15. SOCIAL SECTION
   ============================================ */
.social-section {
    background: var(--kia-white);
    height: 100vh;
    min-height: 100vh;
    padding: 40px 0 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-section .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1600px;
    width: 100%;
}

.social-header {
    text-align: center;
    margin-bottom: 25px;
    color: var(--kia-black);
}

.social-pretitle {
    font-family: 'Kia Signature Light';
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--kia-gray);
    margin-bottom: 8px;
}

.social-title {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    color: var(--kia-black);
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.social-subtitle {
    font-size: 0.95rem;
    color: var(--kia-gray);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
}

.instagram-masonry {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-auto-rows: 105px;
    gap: 10px;
    max-width: 1500px;
    margin-left:50px;
    padding: 0 40px;
    height: auto;
}

.instagram-post {
    background: var(--kia-light-gray);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: block;
}

.instagram-post:nth-child(1) {
    grid-column: span 4;
    grid-row: span 4;
}

.instagram-post:nth-child(2) {
    grid-column: span 2;
    grid-row: span 4;
}

.instagram-post:nth-child(3) {
    grid-column: span 3;
    grid-row: span 3;
}

.instagram-post:nth-child(4) {
    grid-column: span 1;
    grid-row: span 2;
}
.instagram-post:nth-child(5) {
    grid-column: span 1;
    grid-row: span 2;
}
.instagram-cta-card {
    grid-column: span 3;
    grid-row: span 1;
    background: var(--kia-black);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--kia-white);
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.instagram-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.instagram-cta-card:hover::before {
    left: 100%;
}

.instagram-cta-card:hover {
    background: var(--kia-dark-gray);
    color: var(--kia-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.instagram-cta-card i {
    font-size: 1.1rem;
}

.instagram-post:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.instagram-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 20, 31, 0.3), rgba(5, 20, 31, 0.15));
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.instagram-post:hover::before {
    opacity: 0.7;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.instagram-post:hover img {
    transform: scale(1.08);
}

.instagram-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.4s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    letter-spacing: 0.5px;
}

.instagram-post:nth-child(1) .instagram-overlay,
.instagram-post:nth-child(6) .instagram-overlay {
    padding: 12px 14px;
    font-size: 0.8rem;
}

.instagram-post:hover .instagram-overlay {
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4));
}

.instagram-post:nth-child(1):hover .instagram-overlay,
.instagram-post:nth-child(6):hover .instagram-overlay {
    padding: 14px 16px;
}

.instagram-overlay i {
    font-size: 1rem;
}

.instagram-post:nth-child(1) .instagram-overlay i,
.instagram-post:nth-child(6) .instagram-overlay i {
    font-size: 1.2rem;
}

.social-cta {
    display: none;
}

/* ============================================
   16. FOOTER
   ============================================ */
.kia-footer {
    background: var(--kia-black);
    color: var(--kia-white);
    padding: 80px 0 30px;
    border-top: 2px solid var(--kia-white);
}

.footer-content {
    margin-bottom: 50px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 25px;
}

.footer-description {
    color: var(--kia-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 400px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-social-icons a:hover {
    background: white;
    color: var(--kia-dark-gray);
    transform: translateY(-5px);
}

.footer-section h5 {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--kia-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-left: 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--kia-white);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 0;
}

.footer-links a:hover::after {
    width: 100%;
}

/* ============================================
   FOOTER BOTTOM - FLEX LAYOUT
   ============================================ */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--kia-gray);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    margin: 0;
}

.footer-terms-link {
    color: var(--kia-white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    cursor: pointer;
}

.footer-terms-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--kia-white);
    transition: width 0.3s ease;
}

.footer-terms-link:hover {
    color: var(--kia-white);
}

.footer-terms-link:hover::after {
    width: 100%;
}

/* ============================================
   MODAL TERMS AND CONDITIONS - DARK THEME
   ============================================ */
.modal-dark .modal-content {
    background: var(--kia-black);
    color: var(--kia-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.modal-dark .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
}

.modal-dark .modal-title {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--kia-white);
}

.modal-dark .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-dark .btn-close:hover {
    opacity: 1;
}

.modal-dark .modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-dark .modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-dark .modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal-dark .modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.modal-dark .modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.terms-content h3 {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: 1.2rem;
    color: var(--kia-white);
    margin-top: 25px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.terms-content ul {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 25px;
}

.terms-content ul li {
    margin-bottom: 10px;
}

.terms-content strong {
    color: var(--kia-white);
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
}

.terms-highlight {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-left: 3px solid var(--kia-white);
    margin: 25px 0;
}

.terms-highlight p {
    margin-bottom: 0;
    color: var(--kia-white);
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-info h4 {
            font-family: 'Kia Signature Bold', sans-serif;     font-weight:bold;
    font-size: 1.1rem;
    color: var(--kia-white);
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    color: var(--kia-white);
    text-decoration: underline;
}

.contact-info a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-dark .modal-body {
        padding: 20px;
        max-height: 60vh;
    }
    
    .terms-content h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   17. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--kia-white);
    color: var(--kia-black);
    border: none;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--kia-black);
    color: var(--kia-white);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

/* ============================================
   18. UTILITY CLASSES
   ============================================ */
.parallax-content {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.parallax-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   19. RESPONSIVE DESIGN
   ============================================ */

/* Tablets & Medium Devices (max-width: 1400px) */
@media (max-width: 1400px) {
    .instagram-masonry {
        grid-template-columns: repeat(7, 1fr);
        grid-auto-rows: 95px;
        max-width: 1300px;
    }
    
    .instagram-post:nth-child(1) {
        grid-column: span 3;
        grid-row: span 3;
    }
    
    .instagram-post:nth-child(6) {
        grid-column: span 2;
        grid-row: span 3;
    }
    
    .instagram-cta-card {
        grid-column: span 2;
    }
}

/* Medium Devices (max-width: 1200px) */
@media (max-width: 1200px) {
    .instagram-masonry {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 95px;
    }
    
    .instagram-post:nth-child(1) {
        grid-column: span 2;
        grid-row: span 3;
    }
    
    .instagram-post:nth-child(6) {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .instagram-cta-card {
        grid-column: span 2;
    }
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
    .instagram-masonry {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 110px;
    }
    
    .instagram-post:nth-child(1),
    .instagram-post:nth-child(6) {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .instagram-post:nth-child(2),
    .instagram-post:nth-child(3),
    .instagram-post:nth-child(4),
    .instagram-post:nth-child(5) {
        grid-column: span 1;
        grid-row: span 2;
    }
    
    .instagram-cta-card {
        grid-column: span 3;
    }

    .steps-timeline::before {
        display: none;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline-item .timeline-content-left,
    .timeline-item .timeline-content-right {
        order: 2 !important;
    }

    .timeline-item .timeline-center {
        order: 1 !important;
        margin-bottom: 20px;
    }

    .info-grid-premium {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }

    .info-card-number {
        font-size: 3.5rem;
        top: 15px;
        right: 20px;
    }

    .social-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 0;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    html {
        scroll-snap-type: y proximity;
    }

    .hero-trophy img {
        height: 100px;
    }

    .hero-content {
        padding: 0 20px;
        text-align: center;
        align-items: center;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .countdown-section,
    .steps-section,
    .info-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 30px;
    }

    .countdown-timer {
        gap: 15px;
    }

    .countdown-separator {
        display: none;
    }
    
    /* STEPS TIMELINE */
    .steps-section {
        padding: 60px 15px; 
    }

    .steps-timeline {
        padding: 0 10px; 
    }

    .timeline-item {
        margin-bottom: 20px; 
    }

    .timeline-content-left,
    .timeline-content-right {
        padding: 25px 20px; 
        margin: 0 5px; 
    }

    .step-title {
        font-size: 1.5rem; 
        margin-bottom: 15px;
    }

    .step-description {
        font-size: 1.05rem; 
        line-height: 1.7;
    }

    .timeline-number {
        width: 60px; 
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    /* MASCOTS  */
    .mascots-section {
        min-height: 250vh;
    }

     .mascots-sticky {
        padding-top: 100px; 
    }

    .mascots-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
    }

    .mascot-visual {
        height: 350px;
        order: 1;
        padding-top: 20px; 
    }

    .mascot-info {
        order: 2;
        padding: 20px;
    }

    .mascot-label {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .mascot-name {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 20px;
    }

    .mascot-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .mascot-progress {
        right: 20px;
        gap: 15px;
    }

    .progress-item {
        width: 10px;
        height: 10px;
    }

    .progress-item.active {
        height: 30px;
    }

   .worldcup-section::before {
        display: none; 
    }

    .worldcup-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 0;
        background: var(--kia-white); 
    }

    .worldcup-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 30px;
    }

    .worldcup-trophy {
        order: -1;
    }

    .worldcup-trophy img {
        max-height: 50vh;
    }

    .floating-ball {
        width: 25px;
        height: 25px;
    }

    /* SOCIAL SECTION */
    .social-section {
        padding: 60px 0; 
    }

    .instagram-masonry {
        grid-auto-rows: 180px; 
        gap: 8px; 
        padding: 0 10px; 
        max-width: 100%; 
    }

    .instagram-overlay {
        font-size: 0.85rem; 
        padding: 12px 14px; 
    }

    .instagram-overlay i {
        font-size: 1.1rem; 
    }

    .instagram-cta-card {
        font-size: 0.85rem; 
        gap: 12px;
    }

    .instagram-cta-card i {
        font-size: 1.3rem;
    }
    
    .instagram-post {
        min-height: 200px; 
    }

    /* Para los posts de 2 columnas (1 y 6) */
    .instagram-post:nth-child(1),
    .instagram-post:nth-child(6) {
        min-height: 250px; 
    }

    .social-header {
        margin-bottom: 20px;
        padding: 0 15px; 
    }

    .info-header-premium {
        margin-bottom: 50px;
    }

    .info-card-premium {
        padding: 50px 40px;
    }

    .back-to-top {
        bottom: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Small Mobile Devices (max-width: 576px) */
@media (max-width: 576px) {
    .instagram-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px; 
        gap: 12px;
        padding: 0 15px; 
    }
    
    .instagram-post {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 280px;
    }
    
    .instagram-cta-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 100px; 
        font-size: 0.9rem;
    }
    /* MASCOTS */
    .mascot-visual {
        height: 280px;
    }

    .mascot-slide img {
        max-width: 90%;
        max-height: 90%;
    }
}


/* ============================================
   REGISTRO SECTION
   ============================================ */
.registro-section {
    position: relative;
    padding: 70px 0 50px;
    background: var(--kia-black);
    overflow: hidden;
}

.registro-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(255,255,255,0.03) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255,255,255,0.02) 0%, transparent 60%);
    pointer-events: none;
}

/* Sin min-height fijo: el row se ajusta al contenido */
.registro-row {
    min-height: unset;
}

/* --- Columna formulario --- */
.registro-form-col {
    padding: 30px 40px 30px 20px;
}

.registro-pretitle {
    font-family: 'Kia Signature', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 6px;
}

.registro-title {
    font-family: 'Kia Signature Bold', sans-serif;
    font-weight: bold;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    color: var(--kia-white);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
}

.registro-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 22px;
    line-height: 1.55;
}

/* Espaciado compacto entre campos */
.registro-field {
    margin-bottom: 12px;
}

/* ============================================
   FLOATING LABELS 
   ============================================ */

/* Input base — siempre fondo oscuro */
.form-floating > .registro-input {
    background-color: rgba(255, 255, 255, 0.06) !important;
    background-clip: padding-box !important;   /* evita que Bootstrap lo sobreescriba */
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 4px !important;
    color: var(--kia-white) !important;
    height: 50px !important;
    min-height: unset !important;
    padding-top: 1.35rem !important;
    padding-bottom: 0.35rem !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-family: 'Kia Signature', sans-serif;
    font-size: 0.9rem;
    -webkit-text-fill-color: var(--kia-white) !important; /* fix Safari / iOS */
    caret-color: rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Focus — seguir con fondo oscuro, sin box-shadow de Bootstrap */
.form-floating > .registro-input:focus {
    background-color: rgba(255, 255, 255, 0.09) !important;
    background-clip: padding-box !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--kia-white) !important;
    -webkit-text-fill-color: var(--kia-white) !important;
}

/* Autocompletado del browser (Chrome pone fondo azul/amarillo) */
.form-floating > .registro-input:-webkit-autofill,
.form-floating > .registro-input:-webkit-autofill:hover,
.form-floating > .registro-input:-webkit-autofill:focus,
.form-floating > .registro-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #07192b inset !important;
    -webkit-text-fill-color: var(--kia-white) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    caret-color: rgba(255,255,255,0.8);
}

/* Placeholder invisible — requerido para el trigger del float */
.form-floating > .registro-input::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* Inválido */
.form-floating > .registro-input.is-invalid {
    border-color: rgba(220, 53, 69, 0.65) !important;
    background-color: rgba(220, 53, 69, 0.05) !important;
}

/* Select */
select.registro-input {
    /* Placeholder color cuando no hay opción seleccionada */
    color: rgba(255, 255, 255, 0.38) !important;
    height: 50px !important;
}
select.registro-input:focus,
select.registro-input.selected-value {
    color: var(--kia-white) !important;
}
select.registro-input option {
    background-color: #07192b;
    color: var(--kia-white);
}

/* ============================================
   LABEL FLOTANTE
   ============================================ */

/* CAPA 1: Redefinir la variable CSS de Bootstrap a transparent */
#registroForm .form-floating {
    --bs-body-bg: transparent;
    --bs-body-color: rgba(255,255,255,0.9);
}

/* CAPA 2 + 3: Selectores con ID + !important en shorthand */
#registroForm .form-floating > label {
    color: rgba(255, 255, 255, 0.42);
    font-family: 'Kia Signature', sans-serif;
    font-size: 0.875rem;
    line-height: 1.2;
    padding: 13px 0 0 14px;
    background: transparent !important;   /* shorthand, cubre todo */
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 28px);
    transition: transform 0.15s ease, color 0.15s ease;
}

/* Estado flotado: foco o con valor escrito */
#registroForm .form-floating > .registro-input:focus ~ label,
#registroForm .form-floating > .registro-input:not(:placeholder-shown) ~ label,
#registroForm .form-floating > select.registro-input ~ label {
    transform: scale(0.78) translateY(-0.65rem) translateX(0.1rem);
    color: rgba(255, 255, 255, 0.65);
    background: transparent !important;
}

/* :focus-within (Bootstrap 5.3+) */
#registroForm .form-floating:focus-within > label {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   ÁREAS DE UPLOAD
   ============================================ */
.registro-upload-area {
    position: relative;
    border: 1.5px dashed rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.25s, background-color 0.25s;
    overflow: hidden;
}

.registro-upload-area:hover {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.05);
}

.registro-upload-area.has-file {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.registro-upload-area.upload-error {
    border-color: rgba(220, 53, 69, 0.6);
}

.registro-upload-optional {
    border-color: rgba(255, 255, 255, 0.09);
    opacity: 0.8;
}

.registro-upload-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.58rem;
    padding: 2px 6px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.04em;
    z-index: 3;
    pointer-events: none;
}

/* Input file invisible encima de todo */
.registro-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.registro-upload-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    cursor: pointer;
    margin-bottom: 0;
    width: 100%;
}

.registro-upload-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.52);
    transition: background 0.2s;
}

.registro-upload-area.has-file .registro-upload-icon {
    background: rgba(255, 255, 255, 0.11);
    color: var(--kia-white);
}

.registro-upload-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.registro-upload-title {
    font-family: 'Kia Signature Bold', sans-serif;
    font-weight: bold;
    font-size: 0.83rem;
    color: var(--kia-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.registro-optional-tag {
    font-family: 'Kia Signature', sans-serif;
    font-weight: normal;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.32);
    margin-left: 4px;
}

.registro-upload-hint {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.3;
}

/* Hint desktop/mobile */
.hint-mobile  { display: none; }
.hint-desktop { display: inline; }

@media (hover: none) and (pointer: coarse) {
    .hint-mobile  { display: inline; }
    .hint-desktop { display: none; }
}

/* Preview del archivo seleccionado */
.registro-upload-preview {
    flex-shrink: 0;
    max-width: 60px;
}

.registro-upload-preview img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.18);
    display: block;
}

.invalid-feedback-file {
    padding: 3px 12px;
    font-size: 0.78rem;
    color: #f87171;
}

/* ============================================
   CHECKBOX
   ============================================ */
.registro-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.registro-checkbox {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--kia-white);
}

.registro-check-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    cursor: pointer;
}

.registro-check-label a {
    color: var(--kia-white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================
   BOTÓN SUBMIT
   ============================================ */
.registro-submit-btn {
    width: 100%;
    padding: 13px 24px;
    background: var(--kia-white);
    color: var(--kia-black);
    border: none;
    border-radius: 4px;
    font-family: 'Kia Signature Bold', sans-serif;
    font-weight: bold;
    font-size: 0.88rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.registro-submit-btn:hover {
    background: rgba(255,255,255,0.88);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255,255,255,0.1);
}
.registro-submit-btn:active  { transform: translateY(0); }
.registro-submit-btn:disabled {
    opacity: 0.52;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   ALERTAS
   ============================================ */
.registro-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 6px;
    margin-top: 14px;
    font-size: 0.86rem;
}
.registro-alert i      { font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }
.registro-alert p      { margin: 3px 0 0; opacity: 0.85; font-size: 0.8rem; }
.registro-alert strong { display: block; }

.registro-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #6ee7b7;
}
.registro-alert-success strong { color: #a7f3d0; }

.registro-alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.28);
    color: #fca5a5;
}
.registro-alert-error strong { color: #fecaca; }

/* ============================================
   COLUMNA VISUAL — trofeo lado derecho
   ============================================ */
.registro-visual-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 30px 30px 10px;
    position: relative;
}

.registro-visual-inner {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.registro-visual-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.registro-visual-trophy {
    width: min(240px, 85%);
    filter: drop-shadow(0 18px 36px rgba(0,0,0,0.5));
    animation: registroTrophyFloat 4s ease-in-out infinite;
}

@keyframes registroTrophyFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.registro-visual-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.registro-visual-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-number {
    font-family: 'Kia Signature Bold', sans-serif;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--kia-white);
    line-height: 1;
}

.stat-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .registro-form-col { padding: 30px 25px 30px 20px; }
}

@media (max-width: 991px) {
    .registro-section       { padding: 55px 0 44px; }
    .registro-form-col      { padding: 30px 20px; }
    .registro-visual-inner  { position: static; }
}

@media (max-width: 767px) {
    .registro-section   { padding: 48px 0 38px; }
    .registro-subtitle  { margin-bottom: 18px; }
    .registro-field     { margin-bottom: 10px; }
}

@media (max-width: 575px) {
    .registro-section          { padding: 40px 0 32px; }
    .registro-form-col         { padding: 24px 12px; }
    .registro-title            { font-size: 1.4rem; }
    .registro-upload-label     { padding: 11px 13px; gap: 10px; }
    .registro-upload-icon      { width: 32px; height: 32px; font-size: 1rem; }
    .registro-upload-title     { font-size: 0.78rem; }
    .registro-submit-btn       { padding: 12px 18px; font-size: 0.83rem; }
    .form-floating > .registro-input { height: 48px !important; font-size: 0.85rem; }
}


/* ============================================
   END OF STYLESHEET
   ============================================ */