:root {
  --navy: #1a2b3c;
  --navy-deep: #12223d;
  --coral: #f17a5e;
  --coral-dark: #e0654a;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #5a6b7d;
  --shadow: 0 8px 30px rgba(26, 43, 60, 0.08);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--white);
}

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

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-deep);
  line-height: 1.25;
  margin-top: 0;
}

/* Top bar */
.top-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 0.45rem 0;
}

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

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  color: var(--white);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.75rem;
}

.social-links a:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}

/* Header */
.header-main {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-link img {
  height: 44px;
  width: auto;
}

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

.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-align: center;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

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

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

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white) !important;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy) !important;
}

.btn-dark {
  background: var(--navy-deep);
  color: var(--white) !important;
}

.btn-dark:hover {
  background: #0d1628;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 34, 61, 0.82) 0%, rgba(18, 34, 61, 0.35) 55%, rgba(18, 34, 61, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 620px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  opacity: 0.95;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 100%;
  pointer-events: none;
}

.hero-arrows button {
  pointer-events: all;
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.25rem;
}

.hero-arrows .prev { left: 1rem; }
.hero-arrows .next { right: 1rem; }

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2 {
  color: var(--white);
}

.section-light {
  background: var(--light-bg);
}

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

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

.section-title p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.intro-split p {
  color: rgba(255, 255, 255, 0.88);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
}

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

.service-card .card-body {
  padding: 1.25rem 1rem 1.5rem;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.read-more {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* Trainer feature */
.trainer-images {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.trainer-images img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  margin-left: -20px;
}

.trainer-images img:first-child {
  margin-left: 0;
}

/* Feature split */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.feature-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.feature-panel {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item i {
  color: var(--coral);
  font-size: 1.5rem;
  margin-top: 0.15rem;
}

.feature-item h4 {
  color: var(--white);
  margin: 0 0 0.25rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
}

.feature-item p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.88;
}

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

.icon-box i {
  font-size: 2.5rem;
  color: var(--coral);
  margin-bottom: 1rem;
}

.icon-box h4 {
  margin-bottom: 0.5rem;
}

.navy-strip {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

/* Testimonials */
.testimonial-section {
  background: var(--coral);
  color: var(--white);
  padding: 4rem 0;
}

.testimonial-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.testimonial-quote {
  font-size: 3rem;
  opacity: 0.5;
  line-height: 1;
}

.testimonial-section h2,
.testimonial-section p {
  color: var(--white);
}

.testimonial-slider blockquote {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
}

.before-after {
  display: flex;
  gap: 0.75rem;
}

.before-after img {
  flex: 1;
  height: 220px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.5);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

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

.team-card h4 {
  margin: 1rem 0 0.25rem;
}

.team-card span {
  display: block;
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 600;
  padding-bottom: 1.25rem;
}

/* Gallery strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.gallery-strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Pre-footer */
.pre-footer-cta {
  background: var(--coral);
  padding: 2.5rem 0;
  text-align: center;
}

.pre-footer-inner h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.5rem;
}

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

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

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

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

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

.footer-links a:hover,
.footer-col a:hover {
  color: var(--coral);
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-social {
  margin-top: 1rem;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0.35rem;
}

/* Page hero */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
  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);
}

/* Forms */
.form-section {
  max-width: 720px;
  margin: 0 auto;
}

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

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

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d0d7de;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 2px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--coral);
  border-color: var(--coral);
}

input.invalid,
textarea.invalid,
select.invalid {
  border-color: #c0392b;
}

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

.field-error.visible {
  display: block;
}

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

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

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

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #81c784;
  color: #2e7d32;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}

.form-success.visible {
  display: block;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e8ecef;
  margin-bottom: 0.75rem;
  background: var(--white);
}

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

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 1rem 1.25rem 1.25rem;
}

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

.blog-card {
  background: var(--white);
  box-shadow: var(--shadow);
}

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

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

.blog-meta {
  font-size: 0.8rem;
  color: var(--coral);
  font-weight: 600;
  text-transform: uppercase;
}

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

.product-card {
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

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

.product-card .card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: min(380px, 100%);
  height: 100%;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  padding: 1rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.cart-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #eee;
}

.cart-toggle-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  background: var(--coral);
  color: var(--white);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

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

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

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

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

.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block p {
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .card-grid,
  .team-grid,
  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-split,
  .two-col,
  .testimonial-inner {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }

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

  .main-nav ul {
    flex-direction: column;
    padding: 0.5rem 0 1rem;
  }

  .header-cta {
    margin-left: auto;
  }

  .card-grid,
  .team-grid,
  .icon-grid,
  .blog-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero {
    min-height: 65vh;
  }
}
