:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: rgba(17, 24, 39, 0.74);
  --panel-strong: rgba(12, 18, 26, 0.92);
  --text: #ffffff;
  --muted: #bfc5d2;
  --green: #00a651;
  --blue: #2e3192;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

body.light {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --text: #0b0f14;
  --muted: #4d5565;
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 70px rgba(46, 49, 146, 0.13);
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0, 166, 81, 0.24), transparent 32rem),
    radial-gradient(circle at 80% 5%, rgba(46, 49, 146, 0.32), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-loading {
  opacity: 0;
}

body.page-ready {
  opacity: 1;
  transition: opacity 260ms ease;
}

main {
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease;
}

body.page-enter main {
  animation: pageEnter 420ms ease both;
}

body.page-leaving main {
  opacity: 0;
  transform: translateY(14px);
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

img,
iframe {
  max-width: 100%;
}

img {
  display: block;
  object-fit: cover;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.nav-blur {
  background: rgba(11, 15, 20, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.light .nav-blur {
  background: #ffffff
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 900;
  letter-spacing: 0;
}

.site-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  max-width: min(300px, 48vw);
}

.site-logo {
  width: 260px;
  height: auto;
  max-width: 100%;
  object-fit: contain;

  padding: 8px 14px;
  border-radius: 16px;

}

body.light .site-logo {
  background: transparent;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-pad {
  padding: 92px 0;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 132px 0 64px;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.72) 44%, rgba(11, 15, 20, 0.2) 100%),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-title {
  max-width: 880px;
  font-size: clamp(3rem, 9vw, 7.7rem);
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff, #8ff0b7 45%, #b7c4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), #17d87c);
  color: #06100b;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.metric-card,
.feature-card,
.pricing-card,
.trainer-card,
.blog-card,
.program-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.metric-card:hover,
.feature-card:hover,
.pricing-card:hover,
.trainer-card:hover,
.blog-card:hover,
.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 166, 81, 0.5);
}

.section-title {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  font-weight: 920;
  letter-spacing: 0;
}

.section-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.media-tile {
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  position: relative;
}

.media-tile img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.image-label {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
}

.masonry {
  columns: 1;
  column-gap: 18px;
}

.masonry figure {
  break-inside: avoid;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.masonry img {
  width: 100%;
  height: auto;
}

.form-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--green);
}

.floating-whatsapp,
.sticky-call {
  position: fixed;
  right: 18px;
  z-index: 60;
  box-shadow: var(--shadow);
}

.floating-whatsapp {
  bottom: 92px;
}

.sticky-call {
  bottom: 158px;
}

.mobile-tabs {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 70;
  width: min(94vw, 440px);
  transform: translateX(-50%);
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px;
  border-radius: 28px;
}

.mobile-tabs a {
  min-height: 52px;
  width: 100%;
  display: grid;
  place-items: center;
  gap: 2px;
  border-radius: 22px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.mobile-tabs svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke-width: 2.4;
}

.mobile-tabs a.active,
.mobile-tabs a:hover {
  background: rgba(0, 166, 81, 0.18);
  color: var(--text);
}

.desktop-nav a {
  position: relative;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text);
}

.desktop-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.google-reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.google-review-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.mobile-drawer-theme {
  display: none;
}

.mobile-menu-toggle {
  display: none;
}

.map-frame iframe {
  width: 100%;
  min-height: 420px;
  border-radius: 8px;
}

.swiper {
  padding-bottom: 46px;
}

.swiper-pagination-bullet {
  background: var(--muted);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--green);
  opacity: 1;
}

@media (min-width: 760px) {
  .masonry {
    columns: 2;
  }
}

@media (min-width: 1040px) {
  .masonry {
    columns: 3;
  }
}

@media (max-width: 1180px) {
  header.nav-blur {
    display: block;
  }

  .desktop-nav {
    display: none !important;
  }

  .nav-blur .page-shell {
    width: min(100% - 24px, 1180px);
    min-height: 68px;
    overflow: visible;
  }

  .nav-blur .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .nav-blur .page-shell>a {
    max-width: calc(100vw - 104px);
  }

  .nav-blur .page-shell>a small {
    display: none;
  }

  .site-logo-link {
    max-width: calc(100vw - 88px);
  }

  .site-logo {
    width: min(250px, calc(100vw - 96px));
    height: auto;
    padding: 5px 7px;
  }

  .nav-blur [data-theme-toggle],
  .nav-blur .btn-primary {
    display: none;
  }

  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
  }

  body.mobile-menu-open .desktop-nav {
    position: fixed !important;
    top: 76px;
    left: 16px;
    right: 16px;
    z-index: 80;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  body.mobile-menu-open .desktop-nav a {
    display: flex !important;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    border-radius: 14px;
    padding: 0 14px;
    color: var(--text);
  }

  body.mobile-menu-open .desktop-nav a::after {
    display: none;
  }

  body.mobile-menu-open .desktop-nav a.active {
    background: rgba(0, 166, 81, 0.18);
  }

  body.mobile-menu-open .mobile-drawer-theme {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    padding: 0 14px;
    font-weight: 800;
  }

  body.mobile-menu-open .mobile-drawer-theme span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  body.light.mobile-menu-open .mobile-drawer-theme {
    background: rgba(0, 166, 81, 0.1);
  }

  .mobile-tabs {
    display: grid;
  }

  main.pt-28 {
    padding-top: 5.25rem !important;
  }

  .section-pad {
    padding: 68px 0;
  }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
  }

  .hero-title,
  .section-title {
    overflow-wrap: anywhere;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .google-reviews-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .floating-whatsapp {
    bottom: 94px;
  }

  .sticky-call {
    display: none;
  }

  body {
    padding-bottom: 88px;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .mobile-tabs {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body.page-enter main,
  body.page-leaving main {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
