:root {
  --legacy-black: #101214;
  --legacy-ink: #1a2026;
  --legacy-paper: #f7f6ef;
  --legacy-lime: #c9ef35;
  --legacy-green: #10a36d;
  --legacy-teal: #0d6f7a;
  --legacy-orange: #f36f35;
  --legacy-violet: #6946d2;
  --legacy-muted: #6d747c;
  --legacy-line: rgba(16, 18, 20, 0.12);
  --legacy-shadow: 0 28px 90px rgba(16, 18, 20, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--legacy-paper);
  color: var(--legacy-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.site-nav {
  background: rgba(247, 246, 239, 0.92);
  border-bottom: 1px solid rgba(16, 18, 20, 0.08);
  backdrop-filter: blur(18px);
}

.navbar-brand img {
  height: 58px;
  width: auto;
}

.nav-link {
  color: var(--legacy-ink);
  font-size: 0.92rem;
  font-weight: 900;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--legacy-teal);
}

.nav-link.active {
  color: var(--legacy-teal) !important;
}

.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  gap: 0.5rem;
  justify-content: center;
  min-height: 44px;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.icon-btn {
  aspect-ratio: 1;
  padding-left: 0;
  padding-right: 0;
  width: 44px;
}

.btn-brand {
  background: var(--legacy-orange);
  border-color: var(--legacy-orange);
  box-shadow: 0 16px 38px rgba(243, 111, 53, 0.26);
  color: white;
}

.btn-brand:hover,
.btn-brand:focus {
  background: #d95c29;
  border-color: #d95c29;
  color: white;
  transform: translateY(-1px);
}

.hero-section {
  background: var(--legacy-black);
  color: white;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  background: url("assets/legacyfitaurora.org/wp-content/uploads/2026/04/home-hero-image-legacy-fitness-aurora.jpg") center / cover;
  content: "";
  inset: 0;
  opacity: 0.68;
  position: absolute;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.94) 0%, rgba(16, 18, 20, 0.76) 46%, rgba(16, 18, 20, 0.28) 100%),
    radial-gradient(circle at 18% 26%, rgba(201, 239, 53, 0.24), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(105, 70, 210, 0.28), transparent 36%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-section .container-xl {
  z-index: 2;
}

.page-main {
  padding-top: 84px;
}

.page-hero {
  background: var(--legacy-black);
  color: white;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(3.5rem, 8vw, 6rem);
  position: relative;
}

.page-hero::before {
  background: url("assets/legacyfitaurora.org/wp-content/uploads/2026/04/home-hero-image-legacy-fitness-aurora.jpg") center / cover;
  content: "";
  inset: 0;
  opacity: 0.28;
  position: absolute;
}

.page-hero .container-xl {
  position: relative;
  z-index: 2;
}

.compact-hero h1,
.classes-hero h1 {
  font-size: clamp(4rem, 12vw, 9rem);
}

.classes-hero {
  background: linear-gradient(90deg, rgba(16, 18, 20, 0.96), rgba(13, 111, 122, 0.84)), var(--legacy-black);
}

.classes-hero::before {
  background-image: url("assets/legacyfitaurora.org/wp-content/uploads/2026/04/fitness.jpg");
  background-position: center;
  opacity: 0.18;
}

.hero-list {
  color: rgba(255, 255, 255, 0.84);
  display: grid;
  font-weight: 800;
  gap: 0.35rem;
  margin: 1.2rem 0;
}

.price-line {
  color: var(--legacy-lime);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.eyebrow {
  color: var(--legacy-teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.text-accent {
  color: var(--legacy-lime) !important;
}

h1,
.display-title {
  font-family: Anton, Impact, sans-serif;
  letter-spacing: 0;
  line-height: 0.93;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4rem, 10vw, 8.7rem);
  max-width: 940px;
}

.display-title {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 600;
  line-height: 1.65;
  max-width: 690px;
}

.hero-panel {
  background: rgba(247, 246, 239, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  box-shadow: var(--legacy-shadow);
  color: var(--legacy-ink);
  margin-left: auto;
  max-width: 440px;
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.panel-label {
  background: var(--legacy-lime);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.8rem;
  text-transform: uppercase;
}

.hero-panel h2,
.coach-card h2,
.visit-panel h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.quick-stack {
  display: grid;
  gap: 0.75rem;
}

.quick-stack div {
  align-items: center;
  background: white;
  border: 1px solid var(--legacy-line);
  border-radius: 10px;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto 1fr;
  padding: 0.95rem;
}

.quick-stack i,
.feature-tile i {
  align-items: center;
  background: var(--legacy-teal);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.proof-strip {
  margin-top: -2.4rem;
  position: relative;
  z-index: 4;
}

.proof-strip .container-xl {
  background: var(--legacy-lime);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(16, 18, 20, 0.18);
  overflow: hidden;
}

.proof-item {
  border-right: 1px solid rgba(16, 18, 20, 0.16);
  padding: 1.35rem 1rem;
}

.proof-item:last-child {
  border-right: 0;
}

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

.proof-item strong {
  font-weight: 900;
}

.proof-item span {
  color: rgba(16, 18, 20, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.section-pad {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.image-frame {
  border-radius: 12px;
  box-shadow: var(--legacy-shadow);
  overflow: hidden;
}

.image-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-tall {
  aspect-ratio: 0.92 / 1;
}

.section-text {
  color: var(--legacy-muted);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.7;
}

.feature-tile,
.menu-block,
.quote-card {
  background: white;
  border: 1px solid var(--legacy-line);
  border-radius: 12px;
  height: 100%;
  padding: 1.35rem;
}

.feature-tile h3,
.menu-block h3,
.class-grid h3,
.steps-list h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin: 1rem 0 0.45rem;
}

.feature-tile p,
.menu-block p,
.class-grid p,
.steps-list p,
.quote-card blockquote {
  color: var(--legacy-muted);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 0;
}

.journey-card {
  background: white;
  border: 1px solid var(--legacy-line);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(16, 18, 20, 0.08);
  color: var(--legacy-ink);
  display: block;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.journey-card:hover {
  color: var(--legacy-ink);
  transform: translateY(-2px);
}

.journey-card img {
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  width: 100%;
}

.journey-card div {
  padding: 1.35rem;
}

.journey-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
}

.journey-card p {
  color: var(--legacy-muted);
  font-weight: 700;
}

.journey-card span {
  color: var(--legacy-teal);
  font-weight: 900;
}

.section-dark {
  background: var(--legacy-black);
  color: white;
}

.text-soft {
  color: rgba(255, 255, 255, 0.76) !important;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.price-row span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--legacy-lime);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0.65rem 0.9rem;
}

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

.class-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
}

.class-grid img {
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
  width: 100%;
}

.class-grid h3,
.class-grid p {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.class-grid h3 {
  color: white;
}

.class-grid p {
  color: rgba(255, 255, 255, 0.74);
  padding-bottom: 1.1rem;
}

.coach-card {
  background: linear-gradient(135deg, rgba(201, 239, 53, 0.92), rgba(16, 163, 109, 0.88)), var(--legacy-lime);
  border-radius: 12px;
  box-shadow: var(--legacy-shadow);
  padding: clamp(1.6rem, 4vw, 3rem);
}

.coach-card p:last-child {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 0;
}

.steps-list {
  display: grid;
  gap: 1rem;
}

.steps-list > div {
  align-items: start;
  background: white;
  border: 1px solid var(--legacy-line);
  border-radius: 12px;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  padding: 1.2rem;
}

.steps-list span {
  align-items: center;
  background: var(--legacy-violet);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.menu-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 246, 239, 1)), var(--legacy-paper);
}

.menu-page-section {
  background: #f7f8fb;
}

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

.menu-card-grid .menu-block {
  box-shadow: 0 16px 44px rgba(16, 18, 20, 0.06);
}

.menu-card-grid .menu-block h2 {
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.menu-card-grid .menu-block ul {
  color: var(--legacy-muted);
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0;
  padding-left: 1.15rem;
}

.menu-card-grid .menu-block li + li {
  margin-top: 0.25rem;
}

.menu-block h3 {
  margin-top: 0;
}

.menu-block:nth-child(odd) {
  border-top: 6px solid var(--legacy-green);
}

.menu-block:nth-child(even) {
  border-top: 6px solid var(--legacy-orange);
}

.review-section {
  background: white;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.quote-card {
  background: var(--legacy-paper);
  margin: 0;
}

.quote-card blockquote {
  color: var(--legacy-ink);
  font-size: 1.02rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.quote-card figcaption {
  color: var(--legacy-teal);
  font-size: 0.9rem;
  font-weight: 900;
}

.details-table-wrap {
  background: white;
  border: 1px solid var(--legacy-line);
  border-radius: 12px;
  box-shadow: 0 20px 64px rgba(16, 18, 20, 0.08);
  overflow: hidden;
}

.details-table-wrap h2 {
  background: #175a80;
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
  padding: 1.2rem;
  text-align: center;
  text-transform: uppercase;
}

.class-table {
  margin: 0;
}

.class-table th {
  color: #164f75;
  font-weight: 900;
  min-width: 220px;
  padding: 1.15rem;
}

.class-table td {
  color: #354a60;
  font-weight: 600;
  line-height: 1.6;
  padding: 1.15rem;
}

.class-table tr:nth-child(even) th,
.class-table tr:nth-child(even) td {
  background: #a2dbe5;
}

.class-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.class-notes span {
  background: white;
  border: 1px solid var(--legacy-line);
  border-radius: 999px;
  color: #164f75;
  font-weight: 900;
  padding: 0.65rem 0.9rem;
}

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

.schedule-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 1.25rem;
}

.schedule-grid h3 {
  color: var(--legacy-lime);
  font-weight: 900;
}

.schedule-grid p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.video-wrap {
  aspect-ratio: 16 / 9;
  background: var(--legacy-black);
  border-radius: 12px;
  box-shadow: var(--legacy-shadow);
  overflow: hidden;
}

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

.content-panel,
.dark-card {
  border-radius: 12px;
  height: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.content-panel {
  background: white;
  border: 1px solid var(--legacy-line);
}

.content-panel h2,
.dark-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900;
}

.content-panel p {
  color: var(--legacy-muted);
  font-weight: 600;
  line-height: 1.7;
}

.accent-panel {
  background: var(--legacy-lime);
}

.accent-panel p {
  color: rgba(16, 18, 20, 0.78);
}

.dark-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.dark-card p,
.dark-card li {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.65;
}

.visit-section {
  background: linear-gradient(90deg, rgba(16, 18, 20, 0.94), rgba(16, 18, 20, 0.72)), url("assets/legacyfitaurora.org/wp-content/uploads/2026/04/home-hero-image-legacy-fitness-aurora.jpg") center / cover;
  color: white;
}

.visit-panel,
.hours-panel {
  background: rgba(16, 18, 20, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  height: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  backdrop-filter: blur(14px);
}

.visit-panel p {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.social-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.social-row a {
  align-items: center;
  background: var(--legacy-lime);
  border-radius: 999px;
  color: var(--legacy-black);
  display: inline-flex;
  font-size: 1.2rem;
  height: 44px;
  justify-content: center;
  text-decoration: none;
  width: 44px;
}

.hours-panel h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.hours-list {
  display: grid;
}

.hours-list div {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.hours-list span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.hours-list strong {
  text-align: right;
}

.footer {
  background: var(--legacy-black);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 1.5rem 0;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .nav-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-panel {
    margin: 0 0 4rem;
    max-width: none;
  }

  .proof-strip {
    margin-top: 0;
  }

  .proof-strip .container-xl {
    border-radius: 0;
  }

  .proof-item {
    border-bottom: 1px solid rgba(16, 18, 20, 0.16);
    border-right: 0;
  }

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

  .menu-card-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 46px;
  }

  h1 {
    font-size: clamp(3.3rem, 19vw, 5.4rem);
  }

  .display-title {
    font-size: clamp(2.5rem, 15vw, 4.1rem);
  }

  .btn-lg {
    width: 100%;
  }

  .hours-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .hours-list strong {
    text-align: left;
  }
}
