:root {
  --ink: #11151c;
  --deep: #070c15;
  --graphite: #202631;
  --muted: #647083;
  --line: #d9dee8;
  --paper: #ffffff;
  --soft: #f4f6f9;
  --warm: #fbf4e8;
  --red: #d7193f;
  --red-dark: #ad1230;
  --blue: #1858d8;
  --green: #0f8b62;
  --gold: #b48922;
  --shadow: 0 16px 40px rgba(17, 21, 28, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.funding-strip {
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 10px 20px;
  color: #2b2114;
  background: var(--warm);
  border-bottom: 1px solid rgba(180, 137, 34, 0.28);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.funding-strip span:first-child {
  color: var(--red-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

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

.brand img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #303746;
  font-size: 14px;
  font-weight: 800;
}

.primary-menu a:hover {
  color: var(--red);
}

.header-cta {
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 21, 28, 0.96) 0%, rgba(17, 21, 28, 0.86) 52%, rgba(17, 21, 28, 0.55) 100%),
    linear-gradient(180deg, rgba(17, 21, 28, 0.1), rgba(17, 21, 28, 0.76));
  content: "";
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 50px;
  align-items: center;
  padding: 56px 0 52px;
}

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

.hero .eyebrow,
.section-dark .eyebrow,
.pricing-section .eyebrow {
  color: #ffb0bd;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 62px;
  line-height: 0.98;
}

.hero-subtitle {
  max-width: 680px;
  margin: 18px 0 0;
  color: #f6f8fb;
  font-size: 25px;
  font-weight: 850;
  line-height: 1.2;
}

.hero-lede {
  max-width: 700px;
  margin: 20px 0 0;
  color: #d8dee9;
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(215, 25, 63, 0.24);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button-ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button-full {
  width: 100%;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 34px;
}

.hero-proof div {
  min-height: 92px;
  padding: 14px 14px 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--red);
  border-radius: 8px;
}

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

.hero-proof strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.hero-proof span {
  margin-top: 8px;
  color: #cdd5e2;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admission-panel,
.course-card,
.included-grid article,
.module-item,
.certificate-preview,
.checkout-card,
.contact-card,
.testimonial-grid article,
.modal-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admission-panel {
  overflow: hidden;
  color: var(--ink);
}

.panel-head {
  padding: 24px 24px 20px;
  background: var(--ink);
  color: #fff;
}

.panel-head span {
  color: #ffb0bd;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-head strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.15;
}

.panel-head p {
  margin: 10px 0 0;
  color: #cdd5e2;
  font-size: 14px;
  font-weight: 700;
}

.advisor-form {
  display: grid;
  gap: 15px;
  padding: 22px 24px 18px;
}

.advisor-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.advisor-form input,
.advisor-form select,
.advisor-form textarea,
.faq-search input {
  width: 100%;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.advisor-form input,
.advisor-form select,
.faq-search input {
  height: 50px;
}

.advisor-form textarea {
  min-height: 84px;
  padding-top: 12px;
  resize: vertical;
}

.advisor-form input:focus,
.advisor-form select:focus,
.advisor-form textarea:focus,
.faq-search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(215, 25, 63, 0.12);
  outline: 0;
}

.advisor-form button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.checkout-card .button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.checkout-form {
  margin-top: 18px;
  padding: 0;
}

.offline-confirmation {
  display: grid;
  gap: 12px;
}

.offline-confirmation[hidden] {
  display: none;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.offline-address {
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.offline-address strong,
.offline-address p {
  display: block;
  margin: 0;
  padding: 0 12px;
}

.offline-address strong {
  padding-top: 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.offline-address p {
  padding-top: 4px;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.offline-address iframe {
  display: block;
  width: 100%;
  height: 150px;
  border: 0;
}

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

.panel-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.panel-facts div {
  padding: 16px 18px;
}

.panel-facts div + div {
  border-left: 1px solid var(--line);
}

.panel-facts span,
.facts-grid span,
.details-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-facts strong {
  display: block;
  margin-top: 3px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.1;
}

.trust-strip {
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.trust-grid article {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-grid img {
  width: 82px;
  height: 58px;
  object-fit: contain;
}

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

.trust-grid strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.trust-grid span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.program-nav {
  position: sticky;
  top: 75px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.program-nav-inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  color: #303746;
  font-size: 14px;
  font-weight: 850;
  scrollbar-width: none;
  white-space: nowrap;
}

.program-nav-inner::-webkit-scrollbar {
  display: none;
}

.program-nav-inner a {
  flex: 0 0 auto;
}

.program-nav-inner a:hover {
  color: var(--red);
}

.program-nav-cta {
  margin-left: auto;
  padding: 9px 13px;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
}

.program-nav-inner .program-nav-cta:hover {
  color: #fff;
  background: #1248b4;
}

.program-snapshot {
  padding: 26px 0;
  background:
    linear-gradient(180deg, #fff, #f8fafc);
  border-bottom: 1px solid var(--line);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.snapshot-grid article {
  min-height: 154px;
  padding: 22px;
  background: #fff;
}

.snapshot-grid span {
  display: block;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.snapshot-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: #fff;
  background: var(--ink);
}

.section h2 {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
}

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

.section h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.section-lede,
.section-heading p,
.course-card p,
.included-grid p,
.journey-list p,
.testimonial-grid p,
.note,
.contact-card p,
details p {
  color: var(--muted);
  font-size: 16px;
}

.intro-layout,
.included-layout,
.certificate-layout,
.trainer-layout,
.pricing-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1fr);
  gap: 52px;
  align-items: center;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list p,
.support-list p {
  margin: 0;
  padding: 18px 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.align-left {
  margin-left: 0;
  text-align: left;
}

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

.course-card {
  display: grid;
  min-height: 260px;
  align-content: start;
  gap: 10px;
  padding: 26px;
  box-shadow: none;
}

.course-card > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.course-card strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 15px;
}

.included-layout {
  align-items: start;
}

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

.included-grid article {
  min-height: 148px;
  padding: 22px;
  box-shadow: none;
}

.included-grid h3,
.included-grid p {
  margin: 0;
}

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

.facts-grid div {
  min-height: 116px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.facts-grid span {
  color: #b4bfcd;
}

.facts-grid strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
}

.syllabus-layout {
  max-width: 960px;
}

.module-accordion {
  display: grid;
  gap: 14px;
}

.module-item {
  overflow: hidden;
  box-shadow: none;
}

.module-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 22px 58px 22px 22px;
  cursor: pointer;
  list-style: none;
}

.module-item summary::-webkit-details-marker,
summary::-webkit-details-marker {
  display: none;
}

.module-item summary::after,
summary::after {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--red);
  content: "+";
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.module-item[open] summary::after,
details[open] summary::after {
  content: "-";
}

.module-item summary span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  grid-row: span 2;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.module-item summary strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.module-item summary small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin: 0;
  padding: 0 24px 24px 90px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: #303746;
  font-weight: 700;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  content: "";
  transform: rotate(-45deg);
}

.certificate-layout {
  align-items: start;
}

.journey-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.journey-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.journey-list span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.journey-list h3,
.journey-list p {
  margin: 0;
}

.certificate-preview {
  overflow: hidden;
  width: 100%;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.certificate-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.certificate-preview span {
  display: block;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 900;
}

.trainer-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.trainer-layout h3 {
  color: var(--red);
  font-size: 17px;
}

.support-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pricing-section {
  color: #fff;
  background: var(--ink);
}

.pricing-section .section-lede,
.pricing-section .note {
  color: #d8dee9;
}

.note {
  max-width: 680px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.checkout-card {
  padding: 26px;
  color: var(--ink);
}

.discount-label {
  display: inline-flex;
  padding: 7px 10px;
  color: #fff;
  background: var(--green);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-row {
  display: grid;
  gap: 4px;
  margin: 22px 0;
}

.price-row del {
  color: var(--muted);
  font-size: 19px;
  font-weight: 800;
}

.price-row strong {
  color: var(--green);
  font-size: 50px;
  line-height: 1;
}

.price-row small,
.payment-status {
  color: var(--muted);
  font-weight: 800;
}

.payment-status {
  margin: 16px 0 20px;
  text-align: center;
}

.payment-status[data-state="success"] {
  color: var(--green);
}

.payment-status[data-state="error"] {
  color: var(--red-dark);
}

.bank-box {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bank-box h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.bank-box p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(720px, calc(100% - 36px));
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(17, 21, 28, 0.22);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cookie-banner a {
  color: var(--red-dark);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 10px 14px;
  white-space: nowrap;
}

.cookie-actions .button-secondary {
  color: var(--ink);
  background: var(--soft);
  border-color: var(--line);
}

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

.testimonial-grid article {
  padding: 26px;
  box-shadow: none;
}

.testimonial-grid article::before {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  content: "Student story";
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.testimonial-grid p {
  margin: 0 0 20px;
  font-size: 17px;
}

.testimonial-grid strong {
  color: var(--ink);
}

.contact-layout {
  align-items: start;
}

.contact-card {
  margin-top: 22px;
  padding: 22px;
  box-shadow: none;
}

.contact-card p {
  margin: 0 0 14px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--red-dark);
  font-weight: 800;
}

.faq-panel {
  display: grid;
  gap: 14px;
}

.faq-search {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-search input {
  text-transform: none;
}

.faq-empty {
  margin: 0;
  padding: 16px 18px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  padding: 0 0 80px;
  color: #cdd5e2;
  background:
    linear-gradient(180deg, rgba(24, 88, 216, 0.1), transparent 330px),
    radial-gradient(circle at 86% 8%, rgba(215, 25, 63, 0.18), transparent 30%),
    var(--deep);
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta h2 {
  max-width: 740px;
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
}

.footer-cta p:not(.eyebrow) {
  max-width: 760px;
  margin: 12px 0 0;
  color: #aeb9ca;
  font-size: 16px;
  font-weight: 700;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.7fr);
  gap: 54px;
  padding: 44px 0 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.footer-logo strong,
.footer-logo small {
  display: block;
}

.footer-logo strong {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-logo small {
  margin-top: 2px;
  color: #96a4b9;
  font-size: 12px;
  font-weight: 800;
}

.footer-brand p {
  max-width: 440px;
  margin: 18px 0 0;
  color: #aeb9ca;
  font-size: 15px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-contact a {
  padding: 8px 10px;
  color: #f5f8ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

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

.footer-column h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 9px 0;
  color: #aeb9ca;
  font-size: 14px;
  font-weight: 700;
}

.footer-column a:hover,
.footer-bottom a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-disclaimer {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
  margin: 0;
  color: #8795aa;
  font-size: 12px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #8795aa;
  font-size: 13px;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a {
  color: #aeb9ca;
  font-weight: 800;
}

.legal-main {
  background: #f7f9fc;
}

.legal-menu a[aria-current="page"] {
  color: var(--red);
}

.legal-hero {
  padding: 64px 0 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 21, 28, 0.95), rgba(17, 21, 28, 0.86)),
    url("../images/gfi-coaching-session.jpeg") center / cover;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.06;
}

.legal-hero p {
  margin: 16px 0 0;
  color: #d8dee9;
  font-size: 16px;
}

.legal-content {
  padding: 34px 0 80px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.legal-sidebar,
.legal-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-sidebar {
  position: sticky;
  top: 150px;
  padding: 20px;
}

.legal-sidebar h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  text-transform: uppercase;
}

.legal-sidebar a {
  display: block;
  margin: 9px 0;
  color: #34405c;
  font-weight: 700;
}

.legal-sidebar a[aria-current="page"] {
  color: var(--red);
}

.legal-article {
  padding: 24px;
}

.legal-block + .legal-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.12;
}

.legal-block ul {
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--muted);
}

.legal-block li {
  margin: 0 0 11px;
  font-size: 16px;
  line-height: 1.65;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sticky-cta span {
  display: grid;
  font-size: 13px;
  font-weight: 800;
}

.sticky-cta strong {
  color: var(--green);
  font-size: 18px;
}

.mobile-action-bar {
  position: fixed;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 55;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-action-bar a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--soft);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-action-bar .mobile-action-primary {
  color: #fff;
  background: var(--red);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 21, 28, 0.74);
}

.modal[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(1000px, 100%);
  max-height: calc(100vh - 40px);
  padding: 26px;
  overflow: auto;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-right: 42px;
}

.modal-head h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.1;
}

.modal-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.modal-tools button {
  min-width: 40px;
  height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.certificate-preview-frame {
  overflow: auto;
  max-height: 72vh;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.certificate-preview-frame img {
  width: 100%;
  min-width: 620px;
  object-fit: contain;
  transform-origin: top center;
  transition: transform 0.16s ease;
}

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

.payment-modal {
  align-items: start;
  overflow: auto;
}

.payment-modal-panel {
  width: min(560px, 100%);
  margin: auto 0;
}

.payment-modal-panel .modal-head {
  margin-right: 34px;
}

.payment-modal-panel .modal-head h2 {
  margin-bottom: 0;
}

.payment-modal-panel .checkout-form {
  margin-top: 20px;
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: block;
  }

  .primary-menu {
    position: absolute;
    top: 75px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .primary-menu.open {
    display: grid;
  }

  .hero-inner,
  .intro-layout,
  .included-layout,
  .certificate-layout,
  .trainer-layout,
  .pricing-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 28px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-proof,
  .snapshot-grid,
  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid,
  .course-grid,
  .testimonial-grid,
  .footer-main,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .program-nav {
    top: 75px;
  }

  .program-nav-cta {
    margin-left: 0;
  }

  .footer-cta-actions {
    justify-content: flex-start;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

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

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

  .legal-sidebar {
    position: static;
  }
}

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

  .funding-strip {
    display: grid;
    gap: 2px;
    font-size: 13px;
  }

  .brand img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .hero-inner {
    padding: 42px 0 34px;
  }

  .hero::before {
    background: rgba(17, 21, 28, 0.88);
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .included-grid,
  .snapshot-grid,
  .facts-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

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

  .hero-proof div {
    min-height: 82px;
  }

  .hero-proof strong {
    font-size: 26px;
  }

  .section {
    padding: 58px 0;
  }

  .section h2 {
    font-size: 33px;
  }

  .trust-grid article {
    min-height: 82px;
  }

  .trust-grid img {
    width: 70px;
    height: 50px;
  }

  .course-card,
  .included-grid article,
  .checkout-card,
  .testimonial-grid article,
  .contact-card,
  .modal-panel {
    padding: 22px;
  }

  .panel-head {
    padding: 22px 22px 18px;
  }

  .advisor-form {
    padding: 20px 22px 18px;
  }

  .panel-facts {
    grid-template-columns: 1fr;
  }

  .panel-facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .module-item summary {
    grid-template-columns: 1fr;
    padding: 20px 54px 20px 20px;
  }

  .module-item summary span {
    grid-row: auto;
  }

  .feature-list {
    padding: 0 20px 22px;
  }

  .journey-list article {
    grid-template-columns: 40px 1fr;
    padding: 14px;
  }

  .price-row strong {
    font-size: 42px;
  }

  .program-nav {
    top: 75px;
  }

  .program-nav-inner {
    min-height: 52px;
    gap: 18px;
    font-size: 13px;
  }

  .snapshot-grid article {
    min-height: auto;
    padding: 18px;
  }

  .footer-cta {
    padding: 34px 0;
  }

  .cookie-banner {
    right: 14px;
    bottom: 74px;
    width: calc(100% - 28px);
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-cta h2 {
    font-size: 29px;
  }

  .footer-cta-actions {
    display: grid;
  }

  .footer-main {
    gap: 32px;
    padding: 34px 0 28px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-bottom {
    display: grid;
    padding: 22px 0;
  }

  .legal-content {
    padding: 24px 0 56px;
  }

  .legal-sidebar,
  .legal-article {
    padding: 18px;
  }

  .sticky-cta {
    display: none;
  }

  .mobile-action-bar {
    display: grid;
  }

  .site-footer {
    padding-bottom: 108px;
  }

  .modal-head {
    display: grid;
    margin-right: 40px;
  }

  .modal-tools {
    flex-wrap: wrap;
  }

  .certificate-preview-frame img {
    min-width: 520px;
  }
}
