:root {
  --navy: #0b2f5b;
  --navy-2: #123f73;
  --ink: #14202f;
  --muted: #5d6b7d;
  --line: #dbe4ee;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --soft-blue: #e8f2f8;
  --orange: #f59f24;
  --yellow: #ffd166;
  --teal: #1b9aaa;
  --green: #2d9d78;
  --shadow: 0 18px 55px rgba(11, 47, 91, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--navy);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 238, 0.7);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(11, 47, 91, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-weight: 800;
}

.brand-text {
  display: grid;
  line-height: 1.05;
  font-weight: 800;
  color: var(--navy);
}

.brand-text small {
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #26384b;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  padding: 0.55rem 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}

.nav-cta {
  padding: 0.7rem 0.95rem !important;
  color: #fff !important;
  background: var(--navy);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(11, 47, 91, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  place-items: center;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--navy);
  display: block;
  margin: 3px auto;
}

.hero {
  position: relative;
  min-height: min(760px, 82svh);
  padding: 132px 0 88px;
  display: grid;
  align-items: center;
  isolation: isolate;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 28, 54, 0.94) 0%, rgba(7, 28, 54, 0.78) 34%, rgba(7, 28, 54, 0.3) 68%, rgba(7, 28, 54, 0.08) 100%),
    url("assets/smartpath-classroom-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 98%);
  z-index: -1;
}

.hero-content {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  max-width: 720px;
  justify-self: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.process-copy h2,
.trial-copy h2 {
  margin: 0;
  line-height: 1.08;
  font-weight: 850;
}

.hero h1 {
  max-width: 680px;
  font-size: 4rem;
}

.hero-copy {
  max-width: 610px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.78rem 1rem;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #122033;
  background: var(--yellow);
  box-shadow: 0 16px 36px rgba(245, 159, 36, 0.28);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
}

.hero-proof span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 0.42rem 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-band {
  background: #fff;
  padding: 0 0 52px;
}

.trust-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: -26px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 132px;
  padding: 1.3rem;
  background: #fff;
}

.stat-value {
  display: block;
  color: var(--navy);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 850;
}

.trust-item span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-weight: 700;
}

.section,
.trial-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-alt {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max)) / 2));
  background: var(--soft);
}

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

.section-heading h2,
.process-copy h2,
.trial-copy h2 {
  color: var(--navy);
  font-size: 2.45rem;
}

.section-heading p:not(.eyebrow),
.process-copy p,
.trial-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.benefit-card,
.course-card,
.story-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.35rem;
  box-shadow: 0 12px 34px rgba(20, 32, 47, 0.06);
}

.benefit-token {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 0.8rem;
  font-weight: 850;
}

.benefit-card:nth-child(2) .benefit-token {
  background: var(--orange);
  color: #14202f;
}

.benefit-card:nth-child(3) .benefit-token {
  background: var(--teal);
}

.benefit-card h3,
.course-card h3,
.story-card h3,
.process-list h3,
.mentor-detail h3 {
  margin: 1rem 0 0.45rem;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.benefit-card p,
.course-card p,
.story-card p,
.process-list p,
.mentor-detail dd {
  margin: 0;
  color: var(--muted);
}

.process-band {
  background:
    linear-gradient(135deg, rgba(11, 47, 91, 0.96), rgba(18, 63, 115, 0.92)),
    linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #fff;
}

.process-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.process-copy h2 {
  color: #fff;
}

.process-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  min-height: 104px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.process-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--yellow);
  color: #152033;
  font-weight: 850;
}

.process-list h3 {
  margin-top: 0;
  color: #fff;
}

.process-list p {
  color: rgba(255, 255, 255, 0.78);
}

.mentor-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1rem;
  align-items: stretch;
}

.mentor-grid {
  display: grid;
  gap: 0.75rem;
}

.mentor-card {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--ink);
  background: #fff;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mentor-card:hover,
.mentor-card:focus-visible,
.mentor-card.is-active {
  border-color: rgba(27, 154, 170, 0.55);
  box-shadow: 0 12px 28px rgba(11, 47, 91, 0.11);
  transform: translateY(-1px);
}

.mentor-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-weight: 850;
}

.mentor-card strong,
.mentor-card small {
  display: block;
}

.mentor-card small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 700;
}

.mentor-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: linear-gradient(180deg, #fff, #f9fbfd);
  box-shadow: 0 12px 34px rgba(20, 32, 47, 0.06);
}

.mentor-detail h3 {
  margin-top: 0;
  font-size: 1.9rem;
}

.mentor-detail dl {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 0;
}

.mentor-detail dt {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-weight: 850;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab {
  min-width: 124px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: #fff;
  font-weight: 850;
}

.tab.is-active,
.tab:hover,
.tab:focus-visible {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.course-grid,
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.course-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.course-card span,
.story-badge {
  width: fit-content;
  border-radius: 6px;
  padding: 0.28rem 0.5rem;
  color: #123f73;
  background: var(--soft-blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.course-card small {
  margin-top: auto;
  color: var(--green);
  font-weight: 850;
}

.results-section {
  padding-bottom: 70px;
}

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

.story-card {
  min-height: 214px;
}

.trial-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 2rem;
  align-items: start;
  padding-top: 30px;
}

.contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  list-style: none;
  color: var(--ink);
  font-weight: 800;
}

.contact-list li {
  padding-left: 1.4rem;
  position: relative;
}

.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.trial-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.trial-form label {
  display: grid;
  gap: 0.38rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.trial-form input,
.trial-form select,
.trial-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.72rem 0.78rem;
  color: var(--ink);
  background: #fff;
}

.trial-form textarea {
  resize: vertical;
}

.trial-form input:focus,
.trial-form select:focus,
.trial-form textarea:focus {
  outline: 3px solid rgba(27, 154, 170, 0.22);
  border-color: var(--teal);
}

.full-span,
.time-picker {
  grid-column: 1 / -1;
}

.time-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.time-chip {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem 0.72rem;
  color: var(--navy);
  background: var(--soft);
  font-weight: 800;
}

.time-chip.is-selected,
.time-chip:hover,
.time-chip:focus-visible {
  border-color: var(--orange);
  background: #fff4db;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #1fa855;
  box-shadow: 0 18px 42px rgba(31, 168, 85, 0.35);
  font-weight: 850;
}

.site-footer {
  margin-top: 42px;
  padding: 34px max(16px, calc((100% - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.84);
  background: var(--navy);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 0.35rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 3rem;
  }

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

  .process-inner,
  .mentor-layout,
  .trial-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav {
    width: 100%;
    min-height: 64px;
    padding: 0 16px;
  }

  .menu-toggle {
    position: fixed;
    top: 10px;
    right: 16px;
    z-index: 70;
    display: grid;
    flex: 0 0 44px;
    border-color: var(--navy);
    background: var(--navy);
  }

  .menu-toggle span:not(.sr-only) {
    background: #fff;
  }

  .nav-links {
    position: fixed;
    inset: 64px 0 auto;
    display: none;
    padding: 1rem 16px 1.25rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 42px rgba(11, 47, 91, 0.14);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero {
    min-height: 84svh;
    padding: 106px 0 76px;
    background:
      linear-gradient(180deg, rgba(7, 28, 54, 0.92) 0%, rgba(7, 28, 54, 0.82) 42%, rgba(7, 28, 54, 0.28) 100%),
      url("assets/smartpath-classroom-hero.png") 58% center / cover no-repeat;
  }

  .hero h1 {
    max-width: min(340px, 100%);
    font-size: 2rem;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .hero-copy {
    max-width: min(340px, 100%);
    font-size: 1rem;
  }

  .hero-actions .button,
  .hero-proof span {
    width: 100%;
  }

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

  .hero-proof span {
    justify-content: center;
    text-align: center;
  }

  .trust-grid,
  .benefit-grid,
  .course-grid,
  .trial-form {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 112px;
  }

  .section,
  .trial-section {
    padding: 62px 0;
  }

  .section-alt {
    padding-inline: 16px;
  }

  .section-heading h2,
  .process-copy h2,
  .trial-copy h2 {
    font-size: 2rem;
  }

  .process-inner {
    padding: 62px 0;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .menu-toggle {
    left: min(330px, calc(100vw - 60px));
    right: auto;
  }

  .hero-content,
  .section,
  .trial-section,
  .process-inner {
    width: min(358px, calc(100% - 32px));
    margin-left: 16px;
    margin-right: auto;
  }

  .trust-grid {
    width: min(358px, calc(100% - 32px));
    margin: -26px 0 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
