/* ============================================================
   JAX Fitness Equipment Services — faithful clone styles
   Fonts: Black Ops One (display), Exo (body), Roboto Condensed (buttons/nav)
   ============================================================ */
:root {
  --ink: #000;
  --paper: #fff;
  --muted: #5a5a5a;
  --line: #e4e4e4;
  --black: #000;
  --display: "Black Ops One", Impact, sans-serif;
  --body: "Exo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ui: "Roboto Condensed", system-ui, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.12;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--ui);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  border-radius: 300px;
  padding: 13px 32px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: #000; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 20px; }
.brand img { height: 62px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-family: var(--ui);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .88rem;
  color: #fff;
  opacity: .88;
  transition: opacity .15s ease;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  transition: .18s ease;
}
.socials a:hover { background: #fff; color: #000; border-color: #fff; }
.socials svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* header variant for pages without a hero (none currently) */

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 60px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-color: #111;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: grayscale(1) brightness(.62);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.28);
  z-index: -1;
}
.hero-inner { max-width: 980px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 6vw, 4rem);
  letter-spacing: .06em;
  margin-bottom: 26px;
  min-height: 1.2em;
}
.rotator { display: inline-block; transition: opacity .25s ease; }
.hero .lead {
  font-size: 1.05rem; letter-spacing: .02em;
  color: #eee; max-width: 680px; margin: 0 auto 30px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 1.4rem; z-index: 2; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex; align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 150px 0 70px;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-color: #111;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: grayscale(1) brightness(.5);
  z-index: -2;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4); z-index: -1; }
.page-hero .container { width: 100%; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5.5vw, 3.4rem); letter-spacing: .06em; }
.page-hero .kicker { font-family: var(--ui); text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; color: #ddd; margin-bottom: 14px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section-title { text-align: center; font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: .09em; margin-bottom: 14px; }
.center { text-align: center; }

.intro { text-align: center; }
.intro .eyebrow {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.3rem,2.6vw,1.8rem); letter-spacing: .05em; margin-bottom: 22px;
}
.intro p { font-size: 1.14rem; color: var(--muted); max-width: 840px; margin: 0 auto; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 56px; }
.svc { text-align: center; display: flex; flex-direction: column; align-items: center; }
.svc h3 { font-style: italic; font-size: 1.55rem; letter-spacing: .04em; margin-bottom: 18px; }
.svc p { color: var(--muted); margin-bottom: 30px; flex-grow: 1; }

/* ---------- Rating band ---------- */
.rating { text-align: center; padding: 56px 0 20px; }
.stars { color: #000; font-size: 1.5rem; letter-spacing: 7px; }
.rating .small { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 1.05rem; margin-top: 8px; }
.rating .big { font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-top: 20px; }

/* ---------- Reviews (black) ---------- */
.reviews { background: var(--black); color: #fff; padding: 90px 0; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.rev { }
.rev .name { font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; }
.rev .tag { font-family: var(--ui); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: #999; margin: 4px 0 14px; }
.rev p { color: #dcdcdc; font-size: .97rem; }

/* ---------- Content splits (interior) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 70px; }
.split.reverse .split-text { order: 2; }
.split-text h2 { font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: .03em; margin-bottom: 20px; }
.split-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.06rem; }
.split-media img { width: 100%; object-fit: cover; }
.split-media.stack { display: grid; gap: 18px; }
.lead-line { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; margin: 8px 0 24px; }

.checklist { list-style: none; margin: 6px 0 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 11px; color: var(--ink); }
.checklist li::before { content: "▰"; color: #000; font-size: .8rem; margin-top: 5px; }

/* ---------- CTA band (black) ---------- */
.cta { background: var(--black); color: #fff; text-align: center; padding: 80px 0; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: .05em; margin-bottom: 14px; }
.cta p { color: #cfcfcf; margin-bottom: 28px; font-size: 1.08rem; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.contact-info h2 { font-style: italic; font-size: 1.6rem; margin-bottom: 26px; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.info-item svg { width: 22px; height: 22px; color: #000; flex: none; margin-top: 4px; }
.info-item b { display: block; font-family: var(--ui); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.info-item a, .info-item span { color: var(--muted); }
.info-item a:hover { color: #000; }
.es-badge { display: inline-block; margin-top: 6px; border: 1px solid var(--line); border-radius: 300px; padding: 6px 16px; font-family: var(--ui); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); }

.form-embed { background: transparent; }
.form-embed iframe { display: block; width: 100%; }
.form-note { color: var(--muted); font-size: .9rem; margin-top: 12px; padding: 0 6px; }
.form-note a { color: #000; font-weight: 600; }

/* ---------- Footer (black) ---------- */
.site-footer { background: var(--black); color: #fff; text-align: center; padding: 70px 0 32px; }
.footer-logo img { height: 84px; margin: 0 auto 18px; filter: none; }
.footer-name { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.5rem; margin-bottom: 8px; }
.footer-tag { color: #bdbdbd; margin-bottom: 30px; }
.footer-cols { display: flex; justify-content: center; gap: 70px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-cols h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; margin-bottom: 12px; }
.footer-cols a, .footer-cols span { display: block; color: #cfcfcf; margin-bottom: 7px; }
.footer-cols a:hover { color: #fff; }
.footer-nav { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-nav a { font-family: var(--ui); text-transform: uppercase; letter-spacing: .09em; font-size: .82rem; color: #cfcfcf; }
.footer-nav a:hover { color: #fff; }
.footer-socials { display: flex; justify-content: center; gap: 14px; margin-bottom: 26px; }
.footer-socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; }
.footer-socials a:hover { background: #fff; color: #000; }
.footer-socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; color: #9a9a9a; font-size: .82rem; }

/* ---------- Service-area grid ---------- */
.area-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
.area-grid li { }
.area-grid a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 86px; padding: 14px 16px;
  border: 2px solid var(--ink);
  font-family: var(--ui); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
  transition: background .2s ease, color .2s ease;
}
.area-grid a:hover { background: var(--ink); color: #fff; }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { font-family: var(--ui); text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; color: var(--muted); padding: 26px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: #000; }
.breadcrumb span { margin: 0 8px; color: var(--line); }

/* ---------- Local highlights ---------- */
.local-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 46px; }
.local-point h3 { font-style: italic; font-size: 1.25rem; letter-spacing: .03em; margin-bottom: 10px; }
.local-point p { color: var(--muted); font-size: 1rem; }

/* ---------- Article / blog prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.prose h2 { font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: .03em; margin: 38px 0 16px; }
.prose h3 { font-size: 1.2rem; letter-spacing: .03em; margin: 26px 0 12px; }
.prose ul, .prose ol { color: var(--muted); font-size: 1.06rem; margin: 0 0 20px 22px; }
.prose li { margin-bottom: 9px; }
.prose .meta { font-family: var(--ui); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--muted); margin-bottom: 18px; }
.prose .callout { border-left: 3px solid var(--ink); background: #f7f7f7; padding: 18px 22px; margin: 26px 0; }
.prose .callout p { margin: 0; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 30px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--ui); text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 12px; }

/* ---------- Blog index cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 20px; }
.post-card { border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: 0 14px 40px rgba(0,0,0,.1); transform: translateY(-3px); }
.post-card img { width: 100%; height: 200px; object-fit: cover; filter: grayscale(1); }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card .pc-tag { font-family: var(--ui); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: .02em; margin-bottom: 12px; }
.post-card p { color: var(--muted); font-size: .98rem; margin-bottom: 18px; flex-grow: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .local-points { grid-template-columns: 1fr; gap: 22px; }
  .post-grid { grid-template-columns: 1fr; }
  .svc-grid, .rev-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-text { order: 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-right {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 30px;
    background: #000;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 50;
  }
  .nav-right.open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { position: relative; z-index: 60; }
  .svc-grid, .rev-grid { grid-template-columns: 1fr; }
  .footer-cols { gap: 40px; }
}
