/* LIFT Academy — minimal, system fonts, mobile-first */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #0d1117;
  --muted: #57606a;
  --line: rgba(13, 17, 23, 0.08);
  --accent: #00609e;
  --accent-soft: #0cc0df;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(13, 17, 23, 0.04), 0 8px 40px rgba(13, 17, 23, 0.06);
  --header-h: 4rem;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Same base as .cta-band — hero matches “Ready to join” strip */
  --band-gradient: linear-gradient(180deg, var(--accent) 0%, #004a78 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #004a7a;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border-radius: 6px;
}

.skip:focus {
  left: 0.5rem;
}

.wrap {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.75rem);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo img {
  width: clamp(7rem, 22vw, 9rem);
  height: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.5rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  background: rgba(0, 96, 158, 0.08);
  color: var(--accent);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--text);
  color: var(--surface);
}

.lang-toggle button:not([aria-pressed="true"]):hover {
  background: var(--bg);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 96, 158, 0.2);
}

.btn--primary:hover {
  background: #004d82;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 96, 158, 0.25);
}

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

.btn--ghost:hover {
  background: var(--surface);
}

.btn--hero-secondary {
  background: var(--surface);
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 1px 3px rgba(0, 96, 158, 0.12);
  text-decoration: none;
}

.btn--hero-secondary:hover {
  background: rgba(0, 96, 158, 0.07);
  color: #004a7a;
  border-color: #004a7a;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid var(--line);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 0.75rem 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
}

.nav-mobile a:hover {
  background: rgba(0, 96, 158, 0.06);
}

.nav-mobile .lang-toggle {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.nav-mobile .btn--primary {
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 860px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* —— Hero —— same palette as .cta-band (deep blue strip) —— */
.hero--split {
  position: relative;
  padding-block: clamp(2.25rem, 6vw, 4.25rem);
  background: var(--band-gradient);
  color: #fff;
  border-bottom: none;
  overflow: hidden;
}

.hero--split::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -20%;
  right: -15%;
  width: min(85vw, 560px);
  height: min(85vw, 560px);
  background: radial-gradient(
    circle at center,
    rgba(12, 192, 223, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 45%,
    transparent 65%
  );
  pointer-events: none;
}

.hero--split::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.06) 0%,
    transparent 35%,
    transparent 70%,
    rgba(0, 26, 48, 0.18) 100%
  );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem 3rem;
  }
}

.hero__content {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero__content {
    text-align: left;
    margin-inline: 0;
    max-width: none;
  }
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.hero--split h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.15rem, 5.5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
}

.hero__tagline {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  line-height: 1.45;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero__chips {
    justify-content: flex-start;
  }
}

.hero__chips li {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__actions {
    justify-content: flex-start;
  }
}

.hero__visual {
  position: relative;
}

.hero__visual-inner {
  position: relative;
  padding: 0 0.35rem 0.35rem 0;
  max-width: 520px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero__visual-inner {
    margin-inline: 0;
    margin-left: auto;
  }
}

.hero__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  background: rgba(0, 0, 0, 0.15);
}

.hero__frame img {
  width: 100%;
  display: block;
}

.hero__accent {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: min(55%, 240px);
  height: min(55%, 240px);
  border-radius: calc(var(--radius-lg) - 4px);
  background: linear-gradient(145deg, rgba(12, 192, 223, 0.55), rgba(255, 255, 255, 0.15));
  opacity: 0.65;
  filter: blur(0);
}

/* Hero CTAs: match .cta-band (white primary, outline secondary) */
.hero--split .btn--primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero--split .btn--primary:hover {
  background: rgba(255, 255, 255, 0.94);
  color: #004a7a;
  border-color: transparent;
}

.hero--split .btn--hero-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.hero--split .btn--hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .hero--split h1 {
    animation: fade-up 0.65s var(--ease) both;
  }

  .hero__tagline {
    animation: fade-up 0.65s 0.05s var(--ease) both;
  }

  .hero__chips {
    animation: fade-up 0.65s 0.08s var(--ease) both;
  }

  .hero__actions {
    animation: fade-up 0.65s 0.11s var(--ease) both;
  }

  .hero__visual-inner {
    animation: fade-up 0.7s 0.08s var(--ease) both;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Sections —— */
.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.section__head {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.section__head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

.intro-meta {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
}

.intro-block {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 768px) {
  .intro-block {
    text-align: left;
    margin-inline: 0;
  }
}

/* —— Cards —— */
.grid-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    border-color: rgba(0, 96, 158, 0.18);
    box-shadow: var(--shadow);
  }
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
}

/* —— CTA band —— */
.cta-band {
  background: var(--band-gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  max-width: 32rem;
  margin-inline: auto;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--accent);
}

.cta-band .btn--primary:hover {
  color: #004a7a;
}

/* —— Page hero (inner) — same blue band as home hero / CTA for continuity —— */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--band-gradient);
  color: #fff;
  border-bottom: none;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -35%;
  right: -8%;
  width: min(75vw, 520px);
  height: min(75vw, 520px);
  background: radial-gradient(
    circle at center,
    rgba(12, 192, 223, 0.22) 0%,
    rgba(255, 255, 255, 0.05) 42%,
    transparent 68%
  );
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    transparent 40%,
    transparent 75%,
    rgba(0, 26, 48, 0.14) 100%
  );
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-hero__lead {
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.page-hero__lead strong {
  color: #fff;
  font-weight: 600;
}

/* Breathing room between the blue page header and the first content block */
main > .page-hero + .section {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

/* —— Pillar cards (About + Services) —— */
.about-pillars,
.services-pillars,
.additional-services {
  background: linear-gradient(
    180deg,
    rgba(0, 96, 158, 0.045) 0%,
    var(--bg) 55%,
    var(--bg) 100%
  );
}

.pillar-card__emoji {
  font-size: 1.625rem;
  line-height: 1;
  margin: 0 0 0.4rem;
}

/* Single phone CTA below additional-services grid */
.addon-callout {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(232, 244, 252, 0.92) 50%,
    rgba(212, 234, 248, 0.88) 100%
  );
  border: 2px solid rgba(0, 96, 158, 0.35);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 12px 40px -12px rgba(0, 74, 120, 0.35);
}

.addon-callout__hint {
  margin: 0 auto 1rem;
  max-width: 36rem;
  font-size: clamp(1.02rem, 2.3vw, 1.15rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.addon-callout__btn {
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.9rem 1.85rem;
  box-shadow: 0 4px 14px rgba(0, 96, 158, 0.35);
}

@media (min-width: 480px) {
  .addon-callout__btn {
    font-size: 1.2rem;
    padding: 1rem 2.25rem;
  }
}

/* Home: extra air above “Programs” after intro (line + CTA sit just above) */
body[data-page="home"] main > .section + .services-pillars {
  padding-top: clamp(3rem, 8vw, 5rem);
}

.pillar-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
}

.pillar-card {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: stretch;
  margin: 0;
  padding: 1.25rem 1.15rem;
  background: var(--surface);
  border: 1px solid rgba(0, 96, 158, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(13, 17, 23, 0.04);
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .pillar-card:hover {
    border-color: rgba(0, 96, 158, 0.2);
    box-shadow: 0 8px 32px -12px rgba(0, 74, 120, 0.18);
  }
}

/* Vertical gradient rail instead of a line above the title */
.pillar-card__rail {
  width: 5px;
  min-height: 4.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  align-self: flex-start;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--accent) 100%);
  opacity: 1;
}

.pillar-card__rail--mid {
  background: linear-gradient(180deg, var(--accent) 0%, #004a78 100%);
}

.pillar-card__rail--end {
  background: linear-gradient(180deg, #004a78 0%, var(--accent) 55%, var(--accent-soft) 100%);
}

.pillar-card__content {
  min-width: 0;
}

.pillar-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* —— Contact —— */
.contact-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
}

.contact-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg);
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-photo {
  margin: 0;
  width: 100%;
  max-width: min(100%, 36rem);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}

.contact-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.social-row a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.social-row a:hover {
  text-decoration: underline;
}

/* —— Footer —— */
.site-footer {
  margin-top: auto;
  padding-block: 2.5rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .site-footer .wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.site-footer small {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 26rem;
  line-height: 1.5;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

body[data-page="register"] main {
  display: flex;
  flex-direction: column;
}

/* —— Registration (HubSpot embed) —— */
.register-surface {
  position: relative;
  flex: 1;
  padding-block: clamp(2rem, 6vw, 4rem);
  background: var(--band-gradient);
  overflow: hidden;
}

.register-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 45%,
    rgba(0, 26, 48, 0.16) 100%
  );
  pointer-events: none;
}

.register-surface .wrap {
  position: relative;
  z-index: 1;
}

.hs-form-card {
  max-width: 44rem;
  margin-inline: auto;
  background: #fff;
  border-radius: clamp(14px, 2.2vw, 22px);
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  box-shadow:
    0 4px 28px rgba(0, 26, 48, 0.1),
    0 22px 56px rgba(0, 26, 48, 0.16);
}

.hs-form-card .hs-form-frame {
  min-height: 10rem;
}

.hs-form-card iframe {
  max-width: 100% !important;
}
