/* =========================================================
   Beauty Directors Club — Single Landing Page (lead-gen replica)
   Brand: Susan Routledge / BDC
   Palette: #00254D deep navy · #003D80 navy blue · #CDB775 gold
            #494747 dark grey · #EDEDED page bg · #FFFFFF surface
   Type:    Playfair Display (display) + Montserrat (body)
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  --c-navy-deep: #00254D;
  --c-navy: #003D80;
  --c-navy-dark: #001a3a;
  --c-gold: #CDB775;
  --c-gold-dark: #b69d57;
  --c-ink: #494747;
  --c-ink-soft: #4B4B4B;
  --c-bg: #EDEDED;
  --c-surface: #ffffff;
  --c-tint: #F5F5F5;
  --c-line: #e2e2e2;

  --ff-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-base: 16px;
  --fs-lede: 1.0625rem;
  --fs-h1: clamp(2.25rem, 4.5vw, 3.5rem);
  --fs-h2: clamp(1.875rem, 3.8vw, 3.25rem);

  --maxw: 1200px;
  --maxw-narrow: 920px;
  --gutter: 1.25rem;

  --r-sm: 4px;
  --r-md: 6px;

  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 28px rgba(0, 37, 77, 0.15);
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-ink-soft);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-navy-dark); }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: static; left: auto; width: auto; height: auto;
  padding: .5rem 1rem; background: var(--c-navy-deep); color: #fff;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: var(--maxw-narrow); }
.text-center { text-align: center; }

.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-light { background: var(--c-surface); }
.section-tint { background: var(--c-bg); }
.section-head { margin-bottom: 2.75rem; }

/* ---------- TYPOGRAPHY ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0 0 1rem;
  color: var(--c-ink);
}
h1.display { font-size: var(--fs-h1); }
h2.display { font-size: var(--fs-h2); }
.display em {
  font-style: italic;
  font-weight: 700;
}
.display.invert, .display.invert em { color: #fff; }

.eyebrow {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--c-ink);
  margin: 0 0 1.5rem;
}
.eyebrow-lg {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  color: var(--c-ink);
  margin: 0 0 2.5rem;
  text-align: center;
}

.tagline {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--c-ink-soft);
  margin: 0 0 .5rem;
  letter-spacing: .01em;
  position: relative;
  display: inline-block;
}
.tagline .pipe { color: var(--c-ink-soft); margin: 0 .35em; }
.tagline-divider {
  width: 50px;
  height: 3px;
  background: var(--c-navy-deep);
  margin: .25rem auto 1.75rem;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.75;
  color: var(--c-ink-soft);
  margin: 0 0 2rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  letter-spacing: .02em;
  padding: .85rem 1.75rem;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
  text-decoration: none;
  font-size: .9375rem;
  line-height: 1.2;
  text-align: center;
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-gold {
  background: var(--c-gold);
  color: #fff;
  border-color: var(--c-gold);
}
.btn-gold:hover {
  background: var(--c-gold-dark);
  border-color: var(--c-gold-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(205, 183, 117, 0.45);
}
.btn-navy {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}
.btn-navy:hover {
  background: var(--c-navy-dark);
  border-color: var(--c-navy-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 37, 77, 0.35);
}
.btn-outline {
  background: var(--c-gold);
  color: #fff;
  border-color: var(--c-gold);
  padding: .55rem 1.5rem;
  font-size: .8125rem;
}
.btn-outline:hover { background: var(--c-gold-dark); border-color: var(--c-gold-dark); color: #fff; }

.btn-icon::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 002 2h14c1.1 0 2-.9 2-2V6a2 2 0 00-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------- HEADER ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  padding-bottom: .85rem;
  gap: 1rem;
}
.brand img {
  height: clamp(38px, 5.5vw, 56px);
  width: auto;
}

/* ---------- HERO ---------- */
.hero {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 540px;
}
.hero-text {
  background: var(--c-navy-deep);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.hero-text .display {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.hero-text .display strong {
  display: block;
  font-weight: 700;
}
.hero-sub {
  color: rgba(255,255,255,0.92);
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.hero-ctas .btn {
  width: 100%;
  text-align: center;
}
@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-ctas .btn {
    flex: 1 1 0;
    min-width: 180px;
    width: auto;
  }
}
.hero-image {
  background: #f5f5f5 center / cover no-repeat;
  background-image: url("assets/images/hero-salon.jpeg");
  min-height: 320px;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 5fr 7fr;
    min-height: 620px;
  }
  .hero-text {
    padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 4.5rem);
  }
}

/* ---------- "EVERYTHING YOU NEED" ---------- */
.section-grow { padding-bottom: clamp(2rem, 5vw, 4rem); }
.section-grow .display { color: var(--c-ink); margin-bottom: .75rem; }

/* ---------- BENEFITS ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
.benefit-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.benefit-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f5f5f5 center / cover no-repeat;
}
.benefit-body {
  padding: 1.5rem 1.5rem 1.75rem;
}
.benefit-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--c-navy);
  margin: 0 0 .65rem;
  line-height: 1.25;
}
.benefit-card p { margin: 0; font-size: .9375rem; color: var(--c-ink-soft); line-height: 1.65; }

.badge-new {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  background: var(--c-gold);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .65rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* ---------- CTA STRIPS ---------- */
.cta-strip {
  background: var(--c-navy-deep);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
}
.cta-strip .display {
  color: #fff;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.cta-strip-final {
  background: var(--c-navy-deep);
}

/* ---------- QUALIFY (lists left, founder image right) ---------- */
.qualify-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .qualify-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}
.qualify-text { display: flex; flex-direction: column; gap: 2.5rem; }
.qualify-block .display {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  margin-bottom: 1.25rem;
  color: var(--c-navy);
}
.qualify-image {
  max-width: 280px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .qualify-image {
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.qualify-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  /* shrink ~25% to stop Susan dominating the section */
  max-height: 720px;
  border-radius: var(--r-md);
}
@media (max-width: 899px) {
  .qualify-image img { max-height: 480px; }
}
.check-list li,
.cross-list li {
  position: relative;
  padding: .55rem 0 .55rem 1.85rem;
  font-size: 1.15rem;
  color: var(--c-ink-soft);
  line-height: 1.55;
}
.check-list li::before,
.cross-list li::before {
  position: absolute;
  left: 0; top: .6rem;
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--c-gold);
}
.check-list li::before { content: "✓"; }
.cross-list li::before { content: "✓"; }

/* ---------- DESERVE BANNER (between qualify & founder) ---------- */
.deserve-banner {
  background: var(--c-navy-deep);
  color: #fff;
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  text-align: center;
}
.deserve-banner .display {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0;
}
.deserve-banner .display em { color: var(--c-gold); }

/* (founder section removed — image now lives inside .qualify-image) */
/* (founder-image / founder-quote removed; replaced by .qualify-image) */

/* ---------- OFFER ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
}
.offer-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.offer-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--c-gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.offer-card .benefit-title { color: var(--c-navy); margin-bottom: .5rem; }

.offer-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ---------- HUB ---------- */
.hub-diagram {
  margin: 2.5rem auto;
  max-width: 480px;
}
.hub-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
.hub-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-top: 2rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--c-ink-soft);
  text-align: center;
}
.hub-pillars li {
  padding: .5rem 0;
}
@media (min-width: 640px) {
  .hub-pillars { grid-template-columns: repeat(2, 1fr); gap: .5rem 2rem; }
}

/* ---------- POLICY PAGES (privacy / cookie) ---------- */
.policy-page {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}
.policy-page .container {
  max-width: 780px;
}
.policy-head {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line);
}
.policy-head .display { margin-bottom: .5rem; }
.policy-meta {
  margin: 0;
  font-size: .875rem;
  color: var(--c-ink-soft);
}
.policy-section { margin-bottom: 2.5rem; }
.policy-section h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--c-navy);
  margin: 0 0 .85rem;
  line-height: 1.3;
}
.policy-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
  margin: 0 0 1em;
}
.policy-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0 0 1em;
}
.policy-list li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-ink-soft);
  margin-bottom: .35rem;
}
.policy-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.policy-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .9375rem;
}
.policy-table th,
.policy-table td {
  text-align: left;
  padding: .75rem .85rem;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.policy-table thead th {
  background: var(--c-bg);
  color: var(--c-ink);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.policy-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .85em;
  background: var(--c-bg);
  padding: .15em .4em;
  border-radius: 3px;
}
.policy-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  font-size: .9375rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #1a1a1a;
  color: #b0b0b0;
  padding: 2.5rem 0 2rem;
  font-size: .875rem;
}
.footer-inner { text-align: center; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin: 0 0 1rem;
}
.footer-nav a { color: var(--c-gold); }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0; color: #888; font-size: .8125rem; }

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 100;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--c-navy-dark); color: #fff; transform: translateY(-2px); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
