@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&display=swap");
/* Layout: the logo's cyan and ink carry the page. A full-bleed cyan hero with the logo
   beside the headline, ink header and footer, then white sections with the logo's
   slate label style reused for eyebrows. Condensed display type echoes the wordmark. */
:root {
  --cyan: #00ccff;
  --ink: #010006;
  --slate: #404447;
  --paper: #fbf6fc;
  --bg: #ffffff;
  --surface: #f3f7f9;
  --fg: #010006;
  --muted: #4a5257;
  --accent: #00a6d6;
  --line: #d9e3e8;
  --on-cyan: #010006;
  --on-ink: #fbf6fc;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #010006;
    --surface: #111417;
    --fg: #fbf6fc;
    --muted: #aab4b9;
    --accent: #00ccff;
    --line: #2a2f33;
    --on-cyan: #010006;
    --on-ink: #fbf6fc;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #010006;
  --surface: #111417;
  --fg: #fbf6fc;
  --muted: #aab4b9;
  --accent: #00ccff;
  --line: #2a2f33;
  --on-cyan: #010006;
  --on-ink: #fbf6fc;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* The logo's slate label, reused as the eyebrow on every section */
.label {
  display: inline-block;
  background: #006f99;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.section { padding-block: 80px; }
.section-head { display: grid; gap: 14px; max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 18px; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: #006f99;
  color: var(--on-ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 44px; height: 44px; border-radius: 12px; display: block; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: 0.04em; }
.brand-text span { font-size: 12px; letter-spacing: 0.06em; opacity: 0.8; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; opacity: 0.85; }
.nav a:hover { opacity: 1; color: var(--cyan); }
.nav a.btn, .nav a.btn:hover { color: var(--ink); opacity: 1; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--on-ink);
  color: var(--on-ink);
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  background: var(--cyan);
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--cyan);
  border-radius: 999px;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn.outline { background: transparent; color: inherit; border-color: currentColor; }
.btn.dark { background: #006f99; color: #fff; border-color: #006f99; }

/* Hero: full-bleed cyan, the logo as the picture */
.hero { background: var(--cyan); color: var(--on-cyan); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-block: 80px;
}
.hero h1 { font-size: clamp(56px, 9vw, 116px); }
.hero h1 .sub {
  display: inline-block;
  margin-top: 16px;
  background: #006f99;
  color: #fff;
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 0.04em;
  padding: 4px 14px;
}
.hero p.lead { font-size: 20px; margin-top: 24px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-logo { display: flex; justify-content: center; }
.hero-logo img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(1, 0, 6, 0.28);
}

/* Stat strip, ink band */
.strip { background: #006f99; color: var(--on-ink); }
.strip .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}
.strip .cell { padding: 28px 20px; border-left: 1px solid rgba(255, 255, 255, 0.18); min-width: 0; }
.strip .cell:first-child { border-left: 0; }
.strip strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 22px; font-weight: 800; text-transform: uppercase; color: var(--cyan); letter-spacing: 0.02em; }
.strip span { font-size: 15px; opacity: 0.75; }

/* Courses */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border: 2px solid var(--cyan);
  border-radius: 24px;
  background: var(--bg);
}
.card:hover { background: var(--surface); }
.card h3 { font-size: 30px; }
.card p { color: var(--muted); font-size: 16px; }
.card .age {
  align-self: flex-start;
  background: var(--cyan);
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 999px;
}

/* Teachers: placeholders until real staff details are added */
.teachers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.teacher { border: 2px solid var(--cyan); border-radius: 24px; overflow: hidden; background: var(--bg); min-width: 0; }
.teacher .photo {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 40px;
}
.teacher .info { padding: 18px 20px 22px; display: grid; gap: 6px; }
.teacher h3 { font-size: 24px; }
.teacher .subject { color: var(--accent); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }
.teacher p { color: var(--muted); font-size: 15px; }

.teacher img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; max-width: 100%; }

.lang-group { display: inline-flex; gap: 6px; margin-left: auto; }
.lang-btn {
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  border-radius: 999px;
  padding: 5px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang-btn { display: inline-flex; align-items: center; }
.lang-btn .flag svg { display: block; width: 20px; height: 14px; border-radius: 2px; margin-right: 6px; }
.lang-btn.active { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }

/* Why */
.why { background: var(--surface); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; }
.feature { border-left: 6px solid var(--cyan); padding-left: 18px; min-width: 0; }
.feature h3 { font-size: 24px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 16px; }

/* Steps: a real sequence, so numbers carry meaning */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; border-top: 4px solid var(--cyan); padding: 18px 20px 0 0; min-width: 0; }
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--cyan);
  -webkit-text-stroke: 1.5px #006f99;
  margin-bottom: 10px;
}
.steps h3 { font-size: 24px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Contact */
.contact { background: #006f99; color: var(--on-ink); }
.contact .label { background: var(--cyan); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(40px, 5vw, 60px); margin-top: 14px; }
.info-list { display: grid; gap: 22px; margin: 28px 0 0; }
.info-list div { min-width: 0; border-left: 3px solid var(--cyan); padding-left: 16px; }
.info-list dt { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.info-list dd { margin: 2px 0 0; font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.placeholder { opacity: 0.6; font-weight: 500; }
form { display: grid; gap: 16px; background: var(--paper); color: var(--ink); padding: 30px; min-width: 0; border-radius: 24px; }
label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
input, select {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 2px solid #006f99;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 12px;
}
input:focus-visible, select:focus-visible { outline: 3px solid var(--cyan); outline-offset: 1px; }
input, select { color-scheme: light; -webkit-text-fill-color: var(--ink); }
input::placeholder { color: #5b6670; opacity: 1; }
input:-webkit-autofill, input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #ffffff inset; -webkit-text-fill-color: var(--ink); }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important; box-shadow: 0 0 0 1000px #ffffff inset !important; background-color: #ffffff !important; transition: background-color 9999s ease-out 0s; }
form .btn { width: 100%; }
.form-note { font-size: 15px; color: var(--slate); min-height: 1.5em; text-transform: none; letter-spacing: 0; font-weight: 500; }
.form-note.ok { color: var(--ink); }

/* Footer */
.site-footer { background: #006f99; color: var(--on-ink); padding-block: 28px; font-size: 15px; border-top: 6px solid var(--cyan); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; opacity: 0.85; }

/* Responsive */
@media (max-width: 880px) {
  .hero .wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 260px; }
  .hero .wrap { padding-block: 56px; gap: 36px; }
  .section { padding-block: 56px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #006f99;
    padding: 18px max(16px, env(safe-area-inset-left, 0px));
    gap: 18px;
    border-top: 1px solid #2a2f33;
  }
  .nav-toggle { display: inline-flex; }
  .strip .cell { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .strip .cell:first-child { border-top: 0; }
}
@media (max-width: 640px) {
  .brand-text { display: none; }
  .brand { flex: none; }
  .lang-group { gap: 4px; flex: none; }
  .lang-btn { padding: 4px 8px; font-size: 12px; }
  .site-header .wrap { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
