:root {
  --teal: #007f7a;
  --teal-dark: #005f5b;
  --teal-soft: #e6f4f3;
  --green-dark: #183f35;
  --text: #23332f;
  --muted: #6b7c78;
  --line: #dce8e5;
  --white: #ffffff;
  --soft: #f6f9f8;
  --shadow: 0 18px 45px rgba(18, 63, 53, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 232, 229, 0.85);
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 127, 122, 0.18);
  border-radius: 50%;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(24, 63, 53, 0.08);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  padding: 10px 14px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: var(--teal-soft);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span {
  opacity: 0;
}

.nav-toggle.is-open::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open::after {
  transform: translateY(-7px) rotate(-45deg);
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 64px 0 48px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(135deg, rgba(0, 127, 122, 0.18), rgba(24, 63, 53, 0.22)),
    url("../images/hero-banner.jpg");
  background-size: cover;
  background-position: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(0, 127, 122, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 750;
}

.hero h1,
.course-hero h1 {
  color: var(--green-dark);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 760;
  margin-bottom: 22px;
}

.hero p,
.course-hero p {
  max-width: 640px;
  color: #49625c;
  font-size: clamp(17px, 2vw, 21px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 127, 122, 0.25);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0, 127, 122, 0.3);
}

.btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-dark);
  border-color: rgba(24, 63, 53, 0.14);
}

.btn-light:hover {
  color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(24, 63, 53, 0.12);
}

.hero-panel {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

section {
  padding: 86px 0;
}

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

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h2 {
  color: var(--green-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  font-weight: 740;
}

.section-head p,
.about-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

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

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(24, 63, 53, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 127, 122, 0.26);
  box-shadow: var(--shadow);
}

.course-image {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .course-image {
  transform: scale(1.035);
}

.card-body {
  padding: 28px;
}

.card h3 {
  color: var(--green-dark);
  font-size: 24px;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  margin-bottom: 22px;
}

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

.facility-item,
.highlight {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 720;
}

.facility-item {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 18px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.facility-item:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
}

.promo {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
  padding: 36px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--green-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.promo h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.promo p,
.voucher-list li {
  color: rgba(255, 255, 255, 0.84);
}

.voucher-list {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.voucher-list li {
  list-style: none;
}

.booking-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(24, 63, 53, 0.08);
}

.booking-band p {
  color: var(--muted);
  font-size: 17px;
}

.course-hero {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: start;
}

.course-photo {
  min-height: 430px;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.course-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.course-content {
  padding: 78px 0;
}

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

.highlight {
  padding: 18px;
}

.site-footer {
  padding: 54px 0 38px;
  background: var(--green-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.site-footer h2 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 10px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.copyright {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

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

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

  .nav-link {
    text-align: left;
    border-radius: 12px;
  }

  .hero-grid,
  .course-layout,
  .promo,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .contact-list {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-wrap,
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark img {
    width: 31px;
    height: 31px;
  }

  .hero {
    padding: 48px 0 34px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 62%, rgba(255, 255, 255, 0.54) 100%),
      linear-gradient(135deg, rgba(0, 127, 122, 0.16), rgba(24, 63, 53, 0.24)),
      url("../images/hero-banner.jpg");
    background-size: cover;
    background-position: center;
  }

  section,
  .course-content {
    padding: 58px 0;
  }

  .course-hero {
    padding: 58px 0;
  }

  .section-head,
  .booking-band {
    display: block;
  }

  .card-grid,
  .highlights,
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .promo,
  .booking-band {
    padding: 24px;
  }

  .course-photo,
  .course-photo img {
    min-height: 300px;
  }

  .course-image {
    height: 220px;
  }

  .btn {
    width: 100%;
    margin-top: 14px;
  }
}
