:root {
  --brand: #007c9e;
  --brand-dark: #00536b;
  --brand-tint: #e6f3f7;
  --accent: #f0a431;
  --ink: #17313b;
  --muted: #5b6f77;
  --line: #d8e3e8;
  --bg: #ffffff;
  --bg-alt: #f5f9fb;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 60, 80, .10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--brand-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .3em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand-dark); }
.brand img { width: 46px; height: auto; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.brand small { display: block; font: 500 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav a:hover { background: var(--brand-tint); }
.nav a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-tint); font-weight: 700; }
.nav .cta { background: var(--brand); color: #fff; }
.nav .cta:hover { background: var(--brand-dark); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--brand); }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn.light { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn.light:hover { background: var(--brand-tint); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn.ghost:hover { background: rgba(255,255,255,.15); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { position: relative; color: #fff; background: #0b2f3b url("../img/hero-group.jpg") center 35% / cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,50,68,.92) 0%, rgba(0,50,68,.72) 55%, rgba(0,50,68,.35) 100%); }
.hero .wrap { position: relative; padding: clamp(64px, 12vw, 140px) 0; max-width: 1120px; }
.hero h1 { color: #fff; max-width: 14em; }
.hero p { max-width: 36em; font-size: 1.15rem; opacity: .95; }
.eyebrow { font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

.page-head { background: var(--brand-dark); color: #fff; padding: clamp(36px, 6vw, 64px) 0; }
.page-head h1 { color: #fff; margin: 0; }
.page-head p { margin: 10px 0 0; max-width: 40em; opacity: .9; font-size: 1.1rem; }

/* Sections */
section.block { padding: clamp(40px, 7vw, 84px) 0; }
section.alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.lead { font-size: 1.15rem; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; margin: 0; }
.facts strong { display: block; font: 700 2rem var(--serif); color: var(--brand); }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .facts { grid-template-columns: repeat(2, 1fr); } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card .body { padding: 16px 18px 20px; }
.card h3 { margin-bottom: .3em; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; font: 700 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); background: var(--brand-tint); padding: 3px 8px; border-radius: 4px; margin-bottom: 8px; }

.band { background: var(--brand); color: #fff; padding: 40px 0; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.band h2 { color: #fff; margin: 0; }
.band p { margin: 4px 0 0; opacity: .92; }

/* Programs */
.subnav { position: sticky; top: 72px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; white-space: nowrap; }
.subnav a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: .9rem; color: var(--ink); }
.subnav a:hover { background: var(--brand-tint); border-color: var(--brand); }
.group-title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 8px; padding-bottom: 12px; border-bottom: 3px solid var(--brand); }
.program { display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.program:last-child { border-bottom: 0; }
.program img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.facts-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 18px; }
.facts-dl div { background: var(--bg-alt); border-left: 4px solid var(--brand); border-radius: 6px; padding: 12px 16px; }
.facts-dl h4 { margin: 0 0 6px; font: 700 .78rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); }
.facts-dl ul { margin: 0; padding-left: 1.1em; font-size: .96rem; }
.facts-dl p { margin: 0; font-size: .96rem; }
@media (max-width: 800px) { .program { grid-template-columns: 1fr; gap: 16px; } .program img { max-width: 420px; } }

/* Table */
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { background: var(--brand-tint); color: var(--brand-dark); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
td.price { font: 700 1.2rem var(--serif); color: var(--brand-dark); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

.note { background: #fff8ea; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 6px; font-size: .97rem; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 62px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.panel h3 { margin-top: 0; }
.panel.alt { background: var(--bg-alt); }

.people { list-style: none; padding: 0; margin: 0; }
.people li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; }
.people li span:last-child { color: var(--muted); text-align: right; font-size: .93rem; }
.names { columns: 2; list-style: none; padding: 0; margin: 14px 0 0; }
.names li { break-inside: avoid; padding: 3px 0; margin: 0; }
@media (max-width: 560px) { .names { columns: 1; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { border-radius: 8px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Footer */
.site-footer { background: #0b2f3b; color: #cfe1e7; padding: 48px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 18px; font-size: .85rem; opacity: .8; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
