:root {
  --teal: #045e5f;
  --teal-700: #03484a;
  --teal-900: #022e30;
  --teal-050: #e7f4f4;
  --maroon: #8a140e;
  --maroon-700: #6d100b;
  --gold: #f0c018;
  --gold-700: #c99608;
  --ink: #102628;
  --muted: #3e5456;
  --line: #d3e4e4;
  --paper: #f4f8f8;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(2, 46, 48, 0.08);
  --header-h: 128px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

.facts-grid > *,
.card-grid > *,
.why-grid > *,
.quote-grid > *,
.post-grid > *,
.info-grid > *,
.value-grid > *,
.track-grid > *,
.split > *,
.form-row > *,
.footer-grid > *,
.slide-grid > * {
  min-width: 0;
}

a, h1, h2, h3, p, li { overflow-wrap: break-word; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: var(--teal); }

button, input, textarea { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--teal-900);
}

p { margin: 0 0 14px; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--teal-900); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--white);
  color: var(--teal);
  padding: 8px 14px;
  z-index: 100;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(760px, calc(100% - 40px)); }

.section { padding: 72px 0; }

.section-head { max-width: 680px; margin-bottom: 36px; }

.section-head.center,
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--maroon);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 8px;
  border-bottom: 3px solid var(--gold);
  border-radius: 0 0 10px 10px;
}

.lead { font-size: 1.12rem; color: var(--muted); }

.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  margin-bottom: 16px;
}

.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge.alt { background: var(--maroon); }
.icon-badge.gold { background: var(--gold); color: var(--teal-900); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { background: var(--teal-700); transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--teal-900); }
.btn-gold:hover { background: var(--gold-700); color: var(--teal-900); }

.btn-line {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-line:hover { background: var(--white); color: var(--teal-900); }

.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-700); }

.notice {
  width: min(1120px, calc(100% - 40px));
  margin: 18px auto 0;
  background: #e5f6ea;
  color: #13532a;
  border: 1px solid #b7e0c2;
  border-left: 5px solid #1f8a4c;
  padding: 14px 16px;
  border-radius: 12px;
}

.notice-bad {
  background: #fdecec;
  color: #6d100b;
  border-color: #f3c7c4;
  border-left-color: var(--maroon);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  box-shadow: inset 0 -3px 0 var(--maroon);
}

.topbar {
  background: var(--teal-900);
  color: var(--white);
  font-size: 14px;
}

.topbar-inner,
.navwrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-inner { min-height: 38px; padding: 6px 0; }

.top-links,
.social-mini { display: flex; gap: 16px; flex-wrap: wrap; }

.top-links a,
.top-links span,
.social-mini a {
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-links a:hover,
.social-mini a:hover { color: var(--gold); }

.navwrap {
  position: relative;
  min-height: 84px;
  border-top: 2px solid var(--gold);
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 72px; width: auto; }

.nav-toggle,
.drop-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.menu-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  background: var(--white);
  flex: none;
  z-index: 2;
}

.menu-btn > span,
.menu-btn > span::before,
.menu-btn > span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--teal);
  position: relative;
  border-radius: 2px;
}

.menu-btn > span::before,
.menu-btn > span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn > span::before { top: -6px; }
.menu-btn > span::after { top: 6px; }

.nav-toggle:checked + .menu-btn > span { background: transparent; }
.nav-toggle:checked + .menu-btn > span::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked + .menu-btn > span::after { top: 0; transform: rotate(-45deg); }
.nav-toggle:focus-visible + .menu-btn { outline: 3px solid var(--gold); outline-offset: 3px; }

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px 18px 18px;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle:checked ~ .nav { display: flex; }

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav a:hover,
.nav a.is-active { color: var(--maroon); background: var(--teal-050); }

.drop { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.drop > a { grid-column: 1; }
.drop-caret {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--teal);
}
.drop-caret::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.drop-panel {
  display: none;
  grid-column: 1 / -1;
  padding: 4px 0 8px 12px;
}
.drop-toggle:checked ~ .drop-panel { display: grid; }
.drop-panel a { font-weight: 600; color: var(--muted); }

.nav-contact {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.nav-contact a { color: var(--teal); font-weight: 700; }

.hero {
  position: relative;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 192, 24, 0.18), transparent 26%),
    linear-gradient(145deg, #022e30 0%, #045e5f 58%, #0b7576 100%);
  color: var(--white);
  overflow: hidden;
  padding: 36px 0 108px;
}

.hero h2,
.page-hero h1 { color: var(--white); }

.slide { display: none; }
.slide.is-on { display: block; }

.slide-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .slide-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.slide-copy .eyebrow { color: var(--gold); }
.slide-copy .eyebrow::before { border-bottom-color: var(--white); }
.slide-copy h2 { font-size: clamp(2rem, 5vw, 3.5rem); max-width: 12ch; }
.slide-kicker { color: rgba(255, 255, 255, 0.86); font-size: 1.25rem; margin-bottom: 8px; }
.slide-copy p { color: rgba(255, 255, 255, 0.88); max-width: 46ch; }

.slide-photo {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 4px solid var(--gold);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  background: var(--teal-700);
}

.slide-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-controls {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.ctrl,
.dot {
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.ctrl {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
}

.ctrl:hover,
.dot.is-on { background: var(--gold); color: var(--teal-900); }

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  padding: 0;
}

.hero-arc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 78px;
  z-index: 2;
  pointer-events: none;
}

.facts { margin-top: -8px; }

.facts-grid,
.card-grid,
.why-grid,
.value-grid,
.post-grid,
.quote-grid,
.info-grid {
  display: grid;
  gap: 16px;
}

.fact,
.card,
.quote,
.post-card,
.info-card,
.job,
.step,
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.fact { padding: 18px 18px 16px; }
.fact strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--teal);
}
.fact span { color: var(--muted); }

.card, .value, .step, .info-card { padding: 24px; }
.card h3, .value h3, .step h3, .info-card h3 { font-size: 1.3rem; }
.card p, .value p, .step p, .info-card p, .job p { color: var(--muted); }

.card { position: relative; overflow: hidden; }
.card-index {
  position: absolute;
  right: 16px;
  top: 8px;
  font-family: var(--display);
  font-size: 3rem;
  color: rgba(4, 94, 95, 0.08);
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 280px;
  background: var(--teal);
  box-shadow: var(--shadow);
}

.frame img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.frame::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 8px;
  border-bottom: 5px solid var(--maroon);
  border-radius: 50%;
}

.point-list { display: grid; gap: 14px; margin-top: 18px; }
.point {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
}
.point .icon-badge { width: 46px; height: 46px; border-radius: 14px; margin: 0; }
.point h3 { font-size: 1.1rem; margin-bottom: 4px; }
.point p { margin: 0; color: var(--muted); }

.why-grid .card { background: linear-gradient(180deg, #fff 0%, #f7fbfb 100%); }

.cta-band {
  position: relative;
  overflow: hidden;
  margin: 10px auto 20px;
  width: min(1120px, calc(100% - 40px));
  border-radius: 30px;
  padding: 42px 28px;
  background: linear-gradient(120deg, #022e30, #045e5f 62%, #0c7778);
  color: var(--white);
  display: grid;
  gap: 18px;
  align-items: center;
}

.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 16ch; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin: 0; max-width: 52ch; }
.cta-band::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 16px solid rgba(240, 192, 24, 0.16);
  right: -50px;
  top: -60px;
  transform: rotate(45deg);
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14px;
  border-bottom: 5px solid var(--maroon);
  border-radius: 50%;
  height: 18px;
}

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal-900);
  padding: 12px 0;
}
.faq details p { color: var(--muted); margin-top: 0; }

.quote { padding: 24px; }
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote footer { color: var(--muted); font-size: 0.95rem; }
.quote strong { color: var(--teal); display: block; }
.quote-mark {
  font-family: var(--display);
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
}

.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card img { width: 100%; height: 190px; object-fit: cover; }
.post-card div { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.25rem; }
.post-meta { color: var(--muted); font-size: 0.92rem; }
.post-card a { margin-top: auto; font-weight: 700; text-decoration: none; }

.connect {
  display: grid;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 700; color: var(--teal-900); }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #c5d8d8;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(240, 192, 24, 0.45); }
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.form-note { color: var(--muted); font-size: 0.92rem; }

.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 90% 0%, rgba(240, 192, 24, 0.2), transparent 28%),
    linear-gradient(145deg, #022e30, #045e5f 70%);
  color: var(--white);
  padding: 54px 0 96px;
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lead { color: rgba(255, 255, 255, 0.88); max-width: 62ch; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; }
.crumbs { margin: 0 0 14px; color: rgba(255, 255, 255, 0.8); }
.crumbs a { color: var(--white); }

.feature-list { display: grid; gap: 8px; margin: 14px 0 18px; }
.feature-list li { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.feature-list .icon { color: var(--maroon); margin-top: 4px; }

.course {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.course-copy { padding: 22px; }
.course-photo { min-height: 240px; background: var(--teal); }
.course-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 8px;
}

.job {
  padding: 20px;
  display: grid;
  gap: 8px;
}
.job-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: var(--teal-050);
  color: var(--teal);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.step-no {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--teal-900);
  font-family: var(--display);
  font-weight: 800;
}

.track-grid { display: grid; gap: 16px; }
.track {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: 24px;
  color: var(--white);
  text-decoration: none;
  min-height: 220px;
  background: var(--teal) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(2, 46, 48, 0.88), rgba(4, 94, 95, 0.55));
}
.track > * { position: relative; z-index: 1; }
.track h3, .track p { color: var(--white); }
.track span { font-weight: 800; }

.contact-layout, .article-wrap { display: grid; gap: 22px; }
.info-card a { font-weight: 700; text-decoration: none; }
.map-frame {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: 24px;
  background: var(--line);
}

.contact-layout .info-grid { grid-template-columns: 1fr; }

.prose h2 { font-size: 1.6rem; margin-top: 28px; }
.prose li { margin: 6px 0 6px 18px; list-style: disc; color: var(--muted); }
.prose p { color: var(--muted); }
.article-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
}

.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 20px;
  margin-top: 20px;
}
.footer-grid { display: grid; gap: 28px; }
.site-footer h3 { color: var(--white); font-size: 1.1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer li { margin: 8px 0; }
.footer-brand {
  display: inline-flex;
  background: var(--white);
  border-radius: 14px;
  padding: 8px 10px;
}
.footer-brand img { height: 62px; width: auto; }
.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.gold-line {
  height: 4px;
  width: 84px;
  background: var(--gold);
  border-radius: 4px;
  margin: 12px 0;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1fa855;
  color: white;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.whatsapp .icon { width: 30px; height: 30px; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 46, 48, 0.66);
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal-card {
  width: min(520px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 22px;
  position: relative;
  max-height: calc(100vh - 36px);
  overflow: auto;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: var(--teal-050);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--teal-900);
}

@media (min-width: 760px) {
  .facts-grid,
  .quote-grid,
  .post-grid,
  .why-grid,
  .info-grid,
  .track-grid,
  .form-row { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3,
  .value-grid { grid-template-columns: 1fr 1fr; }
  .split,
  .course,
  .connect,
  .contact-layout { grid-template-columns: 1.05fr 0.95fr; }
  .course.is-flip .course-copy { order: 2; }
  .cta-band { grid-template-columns: 1.4fr auto; padding: 48px 48px 58px; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1040px) {
  .menu-btn, .drop-caret, .nav-contact { display: none; }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
  }
  .nav a { padding: 8px 10px; background: transparent; white-space: nowrap; }
  .nav a.is-active {
    background: var(--teal);
    color: var(--white);
  }
  .drop { position: relative; display: block; }
  .drop > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
  }
  .drop-panel {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 230px;
    padding: 8px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .drop:hover .drop-panel,
  .drop:focus-within .drop-panel { display: grid; }
  .facts-grid,
  .why-grid,
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr; }
}

@media (max-width: 719px) {
  .topbar { display: none; }
  .brand img { height: 58px; }
  .navwrap { min-height: 72px; }
  .site-header { --header-space: 72px; }
  .hero { padding-top: 22px; }
  .section { padding: 52px 0; }
}
