/* =========================================================
   Total Recall Hair Systems — modern shared stylesheet
   Design: warm, elegant, professional hair-studio aesthetic
   ========================================================= */

:root {
  --ink: #2b2b2b;
  --ink-soft: #55585e;
  --brand: #9a6b3f;        /* warm copper */
  --brand-dark: #7c5530;
  --brand-light: #c99a6a;
  --cream: #faf6f0;        /* soft warm background */
  --cream-2: #f3ece2;
  --white: #ffffff;
  --line: #e7ded1;
  --shadow: 0 10px 30px rgba(90, 60, 30, 0.08);
  --radius: 14px;
  --maxw: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 0.6em;
}
h1 { font-size: 2.4rem; letter-spacing: -0.02em; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.4rem;
  display: block;
}

.section-title { text-align: center; margin-bottom: 2.2rem; }
.section-title h2 { margin-bottom: 0.2rem; }
.section-title p.lead { max-width: 720px; margin: 0 auto; color: var(--ink-soft); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(90,60,30,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 150px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; color: var(--ink); letter-spacing: 0.01em; }
.brand-text span { font-size: 0.72rem; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { text-decoration: none; color: var(--brand-dark); border-bottom-color: var(--brand); }
.main-nav a.active { color: var(--brand-dark); border-bottom-color: var(--brand); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 30px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--brand-dark); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201,154,106,0.25), transparent 60%),
    linear-gradient(160deg, #fdfaf5 0%, var(--cream-2) 100%);
  padding: 70px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: 2.9rem; }
.hero .hsub { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.hero-badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.6rem; }
.hero-badges li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.hero-media { text-align: center; }
.hero-media .photos { display: flex; gap: 18px; justify-content: center; }
.hero-media figure { margin: 0; }
.hero-media figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; font-weight: 600; }

.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--brand); color: var(--brand-dark); background: transparent; }
.btn-ghost:hover { background: var(--brand-light); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-alt { background: var(--white); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0.4rem; }
.card .icon { font-size: 1.9rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.4rem; }
.card a.more { font-weight: 700; font-size: 0.9rem; }

/* Feature / two-col */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

/* Before/after */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ba-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ba-card img { width: 100%; object-fit: cover; }
.ba-card .cap { padding: 14px 18px; font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { text-align: center; padding: 22px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step .num {
  width: 46px; height: 46px; line-height: 46px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 1.1rem;
}
.step h4 { margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq-item details > summary { cursor: pointer; font-weight: 700; }
.faq-item details p { color: var(--ink-soft); margin-top: 10px; margin-bottom: 0; }

/* Contact / info strip */
.info-strip {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 44px 20px;
  border-radius: var(--radius);
}
.info-strip h2 { color: #fff; }
.info-strip .phone { font-size: 1.6rem; font-weight: 700; display: block; margin: 6px 0; }
.info-strip p { margin-bottom: 0.4rem; }
.info-strip .btn-primary { background: #fff; color: var(--brand-dark); }
.info-strip .btn-primary:hover { background: var(--cream-2); }

/* ---------- Page content ---------- */
.page-hero { background: linear-gradient(160deg, #fdfaf5, var(--cream-2)); padding: 46px 0 30px; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 10px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span.sep { margin: 0 6px; }
.page-body { padding: 46px 0 60px; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose blockquote {
  margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--brand);
  background: var(--cream-2); border-radius: 0 10px 10px 0; font-style: italic;
}

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.detail-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.detail-card h3 { margin-bottom: 0.4rem; }
.detail-card p { color: var(--ink-soft); margin-bottom: 0.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: #221b12; color: #cfc4b2; padding: 48px 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 34px; }
.site-footer h4 { color: #fff; margin-bottom: 0.8rem; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfc4b2; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.85rem; text-align: center; color: #8f8572; }
.footer-bottom a { color: #cfa66b; }

/* Studio notes (home aside) */
.studio-note {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow);
}
.studio-note p { color: var(--ink-soft); margin: 0; }

/* Map placeholder */
.mapbox {
  background: var(--cream-2);
  border: 1px dashed var(--brand-light);
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-badges, .buttons { justify-content: center; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--cream-2); }
  .main-nav a.active { border-bottom-color: var(--brand); }
}

@media (max-width: 560px) {
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.1rem; }
  .card-grid, .steps, .ba-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text { display: none; }
}
