/* ── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:     #D97757;
  --accent-dk:  #b85f3e;
  --text:       #1e1c1a;
  --text-light: #5c5450;
  --bg:         #faf8f5;
  --bg-warm:    #f3ede6;
  --border:     #e5ddd5;
  --white:      #ffffff;   /* "always white": text on accent, hero/footer text */
  --surface:    #ffffff;   /* card / panel background (goes dark in dark mode) */
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,.12);
  --nav-bg:     rgba(250,248,245,.92);
  --footer-bg:  var(--text);
}

/* ── Dark mode ─────────────────────────────────────────────────────── */
html[data-theme="dark"] {
  --accent:     #e58a68;
  --accent-dk:  #cf7350;
  --text:       #f3efe9;
  --text-light: #b2a89e;
  --bg:         #161310;
  --bg-warm:    #2a2521;
  --border:     #39332e;
  --white:      #ffffff;   /* stays white: text on the coral accent */
  --surface:    #211d19;   /* dark card surface */
  --shadow:     0 2px 14px rgba(0,0,0,.45);
  --shadow-md:  0 6px 28px rgba(0,0,0,.55);
  --nav-bg:     rgba(22,19,16,.9);
  --footer-bg:  #100e0c;
}

html { color-scheme: light dark; }

/* Smooth the transition when toggling */
body, header, footer,
.fact-card, .service-card, .pricing-card, .testimonial-card, .cta-step,
.visit-card, .calendly-section,
.lsbk-cal, .lsbk-input, .lsbk-textarea, .lsbk-service label, .lsbk-done {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
p  { color: var(--text-light); }

/* ── Layout helpers ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 5rem 0; }
section:nth-child(even) { background: var(--bg-warm); }

.section-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .5rem;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-1px); }

/* ── Nav ──────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  color: var(--text);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }

.nav-links .nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: .5rem 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background .2s;
}
.nav-links .nav-cta:hover { background: var(--accent-dk); color: var(--white); }

.nav-links .nav-cta-secondary {
  background: none;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.nav-links .nav-cta-secondary:hover { background: var(--accent); color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #1e1c1a;
  padding: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 8rem 1.25rem 4rem;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,28,26,.72) 0%, rgba(30,28,26,.3) 100%);
  z-index: 1;
}

.hero-overlay h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-overlay p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* ── About ────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p { margin-bottom: 1rem; font-size: 1.05rem; }
.about-text p:last-child { margin-bottom: 0; }

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.fact-card .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .25rem;
}

.fact-card .label {
  font-size: .85rem;
  color: var(--text-light);
}

/* ── Services ─────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
}

.service-card h3 { color: var(--text); }
.service-card p  { font-size: .9rem; }

/* ── Pricing ──────────────────────────────────────────────────────── */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 2.5rem auto 0;
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.pricing-amount span {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-note {
  font-size: .9rem;
  margin: .5rem 0 2rem;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.75rem 0;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}

.pill {
  background: var(--bg-warm);
  color: var(--text);
  font-size: .82rem;
  font-weight: 500;
  padding: .35rem .85rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.policy-list {
  list-style: none;
  margin-top: .75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.policy-list li {
  font-size: .9rem;
  color: var(--text-light);
  padding-left: 1.25rem;
  position: relative;
}

.policy-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .85rem;
}

/* ── Service Area ─────────────────────────────────────────────────── */
.area-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.area-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: .6rem 1.5rem;
  border-radius: 50px;
  margin: 1.5rem 0 1rem;
}

.area-content p { font-size: 1rem; }

/* ── Gallery ──────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 2.5rem;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.gallery-item:hover img { transform: scale(1.04); }

/* ── Testimonials ─────────────────────────────────────────────────── */
.testimonials-stack {
  max-width: 760px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.testimonial {
  position: relative;
  margin: 0;
  padding: 2rem 2rem 2rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Alternate the alignment so the stack reads as a conversation */
@media (min-width: 768px) {
  .testimonials-stack { gap: 2.75rem; }
  .testimonial:nth-child(odd)  { margin-right: 3.5rem; }
  .testimonial:nth-child(even) { margin-left: 3.5rem; }
}

.quote-mark {
  position: absolute;
  top: .25rem;
  left: 1.25rem;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: .25;
  font-family: Georgia, serif;
  pointer-events: none;
}

.quote-text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-top: 1.25rem;
}

.author-name {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
}

.author-name::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-left: .6rem;
}

.author-cat {
  font-size: .85rem;
  color: var(--text-light);
}

/* ── Contact ──────────────────────────────────────────────────────── */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-card > p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 2px solid transparent;
  transition: border-color .15s;
  padding-bottom: 2px;
}
.contact-link:hover { border-color: var(--accent); }

/* ── CTA Steps ────────────────────────────────────────────────────── */
.cta-steps {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 2rem 0;
  width: 100%;
  max-width: 480px;
}

.cta-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s, transform .15s;
  color: var(--text);
}
.cta-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.cta-step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-step-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.cta-step-text strong { font-size: .95rem; color: var(--text); }
.cta-step-text span   { font-size: .8rem;  color: var(--text-light); }

.cta-step-arrow {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-question {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: .5rem;
}
.contact-question a {
  color: var(--accent);
  font-weight: 500;
}

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 2.5rem 1.25rem;
  font-size: .85rem;
}

footer strong {
  color: var(--white);
  display: block;
  font-size: 1rem;
  margin-bottom: .25rem;
}

/* ── Mobile nav ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .nav-links.open { max-height: 400px; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    background: none;
    color: var(--accent);
    border-radius: 0;
    padding: 1rem 1.25rem;
  }
}

/* ── Tablet+ ──────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid  { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Theme toggle (injected by theme.js) ──────────────────────────── */
.nav-brand { margin-right: auto; }   /* keep brand left, group rest right */

.theme-toggle {
  margin-left: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.theme-toggle svg { display: block; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 640px) {
  .theme-toggle { margin-left: .75rem; width: 36px; height: 36px; }
}
