:root {
  --ink: #071d3d;
  --muted: #465977;
  --blue: #0869f8;
  --blue-dark: #004bbf;
  --line: #dce6f3;
  --soft: #f4f8fd;
  --white: #ffffff;
  --navy: #001f40;
  --shadow: 0 18px 44px rgba(7, 29, 61, 0.12);
  --page-gutter: max(24px, calc((100vw - 1130px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  background: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3.5vw, 48px);
  min-height: 88px;
  padding: 0 var(--page-gutter);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 230, 243, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 72px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2.7vw, 38px);
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}

.nav-links > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 34px 0 31px;
  border-bottom: 3px solid transparent;
}

.nav-links > a[aria-current="page"],
.nav-trigger[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-caret {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: -24px;
  z-index: 30;
  display: grid;
  min-width: 500px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  background: #22a3e5;
  box-shadow: 0 24px 42px rgba(7, 29, 61, 0.16);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.submenu a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.submenu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.submenu .submenu-feature {
  min-height: 62px;
  color: #6f2ee8;
  background: rgba(255, 255, 255, 0.26);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.menu-icon,
.heroicon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 16px;
  right: 16px;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.mobile-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  font-weight: 800;
  border-radius: 8px;
}

.mobile-menu-panel a[aria-current="page"],
.mobile-menu-panel a:hover {
  color: var(--blue);
  background: #eef5ff;
}

.mobile-submenu {
  border-radius: 8px;
}

.mobile-submenu summary {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  color: var(--blue);
  font-weight: 800;
  background: #eef5ff;
  border: 0;
  border-radius: 8px;
  list-style: none;
}

.mobile-submenu summary::-webkit-details-marker {
  display: none;
}

.mobile-submenu summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.mobile-submenu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.mobile-submenu div {
  display: grid;
  gap: 6px;
  padding: 8px 0 0 12px;
}

.mobile-submenu div a {
  min-height: auto;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #0057df);
  box-shadow: 0 10px 24px rgba(8, 105, 248, 0.24);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
  border: 2px solid var(--blue);
  box-shadow: none;
}

.search {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: #eef2f7;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: #eef2f7;
}

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

.section {
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #eef5ff;
  border-radius: 4px;
}

.accent {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 28px;
  background: var(--blue);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 610px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.hero-course {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 37%, rgba(255, 255, 255, 0.12) 62%),
    linear-gradient(135deg, #f5f2ee 0%, #eaf4ff 100%);
}

.hero-course .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  align-items: center;
  min-height: 520px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy > p {
  max-width: 490px;
  font-size: 18px;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 44%;
  overflow: hidden;
}

.office-photo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 67% 24%, rgba(255, 255, 255, 0.85) 0 8%, transparent 9%),
    linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.52) 24% 25%, transparent 25%),
    linear-gradient(90deg, rgba(215, 226, 236, 0.18), rgba(7, 29, 61, 0.04)),
    linear-gradient(140deg, #d7e0e8 0%, #f4eee7 54%, #c9d7e7 100%);
}

.office-photo::before,
.office-photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 90px 90px 0 0;
  background: linear-gradient(#172b45 0 26%, #0f1e31 26% 100%);
  box-shadow: inset 0 -80px 0 rgba(255, 255, 255, 0.08);
}

.office-photo::before {
  right: 270px;
  width: 150px;
  height: 360px;
}

.office-photo::after {
  right: 88px;
  width: 170px;
  height: 430px;
}

.hero-course-certificate {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 38%, rgba(255, 255, 255, 0.18) 64%),
    linear-gradient(135deg, #eef7ff 0%, #e9f4ef 100%);
}

.hero-course-certificate .office-photo {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16), rgba(7,29,61,0.08)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(7,29,61,0.14) 46px 50px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.55) 0 38px, rgba(7,29,61,0.12) 38px 43px),
    linear-gradient(135deg, #9ed1f2, #f1eee5 52%, #58796b);
}

.hero-course-certificate .office-photo::before {
  right: 270px;
  width: 180px;
  height: 340px;
  background: linear-gradient(#f5f7f8 0 24%, #122b48 24% 100%);
}

.hero-course-certificate .office-photo::after {
  right: 80px;
  width: 180px;
  height: 390px;
  background: linear-gradient(#182f4f 0 25%, #0f233d 25% 100%);
}

.hero-course-diploma {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 39%, rgba(255, 255, 255, 0.16) 65%),
    linear-gradient(135deg, #eef7ff 0%, #f1f3fb 100%);
}

.hero-course-diploma .office-photo {
  background:
    radial-gradient(circle at 74% 34%, rgba(255,255,255,0.72) 0 10%, transparent 11%),
    linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,0.42) 42% 45%, transparent 45%),
    linear-gradient(135deg, #adcde7 0%, #e9edf5 44%, #5a6d85 100%);
}

.hero-course-diploma .office-photo::before {
  right: 290px;
  width: 165px;
  height: 380px;
  background: linear-gradient(#143155 0 24%, #0a1d35 24% 100%);
}

.hero-course-diploma .office-photo::after {
  right: 82px;
  width: 190px;
  height: 420px;
  background: linear-gradient(#f7f8fb 0 23%, #173052 23% 100%);
}

.floating-credential {
  position: absolute;
  right: 7vw;
  bottom: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 318px;
  padding: 22px 18px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.credential-item {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.28;
}

.credential-item + .credential-item {
  border-left: 1px solid var(--line);
}

.credential-item b {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 30px;
  font-size: 14px;
  font-weight: 800;
}

.check {
  color: var(--blue);
}

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

.overview {
  margin-top: 54px;
  padding: 32px 46px;
  background: linear-gradient(100deg, #f3f8ff, #fff);
  border-radius: 9px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
}

.stat {
  display: grid;
  grid-template-rows: 48px auto 1fr;
  justify-items: center;
  align-content: start;
  min-height: 116px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
}

.stat-icon,
.icon-circle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.stat-icon .heroicon,
.icon-circle .heroicon {
  width: 25px;
  height: 25px;
  stroke-width: 1.9;
}

.credential-item .heroicon {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--blue);
  stroke-width: 1.7;
}

.stat strong,
.timeline-step strong {
  display: block;
  color: var(--ink);
}

.stat strong {
  margin-top: 9px;
  line-height: 1.2;
}

.stat > span:last-child {
  color: #102744;
  line-height: 1.35;
}

.career-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 54px;
  align-items: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.timeline-step {
  position: relative;
  font-size: 14px;
  font-weight: 800;
}

.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  right: -18px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%230869f8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m8.25 4.5 7.5 7.5-7.5 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.centered {
  text-align: center;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 42px;
  margin-top: 34px;
  text-align: center;
}

.benefit p {
  font-size: 14px;
}

.units-grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 40px;
  align-items: center;
}

.portrait-card,
.about-photo {
  min-height: 330px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 22%, #f6d7bd 0 11%, transparent 12%),
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.58) 43% 47%, transparent 48%),
    linear-gradient(135deg, #172d48, #d8e7ed 48%, #5e6b55);
  box-shadow: var(--shadow);
}

.unit-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.unit-list li {
  display: grid;
  grid-template-columns: 26px 120px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.compact-units li {
  padding: 10px 0;
}

.certificate-card {
  background:
    radial-gradient(circle at 50% 22%, #f6d7bd 0 11%, transparent 12%),
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.58) 43% 47%, transparent 48%),
    linear-gradient(135deg, #1a3558, #dcecef 48%, #8ab5a2);
}

.diploma-card {
  background:
    radial-gradient(circle at 50% 22%, #f6d7bd 0 11%, transparent 12%),
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.58) 43% 47%, transparent 48%),
    linear-gradient(135deg, #102747, #e6edf6 48%, #6a7e95);
}

.faq-cards {
  text-align: left;
}

.unit-list b {
  color: var(--ink);
}

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

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 26px;
}

.testimonial,
.about-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(7, 29, 61, 0.06);
}

.stars {
  color: #f5bb00;
  letter-spacing: 2px;
}

.cta-band {
  color: #fff;
  background:
    radial-gradient(circle at 74% 50%, rgba(8, 105, 248, 0.42), transparent 28%),
    linear-gradient(135deg, #001a34, #003463);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: center;
  padding: 42px 0;
}

.cta-band h2,
.cta-band p {
  color: #fff;
  margin-bottom: 8px;
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #00294f, #001832);
}

.site-footer .brand {
  padding: 8px 10px;
  background: #fff;
  border-radius: 8px;
}

.site-footer .brand-logo {
  height: 68px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 44px;
  padding: 48px 0;
}

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

.site-footer h3 {
  font-size: 16px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(390px, 42%) 1fr;
  min-height: 470px;
  background: #f7f8fa;
}

.about-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px var(--page-gutter);
}

.about-hero-copy p {
  max-width: 390px;
  font-size: 24px;
  color: var(--ink);
}

.home-hero {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #d9f0ff;
}

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

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 24, 54, 0.86) 0%, rgba(0, 48, 97, 0.68) 42%, rgba(0, 48, 97, 0.14) 74%),
    linear-gradient(0deg, rgba(0, 18, 40, 0.18), rgba(0, 18, 40, 0.18));
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 78px;
}

.home-hero h1 {
  max-width: 620px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(42px, 5.3vw, 64px);
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.home-hero .accent {
  margin-bottom: 18px;
  background: #29a8ff;
}

.home-hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.home-courses {
  padding-top: 32px;
  background: #fff;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: stretch;
  text-align: left;
}

.course-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
}

.course-photo {
  min-height: 210px;
  background: linear-gradient(135deg, #d9e8ef, #f5f7f7);
}

.course-photo-agent {
  background:
    radial-gradient(circle at 34% 38%, #f1c7a9 0 10%, transparent 11%),
    radial-gradient(circle at 63% 39%, #f3d0b5 0 10%, transparent 11%),
    linear-gradient(115deg, #d6e4ea 0 36%, #102947 36% 48%, #f7f9f8 48% 64%, #c7d7dc 64% 100%);
}

.course-photo-home {
  background:
    radial-gradient(circle at 24% 44%, #87b06a 0 9%, transparent 10%),
    linear-gradient(90deg, rgba(255,255,255,0.75) 0 12%, transparent 12% 100%),
    linear-gradient(135deg, #a9c9b0 0 22%, #f1eee5 22% 72%, #54616b 72% 100%);
}

.course-photo-building {
  background:
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(7,29,61,0.18) 36px 40px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.5) 0 34px, rgba(7,29,61,0.12) 34px 39px),
    linear-gradient(135deg, #8fc6ef, #ece6d5 55%, #677a62);
}

.course-icon {
  position: absolute;
  top: 168px;
  left: 28px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(8, 105, 248, 0.2);
}

.course-icon .heroicon {
  width: 34px;
  height: 34px;
}

.course-card-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  flex: 1;
  padding: 40px 22px 22px;
}

.course-card h3 {
  min-height: 64px;
  margin-bottom: 12px;
  font-size: 29px;
  line-height: 1.08;
}

.course-card p {
  min-height: 82px;
  color: var(--ink);
}

.course-card ul {
  display: grid;
  align-self: end;
  gap: 10px;
  margin: 22px 0 18px;
  padding: 16px;
  list-style: none;
  background: #f8fafc;
  border-radius: 6px;
}

.course-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.course-card li .heroicon {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.course-card .button {
  width: 100%;
}

.home-benefits {
  padding: 28px 0 38px;
  background: #fff;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.benefit-strip div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  align-items: start;
}

.benefit-strip .heroicon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.benefit-strip strong {
  color: var(--ink);
}

.benefit-strip span {
  color: var(--muted);
  font-size: 14px;
}

.home-contact {
  color: #fff;
  background: linear-gradient(135deg, #002552, #003c78);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 260px;
}

.contact-details {
  padding: 42px 0;
}

.contact-details h2,
.contact-details p {
  color: #fff;
}

.contact-details a,
.contact-details span {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 32px 0;
  border-left: 1px solid rgba(255,255,255,0.32);
  padding-left: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 7px;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
}

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

.contact-form .button {
  width: fit-content;
  min-width: 160px;
}

.office-panel {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-self: stretch;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.62), rgba(255,255,255,0.22)),
    linear-gradient(135deg, #d9e5dc 0 25%, #f1e4d5 25% 62%, #c5d5df 62% 100%);
}

.office-panel img {
  width: 170px;
  height: auto;
  padding: 12px;
  background: rgba(255,255,255,0.88);
  border-radius: 8px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 50%;
  font-weight: 800;
}

.enrol-title-band {
  display: grid;
  min-height: 138px;
  place-items: center;
  color: #fff;
  background: #27a7e8;
}

.enrol-title-band h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.enrol-steps-hero {
  overflow: hidden;
  background: #dbeaff;
}

.enrol-steps-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.enrol-content a {
  color: #2098ed;
  text-decoration: underline;
}

.enrol-content {
  background: #fff;
}

.enrol-content article {
  margin-bottom: 32px;
}

.enrol-content h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.enrol-content p {
  color: #171717;
  font-size: 17px;
  line-height: 1.8;
}

.enrol-cta {
  display: grid;
  justify-items: center;
  gap: 22px;
  margin-top: 72px;
  text-align: center;
}

.enrol-cta .button {
  min-height: 66px;
  padding: 0 38px;
  font-size: 32px;
  border-radius: 4px;
  background: #28a7e8;
}

.enrol-cta p {
  font-size: 16px;
}

.about-hero-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 24, 34, 0.15), transparent 28%),
    linear-gradient(135deg, #d6d2cb 0 38%, #9fc9e9 38% 63%, #e7efe9 63% 100%);
}

.about-hero-art::before {
  content: "MASTERS";
  position: absolute;
  top: 110px;
  left: 110px;
  color: rgba(7, 29, 61, 0.8);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.about-hero-art::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 43%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 0 / 82px 100%,
    linear-gradient(#eaf7ff, #b9daf0 54%, #66839d);
  border-left: 10px solid rgba(255, 255, 255, 0.6);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  min-height: 270px;
  padding: 36px 34px;
}

.about-card .icon-circle {
  margin: 0 0 22px;
  color: #fff;
  background: var(--blue);
}

.about-story {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: stretch;
}

.harbour-photo {
  min-height: 600px;
  background:
    linear-gradient(100deg, rgba(7, 29, 61, 0.12), transparent 34%),
    radial-gradient(circle at 74% 46%, #6fae58 0 13%, transparent 14%),
    linear-gradient(160deg, #a9d7f5 0 28%, #e7f2fa 28% 43%, #7bb0d2 43% 55%, #ede5d9 55% 100%);
}

.story-copy {
  padding: 64px 7vw 64px 48px;
}

@media (max-width: 1000px) {
  .site-header {
    position: sticky;
    min-height: 76px;
    padding: 0 24px;
    gap: 16px;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
    order: 3;
  }

  .brand-logo {
    height: 56px;
  }

  .overview-grid,
  .benefits,
  .testimonials,
  .about-cards,
  .course-cards,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-grid,
  .units-grid,
  .cta-inner,
  .about-story,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    border-left: 0;
    padding-left: 0;
  }

  .office-panel {
    min-height: 220px;
  }

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

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

  .about-hero-copy {
    padding: 58px 24px 50px;
  }

  .about-hero-art {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 16px;
  }

  .header-actions .button {
    display: none;
  }

  .search {
    display: none;
  }

  .container {
    width: min(100% - 28px, 1130px);
  }

  .section {
    padding: 48px 0;
  }

  .hero-course .container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 62px 0 360px;
  }

  .hero-art {
    inset: auto 0 0;
    height: 340px;
  }

  .floating-credential {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    max-width: 360px;
    padding: 18px 14px;
  }

  .overview {
    padding: 28px 20px;
  }

  .overview-grid,
  .benefits,
  .testimonials,
  .about-cards,
  .course-cards,
  .benefit-strip,
  .footer-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 330px;
  }

  .home-hero-copy {
    padding-top: 46px;
  }

  .course-card h3,
  .course-card p {
    min-height: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .enrol-title-band {
    min-height: 112px;
  }

  .enrol-content h2 {
    font-size: 24px;
  }

  .enrol-cta {
    margin-top: 48px;
  }

  .enrol-cta .button {
    min-height: 58px;
    font-size: 26px;
  }

  .timeline-step:not(:last-child)::after {
    display: none;
  }

  .unit-list li {
    grid-template-columns: 24px 1fr;
  }

  .unit-list span:last-child {
    grid-column: 2;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
