:root {
    --bg: #f5fbff;
    --surface: #ffffff;
    --surface-alt: #e9f4fc;
    --text: #18354f;
    --muted: #5d748a;
    --primary: #3c88cb;
    --accent: #f7f451;
    --border: rgba(60, 136, 203, 0.12);
    --shadow: 0 20px 45px rgba(26, 72, 110, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(60, 136, 203, 0.18), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; width: 100%; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: min(1180px, calc(100% - 2rem));
    margin: 1rem auto 0;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    background: rgba(255,255,255,0.84);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; font-weight: 700; }
.brand img { width: 52px; height: 52px; border-radius: 18px; object-fit: cover; }
.brand span { font-size: 0.92rem; line-height: 1.25; }
.site-nav { display: flex; gap: 1.35rem; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.menu-button { display: none; border: 0; background: transparent; padding: 0; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--text); }

main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0;
}
.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 130px);
    padding: 3rem 0 4rem;
}
.eyebrow,
.section-tag {
    display: inline-flex;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(60, 136, 203, 0.12);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
h1, h2 {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
}
h1 { margin-top: 1rem; font-size: clamp(2.4rem, 4.6vw, 4.3rem); max-width: 11ch; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.7rem); max-width: 14ch; }
h3 { margin: 0 0 0.85rem; font-size: 1.15rem; }
p { line-height: 1.75; color: var(--muted); }

.hero-actions,
.button { display: flex; gap: 1rem; align-items: center; }
.button {
    width: fit-content;
    padding: 1rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
}
.primary { background: var(--primary); color: #fff; }
.ghost { background: rgba(255,255,255,0.72); border-color: var(--border); }

.hero-media { position: relative; }
.hero-image {
    min-height: 580px;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: var(--shadow);
}
.floating-card {
    position: absolute;
    padding: 1rem 1.15rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow);
}
.stat-card { top: 1.5rem; right: -1rem; }
.note-card { bottom: 1.5rem; left: -1rem; max-width: 260px; }
.floating-card strong { display: block; margin-bottom: 0.4rem; font-size: 1.1rem; }

.section { padding: 1rem 0 5rem; }
.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr 0.8fr;
    gap: 1.25rem;
}
.panel,
.info-card,
.schedule-item,
.event-card,
.contact-card,
.site-footer {
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.panel { padding: 2rem; }
.image-panel {
    padding: 0;
    overflow: hidden;
    min-height: 100%;
}
.image-panel img {
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center 44%;
    border-radius: 30px;
}
.facts-panel { background: linear-gradient(180deg, #3c88cb, #87b7e2); color: #fff; display: grid; gap: 1rem; }
.facts-panel p, .facts-panel strong { color: #fff; margin: 0.2rem 0 0; }

.section-heading { margin-bottom: 1.75rem; }
.section-heading h2 { margin-top: 0.75rem; }
.card-grid.three-col,
.schedule-list,
.events-grid {
    display: grid;
    gap: 1.25rem;
}
.card-grid.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card,
.schedule-item,
.event-card { padding: 1.7rem; }
.schedule-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.events-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-card strong,
.schedule-item strong { display: block; margin-bottom: 0.75rem; font-size: 1.05rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 0.85fr;
    gap: 1rem;
}
.gallery-grid img { height: 340px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }

.contact-card {
    padding: 2rem;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
    background: linear-gradient(180deg, #ffffff, #eef7ff);
}
.contact-list { margin: 1rem 0 0; padding: 0; list-style: none; color: var(--muted); line-height: 1.9; }
.contact-form { display: grid; gap: 0.9rem; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(24, 53, 79, 0.12);
    border-radius: 18px;
    padding: 1rem 1.05rem;
    font: inherit;
    background: #fff;
}
.contact-form button { cursor: pointer; }

.site-footer {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto 1.5rem;
    padding: 1.3rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
    .menu-button { display: block; }
    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        padding: 1.2rem;
        border-radius: 24px;
        background: rgba(255,255,255,0.96);
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .hero,
    .intro-grid,
    .card-grid.three-col,
    .schedule-list,
    .events-grid,
    .contact-card,
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-image { min-height: 420px; }
    .image-panel img { min-height: 420px; object-position: center 38%; }
    .stat-card, .note-card { position: static; margin-top: 1rem; }
    .site-footer { flex-direction: column; gap: 0.6rem; text-align: center; }
}

@media (max-width: 640px) {
    .site-header { width: calc(100% - 1rem); border-radius: 24px; }
    main { width: calc(100% - 1rem); margin: 0 auto; }
    .hero { min-height: auto; padding-top: 2rem; }
    h1 { font-size: 2.65rem; }
    .panel { padding: 1.4rem; }
    .image-panel { padding: 0; }
    .image-panel img {
        min-height: 320px;
        object-position: center 35%;
        border-radius: 24px;
    }
    .button, .hero-actions { flex-direction: column; align-items: stretch; }
}