/* Smart Fitn3ss — site styles (single sheet) */

:root {
  --bg: #07080c;
  --bg-2: #0d0f16;
  --surface: #141826;
  --surface-2: #1b2033;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f5f8;
  --muted: #b3b9c9;
  --accent: #1e4bff;
  --accent-2: #5b8cff;
  --radius: 16px;
  --max: 1180px;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}

@media (prefers-color-scheme: light) {
  /* The site is a dark-first brand; keep it dark regardless of OS theme. */
  :root:not([data-theme="light"]) { color-scheme: dark; }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.9rem, 7.5vw, 5.75rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; letter-spacing: 0.03em; }

p { margin: 0 0 1em; color: var(--muted); }

.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }

section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--bg-2); }

.eyebrow {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.section-head { max-width: 42rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.15rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-small { padding: 0.6rem 1.1rem; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  text-decoration: none;
}
.link-arrow:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  margin-right: 1.25rem;
}
.nav-links a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  min-height: min(100svh, 900px);
  display: grid;
  align-items: center;
  padding: 7rem 0 5rem;
  background:
    linear-gradient(180deg, rgba(7, 8, 12, 0.35) 0%, rgba(7, 8, 12, 0.7) 60%, var(--bg) 100%),
    url(bg2.jpeg) center / cover no-repeat;
}
.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: 0.3em; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #dfe3ee;
  max-width: 36rem;
  margin: 1.25rem 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Trust bar ---------- */
.trust {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  padding: 1.75rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.trust-grid strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  line-height: 1.1;
}
.trust-grid span { font-size: 0.95rem; color: var(--muted); }

/* ---------- Cards (services) ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91, 140, 255, 0.4); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { flex: 1; }
.card-body .link-arrow { margin-top: 0.5rem; }

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* ---------- Split layout (about, trainer, contact) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.split.reverse .media { order: 2; }

.social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.social a:hover { background: var(--accent); }

/* ---------- Gallery carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: 6px; }
.slide {
  flex: 0 0 min(78%, 840px);
  margin: 0;
  scroll-snap-align: center;
}
.slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.carousel-btn {
  position: absolute;
  top: calc(50% - 1.5rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 8, 12, 0.8);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.carousel-btn:hover { background: var(--accent); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; background: rgba(7, 8, 12, 0.8); }
.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}
.carousel-dots button[aria-current="true"] { width: 28px; background: var(--accent-2); }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #1a2550 0%, var(--surface) 55%);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan h3 { color: #fff; margin-bottom: 0.5rem; }
.price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: #fff;
  margin: 0.5rem 0 0.25rem;
}
.price small { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.plan-note { font-size: 0.95rem; margin-bottom: 1.5rem; }
.plan .checklist { flex: 1; margin-bottom: 1.75rem; }

/* ---------- Map / find us ---------- */
.map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.info-list { display: grid; gap: 1.25rem; margin: 1.5rem 0 0; }
.info-list div { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list i {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--accent-2);
}
.info-list strong { display: block; color: #fff; font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; }
.info-list a { color: var(--muted); }
.info-list a:hover { color: #fff; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.4rem; font-size: 0.95rem; color: var(--muted); }
.form input,
.form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1.05rem;
  color: #fff;
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}
.form input::placeholder,
.form textarea::placeholder { color: #6f768a; }
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.2); }
.form textarea { min-height: 9rem; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Final CTA ---------- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(900px 300px at 50% 0%, rgba(30, 75, 255, 0.35), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.cta-band p { font-size: 1.15rem; max-width: 36rem; margin: 0 auto 2rem; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    linear-gradient(180deg, rgba(7, 8, 12, 0.6), var(--bg)),
    url(bg2.jpeg) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-hero p { font-size: 1.2rem; max-width: 38rem; }


/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-grid img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-grid ul { display: grid; gap: 0.55rem; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.9rem;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #7d8497;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a {
    display: block;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.2rem;
  }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-cta-desktop { display: none; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .split img { aspect-ratio: 4 / 3; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { height: 38px; }
  .nav { min-height: 68px; }
  .nav-links { top: 68px; }
  .slide { flex-basis: 86%; }
  .carousel-btn { width: 44px; height: 44px; top: calc(50% - 1.2rem); font-size: 0.95rem; }
  .carousel-btn.prev { left: 0.25rem; }
  .carousel-btn.next { right: 0.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
