:root {
  --bg: #FAF8F0;
  --bg-alt: #F3EEE2;
  --text: #1A2419;
  --text-sec: #4A5E52;
  --green: #1E5A4B;
  --green-dark: #143F35;
  --rose: #B34A69;
  --rose-hover: #9A3B58;
  --gold: #D9B25F;
  --dark: #14110D;
  --dark-alt: #221C14;
  --line: #E4DCCB;
  --radius: 22px;
  --font: "Heebo", "Arial", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 64px 0 40px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(179, 74, 105, .10), transparent 70%),
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(30, 90, 75, .10), transparent 70%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--green);
  font-size: .95rem;
  margin: 0 0 26px;
}
.brand::before, .brand::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 20px;
  color: var(--green);
}
.hero h1 span { color: var(--rose); }
.hero .lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--text-sec);
}
.hero .lead strong { color: var(--text); font-weight: 700; }
.hero .choose {
  margin: 30px 0 0;
  font-weight: 700;
  color: var(--text);
}

/* ---------- Program cards ---------- */
.programs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 8px 0 72px;
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px -22px rgba(26, 36, 25, .35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -22px rgba(26, 36, 25, .45); }
.card .media { aspect-ratio: 1000 / 525; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.tag {
  align-self: flex-start;
  font-size: .85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.card h2 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 10px; font-weight: 800; }
.card p { margin: 0 0 18px; }
.card ul { list-style: none; margin: 0 0 26px; padding: 0; }
.card li { position: relative; padding-right: 28px; margin-bottom: 8px; }
.card li::before {
  content: "";
  position: absolute;
  right: 4px;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.12rem;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(-4px); }

.card--women { background: #fff; border: 1px solid var(--line); }
.card--women .tag { background: #F5D8DF; color: var(--rose-hover); }
.card--women h2 { color: var(--green); }
.card--women p, .card--women li { color: var(--text-sec); }
.card--women li::before { background: var(--rose); }
.card--women .btn { background: var(--rose); color: #fff; }
.card--women .btn:hover { background: var(--rose-hover); }

.card--men { background: var(--dark); color: #F5F1EA; }
.card--men .tag { background: rgba(217, 178, 95, .16); color: var(--gold); }
.card--men h2 { color: #fff; }
.card--men p, .card--men li { color: #CFC8BB; }
.card--men li::before { background: var(--gold); }
.card--men .btn { background: var(--gold); color: var(--dark); }
.card--men .btn:hover { background: #E8C677; }

/* ---------- About ---------- */
.about { background: var(--green); color: #EAF2EE; padding: 56px 0; }
.about .wrap { display: flex; align-items: center; gap: 32px; max-width: 860px; }
.about img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .25);
  flex-shrink: 0;
}
.about h2 { margin: 0 0 6px; font-size: 1.6rem; color: #fff; }
.about p { margin: 0 0 8px; }
.about .quote { font-style: italic; color: #C9E2D8; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 36px 0 110px;
  text-align: center;
  font-size: .95rem;
  color: var(--text-sec);
}
.legal, .social { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.legal a, .social a { text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover, .social a:hover { color: var(--green); }
.social a { display: inline-flex; padding: 4px; }
.social svg { width: 24px; height: 24px; fill: var(--green); }
.copy { font-size: .85rem; margin: 0; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1FA855;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 760px; margin: 0 auto; padding: 48px 20px 40px; }
.legal-page h1 { color: var(--green); font-size: 2.2rem; margin: 0 0 6px; }
.legal-page h2 { color: var(--green); font-size: 1.3rem; margin: 32px 0 8px; }
.legal-page .updated { color: var(--text-sec); font-size: .95rem; margin-bottom: 24px; }
.back-link {
  display: inline-block;
  margin-top: 36px;
  font-weight: 700;
  color: var(--green);
}

@media (max-width: 820px) {
  .hero { padding: 44px 0 28px; }
  .programs { grid-template-columns: 1fr; gap: 22px; padding-bottom: 52px; }
  .card .body { padding: 22px 20px 26px; }
  .about .wrap { flex-direction: column; text-align: center; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Accessibility widget ---------- */
.a11y-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 950;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: #0B57D0;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.a11y-btn svg { width: 34px; height: 34px; fill: #fff; }
.a11y-panel {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 960;
  width: min(330px, calc(100vw - 40px));
  max-height: calc(100vh - 120px);
  overflow: auto;
  background: #fff;
  color: #111;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
.a11y-panel[hidden] { display: none; }
.a11y-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0B57D0;
  color: #fff;
  padding: 14px 16px;
  border-radius: 16px 16px 0 0;
}
.a11y-head h2 { margin: 0; font-size: 18px; }
.a11y-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
}
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.a11y-grid button {
  min-height: 64px;
  padding: 8px;
  border: 2px solid #D6DCE5;
  border-radius: 10px;
  background: #F6F8FB;
  color: #111;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.a11y-grid button[aria-pressed="true"] { border-color: #0B57D0; background: #E3ECFC; font-weight: 700; }
.a11y-grid .a11y-reset { grid-column: 1 / -1; min-height: 48px; background: #fff; }
.a11y-foot { padding: 0 14px 14px; text-align: center; font-size: 14px; }
.a11y-foot a { color: #0B57D0; }

/* modes applied to <html> */
html.a11y-contrast body,
html.a11y-contrast .card,
html.a11y-contrast .about,
html.a11y-contrast .site-footer,
html.a11y-contrast .hero { background: #000 !important; color: #fff !important; }
html.a11y-contrast .site-main *:not(img):not(svg):not(path),
html.a11y-contrast .site-footer *:not(svg):not(path) { color: #fff !important; background-color: transparent !important; border-color: #fff !important; }
html.a11y-contrast .btn { background: #FFEB3B !important; color: #000 !important; border: 2px solid #fff; }
html.a11y-contrast .site-main a, html.a11y-contrast .site-footer a { color: #FFEB3B !important; }
html.a11y-contrast .social svg { fill: #FFEB3B; }
html.a11y-gray .site-main, html.a11y-gray .site-footer { filter: grayscale(1); }
html.a11y-links .site-main a, html.a11y-links .site-footer a {
  text-decoration: underline !important;
  outline: 2px dashed currentColor;
  outline-offset: 3px;
  background-color: #FFF59D !important;
  color: #000 !important;
}
html.a11y-font body, html.a11y-font .btn { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em; }
html.a11y-spacing .site-main, html.a11y-spacing .site-footer { line-height: 2 !important; word-spacing: .16em; letter-spacing: .04em; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1 4 8-3 1-4-8-6 5z' fill='%23000' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
