:root {
  --ink: #111;
  --bg: #fff;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --alt: #f6f6f6;
  --accent: #111;          /* brand is monochrome; swap to a color later */
  --purple: #8e5bd1;       /* nods to the purple tile in the social art */
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
a { color: inherit; }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(6px); z-index: 10;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 72px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; }
.nav-links a { text-decoration: none; font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  text-decoration: none; padding: .7rem 1.1rem; border-radius: var(--radius);
  border: 2px solid var(--accent); font-weight: 600; cursor: pointer;
}
.btn-sm { padding: .4rem .8rem; font-size: .85rem; }
.btn-lg { padding: .9rem 1.4rem; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn:hover { opacity: .9; }
/* On the dark hero, buttons need light treatment */
.hero .btn { background: #fff; color: #111; border-color: #fff; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }

/* Hero — real customer build-out behind a dark scrim so text stays legible */
.hero {
  padding: 6.5rem 1.25rem; border-bottom: 1px solid var(--line); color: #fff;
  background:
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.8) 100%),
    url("/images/hero/hero-gym.jpg") center / cover no-repeat;
}
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: #d9d9d9; margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.25rem); margin: 0 0 1rem; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero h1 em { color: #c9a3f0; font-style: italic; }
.lede { font-size: 1.15rem; color: #eee; max-width: 600px; margin: 0 auto 1.75rem; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { max-width: 1040px; margin: 0 auto; padding: 4rem 1.25rem; }
.section-alt { background: var(--alt); max-width: none; }
.section-alt > h2, .section-alt > .gallery, .section-alt > .contact-wrap { max-width: 1040px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: 1.8rem; margin: 0 0 1.75rem; text-align: center; }
.section h2:has(+ .section-sub) { margin-bottom: .5rem; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 1.75rem; max-width: 560px; }

.grid { display: grid; gap: 1rem; }
.services { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; }
.card h3 { margin: 0 0 .5rem; }
.card p { margin: 0; color: var(--muted); }

/* Service steps (Design → Rendering → Purchasing → Installation) */
.card.step { position: relative; padding-top: 1.6rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem;
  margin-bottom: .6rem;
}
.card.step h3 { font-size: 1.15rem; }

/* Before & After transformations — one full-width pair per row */
.transformations { display: grid; gap: 1.5rem; }
.transformation { margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.transformation img { width: 100%; height: auto; display: block; }

/* Gallery */
.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; display: block; }

/* About */
.about { text-align: center; }
.big-quote { font-size: clamp(1.4rem, 4vw, 2.1rem); font-weight: 600; max-width: 720px; margin: 0 auto; }

/* Contact */
.contact-wrap { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr; align-items: start; }
.lead-form { display: grid; gap: 1rem; }
.lead-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.lead-form input, .lead-form textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid #ccc; border-radius: 10px; width: 100%;
}
.lead-form button { justify-self: start; }
.contact-direct h3 { margin-top: 0; }
.contact-direct a { font-weight: 600; }
.muted { color: var(--muted); font-size: .9rem; }

.alert { max-width: 1040px; margin: 0 auto 1.5rem; padding: .9rem 1.1rem; border-radius: 10px; }
.alert-ok { background: #e7f6ec; border: 1px solid #b6e0c4; }
.alert-err { background: #fdecec; border: 1px solid #f3bcbc; }

/* Footer */
.footer { text-align: center; padding: 2.5rem 1rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; }

@media (max-width: 720px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
