/* =========================================================
   MYAOKAY – Landing page styles
   ========================================================= */

:root {
  --navy: #032671;
  --navy-900: #021a4f;
  --navy-950: #01133a;
  --navy-50: #eef2fa;
  --accent: #d1460c; /* brand orange, deep enough for white button text */
  --accent-hover: #b03a08;
  --accent-bright: #ff7a3d;
  --wa: #128c4a;
  --wa-hover: #0e7a40;
  --ink: #101b33;
  --muted: #536077;
  --line: #e2e6ed;
  --tint: #f5f7fb;
  --white: #fff;
  --danger: #b42318;

  /* supporting colours for icons, tags and infographics (text-safe on their tints) */
  --orange: #c9400a;
  --orange-tint: #fdeee6;
  --green: #137a43;
  --green-tint: #e5f4ec;
  --sky: #0b62a4;
  --sky-tint: #e5f0fa;
  --purple: #6331c4;
  --purple-tint: #efe9fc;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 27, 51, 0.06), 0 10px 28px -14px rgba(16, 27, 51, 0.22);
  --shadow-lg: 0 2px 4px rgba(16, 27, 51, 0.06), 0 28px 56px -24px rgba(2, 26, 79, 0.4);
  --header-h: 64px;
  --gutter: 20px;
}

@media (min-width: 1100px) {
  :root {
    --header-h: 76px;
    --gutter: 32px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 68px; /* room for the phone sticky bar */
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

address {
  font-style: normal;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(1240px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light {
  color: #ffb08a;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn--sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px -10px rgba(209, 70, 12, 0.7);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--white {
  background: var(--white);
  color: var(--navy-900);
}

.btn--white:hover {
  background: var(--navy-50);
}

.btn--wa {
  background: var(--wa);
  color: var(--white);
}

.btn--wa:hover {
  background: var(--wa-hover);
}

/* translucent button for dark photo backgrounds */
.btn--glass {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.btn--glass:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.16);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-arrow .i {
  width: 1em;
  height: 1em;
}

.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
}

.icon-btn .i {
  width: 20px;
  height: 20px;
}

.icon-btn--wa {
  display: none;
  color: var(--wa);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.header__logo img {
  width: auto;
  height: 40px;
}

.nav {
  display: none;
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 2px;
}

.nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  background: var(--tint);
  color: var(--navy);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 10px;
  margin-right: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--navy-900);
  text-decoration: none;
}

.header__phone .i {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.header__phone small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
}

.header__cta {
  min-height: 42px;
  padding: 0 16px;
}

.menu-btn__close,
.menu-btn[aria-expanded='true'] .menu-btn__open {
  display: none;
}

.menu-btn[aria-expanded='true'] .menu-btn__close {
  display: block;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--white);
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
}

.mobile-menu nav {
  padding-block: 8px 20px;
}

.mobile-menu ul a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu__contact {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.mobile-menu__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

@media (max-width: 420px) {
  .header__logo img {
    height: 34px;
  }
  .header__bar {
    gap: 12px;
  }
  .header__cta {
    padding: 0 12px;
    font-size: 0.85rem;
  }
}

@media (min-width: 768px) {
  .icon-btn--wa {
    display: inline-grid;
  }
}

@media (min-width: 1100px) {
  .nav {
    display: block;
  }
  .menu-btn,
  .mobile-menu {
    display: none !important;
  }
  .header__actions {
    margin-left: 4px;
  }
  .header__logo img {
    height: 46px;
  }
}

@media (min-width: 1400px) {
  .header__phone {
    display: flex;
  }
}

/* ---------- Hero ---------- */
/* full-bleed photo under a navy overlay that is darkest behind the text */
.hero {
  position: relative;
  padding-block: 32px 40px;
  background:
    linear-gradient(100deg, rgba(1, 19, 58, 0.95) 0%, rgba(2, 26, 79, 0.8) 45%, rgba(2, 26, 79, 0.35) 100%),
    url('../images/stock/hero-bg.webp') center 60% / cover no-repeat,
    var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
}

/* thin brand-orange rule along the bottom edge */
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}

.hero__grid {
  display: grid;
  grid-template-areas: 'intro' 'form' 'extra';
  gap: 28px;
}

.hero__intro {
  grid-area: intro;
}

.hero__extra {
  grid-area: extra;
  display: grid;
  gap: 22px;
}

.enquire {
  grid-area: form;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d27b;
  box-shadow: 0 0 0 4px rgba(52, 210, 123, 0.2);
}

.hero h1 {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem);
  color: var(--white);
}

.hero__accent {
  color: var(--accent-bright);
}

.hero__lead {
  margin-top: 16px;
  max-width: 34em;
  font-size: 1.075rem;
}

.hero__lead strong {
  color: var(--white);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* secondary contacts under the main buttons */
.hero__alt {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.hero__alt a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  text-decoration: none;
}

.hero__alt small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.6);
}

.hero__alt-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--accent-bright);
  transition: background-color 0.15s, border-color 0.15s;
}

.hero__alt-icon .i {
  width: 15px;
  height: 15px;
}

.hero__alt a:hover .hero__alt-icon {
  border-color: var(--accent-bright);
  background: rgba(255, 122, 61, 0.15);
}

.hero__alt a:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* glass panel holding the proof numbers and accreditation logos */
.hero__trust {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(8px);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.hero__stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  line-height: 1.3;
}

.hero__stats strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero__stat-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 122, 61, 0.16);
  color: var(--accent-bright);
}

.hero__stat-icon--star {
  background: rgba(245, 180, 0, 0.16);
  color: #f5b400;
}

.hero__stat-icon .i {
  width: 18px;
  height: 18px;
}

.accred {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 20px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.accred__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.accred__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* logos have white backgrounds, so each sits on its own white chip */
.accred__logos li {
  display: grid;
  place-items: center;
  width: 92px;
  height: 44px;
  padding: 4px 8px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.accred__logos img {
  width: auto;
  max-width: 100%;
  height: 34px;
  object-fit: contain;
}

.accred__logos .accred__wide {
  height: 28px;
}

/* bss.webp has wide white margins around the seal – crop them away */
.accred__logos .accred__bss {
  width: 100%;
  height: 44px;
  object-fit: cover;
}

@media (max-width: 479px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--header-h));
    padding-block: clamp(24px, 4vh, 56px);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 450px);
    grid-template-areas: 'intro form' 'extra form';
    align-content: center;
    column-gap: clamp(40px, 6vw, 96px);
    row-gap: clamp(18px, 3.5vh, 36px);
  }

  .hero__intro {
    align-self: end;
    max-width: 660px;
  }

  .hero__extra {
    align-self: start;
    max-width: 660px;
    gap: clamp(14px, 2.6vh, 24px);
  }

  .enquire {
    align-self: center;
  }

  /* size the headline by viewport height too, so the whole hero fits short laptop screens */
  .hero h1 {
    font-size: clamp(2rem, min(3.4vw, 6.6vh), 3.4rem);
  }
}

@media (min-width: 1024px) and (max-height: 720px) {
  .hero__badge {
    margin-bottom: 12px;
  }
  .hero__lead {
    margin-top: 10px;
    font-size: 1rem;
  }
  .hero__stats {
    padding: 12px 18px;
  }
  .hero__stats strong {
    font-size: 1.15rem;
  }
  .hero__stat-icon {
    width: 34px;
    height: 34px;
  }
  .accred {
    padding: 10px 18px 12px;
  }
  .accred__logos li {
    height: 38px;
  }
  .accred__logos img {
    height: 30px;
  }
  .accred__logos .accred__wide {
    height: 24px;
  }
  .accred__logos .accred__bss {
    height: 38px;
  }
}

/* ---------- Enquiry form ---------- */
.enquire {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 12px);
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(255, 122, 61, 0.25), 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

/* orange header band makes the form the focal point of the hero */
.enquire__head {
  position: relative;
  padding: 20px 24px 18px;
  background: linear-gradient(120deg, var(--accent) 0%, #e8601f 100%);
  color: rgba(255, 255, 255, 0.9);
}

.enquire h2 {
  padding-right: 64px;
  font-size: 1.45rem;
  color: var(--white);
}

.enquire__head p {
  margin-top: 4px;
  font-size: 0.82rem;
}

.enquire__ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.form {
  padding: 20px 24px 22px;
}

.form__grid {
  display: grid;
  gap: 14px;
}

/* phone gets the wider half of its row so a full number stays visible */
@media (min-width: 480px) {
  .form__grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .form__grid > .field {
    grid-column: span 6;
  }
  .form__grid > .field:nth-child(3) {
    grid-column: span 7;
  }
  .form__grid > .field:nth-child(4) {
    grid-column: span 5;
  }
  .form__grid > .field--full {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #cdd3dd;
  border-radius: 8px;
  background: #fafbfd;
  font-size: 1rem; /* 16px stops iOS zooming into the field */
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.field select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23536077' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  text-overflow: ellipsis;
  cursor: pointer;
}

.field input::placeholder {
  color: #8a93a3;
}

.field select.is-empty {
  color: #8a93a3;
}

.field select option {
  color: var(--ink);
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(209, 70, 12, 0.15);
  outline: none;
}

.field [aria-invalid='true'] {
  border-color: var(--danger);
}

.field__error {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--danger);
}

.phone-row {
  display: flex;
  gap: 6px;
}

.phone-row select {
  width: 80px;
  flex-shrink: 0;
  padding-right: 26px;
  background-position: right 6px center;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form__alert {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef3f2;
  font-size: 0.85rem;
  color: var(--danger);
}

.form__alert[hidden] {
  display: none;
}

.form__alert .i {
  margin-top: 2px;
}

.form .btn--block {
  margin-top: 18px;
}

.btn__loading,
.btn.is-loading .btn__label {
  display: none;
}

.btn__label,
.btn.is-loading .btn__loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn:disabled {
  opacity: 0.75;
  cursor: progress;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Rocket (submit button → thank-you page) ---------- */
.rocket {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.btn--rocket .rocket {
  width: 22px;
  height: 28px;
  margin-block: -4px;
  transform: rotate(35deg);
  transition: transform 0.25s;
}

/* a little lift-off wiggle on hover */
.btn--rocket:hover .rocket {
  transform: rotate(35deg) translateY(-3px);
}

.rocket__flame {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: flame 0.12s ease-in-out infinite alternate;
}

/* idle rocket in the button: flame only shows on hover */
.btn--rocket .rocket__flame {
  opacity: 0;
  transition: opacity 0.2s;
}

.btn--rocket:hover .rocket__flame {
  opacity: 1;
}

@keyframes flame {
  from {
    transform: scaleY(0.75);
  }
  to {
    transform: scaleY(1.15);
  }
}

/* clone that actually flies (created by launchRocket) */
.rocket--flying {
  position: fixed;
  z-index: 200;
  margin: 0;
  pointer-events: none;
  transform: none;
}

.rocket--flying .rocket__flame {
  opacity: 1;
  animation-duration: 0.08s;
}

.rocket-smoke {
  position: fixed;
  z-index: 199;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(214, 222, 235, 0.8) 60%, rgba(214, 222, 235, 0) 100%);
  pointer-events: none;
}

.form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.form__privacy .i {
  width: 13px;
  height: 13px;
}


@media (min-width: 1024px) and (max-height: 720px) {
  .enquire__head {
    padding: 16px 22px 14px;
  }
  .form {
    padding: 16px 22px 18px;
  }
  .form__grid {
    gap: 10px 12px;
  }
  .field input,
  .field select {
    height: 40px;
  }
  .form .btn--block {
    margin-top: 14px;
    min-height: 46px;
  }
}

/* ---------- Highlights band ---------- */
.highlights {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
}

.highlights__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
  padding-block: 28px;
}

.hl {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.hl strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.hl__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c);
  color: var(--white);
}

.hl__icon .i {
  width: 22px;
  height: 22px;
}

.hl--orange {
  --c: var(--accent);
}

.hl--green {
  --c: var(--green);
}

.hl--sky {
  --c: var(--sky);
}

.hl--amber {
  --c: #c97a00;
}

@media (min-width: 1024px) {
  .highlights__list {
    grid-template-columns: repeat(4, 1fr);
    padding-block: 32px;
  }
  .hl + .hl {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(56px, 8vw, 100px);
}

.section--tint {
  background: var(--tint);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head > p:not(.eyebrow) {
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--muted);
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Courses ---------- */
.courses {
  display: grid;
  gap: 20px;
}

.course {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}

.course:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.course__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tint);
}

.course__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-tint);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--c);
}

.tag--green {
  --c: var(--green);
  --c-tint: var(--green-tint);
}

.tag--sky {
  --c: var(--sky);
  --c-tint: var(--sky-tint);
}

.tag--purple {
  --c: var(--purple);
  --c-tint: var(--purple-tint);
}

.course__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.course__badge {
  align-self: flex-start;
  width: auto;
  height: 32px;
  margin-bottom: 14px;
}

.course__badge--wide {
  height: 26px;
  margin-block: 3px 17px;
}

.course h3 {
  font-size: 1.08rem;
  color: var(--navy-900);
}

.course h3 small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.course__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

.course__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course__meta .i {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.course__text {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.course__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.course__price small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.course__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .courses {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .courses {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- How it works ---------- */
.how {
  background: linear-gradient(180deg, var(--white) 0%, var(--tint) 100%);
}

.how__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.how__steps {
  position: relative;
  display: grid;
  gap: 26px;
  margin-top: 32px;
}

/* connector line running behind the step icons */
.how__steps::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--sky), var(--green), var(--purple));
  opacity: 0.35;
}

.how-step {
  position: relative;
  display: flex;
  gap: 18px;
}

.how-step__num {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c);
  color: var(--white);
  box-shadow: 0 0 0 6px var(--c-tint);
}

.how-step__num .i {
  width: 22px;
  height: 22px;
}

.how-step h3 {
  margin-top: 2px;
  font-size: 1.08rem;
}

.how-step p {
  margin-top: 2px;
  font-size: 0.925rem;
  color: var(--muted);
}

.how-step--orange {
  --c: var(--accent);
  --c-tint: var(--orange-tint);
}

.how-step--sky {
  --c: var(--sky);
  --c-tint: var(--sky-tint);
}

.how-step--green {
  --c: var(--green);
  --c-tint: var(--green-tint);
}

.how-step--purple {
  --c: var(--purple);
  --c-tint: var(--purple-tint);
}

.how__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.how__media {
  position: relative;
}

.how__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.how__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--white);
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.how__badge strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.how__badge .i {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
}

@media (min-width: 960px) {
  .how__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 88px);
  }
}

/* ---------- Where to start ---------- */
.paths {
  display: grid;
  gap: 20px;
}

.path {
  --c: var(--accent);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--c);
  border-radius: var(--radius);
  background: var(--white);
}

.path--green {
  --c: var(--green);
}

.path--sky {
  --c: var(--sky);
}

.path--purple {
  --c: var(--purple);
}

.path > *:not(.path__media) {
  margin-inline: 24px;
}

.path__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.path__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.path__step {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c);
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.85);
}

.path h3 {
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.path > p {
  margin-top: 8px;
  font-size: 0.925rem;
  color: var(--muted);
}

.path__courses {
  margin-block: 18px 22px;
  border-top: 1px solid var(--line);
}

.path__courses a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.path__courses a span {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--c);
}

.path__courses a:hover {
  color: var(--navy);
}

.path .link-arrow {
  margin-top: auto;
  color: var(--c);
}

@media (min-width: 900px) {
  .paths {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Career progression ---------- */
.ladder-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(1, 19, 58, 0.94) 0%, rgba(2, 26, 79, 0.9) 55%, rgba(1, 19, 58, 0.97) 100%),
    url('../images/stock/ladder-bg.webp') center / cover no-repeat,
    var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
}

.ladder-section h2 {
  color: var(--white);
}

.ladder-section .section-head > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.ladder {
  display: grid;
  gap: 16px;
}

.rung {
  --c: var(--sky);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

.rung--1 {
  --c: #2f8fd8;
}

.rung--2 {
  --c: var(--green);
}

.rung--3 {
  --c: var(--purple);
}

.rung--4 {
  --c: var(--accent);
}

.rung__media {
  position: relative;
  aspect-ratio: 16 / 9;
}

.rung__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rung__num {
  position: absolute;
  left: 16px;
  bottom: -22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--c);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.rung__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 32px 20px 20px;
  border-top: 4px solid var(--c);
}

.rung__level {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 12%, white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c);
}

.rung h3 {
  margin-top: 10px;
  font-size: 1.15rem;
  color: var(--navy-900);
}

.rung__course {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.rung__facts {
  display: grid;
  gap: 6px;
  margin-block: 14px 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  font-weight: 600;
}

.rung__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rung__facts .i {
  width: 16px;
  height: 16px;
  color: var(--c);
}

.rung__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c);
  text-decoration: none;
}

.rung__cta:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ladder__axis {
  display: none;
}

.ladder__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 32px;
  font-size: 0.85rem;
}

@media (min-width: 640px) {
  .ladder {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* desktop: a rising staircase – each card starts higher than the last */
@media (min-width: 1024px) {
  /* cards stretch to the row height, so a top margin lowers each earlier step */
  .ladder {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .rung--1 {
    margin-top: 96px;
  }
  .rung--2 {
    margin-top: 64px;
  }
  .rung--3 {
    margin-top: 32px;
  }

  .ladder__axis {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
  }

  .ladder__line {
    position: relative;
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2f8fd8, var(--green), var(--purple), var(--accent));
  }

  /* arrowhead at the leadership end */
  .ladder__line::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    border: 8px solid transparent;
    border-left: 12px solid var(--accent);
    border-right: 0;
    transform: translateY(-50%);
  }
}

/* ---------- About / why ---------- */
.about {
  display: grid;
  gap: 40px;
}

.about__media {
  position: relative;
  max-width: 560px;
  padding-bottom: 28px;
}

.about__main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 30% center;
  border-radius: 18px;
}

.about__years {
  position: absolute;
  left: 16px;
  top: 16px;
  max-width: 200px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--accent);
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.about__years strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.about__rating {
  position: absolute;
  right: 16px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--white);
  font-size: 0.85rem;
  color: var(--muted);
  box-shadow: var(--shadow-lg);
}

.about__rating strong {
  color: var(--ink);
}

.about__lead {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--muted);
}

.reasons {
  display: grid;
  gap: 22px;
  margin-block: 32px;
}

.reasons li {
  display: flex;
  gap: 14px;
}

.reasons .i {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--c-tint);
  color: var(--c);
}

.reasons p {
  margin-top: 2px;
  font-size: 0.9rem;
  color: var(--muted);
}

.reason--orange {
  --c: var(--orange);
  --c-tint: var(--orange-tint);
}

.reason--sky {
  --c: var(--sky);
  --c-tint: var(--sky-tint);
}

.reason--green {
  --c: var(--green);
  --c-tint: var(--green-tint);
}

.reason--purple {
  --c: var(--purple);
  --c-tint: var(--purple-tint);
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

@media (min-width: 640px) {
  .reasons {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .about {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: clamp(48px, 6vw, 88px);
  }
}

/* ---------- Advisor CTA banner ---------- */
.cta-banner-wrap {
  padding-block: 0 clamp(56px, 8vw, 100px);
}

.cta-banner {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 22px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 60px);
}

.cta-banner h2 {
  max-width: 15em;
  color: var(--white);
}

.cta-banner__content > p:not(.eyebrow) {
  max-width: 32em;
  margin-top: 12px;
  font-size: 1.05rem;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-banner__media {
  height: 220px;
}

.cta-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 30%;
}

/* desktop: photo fills the right side and fades into the navy */
@media (min-width: 900px) {
  .cta-banner {
    grid-template-columns: 1.15fr 1fr;
  }
  .cta-banner__media {
    position: relative;
    height: auto;
  }
  .cta-banner__media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--navy-900) 0%, rgba(2, 26, 79, 0) 45%);
  }
  .cta-banner__media img {
    position: absolute;
    inset: 0;
  }
}

/* ---------- Reviews ---------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.925rem;
  color: var(--muted);
}

.rating strong {
  color: var(--ink);
}

.rating__stars {
  display: inline-flex;
  color: #e0a100;
}

.rating__stars .i {
  width: 17px;
  height: 17px;
}

.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 380px);
  gap: 16px;
  overflow-x: auto;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 12px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
}

.reviews > li {
  scroll-snap-align: start;
}

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
}

.review::before {
  content: '\201C';
  position: absolute;
  top: 4px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--orange-tint);
}

.review blockquote {
  position: relative;
  flex: 1;
  font-size: 0.96rem;
  line-height: 1.65;
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.review figcaption strong {
  display: block;
  font-size: 0.925rem;
  color: var(--ink);
}

.review__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-50);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
}

.reviews > li:nth-child(2) .review__avatar {
  background: var(--orange-tint);
  color: var(--orange);
}

.reviews > li:nth-child(3) .review__avatar {
  background: var(--green-tint);
  color: var(--green);
}

.reviews > li:nth-child(4) .review__avatar {
  background: var(--purple-tint);
  color: var(--purple);
}

@media (min-width: 900px) {
  .reviews {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  gap: 32px;
}

.faq-aside h2 {
  max-width: 14em;
}

.help-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--tint);
}

.help-card__title {
  font-weight: 800;
}

.help-card > p:not(.help-card__title) {
  margin-block: 4px 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.help-card__link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.help-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.02rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--navy);
}

.faq summary .i {
  color: var(--accent);
  transition: transform 0.2s;
}

.faq details[open] summary .i {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 62ch;
  padding-bottom: 20px;
  color: var(--muted);
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: 4fr 7fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }
  .faq-aside {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* ---------- Contact ---------- */
.contact {
  padding-block: clamp(56px, 8vw, 88px);
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  color: var(--white);
}

.contact__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}

.contact__head p {
  margin-top: 10px;
  font-size: 1.05rem;
}

.channels {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.channel:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.channel .i {
  width: 46px;
  height: 46px;
  padding: 12px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  color: var(--white);
}

.channel--orange {
  --c: var(--accent);
}

.channel--green {
  --c: var(--wa);
}

.channel--sky {
  --c: var(--sky);
}

.channel small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.offices {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.offices h3 {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--white);
}

.offices small {
  margin-left: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
  .channels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .channels {
    grid-template-columns: repeat(4, 1fr);
  }
  .offices {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* ---------- Footer ---------- */
.footer {
  padding-top: 56px;
  background: var(--navy-950);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__grid {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
}

.footer__brand img {
  width: auto;
  height: 52px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--white);
}

.footer__brand p {
  max-width: 30em;
  margin-top: 16px;
}

.footer h3 {
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.footer li + li {
  margin-top: 8px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__bottom li + li {
  margin-top: 0;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1.4fr 1fr 1fr;
    gap: 48px;
  }
}

/* ---------- Offer popup ---------- */
.offer {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  overflow: visible;
}

.offer:focus-visible {
  outline: none;
}

/* phones: keep the popup short enough to read without scrolling */
@media (max-width: 719px) {
  .offer__media {
    height: 130px;
  }
  .offer__body > p:not(.offer__tag) {
    display: none;
  }
}

.offer::backdrop {
  background: rgba(1, 19, 58, 0.7);
  backdrop-filter: blur(3px);
}

.offer[open] {
  animation: offer-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes offer-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}

.offer__card {
  position: relative;
  display: grid;
  overflow: hidden;
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.offer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.offer__media {
  position: relative;
  height: 170px;
}

.offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 40%;
}

.offer__stamp {
  position: absolute;
  left: 18px;
  bottom: -26px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  padding: 8px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
  transform: rotate(-8deg);
}

.offer__stamp strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
}

.offer__body {
  padding: 40px 26px 24px;
}

.offer__tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.offer h2 {
  margin-top: 8px;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
}

.offer__body > p:not(.offer__tag) {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.offer__list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.offer__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer__list .i {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  stroke-width: 3;
}

.offer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.offer__actions .btn--primary {
  flex: 1;
}

.offer__skip {
  display: block;
  margin: 14px auto 0;
  padding: 4px;
  border: 0;
  background: none;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (min-width: 720px) {
  .offer__card {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .offer__media {
    height: auto;
  }
  .offer__media img {
    position: absolute;
    inset: 0;
  }
  .offer__stamp {
    bottom: 18px;
  }
  .offer__body {
    padding: 36px 32px 26px;
  }
}

body.modal-open {
  overflow: hidden;
}

/* ---------- Thank-you page: one simple centred card ---------- */
.ty-page {
  padding-bottom: 0;
  background: var(--tint);
}

.ty {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px var(--gutter);
}

.ty__card {
  width: min(420px, 100%);
  padding: 32px 28px 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 18px;
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.ty__logo img {
  width: auto;
  height: 40px;
  margin: 0 auto 22px;
}

/* rocket touches down on a pad, flame cuts out, dust kicks up, then a check pops on */
.ty__landing {
  position: relative;
  width: 120px;
  height: 104px;
  margin: 0 auto 14px;
}

.rocket--landing {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 1;
  width: 64px;
  height: 80px;
  margin-left: -32px;
  animation: land 1.4s cubic-bezier(0.15, 0.7, 0.3, 1) both;
}

.rocket--landing .rocket__flame {
  animation:
    flame 0.1s ease-in-out infinite alternate,
    flame-off 0.3s 1.15s forwards;
}

.ty__pad {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 96px;
  height: 12px;
  margin-left: -48px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(2, 26, 79, 0.28) 0%, rgba(2, 26, 79, 0) 70%);
  animation: pad 1.4s cubic-bezier(0.15, 0.7, 0.3, 1) both;
}

.ty__dust {
  position: absolute;
  bottom: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 222, 235, 0.95) 0%, rgba(214, 222, 235, 0) 70%);
  opacity: 0;
  animation: dust 0.7s 1.05s ease-out both;
}

.ty__dust--l {
  left: 22px;
  --dx: -26px;
}

.ty__dust--r {
  right: 22px;
  --dx: 26px;
}

.ty__badge {
  position: absolute;
  right: 22px;
  bottom: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  animation: pop 0.45s 1.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ty__badge .i {
  width: 15px;
  height: 15px;
  stroke-width: 3.5;
}

@media (prefers-reduced-motion: reduce) {
  .rocket--landing .rocket__flame {
    display: none;
  }
}

@keyframes land {
  0% {
    transform: translateY(-80vh);
  }
  80% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes flame-off {
  to {
    opacity: 0;
  }
}

@keyframes pad {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
}

@keyframes dust {
  0% {
    opacity: 0.9;
    transform: translateX(0) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translateX(var(--dx)) scale(1.8);
  }
}

@keyframes pop {
  from {
    transform: scale(0);
  }
}

.ty h1 {
  font-size: 1.6rem;
}

.ty__lead {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.ty__wa-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--green-tint);
  font-size: 0.85rem;
  color: var(--green);
}

.ty__wa-note[hidden] {
  display: none;
}

.ty .btn--wa {
  margin-top: 22px;
}

.ty__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.ty__back:hover {
  color: var(--navy);
}

.ty__back .i {
  width: 15px;
  height: 15px;
}

/* ---------- Floating WhatsApp (desktop) / sticky bar (phones) ---------- */
.float-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
}

.float-wa .i {
  width: 28px;
  height: 28px;
}

.float-wa:hover {
  background: var(--wa-hover);
}

.mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
}

.mobile-bar a:nth-child(2) .i {
  color: var(--wa);
}

.mobile-bar .mobile-bar__cta {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }
  .float-wa {
    display: grid;
  }
  body {
    padding-bottom: 0;
  }
}
