:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg: #f4f6fb;
    --white: #ffffff;
    --text: #1e1e2e;
    --text-muted: #6b7280;
    --shadow: 0 2px 20px rgba(102, 126, 234, 0.10);
    --shadow-hover: 0 10px 36px rgba(102, 126, 234, 0.22);
    --radius: 14px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
    background: var(--gradient);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 300;
    box-shadow: 0 3px 24px rgba(102, 126, 234, 0.38);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.logo-container {
    background: rgba(255, 255, 255, 0.97);
    padding: 7px 18px;
    border-radius: 50px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.86rem;
    padding: 0.42rem 0.62rem;
    border-radius: 7px;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
    display: block;
}

.nav-links a:hover { background: rgba(255,255,255,0.18); color: #fff; }
.nav-links a.active { background: rgba(255,255,255,0.24); color: #fff; font-weight: 650; }

.btn-app {
    background: var(--white) !important;
    color: var(--primary) !important;
    padding: 0.42rem 1.1rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.16) !important;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s !important;
    margin-left: 0.4rem !important;
}

.btn-app:hover {
    background: rgba(255,255,255,0.93) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 16px rgba(0,0,0,0.22) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: rgba(255,255,255,0.14);
    border: 1.5px solid rgba(255,255,255,0.38);
    border-radius: 8px;
    cursor: pointer;
    padding: 7px 9px;
    transition: background 0.18s;
    flex-shrink: 0;
}

.nav-toggle:hover { background: rgba(255,255,255,0.24); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: white; border-radius: 2px; transition: all 0.28s; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 580px;
    background-image: url('/images/1774211183136-452360719.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(80, 100, 200, 0.82) 0%, rgba(100, 50, 160, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 740px;
    padding: 0 2rem;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 0.85rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.28); }

.btn-hero-outline {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 0.85rem 2.25rem;
    border: 2px solid rgba(255,255,255,0.65);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 1.75rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-bar-item { display: flex; flex-direction: column; align-items: center; }

.stat-bar-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-bar-label { font-size: 0.85rem; color: var(--text-muted); }

/* ─── INTRO STRIP ────────────────────────────────────────── */
.intro-section {
    padding: 5rem 0;
    background: var(--bg);
}

/* ─── WHAT WE DO ─────────────────────────────────────────── */
.what-section {
    padding: 5rem 0;
    background: var(--white);
}

.what-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.what-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: transform 0.22s, box-shadow 0.22s;
    border: 1.5px solid transparent;
}

.what-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(102,126,234,0.2);
    background: var(--white);
}

.what-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}

.what-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.what-card p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ─── PAGE BANNER (inner pages) ──────────────────────────── */
.page-banner {
    background: var(--gradient);
    padding: 3.5rem 0 3.25rem;
    text-align: center;
    color: white;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    letter-spacing: -0.5px;
}

.page-banner .lead {
    font-size: 1.05rem;
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ─── CONTENT SECTIONS ───────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-sm { padding: 2.75rem 0; }

.section-header { margin-bottom: 2.75rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-lead { margin: 0.6rem auto 0; }

.section-tag {
    display: inline-block;
    background: rgba(102,126,234,0.12);
    color: var(--primary);
    font-size: 0.77rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 0.28rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.section-title span { color: var(--primary); }

.section-lead {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-top: 0.65rem;
    line-height: 1.78;
}

/* ─── CARDS ──────────────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
    transition: transform 0.22s, box-shadow 0.22s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-icon { font-size: 2.4rem; margin-bottom: 1rem; display: block; }
.card h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.1rem; font-weight: 700; }
.card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.72; }

/* ─── TWO COLUMN ─────────────────────────────────────────── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col.img-right .col-img { order: 2; }
.two-col.img-right .col-text { order: 1; }

.col-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-hover); display: block; }

.col-img .img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 5rem;
}

.col-text .section-title { font-size: 1.75rem; }

.col-text .check-list {
    list-style: none;
    margin-top: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.col-text .check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.62;
}

.col-text .check-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--gradient);
    border-radius: 50%;
    margin-top: 7px;
}

/* ─── STATS ──────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--gradient);
    color: white;
    border-radius: var(--radius);
    padding: 2.4rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 26px rgba(102,126,234,0.30);
}

.stat-number { font-size: 3rem; font-weight: 900; display: block; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.88rem; opacity: 0.88; line-height: 1.45; }

/* ─── PAGE TITLE ─────────────────────────────────────────── */
.page-title {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.4px;
}

/* ─── UPLOAD ─────────────────────────────────────────────── */
.upload-section { padding: 2rem 0 1rem; }

.upload-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow);
    max-width: 620px;
    margin: 0 auto;
}

.upload-card h3 { color: var(--primary); margin-bottom: 0.4rem; font-size: 1.2rem; font-weight: 700; }
.upload-info { color: var(--text-muted); font-size: 0.87rem; margin-bottom: 1.25rem; }

.file-drop-zone {
    border: 2px dashed rgba(102,126,234,0.5);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    margin-bottom: 1.25rem;
    background: rgba(102,126,234,0.03);
    transition: background 0.2s, border-color 0.2s;
}

.file-drop-zone:hover { background: rgba(102,126,234,0.07); border-color: var(--primary); }

.file-drop-zone input[type="file"] {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.upload-form-footer { display: flex; justify-content: center; }

#uploadMessage { margin-top: 0.75rem; border-radius: var(--radius-sm); font-size: 0.9rem; min-height: 0; }

/* ─── VIEW TABS ──────────────────────────────────────────── */
.view-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.view-tab {
    background: var(--white);
    border: 1.5px solid #e5e7eb;
    color: var(--text-muted);
    padding: 0.52rem 1.6rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
}

.view-tab.active, .view-tab:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(102,126,234,0.28);
}

/* ─── GALLERY ────────────────────────────────────────────── */
.gallery-section { padding: 1.5rem 0 3.5rem; }
.empty-msg { text-align: center; color: var(--text-muted); padding: 3.5rem 0; font-size: 1rem; }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.22s, box-shadow 0.22s;
}

.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; }

.gallery-item .info {
    padding: 0.75rem 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.gallery-item .info small { color: var(--text-muted); font-size: 0.8rem; }

.delete-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.45rem 0;
    width: 100%;
    cursor: pointer;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: inherit;
    transition: background 0.18s;
}

.delete-btn:hover { background: #dc2626; }

/* ─── CAROUSEL ───────────────────────────────────────────── */
.carousel-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.carousel-container { position: relative; background: #0d0d0d; }

.carousel-slide { height: 520px; display: flex; align-items: center; justify-content: center; }
.carousel-slide img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.loading { color: #888; font-size: 1rem; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.18s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.carousel-btn:hover { background: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.65); }
.prev { left: 14px; }
.next { right: 14px; }

.carousel-controls { padding: 1rem 1.5rem 1.5rem; }
.image-counter { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1rem; }

.thumbnails { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

.thumbnail {
    width: 68px;
    height: 68px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 3px solid transparent;
    opacity: 0.6;
    transition: all 0.18s;
}

.thumbnail:hover { opacity: 1; transform: scale(1.06); }
.thumbnail.active { border-color: var(--primary); opacity: 1; transform: scale(1.06); }

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-col h3 { font-size: 1.25rem; color: var(--text); margin-bottom: 1.75rem; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.65rem;
}

.contact-item-icon {
    width: 46px;
    height: 46px;
    background: rgba(102,126,234,0.11);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-text strong { display: block; color: var(--text); font-size: 0.88rem; margin-bottom: 0.2rem; }
.contact-item-text span { color: var(--text-muted); font-size: 0.9rem; }

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
    font-size: 0.87rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: #fafafa;
    transition: border-color 0.18s, background 0.18s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--primary); background: white; }

.form-group textarea { resize: vertical; min-height: 140px; }

/* ─── SPONSORS ───────────────────────────────────────────── */
.tier-section { margin-bottom: 3rem; }

.tier-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tier-heading h3 { font-size: 1.2rem; color: var(--text); font-weight: 700; }

.tier-badge {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.22rem 0.72rem;
    border-radius: 50px;
}

.tier-oro { background: #fef3c7; color: #92400e; }
.tier-plata { background: #f3f4f6; color: #374151; }
.tier-bronce { background: #fde8d8; color: #9a3412; }

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.sponsor-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1.5px solid #ebebeb;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.sponsor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(102,126,234,0.3); }

.sponsor-logo {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(118,75,162,0.12));
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.sponsor-card h4 { color: var(--text); font-size: 0.98rem; margin-bottom: 0.3rem; }
.sponsor-card p { color: var(--text-muted); font-size: 0.84rem; }

.sponsor-logo-img-wrap {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.sponsor-logo-img-wrap img {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta-section {
    background: var(--gradient);
    padding: 4.5rem 0;
    text-align: center;
    color: white;
}

.cta-section h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.4px; }
.cta-section p { font-size: 1.05rem; opacity: 0.88; margin-bottom: 2.25rem; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.75; }

.btn-primary {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.82rem 2.25rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(102,126,234,0.38);
    font-family: inherit;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 0.82rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.24); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
    background: #16213e;
    color: #9ca3af;
    padding: 3rem 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.65rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.78; max-width: 285px; }

.footer-col h4 {
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.48rem; }

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.18s;
}

.footer-col ul li a:hover { color: #c4b5fd; }

.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: #6b7280;
}

/* ─── HOME CAROUSEL (multi-view) ────────────────────────── */
.home-carousel-section {
    background: #111;
    padding: 2.5rem 0 2.75rem;
    overflow: hidden;
}

.hc-inner {
    position: relative;
    padding: 0 58px;
}

.hc-viewport {
    overflow: hidden;
    border-radius: 12px;
}

.hc-track {
    display: flex;
    gap: 14px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hc-slide {
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.hc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.42s ease;
}

.hc-slide:hover img { transform: scale(1.05); }

.hc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.32);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    font-family: inherit;
}

.hc-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-50%) scale(1.07);
}

.hc-prev { left: 6px; }
.hc-next { right: 6px; }

.hc-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 1.4rem;
}

.hc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.25s;
}

.hc-dot.active {
    background: var(--primary);
    width: 22px;
    border-radius: 4px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 980px) {
    .logo-img { height: 32px; }
    .logo-container { padding: 6px 14px; }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: -24px;
        right: -24px;
        background: linear-gradient(135deg, #5b6fd8 0%, #6945a2 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 1.25rem 1.25rem;
        gap: 0.05rem;
        box-shadow: 0 14px 36px rgba(0,0,0,0.24);
        z-index: 99;
    }

    .nav-links.open { display: flex; }
    .nav-links a { font-size: 0.95rem; padding: 0.65rem 0.9rem; }
    .btn-app { align-self: flex-start !important; margin-left: 0.75rem !important; margin-top: 0.3rem !important; }

    .two-col { grid-template-columns: 1fr; gap: 2.25rem; }
    .two-col.img-right .col-img,
    .two-col.img-right .col-text { order: unset; }

    .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .page-banner h1 { font-size: 1.9rem; }
}

@media (max-width: 768px) {
    .hero { min-height: 420px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p   { font-size: 1rem; }
    .stats-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .what-grid { grid-template-columns: repeat(2, 1fr); }

    .hc-inner { padding: 0 44px; }
    .hc-btn { width: 36px; height: 36px; font-size: 0.85rem; }
    .hc-prev { left: 4px; }
    .hc-next { right: 4px; }

    .carousel-slide { height: 260px; }
    .carousel-btn { width: 38px; height: 38px; font-size: 0.95rem; }
    .thumbnail { width: 52px; height: 52px; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand p { max-width: 100%; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.6rem; }
    .upload-card { padding: 1.5rem; }
    .what-grid { grid-template-columns: 1fr; }
    .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 1.65rem; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .contact-form { padding: 1.75rem; }
}

@media (max-width: 480px) {
    .gallery { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .cards-grid, .cards-grid-4 { grid-template-columns: 1fr; }
    .sponsors-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════════════════════════
   HOME MOCKUP STYLES
   ═══════════════════════════════════════════════════════════ */

/* ─── Brand intro band ───────────────────────────────────── */
.brand-intro-band {
    background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(102,126,234,0.1);
}

.brand-intro-logo {
    height: 90px;
    width: auto;
    display: block;
    margin: 0 auto 0.5rem;
    filter: drop-shadow(0 4px 18px rgba(102,126,234,0.18));
}

.brand-intro-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    margin: 1.25rem auto 1.5rem;
}

.brand-intro-text {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.82;
}

.brand-intro-badges {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

.brand-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1.5px solid rgba(102,126,234,0.2);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 2px 10px rgba(102,126,234,0.08);
}

/* ─── Gradient text utility ─────────────────────────────── */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Navbar Contactar button ────────────────────────────── */
.btn-nav-contactar {
    background: var(--gradient) !important;
    color: white !important;
    padding: 0.42rem 1.2rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    box-shadow: 0 2px 10px rgba(102,126,234,0.35) !important;
    transition: opacity 0.2s, transform 0.2s !important;
    margin-left: 0.4rem !important;
}

.btn-nav-contactar:hover {
    opacity: 0.88 !important;
    transform: translateY(-1px) !important;
    background: var(--gradient) !important;
}

/* ─── Hero split (two-column) ────────────────────────────── */
.hero-split {
    background: #fff;
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid #f0f0f5;
}

.hero-split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-split .hero-tag {
    display: inline-block;
    background: rgba(102,126,234,0.1);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(102,126,234,0.2);
}

.hero-split h1 {
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.hero-split p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.78;
    margin-bottom: 1.75rem;
    max-width: 480px;
}

.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #f8f7ff;
    border: 1px solid rgba(102,126,234,0.18);
    padding: 0.52rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    width: fit-content;
}

.hero-badge-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-award-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
    border: 1.5px solid rgba(102,126,234,0.25);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-btns-split {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.hero-device-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-device-bg {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(102,126,234,0.08) 0%, rgba(118,75,162,0.04) 60%, transparent 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-device-bg::before {
    content: '';
    position: absolute;
    inset: 15%;
    border: 2px dashed rgba(102,126,234,0.15);
    border-radius: 50%;
}

.hero-device-img {
    width: 88%;
    height: 88%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(102,126,234,0.2);
    display: block;
}

/* ─── El Proyecto section ────────────────────────────────── */
.proyecto-home-section {
    padding: 5rem 0;
    background: var(--bg);
}

.proyecto-home-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.proyecto-home-text .section-title { font-size: 1.75rem; margin-bottom: 1rem; }
.proyecto-home-text p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.78; margin-bottom: 1.5rem; }

.feature-cards-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 2rem;
}

.feature-card-mini {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.feature-card-mini:hover { transform: translateY(-2px); }

.feature-mini-icon {
    width: 36px;
    height: 36px;
    background: rgba(102,126,234,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-card-mini h4 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0.15rem; }
.feature-card-mini p  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

.proyecto-home-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.proyecto-stat-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.proyecto-stat-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.proyecto-stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    display: block;
}

.proyecto-stat-label { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* ─── Conectando Canarias con Senegal ────────────────────── */
.conectando-section {
    background: #120e2a;
    padding: 5rem 0;
    color: white;
}

.conectando-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.conectando-text .section-tag {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
}

.conectando-text .section-title { color: white; font-size: 1.75rem; }
.conectando-text .section-title span { color: #a78bfa; }

.conectando-text p {
    color: rgba(255,255,255,0.72);
    font-size: 0.96rem;
    line-height: 1.78;
    margin: 0.75rem 0 2rem;
}

.conectando-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.conectando-stat {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
}

.conectando-stat-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #a78bfa;
    display: block;
    margin-bottom: 0.2rem;
}

.conectando-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); line-height: 1.4; }

.conectando-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.conectando-img {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.conectando-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.conectando-img:hover img { transform: scale(1.04); }

.conectando-img-tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.conectando-img-tall img { height: 100%; }

/* ─── Sponsors strip ─────────────────────────────────────── */
.sponsors-strip-section {
    background: #fafafa;
    padding: 2.75rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.sponsors-strip-title {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.sponsors-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.sponsor-logo-pill {
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sponsor-logo-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(102,126,234,0.15);
}

.sponsor-logo-img {
    height: 52px;
    width: auto;
    display: block;
    opacity: 0.8;
    filter: grayscale(20%);
    transition: opacity 0.2s, filter 0.2s;
}

.sponsor-logo-img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ─── CTA banner ─────────────────────────────────────────── */
.cta-banner {
    background: var(--gradient);
    padding: 3rem 0;
}

.cta-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-banner-text h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.cta-banner-text p {
    color: rgba(255,255,255,0.82);
    font-size: 0.96rem;
    line-height: 1.65;
    max-width: 560px;
}

.btn-yellow {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 18px rgba(245,158,11,0.4);
}

.btn-yellow:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* ─── Footer new ─────────────────────────────────────────── */
.footer-new {
    background: #0f0c1d;
    color: #9ca3af;
    padding: 3.5rem 0 0;
}

.footer-new-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-new-brand .footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
    /* Use white version via CSS filter if logo is dark */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-new-brand p {
    font-size: 0.87rem;
    line-height: 1.75;
    color: #6b7280;
    max-width: 240px;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.footer-new-col h4 {
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 1.1rem;
}

.footer-new-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.52rem;
}

.footer-new-col ul li a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.87rem;
    transition: color 0.18s;
}

.footer-new-col ul li a:hover { color: #c4b5fd; }

.footer-new-col .contact-line {
    font-size: 0.87rem;
    color: #6b7280;
    line-height: 1.65;
}

.footer-new-bottom {
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #4b5563;
}

/* ─── RESPONSIVE nuevos componentes ─────────────────────── */
@media (max-width: 980px) {
    .hero-split-inner { grid-template-columns: 1fr; }
    .hero-device-wrap { display: none; }
    .proyecto-home-grid { grid-template-columns: 1fr; }
    .conectando-grid { grid-template-columns: 1fr; }
    .cta-banner-inner { flex-direction: column; text-align: center; }
    .footer-new-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .hero-split { padding: 3rem 0 2.5rem; }
    .hero-split h1 { font-size: 2rem; }
    .feature-cards-mini { grid-template-columns: 1fr; }
    .conectando-images { grid-template-columns: 1fr; }
    .conectando-img-tall { grid-row: span 1; aspect-ratio: 4/3; }
    .sponsors-logos { gap: 1rem; }
    .footer-new-grid { grid-template-columns: 1fr; }
}
