:root {
  --coral: #ff6b6b;
  --coral-dark: #ee5a52;
  --charcoal: #2d3436;
  --charcoal-light: #636e72;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --lavender-bg: #f0eef5;
  --border: #dfe6e9;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1170px;
  --shadow: 0 8px 30px rgba(45, 52, 54, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal-light);
  line-height: 1.7;
  background: var(--white);
}

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

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--coral-dark);
}

h1, h2, h3, h4, h5 {
  color: var(--charcoal);
  line-height: 1.25;
  margin-top: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.section-title .subtitle {
  color: var(--coral);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.section-title p {
  max-width: 640px;
  margin: 0.75rem auto 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn-coral:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.top-bar {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
  color: var(--coral);
}

.social-top a {
  margin-right: 0.75rem;
}

.site-header {
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  z-index: 100;
}

.site-header.inner-header {
  position: relative;
  top: 0;
  background: var(--charcoal);
}

.site-header.inner-header .header-inner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: 46px;
  width: auto;
  min-width: 140px;
}

.logo-footer img {
  height: 44px;
  width: auto;
  min-width: 140px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.main-nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--coral);
}

.site-header.inner-header .main-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-link {
  position: relative;
  color: var(--white);
  font-weight: 600;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 52, 54, 0.62);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 800px;
  margin: 0 auto 1.25rem;
}

.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 5rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.85;
}

.breadcrumb a {
  color: var(--coral);
}

.wave-divider {
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath fill='%23f8f9fa' d='M0,30 Q300,60 600,30 T1200,30 L1200,60 L0,60 Z'/%3E%3C/svg%3E") center/cover no-repeat;
}

.wave-divider.white-to-grey {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath fill='%232d3436' d='M0,30 Q300,0 600,30 T1200,30 L1200,0 L0,0 Z'/%3E%3C/svg%3E") center/cover no-repeat;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-collage img:first-child {
  grid-column: span 2;
}

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

.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 4px;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--coral);
}

.cta-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 52, 54, 0.55);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-list .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  font-weight: 700;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.icon-grid span {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--charcoal);
}

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

.trainer-card {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-radius: 4px;
  text-align: center;
}

.trainer-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.trainer-card .info {
  padding: 1.25rem;
}

.trainer-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.trainer-card .role {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.9rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.schedule-card {
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-radius: 4px;
}

.schedule-card h3 {
  border-bottom: 2px solid var(--coral);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.stats-bar {
  background: var(--coral);
  color: var(--white);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-grid h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.appointment-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.appointment-split .image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appointment-form-wrap {
  background: var(--lavender-bg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-radius: 4px;
  position: relative;
}

.testimonial-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--coral);
  transform: scale(1.03);
}

.price-card .amount {
  font-size: 2.5rem;
  color: var(--charcoal);
  font-weight: 700;
}

.price-card .amount small {
  font-size: 1rem;
  font-weight: 400;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.price-card li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

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

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

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

.blog-card {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-radius: 4px;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .body {
  padding: 1.5rem;
}

.date-badge {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-item {
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--off-white);
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question {
  color: var(--coral);
}

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

.product-card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 4px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card .body {
  padding: 1.25rem;
}

.product-card .price {
  color: var(--coral);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.5rem 0 1rem;
}

.cart-panel {
  background: var(--off-white);
  padding: 2rem;
  border-radius: 4px;
  margin-top: 2rem;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-row-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-message,
.form-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1.25rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(255, 107, 107, 0.35);
  border-color: var(--coral);
}

.checkbox-group input.is-invalid {
  outline: 2px solid #c0392b;
  outline-offset: 2px;
}

.field-error {
  display: block;
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--coral);
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.program-list {
  display: grid;
  gap: 2rem;
}

.program-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--off-white);
  padding: 1.5rem;
  border-radius: 4px;
}

.program-item img {
  border-radius: 4px;
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: var(--coral);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin-right: 0.5rem;
  font-size: 0.85rem;
}

.footer-newsletter input {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 0.5rem;
  border: none;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-legal {
  margin-top: 0.5rem;
}

.footer-legal a {
  margin: 0 0.75rem;
}

.bg-off-white {
  background: var(--off-white);
}

.bg-white {
  background: var(--white);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

#cart-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  z-index: 200;
  box-shadow: var(--shadow);
}

@media (max-width: 992px) {
  .about-grid,
  .why-grid,
  .appointment-split,
  .contact-grid,
  .faq-layout,
  .program-item {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .trainer-grid,
  .testimonial-grid,
  .pricing-grid,
  .blog-grid,
  .shop-grid,
  .schedule-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    padding: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .trainer-grid,
  .testimonial-grid,
  .pricing-grid,
  .blog-grid,
  .shop-grid,
  .schedule-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .appointment-form-wrap {
    padding: 2rem 1.25rem;
  }

  .cta-banner {
    background-attachment: scroll;
  }
}
