/* ============================================================
   Gerow Scalp Micro — site styles
   Palette (from brand guide):
     Deep Space Blue #192739  — text, primary buttons
     Powder Blue     #B0C1E8  — light section tints
     Bright Ocean    #438DC7  — accents, hovers (large elements only)
     Bright Snow     #FAFAFA  — main background
   Note: #438DC7 on white is too low-contrast for small text, so
   small links use --ocean-ink (a darker ocean) instead.
   ============================================================ */
:root {
  --navy: #192739;
  --powder: #B0C1E8;
  --ocean: #438DC7;
  --ocean-ink: #2A6A9E;
  --snow: #FAFAFA;
  --white: #ffffff;
  --tint: #EFF3FA;          /* powder blue at ~25% on white */
  --tint-deep: #E2E9F6;     /* powder blue at ~45% on white */
  --line: #DCE4F0;
  --muted: #51607A;
  --serif: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;  /* headings (Aller-style humanist sans) */
  --sans: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(25, 39, 57, .08);
  --shadow-sm: 0 4px 14px rgba(25, 39, 57, .07);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--snow);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean-ink); }
a:hover { color: var(--ocean); }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(1.9rem, 5vw, 3rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); }
h4 { margin: 1.4em 0 .4em; font-size: 1.05rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ocean-ink);
  margin-bottom: .8em;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-tint { background: var(--tint); }
.section-sm { padding: clamp(36px, 6vw, 64px) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  text-align: center;
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ocean); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { border-color: var(--ocean); color: var(--ocean-ink); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.logo-img { max-height: 48px; width: auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark-top {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 800;
  letter-spacing: .06em; color: var(--navy); text-transform: uppercase;
}
.wordmark-sub {
  font-size: .62rem; font-weight: 600; letter-spacing: .42em;
  color: var(--ocean-ink); text-transform: uppercase;
}

.main-nav { display: none; margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a, .nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 10px;
  color: var(--navy); text-decoration: none;
  font-weight: 500; font-size: .95rem;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.main-nav a:hover, .nav-sub-toggle:hover { background: var(--tint); color: var(--navy); }
.main-nav a.active { color: var(--ocean-ink); font-weight: 600; }
.caret {
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.has-sub { position: relative; }
.has-sub .sub {
  position: absolute; top: 100%; left: 0;
  min-width: 215px; margin: 6px 0 0; padding: 8px; list-style: none;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .16s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-sub .sub a { display: block; padding: 9px 12px; border-radius: 9px; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.header-phone {
  display: none; align-items: center; gap: 7px;
  font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--navy);
}
.header-phone:hover { color: var(--ocean-ink); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-toggle .bar { height: 2px; background: var(--navy); border-radius: 2px; transition: all .2s; }
body.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--snow);
  max-height: calc(100vh - 72px); overflow: auto;
  padding: 10px 20px 26px;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li > a, .mobile-nav summary {
  display: block; padding: 13px 6px;
  font-weight: 600; font-size: 1.05rem;
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--line); cursor: pointer;
}
.mobile-nav details ul { padding-left: 14px; }
.mobile-nav details li > a { font-weight: 500; font-size: 1rem; }
.mobile-nav-cta { display: grid; gap: 10px; margin-top: 18px; }

@media (min-width: 980px) {
  .main-nav { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
  .header-phone { display: inline-flex; }
  .header-cta { display: inline-block; }
}
@media (min-width: 640px) and (max-width: 979px) {
  .header-cta { display: inline-block; }
}

/* ---------- hero ---------- */
.hero { overflow: hidden; background: linear-gradient(180deg, var(--tint) 0%, var(--snow) 86%); }
.hero .wrap {
  display: grid; gap: 28px; align-items: center;
  padding-top: clamp(40px, 7vw, 84px); padding-bottom: 0;
}
.hero-copy { text-align: center; }
.hero-copy .lead { margin: 14px auto 26px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 24px 0 0; padding: 0; list-style: none;
}
.hero-badges li {
  background: var(--white); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--muted);
}
.hero-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-img { max-width: 420px; margin: 0 auto; }
.hero-img img { filter: drop-shadow(0 24px 40px rgba(25, 39, 57, .18)); border-radius: 20px 20px 0 0; }
@media (min-width: 880px) {
  .hero .wrap { grid-template-columns: 1.15fr .85fr; text-align: left; }
  .hero-copy { text-align: left; }
  .hero-copy .lead { margin-left: 0; }
  .hero-badges, .hero-cta-row { justify-content: flex-start; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--muted); font-size: .95rem; margin-bottom: .8em; }
.card .text-link { margin-top: auto; }

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--tint-deep); color: var(--navy);
  font-family: var(--serif); font-size: 1.25rem; font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 48px 18px 20px; position: relative;
  font-weight: 600; font-size: 1.02rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 20px; top: 24px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ocean-ink); border-bottom: 2px solid var(--ocean-ink);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); top: 28px; }
.faq-item summary:hover { color: var(--ocean-ink); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }
.faq-answer h4 {
  color: var(--navy); font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.faq-group { margin-bottom: 40px; }
.faq-group h2 { margin: 0 0 18px; font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
.answer-needed {
  background: #FFF7E8; border: 1px dashed #E3B45C;
  border-radius: 10px; padding: 12px 14px; color: #6B4E12;
}

/* ---------- consultation form ---------- */
.consult { background: linear-gradient(180deg, var(--snow), var(--tint)); }
.form-wrap {
  max-width: 820px; margin-top: 34px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px;
}

/* ---------- reviews ---------- */
.stars { color: #E8A33D; font-size: 1.6rem; letter-spacing: .25em; margin-bottom: 10px; }

/* ---------- video ---------- */
.video-frame {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--tint-deep);
  margin: 0 auto; max-width: 860px;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
.g-tile {
  display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.g-tile img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .25s ease;
}
.g-tile:hover img { transform: scale(1.04); }

/* ---------- before/after strip ---------- */
.ba-strip {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.ba-strip img {
  border-radius: 12px; border: 1px solid var(--line);
  aspect-ratio: 1 / 1; object-fit: cover; width: 100%;
}

/* ---------- split rows ---------- */
.split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.rev > :first-child { order: 2; }
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- team / bio ---------- */
.bio-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 26px; display: grid; gap: 20px;
}
@media (min-width: 760px) { .bio-card { grid-template-columns: 240px 1fr; align-items: start; } }
.bio-card img { border-radius: 14px; background: var(--tint); }
.bio-card h3 { margin-bottom: .2em; }
.bio-role { color: var(--ocean-ink); font-weight: 600; font-size: .88rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9em; }

.placeholder-box {
  border: 2px dashed var(--powder); border-radius: var(--radius);
  background: var(--tint); padding: 26px; color: var(--muted);
}
.placeholder-box strong { color: var(--navy); }

/* ---------- info panel (address/hours) ---------- */
.info-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 26px; display: grid; gap: 18px;
}
@media (min-width: 760px) { .info-panel { grid-template-columns: repeat(3, 1fr); } }
.info-panel h3 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ocean-ink); margin-bottom: .5em; }
.info-panel p { margin: 0; }

.map-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.map-frame iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- blog ---------- */
.post-card { composes: card; }
.post-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .card-img { display: block; }
.post-card .card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-date { color: var(--muted); font-size: .85rem; margin-bottom: .4em; }
.post-card h2 { font-size: 1.35rem; margin-bottom: .4em; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover { color: var(--ocean-ink); }

.post-hero { max-width: 820px; margin: 0 auto; }
.post-hero img { border-radius: var(--radius); box-shadow: var(--shadow); }
.post-body { max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.post-body img { border-radius: 14px; margin: 1.4em auto; box-shadow: var(--shadow-sm); }
.post-body h4 { font-size: 1.15rem; font-family: var(--serif); font-weight: 800; }
.post-body blockquote {
  border-left: 3px solid var(--powder); margin: 1.4em 0; padding: .3em 0 .3em 1.2em;
  color: var(--muted); font-style: italic;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--tint-deep);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 54px);
  text-align: center;
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }

/* ---------- misc ---------- */
.checklist { list-style: none; margin: 0 0 1em; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ocean);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 100% no-repeat;
          mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 100% no-repeat;
  background-color: var(--ocean-ink);
}

/* ---------- footer (LIGHT, per brand direction) ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-top: clamp(44px, 7vw, 72px);
}
.footer-grid { display: grid; gap: 34px; padding-bottom: 40px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-col h3 {
  font-family: var(--sans); font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ocean-ink); margin-bottom: .9em;
}
.footer-col p { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.footer-brand p { max-width: 300px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-block; padding: 3px 0;
  color: var(--muted); text-decoration: none; font-size: .95rem;
}
.footer-links a:hover { color: var(--ocean-ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px; padding-bottom: 22px;
  font-size: .88rem; color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- review quote cards ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 26px; display: flex; flex-direction: column;
}
.quote-card .stars { font-size: 1rem; letter-spacing: .18em; margin-bottom: 12px; }
.quote-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.quote-name { font-weight: 700; color: var(--navy); margin: 10px 0 0; font-size: .92rem; }
.quote-card .quote-name { flex: 0 0 auto; }
.quote-src { color: var(--muted); font-size: .8rem; margin: 0; flex: 0 0 auto; }
