/* =========================================================
   BarberChamp — shared styles
   Base styles below are the homepage's original CSS, moved
   here unchanged so every page renders identically. New
   component styles (pricing, FAQ, pitch/loop) are appended
   in the "PAGE COMPONENTS" section at the bottom.
   ========================================================= */

:root {
  --bg: #f7f8fa;          /* page background (light) */
  --bg-2: #ffffff;        /* cards / surfaces */
  --bg-3: #eef1f6;        /* subtle alt / hover */
  --ink: #1a2230;         /* dark slate zones: nav, hero, footer */
  --ink-2: #243145;       /* slate, elevated */
  --blue: #2563eb;        /* electric blue accent */
  --blue-bright: #3b82f6; /* accent hover */
  --blue-on-dark: #7aa9ff;/* accent on dark slate */
  --text: #1a2230;        /* primary text on light */
  --text-mute: #64748b;   /* muted text on light */
  --on-dark: #eaf0f8;     /* text on dark slate */
  --on-dark-mute: #9fb2cc;/* muted text on dark slate */
  --border: #e3e7ee;      /* light border */
  --border-dark: #2c3a52; /* border within slate zones */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* offset in-page anchor jumps for the sticky nav */
#what, #example, #contact { scroll-margin-top: 88px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--blue); }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 34, 48, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 16px 0;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--on-dark); }
.logo span { color: var(--blue-on-dark); }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--on-dark-mute); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-on-dark); }
.nav-cta {
  background: var(--blue); color: #fff;
  padding: 10px 20px; border-radius: 4px;
  font-weight: 600; font-size: 14px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-bright); }
/* hamburger hidden on desktop; checkbox never shown */
.nav-toggle { display: none; }
.nav-burger { display: none; }

@media (max-width: 768px) {
  .nav-cta { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 28px; height: 44px; cursor: pointer; margin-left: auto;
  }
  .nav-burger span {
    display: block; height: 2px; width: 24px;
    background: var(--on-dark); border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--border-dark);
    padding: 8px 0;
  }
  .nav-links a { padding: 14px 24px; font-size: 16px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  /* burger morphs into an X when open */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* HERO */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  color: var(--on-dark);
  background:
    linear-gradient(135deg, rgba(20,28,42,0.95), rgba(20,28,42,0.62)),
    url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
}
.hero-content { padding: 60px 0; max-width: 760px; }
.eyebrow {
  color: var(--blue); font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 24px;
}
.hero .eyebrow { color: var(--blue-on-dark); }
.hero h1 {
  font-size: clamp(44px, 7.5vw, 82px);
  font-weight: 800; line-height: 1.04; margin-bottom: 24px;
}
.hero .tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--on-dark-mute); max-width: 600px; margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 24px; font-size: 14px; color: var(--on-dark-mute); }
.hero-loop {
  margin-bottom: 36px; max-width: 600px;
  font-size: clamp(15px, 1.7vw, 17px); line-height: 1.6;
  color: var(--on-dark); font-weight: 500;
  border-left: 3px solid var(--blue); padding-left: 16px;
}
.btn {
  display: inline-block; padding: 16px 32px;
  font-weight: 600; font-size: 15px; border-radius: 4px;
  cursor: pointer; transition: all 0.2s;
  border: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--on-dark);
  border: 1px solid rgba(255,255,255,0.32);
}
.btn-secondary:hover { border-color: var(--blue-on-dark); color: var(--blue-on-dark); }

/* SECTION */
section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 16px; }
.section-head p { color: var(--text-mute); max-width: 620px; margin: 0 auto; font-size: 17px; }

/* WHAT WE DO */
.what { background: var(--bg-3); }
.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.what-card {
  background: var(--bg-2);
  padding: 36px 32px;
  transition: background 0.2s;
}
.what-card:hover { background: var(--bg-3); }
.what-card .num {
  color: var(--blue); font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600; margin-bottom: 14px;
}
.what-card .name {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600; margin-bottom: 8px;
}
.what-card .desc { color: var(--text-mute); font-size: 15px; }
.what-card .feeds {
  margin-top: 16px; font-size: 13px; font-weight: 600;
  color: var(--blue); letter-spacing: 0.2px;
}

/* EXAMPLE */
.example { background: var(--bg-3); }
.example-label {
  max-width: 920px; margin: 0 auto 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.example-label .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff;
  padding: 5px 11px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.08em;
}
.example-label .badge .live {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
}
.example-frame {
  max-width: 920px; margin: 0 auto;
  border: 2px solid var(--blue); border-radius: 10px;
  overflow: hidden; background: var(--ink);
}
.example-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border-dark);
  background: var(--ink);
}
.example-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #3a4150; }
.example-bar .url {
  margin-left: 12px; font-size: 13px; color: var(--on-dark-mute);
  font-family: 'Inter', sans-serif;
}
.example-frame iframe {
  width: 100%; height: 560px; border: 0; display: block; background: #fff;
}
.example-cta { text-align: center; margin-top: 36px; }

/* CONTACT */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; margin-bottom: 16px;
}
.contact-info p { color: var(--text-mute); margin-bottom: 32px; font-size: 16px; }
.contact-detail {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border: none; }
.contact-detail .label {
  font-size: 12px; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.15em;
  width: 70px;
}
.contact-detail .value { font-size: 17px; }
.contact-detail .value:hover { color: var(--blue); }
form {
  background: var(--bg-2); padding: 40px; border-radius: 6px;
  border: 1px solid var(--border);
}
form .field { margin-bottom: 20px; }
form label {
  display: block; font-size: 13px; color: var(--text-mute);
  margin-bottom: 8px; font-weight: 500;
}
form input, form textarea {
  width: 100%; padding: 12px 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 4px;
  font-family: inherit; font-size: 15px;
  transition: border-color 0.2s;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--blue); }
form button {
  width: 100%; padding: 16px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 4px; cursor: pointer;
  font-weight: 600; font-size: 15px;
  transition: background 0.2s;
}
form button:hover { background: var(--blue-bright); }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* FOOTER */
footer {
  background: var(--ink); border-top: 1px solid var(--border-dark);
  padding: 56px 0 30px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; margin-bottom: 36px; flex-wrap: wrap;
}
footer .logo { font-size: 26px; margin-bottom: 12px; }
footer .tagline { color: var(--on-dark-mute); font-size: 15px; max-width: 360px; }
footer .value { color: var(--on-dark); }
footer .value:hover { color: var(--blue-on-dark); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--on-dark-mute);
  flex-wrap: wrap; gap: 12px;
}

/* =========================================================
   PAGE COMPONENTS (new — used by services / faq / pitch)
   ========================================================= */

/* Shared: a lighter sub-page hero (no big photo) */
.page-hero {
  background: var(--ink);
  color: var(--on-dark);
  padding: 72px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
}
.page-hero .eyebrow { color: var(--blue-on-dark); display: block; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; line-height: 1.05; margin-bottom: 18px; }
.page-hero p { color: var(--on-dark-mute); max-width: 640px; margin: 0 auto; font-size: 18px; }

/* ---- PRICING TIERS (services.html) ---- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 880px) { .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.tier {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 30px;
  display: flex; flex-direction: column;
}
.tier.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
  position: relative;
}
.tier .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.tier .tier-name { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.tier .tier-tag { color: var(--text-mute); font-size: 14px; margin-bottom: 22px; min-height: 40px; }
.tier .tier-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.tier .tier-price .from { font-size: 13px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.12em; }
.tier .tier-price .amt { color: var(--blue); font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 800; }
.tier .tier-price .per { font-size: 16px; color: var(--text-mute); }
.tier .tier-alt { color: var(--text-mute); font-size: 13px; margin-bottom: 24px; min-height: 20px; }
.tier ul { list-style: none; margin: 0 0 28px; flex: 1; }
.tier ul li {
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; display: flex; gap: 12px; align-items: flex-start;
}
.tier ul li:last-child { border-bottom: none; }
.tier ul .check { color: var(--blue); font-weight: 700; flex-shrink: 0; }
.tier .btn { text-align: center; width: 100%; }
.tier-foot {
  text-align: center; max-width: 680px; margin: 48px auto 0;
  color: var(--text-mute); font-size: 15px; line-height: 1.7;
}
.tier-foot a { color: var(--blue); font-weight: 600; }

/* priced list items (Quick Wins à-la-carte column) */
.tier ul .li-name { flex: 1; }
.tier ul .li-name small { display: block; color: var(--text-mute); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.tier ul .li-price { color: var(--blue); font-weight: 700; white-space: nowrap; text-align: right; }
.tier ul .li-price small { display: block; color: var(--text-mute); font-weight: 500; font-size: 11.5px; }

/* dual pricing options (The Website / Total Champ) */
.price-opts { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 24px; }
.price-opt {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
}
.price-opt .opt-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 4px;
}
.price-opt .opt-amt {
  font-family: 'Playfair Display', serif; font-size: 23px; font-weight: 800; color: var(--text);
}
.price-opt .opt-amt .per {
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: var(--text-mute);
}
.price-opt .opt-note { display: block; font-size: 12.5px; color: var(--text-mute); margin-top: 4px; }

/* ---- FAQ (faq.html) ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform 0.2s;
}
.faq-item summary .icon::before,
.faq-item summary .icon::after {
  content: ''; position: absolute; background: var(--blue); border-radius: 2px;
}
.faq-item summary .icon::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.faq-item summary .icon::after { top: 2px; left: 10px; width: 2px; height: 18px; transition: opacity 0.2s; }
.faq-item[open] summary .icon::after { opacity: 0; }
.faq-item .answer { padding: 0 26px 24px; color: var(--text-mute); font-size: 16px; }
.faq-item .answer p { margin-bottom: 12px; }
.faq-item .answer p:last-child { margin-bottom: 0; }

/* ---- PITCH / LOOP (pitch.html) ---- */
.pitch-lead {
  max-width: 720px; margin: 0 auto 8px;
  font-size: 19px; color: var(--text); text-align: center; line-height: 1.7;
}
.loop-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.loop-caption { text-align: center; color: var(--text-mute); font-size: 14px; margin-top: 18px; }
.steps { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 24px 26px;
}
.step .step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.step .step-body h3 { font-size: 19px; margin-bottom: 6px; }
.step .step-body p { color: var(--text-mute); font-size: 15px; }
.cta-band { background: var(--bg-3); text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 18px; }
.cta-band p { color: var(--text-mute); max-width: 560px; margin: 0 auto 32px; font-size: 17px; }
