:root {
  --navy: #08233f;
  --navy-2: #12395f;
  --teal: #0d8a8f;
  --green: #10985d;
  --mint: #e8f5f1;
  --paper: #f7f9f8;
  --ink: #122033;
  --muted: #5b6878;
  --line: #dbe5e6;
  --amber: #d79028;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 35, 63, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 230, 0.85);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
}

.brand strong,
.footer-brand strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.brand small,
.footer-brand small {
  display: block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--navy-2);
  font-size: 0.92rem;
  font-weight: 400;
}

nav a {
  flex: 0 0 auto;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  border-bottom-color: var(--green);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.language-button {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
}

.language-button + .language-button::before {
  content: "/";
  position: absolute;
  left: -9px;
  color: var(--line);
}

.language-button.active {
  color: var(--navy);
  border-bottom-color: var(--green);
  background: transparent;
}

.site-header > .language-switch {
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 8vw, 120px) clamp(20px, 6vw, 84px) 112px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 35, 63, 0.94) 0%, rgba(8, 35, 63, 0.82) 38%, rgba(8, 35, 63, 0.28) 68%, rgba(8, 35, 63, 0.1) 100%),
    url("assets/hero-training-planning.png") center / cover no-repeat;
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ee2b5;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 660px;
  font-size: clamp(2.65rem, 7vw, 5.9rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 26px rgba(16, 152, 93, 0.28);
}

.button.primary:hover {
  background: #0d834f;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-strip {
  position: absolute;
  left: clamp(20px, 6vw, 84px);
  right: clamp(20px, 6vw, 84px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.hero-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px 10px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  text-align: center;
}

.section,
.section-band,
.check-section {
  padding: clamp(66px, 8vw, 108px) clamp(20px, 6vw, 84px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.fit-section {
  background: var(--paper);
}

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

.fit-card {
  min-height: 205px;
  padding: 26px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(8, 35, 63, 0.06);
}

.fit-card:nth-child(2) {
  border-left-color: var(--teal);
}

.fit-card:nth-child(3) {
  border-left-color: var(--amber);
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.intro p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.section-heading.compact {
  max-width: 620px;
}

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

.service-card,
.package-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(8, 35, 63, 0.06);
}

.service-card {
  min-height: 280px;
  padding: 24px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.service-card:nth-child(2) .service-number,
.service-card:nth-child(4) .service-number {
  background: var(--teal);
}

.service-card:nth-child(3) .service-number {
  background: var(--green);
}

.service-card p,
.package-card p,
.process-list p,
.fee-section p:last-child {
  color: var(--muted);
}

.trust-band {
  padding: clamp(54px, 7vw, 86px) clamp(20px, 6vw, 84px);
  color: var(--white);
  background: linear-gradient(90deg, var(--navy), var(--teal));
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.trust-band h2 {
  color: var(--white);
}

.trust-band .eyebrow {
  color: #8ee2b5;
}

.trust-band p:last-child {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.process-section {
  color: var(--white);
  background: var(--navy);
}

.process-section h2,
.process-section h3 {
  color: var(--white);
}

.process-section .eyebrow {
  color: #8ee2b5;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.process-list article {
  min-height: 245px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.075);
}

.process-list span {
  display: block;
  margin-bottom: 42px;
  color: #8ee2b5;
  font-weight: 900;
  text-transform: uppercase;
}

.process-list p {
  color: rgba(255, 255, 255, 0.78);
}

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

.package-card {
  padding: 28px;
}

.package-card.featured {
  border-color: rgba(16, 152, 93, 0.48);
  box-shadow: 0 22px 42px rgba(16, 152, 93, 0.16);
}

.price {
  margin-bottom: 18px;
  color: var(--green) !important;
  font-size: 1.42rem;
  font-weight: 950;
}

ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 22px;
  margin: 11px 0;
  color: var(--navy-2);
  font-weight: 700;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.check-section {
  background: var(--mint);
}

.check-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.68fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.check-grid > div > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.check-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(13, 138, 143, 0.2);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(16, 152, 93, 0.18);
  border-color: var(--green);
}

.check-form .button {
  width: 100%;
  margin-top: 6px;
  font-size: 1rem;
}

.site-footer {
  padding: 34px clamp(20px, 6vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: #06192d;
}

.site-footer p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  text-align: right;
}

.footer-email {
  display: block;
  margin-top: 6px;
  color: #8ee2b5;
  font-weight: 500;
}

.footer-email:hover {
  color: var(--white);
}

.site-footer strong {
  color: var(--white);
}

.site-footer small {
  color: #8ee2b5;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(8, 35, 63, 0.96), rgba(8, 35, 63, 0.82)),
    url("assets/hero-training-planning.png") center / cover no-repeat;
}

.thank-you-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.thank-you-panel img {
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  border-radius: 8px;
  object-fit: cover;
}

.thank-you-language {
  width: max-content;
  margin-bottom: 22px;
}

.thank-you-panel h1 {
  color: var(--navy);
  font-size: clamp(2.15rem, 5vw, 4.2rem);
}

.thank-you-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
    padding-bottom: 124px;
    background:
      linear-gradient(180deg, rgba(8, 35, 63, 0.22) 0%, rgba(8, 35, 63, 0.88) 48%, rgba(8, 35, 63, 0.97) 100%),
      url("assets/hero-training-planning.png") center / cover no-repeat;
  }

  .two-column,
  .check-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list article {
    min-height: 0;
  }

  .process-list span {
    margin-bottom: 16px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    min-height: 0;
  }

  .brand img,
  .footer-brand img {
    width: 40px;
    height: 40px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    max-width: 340px;
    font-size: 0.84rem;
  }

  nav a {
    min-width: 0;
    padding: 4px 0;
    white-space: normal;
  }

  .hero {
    min-height: 0;
    display: block;
    padding-top: 84px;
    padding-bottom: 34px;
  }

  h1 {
    max-width: 320px;
    font-size: 1.95rem;
    line-height: 1.03;
  }

  h2 {
    max-width: 320px;
    font-size: 1.82rem;
  }

  .lead {
    max-width: 320px;
    font-size: 1.02rem;
  }

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

  .hero-actions {
    max-width: 320px;
  }

  .button {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 0.92rem;
    text-align: center;
    white-space: normal;
  }

  .hero-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-strip span {
    min-height: 38px;
  }

  .service-grid,
  .package-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}
