:root {
  --night: #172650;
  --night-soft: #43507a;
  --hill: #1f6b45;
  --hill-dark: #14432b;
  --hill-far: #3f8a5f;
  --sun: #f6c46f;
  --sun-deep: #f2b134;
  --meadow: #f3f8ef;
  --white: #ffffff;
  --line: #d6e2d2;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--night);
  background: var(--meadow);
}
img { max-width: 100%; display: block; }
a { color: var(--hill); }
h1, h2, h3 { font-family: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif; font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--night); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--meadow); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); margin-right: auto; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.3rem; line-height: 1; }
.brand-name small { display: block; font-family: "Atkinson Hyperlegible", sans-serif; font-weight: 400; font-size: .78rem; color: var(--night-soft); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { text-decoration: none; color: var(--night); font-weight: 700; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lang-link { font-size: .9rem; border: 2px solid var(--night); padding: 3px 11px; border-radius: 999px; }
.header-call { white-space: nowrap; }
@media (max-width: 760px) {
  .site-nav .nav-hide-sm { display: none; }
  .header-call .btn-label { display: none; }
  .site-nav { gap: 12px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; border-radius: 999px; padding: 12px 24px; transition: background .15s ease; }
.btn-primary { background: var(--hill); color: #fff; }
.btn-primary:hover { background: var(--hill-dark); }
.btn-ghost { background: transparent; color: var(--night); border-color: var(--night); }
.btn-ghost:hover { background: rgba(23, 38, 80, .08); }
.btn-small { padding: 8px 16px; font-size: .95rem; }

/* Hero: the 5 AM sunrise */
.hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 270px;
  background: linear-gradient(180deg, #101d42 0%, #1d3160 58%, #4f5f8c 78%, #e59a62 92%, #f6c46f 100%); }
.sun { position: absolute; right: 9%; bottom: 120px; width: 230px; height: 230px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 0 0 30px rgba(246, 196, 111, .18), 0 0 0 66px rgba(246, 196, 111, .09); }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 210px; display: block; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 12em; }
.hero p.lead { font-size: 1.25rem; max-width: 34em; color: #e6ebfa; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero .btn-primary { background: var(--sun-deep); color: var(--night); }
.hero .btn-primary:hover { background: var(--sun); }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.rating { margin: 0 0 34px; font-weight: 700; }
.stars { color: #8a5a00; letter-spacing: 2px; }
.hero .stars { color: var(--sun); }

.day { max-width: 560px; }
.day-track { position: relative; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .28); }
.day-track i { position: absolute; top: 0; bottom: 0; left: 30.8%; width: 53.8%; border-radius: 999px; background: var(--sun-deep); }
.day-labels { position: relative; height: 3.4em; margin: 10px 0 0; padding: 0; list-style: none; font-size: .95rem; line-height: 1.3; }
.day-labels li { position: absolute; top: 0; }
.day-labels li:nth-child(1) { left: 0; }
.day-labels li:nth-child(2) { left: 57.7%; transform: translateX(-50%); text-align: center; }
.day-labels li:nth-child(3) { right: 0; text-align: right; }
.day-labels b { display: block; }

@media (max-width: 760px) {
  .hero { padding: 40px 0 250px; }
  .sun { right: -30px; bottom: 90px; width: 150px; height: 150px; box-shadow: 0 0 0 20px rgba(246, 196, 111, .18), 0 0 0 44px rgba(246, 196, 111, .09); }
  .hills { height: 170px; }
}

/* Facts strip */
.facts { padding: 0 0 8px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.facts li { padding: 14px 0; border-top: 2px solid var(--night); font-weight: 700; }
@media (max-width: 860px) { .facts ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts ul { grid-template-columns: 1fr; } }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 640px; margin: 0 0 36px; }
.section-head p { color: var(--night-soft); }

/* About: arch photo */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 999px 999px 18px 18px; }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-weight: 700; }
.about-list li { padding-left: 22px; position: relative; }
.about-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--sun-deep); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .about-list { grid-template-columns: 1fr; } }

/* Programs: a climb up the hill */
.climb { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: end; border-bottom: 6px solid var(--hill); }
.climb > li { background: var(--meadow); border-radius: 18px 18px 0 0; padding: 22px 18px 26px; margin-top: calc((4 - var(--i)) * 18px); border-top: 6px solid var(--hill-far); }
.climb > li:nth-child(2) { border-top-color: var(--hill); }
.climb > li:nth-child(3) { border-top-color: var(--hill-dark); }
.climb > li:nth-child(4) { border-top-color: var(--night); }
.climb > li:nth-child(5) { border-top-color: var(--night); }
.climb .age { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.3rem; line-height: 1.1; margin: 0 0 4px; }
.climb h3 { font-size: 1.1rem; font-weight: 700; color: var(--night-soft); margin-bottom: 10px; }
.climb p { margin: 0 0 .6em; color: var(--night-soft); }
.climb ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 1060px) { .climb { grid-template-columns: repeat(2, 1fr); align-items: stretch; } .climb > li { margin-top: 0; border-radius: 18px; } }
@media (max-width: 560px) { .climb { grid-template-columns: 1fr; } }

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

/* Why: ruled list, no cards */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.why div { padding: 18px 0 20px; border-top: 2px solid var(--night); }
.why h3 { margin: 0 0 4px; }
.why p { margin: 0; color: var(--night-soft); }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.reviews > div { max-width: 640px; }
.reviews .stars { font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* Steps: a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sun-deep); color: var(--night); font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 56px; right: -16px; border-top: 3px dotted var(--hill); }
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; color: var(--night-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps li:not(:last-child)::after { display: none; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 2px solid var(--night); padding: 14px 0; }
.faq details:last-child { border-bottom: 2px solid var(--night); }
.faq summary { font-weight: 700; cursor: pointer; padding: 4px 0; }
.faq details p { margin: 10px 0 0; color: var(--night-soft); }

/* Form */
.form-section { background: var(--hill-dark); color: #fff; }
.form-section h2 { color: #fff; }
.form-section a { color: var(--sun); }
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.form-aside p { color: #e3efe7; }
.form-aside a { font-weight: 700; }
.enroll-form { background: var(--white); color: var(--night); border-radius: var(--radius); padding: 26px; }
.enroll-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .form-grid, .enroll-form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 5px; }
.field .hint { font-weight: 400; color: var(--night-soft); font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 11px 13px; border: 2px solid #6f7a8a; border-radius: 10px; background: #fff; color: var(--night); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--night); outline-offset: 1px; border-color: var(--night); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--night-soft); margin: 10px 0 0; }
.form-status { margin-top: 12px; font-weight: 700; }
.form-status.error { color: #a02020; }
.enroll-form .btn { width: 100%; }

/* Map + contact */
.contact-grid iframe { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--night); color: #d4daf0; padding: 44px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.site-footer a { color: #fff; }
.foot-h { color: #fff; font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 26px; padding-top: 16px; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Simple pages */
.page-hero { padding: 56px 0 24px; }
.page-hero p { color: var(--night-soft); max-width: 640px; }
.page-hero .wrap { max-width: 720px; }
.tour-form { padding-top: 12px; }
.narrow { max-width: 720px; }
.thanks-box { max-width: 640px; margin: 0 auto 64px; background: var(--white); border-radius: var(--radius); padding: 32px; }

/* Sticky mobile call bar */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 10px 12px; background: var(--meadow); border-top: 1px solid var(--line); }
  .call-bar .btn { flex: 1; padding: 11px 10px; }
  body { padding-bottom: 72px; }
}

/* Focus and motion */
a:focus-visible, .btn:focus-visible, summary:focus-visible, button:focus-visible, iframe:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }
.hero a:focus-visible, .hero .btn:focus-visible, .form-section a:focus-visible, .form-section .btn:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: #fff; }
.form-aside a.btn-ghost { color: #fff; border-color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
