/* =============================================================
   Beau Care — Stylesheet
   Pack BC: royal blue + soft gold + pearl warm
   Maintained by hand — semantic class names by design
   Last touched: 2026-05-30
   ============================================================= */

/* --- Design tokens (Pack BC) --- */
:root {
  /* Brand */
  --royal:       #1E3A8A;
  --royal-deep:  #172554;
  --gold:        #C9A86C;
  --gold-soft:   #DCC393;
  --ink:         #0F0F0F;
  --ink-warm:    #4A4A4A;
  --ink-muted:   #7C7C7C;

  /* Surfaces */
  --canvas:      #FAF8F2;   /* page background — pearl warm, NOT pure white */
  --cream:       #F3EDDF;   /* card / panel background */
  --divider:     #E8E2D2;

  /* Status */
  --good:        #15803D;
  --warn:        #B45309;
  --bad:         #B91C1C;

  /* Shape */
  --radius-card:   12px;
  --radius-button: 8px;

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', Consolas, monospace;
}

/* --- Reset / base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-warm);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--royal-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; line-height: 1.15; }
h3 { font-size: 1.75rem; line-height: 1.2; }
h4 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.5em; }
li { margin-bottom: 0.5em; }

/* --- Layout helpers --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-wide {
  /* For full-bleed sections — let content reach the viewport edges
     with just enough padding for breathing room */
  width: 100%;
  max-width: none;
  padding: 0 2.5rem;
}
.section {
  padding: 6rem 0;
}
.section-tight {
  padding: 4rem 0;
}

/* --- Availability banner --- */
.availability {
  background: var(--cream);
  border-bottom: 1px solid var(--divider);
  color: var(--royal-deep);
  text-align: center;
  font-size: 0.9375rem;
  padding: 0.625rem 1rem;
}
.availability .sun {
  color: var(--gold);
  margin-right: 0.5em;
  font-size: 1.1em;
}
.availability strong { font-weight: 600; }

/* --- Navigation --- */
.nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  /* Full-bleed nav — content reaches near the viewport edges (Sunrise pattern) */
  max-width: none;
  margin: 0;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--royal-deep);
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-brand .sun {
  color: var(--gold);
  margin-right: 0.25em;
}
.brand-logo {
  height: 160px;
  width: auto;
  display: block;
  /* PNG transparency — no blend hack needed */
}
@media (max-width: 900px) {
  .brand-logo { height: 96px; }
}
.brand-logo-footer {
  height: 72px;
  width: auto;
  display: block;
  /* Logo has cream background; on dark footer it sits as a deliberate light card */
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-warm);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--royal-deep);
  border-bottom-color: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--divider);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9375rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-button);
  font-size: 1.0625rem;
  font-weight: 500;
  padding: 0.875rem 1.75rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease;
  text-decoration: none;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--royal);
  color: white;
  border-color: var(--royal);
}
.btn-primary:hover {
  background: var(--royal-deep);
  border-color: var(--royal-deep);
  color: white;
  transform: scale(1.02);
}
.btn-secondary {
  background: transparent;
  color: var(--royal);
  border-color: var(--royal);
}
.btn-secondary:hover {
  background: var(--royal);
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--ink-warm);
  border-color: var(--divider);
  font-size: 0.9375rem;
  padding: 0.625rem 1.25rem;
}
.btn-ghost:hover {
  border-color: var(--royal);
  color: var(--royal);
}

/* --- Hero --- */
.hero {
  background: var(--canvas);
  background-image: radial-gradient(ellipse at top right, rgba(201, 168, 108, 0.14), transparent 60%);
  padding: 4rem 0 5rem;
  overflow: hidden;
  /* Take the bulk of the viewport — minus chrome (~200px) */
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  max-width: none;
  margin: 0;
  width: 100%;
  /* Left padding only — image bleeds to the right edge */
  padding: 0 0 0 2.5rem;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.hero h1 {
  font-size: 3rem;            /* 48px — client wants smaller; logo now carries more weight */
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--royal-deep);
  letter-spacing: -0.015em;
}
.hero h1 .gold-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
@media (max-width: 900px) {
  .hero h1 { font-size: 2.25rem; line-height: 1.2; }
  .hero { min-height: 0; padding: 3rem 0 4rem; }
}
.hero .lede {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-warm);
  margin-bottom: 2rem;
  max-width: 32em;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero-phone {
  color: var(--ink-warm);
  font-weight: 500;
}
.hero-phone:hover { color: var(--royal); }

/* Trust badges row — under the hero CTA */
.hero-trust {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.trust-badge {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-warm);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Nav phone CTA pill — high-conversion permanent action */
.nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--royal);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-left: 1.5rem;
  transition: background-color 200ms ease, transform 200ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-phone-pill:hover {
  background: var(--royal-deep);
  color: white;
  transform: scale(1.02);
}
.nav-phone-pill .phone-icon {
  font-size: 1em;
}
@media (max-width: 900px) {
  .nav-phone-pill { display: none; }
  /* Mobile: phone is reachable via the hero CTA + footer; nav stays uncluttered */
}
.hero-img-wrap {
  border-top-left-radius: var(--radius-card);
  border-bottom-left-radius: var(--radius-card);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(23, 37, 84, 0.18);
  margin-right: 0;
  min-height: 520px;
  /* Warm brand-color background gradient — shows through when image is faded */
  background:
    radial-gradient(circle at 75% 25%, rgba(201, 168, 108, 0.28), transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(30, 58, 138, 0.10), transparent 55%),
    linear-gradient(135deg, var(--canvas) 0%, var(--cream) 50%, var(--gold-soft) 100%);
  position: relative;
}
/* Image sits BEHIND the gradient at low opacity — atmospheric, not featured */
.hero-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.85);
  mix-blend-mode: multiply;
  z-index: 0;
}
@media (max-width: 900px) {
  .hero-img-wrap { min-height: 280px; }
}

/* --- Generic page hero (smaller than home) --- */
.page-hero {
  padding: 4rem 0 3rem;
  background: var(--canvas);
  background-image: radial-gradient(ellipse at top right, rgba(201, 168, 108, 0.12), transparent 60%);
}
.page-hero h1 {
  font-size: 3rem;
  color: var(--royal-deep);
  margin-bottom: 0.75rem;
}
.page-hero .lede {
  font-size: 1.25rem;
  color: var(--ink-warm);
  max-width: 38em;
}

/* --- Section heads --- */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.section-intro {
  font-size: 1.125rem;
  color: var(--ink-warm);
  max-width: 38em;
  margin-bottom: 3rem;
}

/* --- Service cards (3-up grid) --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid var(--divider);
  transition: box-shadow 300ms ease, transform 300ms ease;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(30, 58, 138, 0.10);
  transform: translateY(-2px);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
/* Service card visual — warm gradient base with low-opacity photo layered behind */
.service-card .card-visual {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background:
    radial-gradient(circle at 70% 35%, rgba(201, 168, 108, 0.32), transparent 60%),
    radial-gradient(circle at 25% 70%, rgba(30, 58, 138, 0.08), transparent 60%),
    linear-gradient(135deg, var(--canvas) 0%, var(--cream) 70%, var(--gold-soft) 100%);
  position: relative;
  overflow: hidden;
}
.service-card .card-visual.variant-2 {
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 168, 108, 0.32), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(30, 58, 138, 0.10), transparent 60%),
    linear-gradient(225deg, var(--canvas) 0%, var(--gold-soft) 100%);
}
.service-card .card-visual.variant-3 {
  background:
    radial-gradient(circle at 50% 70%, rgba(201, 168, 108, 0.30), transparent 60%),
    radial-gradient(circle at 50% 20%, rgba(30, 58, 138, 0.10), transparent 55%),
    linear-gradient(180deg, var(--canvas) 0%, var(--cream) 60%, var(--gold-soft) 100%);
}
.service-card .card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(0.85);
  mix-blend-mode: multiply;
}
.service-card h3 {
  font-size: 1.5rem;
  color: var(--royal-deep);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-warm);
  margin: 0;
}

/* --- Commitment trio (3-up brand statements) --- */
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.commitment-item {
  text-align: left;
  padding: 1.5rem 0;
  border-top: 2px solid var(--gold);
}
.commitment-item h4 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--royal-deep);
  margin-bottom: 0.5rem;
}
.commitment-item p {
  color: var(--ink-warm);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Founder quote --- */
.founder-block {
  background: var(--cream);
  padding: 4rem 0;
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--divider);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-style: italic;
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.625rem;
  line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}
.attribution {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  font-style: normal;
}

/* --- CTA strip --- */
.cta-strip {
  background: var(--royal-deep);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.cta-strip h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.25rem;
}
.cta-strip p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
}
.cta-strip .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--royal-deep);
}
.cta-strip .btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--royal-deep);
}
.cta-strip .hero-phone {
  color: rgba(255,255,255,0.85);
  margin-left: 1rem;
  font-weight: 500;
}
.cta-strip .hero-phone:hover { color: white; }

/* --- Q&A accordion (native <details>) --- */
.qa-list { margin-top: 1.5rem; }
.qa {
  border-top: 1px solid var(--divider);
  padding: 1.25rem 0;
}
.qa:last-child { border-bottom: 1px solid var(--divider); }
.qa summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 200ms ease;
}
.qa[open] summary::after {
  content: "−";
}
.qa-body {
  margin-top: 0.75rem;
  color: var(--ink-warm);
  font-size: 1rem;
  line-height: 1.65;
}

/* --- Forms --- */
.form-block {
  background: white;
  border-radius: var(--radius-card);
  padding: 2.5rem;
  border: 1px solid var(--divider);
  box-shadow: 0 4px 24px rgba(30, 58, 138, 0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--divider);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  transition: border-color 200ms ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--royal);
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  color: var(--ink-warm);
  cursor: pointer;
}
.form-radio input { width: auto; }
.form-required { color: var(--royal); }
.form-help {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}
.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.form-no-pressure {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* --- Footer --- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: none;
  margin: 0;
  padding: 0 2.5rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.75rem;
}
.footer-brand .sun { color: var(--gold); margin-right: 0.25em; }
.footer-tag {
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  transition: color 200ms ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-legal {
  max-width: none;
  margin: 3rem 0 0;
  padding: 2rem 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.footer-disclosure {
  max-width: none;
  margin: 2rem 0 0;
  padding: 0 2.5rem;
  font-size: 0.8125rem;
  font-style: italic;
  color: rgba(255,255,255,0.45);
}

/* --- Utilities --- */
.meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* --- Accessibility --- */
:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2.75rem; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--divider);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 0; }
  .nav-toggle { display: block; }
  .nav-inner { position: relative; }
  .section { padding: 4rem 0; }
  .cta-strip .hero-phone {
    display: block;
    margin-left: 0;
    margin-top: 1rem;
  }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.25rem; }
}
