:root {
  --ink: #172033;
  --muted: #607086;
  --line: #d9e2ec;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --navy: #173b67;
  --blue: #1e6fb8;
  --cyan: #15a3b8;
  --orange: #eb7f1c;
  --green: #1c8b6a;
  --shadow: 0 18px 42px rgba(23, 32, 51, 0.12);
  --shadow-strong: 0 26px 70px rgba(23, 32, 51, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 20;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 236, 0.8);
  backdrop-filter: blur(14px);
}

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

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand img {
  width: 72px;
  max-height: 48px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: #26364f;
}

.site-nav a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(235, 127, 28, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #d96d10;
  box-shadow: 0 14px 26px rgba(235, 127, 28, 0.3);
}

.button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

.button.line {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 660px;
  color: #fff;
  overflow: hidden;
  background: #10263e;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(21, 163, 184, 0.25), transparent 28%),
    linear-gradient(90deg, rgba(13, 31, 52, 0.94) 0%, rgba(13, 31, 52, 0.74) 45%, rgba(13, 31, 52, 0.32) 100%),
    linear-gradient(180deg, rgba(13, 31, 52, 0.2) 0%, rgba(13, 31, 52, 0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: grid;
  align-content: center;
  max-width: 760px;
  padding: 70px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #9be3f1;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
  color: inherit;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

.hero p.lead {
  margin: 24px 0 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  position: relative;
  z-index: 2;
  margin-top: -68px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.fact {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.fact strong {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
}

.fact span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 34px 0;
}

.section.soft {
  background: var(--soft);
}

.section-header {
  max-width: 780px;
  margin: 0 0 34px;
}

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

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  color: var(--navy);
}

.section-header p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 20px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.intro-split h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.intro-split p:not(.eyebrow) {
  color: #42536b;
  font-size: 1.05rem;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.method-grid div,
.activity-strip div,
.course-path div,
.card-note,
.detail-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.method-grid div {
  min-height: 150px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.07);
}

.method-grid strong {
  color: var(--orange);
  font-size: 1.8rem;
}

.method-grid span {
  color: var(--navy);
  font-weight: 800;
}

.activity-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.activity-strip div {
  padding: 20px;
  background: linear-gradient(135deg, #173b67 0%, #1e6fb8 100%);
  color: #fff;
}

.activity-strip span {
  display: block;
  color: #9be3f1;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 111, 184, 0.32);
  box-shadow: var(--shadow);
}

.card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #dbe8f5;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body,
.panel {
  padding: 24px;
}

.card-body {
  display: grid;
  align-content: start;
  gap: 14px;
}

.card h3,
.panel h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.25rem;
}

.card p,
.panel p {
  color: var(--muted);
}

.card-body > p {
  margin: 0;
}

.meta {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card-note {
  padding: 14px;
  background: #f7fbff;
}

.card-note strong {
  display: block;
  color: var(--navy);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.card-note span {
  display: block;
  margin-top: 4px;
  color: #53657d;
  font-size: 0.92rem;
  line-height: 1.45;
}

.card--course .card-media {
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #e7f1fb 0%, #fff4e8 100%);
}

.card--course .card-media img {
  object-fit: contain;
  padding: 26px;
  filter: drop-shadow(0 12px 20px rgba(23, 32, 51, 0.12));
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.listing-hero {
  padding-bottom: 60px;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.featured-media {
  min-height: 340px;
  background: #dbe8f5;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-copy {
  padding: 34px;
  display: grid;
  align-content: center;
}

.featured-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.featured-copy h3 a {
  text-decoration: none;
}

.featured-copy p {
  color: #53657d;
}

.course-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.course-path div {
  padding: 20px;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.course-path strong {
  display: block;
  color: var(--orange);
  font-size: 1.2rem;
}

.course-path span {
  display: block;
  margin-top: 6px;
  color: #53657d;
}

.text-content {
  max-width: 920px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: 104px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.07);
}

.detail-aside h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 1.45rem;
}

.detail-aside p {
  color: #53657d;
}

.text-content h2,
.text-content h3 {
  color: var(--navy);
  margin-top: 34px;
}

.text-content p {
  color: #36445a;
}

.text-content img {
  margin: 28px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.text-content a {
  color: var(--blue);
  font-weight: 800;
}

.contact-band {
  color: #fff;
  background: linear-gradient(135deg, #173b67 0%, #1e6fb8 62%, #15a3b8 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.contact-card {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-card p {
  margin: 8px 0;
}

.highlight-panel {
  background: linear-gradient(135deg, #173b67 0%, #1e6fb8 100%);
  color: #fff;
}

.highlight-panel h3,
.highlight-panel p {
  color: #fff;
}

.service-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(235, 127, 28, 0.12);
  color: var(--orange);
  font-weight: 900;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 30px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #173b67 0%, #1e6fb8 64%, #15a3b8 100%);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-top: 0;
  color: #fff;
}

.contact-panel p {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
}

.contact-panel strong {
  color: #9be3f1;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.contact-panel a,
.contact-panel span {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
}

.contact-panel .button.line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.contact-panel .button.line:hover {
  background: rgba(255, 255, 255, 0.12);
}

.clean-list {
  margin: 0;
  padding-left: 20px;
  color: #53657d;
}

.clean-list li {
  margin: 10px 0;
}

.contact-form {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form > input[name="website"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8fbff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form label + label,
.contact-form .form-grid + label {
  margin-top: 16px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(21, 163, 184, 0.22);
  border-color: var(--cyan);
  background: #fff;
}

.form-feedback {
  min-height: 24px;
  margin: 16px 0;
  font-weight: 800;
}

.form-feedback.is-success {
  color: var(--green);
}

.form-feedback.is-error {
  color: #b42318;
}

.site-footer {
  padding: 46px 0 22px;
  color: rgba(255, 255, 255, 0.82);
  background: #111c2c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 900px) {
  .mobile-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 6px;
    padding: 10px 12px;
    font-weight: 900;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    display: none;
  }

  .facts-grid,
  .grid.three,
  .grid.two,
  .split-layout,
  .method-grid,
  .activity-strip,
  .featured-card,
  .course-path,
  .detail-layout,
  .contact-page-grid,
  .contact-layout,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .featured-media {
    min-height: 240px;
  }

  .detail-aside {
    position: static;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 560px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
