/* ============================================
   ŠKOLA BUDÚCNOSTI — Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --green: #10b981;
    --green-dark: #059669;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
    --shadow-xl: 0 20px 40px -8px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   NAVBAR — solid by default, transparent only at top
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

/* Transparent only when at top of page (hero) */
.navbar.at-top {
    background: transparent;
    backdrop-filter: none;
    padding: 16px 0;
    box-shadow: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    transition: var(--transition);
}
.navbar .nav-logo { color: var(--dark); }
.navbar.at-top .nav-logo { color: var(--white); }

.logo-icon { font-size: 1.5rem; }

.nav-menu {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: var(--transition);
}
.nav-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}
.navbar.at-top .nav-link { color: rgba(255,255,255,0.85); }
.navbar.at-top .nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    border-radius: 10px;
    padding: 4px;
}
.navbar.at-top .lang-switcher {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    transition: var(--transition);
    font-family: inherit;
}
.lang-btn:hover {
    background: var(--gray-200);
    color: var(--dark);
}
.lang-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}
.navbar.at-top .lang-btn {
    color: rgba(255,255,255,0.8);
}
.navbar.at-top .lang-btn:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}
.navbar.at-top .lang-btn.active {
    background: var(--white);
    color: var(--primary);
}

.lang-btn svg {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* --- Hamburger --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}
.navbar.at-top .nav-toggle span { background: var(--white); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 40%, #3b82f6 70%, #10b981 100%);
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}
.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
}
.section-white { background: var(--white); }
.section-light { background: var(--gray-50); }
.section-dark { background: var(--dark); }
.section-accent { background: var(--primary); }
.section-gradient {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), #6366f1);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.tag-light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.section-title {
    margin-bottom: 16px;
}
.title-light { color: var(--white); }

.section-desc {
    color: var(--gray-500);
    font-size: 1.1rem;
}
.desc-light { color: rgba(255,255,255,0.8); }

/* --- Lead Text --- */
.lead-text {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* --- Quote --- */
.quote {
    margin-top: 24px;
    padding: 20px 24px;
    border-left: 4px solid var(--accent);
    background: var(--gray-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--gray-700);
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
    display: grid;
    gap: 24px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card-title {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.card-text {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-funding {
    text-align: center;
}
.card-funding .card-icon { font-size: 3rem; }

/* ============================================
   SPLIT LAYOUT (Vision)
   ============================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-content p {
    margin-bottom: 16px;
    color: var(--gray-500);
    line-height: 1.8;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.vision-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.vision-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.vision-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.vision-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

/* ============================================
   EDUCATION CYCLES
   ============================================ */
.cycles {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cycle {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 36px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.cycle:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--cycle-color, var(--primary));
}

.cycle-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cycle-color, var(--primary));
    color: var(--white);
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 800;
}

.cycle-header {
    margin-bottom: 12px;
}
.cycle-header h3 {
    margin-bottom: 4px;
}
.cycle-grades {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 500;
}

.cycle-content p {
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.7;
}

.cycle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cycle-tags span {
    padding: 5px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ============================================
   FOCUS CARDS (Dark Section)
   ============================================ */
.focus-card {
    padding: 28px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.focus-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}
.focus-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}
.focus-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.focus-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   FACILITIES
   ============================================ */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.facility-card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}
.facility-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.facility-large {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 32px;
    text-align: left;
    padding: 48px 40px;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    border: none;
}
.facility-large h3 { color: var(--white); font-size: 1.5rem; }
.facility-large p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }

.facility-emoji {
    font-size: 2.8rem;
    margin-bottom: 16px;
}
.facility-large .facility-emoji {
    font-size: 4rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.facility-card h3 {
    margin-bottom: 8px;
}
.facility-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
}
/* Override for the large (pool) card — must come after .facility-card p */
.facility-card.facility-large p {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
}
.facility-card.facility-large h3 {
    color: var(--white);
    font-size: 1.5rem;
}

/* ============================================
   COMMUNITIES
   ============================================ */
.communities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.community-card {
    padding: 28px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}
.community-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.community-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.community-pop {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.community-est {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.communities-total {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 32px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
}

.total-box { text-align: center; }
.total-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.total-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ============================================
   LOCATION BANNER
   ============================================ */
.location-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
}
.location-icon { font-size: 3rem; flex-shrink: 0; }
.location-content h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.location-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:last-child .timeline-marker {
    background: var(--primary);
}

.timeline-content {
    padding: 24px 28px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.timeline-date {
    display: inline-block;
    padding: 3px 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.timeline-content p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================================
   GRADUATE PROFILE
   ============================================ */
.graduate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.grad-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    transition: var(--transition);
}
.grad-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

.grad-icon { font-size: 1.5rem; flex-shrink: 0; }
.grad-item span:not(.grad-icon) {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    padding: 36px 24px;
    text-align: center;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.contact-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.contact-icon { font-size: 2.5rem; margin-bottom: 16px; }
.contact-card h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}
.contact-card a, .contact-card span {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}
.contact-card a:hover { text-decoration: underline; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: 48px 0;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
}
.footer-text {
    color: var(--gray-400);
    font-size: 0.9rem;
    max-width: 500px;
}
.footer-copy {
    color: var(--gray-500);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* ============================================
   ANIMATIONS — only activate when JS confirms ready
   Elements are VISIBLE by default (no JS = no hide)
   ============================================ */
body.js-ready .fade-in,
body.js-ready .fade-in-left,
body.js-ready .fade-in-right {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
body.js-ready .fade-in { transform: translateY(24px); }
body.js-ready .fade-in-left { transform: translateX(-30px); }
body.js-ready .fade-in-right { transform: translateX(30px); }

body.js-ready .fade-in.visible,
body.js-ready .fade-in-left.visible,
body.js-ready .fade-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .communities-grid { grid-template-columns: repeat(3, 1fr); }
    .graduate-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    .nav-menu.open { right: 0; }
    .nav-menu .nav-link {
        color: var(--gray-700);
        padding: 12px 16px;
        font-size: 1rem;
    }
    .nav-menu .nav-link:hover {
        background: var(--gray-100);
        color: var(--primary);
    }

    .nav-toggle { display: flex; }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cards-3,
    .cards-4 {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }
    .facility-large {
        flex-direction: column;
        text-align: center;
    }

    .communities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .communities-total {
        gap: 24px;
    }

    .graduate-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cycle {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stats {
        gap: 24px;
    }
    .stat-number { font-size: 1.8rem; }

    .location-banner {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .lang-switcher {
        gap: 2px;
        padding: 3px;
    }
    .lang-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    .lang-btn span { display: none; }
}

@media (max-width: 480px) {
    .communities-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}
