:root {
  --blue: #0c2d7a;
  --blue-dark: #071b4a;
  --blue-mid: #123d9b;
  --gold: #ffc436;
  --gold-soft: #fff3c4;
  --ink: #142033;
  --muted: #64748b;
  --line: #d8e0ee;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --shadow: 0 24px 70px rgba(7, 27, 74, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f6f8fc;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(7, 27, 74, 0.92);
  color: white;
  border-bottom: 1px solid rgba(255, 196, 54, 0.5);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 82px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.35));
}

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

.brand small {
  color: #dbe7ff;
}

nav {
  display: flex;
  gap: 18px;
  font-weight: 700;
  align-items: center;
}

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

nav a {
  padding: 10px 2px;
  color: #eef4ff;
  border-bottom: 2px solid transparent;
}

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

.header-call {
  padding: 9px 12px;
  border: 1px solid rgba(255, 196, 54, 0.55);
  background: rgba(255, 196, 54, 0.12);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(7, 27, 74, 0.98) 0%, rgba(12, 45, 122, 0.96) 48%, rgba(18, 61, 155, 0.92) 100%),
    radial-gradient(circle at 76% 18%, rgba(255, 196, 54, 0.48), transparent 28%);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: 8vh;
  width: 58vw;
  height: 180px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 196, 54, 0.95) 12% 18%, transparent 18% 24%, rgba(255, 255, 255, 0.16) 24% 100%);
  transform: rotate(-12deg);
  opacity: 0.7;
}

.hero-copy,
.application-card {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: clamp(230px, 25vw, 370px);
  height: auto;
  display: block;
  margin: -20px 0 20px;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.38));
}

.hero h1,
.section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.hero-proof span {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #eef4ff;
  font-weight: 800;
}

.hero p {
  max-width: 680px;
  color: #e4ecff;
  font-size: 19px;
  line-height: 1.55;
}

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

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(255, 196, 54, 0.22);
}

.button.secondary {
  background: white;
  color: var(--blue);
  border: 1px solid var(--line);
}

.button.ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--line);
}

.button.full {
  width: 100%;
}

.application-card,
.course-card,
.booking-panel,
.lesson-panel,
.admin-panel {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.application-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  color: var(--ink);
  border-top: 7px solid var(--gold);
  background: rgba(255, 255, 255, 0.97);
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.form-head h2,
.course-card h3,
.lesson-panel h3 {
  margin: 0;
  color: var(--blue);
}

.status-pill {
  white-space: nowrap;
  padding: 6px 10px;
  color: var(--blue-dark);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd6ea;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: white;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 196, 54, 0.35);
  border-color: var(--blue);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

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

.section-heading > p:last-child {
  max-width: 640px;
}

.student-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0 clamp(18px, 5vw, 72px);
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.student-flow article {
  min-height: 160px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-right: 0;
  box-shadow: 0 18px 42px rgba(7, 27, 74, 0.12);
}

.student-flow article:last-child {
  border-right: 1px solid var(--line);
}

.student-flow span {
  display: inline-flex;
  color: var(--blue);
  font-weight: 950;
  font-size: 12px;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 4px solid var(--gold);
}

.student-flow strong {
  display: block;
  color: var(--blue-dark);
  font-size: 24px;
}

.student-flow p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  padding: 1px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(32px, 5vw, 56px);
  box-shadow: 0 18px 42px rgba(7, 27, 74, 0.12);
}

.stats-band div {
  display: grid;
  gap: 6px;
  padding: 24px;
  background: white;
}

.stats-band strong {
  color: var(--blue);
  font-size: 24px;
}

.stats-band span {
  color: var(--muted);
}

.section h2 {
  color: var(--blue-dark);
  font-size: clamp(30px, 4vw, 48px);
}

.section p {
  color: var(--muted);
  line-height: 1.6;
}

.two-column,
.booking,
.admin {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

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

.course-card {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 24px;
  border-top: 5px solid var(--gold);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.course-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(7, 27, 74, 0.18);
}

.program-section {
  background: #f6f8fc;
}

.process-section {
  background: white;
}

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

.customer-steps article {
  min-height: 220px;
  padding: 24px;
  background: #f8faff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
}

.customer-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.customer-steps h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 21px;
}

.customer-steps p {
  margin-bottom: 0;
}

.confidence-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  color: white;
  background: var(--blue-dark);
  border-top: 7px solid var(--gold);
}

.confidence-band h2 {
  color: white;
}

.confidence-band p {
  color: #dce7ff;
}

.confidence-band img {
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.42));
}

.service-area {
  margin-top: 22px;
  color: var(--gold) !important;
  font-weight: 850;
}

.faq-section {
  background: #f6f8fc;
}

.faq-list {
  max-width: 920px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
}

.faq-list summary {
  padding: 18px 20px;
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 850;
  cursor: pointer;
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  align-items: start;
  background: white;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-link {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  color: var(--blue-dark);
  background: #f8faff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  text-decoration: none;
}

.contact-link small {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.contact-link strong {
  overflow-wrap: anywhere;
}

.booking {
  background:
    linear-gradient(90deg, rgba(12, 45, 122, 0.05), transparent),
    white;
}

.booking-panel,
.admin-panel {
  padding: 22px;
  border-left: 7px solid var(--gold);
}

.date-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 6px solid var(--gold);
}

.learning-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 18px;
  margin-top: 22px;
}

.module-list {
  display: grid;
  gap: 8px;
}

.module {
  padding: 14px;
  border: 1px solid var(--line);
  background: white;
  color: var(--blue);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.module.active {
  background: var(--blue);
  color: white;
}

.module.locked::after {
  content: "Locked";
  float: right;
  color: var(--gold);
}

.lesson-panel {
  padding: 24px;
  border-top: 5px solid var(--gold);
}

.lock-banner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  margin-bottom: 20px;
  background: #fff6d8;
  border-left: 6px solid var(--gold);
}

.quiz-demo {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.quiz-demo label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.quiz-demo input {
  width: auto;
}

.admin-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--blue-dark);
  color: white;
  border-top: 5px solid var(--gold);
}

.site-alert {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px clamp(18px, 5vw, 72px);
  background: var(--gold);
  color: var(--blue-dark);
  font-weight: 800;
}

.site-alert span {
  font-weight: 650;
}

.hidden {
  display: none !important;
}

.portal-shell {
  min-height: calc(100vh - 88px);
  padding: clamp(28px, 5vw, 60px);
  background:
    linear-gradient(180deg, rgba(12, 45, 122, 0.08), transparent 340px),
    #f6f8fc;
}

.login-card,
.dashboard,
.admin-table-wrap {
  max-width: 1180px;
  margin: 0 auto 22px;
  background: white;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

.login-card {
  max-width: 460px;
}

.login-card h1,
.portal-heading h1 {
  margin: 0 0 12px;
  color: var(--blue-dark);
}

.portal-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.portal-heading p {
  margin: 0;
  color: var(--muted);
}

.portal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.portal-summary div {
  padding: 18px;
  background: var(--blue-dark);
  color: white;
  border-bottom: 5px solid var(--gold);
}

.portal-summary small {
  display: block;
  color: #cbd7f2;
  margin-bottom: 8px;
  font-weight: 800;
}

.portal-summary strong {
  font-size: 20px;
}

.progress-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.module-list.inline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background: #fbfcff;
}

.admin-row span,
.admin-row small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.manual-user-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.promotion-form {
  display: grid;
  gap: 14px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .student-flow,
  .two-column,
  .booking,
  .admin,
  .learning-layout,
  .progress-grid,
  .module-list.inline,
  .manual-user-form,
  .admin-row,
  .portal-summary,
  .confidence-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  nav {
    flex-wrap: wrap;
  }

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

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

@media (max-width: 560px) {
  .site-header {
    position: static;
    gap: 12px;
  }

  .header-call {
    display: none;
  }

  .hero {
    min-height: auto;
  }

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

  nav {
    gap: 12px;
    font-size: 14px;
  }

  .brand img {
    width: 62px;
    height: 54px;
  }

  .brand span {
    display: none;
  }
}
