/* GymStation — Salle de sport à Rabat.
   Brand-lock (official brand kit v1.0): Performance Gold #F5C400 on Void Black #050505.
   Display: Anton. Body: Montserrat. Personality: powerful, disciplined, urban, community. */

:root {
  --void: #050505;
  --charcoal: #1A1A1A;
  --surface: #121212;
  --surface-2: #191919;
  --border: #2a2a2a;
  --gold: #F5C400;
  --gold-hi: #ffd83a;
  --white: #F5F5F2;
  --muted: #c7c7c7;
  --steel: #7D7D7D;
  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--muted);
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display {
  font-family: "Anton", "Montserrat", sans-serif;
  font-weight: 400;
  color: var(--white);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.gold { color: var(--gold); }

/* eyebrow (used sparingly: max ~1 per 3 sections) */
.eyebrow {
  font-family: "Montserrat", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: var(--gold); font-size: 13px; margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Montserrat", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px;
  padding: 15px 28px; border-radius: 2px; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--void); }
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--border); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* gold line icons (brand icon style) */
.icon { width: 26px; height: 26px; stroke: var(--gold); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,5,5,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: "Anton", sans-serif; text-transform: uppercase; color: var(--white); letter-spacing: 1.5px; font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: "Montserrat", sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.2px; font-size: 14px; color: var(--muted); padding: 6px 0; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--gold); }
.nav-cta { color: var(--void) !important; background: var(--gold); padding: 11px 20px !important; border-radius: 2px; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-hi); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; transition: .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--void); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-open .nav-links { max-height: 420px; }
  .nav-links a { width: 100%; text-align: center; padding: 18px; border-top: 1px solid var(--border); }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 16px auto; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(5,5,5,.45) 0%, rgba(5,5,5,.6) 45%, var(--void) 100%),
              #000 url("assets/hero.webp") center/cover no-repeat;
}
.hero-inner { padding-block: clamp(60px, 10vw, 110px); max-width: 760px; }
.hero h1 { font-size: clamp(46px, 9vw, 104px); margin-bottom: 20px; }
.hero h1 .gold { display: block; }
.hero p { font-size: clamp(17px, 2.2vw, 20px); color: var(--white); max-width: 540px; margin-bottom: 32px; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* stat strip */
.stats { background: var(--charcoal); border-block: 1px solid var(--border); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px var(--pad); text-align: center; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat .big { font-family: "Anton", sans-serif; font-size: clamp(26px, 4vw, 40px); color: var(--gold); line-height: 1; }
.stat .lbl { font-family: "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; color: var(--steel); margin-top: 8px; font-weight: 600; }
@media (max-width: 720px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(odd) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--border); } }

/* ---------- Sections ---------- */
section { padding-block: clamp(60px, 9vw, 104px); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 5vw, 52px); }
.section-head p { margin-top: 18px; }
.alt { background: var(--surface); border-block: 1px solid var(--border); }
.lead { font-size: clamp(19px, 2.6vw, 26px); color: var(--white); font-weight: 500; line-height: 1.45; max-width: 820px; }
.lead .gold { font-weight: 600; }

/* ---------- Offers: featured + grid ---------- */
.offers { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.offer {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px;
  padding: 30px 26px; transition: border-color .2s ease, transform .2s ease;
}
.offer:hover { border-color: var(--gold); transform: translateY(-3px); }
.offer .icon { margin-bottom: 16px; }
.offer h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: 1px; }
.offer p { font-size: 15.5px; color: var(--muted); }
.offer.feature { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 40px; background: linear-gradient(120deg, var(--charcoal), var(--surface-2)); }
.offer.feature h3 { font-size: clamp(28px, 4vw, 40px); }
.offer.feature p { font-size: 17px; }
.offer.feature .feature-tag { font-family: "Montserrat", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--gold); margin-bottom: 14px; }
@media (max-width: 860px) { .offers { grid-template-columns: 1fr 1fr; } .offer.feature { grid-column: span 2; grid-template-columns: 1fr; gap: 18px; padding: 30px; } }
@media (max-width: 560px) { .offers { grid-template-columns: 1fr; } .offer.feature { grid-column: span 1; } }

/* ---------- Services (detailed list) ---------- */
.svc { display: grid; gap: 14px; }
.svc-item { display: grid; grid-template-columns: 44px 1fr; gap: 22px; align-items: start;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 28px; transition: border-color .2s ease; }
.svc-item:hover { border-color: var(--gold); }
.svc-item .icon { width: 30px; height: 30px; margin-top: 4px; }
.svc-item h3 { font-size: 23px; margin-bottom: 8px; letter-spacing: 1px; }
.svc-item p { font-size: 16px; }

/* ---------- Values (about) ---------- */
.values { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.value { background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 30px 26px; }
.value .icon { width: 30px; height: 30px; margin-bottom: 16px; }
.value h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: 1px; }
.value p { font-size: 15.5px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* about intro split */
.about-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-split img { border-radius: 6px; border: 1px solid var(--border); width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; gap: 28px; } }

/* page hero (interior) */
.page-hero { position: relative; padding-block: clamp(70px, 12vw, 130px); background: linear-gradient(180deg, rgba(5,5,5,.55), rgba(5,5,5,.8)), #000 url("assets/hero.webp") center/cover no-repeat; }
.page-hero h1 { font-size: clamp(40px, 7vw, 76px); }
.page-hero p { margin-top: 18px; max-width: 600px; color: var(--white); font-weight: 500; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review { background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 5px; padding: 28px; }
.review .stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
.review p { color: var(--white); font-size: 16px; font-style: italic; }
.review .who { margin-top: 16px; font-family: "Montserrat", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; color: var(--muted); font-style: normal; }
.rating-line { margin-top: 26px; font-family: "Montserrat", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--steel); font-size: 13px; }
.rating-line b { color: var(--gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-row .k { font-family: "Montserrat", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; color: var(--gold); min-width: 110px; padding-top: 3px; }
.info-row .v { color: var(--white); }
.hours { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.hours td:first-child { color: var(--muted); }
.hours td:last-child { text-align: right; color: var(--white); font-variant-numeric: tabular-nums; }
.map-frame { border-radius: 6px; overflow: hidden; border: 1px solid var(--border); height: 100%; min-height: 360px; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 360px; }
.whatsapp-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  background: var(--gold); color: var(--void); font-family: "Montserrat", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; padding: 16px 28px; border-radius: 2px; transition: .15s;
}
.whatsapp-cta svg { width: 18px; height: 18px; }
.whatsapp-cta:hover { background: var(--gold-hi); transform: translateY(-2px); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(32px, 6vw, 60px); margin-bottom: 18px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; color: var(--white); }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #030303; border-top: 1px solid var(--border); padding-block: 50px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand .brand-name { font-size: 20px; }
.footer-tag { margin-top: 14px; max-width: 300px; font-size: 15px; }
.footer-col h4 { font-family: "Montserrat", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white); font-size: 13px; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 15px; color: var(--muted); margin-bottom: 9px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--steel); }
.credit { color: var(--steel); }
.credit:hover { color: var(--gold); }

/* ---------- Scroll reveal (visible by default; only animates when JS is active) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }
