:root {
  --ink: #0d1821;
  --muted: #56636f;
  --paper: #f8faf9;
  --panel: #ffffff;
  --teal: #0f766e;
  --teal-dark: #06343d;
  --gold: #e0a91b;
  --blue: #22577a;
  --line: #dbe3e7;
  --shadow: 0 18px 55px rgba(13, 24, 33, .14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(6, 52, 61, .84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #08323a;
  background: var(--gold);
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 32px);
  font-size: 14px;
}

.nav a,
.header-cta {
  text-decoration: none;
}

.header-cta {
  padding: 10px 14px;
  background: #fff;
  color: var(--teal-dark);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--teal-dark);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .82;
}

.hero-media .hero-poster-image {
  transform: scale(2.75);
  transform-origin: center;
  object-fit: contain;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 28, 34, .95) 0%, rgba(5, 28, 34, .82) 38%, rgba(5, 28, 34, .28) 72%, rgba(5, 28, 34, .48) 100%),
    linear-gradient(0deg, rgba(6, 52, 61, .78), rgba(6, 52, 61, .05) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 78px);
  padding-top: 78px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #0b2428;
  background: var(--gold);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 600px;
  margin: 36px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  border-radius: 8px;
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 950;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip span {
  padding: 18px 12px;
  text-align: center;
  color: var(--teal-dark);
  border-right: 1px solid var(--line);
  font-weight: 900;
}

.section,
.trainer,
.contact {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  background: #fff;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.lead-magnet {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  color: #fff;
  background: #123d4b;
}

.lead-magnet p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.download-panel {
  display: grid;
  gap: 12px;
}

.download-card {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 18px;
  color: #11323a;
  background: #fff;
  border: 0;
  border-radius: 8px;
  font: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
  cursor: pointer;
}

.download-card:hover,
.download-card:focus-visible {
  outline: 3px solid rgba(224, 169, 27, .6);
  transform: translateY(-1px);
}

.download-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.download-card strong {
  font-size: 20px;
}

.download-card small {
  color: var(--muted);
}

.program-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.program-card.featured {
  border-top: 5px solid var(--teal);
}

.program-image {
  aspect-ratio: 16 / 10;
  background: #0b3138;
  overflow: hidden;
}

.program-card:first-child .program-image {
  aspect-ratio: 4 / 3;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-crop {
  transform-origin: center;
}

.beginner-poster {
  object-fit: contain;
  transform: scale(1.55);
}

.pro-poster {
  object-fit: contain;
  transform: scale(2.15);
}

.program-body {
  padding: 28px;
}

.level {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: var(--teal-dark);
  background: #e4f4f2;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.program-body p {
  color: var(--muted);
}

.program-body ul {
  padding-left: 20px;
  margin: 20px 0;
}

.program-body li + li {
  margin-top: 8px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.course-meta span {
  padding: 8px 10px;
  color: #17363b;
  background: #f1f5f6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 850;
}

.career {
  background: #edf6f4;
}

.corporate {
  background: #fff;
}

.corporate-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, .72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.corporate-grid p {
  color: var(--muted);
  font-size: 18px;
}

.corporate-grid ul {
  margin: 0;
  padding: 24px 24px 24px 44px;
  background: #f4f8f8;
  border: 1px solid #d5e4e4;
  border-radius: 8px;
}

.corporate-grid li + li {
  margin-top: 10px;
}

.automation {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: #fff;
  background: var(--blue);
}

.automation p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

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

.career-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid #cfe4e2;
  border-radius: 8px;
}

.career-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.modules {
  background: #fff;
}

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

.module-list div {
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.module-list span {
  color: var(--gold);
  font-weight: 950;
}

.module-list p {
  margin: 16px 0 0;
  font-weight: 780;
}

.trainer {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 6vw, 72px);
  color: #fff;
  background: var(--teal-dark);
}

.trainer .lead {
  font-size: 20px;
  color: rgba(255, 255, 255, .9);
}

.trainer p:not(.eyebrow):not(.lead) {
  color: rgba(255, 255, 255, .74);
}

.credentials {
  display: grid;
  gap: 12px;
}

.credentials div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.credentials strong,
.credentials span {
  display: block;
}

.credentials span {
  color: rgba(255, 255, 255, .72);
}

.faq {
  background: #fff;
}

details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 19px;
}

details p {
  max-width: 760px;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: #f1f3ee;
}

.contact p {
  max-width: 620px;
  color: var(--muted);
}

.contact-card {
  display: grid;
  gap: 10px;
  min-width: min(420px, 100%);
  padding: 24px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card a,
.contact-card span {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  text-decoration: none;
  font-weight: 850;
}

.contact-card span {
  border-bottom: 0;
}

.privacy {
  background: #fff;
}

.privacy-content {
  max-width: 940px;
  color: var(--muted);
  font-size: 17px;
}

.privacy-content p {
  margin: 0;
}

.privacy-content p + p {
  margin-top: 16px;
}

.privacy-content a {
  color: var(--teal);
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, .78);
  background: #071c22;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 28, 34, .72);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

.modal-dialog h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 40px);
}

.modal-copy,
.form-note {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #edf2f2;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.lead-form label,
.lead-form fieldset {
  display: grid;
  gap: 7px;
}

.lead-form span,
.lead-form legend {
  color: #16343b;
  font-size: 14px;
  font-weight: 850;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"] {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #cfdadd;
  border-radius: 8px;
  font: inherit;
}

.lead-form input:focus-visible {
  outline: 3px solid rgba(15, 118, 110, .24);
  border-color: var(--teal);
}

.lead-form fieldset {
  margin: 0;
  padding: 14px;
  border: 1px solid #cfdadd;
  border-radius: 8px;
}

.radio-option {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-top: 8px;
}

.radio-option input {
  width: 18px;
  height: 18px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .trust-strip,
  .program-grid,
  .lead-magnet,
  .corporate-grid,
  .career-grid,
  .module-list,
  .intro,
  .trainer,
  .automation,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .contact-card {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    padding: 12px 16px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
  }

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

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

  .program-body,
  .career-grid article,
  .contact-card {
    padding: 20px;
  }

  .site-footer {
    display: grid;
  }
}
