/* ============================================================
   "Locker room" design system — energetic, high-contrast gym look.
   Near-black green ground · thick blunt edges · electric-lime accent.
   Angled buttons, blocky numerals, poster-weight type. Deliberately
   NOT the garage's thin hairline/amber instrument-panel language.
   ============================================================ */

:root {
  --bg: #071108;
  --bg-raised: #0E1F13;
  --bg-hover: #15321C;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(196, 255, 61, 0.5);
  --accent: #C4FF3D;
  --accent-ink: #0A1406;
  --text: #FFFFFF;
  --subtext: #A9C2AE;
  --wa: #25D366;
  --wa-ink: #06220F;
  --font-display: "Changa", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --radius: 0px;
  --container: 1180px;
  --skew: -6deg;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  counter-reset: sec;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.25rem);
}

/* diagonal energy texture — replaces the garage's graph-paper grid */
.graph-bg {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(196, 255, 61, 0.05) 0 2px,
    transparent 2px 26px
  );
}

/* ---------- demo badge ---------- */
.demo-badge {
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.4em 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 17, 8, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--accent);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.mono {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: var(--radius);
  padding: 0.2em 0.55em;
  line-height: 1.6;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.3; }
.brand-txt b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; }
.brand-txt small { color: var(--subtext); font-size: 0.72rem; }
.site-nav { display: none; margin-inline-start: auto; gap: 1.9rem; }
.site-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--subtext);
  transition: color 140ms ease;
}
.site-nav a:hover { color: var(--accent); }
.site-header .btn-sm { margin-inline-start: auto; }
@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header .btn-sm { margin-inline-start: 0; }
}

/* ---------- buttons — angled, blunt, loud ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.8em 1.7em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transform: skewX(var(--skew));
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.btn > * { transform: skewX(calc(-1 * var(--skew))); }
.btn:hover { transform: skewX(var(--skew)) translateY(-2px); }
.btn .ic { width: 1.2em; height: 1.2em; flex: none; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #2fe273; }
.btn-ghost { border-color: var(--accent); color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn-sm { font-size: 0.85rem; padding: 0.55em 1.1em; }
.btn-lg { font-size: 1.2rem; padding: 0.9em 2.3em; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(96svh, 880px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
  filter: contrast(1.08) saturate(0.85);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 6%, rgba(7,17,8,0.78) 36%, rgba(7,17,8,0.2) 62%, rgba(7,17,8,0.6) 100%);
}
@media (min-width: 900px) {
  .hero-scrim {
    background:
      linear-gradient(to top, var(--bg) 4%, rgba(7,17,8,0.6) 32%, rgba(7,17,8,0.1) 60%, rgba(7,17,8,0.55) 100%),
      linear-gradient(to left, rgba(7,17,8,0.8) 0%, rgba(7,17,8,0.3) 45%, transparent 70%);
  }
}
.hero-curve { display: none; }
.hero::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, transparent 14px 28px);
  z-index: 1;
}
.hero-content {
  position: relative;
  width: 100%;
  padding-block: clamp(3.5rem, 9vw, 6rem);
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
  direction: ltr;
  text-align: end;
}
.sec-head .eyebrow::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero) " / ";
  color: var(--subtext);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9.5vw, 4.6rem);
  line-height: 1.08;
  margin-block: 0.3em 0.25em;
  white-space: pre-line;
  max-width: 13ch;
  text-transform: uppercase;
}
.hero-sub {
  color: var(--subtext);
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  max-width: 50ch;
  margin-block-end: 1.75rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block-start: 2rem;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.32em 0.9em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(7, 17, 8, 0.6);
}
.chips li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.sec-alt { background: var(--bg-raised); border-block: 3px solid var(--bg-hover); }
.sec-head { margin-block-end: clamp(2rem, 5vw, 3rem); max-width: 62ch; }
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 5.5vw, 2.6rem);
  line-height: 1.15;
  margin-block-start: 0.3em;
  text-transform: uppercase;
}
.sec-sub { color: var(--subtext); margin-block-start: 0.4em; font-weight: 500; }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  background: var(--bg-hover);
  border: 3px solid var(--bg-hover);
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: var(--bg);
  padding: clamp(1.4rem, 3.5vw, 1.85rem);
  position: relative;
  border-inline-start: 5px solid var(--accent);
  transition: background 140ms ease, color 140ms ease;
}
.sec-alt .svc-card { background: var(--bg-raised); }
.svc-card:hover { background: var(--accent); color: var(--accent-ink); }
.svc-card:hover .card-ic { color: var(--accent-ink); }
.svc-card:hover .svc-en,
.svc-card:hover p { color: var(--accent-ink); opacity: 0.75; }
.svc-card::before { content: none; }
.card-ic { width: 30px; height: 30px; color: var(--accent); margin-block-end: 1rem; }
.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.35;
}
.svc-en {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtext);
  margin-block: 0.15em 0.75em;
  text-align: start;
}
.svc-card p { color: var(--subtext); font-size: 0.95rem; font-weight: 500; }

/* ---------- process ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2rem);
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: none; padding-block-start: 0; }
.step-n {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.3em 0.55em;
  text-align: center;
  margin-block-end: 0.75rem;
  transform: skewX(var(--skew));
}
@supports not (-webkit-text-stroke: 1px black) {
  .step-n { color: var(--accent-ink); }
}
.steps h3 { font-size: 1.08rem; font-weight: 800; margin-block-end: 0.25em; text-transform: uppercase; }
.steps p { color: var(--subtext); font-size: 0.92rem; font-weight: 500; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.gallery-grid figure { position: relative; overflow: hidden; border: none; border-radius: var(--radius); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; filter: contrast(1.08) saturate(0.85); }
.gallery-grid figure:first-child,
.gallery-grid figure:last-child { grid-column: 1 / -1; }
.gallery-grid figure:first-child img,
.gallery-grid figure:last-child img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-grid figure:last-child { grid-column: auto; }
  .gallery-grid figure:first-child img { aspect-ratio: auto; }
  .gallery-grid figure:last-child img { aspect-ratio: 4 / 3; }
}
.gallery-grid figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem 1rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: linear-gradient(to top, rgba(3, 8, 4, 0.92), transparent);
}

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3.5vw, 2rem);
}
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-item { border-inline-start: 5px solid var(--accent); padding-inline-start: 1.15rem; background: var(--bg-raised); padding: 1.25rem 1.25rem 1.25rem 1.4rem; }
.why-item h3 { font-size: 1.1rem; font-weight: 800; margin-block-end: 0.25em; text-transform: uppercase; }
.why-item p { color: var(--subtext); font-size: 0.95rem; font-weight: 500; }

/* ---------- location ---------- */
.loc-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 3px solid var(--bg-hover);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 800px) { .loc-card { grid-template-columns: 1.15fr 1fr; } }
.loc-info { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.4rem; align-content: start; }
.loc-row { display: grid; gap: 0.3rem; border-bottom: 1px solid var(--line); padding-block-end: 1.1rem; }
.loc-row:last-child { border-bottom: 0; padding-block-end: 0; }
.loc-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}
.hours-row { display: flex; justify-content: space-between; gap: 1rem; color: var(--subtext); font-weight: 500; }
.hours-row span:last-child { color: var(--text); font-weight: 700; }
.hours-note { color: var(--subtext); font-size: 0.85rem; margin-block-start: 0.4rem; }
.phone-link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  display: inline-block;
  text-align: end;
}
.phone-link:hover { color: var(--accent); }
.loc-map {
  border-inline-start: 3px solid var(--bg-hover);
  background-color: var(--bg-raised);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 260px;
  padding: 2rem;
}
.loc-map .pin { width: 56px; height: 56px; color: var(--accent); }
@media (max-width: 799px) { .loc-map { border-inline-start: 0; border-top: 3px solid var(--bg-hover); } }

/* ---------- CTA band ---------- */
.cta-band {
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
  text-align: center;
  padding: clamp(2.25rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  text-transform: uppercase;
}
.cta-band p {
  color: var(--subtext);
  font-weight: 500;
  max-width: 46ch;
  margin: 0.5em auto 1.75em;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 3px solid var(--accent);
  background: var(--bg);
  padding-block: clamp(2.5rem, 6vw, 3.5rem) 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-block-end: 2rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
.footer-brand { display: flex; gap: 0.9rem; align-items: flex-start; }
.footer-brand b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; }
.footer-note { color: var(--subtext); font-size: 0.88rem; margin-block-start: 0.3em; }
.socials { list-style: none; display: grid; gap: 0.5rem; align-content: start; }
.socials a {
  color: var(--subtext);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 140ms ease;
}
.socials a:hover { color: var(--accent); }
@media (min-width: 720px) { .socials { text-align: end; } }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block-start: 1.25rem;
  color: var(--subtext);
  font-size: 0.8rem;
}

/* ---------- mobile bottom bar ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px;
  background: var(--bg-hover);
  border-top: 3px solid var(--accent);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1em;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
}
.mobile-bar .ic { width: 1.3em; height: 1.3em; }
.mb-wa { background: var(--wa); color: var(--wa-ink); }
.mb-call { background: var(--bg-raised); color: var(--accent); padding-inline: 1.4em; }
body { padding-bottom: 3.6rem; }
@media (min-width: 768px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}
