@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;1,800;1,900&display=swap");

:root {
  --primary-color: #b3262d;
  --primary-color-dark: #851b22;

  --secondary-color: #8c8f93;

  --text-dark: #252628;
  --text-light: #777b80;

  --white: #ffffff;

  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1rem;
}

.section__header {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.section__header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.section__description {
  max-width: 900px;
  color: var(--text-light);
}

.btn {
  padding: 0.75rem 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

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

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  white-space: nowrap;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.header {
  background-color: white;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
}

.nav__logo a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--text-dark);
  text-decoration: none;
}

.nav__logo img {
  width: 48px;
  height: 48px;
  max-width: none;
  object-fit: contain;
}

.nav__brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav__brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  color: #252628;
  white-space: nowrap;
}

.nav__brand-title span {
  color: #d91e1e;
}

.nav__brand-location {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #777b80;
  text-transform: uppercase;
}

.nav__links {
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  padding: 2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: whitesmoke;
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links.open {
  transform: translateY(0);
}

.link a {
  color: var(--text-dark);
  transition: 0.3s;
}

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

/* Keep header button text white */
.nav__links .link a.btn,
.nav__links .link a.btn:hover {
  color: var(--white);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.header__container {
  display: grid;
  gap: 2rem;
}

.header__image img {
  max-width: 500px;
  margin: auto;
}

.header__content h4 {
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text-dark);
}

.header__content .section__header {
  font-size: 3.5rem;
  font-weight: 700;
}

.header__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.about__container {
  display: grid;
  gap: 2rem;
}

.about__image {
  position: relative;
  isolation: isolate;
}

.about__image img {
  max-width: 350px;
  margin: auto;
}

.about__image .about__bg {
  position: absolute;
  right: 2rem;
  top: 3rem;
  max-width: 250px;
  z-index: -1;
  opacity: 0.5;
}

.about__grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  height: 100%;
  padding: 1.25rem;
  background-color: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.about__card span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
}

.about__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.about__card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
}

.class__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.class__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: 0.3s;

  background-color: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}

.class__card:hover {
  transform: translateY(-10px);
}

.class__video {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  object-position: center;
  background-color: #f8f8f8;
}

.class__content {
  flex: 1;
  padding: 1.25rem;
  background-color: #f8f8f8;
  color: var(--text-dark);
}

.class__content h4 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.class__content h4::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 8px;
  background-color: #b3262d;
  border-radius: 2px;
}

.class__content p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
}

.trainer__container :is(.section__header, .section__description) {
  width: fit-content;
  margin-inline: auto;
  text-align: center;
}

.trainer__container .section__header::after {
  left: 50%;
  transform: translateX(-50%);
}

.trainer__grid {
  margin-top: 4rem;
  display: grid;
  align-items: center;
}

.trainer__card {
  height: 100%;
  display: grid;
  align-items: center;
}
.trainer__card img {
  width: 170px;
  height: 170px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 4px solid #ffffff;
  outline: 3px solid #b3262d;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  margin: auto;
  transition: 0.3s ease;
}

.trainer__card img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(179, 38, 45, 0.2);
}

.trainer__content {
  padding: 2rem 1rem;
}

.trainer__content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trainer__content h5 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.trainer__content p {
  margin-block: 1rem;
  color: var(--text-light);
}

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

.trainer__socials a {
  font-size: 1.2rem;
  color: var(--text-light);
  transition: 0.3s;
}

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

.subscription__container :is(.section__header, .section__description) {
  width: fit-content;
  margin-inline: auto;
  text-align: center;
}

.subscription__container .section__header::after {
  left: 50%;
  transform: translateX(-50%);
}

.subscription__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.subscription__card {
  width: 100%;
  max-width: 460px;
  justify-self: center;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.subscription__content {
  flex: 1;
  margin-bottom: 1rem;
}

.subscription__content img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.subscription__content h4 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.subscription__content p {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
}

.subscription__content hr {
  margin-bottom: 0.75rem;
}

.swiper {
  margin-top: 2rem;
  padding-bottom: 2rem;
  width: 100%;
}

.swiper-slide {
  width: 100%;
  max-width: 420px;
  padding-inline: 0.75rem;
  padding-top: 3.5rem;
}

.client__card {
  position: relative;
  padding: 3.5rem 1.5rem 1.5rem;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.client__card img {
  position: absolute;
  top: 0;
  left: 1.5rem;
  transform: translateY(-40px);
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.client__ratings {
  margin-bottom: 1rem;
  color: goldenrod;
}

.client__card p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light);
}

.client__card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.client__card h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.faq__container :is(.section__header, .section__description) {
  width: fit-content;
  margin-inline: auto;
  text-align: center;
}

.faq__container .section__header::after {
  left: 50%;
  transform: translateX(-50%);
}

.faq__list {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq__item {
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background-color: #fbe3e5;
  border: 1px solid transparent;
  border-radius: 30px;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.faq__item:not([open]):hover {
  background-color: #f8d3d6;
}

.faq__item[open] {
  background-color: var(--white);
  border-color: #f3d3d6;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.faq__container {
  padding-block: 3rem;
}

.faq__container .section__header {
  font-size: 1.9rem;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  color: var(--text-dark);
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s;
}

.faq__icon i {
  transition: transform 0.3s;
}

.faq__item[open] .faq__icon {
  background-color: #fbe3e5;
  box-shadow: none;
}

.faq__item[open] .faq__icon i {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0.75rem 3.5rem 1rem 0;
}

.faq__answer p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-light);
}

@media (max-width: 480px) {
  .faq__answer {
    padding-right: 0.5rem;
  }
}

.faq__eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.footer {
  background-color: whitesmoke;
}

.footer__container {
  display: grid;
  gap: 2rem;
}

.footer__logo a {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__logo img {
  max-width: 40px;
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--text-dark);
}

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

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.2rem;
  color: var(--text-dark);
  border-radius: 100px;
  border: 1px solid var(--text-dark);
}

.footer__socials a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.footer__col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.footer__links a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.footer__links a:hover {
  color: var(--primary-color-dark);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text-dark);
  text-align: center;
}

/* =================================
   DOUBLE R GYM - BMI CALCULATOR
================================= */

.bmi-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.bmi-modal.is-open {
  display: flex;
}

.bmi-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 38, 40, 0.78);
  backdrop-filter: blur(5px);
}

/* MAIN POPUP */

.bmi-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 950px;
  min-height: 530px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: bmiOpen 0.3s ease;
}

@keyframes bmiOpen {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CLOSE BUTTON */

.bmi-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background: #b3262d;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

.bmi-close:hover {
  background: #851b22;
}

/* LEFT RESULT PANEL */

.bmi-result-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid #e5e5e5;
}

.bmi-scale-icon {
  font-size: 4rem;
  color: #252628;
  margin-bottom: 1rem;
}

.bmi-result-panel h2 {
  margin-bottom: 1.5rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: #252628;
}

.bmi-gauge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  height: 195px;
  border: 5px solid #e8a6aa;
  border-radius: 50%;
  background: #ffffff;
  transition: 0.3s;
}

.bmi-gauge span {
  font-size: 3.5rem;
  font-weight: 500;
  color: #252628;
  font-variant-numeric: tabular-nums;
}

.bmi-category {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #b3262d;
  text-align: center;
}

.bmi-result-message {
  max-width: 290px;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #777b80;
}

.bmi-reset-btn {
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #b3262d;
  border-radius: 20px;
  background: #ffffff;
  color: #b3262d;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

/* RIGHT INPUT PANEL */

.bmi-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
}

.bmi-gender-switch {
  display: flex;
  width: 100%;
  max-width: 270px;
  margin: 0 auto 1.8rem;
  padding: 3px;
  background: #fbe3e5;
  border-radius: 50px;
}

.bmi-gender-switch button {
  flex: 1;
  padding: 0.55rem;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: #252628;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.3s;
}

.bmi-gender-switch button.is-active {
  background: #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

/* INPUT FIELDS */

.bmi-field {
  display: block;
  margin-bottom: 1.4rem;
}

.bmi-field > label,
.bmi-field__heading > label {
  color: #851b22;
  font-size: 1.15rem;
  font-weight: 500;
}

.bmi-field__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.bmi-field > label {
  display: block;
  margin-bottom: 0.55rem;
}

.bmi-unit-switch {
  display: flex;
  flex-shrink: 0;
  padding: 2px;
  background: #fbe3e5;
  border-radius: 50px;
}

.bmi-unit-switch button {
  padding: 0.2rem 0.55rem;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: #252628;
  font-family: inherit;
  font-size: 0.65rem;
  cursor: pointer;
}

.bmi-unit-switch button.is-active {
  background: #ffffff;
}

/* INPUT BOX */

.bmi-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  height: 46px;
  padding-inline: 0.8rem;
  border: 1px solid #e8dcdd;
  border-radius: 50px;
  background: #ffffff;
  transition: 0.3s;
}

.bmi-input-wrap:focus-within {
  border-color: #b3262d;
  box-shadow: 0 0 0 3px rgba(179, 38, 45, 0.08);
}

.bmi-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #252628;
  font-family: inherit;
  font-size: 0.95rem;
}

.bmi-input-wrap input::placeholder {
  color: #a0a0a0;
}

.bmi-input-wrap > span {
  color: #b3262d;
  font-size: 0.7rem;
  font-weight: 600;
}

/* CALCULATE BUTTON */

.bmi-calculate-btn {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.8rem;
  border-radius: 50px;
  background: #b3262d;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.bmi-calculate-btn:hover {
  background: #851b22;
}

/* ERROR AND DISCLAIMER */

.bmi-error {
  margin-bottom: 0.5rem;
  color: #b3262d;
  font-size: 0.78rem;
  line-height: 1.5;
}

.bmi-disclaimer {
  margin-top: 1rem;
  color: #777b80;
  font-size: 0.68rem;
  line-height: 1.6;
  text-align: center;
}

.bmi-modal [hidden] {
  display: none !important;
}

body.bmi-modal-open {
  overflow: hidden;
}

/* =========================================
   SHOP COMING SOON POSTER MODAL
========================================= */

.shop-modal__poster-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;

  width: min(92vw, 440px);
  max-width: 440px;

  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  overflow: visible;
}

.shop-modal__poster {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  object-position: center;

  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.shop-modal__poster-dialog .shop-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
}

.shop-modal__poster-dialog .shop-modal__button {
  position: relative;
  z-index: 5;
  margin: 0;
  min-width: 140px;
}

@media (max-width: 480px) {
  .shop-modal__poster-dialog {
    width: min(90vw, 390px);
    gap: 12px;
  }

  .shop-modal__poster {
    max-height: 78vh;
  }
}

/* =========================================
   SHOP POSTER MODAL
========================================= */

.shop-modal__dialog.shop-modal__poster-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;

  width: min(92vw, 440px);
  max-width: 440px;

  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  overflow: visible;
}

/* Poster dimensions */
.shop-modal__poster {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;

  object-fit: contain;
  object-position: center;

  border-radius: 8px;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* Floating X button */
.shop-modal__poster-dialog .shop-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
}

/* Got It button */
.shop-modal__poster-dialog .shop-modal__button {
  position: relative;
  z-index: 5;
  margin: 0;
  min-width: 140px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .shop-modal__dialog.shop-modal__poster-dialog {
    width: min(90vw, 390px);
    gap: 12px;
  }

  .shop-modal__poster {
    max-height: 78vh;
  }
}

/* =================================
   PRIVACY POLICY & TERMS PAGES
================================= */

.legal-page {
  background: #ffffff;
  font-family: "Poppins", sans-serif;
}

.legal-header {
  max-width: 1200px;
  margin: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #eeeeee;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #252628;
  font-size: 1.2rem;
  font-weight: 600;
}

.legal-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.legal-home {
  color: #b3262d;
  font-size: 0.85rem;
  font-weight: 500;
}

.legal-home:hover {
  color: #851b22;
}

.legal-container {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-hero {
  padding: 2.5rem;
  background: #252628;
  border-left: 5px solid #b3262d;
  border-radius: 10px;
}

.legal-hero > span {
  color: #b3262d;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.legal-hero h1 {
  margin-block: 0.75rem;
  color: #ffffff;
  font-size: 2.3rem;
  font-weight: 700;
}

.legal-hero p {
  max-width: 650px;
  color: #d0d0d0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.legal-content {
  padding: 2.5rem 0;
}

.legal-updated {
  margin-bottom: 2rem;
  color: #8c8f93;
  font-size: 0.8rem;
}

.legal-content section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eeeeee;
}

.legal-content h2 {
  position: relative;
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  color: #252628;
  font-size: 1.2rem;
  font-weight: 600;
}

.legal-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 3px;
  background: #b3262d;
  border-radius: 2px;
}

.legal-content p,
.legal-content li {
  margin-bottom: 0.75rem;
  color: #777b80;
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-block: 1rem;
}

.legal-content a {
  color: #b3262d;
  white-space: normal;
  overflow-wrap: anywhere;
}

.legal-content a:hover {
  color: #851b22;
}

.legal-content strong {
  color: #252628;
}

.legal-footer {
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: #252628;
}

.legal-footer p {
  color: #d0d0d0;
  font-size: 0.8rem;
}

.legal-footer a {
  color: #ffffff;
  font-size: 0.85rem;
}

.legal-footer a:hover {
  color: #b3262d;
}

@media (max-width: 600px) {
  .legal-header {
    padding: 1rem;
  }

  .legal-brand {
    font-size: 1rem;
  }

  .legal-brand img {
    width: 35px;
    height: 35px;
  }

  .legal-home {
    font-size: 0.75rem;
  }

  .legal-container {
    padding: 2rem 1rem 3rem;
  }

  .legal-hero {
    padding: 1.5rem;
  }

  .legal-hero h1 {
    font-size: 1.7rem;
  }

  .legal-content {
    padding-top: 1.75rem;
  }

  .legal-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* =================================
   SHOP - COMING SOON MODAL
================================= */

.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.shop-modal.is-open {
  display: flex;
}

.shop-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 38, 40, 0.82);
  backdrop-filter: blur(5px);
}

.shop-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  background: #ffffff;
  border-top: 4px solid #b3262d;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  animation: shopModalIn 0.3s ease;
}

@keyframes shopModalIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CLOSE BUTTON */

.shop-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background: #b3262d;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

.shop-modal__close:hover {
  background: #851b22;
}

/* SHOP ICON */

.shop-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #fbe3e5;
  color: #b3262d;
  font-size: 2.7rem;
}

/* HEADING */

.shop-modal__eyebrow {
  display: block;
  margin-bottom: 0.8rem;
  color: #b3262d;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.shop-modal__dialog h2 {
  margin-bottom: 0.8rem;
  color: #252628;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
}

.shop-modal__dialog h2 span {
  color: #b3262d;
}

.shop-modal__underline {
  width: 45px;
  height: 3px;
  margin: 0 auto 1.2rem;
  background: #b3262d;
  border-radius: 2px;
}

/* DESCRIPTION */

.shop-modal__dialog > p:not(.shop-modal__footer) {
  color: #777b80;
  font-size: 0.82rem;
  line-height: 1.7;
}

/* COMING SOON BADGE */

.shop-modal__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 1.2rem auto;
  padding: 0.55rem 1rem;
  background: #fbe3e5;
  border-radius: 50px;
  color: #b3262d;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ACTION BUTTON */

.shop-modal__button {
  width: 100%;
  padding: 0.9rem;
  background: #b3262d;
  color: #ffffff;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 5px;
}

.shop-modal__button:hover {
  background: #851b22;
}

/* FOOTER TEXT */

.shop-modal__footer {
  margin-top: 1.5rem;
  color: #8c8f93;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
}

/* BODY SCROLL LOCK */

body.shop-modal-open {
  overflow: hidden;
}

/* =================================
   LEGAL PAGE HEADER COMPATIBILITY
================================= */

body.legal-page header[data-purpose="global-navigation"] {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  isolation: auto;
}

body.legal-page header[data-purpose="global-navigation"] nav {
  position: static;
  isolation: auto;
  width: auto;
  z-index: auto;
  padding: 0;
  margin: 0;
}

/* MOBILE */

@media (max-width: 480px) {
  .shop-modal__dialog {
    max-width: 340px;
    padding: 2rem 1.25rem 1.25rem;
  }

  .shop-modal__dialog h2 {
    font-size: 1.3rem;
  }

  .shop-modal__icon {
    width: 58px;
    height: 58px;
    font-size: 1.9rem;
  }
}

/* TABLET AND MOBILE */

@media (max-width: 760px) {
  .bmi-dialog {
    grid-template-columns: 1fr;
    max-width: 520px;
    min-height: auto;
    border-radius: 18px;
  }

  .bmi-result-panel {
    padding: 2rem 1.25rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }

  .bmi-scale-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .bmi-result-panel h2 {
    margin-bottom: 1rem;
  }

  .bmi-gauge {
    width: 130px;
    height: 130px;
  }

  .bmi-gauge span {
    font-size: 2.5rem;
  }

  .bmi-category {
    margin-top: 0.8rem;
  }

  .bmi-result-message {
    margin-top: 0.5rem;
  }

  .bmi-form-panel {
    padding: 1.5rem 1.25rem 2rem;
  }

  .bmi-field {
    margin-bottom: 1rem;
  }
}

@media (max-width: 380px) {
  .bmi-modal {
    padding: 0.5rem;
  }

  .bmi-form-panel {
    padding-inline: 1rem;
  }

  .bmi-field > label,
  .bmi-field__heading > label {
    font-size: 1rem;
  }
}

@media (width > 480px) {
  .about__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .trainer__grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .trainer__card:nth-child(3) {
    grid-area: 2/2/3/3;
  }

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

  .footer__container {
    grid-template-columns: 2fr 1fr;
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none;
  }

  .header__container {
    padding-block: 0;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .header__content {
    padding-block: 5rem;
    grid-area: 1/1/2/2;
  }

  .about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2rem;
  }

  .about__grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }

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

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

  .trainer__card:nth-child(3) {
    grid-area: unset;
  }

  .trainer__content {
    padding: 2rem;
  }

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

@media (width > 1024px) {
  .class__grid {
    gap: 2rem;
  }

  .subscription__grid {
    gap: 2rem;
  }

  .subscription__card {
    padding: 1.5rem;
  }
}

/* =========================================
   FLOATING WHATSAPP CONTACT BUTTON
========================================= */

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 80;

  display: inline-flex;
  align-items: center;
  gap: 11px;

  padding: 10px 19px 10px 11px;

  background: #25d366;
  color: #ffffff;

  border-radius: 50px;

  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);

  text-decoration: none;
  font-size: 13px;
  font-weight: 700;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  color: #ffffff;
  transform: translateY(-4px);

  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float__icon {
  width: 39px;
  height: 39px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.18);

  border-radius: 50%;
  font-size: 25px;
  flex-shrink: 0;
}

.whatsapp-float__text {
  white-space: nowrap;
  letter-spacing: 0.2px;
}

/* Mobile responsiveness */

@media (max-width: 600px) {
  .whatsapp-float {
    right: 17px;
    bottom: 18px;

    padding: 11px;

    width: 57px;
    height: 57px;

    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-float__icon {
    width: 100%;
    height: 100%;
    font-size: 29px;
    background: transparent;
  }

  .whatsapp-float__text {
    display: none;
  }
}

.schedule {
  --schedule-bg: #f2f0ed;
  --schedule-silver: #e6e7e9;
  background-color: var(--schedule-bg);
  overflow-x: clip;
}

.schedule__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}

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

.schedule__brand img {
  width: 56px;
  height: 56px;
  max-width: none;
  object-fit: contain;
}

.schedule__brand span {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.15em;
  color: var(--text-light);
}

.schedule__title {
  display: flex;
  flex-direction: column;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
}

.schedule__title-top {
  color: var(--primary-color);
}

.schedule__title-bottom {
  color: var(--text-dark);
}

.schedule__tagline {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

@media (width > 768px) {
  .schedule__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .schedule__heading {
    text-align: right;
  }

  .schedule__title {
    align-items: flex-end;
  }
}

.schedule__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule__band {
  --band-x: 70%;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 120px;
  padding-inline: max(1rem, calc((100% - var(--max-width)) / 2));
  color: var(--schedule-silver);
  background: linear-gradient(
    90deg,
    var(--primary-color-dark),
    var(--primary-color)
  );
}

.schedule__info {
  position: relative;
  z-index: 1;
}

.schedule__tag {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}

.schedule__focus {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.schedule__date {
  position: absolute;
  top: 50%;
  left: var(--band-x);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(-50%);
  color: var(--schedule-bg);
}

.schedule__number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(7rem, 18vw, 12rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.8;
}

.schedule__label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* =========================================
   WEEKLY SCHEDULE - ALTERNATING BANDS
========================================= */

/* CHARCOAL BANDS */

.schedule__band--dark {
  background: linear-gradient(90deg, #252628, #111214);
}

/* ZIGZAG NUMBER POSITIONING */

.schedule__band--reverse {
  --band-x: 8%;
  justify-content: flex-end;
}

.schedule__band--reverse .schedule__info {
  margin-left: auto;
  text-align: right;
}

/* MONDAY FEATURED BAND */

.schedule__band--monday {
  min-height: 175px;
}

.schedule__gender-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 0.65rem;
  max-width: 580px;
}

.schedule__gender-item {
  min-width: 0;
}

.schedule__gender-label {
  display: block;
  margin-bottom: 0.25rem;

  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.16em;

  background: linear-gradient(180deg, #f2f3f4 0%, #aeb4ba 48%, #e1e4e7 100%);

  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.schedule__gender-item .schedule__focus {
  font-size: clamp(1.4rem, 3.5vw, 2.3rem);
}

/* =========================================
   WEEKLY SCHEDULE - REFINED CARD SIZE
========================================= */

.schedule {
  width: min(460px, calc(100% - 2rem));
  margin: 2.5rem auto;
  padding: 1.25rem;

  background: #f2f0ed;
  border: 1px solid #e2dfdc;
  border-radius: 8px;

  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* HEADER */
.schedule__header {
  max-width: none;
  padding: 0.25rem 0.25rem 0.9rem;
  gap: 0.5rem;
}

.schedule__brand img {
  width: 42px;
  height: 42px;
}

.schedule__brand span {
  font-size: 0.6rem;
}

.schedule__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.schedule__tagline {
  margin-top: 0.4rem;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

/* WORKOUT BANDS */
.schedule__list {
  padding: 0;
  gap: 0.4rem;
}

.schedule__band {
  min-height: 54px;
  padding-inline: 0.75rem;
  border-radius: 6px;
}

.schedule__band--monday {
  min-height: 88px;
  --band-x: 80%;
}

.schedule__info {
  max-width: 62%;
}

.schedule__focus {
  font-size: 1.35rem;
}

.schedule__number {
  font-size: clamp(3.2rem, 5vw, 4.2rem);
}

.schedule__label {
  font-size: 0.7rem;
}

.schedule__tag {
  margin-bottom: 0.15rem;
  font-size: 0.55rem;
}

.schedule__gender-grid {
  max-width: 100%;
  gap: 1rem;
  margin-top: 0.35rem;
}

.schedule__gender-label {
  font-size: 0.58rem;
}

.schedule__gender-item .schedule__focus {
  font-size: 1.2rem;
}

/* TABLET */

@media (max-width: 768px) {
  .schedule__header {
    padding: 1.25rem 1rem 0.85rem;
  }

  .schedule__title {
    font-size: clamp(2.4rem, 8vw, 3.3rem);
  }
}

/* MOBILE */

.schedule {
  width: min(460px, calc(100% - 1.25rem));
  margin: 2rem auto;
  padding: 1rem;
}

  .schedule__list {
    padding-inline: 0.65rem;
    gap: 0.4rem;
  }

  .schedule__band {
    min-height: 62px;
    padding-inline: 0.8rem;
  }

  .schedule__band--monday {
    min-height: 105px;
    --band-x: 78%;
  }

  .schedule__number {
    font-size: 3.5rem;
  }

  .schedule__label {
    font-size: 0.6rem;
  }

  .schedule__focus {
    font-size: 1.3rem;
  }

  .schedule__gender-grid {
    max-width: 78%;
    gap: 0.5rem;
  }

  .schedule__gender-item .schedule__focus {
    font-size: 1rem;
  }

  .schedule__gender-label {
    font-size: 0.58rem;
  }
}

/* CENTRED WEEKLY SCHEDULE HEADING */

.schedule__header {
  justify-content: center;
}

.schedule__heading {
  width: 100%;
  text-align: center;
}

.schedule__title {
  align-items: center;
}

/* SUNDAY OPEN GYM FOOTER */

.schedule__footer {
  padding: 0 1rem 0.25rem;
}

.schedule__footer p {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-light);
  text-transform: uppercase;
}

/* MOBILE ALIGNMENT */

@media (max-width: 600px) {
  .schedule__footer {
    padding-inline: 0.65rem;
  }

  .schedule__footer p {
    font-size: 0.9rem;
  }
}

/* =========================================
   WEEKLY SCHEDULE - SCROLL REVEAL ANIMATION
========================================= */

.schedule {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.schedule.schedule-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .schedule {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

