:root {
  --bg: #F2E8DE;
  --card: #F5ECE3;
  --cream: #FBF7F2;
  --input-bg: #FDFAF6;
  --border: #eddccb;
  --espresso: #5a3d33;
  --text: #4a3d36;
  --text-soft: #6b5c50;
  --eyebrow: #a97c62;
  --results-bg: #E8D9C4;
  --recommend-bg: #F2DFC9;
  --footer-bg: #5a3d33;
  --footer-text: #f0ded0;
  --footer-link: #c9a67f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  width: 100%;
  overflow-x: clip;
}

a { color: #8a5a4a; text-decoration: none; }
a:hover { color: #6b4038; }

.serif { font-family: 'Marcellus', serif; font-weight: 400; }

h1, h2, h3, h4 { font-family: 'Marcellus', serif; font-weight: 400; color: var(--espresso); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 16px;
}
.eyebrow-light { color: #f0ded0; letter-spacing: 0.18em; font-size: 12px; }
.eyebrow-small { font-size: 12px; letter-spacing: 0.1em; margin-bottom: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  font-family: 'Nunito Sans', sans-serif;
}
.btn-dark { background: var(--espresso); color: #fff8f2; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(90,61,51,0.4); color: #fff8f2; }
.btn-outline { border: 1px solid #f0ded0; color: #fff8f2; background: transparent; padding: 13px 26px; }
.btn-outline:hover { background: var(--cream); color: var(--espresso); }
.arrow { display: inline-block; margin-left: 8px; }

/* Hero */
.hero { position: relative; width: 100%; height: 100vh; min-height: 720px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: #d8c3ab; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(74,61,54,0.35) 0%, rgba(74,61,54,0.15) 30%, rgba(74,61,54,0.55) 100%);
}
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 60px;
}
.logo { font-family: 'Marcellus', serif; font-size: 24px; letter-spacing: 0.04em; color: #fff8f2; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a:not(.btn) {
  font-size: 14px; font-weight: 500; color: #fff8f2; position: relative;
  transition: opacity 0.35s ease;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -6px;
  height: 1px; background: #fff8f2;
  transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav a:not(.btn):hover::after { left: 0; right: 0; }
.nav:hover a:not(.btn):not(:hover) { opacity: 0.55; }
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; padding: 0 60px 14vh;
}
.hero-inner {
  max-width: none; width: 100%; margin: 0; text-align: left;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 48px;
}
.hero-left { max-width: 680px; }
.hero-inner h1 { font-size: 46px; line-height: 1.15; margin-bottom: 16px; color: #fff8f2; max-width: 680px; }
.hero-sub { font-size: 15px; line-height: 1.6; color: #f0ded0; max-width: 400px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; align-items: flex-start; }
.hero-trust {
  list-style: none; margin: 0 7vw 0 0; padding: 0; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-trust li {
  position: relative;
  display: flex; flex-direction: row; align-items: center; gap: 14px;
  padding: 18px 0;
}
.hero-trust li + li::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 84px; height: 1px;
  background: rgba(251, 247, 242, 0.55);
}
.trust-ic {
  flex-shrink: 0; width: 24px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(90, 61, 51, 0.75);
}
.trust-ic svg { width: 22px; height: 22px; stroke-width: 1.15; }
.trust-tx {
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; text-align: left;
  color: rgba(90, 61, 51, 0.78); font-size: 11px; font-weight: 600;
  line-height: 1.25; letter-spacing: 0.05em; text-transform: uppercase;
}

/* Philosophy */
.philosophy { position: relative; }
.philosophy-pin {
  width: 100%; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(90,61,51,0.58), rgba(74,50,38,0.62)), url('images/2.jpg');
  background-size: cover; background-position: center;
}
.credentials {
  margin-top: 48px; max-width: 560px; text-align: center;
  padding: 40px 48px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  background: rgba(255,248,242,0.01);
  border: 1px solid rgba(255,248,242,0.09);
  border-radius: 22px;
  backdrop-filter: blur(2px) saturate(105%);
  -webkit-backdrop-filter: blur(2px) saturate(105%);
  box-shadow: 0 16px 40px rgba(20,14,10,0.15);
}
.credentials::before {
  content: ""; width: 64px; height: 1px;
  background: rgba(251,243,231,0.4); margin-bottom: 8px;
}
.cred-title {
  font-family: 'Nunito Sans', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: #FBF3E7;
}
.cred-text {
  font-family: 'Nunito Sans', sans-serif; font-size: 16px; line-height: 1.65;
  color: rgba(251,243,231,0.82); max-width: 52ch;
}
.cred-logo-wrap {
  margin-top: 6px;
}
.cred-logo { display: block; height: 68px; width: auto; }
.philosophy-text {
  font-family: 'Marcellus', serif; font-size: 46px; line-height: 1.4;
  max-width: 1050px; text-align: center; padding: 0 32px;
}
.philosophy-text .phrase { color: #FFFFFF; opacity: 1; }

/* Sections */
.section { max-width: 1300px; margin: 0 auto; padding: 90px 60px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: 38px; }

/* Treatments */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.card {
  background: var(--card); border-radius: 28px; padding: 30px;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 30px rgba(90,61,51,0.08);
  transition: box-shadow 0.25s ease;
}
.card:hover { box-shadow: 0 0 32px rgba(90,61,51,0.35); }
.icon-circle {
  width: 64px; height: 64px; border-radius: 50%; background: var(--border);
  margin-bottom: 20px; display: flex; align-items: center; justify-content: center;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.65; color: var(--text-soft); margin-bottom: 16px; }
.link-arrow { font-size: 13px; font-weight: 600; }

/* Results / before-after */
.results { background: var(--results-bg); max-width: 100%; padding: 100px 60px; }
.results-inner { max-width: 1200px; margin: 0 auto; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 44px; flex-wrap: wrap; gap: 16px; }
.results-head h2 { font-size: 38px; }
.mono-hint { font-family: 'SF Mono', Consolas, monospace; font-size: 12px; color: #8a6a55; }
.results-copy { font-size: 15px; line-height: 1.7; color: var(--text-soft); max-width: 640px; margin-bottom: 36px; }

.ba-slider { position: relative; height: 440px; border-radius: 28px; overflow: hidden; user-select: none; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-after img, .ba-before img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.ba-after { background: #d8c3ab; }
.ba-before { background: #c9a67f; clip-path: inset(0 50% 0 0); }
.ba-tag {
  position: absolute; top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 8px 14px; border-radius: 999px; pointer-events: none;
}
.ba-tag-before { left: 18px; background: var(--cream); color: var(--espresso); }
.ba-tag-after { right: 18px; background: var(--espresso); color: #fff8f2; }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--cream); transform: translateX(-1.5px); pointer-events: none; }
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 54px; height: 54px; border-radius: 50%; background: var(--cream); color: var(--espresso);
  display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: ew-resize;
  box-shadow: 0 6px 18px rgba(90,61,51,0.25);
}

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.about-photo { width: 100%; height: 440px; border-radius: 50% 50% 8% 8%; overflow: hidden; background: #d8c3ab; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-grid h2 { font-size: 34px; margin-bottom: 20px; }
.body-copy { font-size: 15px; line-height: 1.75; color: var(--text-soft); margin-bottom: 16px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 12px; }
.check-item { font-size: 14px; color: var(--espresso); white-space: nowrap; }

/* Testimonials */
.testimonials { background: var(--bg); max-width: 100%; padding: 100px 60px; }
.testimonials-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.testimonials-title { font-size: 34px; margin: 0 auto 56px; max-width: 640px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 28px; text-align: left; }
.testimonial-card {
  background: var(--card); border-radius: 24px; padding: 36px;
  box-shadow: 0 12px 30px rgba(90,61,51,0.08); display: flex; flex-direction: column;
}
.quote-mark { font-family: 'Marcellus', serif; font-size: 44px; line-height: 1; color: var(--border); margin-bottom: 4px; }
.testimonial-card p { font-size: 15px; line-height: 1.7; color: var(--espresso); margin-bottom: 20px; }
.testimonial-name { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--eyebrow); }

/* Finder / questionnaire */
.finder { background: var(--bg); max-width: 100%; padding: 110px 60px; text-align: center; }
.finder-inner { max-width: 640px; margin: 0 auto; }
.quiz-card {
  background: var(--cream); border: 1px solid #E4D3BC; border-radius: 32px; padding: 48px;
  box-shadow: 0 20px 50px rgba(90,61,51,0.1); text-align: left;
}
.quiz-intro-row { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.quiz-portrait { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #d8c3ab; }
.quiz-portrait img { width: 100%; height: 100%; object-fit: cover; }
.quiz-intro-row h2 { font-size: 28px; margin: 0; }
.quiz-intro-copy { max-width: 480px; margin-bottom: 36px !important; }
.progress-track { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 44px; }
.progress-fill { height: 100%; background: var(--espresso); width: 0%; transition: width 0.35s ease; }

.question-block { animation: quizFade 0.4s ease; }
@keyframes quizFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.q-eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 14px; }
.q-title { font-size: 26px; margin-bottom: 32px; }
.option-list { display: flex; flex-direction: column; gap: 12px; }
.option {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border); background: var(--input-bg);
  padding: 18px 22px; border-radius: 16px; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.option.selected { border-color: var(--espresso); background: var(--recommend-bg); }
.option-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d8bfa9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.option.selected .option-dot { border-color: var(--espresso); }
.option-dot-fill { width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.option.selected .option-dot-fill { background: var(--espresso); }
.option span:last-child { font-size: 15px; color: var(--espresso); }

.quiz-continue-row { display: flex; justify-content: flex-end; margin-top: 40px; }
#continueBtn { opacity: 0.4; pointer-events: none; }
#continueBtn.enabled { opacity: 1; pointer-events: auto; }

.hidden { display: none !important; }

.answers-panel { background: var(--card); border-radius: 20px; padding: 24px 28px; margin-bottom: 28px; }
.answer-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.answer-row span:first-child { color: #a9977f; }
.answer-row span:last-child { font-weight: 700; color: #3a2a1a; }

.recommend-panel { background: var(--recommend-bg); border-radius: 24px; padding: 40px; margin-bottom: 36px; }
.recommend-message { font-family: 'Marcellus', serif; font-size: 22px; line-height: 1.5; color: var(--espresso); margin-bottom: 18px; }
.recommend-panel .body-copy:last-of-type { margin-bottom: 24px; }
.signature { font-family: 'Marcellus', serif; font-style: italic; font-size: 15px; color: var(--eyebrow); }

.reach-title { font-size: 22px; margin-bottom: 12px; text-align: center; }
.reach-sub { font-size: 14px; color: var(--text-soft); text-align: center; margin-bottom: 32px; }

.reassurance-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.reassurance-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 13px; color: #8a7862; }

.reach-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 0; }
.field {
  border: 1px solid var(--border); background: var(--input-bg); color: var(--espresso);
  padding: 16px 20px; border-radius: 14px; font-size: 14px; font-family: 'Nunito Sans', sans-serif; outline: none;
}
.field-full { grid-column: span 2; }
textarea.field { resize: vertical; min-height: 60px; }
.reach-submit { grid-column: span 2; text-align: center; margin-top: 8px; }

/* Footer */
/* Preferred Products */
.products { background: #4a3228; padding: 88px 60px 108px; }
.products-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.products-eyebrow { margin-bottom: 14px; }
.products-title { font-size: 40px; color: #fff8f2; margin-bottom: 48px; }
.products-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 44px 56px;
}
.products-logos img {
  height: 34px; width: auto; max-width: 150px; object-fit: contain;
  opacity: 0.72; transition: opacity 0.3s ease;
}
.products-logos img:hover { opacity: 1; }
.products-note {
  margin-top: 44px; font-size: 12px; font-style: italic;
  letter-spacing: 0.02em; color: rgba(255,248,242,0.55);
}

.footer { background: var(--footer-bg); color: var(--footer-text); padding: 0 60px; border-radius: 36px 36px 0 0; margin-top: -36px; position: relative; z-index: 1; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 56px; align-items: start; }
.footer-logo { font-family: 'Marcellus', serif; font-size: 24px; margin-bottom: 14px; color: #fff8f2; }
.footer-tag { font-size: 14px; line-height: 1.7; color: #d9c3ae; max-width: 280px; }
.footer-heading { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--footer-link); margin-bottom: 16px; }
.footer-contact { font-size: 14px; line-height: 2.1; color: var(--footer-text); }
.footer-locations { font-size: 12px; color: var(--footer-link); margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-links a {
  color: var(--footer-text); width: fit-content; position: relative;
  transition: opacity 0.35s ease;
}
.footer-links a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -3px;
  height: 1px; background: var(--footer-text);
  transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-links a:hover::after { left: 0; right: 0; }
.footer-links:hover a:not(:hover) { opacity: 0.55; }
.footer-cta { white-space: nowrap; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(240,222,208,0.2); font-size: 12px; color: var(--footer-link); text-align: center; }

@media (max-width: 900px) {
  .hero-content { align-items: flex-end; padding-bottom: 8%; }
  .hero-inner { flex-direction: column; gap: 0; }
  .hero-trust {
    margin: 30px 0 0; align-items: flex-start;
  }
  .hero-trust li { flex-direction: row; }
  .hero-trust li + li::before { right: auto; left: 0; }
  .trust-tx { align-items: flex-start; text-align: left; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reach-form { grid-template-columns: 1fr; }
  .field-full, .reach-submit { grid-column: span 1; }
}
@media (max-width: 600px) {
  .site-header, .hero-content, .section { padding-left: 24px; padding-right: 24px; }
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero-inner h1 { font-size: 34px; }
  .philosophy-text { font-size: 28px; }
  .card-grid { grid-template-columns: 1fr; }
  .ba-slider { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .reassurance-row { grid-template-columns: 1fr; }
}
