:root {
  --navy: #0b1f3a;
  --navy-soft: #12345b;
  --gold: #c8a24a;
  --gold-dark: #a9822f;
  --white: #ffffff;
  --grey-50: #f7f9fc;
  --grey-100: #eef2f7;
  --grey-200: #dbe3ed;
  --grey-600: #556274;
  --grey-800: #263345;
  --shadow: 0 24px 60px rgba(11, 31, 58, 0.14);
  --shadow-soft: 0 12px 30px rgba(11, 31, 58, 0.1);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.top-header {
  background: var(--white);
}

.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

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

.header-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 34px;
}

.contact-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.contact-icon {
  width: 26px;
  height: 26px;
  color: #1d2a63;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item p {
  margin: 0;
  color: #646a78;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.22;
}

.contact-item strong,
.contact-item span {
  display: block;
}

.contact-item strong {
  color: #666b76;
  font-weight: 800;
}

.contact-item a:hover,
.contact-item a:focus-visible {
  color: var(--gold-dark);
  outline: none;
}

.nav-bar {
  background: #08295d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.nav-inner {
  min-height: 67px;
  display: flex;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.site-nav a {
  padding: 22px 0;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 800;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
  outline: none;
}

.site-nav a.active {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  height: 600px;
  padding: 56px 0;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(18, 52, 91, 0.95)),
    url("assets/images/home-hero-bg.jpg") center/cover;
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 46px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 2vw, 3.35rem);
}

.hero-subtext {
  max-width: 630px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 14px 28px rgba(200, 162, 74, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #d6b866;
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 610px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.trust-strip div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--white);
  font-size: 1rem;
}

.trust-strip span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(280px, calc(100% - 44px));
  padding: 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-card span,
.hero-card strong {
  display: block;
}

.hero-card span {
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card strong {
  margin-top: 5px;
  line-height: 1.35;
}

.section {
  padding: 86px 0;
}

.about-preview,
.why-choose {
  background: var(--grey-50);
}

.split-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.content-panel {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.content-panel p {
  margin: 0;
  color: var(--grey-600);
  font-size: 1.02rem;
}

.text-link,
.service-card a,
.contact-card a,
.site-footer a {
  color: var(--navy-soft);
  font-weight: 800;
  transition: color 180ms ease;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
}

.text-link:hover,
.service-card a:hover,
.contact-card a:hover,
.site-footer a:hover {
  color: var(--gold-dark);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-inline: auto;
  text-align: center;
}

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

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 162, 74, 0.55);
  box-shadow: var(--shadow-soft);
}

.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #f3ead6;
  border-radius: var(--radius);
  font-weight: 800;
}

.service-card h3,
.feature-item h3 {
  margin: 24px 0 10px;
  color: var(--navy);
  line-height: 1.25;
}

.service-card p,
.feature-item p,
.contact-grid p,
.site-footer p,
.site-footer li {
  color: var(--grey-600);
}

.service-card p {
  margin: 0 0 24px;
}

.service-card a {
  margin-top: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
}

.feature-item span {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 5px solid #f0dfb6;
  border-radius: 50%;
  background: var(--gold);
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
}

.feature-item p {
  margin: 0;
}

.contact-section {
  background: var(--white);
}

.contact-grid p {
  max-width: 580px;
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.contact-card {
  padding: 34px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card dl,
.contact-card dd {
  margin: 0;
}

.contact-card div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-card div:first-child {
  padding-top: 0;
}

.contact-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-card dt {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card dd {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-card a {
  color: var(--white);
}

.site-footer {
  padding: 64px 0 24px;
  background: #08172b;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: 190px;
  padding: 10px 12px;
  background: var(--white);
  border-radius: var(--radius);
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p {
  max-width: 360px;
  margin: 14px 0 0;
}

.company-number {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.page-hero {
  padding: 76px 0 82px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.97), rgba(18, 52, 91, 0.92)),
    url("assets/images/page-hero-bg.jpg") center/cover;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.page-content {
  background: var(--grey-50);
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 30px;
  align-items: start;
}

.narrow-content {
  max-width: 1160px;
  margin-inline: auto;
}

.rich-text,
.side-panel,
.course-card,
.cta-panel {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.06);
}

.rich-text {
  padding: 38px;
}

.rich-text h2 {
  margin: 34px 0 12px;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.22;
}

.rich-text h2:first-child {
  margin-top: 0;
}

.rich-text h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.rich-text p,
.rich-text li,
.side-panel p,
.side-panel dd,
.course-card p,
.cta-panel p {
  color: var(--grey-600);
}

.rich-text p {
  margin: 0 0 16px;
}

.rich-text a,
.side-panel a {
  color: var(--navy-soft);
  font-weight: 800;
}

.rich-text a:hover,
.side-panel a:hover {
  color: var(--gold-dark);
}

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

.info-grid article {
  padding: 22px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
}

.info-grid p {
  margin: 0;
}

.side-panel {
  position: sticky;
  top: 205px;
  padding: 30px;
}

.side-panel h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 1.35rem;
}

.side-panel dl,
.side-panel dd {
  margin: 0;
}

.side-panel dl div {
  padding: 15px 0;
  border-top: 1px solid var(--grey-200);
}

.side-panel dt {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-panel dd {
  margin-top: 4px;
}

.accent-panel {
  color: var(--white);
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.12);
}

.accent-panel h2,
.accent-panel a {
  color: var(--white);
}

.accent-panel p {
  color: rgba(255, 255, 255, 0.78);
}

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

.course-intro {
  margin-bottom: 28px;
}

.course-card {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.course-card.image-card {
  padding: 0;
  overflow: hidden;
}

.course-card.image-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course-card.image-card > div {
  padding: 28px;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 162, 74, 0.55);
  box-shadow: var(--shadow-soft);
}

.course-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: #f3ead6;
  border-radius: var(--radius);
  font-weight: 800;
}

.course-card h2 {
  margin: 24px 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.course-card p {
  margin: 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 32px;
}

.cta-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.15;
}

.cta-panel p:last-child {
  max-width: 650px;
  margin: 12px 0 0;
}

.check-list,
.number-list {
  margin: 0 0 18px;
  padding-left: 22px;
}

.check-list li,
.number-list li {
  margin: 8px 0;
}

.static-form {
  display: grid;
  gap: 16px;
}

.static-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.static-form input,
.static-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--grey-800);
  font: inherit;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--white);
}

.static-form textarea {
  resize: vertical;
}

.checkbox-label {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--grey-600);
  font-weight: 600;
}

.checkbox-label input {
  min-height: auto;
  margin-top: 4px;
}

.consent-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 32px;
  align-items: start;
}

.consent-copy,
.consent-form-card {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.06);
}

.consent-copy {
  padding: 34px;
  background: var(--white);
}

.consent-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.consent-copy p {
  margin: 18px 0;
  color: var(--grey-600);
}

.consent-form-card {
  padding: 34px;
  background: var(--white);
}

.consent-form-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.65rem;
}

.consent-form-card > p {
  margin: 8px 0 24px;
  color: var(--grey-600);
}

.modern-consent-form {
  display: grid;
  gap: 18px;
}

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.modern-consent-form input[type="text"],
.modern-consent-form input[type="email"],
.modern-consent-form input[type="tel"],
.modern-consent-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--grey-800);
  font: inherit;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--grey-50);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.modern-consent-form textarea {
  resize: vertical;
}

.modern-consent-form input:focus,
.modern-consent-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200, 162, 74, 0.16);
  outline: none;
}

.modern-consent-form .is-invalid {
  border-color: #d6263c !important;
  box-shadow: 0 0 0 4px rgba(214, 38, 60, 0.12);
}

.field-error {
  display: none;
  color: #c61f34;
  font-size: 0.82rem;
  font-weight: 700;
}

.field-error:not(:empty) {
  display: block;
  min-height: 18px;
}

.consent-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  color: var(--grey-600);
  font-size: 0.92rem;
  line-height: 1.45;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--grey-50);
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold-dark);
}

.form-status {
  display: none;
  margin: 0 0 18px;
  color: var(--navy);
  font-weight: 800;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.success {
  color: #137a3a;
}

.form-status.error {
  color: #c61f34;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: auto;
    padding-block: 18px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .header-contact {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 4px;
  }

  .nav-inner {
    min-height: 0;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding: 8px 0;
    background: #08295d;
  }

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

  .site-nav a {
    padding: 13px 4px;
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .footer-grid,
  .content-shell,
  .consent-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    min-height: 600px;
    padding: 58px 0;
  }

  .hero-media img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

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

  .course-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-card {
    min-height: auto;
  }
}

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

  .brand-logo {
    width: 214px;
    max-height: 58px;
  }

  .header-contact {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 56px;
  }

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

  .hero-subtext {
    font-size: 1rem;
  }

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

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .hero-media {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 56px 0 62px;
  }

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

  .content-panel,
  .service-card,
  .feature-item,
  .contact-card,
  .rich-text,
  .side-panel,
  .course-card,
  .cta-panel,
  .consent-copy,
  .consent-form-card {
    padding: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .course-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}
