@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #dc1d24;
  --primary-dark: #b0151a;
  --maroon: #800000;
  --dark: #1d1e21;
  --dark-deep: #0c0c0e;
  --text: #676767;
  --light: #f5f5f5;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.top-bar {
  background: linear-gradient(90deg, var(--maroon), #5c0000);
  color: #fff;
  font-size: 0.85rem;
}

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

.top-contact,
.top-social {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.top-contact a {
  color: #fff;
}

.top-social a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px 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;
}

.brand img {
  width: 200px;
  height: auto;
}

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

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

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.cart-btn {
  position: relative;
  background: var(--light);
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}

.cart-icon::before {
  content: "🛒";
  font-size: 1rem;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  display: none;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.55), rgba(29, 30, 33, 0.82));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 4rem 1rem;
}

.hero-kicker {
  display: inline-block;
  background: var(--primary);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

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

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

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

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

.feature-strip {
  background: var(--white);
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-strip .grid-4 {
  gap: 1rem;
}

.feature-item {
  text-align: center;
  padding: 1rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 700;
}

.stats-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.stat strong {
  display: block;
  font-size: 1.75rem;
  color: var(--primary);
}

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

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

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

.offer-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.offer-banner img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.offer-banner h2,
.offer-banner p {
  color: #fff;
}

.offer-banner .inner {
  padding: 2.5rem;
}

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

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

.testimonial-block {
  background: linear-gradient(135deg, #eef2f7, #f8f9fb);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}

.testimonial-block img.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary);
}

.stars {
  color: #f5b301;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.price-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  background: #fff;
  height: 100%;
}

.price-card.featured {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

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

.price-card ul {
  text-align: left;
  margin: 1.25rem 0 1.5rem;
}

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

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

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

.blog-card .meta {
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.page-hero {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(180deg, var(--dark), var(--dark-deep));
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
}

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

.breadcrumb a {
  color: #fff;
}

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

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--maroon);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

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

.faq-item.open .faq-q span.icon {
  transform: rotate(45deg);
}

.form-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

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

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

input,
textarea,
select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--dark);
  background: #fff;
}

input.invalid,
textarea.invalid,
select.invalid {
  border-color: var(--primary);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
  cursor: pointer;
  line-height: 1.5;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check span {
  flex: 1;
}

.form-error {
  color: var(--primary);
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}

.form-success {
  background: #e8f7ee;
  color: #1b6b3a;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-weight: 500;
}

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

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

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

.shop-grid .product-card img {
  height: 240px;
  object-fit: cover;
}

.product-price {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.site-footer {
  background: var(--light);
  padding-top: 4rem;
}

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

.footer-col h4 {
  margin-bottom: 1rem;
}

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

.footer-col a:hover {
  color: var(--primary);
}

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

.footer-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-share a {
  color: var(--primary);
  font-weight: 600;
}

.footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-newsletter input {
  flex: 1 1 160px;
}

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid #ddd;
  padding: 1.25rem 0;
  font-size: 0.9rem;
}

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

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-legal a {
  color: var(--primary);
  font-weight: 600;
}

.cart-panel {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  display: none;
  justify-content: flex-end;
}

.cart-panel.open {
  display: flex;
}

.cart-panel-inner {
  width: min(420px, 100%);
  background: #fff;
  height: 100%;
  overflow: auto;
  padding: 1.25rem;
}

.cart-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-close {
  border: 0;
  background: none;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

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

.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-line-actions {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.cart-line-actions button {
  border: 1px solid #ddd;
  background: #fff;
  width: 28px;
  height: 28px;
  cursor: pointer;
  border-radius: 4px;
}

.link-danger {
  border: 0;
  background: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.85rem;
}

.checkout-success {
  background: #e8f7ee;
  color: #1b6b3a;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.program-block {
  scroll-margin-top: 100px;
}

@media (max-width: 992px) {
  .grid-4,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .offer-banner {
    grid-template-columns: 1fr;
  }
}

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

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-row {
    grid-template-columns: 1fr;
  }

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