/* Northlane Men's Health & Aesthetics — demo clinic site.
   Fictional practice. Dependency-free: no build step, no framework, no CDN. */

:root {
  --ink: #0d1520;
  --ink-2: #16212f;
  --ink-3: #1f2d3d;
  --line: #2a3a4d;
  --paper: #f7f8fa;
  --paper-2: #ffffff;
  --body: #46586d;
  --head: #0d1520;
  --accent: #c2703a;
  --accent-2: #a85c2c;
  --ok: #2f7d63;
  --radius: 10px;
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--head); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent-2); }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .74rem;
  font-weight: 700; color: var(--accent); margin: 0 0 .8rem;
}

/* ---------- demo ribbon ---------- */
.ribbon {
  background: #1c2b3a; color: #cfe0f0; font-size: .8rem; text-align: center;
  padding: 7px 16px; letter-spacing: .01em; border-bottom: 1px solid #2c4055;
}
.ribbon strong { color: #fff; }
.ribbon a { color: #8fc4ff; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,21,32,.97); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}
.bar { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.mark {
  width: 32px; height: 32px; border-radius: 7px; flex: 0 0 auto;
  background: linear-gradient(150deg, var(--accent) 0%, #8d4a22 100%);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
}
.brand b { color: #fff; font-size: 1.06rem; letter-spacing: -.02em; }
.brand span { color: #7f95ad; font-size: .68rem; display: block; letter-spacing: .12em; text-transform: uppercase; margin-top: -2px; }
nav.main { display: flex; gap: 22px; }
nav.main a { color: #b9cbdd; text-decoration: none; font-size: .93rem; font-weight: 500; }
nav.main a:hover, nav.main a[aria-current] { color: #fff; }
.callbox { display: flex; align-items: center; gap: 14px; }
.callbox .tel { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.callbox .tel small { display: block; color: #7f95ad; font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 11px 20px; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer; transition: background .15s ease; white-space: nowrap;
}
.btn:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: #cfdcea; }
.btn.ghost:hover { background: #1c2b3a; }
.btn.lg { padding: 14px 28px; font-size: 1.02rem; }
.btn.wide { width: 100%; text-align: center; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #c4d3e2; padding: 78px 0 88px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { font-size: 1.18rem; max-width: 54ch; color: #a8bccf; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero .reassure { margin-top: 26px; font-size: .9rem; color: #7f95ad; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 54px; align-items: center; }
.card-quote {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
}
.card-quote .row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed #2a3a4d; font-size: .95rem; }
.card-quote .row:last-of-type { border-bottom: 0; }
.card-quote .row b { color: #fff; font-weight: 600; }
.card-quote .row span { color: #93a9bf; text-align: right; }
.card-quote h3 { color: #fff; margin-bottom: 4px; }
.card-quote .fine { font-size: .8rem; color: #7f95ad; margin: 14px 0 0; }

/* ---------- sections ---------- */
section { padding: 74px 0; }
section.tint { background: var(--paper-2); border-block: 1px solid #e6eaf0; }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper-2); border: 1px solid #e2e7ee; border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
}
section.tint .card { background: var(--paper); }
.card .price { color: var(--head); font-weight: 700; font-size: 1.02rem; margin: 2px 0 10px; }
.card .price small { font-weight: 500; color: var(--body); font-size: .84rem; }
.card p { font-size: .95rem; margin-bottom: 14px; }
.card ul { margin: 0 0 16px; padding-left: 18px; font-size: .92rem; }
.card li { margin-bottom: 5px; }
.card .more { margin-top: auto; font-weight: 600; font-size: .92rem; text-decoration: none; }

.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -14px; left: 26px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}

.loc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.loc .card h3 { margin-bottom: 4px; }
.loc .card .addr { font-size: .92rem; color: var(--body); margin-bottom: 10px; }

/* ---------- band ---------- */
.band { background: var(--ink); color: #b9cbdd; text-align: center; padding: 62px 0; }
.band h2 { color: #fff; }
.band p { max-width: 56ch; margin-inline: auto; color: #a8bccf; }
.band .cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- form ---------- */
.form-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
form.lead { background: var(--paper-2); border: 1px solid #e2e7ee; border-radius: 14px; padding: 30px; }
form.lead label { display: block; font-weight: 600; font-size: .88rem; color: var(--head); margin: 0 0 6px; }
form.lead .field { margin-bottom: 17px; }
form.lead input, form.lead select, form.lead textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d3dae4; border-radius: 8px;
  font: inherit; font-size: .96rem; color: var(--head); background: #fff;
}
form.lead input:focus, form.lead select:focus, form.lead textarea:focus {
  outline: 2px solid rgba(194,112,58,.35); border-color: var(--accent);
}
form.lead textarea { min-height: 96px; resize: vertical; }
form.lead .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--body); }
form.lead .consent input { width: auto; margin-top: 3px; flex: 0 0 auto; }
.form-note { font-size: .82rem; color: #74869c; margin-top: 14px; }
.form-msg { margin-top: 14px; padding: 13px 15px; border-radius: 8px; font-size: .93rem; display: none; }
.form-msg.ok { display: block; background: #e8f5ef; border: 1px solid #b9dfcf; color: #1d6049; }
.form-msg.err { display: block; background: #fdecec; border: 1px solid #f3c4c4; color: #a52c2c; }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: #8ba1b8; padding: 52px 0 34px; font-size: .9rem; }
footer.site h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
footer.site a { color: #b9cbdd; text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.legal { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 22px; font-size: .8rem; color: #6d829a; }

@media (max-width: 900px) {
  .hero-grid, .form-grid { grid-template-columns: 1fr; gap: 34px; }
  .g3, .g2, .loc { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; }
  .callbox .btn { display: none; }
}
