:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f7;
    --color-bg-dark: #1d1d1f;
    --color-text: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-text-muted: #86868b;
    --color-primary: #0071e3;
    --color-primary-hover: #0077ED;
    --color-primary-light: rgba(0, 113, 227, 0.08);
    --color-success: #34c759;
    --color-success-bg: rgba(52, 199, 89, 0.1);
    --color-warning: #ff9500;
    --color-warning-bg: rgba(255, 149, 0, 0.1);
    --color-danger: #ff3b30;
    --color-danger-bg: rgba(255, 59, 48, 0.1);
    --color-border: #d2d2d7;
    --color-border-light: #e8e8ed;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --max-width: 1200px;
    --max-width-narrow: 800px;
    --header-height: 52px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); font-size: 16px; line-height: 1.6; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-primary-hover); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { color: var(--color-text-secondary); line-height: 1.7; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-danger { color: var(--color-danger); }
.mt-4 { margin-top: 2rem; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--color-border-light); height: var(--header-height); }
.header-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--color-text); }
.logo:hover { color: var(--color-text); }
.logo-icon { font-size: 20px; }
.school-logo { display: block; flex: 0 0 38px; width: 38px; height: 48px; object-fit: cover; object-position: center 35%; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px #dfb75f; }
/* Afișează logo-ul implicit și dacă serverul folosește un șablon vechi în memorie. */
.logo .logo-icon { flex: 0 0 38px; width: 38px; height: 48px; border: 2px solid #fff; border-radius: 50%; background: url('../images/logo-scoala.png') center 35% / cover no-repeat; box-shadow: 0 0 0 2px #dfb75f; font-size: 0; }
/* Ascunde și butonul din eventuale șabloane publice încă memorate de server. */
.site-header .nav-admin { display: none; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--color-text-secondary); border-radius: var(--radius-sm); transition: all var(--transition-fast); white-space: nowrap; }
.nav-link:hover { color: var(--color-text); background: var(--color-primary-light); }
.nav-link.active { color: var(--color-primary); }
.nav-admin { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--color-text-muted); border-radius: 50%; transition: all var(--transition-fast); }
.nav-admin:hover { color: var(--color-text); background: var(--color-primary-light); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--color-text); border-radius: 1px; transition: all var(--transition-fast); }
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,113,227,0.06) 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 20% 80%, rgba(52,199,89,0.04) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,149,0,0.04) 0%, transparent 60%); }
.hero-content { position: relative; z-index: 1; padding: 0 24px; max-width: 800px; }
.hero-title { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 20px; color: var(--color-text); }
.hero-title-gradient { background: linear-gradient(135deg, var(--color-primary) 0%, #5856d6 50%, #af52de 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 400; color: var(--color-text-secondary); margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--color-text-muted); font-size: 12px; font-weight: 500; animation: hero-float 3s ease-in-out infinite; }
.scroll-indicator { width: 24px; height: 38px; border: 2px solid var(--color-border); border-radius: 12px; position: relative; }
.scroll-indicator::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 8px; background: var(--color-text-muted); border-radius: 2px; animation: scroll-dot 2s ease-in-out infinite; }
@keyframes hero-float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes scroll-dot { 0%, 100% { opacity: 1; top: 6px; } 50% { opacity: 0.3; top: 16px; } }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; font-family: var(--font-family); font-size: 15px; font-weight: 500; border-radius: 980px; border: none; cursor: pointer; transition: all var(--transition-fast); white-space: nowrap; text-decoration: none; line-height: 1.4; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; transform: scale(1.02); }
.btn-secondary { background: var(--color-primary-light); color: var(--color-primary); }
.btn-secondary:hover { background: rgba(0,113,227,0.14); color: var(--color-primary); }
.btn-outline { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-danger { background: var(--color-danger); color: #fff; }
.btn-danger:hover { background: #e0342b; color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-full { width: 100%; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 17px; max-width: 600px; margin: 0 auto; }
.announcements-grid { display: grid; gap: 16px; }
.announcement-card { display: flex; gap: 20px; padding: 24px; background: var(--color-bg); border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); transition: all var(--transition-smooth); }
.announcement-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.announcement-date { flex-shrink: 0; width: 64px; text-align: center; padding: 10px; background: var(--color-primary-light); border-radius: var(--radius-md); }
.announcement-date .day { display: block; font-size: 24px; font-weight: 700; color: var(--color-primary); line-height: 1; }
.announcement-date .month { display: block; font-size: 11px; font-weight: 600; color: var(--color-primary); text-transform: uppercase; margin-top: 4px; }
.announcement-body h3 { font-size: 18px; margin-bottom: 8px; color: var(--color-text); }
.announcement-body p { font-size: 14px; color: var(--color-text-secondary); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.news-card { background: var(--color-bg); border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); overflow: hidden; transition: all var(--transition-smooth); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card-image { aspect-ratio: 16/9; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth); }
.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-body { padding: 24px; }
.news-card-date { font-size: 12px; font-weight: 500; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.news-card-body h3 { font-size: 18px; margin: 8px 0; line-height: 1.3; }
.news-card-body h3 a { color: var(--color-text); }
.news-card-body h3 a:hover { color: var(--color-primary); }
.news-card-body p { font-size: 14px; margin-bottom: 16px; }
.news-card-link { font-size: 14px; font-weight: 500; color: var(--color-primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-grid-lg { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: opacity var(--transition-smooth); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: 15px; }
.stats-section { padding: 80px 0; background: var(--color-bg-dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: center; }
.stat-card { padding: 24px; }
.stat-number { display: block; font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.stat-label { font-size: 15px; color: rgba(255,255,255,0.6); font-weight: 500; }
.cta-section { padding: 100px 0; text-align: center; background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%); }
.cta-content h2 { margin-bottom: 16px; }
.cta-content p { font-size: 18px; max-width: 500px; margin: 0 auto 32px; }
.page-hero { padding: 60px 0 40px; text-align: center; background: var(--color-bg-alt); }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--color-text-secondary); }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--color-primary); margin-bottom: 16px; }
.back-link:hover { text-decoration: underline; }
.page-content { font-size: 17px; line-height: 1.8; color: var(--color-text-secondary); }
.page-content h2 { color: var(--color-text); margin: 32px 0 16px; }
.page-content h3 { margin: 24px 0 12px; }
.page-content p { margin-bottom: 16px; }
.page-content ul { margin: 16px 0; padding-left: 24px; }
.page-content li { margin-bottom: 8px; }
.article-date { display: block; font-size: 14px; color: var(--color-text-muted); margin-bottom: 12px; }
.article-image { margin: 24px 0; border-radius: var(--radius-lg); overflow: hidden; }
.article-image img { width: 100%; border-radius: var(--radius-lg); }
.article-summary { font-size: 20px; font-weight: 500; color: var(--color-text-secondary); padding: 20px 0; border-bottom: 1px solid var(--color-border-light); margin-bottom: 24px; }
.article-content { font-size: 17px; line-height: 1.8; color: var(--color-text-secondary); }
.article-content p { margin-bottom: 16px; }
.article-content h2, .article-content h3 { color: var(--color-text); margin: 32px 0 16px; }
.gallery-detail { text-align: center; }
.gallery-detail img { max-width: 100%; border-radius: var(--radius-lg); margin: 0 auto 24px; box-shadow: var(--shadow-lg); }
.gallery-detail h2 { margin-bottom: 12px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-icon { font-size: 24px; flex-shrink: 0; }
.contact-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 14px; }
.map-container { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; height: 250px; }
.contact-form-wrapper { padding: 32px; background: var(--color-bg-alt); border-radius: var(--radius-lg); }
.contact-form-wrapper h2 { margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--color-text); margin-bottom: 8px; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="password"], .form-group input[type="url"], .form-group input[type="number"], .form-group input[type="date"], .form-group input[type="file"], .form-group textarea { width: 100%; padding: 12px 16px; font-family: var(--font-family); font-size: 15px; color: var(--color-text); background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); outline: none; transition: all var(--transition-fast); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .form-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--color-text-muted); }
.form-group-check { display: flex; align-items: center; }
.form-group-check input[type="checkbox"] { width: 18px; height: 18px; margin-right: 8px; accent-color: var(--color-primary); }
.form-group-check label { margin-bottom: 0; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }
.flash-container { position: fixed; top: 72px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; width: calc(100% - 48px); max-width: 500px; }
.flash { padding: 14px 20px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 12px; animation: flash-in 0.3s ease-out; box-shadow: var(--shadow-md); }
.flash-close { background: none; border: none; font-size: 18px; cursor: pointer; color: inherit; opacity: 0.6; padding: 0 4px; }
.flash-close:hover { opacity: 1; }
.flash-success { background: var(--color-success-bg); color: #1a8a3a; border: 1px solid rgba(52,199,89,0.2); }
.flash-error { background: var(--color-danger-bg); color: #c0392b; border: 1px solid rgba(255,59,48,0.2); }
.flash-warning { background: var(--color-warning-bg); color: #cc7a00; border: 1px solid rgba(255,149,0,0.2); }
.flash-info { background: var(--color-primary-light); color: var(--color-primary); border: 1px solid rgba(0,113,227,0.2); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.site-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border-light); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-col h3 { font-size: 17px; margin-bottom: 16px; color: var(--color-text); }
.footer-col h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); margin-bottom: 16px; }
.footer-address, .footer-phone, .footer-email { font-size: 14px; color: var(--color-text-secondary); margin-bottom: 8px; }
.footer-col a { display: block; font-size: 14px; color: var(--color-text-secondary); padding: 4px 0; transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--color-border-light); text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--color-text-muted); }
.empty-state { text-align: center; padding: 60px 24px; color: var(--color-text-muted); }
.empty-state p { font-size: 17px; }
@media (max-width: 768px) {
    .main-nav { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); flex-direction: column; padding: 24px; gap: 8px; z-index: 999; }
    .main-nav.open { display: flex; }
    .main-nav .nav-link { font-size: 17px; padding: 14px 16px; width: 100%; }
    .mobile-menu-btn { display: flex; }
    .hero { min-height: 70vh; }
    .hero-actions { flex-direction: column; }
    .news-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 48px 0; }
}

/* Shared public-site visual system */
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 12px 18px; transform: translateY(-160%); border-radius: 10px; background: #102b46; color: #fff; font-weight: 700; box-shadow: var(--shadow-md); }
.skip-link:focus { transform: translateY(0); color: #fff; }
:root {
    --header-height: 68px;
    --color-bg-alt: #f4f7fb;
    --color-bg-dark: #102b46;
    --color-text: #162b42;
    --color-text-secondary: #52667c;
    --color-text-muted: #75879a;
    --color-primary: #1769aa;
    --color-primary-hover: #10588f;
    --color-primary-light: rgba(23, 105, 170, .09);
    --color-border: #cbd6e2;
    --color-border-light: #e4eaf1;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(21, 49, 78, .05);
    --shadow-md: 0 10px 28px rgba(21, 49, 78, .09);
    --shadow-lg: 0 18px 48px rgba(21, 49, 78, .14);
}
body { color: var(--color-text); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(23,105,170,.3); outline-offset: 3px; }
.site-header { height: 68px; background: rgba(255,255,255,.65); border-bottom-color: rgba(210,222,234,.65); box-shadow: 0 3px 18px rgba(16,43,70,.035); }
.logo { gap: 10px; font-size: 15px; letter-spacing: -.02em; }
.logo-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: #e9f3fc; font-size: 20px; }
.main-nav { gap: 3px; }
.nav-link { padding: 9px 13px; border-radius: 10px; font-size: 13px; }
.nav-link.active { background: #eaf3fb; font-weight: 650; }
.nav-admin { width: 38px; height: 38px; background: #f3f6fa; }
.hero { min-height: min(760px, calc(100vh - 68px)); min-height: min(760px, calc(100svh - 68px)); background: linear-gradient(145deg, #f4f8fc 0%, #eaf3f9 52%, #f9f8f1 100%); }
.hero::before, .hero::after { content: ''; position: absolute; pointer-events: none; border-radius: 50%; }
.hero::before { width: min(46vw, 560px); aspect-ratio: 1; right: -9%; top: 8%; border: 1px solid rgba(23,105,170,.11); box-shadow: 0 0 0 38px rgba(23,105,170,.025), 0 0 0 80px rgba(23,105,170,.018); }
.hero::after { width: 180px; aspect-ratio: 1; left: 8%; bottom: 12%; background: radial-gradient(circle, rgba(255,196,99,.18), transparent 70%); }
.hero-bg { background: radial-gradient(ellipse 55% 60% at 50% 35%, rgba(255,255,255,.88), transparent 78%), radial-gradient(ellipse 40% 45% at 10% 90%, rgba(54,151,167,.09), transparent 76%); }
.hero-content { max-width: 900px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 8px 14px; border: 1px solid rgba(23,105,170,.16); border-radius: 999px; background: rgba(255,255,255,.74); color: #315a7b; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.hero-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: #48a99c; box-shadow: 0 0 0 4px rgba(72,169,156,.13); }
.hero-title { color: #142d46; }
.hero-title-gradient { background: linear-gradient(120deg, #1769aa, #258b93); -webkit-background-clip: text; background-clip: text; }
.hero-subtitle { max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { gap: 12px; }
.btn { min-height: 46px; font-weight: 650; }
.btn-primary { background: linear-gradient(135deg, #1b70b1, #155f9c); box-shadow: 0 8px 18px rgba(23,105,170,.18); }
.btn-primary:hover { box-shadow: 0 12px 24px rgba(23,105,170,.25); transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,.8); border: 1px solid #d9e5ef; }
.section { padding: 88px 0; }
.announcements-section { padding: 76px 0; background: #fff; }
.section-header { margin-bottom: 42px; }
.section-header h2 { color: #18334e; letter-spacing: -.035em; }
.section-header p { color: var(--color-text-secondary); }
.news-grid { align-items: stretch; }
.news-card { display: flex; flex-direction: column; border-color: #e5ebf2; box-shadow: 0 5px 20px rgba(21,49,78,.035); }
.news-card:hover { box-shadow: var(--shadow-lg); }
.news-card-image { background: #e8eef4; }
.news-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.news-card-body h3 { letter-spacing: -.015em; }
.news-card-body p { flex: 1; }
.news-card-link { margin-top: auto; padding-top: 8px; font-weight: 700; }
.announcement-card { align-items: flex-start; border-color: #e5ebf2; box-shadow: var(--shadow-sm); }
.announcements-list { display: grid; gap: 16px; }
.announcement-card:hover { border-color: #c9dbea; box-shadow: var(--shadow-md); }
.announcement-date { width: 68px; min-width: 68px; padding: 12px 8px; background: #eaf3fb; }
.announcement-body h3 { color: #18334e; }
.announcement-content { color: var(--color-text-secondary); line-height: 1.75; }
.announcement-content p { margin: 0 0 10px; }
.announcement-content > :last-child { margin-bottom: 0; }
.gallery-item { box-shadow: var(--shadow-sm); background: #e8eef4; }
.gallery-item:focus-visible { outline: 3px solid rgba(23,105,170,.45); outline-offset: 3px; }
.gallery-overlay { background: linear-gradient(0deg, rgba(13,35,56,.82), rgba(13,35,56,0) 75%); }
.stats-section { background: linear-gradient(120deg, #102b46, #173d5c); }
.stat-card + .stat-card { border-left: 1px solid rgba(255,255,255,.12); }
.cta-section { background: linear-gradient(145deg, #f2f7fb, #edf4f8); }
.cta-content h2 { color: #18334e; }
.page-hero { position: relative; overflow: hidden; padding: 72px 0 60px; background: linear-gradient(135deg, #eff6fb 0%, #f5f8fb 64%, #f7f7f1 100%); }
.page-hero::after { content: ''; position: absolute; width: 300px; height: 300px; right: max(4vw, calc((100vw - var(--max-width)) / 2)); top: -190px; border: 1px solid rgba(23,105,170,.14); border-radius: 50%; box-shadow: 0 0 0 30px rgba(23,105,170,.025), 0 0 0 65px rgba(23,105,170,.02); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #17334e; font-size: clamp(2.25rem, 4vw, 3.4rem); }
.page-hero p { max-width: 620px; margin: 12px auto 0; }
.page-content, .article-content { color: #40566d; }
.page-content h2, .page-content h3, .article-content h2, .article-content h3 { letter-spacing: -.025em; }
.page-content a, .article-content a { color: #1769aa; text-decoration: underline; text-underline-offset: 3px; }
.page-content img, .article-content img { max-width: 100%; height: auto; margin: 22px auto; border-radius: 14px; box-shadow: var(--shadow-sm); }
.page-content blockquote, .article-content blockquote { margin: 22px 0; padding: 16px 20px; border-left: 4px solid #4a9b9a; border-radius: 0 12px 12px 0; background: #f1f7f7; color: #36576a; }
.page-content ol, .article-content ol { margin: 16px 0; padding-left: 24px; }
.page-content li, .article-content li { margin-bottom: 8px; }
.article-date { color: #637b91; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.article-image { box-shadow: var(--shadow-md); }
.article-content { max-width: 720px; margin: 0 auto; }
.gallery-detail img { box-shadow: var(--shadow-lg); }
.contact-grid { gap: 56px; }
.contact-info h2, .contact-form-wrapper h2 { color: #18334e; font-size: clamp(1.6rem, 3vw, 2rem); }
.contact-item { padding: 16px; margin: 0 0 10px; border: 1px solid #e6edf3; border-radius: 14px; background: #fff; }
.contact-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eef5fb; }
.contact-form-wrapper { border: 1px solid #e5ebf2; background: #f6f8fb; box-shadow: var(--shadow-sm); }
.form-group input:focus, .form-group textarea:focus { border-color: #5e9dce; box-shadow: 0 0 0 4px rgba(23,105,170,.1); }
.map-container { border: 1px solid #e0e8ef; box-shadow: var(--shadow-sm); }
.site-footer { background: #102b46; border: 0; color: #fff; }
.footer-col h3 { color: #fff; }
.footer-col h4 { color: #9db2c7; }
.footer-address, .footer-phone, .footer-email, .footer-col a { color: #c2d0de; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-color: rgba(255,255,255,.16); }
.footer-bottom p { color: #9db2c7; }
.footer-bottom .footer-credit { margin-top: 8px; }
.footer-map { margin: 0 0 32px; }
.footer-map h4 { color: #fff; margin-bottom: 12px; }
.footer-map iframe { display: block; width: 100%; height: 240px; border: 0; border-radius: 10px; }
.footer-credit strong { color: #c2d0de; font-weight: 600; }
.empty-state { border: 1px dashed #cbd8e4; border-radius: var(--radius-lg); background: #f8fafc; }
@media (max-width: 768px) {
    :root { --header-height: 62px; }
    .site-header { height: 62px; }
    .hero { min-height: 72vh; min-height: 72svh; }
    .hero-kicker { margin-bottom: 16px; font-size: 10px; }
    .section { padding: 62px 0; }
    .announcements-section { padding: 58px 0; }
    .contact-grid { gap: 30px; }
    .stat-card + .stat-card { border-left: 0; }
    .stats-grid { gap: 12px; }
    .stat-card { padding: 18px 10px; }
    .page-hero { padding: 54px 0 42px; }
}
@media (max-width: 480px) {
    .hero { min-height: 650px; min-height: min(720px, 82svh); }
    .hero-title { font-size: clamp(2.35rem, 11vw, 3.35rem); }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { width: min(100%, 300px); }
    .announcement-card { gap: 13px; padding: 16px; }
    .announcement-date { width: 54px; min-width: 54px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-overlay { opacity: 1; padding: 12px; }
    .gallery-overlay span { font-size: 12px; }
    .contact-form-wrapper { padding: 22px; }
    .page-hero::after { right: -220px; }
}
@media (max-width: 360px) {
    .container, .container-narrow { padding-left: 16px; padding-right: 16px; }
    .header-container { padding-left: 14px; padding-right: 14px; }
    .logo { gap: 7px; font-size: 13px; }
    .logo-icon { width: 33px; height: 33px; flex: 0 0 33px; }
    .hero-title { font-size: 2.25rem; }
    .hero-content { padding-left: 16px; padding-right: 16px; }
    .hero-kicker { max-width: 100%; font-size: 9px; letter-spacing: .05em; }
    .section-header h2 { font-size: 1.75rem; }
    .gallery-grid { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* The public page-links menu uses a translucent glass surface. */
.main-nav {
    padding: 4px;
    border: 1px solid rgba(210, 222, 234, .65);
    border-radius: 14px;
    background: rgba(255, 255, 255, .65);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}
@media (max-width: 768px) {
    .main-nav { border: 0; border-radius: 0; background: rgba(255, 255, 255, .65); }
    .main-nav.open {
        display: flex;
        position: fixed;
        top: var(--header-height);
        bottom: auto;
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        z-index: 1001;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        padding: 20px 18px max(24px, env(safe-area-inset-bottom));
        background: rgba(249, 252, 255, .97);
        backdrop-filter: saturate(150%) blur(22px);
        -webkit-backdrop-filter: saturate(150%) blur(22px);
        box-shadow: 0 18px 36px rgba(16, 43, 70, .12);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .main-nav.open .nav-link {
        flex: 0 0 auto;
        width: 100%;
        min-height: 50px;
        display: flex;
        align-items: center;
        border-radius: 12px;
        font-size: 17px;
    }
}

/* Refined public site: calm typography, generous spacing, and clearer hierarchy. */
:root {
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --max-width: 1160px;
    --color-bg-alt: #f5f7fa;
    --color-bg-dark: #172c46;
    --color-text: #172b43;
    --color-text-secondary: #637386;
    --color-text-muted: #8995a3;
    --color-primary: #1769aa;
    --color-primary-hover: #10558e;
    --color-primary-light: #eaf2f9;
    --color-border: #d9e1e8;
    --color-border-light: #e8edf2;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-sm: 0 2px 10px rgba(23, 43, 67, .045);
    --shadow-md: 0 10px 30px rgba(23, 43, 67, .08);
    --shadow-lg: 0 20px 48px rgba(23, 43, 67, .12);
}
body { color: var(--color-text); }
.site-header { height: 64px; background: rgba(255,255,255,.88); border-bottom-color: rgba(217,225,232,.78); box-shadow: none; }
.header-container { max-width: 1220px; }
.logo { gap: 11px; font-size: 14px; font-weight: 650; letter-spacing: -.025em; }
.logo-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #173c60; color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .02em; }
.main-nav { gap: 2px; border: 0; background: transparent; padding: 0; backdrop-filter: none; }
.nav-link { padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.nav-link.active { color: #1769aa; background: transparent; font-weight: 650; }
.nav-link:hover { background: #f2f5f8; }
.nav-admin { background: transparent; }
.hero { min-height: min(690px, calc(100svh - 64px)); justify-content: flex-start; text-align: left; background: #f3f6f9; }
.hero-bg { background: radial-gradient(ellipse 55% 70% at 82% 48%, rgba(166,196,217,.28), transparent 75%), linear-gradient(110deg, #f7f8fa 0%, #eef3f7 100%); }
.hero::before { width: min(43vw, 530px); right: 7%; top: 14%; border: 1px solid rgba(23,60,96,.11); box-shadow: 0 0 0 34px rgba(23,60,96,.025), 0 0 0 72px rgba(23,60,96,.018); }
.hero::after { display: none; }
.hero-content { width: min(100%, 1180px); margin: 0 auto; padding: 0 32px; }
.hero-kicker { margin-bottom: 24px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #65788d; font-size: 11px; letter-spacing: .13em; }
.hero-kicker-dot { width: 6px; height: 6px; }
.hero-title { max-width: 760px; margin-bottom: 22px; color: #172c46; font-size: clamp(3.2rem, 7.3vw, 6.6rem); font-weight: 650; letter-spacing: -.065em; line-height: .99; }
.hero-title-gradient { background: none; color: #172c46; -webkit-text-fill-color: currentColor; }
.hero-subtitle { max-width: 490px; margin: 0 0 30px; color: #617286; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.55; }
.hero-actions { justify-content: flex-start; gap: 10px; }
.btn { min-height: 43px; padding: 10px 19px; font-size: 14px; font-weight: 600; }
.btn-primary { background: #1769aa; box-shadow: none; }
.btn-primary:hover { background: #10558e; box-shadow: none; }
.btn-secondary { color: #1769aa; background: transparent; border: 1px solid #cbd7e1; }
.btn-outline { border-width: 1px; }
.hero-scroll { display: none; }
.section { padding: 84px 0; }
.section-alt { background: #f5f7fa; }
.announcements-section { padding: 60px 0; background: #fff; }
.section-header { margin-bottom: 36px; }
.section-header h2 { color: #172c46; font-size: clamp(1.8rem, 3.4vw, 2.65rem); font-weight: 650; letter-spacing: -.045em; }
.section-header p { font-size: 16px; }
.news-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.news-card { border: 0; border-radius: 14px; box-shadow: 0 2px 12px rgba(23,43,67,.055); }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card-image { aspect-ratio: 16 / 10; }
.news-card-body { padding: 22px; }
.news-card-date { font-size: 11px; letter-spacing: .09em; }
.news-card-body h3 { font-size: 19px; }
.news-card-body p { font-size: 14px; line-height: 1.65; }
.news-card-link { font-size: 13px; }
.announcement-card { border-radius: 14px; box-shadow: none; background: #f6f8fa; }
.announcement-date { border-radius: 10px; background: #e7eff6; }
.announcement-body h3 { font-size: 17px; }
.gallery-grid { gap: 12px; }
.gallery-item { border-radius: 13px; box-shadow: none; }
.gallery-overlay { opacity: 1; padding: 16px; background: linear-gradient(0deg, rgba(15,32,49,.58), transparent 70%); }
.gallery-overlay span { font-size: 13px; }
.stats-section { padding: 58px 0; background: #172c46; }
.stats-grid { gap: 0; }
.stat-card { padding: 18px; }
.stat-number { font-size: clamp(2.2rem, 4vw, 3.25rem); }
.stat-label { font-size: 13px; }
.cta-section { padding: 84px 0; background: #f4f6f8; }
.cta-content h2 { color: #172c46; font-weight: 650; letter-spacing: -.045em; }
.cta-content p { font-size: 16px; }
.page-hero { padding: 70px 0 52px; background: #f4f6f8; }
.page-hero::after { display: none; }
.page-hero h1 { color: #172c46; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 650; letter-spacing: -.055em; }
.page-hero p { font-size: 16px; }
.page-content, .article-content { color: #53667a; }
.article-image { border-radius: 16px; box-shadow: none; }
.contact-grid { gap: 64px; }
.contact-item { padding: 14px 0; border: 0; border-bottom: 1px solid #e8edf2; border-radius: 0; box-shadow: none; }
.contact-icon { width: 34px; height: 34px; border-radius: 50%; background: #edf2f6; color: #61788e; font-size: 10px; font-weight: 700; }
.contact-form-wrapper { padding: 30px; border: 1px solid #e9edf1; border-radius: 16px; background: #f7f8fa; box-shadow: none; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="password"], .form-group input[type="url"], .form-group input[type="number"], .form-group input[type="date"], .form-group input[type="file"], .form-group textarea { border-color: #dce3e9; border-radius: 9px; }
.site-footer { padding: 54px 0 26px; background: #172c46; }
.footer-grid { gap: 36px; }
.footer-col h3 { font-size: 16px; }
.footer-col h4 { font-size: 11px; letter-spacing: .1em; }
.footer-address, .footer-phone, .footer-email, .footer-col a { font-size: 13px; }
.footer-container { width: min(100% - 48px, 1040px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1fr); gap: 36px 20px; justify-items: center; align-items: start; text-align: center; }
.footer-grid { display: contents; }
.footer-bottom { grid-column: 1 / -1; width: 100%; }
.footer-col { min-width: 0; overflow-wrap: anywhere; }
.footer-social-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer-col .footer-social-links a { display: inline-flex; align-items: center; gap: 9px; }
.footer-social-links svg { width: 18px; height: 18px; flex: 0 0 18px; }
.footer-map { width: min(100%, 200px); min-width: 0; margin: 0; text-align: center; }
.footer-map iframe { height: 140px; }
.empty-state { border-color: #dce4eb; background: #f8f9fa; }
@media (max-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .hero { min-height: min(690px, 78svh); }
    .hero-content { padding: 0 24px; }
    .hero-title { max-width: 580px; }
    .hero::before { width: 360px; right: -250px; top: 20%; }
    .main-nav.open { background: rgba(250,251,252,.98); }
    .main-nav.open .nav-link.active { background: #edf3f8; }
    .section { padding: 62px 0; }
    .announcements-section { padding: 48px 0; }
    .contact-grid { gap: 36px; }
}
@media (max-width: 480px) {
    .footer-container { grid-template-columns: 1fr; }
    .hero { min-height: min(670px, 84svh); }
    .hero-title { font-size: clamp(2.75rem, 12vw, 3.5rem); }
    .hero-actions { align-items: stretch; }
    .hero-actions .btn { width: auto; }
    .news-grid { grid-template-columns: 1fr; }
    .gallery-grid { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-scroll, .scroll-indicator::after { animation: none !important; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* A welcoming palette and playful details for the school community. */
:root {
    --color-primary: #235fa3;
    --color-primary-hover: #174a83;
    --color-primary-light: #e6f0fc;
    --color-text: #17364b;
    --color-text-secondary: #536c78;
    --color-bg-alt: #f5faf8;
}
.site-header { background: rgba(255, 254, 250, .96); border-bottom-color: #e5eee9; }
.logo-icon { background: #235fa3; color: #fff; box-shadow: 4px 4px 0 #f7c96d; }
.nav-link { color: #405d6b; }
.nav-link.active, .nav-link:hover { color: #174f84; background: #e7f2ef; }
.hero { background: #f7fcf8; }
.hero-bg { background: radial-gradient(circle at 8% 18%, #fff0cc 0, transparent 26%), linear-gradient(110deg, #fffdf6 0%, #f0faf5 100%); }
.hero-bg::after { content: ''; position: absolute; right: max(2%, calc((100% - 1220px) / 2)); top: 50%; width: min(45%, 530px); aspect-ratio: 640 / 520; transform: translateY(-50%); background: url('../images/school-illustration.svg') center / contain no-repeat; pointer-events: none; }
.hero::before, .hero::after { display: none; }
.hero-content { max-width: 1180px; }
.hero-content > * { max-width: 55%; }
.hero-kicker { padding: 8px 13px; border-radius: 999px; background: #dcefe9; color: #276b65; letter-spacing: .09em; }
.hero-kicker-dot { background: #38a795; box-shadow: 0 0 0 4px rgba(56,167,149,.14); }
.hero-title { color: #173b57; font-size: clamp(3rem, 6vw, 5.5rem); }
.hero-title-gradient { color: #2568a4; -webkit-text-fill-color: currentColor; }
.hero-subtitle { color: #496773; }
.btn { border-radius: 12px; }
.btn-primary { background: #235fa3; box-shadow: 0 5px 0 #174a83; }
.btn-primary:hover { background: #174a83; box-shadow: 0 3px 0 #123a67; }
.btn-secondary { background: #fff; border-color: #bfdbd3; color: #256b67; }
.section-alt { background: #f3f9f6; }
.section-header h2::after { content: ''; display: block; width: 44px; height: 5px; margin: 15px auto 0; border-radius: 10px; background: #f0bd5d; }
.news-card { border: 1px solid #e4eee8; border-top: 4px solid #7bc8b1; background: #fff; }
.news-card:nth-child(3n + 2) { border-top-color: #f2bf61; }
.news-card:nth-child(3n) { border-top-color: #f39885; }
.announcement-card { background: #fffbf1; border-color: #f2e5c4; }
.announcement-date { background: #ffedc5; }
.gallery-item { border: 3px solid #fff; box-shadow: 0 7px 20px rgba(27,75,73,.1); }
.stats-section { background: #235f68; }
.stats-grid { gap: 14px; }
.stats-section .stat-card { border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.09); }
.stats-section .stat-number { background: none; color: #ffdf97; -webkit-text-fill-color: currentColor; }
.stats-section .stat-label { color: #effbf6; }
.cta-section { background: #fff8e9; }
.page-hero { background: linear-gradient(120deg, #eaf6f0, #fff6e2); }
.page-hero h1 { color: #173b57; }
.contact-form-wrapper { background: #f1f8f5; border-color: #dceee5; }
.contact-icon { background: #dcefe9; color: #266e64; }
.site-footer { background: #173b50; }
@media (max-width: 768px) {
    .hero { min-height: 0; padding: 52px 0 275px; }
    .hero-content > * { max-width: 100%; }
    .hero-bg::after { width: min(70%, 330px); top: auto; right: 4%; bottom: -8px; transform: none; }
    .hero-title { max-width: 100%; font-size: clamp(2.6rem, 8vw, 4.3rem); }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .hero { padding: 42px 0 220px; }
    .hero-bg::after { width: min(72%, 270px); }
    .hero-title { font-size: clamp(2.35rem, 10vw, 3.2rem); }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-section .stat-card { padding: 16px 8px; }
}

/* Useful starting points for pupils and families. */
.home-shortcuts { padding: 64px 0 72px; background: #fffefa; }
.home-shortcuts-heading { margin-bottom: 28px; }
.home-eyebrow { display: block; margin-bottom: 8px; color: #26766b; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.home-shortcuts-heading h2 { color: #173b57; font-size: clamp(1.8rem, 3vw, 2.45rem); letter-spacing: -.035em; }
.home-shortcuts-heading p { margin-top: 8px; color: #536c78; }
.home-shortcuts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-shortcut { display: flex; align-items: flex-start; gap: 14px; min-height: 132px; padding: 22px; border: 1px solid #dcece3; border-radius: 20px; color: #173b57; background: #edf8f2; transition: transform .2s ease, box-shadow .2s ease; }
.home-shortcut:hover { color: #173b57; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27,75,73,.1); }
.home-shortcut:focus-visible { outline: 3px solid #235fa3; outline-offset: 3px; }
.home-shortcut-news { background: #fff6df; border-color: #f2e5c4; }
.home-shortcut-contact { background: #edf3fd; border-color: #dce8f8; }
.home-shortcut-icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 14px; background: #d1eee0; color: #216d5d; font-size: 22px; font-weight: 700; }
.home-shortcut-news .home-shortcut-icon { background: #fbe4ab; color: #805a10; }
.home-shortcut-contact .home-shortcut-icon { background: #d8e7fb; color: #235fa3; }
.home-shortcut-copy { display: grid; gap: 7px; flex: 1; min-width: 0; }
.home-shortcut-copy strong { font-size: 18px; line-height: 1.3; }
.home-shortcut-copy > span { color: #536c78; font-size: 14px; line-height: 1.5; }
.home-shortcut-arrow { color: #567880; font-size: 20px; }
.home-empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 20px; border: 1px dashed #cbded2; border-radius: 18px; background: rgba(255,255,255,.7); text-align: center; }
.home-empty-state > span { color: #318d7e; font-size: 26px; line-height: 1; }
.home-empty-state p { margin: 0; }
.home-empty-state a { color: #235fa3; font-weight: 650; }
.contact-info { min-width: 0; }
.contact-item p { overflow-wrap: anywhere; }
@media (max-width: 768px) {
    .home-shortcuts { padding: 48px 0 54px; }
    .home-shortcuts-grid { grid-template-columns: 1fr; gap: 12px; }
    .home-shortcut { min-height: 0; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-shortcut { transition: none; }
    .home-shortcut:hover { transform: none; }
}
