/*
 * Public website design system. Colours come from Settings › Website as CSS variables
 * (--c-primary, --c-dark, --c-accent) set in layouts/site.blade.php.
 */

/* ---------- Base ---------- */
:root {
    --c-primary: #1296db;
    --c-dark: #0b2c46;
    --c-accent: #ffd400;
    --c-text: #1e293b;
    --c-muted: #5b6b7f;
    --c-line: #e3e8ef;
    --c-soft: #f4f8fc;
    --c-white: #ffffff;
    --c-success: #15803d;
    --c-danger: #b91c1c;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(11, 44, 70, .08);
    --shadow-lg: 0 24px 60px rgba(11, 44, 70, .14);
    --container: 1200px;
    --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bar-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-dark); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--c-dark); color: #fff; border-radius: 10px; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 24px;
    border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1;
    cursor: pointer; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--c-primary) 35%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--c-primary) 88%, #000); color: #fff; }
.btn-accent { background: var(--c-accent); color: var(--c-dark); }
.btn-accent:hover { background: color-mix(in srgb, var(--c-accent) 88%, #000); color: var(--c-dark); }
.btn-outline { border-color: currentColor; color: var(--c-dark); background: transparent; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-light:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }

/* ---------- Announcement & top bar ---------- */
.announce { background: var(--c-accent); color: var(--c-dark); font-weight: 600; font-size: 14px; text-align: center; padding: 8px 16px; }
.announce a { color: var(--c-dark); text-decoration: underline; }
.topbar { background: var(--c-dark); color: rgba(255,255,255,.85); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.9); }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; gap: 6px; align-items: center; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.social { display: flex; gap: 8px; }
.social a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.social a:hover { background: var(--c-primary); text-decoration: none; }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 44, 70, .08); border-color: var(--c-line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--c-dark); text-decoration: none !important; min-width: 0; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 17px; max-width: 240px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brand-tag { font-size: 12px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--c-dark); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--c-soft); color: var(--c-primary); text-decoration: none; }
.nav a.nav-cta { background: var(--c-primary); color: #fff; padding: 10px 18px; border-radius: 999px; margin-left: 6px; }
.nav a.nav-cta:hover { background: color-mix(in srgb, var(--c-primary) 88%, #000); color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; color: var(--c-dark); font-size: 20px; cursor: pointer; }
@media (max-width: 1100px) {
    .nav { display: none; }
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .brand img { height: 44px; }
}
@media (max-width: 420px) { .brand-tag { display: none; } .brand-name { font-size: 15px; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(11, 44, 70, .5); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg); animation: drawer-in .2s ease; }
@keyframes drawer-in { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-panel a.drawer-link { padding: 14px 12px; border-radius: 12px; font-weight: 700; color: var(--c-dark); font-size: 16px; }
.drawer-panel a.drawer-link:hover, .drawer-panel a.drawer-link[aria-current="page"] { background: var(--c-soft); text-decoration: none; }
.drawer-foot { margin-top: auto; padding-top: 16px; display: grid; gap: 10px; }

/* ---------- Sections ---------- */
.sx { padding: clamp(56px, 8vw, 96px) 0; }
/* Two white sections in a row share one gap; after a tinted band keep the full gap. */
.sx:not(.sx--tint):not(.sx--dark) + .sx:not(.sx--tint):not(.sx--dark) { padding-top: 0; }
.sx--tint { background: var(--c-soft); }
.sx--dark { background: var(--c-dark); color: rgba(255,255,255,.88); }
.sx--dark h2, .sx--dark h3 { color: #fff; }
.sx-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sx-head.left { margin-left: 0; text-align: left; }
.sx-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sx-row .sx-head { margin: 0; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 10px; }
.sx-intro { color: var(--c-muted); font-size: 17px; }
.prose { font-size: 17px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 4px solid var(--c-accent); background: var(--c-soft); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: 8px 12px; text-align: left; }
.narrow { max-width: 820px; margin: 0 auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--c-dark); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(600px 300px at 90% 0%, color-mix(in srgb, var(--c-primary) 55%, transparent), transparent 70%),
    radial-gradient(400px 260px at 0% 100%, color-mix(in srgb, var(--c-accent) 25%, transparent), transparent 70%); }
.page-hero.has-image::before { background: linear-gradient(90deg, rgba(11,44,70,.92) 0%, rgba(11,44,70,.6) 60%, rgba(11,44,70,.35) 100%); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 720px; font-size: 18px; color: rgba(255,255,255,.88); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: rgba(255,255,255,.75); }
.crumbs a { color: rgba(255,255,255,.9); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }

/* ---------- Hero slider (home) ---------- */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; color: #fff; background: var(--c-dark); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; flex: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,44,70,.88) 0%, rgba(11,44,70,.55) 55%, rgba(11,44,70,.15) 100%); }
.hero-art { position: absolute; inset: 0; background:
    radial-gradient(700px 420px at 85% 15%, color-mix(in srgb, var(--c-primary) 70%, transparent), transparent 70%),
    radial-gradient(520px 360px at 10% 110%, color-mix(in srgb, var(--c-accent) 35%, transparent), transparent 70%),
    var(--c-dark); }
.hero-art::before { content: ""; position: absolute; right: 6%; top: 50%; width: min(420px, 40vw); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,.04) 60%); border: 1px solid rgba(255,255,255,.15); }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 80px 0; }
.hero-content h1, .hero-content h2.hero-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 16px; }
.hero-content p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.9); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.hero-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 24px; }
.hero-controls .container { display: flex; align-items: center; gap: 12px; }
.hero-dot { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: width .2s; }
.hero-dot.is-active { width: 32px; background: var(--c-accent); }
.hero-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }

/* ---------- Quick links ---------- */
.quick { margin-top: -48px; position: relative; z-index: 5; padding: 0 0 clamp(40px, 6vw, 72px); }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quick-card { display: flex; gap: 14px; align-items: center; padding: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--c-dark); border: 1px solid var(--c-line); transition: transform .15s, box-shadow .15s; }
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.quick-icon { flex: 0 0 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; background: var(--c-primary); }
.quick-card:nth-child(2) .quick-icon { background: var(--c-dark); }
.quick-card:nth-child(3) .quick-icon { background: color-mix(in srgb, var(--c-accent) 80%, #b45309); color: var(--c-dark); }
.quick-card:nth-child(4) .quick-icon { background: #16a34a; }
.quick-card strong { font-family: var(--font-head); font-size: 16px; display: block; }
.quick-card span { font-size: 13.5px; color: var(--c-muted); }
@media (max-width: 560px) { .quick-card { flex-direction: column; text-align: center; padding: 16px 10px; gap: 8px; } .quick-card > span:not(.quick-icon) > span { display: none; } .quick-icon { flex-basis: auto; width: 48px; } }

/* ---------- Image + text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.image-left .split-media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.image-left .split-media { order: 0; } }
.split-media { position: relative; }
.split-media img, .split-media .ph { border-radius: 28px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media::after { content: ""; position: absolute; z-index: -1; right: -16px; bottom: -16px; width: 55%; height: 55%; border-radius: 28px; background: var(--c-accent); opacity: .55; }

/* Placeholder art when no photo is uploaded */
.ph { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-size: 56px;
    background: radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--c-primary) 85%, #fff), var(--c-primary) 45%, var(--c-dark)); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; transition: transform .15s, box-shadow .15s, border-color .15s; height: 100%; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
    color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 12%, #fff); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--c-muted); margin: 0; font-size: 15.5px; }
.card-img { margin: -26px -26px 18px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.grid-4 .card { padding: 20px; }
.grid-4 .card:not(:has(p)) { display: flex; align-items: center; gap: 12px; }
.grid-4 .card:not(:has(p)) .card-icon { margin: 0; flex: 0 0 46px; width: 46px; height: 46px; font-size: 19px; }
.grid-4 .card:not(:has(p)) h3 { margin: 0; font-size: 15.5px; }

/* ---------- Stats ---------- */
.stats-band { background: linear-gradient(120deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 55%, var(--c-dark))); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 44px); }
.stats-band h2 { color: #fff; text-align: center; margin-bottom: 24px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; text-align: center; }
.stat-value { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 15px; opacity: .9; }

/* ---------- Steps, checklist, table, timeline ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 56px 22px 22px; }
.steps li::before { content: counter(step); position: absolute; top: 18px; left: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary); color: #fff;
    font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps strong { font-family: var(--font-head); display: block; color: var(--c-dark); margin-bottom: 4px; }
.steps span { color: var(--c-muted); font-size: 15px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); }
.checklist li i { color: var(--c-success); margin-top: 4px; }
.kv { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.kv th, .kv td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv th { width: 38%; background: var(--c-soft); font-family: var(--font-head); font-weight: 700; color: var(--c-dark); }
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 6px; bottom: 6px; width: 3px; background: color-mix(in srgb, var(--c-primary) 25%, #fff); border-radius: 3px; }
.timeline li { position: relative; padding: 0 0 26px 60px; }
.timeline li::before { content: ""; position: absolute; left: 12px; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 4px solid var(--c-primary); }
.timeline-year { font-family: var(--font-head); font-weight: 800; color: var(--c-primary); }
.timeline h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.timeline p { color: var(--c-muted); margin: 0; }

/* ---------- People ---------- */
.person { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; }
@media (max-width: 560px) { .person { grid-template-columns: 1fr; text-align: center; } .person-photo { margin: 0 auto; } }
.person-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--c-soft); }
.person-photo.ph { font-size: 40px; }
.person blockquote { margin: 0 0 12px; font-size: 16.5px; color: var(--c-text); position: relative; }
.person-name { font-family: var(--font-head); font-weight: 800; color: var(--c-dark); }
.person-role { color: var(--c-primary); font-weight: 600; font-size: 14px; }
.teacher { text-align: center; }
.teacher img, .teacher .ph { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 4px solid var(--c-soft); font-size: 42px; }
.teacher p { font-size: 14.5px; }

/* ---------- Posts ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .15s, box-shadow .15s; color: inherit; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.post-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-soft); }
.post-img img, .post-img .ph { width: 100%; height: 100%; object-fit: cover; font-size: 40px; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13.5px; color: var(--c-muted); align-items: center; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c-primary) 12%, #fff); color: var(--c-primary); font-weight: 700; font-size: 12px; }
.tag-notice { background: #fff4d6; color: #92400e; }
.tag-event { background: #dcfce7; color: #166534; }
.post-card h3 { font-size: 1.12rem; margin: 0; color: var(--c-dark); }
.post-card p { color: var(--c-muted); font-size: 15px; margin: 0; }
.date-box { flex: 0 0 64px; text-align: center; border-radius: 14px; background: var(--c-primary); color: #fff; padding: 8px 4px; font-family: var(--font-head); line-height: 1.1; }
.date-box b { display: block; font-size: 24px; }
.date-box small { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.list-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); color: inherit; }
.list-row + .list-row { margin-top: 12px; }
.list-row:hover { box-shadow: var(--shadow); text-decoration: none; }
.list-row h3 { margin: 0 0 4px; font-size: 1.05rem; }
.list-row p { margin: 0; color: var(--c-muted); font-size: 15px; }
.article { max-width: 820px; margin: 0 auto; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.fact { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--c-soft); font-weight: 600; font-size: 14px; color: var(--c-dark); }
.pagination-wrap { margin-top: 32px; display: flex; justify-content: center; }
.pagination-wrap nav > div:first-child { display: none; }
.pagination-wrap svg { width: 18px; }

/* ---------- Gallery ---------- */
.album-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; }
.album-card img, .album-card .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-card:hover img { transform: scale(1.05); }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11,44,70,.85)); }
.album-info { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; }
.album-info strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.album-info span { font-size: 13.5px; opacity: .9; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.photo { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; padding: 0; border: 0; cursor: zoom-in; background: var(--c-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 15, 25, .94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: 10px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 20px; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--c-line); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 4px; right: 20px; font-family: Georgia, serif; font-size: 90px; line-height: 1; color: color-mix(in srgb, var(--c-primary) 18%, #fff); }
.quote p { font-size: 16.5px; margin-bottom: 18px; position: relative; }
.quote-by { display: flex; gap: 12px; align-items: center; }
.quote-by img, .quote-by .ph { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; font-size: 18px; }
.quote-by strong { display: block; font-family: var(--font-head); color: var(--c-dark); }
.quote-by span { font-size: 13.5px; color: var(--c-muted); }
.stars { color: #f59e0b; font-size: 14px; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-family: var(--font-head); font-weight: 700; color: var(--c-dark); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--c-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-answer { padding: 0 20px 18px; color: var(--c-muted); }

/* ---------- Documents ---------- */
.doc { display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); color: inherit; }
.doc:hover { box-shadow: var(--shadow); text-decoration: none; }
.doc-icon { flex: 0 0 48px; height: 48px; border-radius: 12px; background: #fee2e2; color: #b91c1c; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.doc strong { display: block; color: var(--c-dark); font-family: var(--font-head); }
.doc span { font-size: 13.5px; color: var(--c-muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 5vw, 64px); background: var(--c-dark); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, color-mix(in srgb, var(--c-primary) 60%, transparent), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); margin: 0; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--c-dark); }
.field label .req { color: var(--c-danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--c-line); border-radius: 12px; font: inherit; color: var(--c-text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 18%, transparent); }
.field-error { color: var(--c-danger); font-size: 13.5px; margin-top: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--c-muted); margin-top: 10px; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.enquiry-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .enquiry-wrap { grid-template-columns: 1fr; } }
.enquiry-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.enquiry-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.enquiry-points i { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c-primary) 14%, #fff); color: var(--c-primary); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.contact-item i { flex: 0 0 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c-primary) 12%, #fff); color: var(--c-primary); font-size: 18px; }
.contact-item strong { display: block; font-family: var(--font-head); color: var(--c-dark); }
.contact-item span, .contact-item a { color: var(--c-muted); }
.map { width: 100%; min-height: 340px; border: 0; border-radius: var(--radius); margin-top: 20px; background: var(--c-soft); }

/* ---------- Classes, calendar, routes ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1.5px solid var(--c-line); font-family: var(--font-head); font-weight: 700; color: var(--c-dark); }
.chip:nth-child(3n+1) { border-color: color-mix(in srgb, var(--c-primary) 40%, #fff); }
.chip:nth-child(3n+2) { border-color: color-mix(in srgb, var(--c-accent) 70%, #fff); }
.route { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.route h3 { display: flex; gap: 10px; align-items: center; }
.route h3 i { color: var(--c-primary); }
.route-stops { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.route-stops span { padding: 4px 10px; border-radius: 999px; background: var(--c-soft); font-size: 13.5px; }

/* ---------- Policy page ---------- */
.policy { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .policy { grid-template-columns: 1fr; } .toc { position: static !important; } }
.toc { position: sticky; top: 100px; background: var(--c-soft); border-radius: var(--radius); padding: 20px; font-size: 14.5px; }
.toc strong { display: block; font-family: var(--font-head); margin-bottom: 10px; color: var(--c-dark); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc:empty, .toc.is-empty { display: none; }
.updated { color: var(--c-muted); font-size: 14px; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--c-dark); color: rgba(255,255,255,.78); padding: 64px 0 0; margin-top: 0; font-size: 15px; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-logo { height: 56px; width: auto; margin-bottom: 14px; }
.footer-contact { display: grid; gap: 8px; margin: 16px 0; }
.footer-contact span, .footer-contact a { display: flex; gap: 10px; }
.footer-contact i { color: var(--c-accent); margin-top: 4px; width: 16px; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 calc(20px + var(--bar-h)); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- Floating & mobile bar ---------- */
.wa-float { position: fixed; right: 20px; bottom: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 12px 30px rgba(37, 211, 102, .4); }
.wa-float:hover { transform: scale(1.06); color: #fff; text-decoration: none; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
    :root { --bar-h: 66px; }
    .wa-float { display: none; }
    .mobile-bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px rgba(11,44,70,.08); padding-bottom: env(safe-area-inset-bottom); }
    .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 64px; font-size: 12px; font-weight: 700; color: var(--c-dark); }
    .mobile-bar a i { font-size: 19px; color: var(--c-primary); }
    .mobile-bar a.is-wa i { color: #16a34a; }
    .mobile-bar a.is-cta { background: var(--c-primary); color: #fff; }
    .mobile-bar a.is-cta i { color: #fff; }
    .mobile-bar a:hover { text-decoration: none; }
    body { padding-bottom: var(--bar-h); }
}

/* ---------- Cookie notice, 404 ---------- */
.cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + var(--bar-h)); max-width: 520px; background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-lg); display: none; gap: 12px; align-items: center; font-size: 14px; }
.cookie.is-open { display: flex; }
.nf { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.nf-code { font-family: var(--font-head); font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; color: var(--c-primary); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
