:root {
  --blue: #25358a;
  --blue-dark: #17246b;
  --sky: #20bcef;
  --sky-soft: #d8f6ff;
  --green: #45aa17;
  --orange: #f47a20;
  --pink: #d83c87;
  --yellow: #f8d72b;
  --ink: #143052;
  --muted: #5a708c;
  --white: #ffffff;
  --line: rgba(37, 53, 138, 0.14);
  --shadow: 0 22px 55px rgba(20, 48, 82, 0.16);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7fcff;
  color: var(--ink);
  font-family: "Nunito", Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 186px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--blue);
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: var(--sky-soft);
  color: var(--blue-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--sky-soft);
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 99px;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--sky);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 188, 237, 0.94) 0%, rgba(32, 188, 239, 0.82) 34%, rgba(32, 188, 239, 0.2) 67%, rgba(32, 188, 239, 0.02) 100%),
    radial-gradient(circle at 16% 15%, rgba(255, 255, 255, 0.34), transparent 30%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 112px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", "Nunito", Arial, sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 800;
  text-shadow: 0 4px 0 rgba(37, 53, 138, 0.28);
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.2rem;
  font-weight: 800;
  text-shadow: 0 1px 6px rgba(23, 36, 107, 0.18);
}

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

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(244, 122, 32, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 14px 28px rgba(23, 36, 107, 0.12);
}

.trust-strip {
  position: relative;
  z-index: 5;
  width: min(1040px, calc(100% - 32px));
  margin: -46px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-item {
  min-height: 92px;
  padding: 18px 22px;
  border: 4px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

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

.trust-item span {
  font-size: 0.88rem;
  font-weight: 800;
}

.trust-item strong {
  font-size: 1.06rem;
  line-height: 1.1;
}

.trust-item.green {
  background: var(--green);
}

.trust-item.orange {
  background: var(--orange);
}

.trust-item.pink {
  background: var(--pink);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  margin-inline: auto;
}

h2 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 800;
}

.section-heading p:not(.eyebrow),
.benefits-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.intro-grid,
.programs-grid,
.benefits-grid,
.locations-grid {
  display: grid;
  gap: 18px;
}

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

.intro-grid article,
.program-card,
.benefits-grid article,
.location-card,
.contact-form,
.class-notes > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(20, 48, 82, 0.08);
}

.intro-grid article {
  padding: 26px;
}

.icon-bubble,
.program-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--blue);
  font-weight: 900;
}

.intro-grid h3,
.program-card h3,
.benefits-grid h3,
.location-card h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.45rem;
}

.intro-grid p,
.program-card p,
.benefits-grid p,
.location-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.programs-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at top left, rgba(248, 215, 43, 0.24), transparent 28%),
    linear-gradient(180deg, #e7f9ff 0%, #f7fcff 100%);
}

.programs-grid {
  grid-template-columns: repeat(4, 1fr);
}

.program-card {
  position: relative;
  padding: 28px 22px;
  overflow: hidden;
}

.program-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(32, 188, 239, 0.16);
}

.program-card.featured .program-count {
  background: var(--green);
  color: var(--white);
}

.program-card.recommended {
  border-color: rgba(244, 122, 32, 0.5);
}

.program-card.recommended .program-count {
  background: var(--orange);
  color: var(--white);
}

.program-card span {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--blue);
  font-weight: 900;
}

.class-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.class-notes > div {
  padding: 22px;
}

.class-notes strong {
  color: var(--blue);
  font-size: 1.05rem;
}

.class-notes p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.benefits-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 40px;
}

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

.benefits-grid article {
  padding: 24px;
  border-top: 8px solid var(--orange);
}

.benefits-grid article:nth-child(2) {
  border-top-color: var(--green);
}

.benefits-grid article:nth-child(3) {
  border-top-color: var(--pink);
}

.benefits-grid article:nth-child(4) {
  border-top-color: var(--yellow);
}

.locations-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: var(--blue);
  color: var(--white);
}

.locations-section h2,
.locations-section .section-heading p:not(.eyebrow) {
  color: var(--white);
}

.state-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.state-tab {
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
}

.state-tab.is-active {
  background: var(--orange);
  border-color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.locations-grid {
  grid-template-columns: repeat(5, 1fr);
}

.locations-grid.is-hidden {
  display: none;
}

.location-card {
  min-height: 185px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-card span {
  color: var(--sky);
  font-weight: 900;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.location-actions a {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-highlights {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-highlights span {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--blue);
  font-weight: 900;
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid rgba(37, 53, 138, 0.16);
  border-radius: 14px;
  background: #f8fdff;
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(32, 188, 239, 0.18);
}

.contact-form .btn {
  width: 100%;
  margin-top: 6px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 170px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(32, 188, 239, 0.95) 0%, rgba(32, 188, 239, 0.72) 56%, rgba(32, 188, 239, 0.18) 100%);
  }

  h1 {
    font-size: clamp(2.8rem, 11vw, 5rem);
  }

  .trust-strip,
  .intro-grid,
  .programs-grid,
  .class-notes,
  .benefits-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav-shell {
    height: 70px;
  }

  .brand img {
    width: 156px;
    max-height: 54px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: auto;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-content {
    padding: 72px 0 92px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-strip {
    margin-top: -28px;
  }

  .trust-item {
    border-radius: 22px;
  }

  .section {
    padding: 68px 0;
  }

  .programs-section,
  .locations-section {
    padding-block: 68px;
  }

  .state-tabs {
    flex-direction: column;
  }

  .locations-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .nav-shell,
  .hero-content,
  .section,
  .trust-strip,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .intro-grid article,
  .program-card,
  .benefits-grid article,
  .location-card,
  .contact-form {
    border-radius: 16px;
    padding: 20px;
  }
}
