:root {
  --green-950: #020a06;
  --green-900: #03130a;
  --green-850: #041b0d;
  --green-800: #062815;
  --green-700: #0a3c1d;
  --green-600: #0e742b;
  --green-500: #1f9d3a;
  --green-450: #35bd4f;
  --green-400: #4bd45d;
  --green-300: #88e98f;
  --gold: #f2b624;
  --blue: #246ec7;
  --white: #ffffff;
  --ice: #f7faf6;
  --line: #dfe6dc;
  --text: #07110b;
  --muted: #5d695f;
  --black: #050806;
  --container: 1194px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  --soft-shadow: 0 10px 26px rgba(5, 32, 13, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--ice);
  line-height: 1.45;
}

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

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

button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(100% - 104px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(6, 10, 8, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.header-content {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #103916;
  border: 2px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 0 3px rgba(107, 118, 119, 0.65),
    0 0 0 5px rgba(255, 255, 255, 0.18);
}

.brand-name {
  color: var(--white);
  line-height: 0.9;
}

.brand-name strong {
  display: block;
  font-size: 2.35rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.08em;
  transform: scaleX(1.08);
  transform-origin: left center;
  text-shadow: 0 3px 0 rgba(255,255,255,0.15), 0 8px 12px rgba(0,0,0,0.35);
}

.brand-name span {
  display: block;
  margin-top: 5px;
  font-size: 0.54rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.82);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 800;
}

.nav-link {
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--green-400);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 16px;
  color: var(--white);
  font-weight: 800;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  transition: 0.2s ease;
}

.dropdown-toggle:hover {
  background: rgba(255,255,255,0.11);
}

.dropdown-toggle svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.8;
  transition: transform 0.2s ease;
}

.dropdown.open .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  width: 178px;
  padding: 10px;
  border-radius: 7px;
  background: #141918;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.18s ease;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 36px;
  padding: 8px 9px;
  color: #fff;
  border-radius: 6px;
  font-size: 0.83rem;
  font-weight: 700;
}

.dropdown-menu a:hover {
  background: rgba(74, 212, 93, 0.12);
}

.portal-icon {
  display: grid;
  place-items: center;
  width: 18px;
  color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 39px;
  padding: 0 20px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  border-radius: 8px;
  background: linear-gradient(180deg, #46c653, #188a33);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 24px rgba(37, 175, 64, 0.22);
}

.header-cta svg,
.btn svg {
  width: 17px;
  height: 17px;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-button span {
  width: 21px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 405px;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  /* height: 100%; */
  object-position: center right;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 46% 80%, rgba(42, 180, 62, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(2,10,6,0.99) 0%, rgba(4,26,13,0.96) 25%, rgba(5,37,17,0.65) 46%, rgba(0,0,0,0.05) 72%),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.32));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(2,10,6,0.38));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding-top: 15px;
}

.hero-copy {
  width: 590px;
  padding-bottom: 10px;
}

.hero h1 {
  max-width: 585px;
  font-size: clamp(2.8rem, 5vw, 4.55rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.075em;
  text-shadow: 0 8px 30px rgba(0,0,0,0.52);
}

.hero h1 span {
  color: var(--green-400);
}

.hero p {
  max-width: 545px;
  margin-top: 20px;
  color: rgba(255,255,255,0.93);
  font-size: 1.06rem;
  line-height: 1.43;
  text-shadow: 0 5px 18px rgba(0,0,0,0.4);
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 900;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #49ca55, #16822f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 14px 28px rgba(23, 130, 47, 0.27);
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(6, 12, 8, 0.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-highlights {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.03fr;
  gap: 20px;
  max-width: 600px;
  margin-top: 19px;
}

.hero-highlights article {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
}

.hero-highlights article:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.22);
}

.hero-highlights p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 0.77rem;
  line-height: 1.25;
}

.badge-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
}

.badge-icon::before,
.badge-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
}

.badge-icon.medal::before {
  width: 21px;
  height: 21px;
  left: 7px;
  top: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffcf4f, #f0a810);
  box-shadow: 0 0 0 3px rgba(255,198,54,0.16);
}

.badge-icon.medal::after {
  width: 14px;
  height: 16px;
  left: 6px;
  top: 0;
  background: var(--blue);
  clip-path: polygon(0 0, 45% 0, 78% 55%, 48% 100%);
}

.badge-icon.star::before {
  background: linear-gradient(180deg, #ffde5d, #e7a112);
  clip-path: polygon(50% 0%, 62% 33%, 98% 35%, 70% 56%, 79% 91%, 50% 70%, 21% 91%, 30% 56%, 2% 35%, 38% 33%);
}

.badge-icon.shield::before {
  inset: 4px 6px 2px;
  border: 3px solid var(--green-400);
  border-radius: 11px 11px 15px 15px;
  clip-path: polygon(50% 0, 100% 18%, 91% 72%, 50% 100%, 9% 72%, 0 18%);
}

.badge-icon.shield::after {
  left: 12px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--green-400);
  border-bottom: 3px solid var(--green-400);
  transform: rotate(-45deg);
}

.section-light {
  background: var(--ice);
  margin: 32px 0px 64px;
}

.about {
  padding: 23px 0 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 58px;
  align-items: center;
}

.section-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-600);
  font-size: 0.71rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.section-heading h2 {
  color: #060908;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 385px;
  margin-top: 14px;
  color: #152016;
  font-size: 0.86rem;
  line-height: 1.46;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-card {
  min-height: 150px;
  padding: 16px 15px 17px;
  text-align: center;
  background: #fff;
  border: 1px solid #dde3db;
  border-radius: 7px;
  box-shadow: var(--soft-shadow);
}

.stat-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  color: var(--green-600);
  stroke-width: 2.4;
}

.stat-card strong {
  display: block;
  color: var(--green-600);
  font-size: 1.55rem;
  line-height: 1.05;
  font-weight: 900;
}

.stat-card:nth-child(3) strong,
.stat-card:nth-child(4) strong {
  font-size: 1.08rem;
}

.stat-card p {
  max-width: 145px;
  margin: 7px auto 0;
  font-size: 0.78rem;
  line-height: 1.25;
  color: #0c130e;
}

.courses {
  padding: 32px 0px 32px;
  margin: 32px 0px 64px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 42%, rgba(25, 139, 54, 0.20), transparent 28%),
    linear-gradient(100deg, #020c08 0%, #052411 47%, #021009 100%);
}

.courses-layout {
  display: grid;
  grid-template-columns: 238px 1fr;
  gap: 36px;
  align-items: center;
}

.section-heading.dark span {
  color: var(--green-400);
}

.section-heading.dark h2 {
  color: #fff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.course-card {
  min-height: 157px;
  padding: 16px 10px 12px;
  text-align: center;
  border: 1px solid rgba(75, 212, 93, 0.36);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 15px 30px rgba(0,0,0,0.18);
  transition: 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(75, 212, 93, 0.82);
}

.course-card svg {
  width: 35px;
  height: 35px;
  color: var(--green-400);
  margin-bottom: 10px;
}

.course-card h3 {
  min-height: 35px;
  color: #fff;
  font-size: 0.99rem;
  font-weight: 900;
  line-height: 1.03;
}

.course-card p {
  min-height: 42px;
  margin-top: 5px;
  color: rgba(255,255,255,0.75);
  font-size: 0.68rem;
  line-height: 1.23;
}

.course-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 84px;
  min-height: 23px;
  margin-top: 8px;
  padding: 0 10px;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid rgba(75,212,93,0.42);
  background: rgba(47, 178, 69, 0.11);
}

.benefits {
  padding: 18px 0 14px;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 238px 1fr;
  gap: 36px;
  align-items: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-card {
  min-height: 103px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  padding: 17px 16px;
  background: #fff;
  border: 1px solid #dde3db;
  border-radius: 7px;
  box-shadow: var(--soft-shadow);
}

.benefit-card svg {
  width: 30px;
  height: 30px;
  color: var(--green-600);
  stroke-width: 2.4;
}

.benefit-card h3 {
  margin-bottom: 6px;
  font-size: 0.83rem;
  font-weight: 900;
  line-height: 1.17;
}

.benefit-card p {
  color: #2c342d;
  font-size: 0.71rem;
  line-height: 1.25;
}

.gallery {
  padding: 64px 0 32px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 30%, rgba(25, 139, 54, 0.21), transparent 28%),
    linear-gradient(100deg, #020c08 0%, #052411 48%, #021009 100%);
}

.gallery-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 35px;
  align-items: center;
}

.gallery-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.gallery-controls {
  display: none;
  gap: 10px;
  margin-bottom: 14px;
}

.gallery-scroll-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(7, 15, 9, 0.72);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-scroll-button:hover {
  background: rgba(7, 15, 9, 0.9);
  transform: translateY(-1px);
}

.gallery-scroll-button svg {
  width: 18px;
  height: 18px;
}

.gallery-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 70px;
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(75,212,93,0.24);
  background: rgba(255,255,255,0.08);
}

.gallery-item img {
  height: 100%;
  transition: 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  margin-top: 7px;
  padding: 0 35px;
  color: var(--green-400);
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid var(--green-400);
  background: rgba(4, 14, 8, 0.42);
}

.gallery-button svg {
  width: 13px;
  height: 13px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  z-index: 250;
}

.gallery-modal.open {
  display: flex;
}

.gallery-modal-image {
  max-width: min(100%, 960px);
  max-height: min(100%, 90vh);
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.gallery-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-modal-nav:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%) scale(1.03);
}

.gallery-modal-nav.prev {
  left: 18px;
}

.gallery-modal-nav.next {
  right: 18px;
}

.gallery-modal-nav svg {
  width: 18px;
  height: 18px;
}

.contact {
  padding: 14px 0 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 242px 1fr 1fr 320px;
  gap: 28px;
  align-items: center;
}

.contact-layout .section-heading {
  padding-right: 20px;
  border-right: 1px solid #cfd8cc;
}

.contact-card {
  min-height: 70px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
  padding: 0 0 0 0;
  background: transparent;
}

.contact-card svg {
  width: 28px;
  height: 28px;
  color: var(--green-600);
  margin-top: 2px;
  stroke-width: 2.5;
}

.contact-card h3 {
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 900;
}

.contact-card p {
  color: #1e281f;
  font-size: 0.75rem;
  line-height: 1.3;
}

.contact-card a {
  display: block;
  margin-bottom: 4px;
  color: var(--green-600);
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.05;
}

.map-placeholder {
  height: 200px;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid #d7ded4;
  background: #e9efe6;
  box-shadow: var(--soft-shadow);
}

.map-placeholder img {
  height: 100%;
}

.final-cta {
  padding: 13px 0;
  color: #fff;
  background:
    radial-gradient(circle at 40% 100%, rgba(80, 221, 91, 0.18), transparent 22%),
    linear-gradient(90deg, #033b17, #148032 50%, #043d18);
}

.final-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.final-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.final-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(180deg, #68d75d, #1f8e31);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}

.final-icon svg {
  width: 32px;
  height: 32px;
}

.final-cta h2 {
  font-size: 1.3rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.final-cta p {
  margin-top: 2px;
  color: rgba(255,255,255,0.88);
  font-size: 0.86rem;
}

.final-cta .btn {
  min-width: 225px;
  min-height: 39px;
  font-size: 0.82rem;
  border-radius: 7px;
}

.site-footer {
  padding: 24px 0 14px;
  color: rgba(255,255,255,0.72);
  background: #050806;
}

.footer-grid {
  display: grid;
  grid-template-columns: 245px 165px 260px 250px;
  justify-content: center;
  gap: 35px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.11);
}

.footer-brand .brand-logo {
  width: 52px;
  height: 52px;
}

.footer-brand .brand-name strong {
  font-size: 2.15rem;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-left: 52px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.footer-column h3 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 0.83rem;
}

.footer-column a,
.footer-column p {
  display: block;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  line-height: 1.25;
}

.footer-column a:hover {
  color: var(--green-400);
}

.footer-column.two-cols {
  columns: 2;
}

.footer-column.two-cols h3 {
  column-span: all;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 13px;
  color: rgba(255,255,255,0.46);
  font-size: 0.68rem;
}

.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (max-width: 1120px) {
  .container {
    width: min(100% - 42px, var(--container));
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    gap: 18px;
  }

  .about-grid,
  .courses-layout,
  .benefits-layout,
  .gallery-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-layout .section-heading {
    padding-right: 0;
    border-right: 0;
  }

  .map-placeholder {
    height: 170px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: stretch;
  }
}

@media (max-width: 820px) {
  .site-header,
  .header-content {
    height: 70px;
  }

  .brand-name strong {
    font-size: 1.85rem;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .mobile-menu-button {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: rgba(6, 10, 8, 0.98);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 12px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    min-height: 560px;
    align-items: flex-end;
    padding-bottom: 42px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(2,10,6,0.97), rgba(5,37,17,0.70)),
      linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.68));
  }

  .hero-copy {
    width: 100%;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-highlights article:not(:last-child) {
    border-right: 0;
  }

  .course-grid,
  .stats-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
  }

  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-grid::-webkit-scrollbar {
    height: 8px;
  }

  .gallery-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
  }

  .gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(75, 212, 93, 0.35);
    border-radius: 999px;
  }

  .gallery-item {
    min-width: min(78vw, 320px);
    height: 210px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .final-cta-content,
  .final-copy,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-column.two-cols {
    columns: 1;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-name span {
    display: none;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-heading h2 {
    font-size: 2rem;
  }
}
