:root {
  --bg: #000;
  --bg-soft: #171717;
  --bg-card: rgba(26, 26, 26, 0.88);
  --bg-elevated: #111111;
  --surface: #202020;
  --text: #ffffff;
  --text-soft: #c8cfca;
  --muted: #8c938e;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #00ff66;
  --primary-deep: #0cc95a;
  --glow: 0 0 0 1px rgba(0, 255, 102, 0.12), 0 18px 48px rgba(0, 255, 102, 0.12);
  --radius: 0;
  --radius-sm: 0;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  --container: min(1200px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 255, 102, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(0, 255, 102, 0.08), transparent 30%),
    linear-gradient(180deg, #0d0d0d 0%, #0f0f0f 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

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

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

iframe {
  width: 100%;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(14, 14, 14, 0.2);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(14, 14, 14, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  padding: 10px 0;
}

.site-header__inner,
.site-header__actions,
.hero-actions,
.footer-bottom,
.shop-toolbar,
.shop-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__inner {
  justify-content: space-between;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #0d4f2c);
  color: #07140c;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: var(--glow);
}

.site-brand__text strong,
h1,
h2,
h3,
h4 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
}

.site-brand__text strong {
  font-size: 1.4rem;
}

.site-brand__text small {
  color: var(--muted);
}

.site-menu,
.mobile-menu,
.footer-menu,
.footer-contact,
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.site-menu a:hover,
.mobile-menu a:hover,
.footer-menu a:hover,
.footer-socials a:hover {
  color: var(--primary);
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.elementor-widget-button .elementor-button,
.newsletter-form button,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.elementor-widget-button .elementor-button:hover,
.newsletter-form button:hover,
.lead-form button:hover {
  transform: translateY(-2px);
}

.button--primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.elementor-widget-button.button .elementor-button,
.elementor-widget-button.button--primary .elementor-button,
.newsletter-form button,
.lead-form button {
  background: linear-gradient(135deg, var(--primary), #10c85a);
  color: #05150d;
  box-shadow: var(--glow);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.elementor-widget-button.button--secondary .elementor-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button--ghost {
  border-color: rgba(0, 255, 102, 0.3);
  color: var(--primary);
  background: rgba(0, 255, 102, 0.08);
}

.elementor-widget-button.button--ghost .elementor-button {
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: var(--primary);
  background: rgba(0, 255, 102, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--text);
}

.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle--close span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle--close span:nth-child(2) { opacity: 0; }
.menu-toggle--close span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer__panel {
  width: min(88vw, 360px);
  margin-left: auto;
  min-height: 100%;
  background: #0b0b0b;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 1px solid var(--line);
}

.mobile-drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu {
  display: grid;
  gap: 14px;
  font-size: 1.15rem;
}

.hero-section,
.page-hero {
  position: relative;
  padding: 96px 0 72px;
}

.hero-section {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.65) 55%, rgba(7, 7, 7, 0.5) 100%),
    url("https://images.unsplash.com/photo-1517838277536-f5f99be501cd?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  transform: scale(1.02);
}

.hero-section__content,
.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--primary);
  margin: 0 0 16px;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 0 0 16px;
}

h3 {
  font-size: 1.8rem;
  margin: 0 0 12px;
}

.hero-section p,
.page-hero p,
.section-heading p,
.content-block p,
.trainer-card p,
.testimonial-card .quote,
.location-card p,
.product-card strong {
  color: var(--text-soft);
}

.hero-section__content > p {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 20px 0 0;
}

.section,
.stats-section,
.cta-banner,
.content-shell,
.shop-shell,
.entry-content-shell {
  padding: 72px 0;
}

.section--contrast,
.content-shell,
.shop-shell,
.form-card,
.post-card,
.blog-post {
  background: rgba(255, 255, 255, 0.02);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.stat-card,
.service-card,
.trainer-card,
.location-card,
.testimonial-card,
.product-card,
.product-card-wc,
.pricing-card,
.form-card,
.content-shell,
.post-card,
.info-card,
.map-card,
.location-detail,
.info-panel {
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.stat-card,
.service-card,
.product-card,
.pricing-card,
.info-card {
  padding: 28px;
}

.stat-card strong {
  display: block;
  font-size: 2.6rem;
  color: var(--primary);
  font-family: "Barlow Condensed", sans-serif;
}

.service-card:hover,
.location-card:hover,
.trainer-card:hover,
.product-card:hover,
.pricing-card:hover {
  box-shadow: var(--glow), var(--shadow);
  transform: translateY(-4px);
}

.service-card,
.location-card,
.trainer-card,
.product-card,
.pricing-card,
.product-card-wc {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trainer-card__image,
.location-card__image {
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

.trainer-card__image img,
.location-card__image img,
.hero-section__media-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.hero-section__media-image img {
  min-height: 560px;
}

.trainer-card__content,
.location-card__content {
  padding: 24px;
}

.elementor .hero-section,
.elementor .stats-section,
.elementor .section,
.elementor .cta-banner {
  width: 100%;
}

.elementor .container.hero-section__content,
.elementor .container.stats-section {
  width: var(--container);
  margin: 0 auto;
}

.elementor .section .section-heading,
.elementor .section.section--contrast .section-heading {
  max-width: 720px;
}

.elementor .trainer-card > .e-con-inner,
.elementor .location-card > .e-con-inner {
  gap: 0;
}

.elementor .cta-banner.cta-banner__content {
  width: var(--container);
  margin: 0 auto;
}

.card-socials,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.card-socials a,
.footer-socials a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-soft);
}

.product-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.78) 100%),
    linear-gradient(135deg, rgba(0,255,102,0.14), rgba(255,255,255,0.03));
}

.product-card span,
.price {
  color: var(--primary);
  font-weight: 700;
}

.transformation-layout,
.split-layout,
.location-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.transformation-grid,
.equipment-gallery {
  display: grid;
  gap: 18px;
}

.transformation-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.transformation-card__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.placeholder,
.product-card-wc__image.placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.2), rgba(255, 255, 255, 0.06));
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder.tall {
  min-height: 360px;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card .quote {
  font-size: 1.05rem;
}

.cta-banner {
  border-top: 1px solid var(--line);
}

.cta-banner__content {
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(0,255,102,0.18), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(0, 255, 102, 0.2);
  box-shadow: var(--glow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer {
  padding: 72px 0 24px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-menu,
.footer-contact {
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.newsletter-form,
.lead-form {
  display: grid;
  gap: 14px;
}

.newsletter-form input,
.lead-form input,
.lead-form select,
.lead-form textarea,
.woocommerce input,
.woocommerce select,
.woocommerce textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 0 16px;
}

.lead-form textarea {
  padding-top: 14px;
}

.content-shell,
.blog-post {
  padding: 36px;
}

.entry-content-shell > .content-shell {
  max-width: var(--container);
  margin: 0 auto;
}

.entry-content {
  color: var(--text-soft);
}

.entry-content--elementor,
.site-main--elementor,
.site-main--elementor-canvas {
  padding: 0;
}

.entry-content--elementor .entry-content {
  color: inherit;
}

.entry-content--elementor .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

.elementor-widget-text-editor,
.elementor-widget-heading,
.elementor-widget-icon-box,
.elementor-widget-image-box,
.elementor-widget-button {
  color: var(--text);
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:first-child {
  position: relative;
  min-height: calc(100vh - 90px);
  align-items: center;
  padding: 40px 24px;
  overflow: hidden;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:first-child > .e-child:first-child {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  justify-content: center;
  padding: 80px 40px;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:first-child > .e-child:last-child {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:first-child img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(2),
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(3),
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(4),
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(5),
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(6) {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(2) {
  padding: 24px 0 48px;
  gap: 24px;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(2) > .e-child,
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(3) > .e-child:last-child > .e-child,
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(4) > .e-child:last-child > .e-child,
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(5) > .e-child:last-child > .e-child {
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(2) > .e-child {
  padding: 28px;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(2) .elementor-heading-title {
  color: var(--primary);
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(3),
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(4),
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(5) {
  padding: 56px 0;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(4) {
  background: rgba(255, 255, 255, 0.02);
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(3) > .e-child:last-child,
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(4) > .e-child:last-child,
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(5) > .e-child:last-child {
  gap: 24px;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(4) > .e-child:last-child > .e-child,
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(5) > .e-child:last-child > .e-child {
  overflow: hidden;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(4) > .e-child:last-child > .e-child img,
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(5) > .e-child:last-child > .e-child img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:last-child {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto 72px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(0,255,102,0.18), rgba(255,255,255,0.04)), rgba(255,255,255,0.03);
  border: 1px solid rgba(0, 255, 102, 0.2);
  box-shadow: var(--glow);
}

body.elementor-page-27 .entry-content--elementor .elementor-27 .elementor-widget-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:first-child .elementor-widget-button:first-child .elementor-button,
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:last-child .elementor-widget-button:first-child .elementor-button {
  background: linear-gradient(135deg, var(--primary), #10c85a);
  color: #05150d;
  box-shadow: var(--glow);
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:first-child .elementor-widget-button:nth-child(2) .elementor-button,
body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:last-child .elementor-widget-button:nth-child(2) .elementor-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:first-child .elementor-widget-button:nth-child(3) .elementor-button {
  border: 1px solid rgba(0, 255, 102, 0.3);
  background: rgba(0, 255, 102, 0.08);
  color: var(--primary);
}

body.elementor-page-28 .entry-content--elementor .elementor-28 > .e-parent,
body.elementor-page-29 .entry-content--elementor .elementor-29 > .e-parent,
body.elementor-page-30 .entry-content--elementor .elementor-30 > .e-parent,
body.elementor-page-31 .entry-content--elementor .elementor-31 > .e-parent,
body.elementor-page-32 .entry-content--elementor .elementor-32 > .e-parent {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

body.elementor-page-28 .entry-content--elementor .elementor-28 > .e-parent:first-child,
body.elementor-page-29 .entry-content--elementor .elementor-29 > .e-parent:first-child,
body.elementor-page-30 .entry-content--elementor .elementor-30 > .e-parent:first-child,
body.elementor-page-31 .entry-content--elementor .elementor-31 > .e-parent:first-child,
body.elementor-page-32 .entry-content--elementor .elementor-32 > .e-parent:first-child {
  padding-top: 80px;
  padding-bottom: 40px;
}

.elementor-kit-7,
.elementor {
  --e-global-color-primary: var(--primary);
  --e-global-color-secondary: var(--text);
  --e-global-color-text: var(--text-soft);
  --e-global-color-accent: var(--primary);
}

.mff-elementor-canvas {
  background:
    radial-gradient(circle at top right, rgba(0, 255, 102, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(0, 255, 102, 0.08), transparent 30%),
    linear-gradient(180deg, #0d0d0d 0%, #0f0f0f 100%);
}

.mff-gym-hero,
.mff-gym-section,
.mff-gym-final-cta {
  width: min(1216px, calc(100vw - 32px));
  margin-left: auto;
  margin-right: auto;
}

.mff-gym-hero {
  position: relative;
  overflow: hidden;
}

.mff-gym-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 255, 102, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(0,0,0,0.94), rgba(0,0,0,0.72) 50%, rgba(0,0,0,0.58));
  pointer-events: none;
}

.mff-gym-hero > .e-con-inner,
.mff-gym-hero > .e-child,
.mff-gym-section > .e-con-inner,
.mff-gym-section > .e-child,
.mff-gym-final-cta > .e-con-inner,
.mff-gym-final-cta > .e-child {
  position: relative;
  z-index: 1;
}

.mff-gym-hero-title .elementor-heading-title {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(3.8rem, 7vw, 6.4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.mff-gym-hero-copy {
  max-width: 680px;
}

.mff-gym-hero-copy p,
.mff-gym-section p,
.mff-gym-final-cta p {
  color: #cfd2d6;
}

.mff-gym-actions {
  flex-wrap: wrap;
}

.mff-gym-hero__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 560px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,255,102,0.22);
}

.mff-gym-section .section-heading {
  max-width: 840px;
}

.mff-gym-section .section-heading h2,
.mff-gym-section h2,
.mff-gym-final-cta h2 {
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  line-height: 1.05;
}

.mff-gym-section .elementor-heading-title,
.mff-gym-final-cta .elementor-heading-title {
  color: #fff;
}

.mff-gym-grid {
  display: grid !important;
  width: 100%;
}

.mff-gym-facilities {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mff-gym-trainers,
.mff-gym-programs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mff-gym-locations,
.mff-gym-plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mff-gym-card,
.mff-gym-stat,
.mff-gym-program,
.mff-gym-trainer,
.mff-gym-location,
.mff-gym-plan {
  width: 100% !important;
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.34);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.mff-gym-card:hover,
.mff-gym-stat:hover,
.mff-gym-program:hover,
.mff-gym-trainer:hover,
.mff-gym-location:hover,
.mff-gym-plan:hover {
  transform: translateY(-5px);
  border-color: rgba(0,255,102,0.68);
  box-shadow: 0 0 0 1px rgba(0,255,102,0.15), 0 32px 90px rgba(0,0,0,0.45);
}

.mff-gym-card__icon {
  background: rgba(0,255,102,0.2);
  border-radius: 18px;
}

.mff-gym-card .elementor-heading-title,
.mff-gym-stat .elementor-heading-title,
.mff-gym-program .elementor-heading-title,
.mff-gym-trainer .elementor-heading-title,
.mff-gym-location .elementor-heading-title,
.mff-gym-plan .elementor-heading-title {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.mff-gym-about__stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.mff-gym-trainer__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  object-fit: cover;
}

.mff-gym-role {
  color: var(--primary) !important;
  font-weight: 900;
}

.mff-gym-program {
  min-height: 260px;
}

.mff-gym-location .elementor-widget-button,
.mff-gym-plan .elementor-widget-button {
  margin-top: auto;
}

.mff-gym-plan {
  min-height: 460px;
}

.mff-gym-plan--featured {
  transform: translateY(-14px);
  box-shadow: var(--glow), 0 34px 96px rgba(0,0,0,0.45);
}

.mff-gym-plan-badge {
  width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #04150b !important;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mff-gym-plan-badge--muted {
  background: rgba(255,255,255,0.08);
  color: #cfd2d6 !important;
}

.mff-gym-price {
  color: var(--primary) !important;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 950;
  line-height: 1;
}

.mff-gym-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mff-gym-list li {
  position: relative;
  padding-left: 22px;
  color: #cfd2d6;
}

.mff-gym-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.mff-gym-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
}

.mff-gym-gallery__image {
  width: 100% !important;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.34);
}

.mff-gym-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mff-gym-gallery__image:hover img {
  transform: scale(1.05);
}

.mff-gym-gallery__image--tall {
  grid-row: span 2;
}

.mff-gym-gallery__image--wide {
  grid-column: span 2;
}

.mff-gym-final-cta {
  border-radius: 28px;
  box-shadow: var(--glow), 0 32px 90px rgba(0,0,0,0.42);
  margin-bottom: 84px;
}

.mff-accent {
  color: var(--primary);
}

.mff-contact-hero,
.mff-contact-cards,
.mff-contact-main,
.mff-faq-section,
.mff-contact-cta {
  width: min(1216px, calc(100vw - 32px));
  margin-left: auto;
  margin-right: auto;
}

.mff-contact-hero {
  min-height: 390px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.mff-contact-hero .elementor-widget {
  text-align: center;
}

.mff-contact-title .elementor-heading-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(4rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
}

.mff-contact-hero-copy {
  width: min(760px, 100%);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.mff-contact-hero-copy p {
  color: #cfd2d6;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
}

.mff-contact-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.mff-contact-card,
.mff-contact-panel,
.mff-faq-card,
.mff-contact-cta {
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.mff-contact-card {
  width: 100% !important;
  min-height: 230px;
  justify-content: flex-start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mff-contact-card:hover,
.mff-contact-panel:hover,
.mff-faq-card:hover {
  border-color: rgba(0, 255, 102, 0.65);
  box-shadow: 0 0 0 1px rgba(0, 255, 102, 0.16), 0 28px 70px rgba(0, 0, 0, 0.34);
}

.mff-contact-card:hover,
.mff-faq-card:hover {
  transform: translateY(-3px);
}

.mff-contact-card__icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  background: rgba(0, 255, 102, 0.22);
  border-radius: 50%;
}

.mff-contact-card__icon .elementor-widget-icon {
  width: auto;
  line-height: 1;
}

.mff-contact-card__icon .elementor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mff-contact-card h3,
.mff-contact-panel h2,
.mff-faq-section h2,
.mff-faq-card h3,
.mff-contact-cta h2 {
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  line-height: 1.15;
}

.mff-contact-card h3 {
  font-size: 1.45rem;
  font-weight: 900;
  margin: 0;
}

.mff-contact-card .elementor-heading-title {
  color: #fff;
}

.mff-contact-card p,
.mff-contact-panel p,
.mff-faq-section p,
.mff-contact-cta p {
  color: #cfd2d6;
  margin: 0;
}

.mff-contact-card a {
  color: #cfd2d6;
}

.mff-contact-card a:hover {
  color: var(--primary);
}

.mff-contact-main {
  align-items: stretch;
  margin-top: 8px;
}

.mff-contact-panel {
  min-height: 100%;
}

.mff-contact-panel .elementor-heading-title {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.mff-contact-panel--media .elementor-widget-button {
  width: 100%;
}

.mff-contact-panel--media .elementor-button {
  width: 100%;
  border-radius: 0;
  min-height: 54px;
}

.mff-contact-panel--media .button--secondary .elementor-button {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.mff-contact-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  object-fit: cover;
}

.mff-contact-form {
  display: grid;
  gap: 18px;
}

.mff-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mff-contact-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 800;
}

.mff-contact-form input,
.mff-contact-form select,
.mff-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 255, 102, 0.24);
  background: #0f0f0f;
  color: #fff;
  min-height: 54px;
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
}

.mff-contact-form textarea {
  padding-top: 14px;
  resize: vertical;
}

.mff-contact-form input:focus,
.mff-contact-form select:focus,
.mff-contact-form textarea:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(0, 255, 102, 0.16);
}

.mff-contact-form button {
  min-height: 56px;
  border: 0;
  background: var(--primary);
  color: #04150b;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--glow);
  font-size: 1rem;
}

.mff-faq-heading {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 16px;
}

.mff-faq-title .elementor-heading-title {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.mff-faq-copy {
  max-width: 680px;
  text-align: center;
}

.mff-faq-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.mff-faq-card {
  width: 100% !important;
  min-height: 172px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mff-faq-card .elementor-heading-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 12px;
  color: var(--text-soft);
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.6);
}

.glow {
  box-shadow: var(--glow);
}

.info-panel,
.content-block,
.location-detail__content,
.location-detail__map {
  padding: 28px;
}

.location-detail__map iframe,
.map-card iframe {
  min-height: 360px;
}

.map-card {
  padding: 18px;
}

.stack {
  display: grid;
  gap: 28px;
}

.shop-shell {
  padding: 36px;
}

.shop-toolbar {
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.product-card-wc {
  list-style: none;
  overflow: hidden;
}

.product-card-wc__image img,
.product-card-wc__image.placeholder {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
}

.product-card-wc__body,
.product-card-wc__actions {
  padding: 22px;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
  grid-column: 1 / -1;
}

.woocommerce .quantity .qty {
  min-height: 44px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top: 0;
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1100px) {
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4,
  .footer-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mff-contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mff-gym-facilities,
  .mff-gym-trainers,
  .mff-gym-programs,
  .mff-gym-locations,
  .mff-gym-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mff-gym-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-nav,
  .site-header__actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-section,
  .page-hero,
  .section,
  .stats-section,
  .cta-banner,
  .content-shell,
  .shop-shell,
  .entry-content-shell {
    padding: 56px 0;
  }

  .grid--3,
  .grid--4,
  .grid--5,
  .split-layout,
  .transformation-layout,
  .footer-grid,
  .woocommerce ul.products,
  .woocommerce div.product,
  .location-detail {
    grid-template-columns: 1fr;
  }

  .cta-banner__content,
  .footer-bottom,
  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:first-child,
  body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(2),
  body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(3),
  body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(4),
  body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:nth-child(5),
  body.elementor-page-27 .entry-content--elementor .elementor-27 > .e-parent:last-child {
    width: min(100vw - 24px, 1200px);
  }

  .mff-contact-main {
    flex-direction: column;
  }

  .mff-gym-hero,
  .mff-gym-about,
  .mff-gym-actions {
    flex-direction: column;
  }

  .mff-gym-hero__content,
  .mff-gym-hero__visual,
  .mff-gym-about__copy,
  .mff-gym-about__stats {
    width: 100% !important;
  }

  .mff-gym-hero {
    min-height: auto;
  }

  .mff-gym-hero__image img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .mff-gym-about__stats {
    grid-template-columns: 1fr;
  }

  .mff-gym-plan--featured {
    transform: none;
  }

  .mff-contact-main > .e-con-inner,
  .mff-contact-main > .e-child,
  .mff-contact-panel {
    width: 100% !important;
  }

  .mff-contact-cards,
  .mff-faq-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 24px, 1200px);
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .content-shell,
  .shop-shell,
  .cta-banner__content,
  .stat-card,
  .service-card,
  .testimonial-card,
  .product-card,
  .pricing-card,
  .form-card {
    padding: 22px;
  }

  .mff-contact-title .elementor-heading-title {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .mff-contact-hero,
  .mff-contact-cards,
  .mff-contact-main,
  .mff-faq-section,
  .mff-contact-cta {
    width: min(100vw - 24px, 1216px);
  }

  .mff-gym-hero,
  .mff-gym-section,
  .mff-gym-final-cta {
    width: min(100vw - 24px, 1216px);
  }

  .mff-gym-facilities,
  .mff-gym-trainers,
  .mff-gym-programs,
  .mff-gym-locations,
  .mff-gym-plans,
  .mff-gym-gallery {
    grid-template-columns: 1fr;
  }

  .mff-gym-gallery {
    grid-auto-rows: auto;
  }

  .mff-gym-gallery__image,
  .mff-gym-gallery__image--tall,
  .mff-gym-gallery__image--wide {
    grid-column: auto;
    grid-row: auto;
    height: auto;
  }

  .mff-gym-gallery__image img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .mff-gym-hero-title .elementor-heading-title {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }
}
