/* ================================
   WIKINAMICS - CSS Stylesheet
   Paleta de Colores Oficial
   ================================ */

:root {
    --color-primary: #00338D;
    --color-secondary: #0065BD;
    --color-light: #C2DEEA;
    --color-red: #C60C30;
    --color-yellow: #FFB612;
    --color-green: #009B3A;
    --color-white: #FFFFFF;
    --color-dark: #0A1628;
    --color-gray: #6B7280;
    --color-gray-light: #F3F4F6;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --transition: 0.3s ease;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    background: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   NAVBAR
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.navbar.scrolled .nav-link {
    color: var(--color-dark);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 56px;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo-img {
    filter: none;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-cta {
    background: var(--color-yellow);
    color: var(--color-dark) !important;
    font-weight: 600;
}

.nav-cta:hover {
    background: #e5a310;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-primary);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, #001a47 50%, var(--color-secondary) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-particles::before {
    width: 600px;
    height: 600px;
    background: var(--color-yellow);
    top: -10%;
    right: -10%;
    animation: float 20s infinite ease-in-out;
}

.hero-particles::after {
    width: 500px;
    height: 500px;
    background: var(--color-red);
    bottom: -10%;
    left: -10%;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 60px;
    max-width: 900px;
}

.hero-logo-wrapper {
    margin-bottom: 32px;
    animation: fadeInDown 1s ease;
}

.hero-logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 24px;
    animation: fadeInUp 1s ease 0.2s both;
}

.title-line {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.title-line.highlight {
    background: linear-gradient(90deg, var(--color-yellow), var(--color-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-yellow);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-yellow);
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(255, 182, 18, 0.4);
}

.btn-primary:hover {
    background: #e5a310;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 182, 18, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-glow {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 4px 15px rgba(255, 182, 18, 0.4); }
    to { box-shadow: 0 4px 30px rgba(255, 182, 18, 0.7), 0 0 60px rgba(255, 182, 18, 0.2); }
}

/* ================================
   SECTIONS
   ================================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--color-white);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--color-light);
    border-radius: 20px;
}

.section-header.light .section-tag {
    color: var(--color-yellow);
    background: rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-header.light .section-title {
    color: var(--color-white);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ================================
   ABOUT SECTION
   ================================ */
.section-about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-quote {
    position: relative;
    padding-left: 32px;
    margin-bottom: 32px;
    border-left: 4px solid var(--color-yellow);
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--color-yellow);
    margin-bottom: 12px;
    opacity: 0.5;
}

.about-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    font-style: italic;
    line-height: 1.5;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--color-dark);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-dark);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-showcase {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-logo {
    max-width: 200px;
    z-index: 2;
    position: relative;
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: ringPulse 3s infinite ease-in-out;
}

.ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(0, 51, 141, 0.1);
    animation-delay: 0s;
}

.ring-2 {
    width: 340px;
    height: 340px;
    border-color: rgba(255, 182, 18, 0.1);
    animation-delay: 1s;
}

.ring-3 {
    width: 400px;
    height: 400px;
    border-color: rgba(198, 12, 48, 0.1);
    animation-delay: 2s;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* ================================
   VALUES SECTION
   ================================ */
.section-values {
    background: linear-gradient(135deg, var(--color-primary) 0%, #001a47 100%);
    position: relative;
    overflow: hidden;
}

.section-values::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 182, 18, 0.05);
    border-radius: 50%;
    filter: blur(100px);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--card-color, var(--color-yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.value-card h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================
   MANIFESTO SECTION
   ================================ */
.section-manifesto {
    background: var(--color-gray-light);
    padding: 80px 0;
}

.manifesto-box {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.manifesto-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-red), var(--color-yellow), var(--color-green), var(--color-primary));
}

.manifesto-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: 24px;
    display: inline-block;
}

.manifesto-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 24px;
    font-style: italic;
}

.manifesto-text {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.manifesto-actions {
    display: flex;
    justify-content: center;
}

/* ================================
   TIMELINE SECTION
   ================================ */
.section-timeline {
    background: var(--color-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary), var(--color-light));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 0;
    transform: translateY(30px);
}

.timeline-item.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-card {
    margin-right: 40px;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: 50%;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: 40px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 20px rgba(255, 182, 18, 0.5);
}

.timeline-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 51, 141, 0.1);
    transition: all 0.3s ease;
    flex: 1;
}

.timeline-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: rgba(0, 51, 141, 0.2);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.timeline-card h3 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.timeline-card p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.timeline-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    margin-top: 8px;
}

.tag-first {
    background: var(--color-red);
    color: var(--color-white);
}

.tag-local {
    background: var(--color-green);
    color: var(--color-white);
}

.tag-internacional {
    background: var(--color-primary);
    color: var(--color-white);
}

.tag-virtual {
    background: var(--color-secondary);
    color: var(--color-white);
}

.tag-reencuentro {
    background: var(--color-yellow);
    color: var(--color-dark);
}

.timeline-item.active .timeline-dot {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 182, 18, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(255, 182, 18, 0); }
}

/* ================================
   EVENT SECTION (El Salvador)
   ================================ */
.section-event {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0;
}

.event-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.event-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 51, 141, 0.92) 0%, rgba(0, 26, 71, 0.95) 50%, rgba(0, 101, 189, 0.9) 100%);
}

.event-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
}

.event-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.badge-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-yellow);
}

.badge-date {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
}

.event-title {
    margin-bottom: 24px;
}

.event-location {
    display: block;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.event-year {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--color-yellow);
    line-height: 1;
    letter-spacing: -0.02em;
}

.event-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.event-highlights {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.highlight svg {
    width: 24px;
    height: 24px;
    color: var(--color-yellow);
}

.event-actions {
    margin-bottom: 60px;
}

.event-promo-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.promo-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.promo-img:hover {
    transform: scale(1.03);
}


/* ================================
   GALLERY CAROUSEL
   ================================ */
.section-gallery {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-light) 100%);
    padding: 80px 0;
}

.gallery-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px 24px;
    background: linear-gradient(to top, rgba(0, 51, 141, 0.9) 0%, rgba(0, 51, 141, 0.4) 60%, transparent 100%);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.slide-year {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.slide-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-white);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: var(--color-white);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: var(--color-secondary);
}

@media (max-width: 768px) {
    .carousel-slide {
        aspect-ratio: 4 / 3;
    }
    
    .slide-caption {
        padding: 20px 16px 16px;
    }
    
    .slide-text {
        font-size: 0.95rem;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-yellow);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.social-link:hover svg {
    color: var(--color-dark);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-copyleft {
    margin-top: 8px;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 32px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--color-dark) !important;
        padding: 16px;
        font-size: 1.1rem;
    }
    
    .nav-cta {
        margin-top: 16px;
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding: 0 0 0 60px;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        margin: 0;
    }
    
    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-item:hover .timeline-dot {
        transform: translateX(-50%) scale(1.3);
    }
    
    .event-promo-images {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .manifesto-box {
        padding: 40px 24px;
    }
    
    .logo-showcase {
        width: 220px;
        height: 220px;
    }
    
    .showcase-logo {
        max-width: 140px;
    }
    
    .ring-1 { width: 200px; height: 200px; }
    .ring-2 { width: 260px; height: 260px; }
    .ring-3 { width: 320px; height: 320px; }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .event-highlights {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ================================
   SCROLL ANIMATIONS
   ================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   CINEMATIC GALLERY
   ================================ */
.section-cinema {
    padding: 0;
    background: var(--color-dark);
}

.cinema-header {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-dark) 100%);
}

.cinema-header .section-tag {
    background: rgba(0, 51, 141, 0.15);
    color: var(--color-primary);
}

.cinema-header .section-title {
    color: var(--color-white);
    margin-bottom: 16px;
}

.cinema-header .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* Cinema Stage */
.cinema-stage {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: var(--color-dark);
}

.cinema-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.cinema-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    z-index: 1;
}

.cinema-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Image Wrapper with Ken Burns */
.cinema-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cinema-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.15);
    transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cinema-slide.active .cinema-image {
    transform: scale(1.0);
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    0% { transform: scale(1.15) translate(0, 0); }
    100% { transform: scale(1.0) translate(-1%, -1%); }
}

/* Alternate Ken Burns direction for variety */
.cinema-slide:nth-child(even) .cinema-image {
    animation-name: kenBurnsAlt;
}

@keyframes kenBurnsAlt {
    0% { transform: scale(1.15) translate(0, 0); }
    100% { transform: scale(1.0) translate(1%, 1%); }
}

/* Cinematic Overlay */
.cinema-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.3) 0%,
        rgba(10, 22, 40, 0.1) 30%,
        rgba(10, 22, 40, 0.4) 60%,
        rgba(10, 22, 40, 0.85) 100%
    );
    z-index: 2;
}

/* Caption */
.cinema-caption {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 0 24px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.cinema-slide.active .cinema-caption {
    opacity: 1;
    transform: translateY(0);
}

.cinema-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-yellow);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(255, 182, 18, 0.15);
    border: 1px solid rgba(255, 182, 18, 0.3);
    border-radius: 20px;
}

.cinema-location {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.cinema-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* Controls */
.cinema-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 4;
}

.cinema-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cinema-btn:hover {
    background: rgba(255, 182, 18, 0.3);
    border-color: var(--color-yellow);
    transform: scale(1.1);
}

.cinema-btn svg {
    width: 20px;
    height: 20px;
}

/* Progress Bar */
.cinema-progress {
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.cinema-progress-bar {
    height: 100%;
    background: var(--color-yellow);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

/* Indicators */
.cinema-indicators {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 4;
}

.cinema-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.cinema-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.cinema-indicator.active {
    background: var(--color-yellow);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(255, 182, 18, 0.5);
}

/* Counter */
.cinema-counter {
    position: absolute;
    left: 32px;
    bottom: 32px;
    z-index: 4;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
}

.counter-current {
    color: var(--color-yellow);
    font-size: 1.2rem;
}

.counter-sep {
    margin: 0 4px;
}

/* ================================
   BOOK SECTION
   ================================ */
.section-book {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-light) 100%);
    padding: 100px 0;
}

.book-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.book-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.book-cover {
    position: relative;
    width: 260px;
    height: 380px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.book-cover:hover {
    transform: rotateY(-5deg) rotateX(2deg) scale(1.05);
}

.book-front {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #001a47 100%);
    border-radius: 4px 12px 12px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: var(--color-white);
    box-shadow: 
        inset 2px 0 10px rgba(255,255,255,0.1),
        5px 5px 20px rgba(0,0,0,0.3);
    backface-visibility: hidden;
}

.book-logo {
    width: 60px;
    height: 60px;
    background: var(--color-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.book-title-cover {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.book-subtitle-cover {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 20px;
}

.book-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    background: rgba(255, 182, 18, 0.2);
    border: 1px solid rgba(255, 182, 18, 0.4);
    border-radius: 12px;
    color: var(--color-yellow);
}

.book-spine {
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 24px;
    background: linear-gradient(90deg, #001a47 0%, var(--color-primary) 100%);
    border-radius: 4px 0 0 4px;
    transform: translateX(-20px) rotateY(90deg);
    transform-origin: right;
}

.book-pages {
    position: absolute;
    inset: 4px 4px 4px 20px;
    background: linear-gradient(90deg, #f5f0e8 0%, #fff 10%, #f5f0e8 20%, #fff 30%, #f5f0e8 40%, #fff 50%, #f5f0e8 60%, #fff 70%, #f5f0e8 80%, #fff 90%, #f5f0e8 100%);
    border-radius: 2px 8px 8px 2px;
    transform: translateZ(-12px);
    box-shadow: inset -2px 0 5px rgba(0,0,0,0.1);
}

.book-content .section-tag {
    background: rgba(0, 51, 141, 0.1);
    color: var(--color-primary);
}

.book-lead {
    font-size: 1.15rem;
    color: var(--color-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.book-text {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.book-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.book-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-dark);
}

.book-feature svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.book-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.book-note {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .cinema-stage {
        height: 70vh;
        min-height: 500px;
    }
    
    .cinema-indicators {
        display: none;
    }
    
    .cinema-counter {
        left: 16px;
        bottom: 80px;
    }
    
    .book-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .cinema-stage {
        height: 60vh;
        min-height: 450px;
    }
    
    .cinema-caption {
        bottom: 60px;
        padding: 0 16px;
    }
    
    .cinema-location {
        font-size: 1.5rem;
    }
    
    .cinema-desc {
        font-size: 0.95rem;
    }
    
    .cinema-controls {
        gap: 12px;
    }
    
    .cinema-btn {
        width: 40px;
        height: 40px;
    }
    
    .cinema-progress {
        width: 80px;
    }
    
    .book-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .book-visual {
        order: -1;
    }
    
    .book-cover {
        width: 200px;
        height: 300px;
    }
    
    .book-cta {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .cinema-stage {
        height: 50vh;
        min-height: 400px;
    }
    
    .cinema-caption {
        bottom: 50px;
    }
    
    .cinema-counter {
        display: none;
    }
}

/* ================================
   BOOK IMAGE (real photo)
   ================================ */
.book-image-wrapper {
    position: relative;
    display: inline-block;
}

.book-image {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 51, 141, 0.25), 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.book-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 51, 141, 0.3), 0 12px 30px rgba(0, 0, 0, 0.2);
}

.book-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(0, 51, 141, 0.15) 0%, transparent 70%);
    z-index: -1;
    border-radius: 20px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .book-image {
        max-width: 240px;
    }
}

/* ================================
   FLOATING WHATSAPP BUTTON
   ================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    text-decoration: none;
}

.whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-float-label {
    position: absolute;
    right: 70px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float-label {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    .whatsapp-float-label {
        display: none;
    }
}


/* ================================
   BANNER MODAL - EL SALVADOR 2026
   ================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-banner {
    position: relative;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    max-height: 85dvh;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-banner {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.modal-close:hover,
.modal-close:active {
    background: var(--color-red);
    transform: rotate(90deg) scale(1.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.modal-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    max-height: 60dvh;
    object-fit: contain;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.modal-link:hover .modal-img,
.modal-link:active .modal-img {
    transform: scale(1.02);
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: var(--color-gray-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.modal-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.modal-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.modal-checkbox input:checked + .checkmark {
    background: var(--color-primary);
}

.modal-checkbox input:checked + .checkmark::after {
    transform: rotate(45deg) scale(1);
}

/* Modal responsive */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 12px;
        align-items: flex-start;
        padding-top: 60px;
    }
    
    .modal-banner {
        max-width: 100%;
        border-radius: 12px;
        max-height: 80vh;
        max-height: 80dvh;
    }
    
    .modal-close {
        width: 48px;
        height: 48px;
        top: 8px;
        right: 8px;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .modal-close svg {
        width: 24px;
        height: 24px;
    }
    
    .modal-img {
        max-height: 50vh;
        max-height: 50dvh;
    }
    
    .modal-footer {
        padding: 10px 12px;
    }
    
    .modal-checkbox {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 8px;
        padding-top: 40px;
    }
    
    .modal-banner {
        border-radius: 10px;
    }
    
    .modal-img {
        max-height: 45vh;
        max-height: 45dvh;
    }
    
    .modal-close {
        width: 44px;
        height: 44px;
    }
}
