/* ============ Tokens ============ */
:root {
  --bg-cream: #f5efe6;
  --bg-cream-soft: #fbf6ee;
  --bg-elevate: #ffffff;
  --ink: #2c3a26;
  --ink-strong: #1f2a1b;
  --ink-muted: #6b614f;
  --sage: #3e4d35;
  --sage-deep: #2d3b25;
  --terracotta: #a85d3a;
  --gold: #b8924a;
  --line: #e0d3bc;
  --line-soft: #ece2cf;
  --shadow-sm: 0 1px 2px rgba(44, 58, 38, 0.06);
  --shadow-md: 0 8px 24px rgba(44, 58, 38, 0.08);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --gap-1: 0.5rem;
  --gap-2: 1rem;
  --gap-3: 1.5rem;
  --gap-4: 2rem;
  --gap-6: 3rem;
  --gap-8: 4rem;
  --gap-12: 6rem;
  --container: 1200px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink-strong);
  line-height: 1.15;
  margin: 0;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--gap-4);
}
.section__title--center { text-align: center; }
.section__title em {
  color: var(--terracotta);
  font-style: italic;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin: 0 0 var(--gap-2);
}
.eyebrow--center { text-align: center; }

/* ============ Layout ============ */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ============ Skip link ============ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sage);
  color: var(--bg-cream);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ============ Honeypot ============ */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.btn--primary {
  background: var(--sage);
  color: var(--bg-cream);
}
.btn--primary:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--sage);
  border: 1px solid var(--sage);
}
.btn--ghost:hover { background: var(--sage); color: var(--bg-cream); }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg-cream) 92%, transparent);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: var(--gap-4);
}
.brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-strong);
}
.brand__dot {
  color: var(--terracotta);
  margin-left: 0.15em;
  font-size: 0.85em;
}
.nav__links {
  display: flex;
  gap: var(--gap-4);
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.nav__links a:hover { color: var(--terracotta); }
.nav__phone {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage);
  border: 1px solid var(--line);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__phone:hover { background: var(--sage); color: var(--bg-cream); }
.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: var(--gap-3) 1.25rem var(--gap-4);
  gap: var(--gap-2);
  border-top: 1px solid var(--line);
}
.nav__mobile a { padding: 0.5rem 0; font-size: 1rem; }
.nav__mobile-phone {
  margin-top: var(--gap-2);
  color: var(--sage);
  font-weight: 500;
}

@media (max-width: 820px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile[data-open="true"] { display: flex; }
}

/* ============ Hero ============ */
.hero {
  padding: var(--gap-8) 0 var(--gap-12);
  background:
    radial-gradient(circle at 20% 10%, rgba(168, 93, 58, 0.06), transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(62, 77, 53, 0.08), transparent 60%),
    var(--bg-cream);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--gap-6);
  align-items: center;
}
.hero__copy { max-width: 560px; }
.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
  margin-bottom: var(--gap-3);
  letter-spacing: -0.01em;
}
.hero__title em {
  color: var(--terracotta);
  font-style: italic;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: var(--gap-3);
  max-width: 50ch;
}
.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-2) var(--gap-4);
  font-size: 0.9rem;
  color: var(--ink);
}
.hero__bullets li::before {
  content: "✓ ";
  color: var(--sage);
  font-weight: 600;
}

/* ============ Lead form ============ */
.lead-form {
  background: var(--bg-cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--gap-4);
  box-shadow: var(--shadow-md);
}
.lead-form__title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.lead-form__sub {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0 0 var(--gap-3);
}
.field { display: block; margin-bottom: var(--gap-2); }
.field__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}
.field__input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-elevate);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field__input:focus {
  outline: 0;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(62, 77, 53, 0.15);
}
.lead-form__submit {
  width: 100%;
  margin-top: var(--gap-2);
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
}
.lead-form__submit[disabled] { opacity: 0.6; cursor: wait; }
.lead-form__note {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
  margin: var(--gap-2) 0 0;
}
.lead-form__error {
  margin-top: var(--gap-2);
  padding: 0.6rem 0.9rem;
  background: #fbe9e0;
  color: #9a3a17;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.lead-form--success {
  text-align: center;
  padding: var(--gap-6) var(--gap-4);
}
.lead-form--success h2 { color: var(--sage); }

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--gap-4); }
  .hero__form-wrap { order: -1; }
  .hero { padding: var(--gap-4) 0 var(--gap-8); }
}

/* ============ Services ============ */
.services {
  padding: var(--gap-12) 0;
  background: var(--bg-cream-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-3);
}
.service-card {
  background: var(--bg-elevate);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--gap-4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.service-card__icon {
  font-size: 2rem;
  margin-bottom: var(--gap-2);
}
.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.service-card p { color: var(--ink-muted); margin: 0 0 0.5rem; }
.service-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-2);
  margin: var(--gap-2) 0 var(--gap-3);
  padding-top: var(--gap-1);
  border-top: 1px dashed var(--line-soft);
}
.service-card__duration {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  text-transform: uppercase;
}
.service-card__price {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-strong);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.service-card__cta {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage);
  border-top: 1px solid var(--line);
  padding-top: var(--gap-2);
  transition: color 0.2s ease;
}
.service-card__cta:hover { color: var(--terracotta); }

@media (max-width: 820px) {
  .services { padding: var(--gap-6) 0; }
  .services__grid { grid-template-columns: 1fr; }
}

/* ============ About ============ */
.about { padding: var(--gap-12) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--gap-6);
  align-items: center;
}
.about__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about__copy p { color: var(--ink-muted); font-size: 1.05rem; }
.about__copy .section__title { margin-bottom: var(--gap-3); }
.about__signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--terracotta);
  margin-top: var(--gap-3);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-1);
  margin: var(--gap-3) 0 0;
}
.badges li {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--sage);
  background: var(--bg-cream-soft);
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .about { padding: var(--gap-6) 0; }
  .about__grid { grid-template-columns: 1fr; }
}

/* ============ Process ============ */
.process {
  padding: var(--gap-12) 0;
  background: var(--sage);
  color: var(--bg-cream);
}
.process .section__title { color: var(--bg-cream); }
.process .eyebrow { color: var(--gold); }
.process__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-4);
  margin-top: var(--gap-4);
}
.process__list li {
  position: relative;
  padding: var(--gap-3) 0;
}
.process__list h3 {
  color: var(--bg-cream);
  font-size: 1.5rem;
  margin: var(--gap-2) 0 0.5rem;
}
.process__list p {
  color: color-mix(in srgb, var(--bg-cream) 75%, transparent);
  margin: 0;
}
.process__num {
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
  color: var(--gold);
  display: block;
  line-height: 1;
}

@media (max-width: 820px) {
  .process { padding: var(--gap-6) 0; }
  .process__list { grid-template-columns: 1fr; }
}

/* ============ Testimonials ============ */
.testimonials {
  padding: var(--gap-12) 0;
  background: var(--bg-cream-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-3);
  margin-top: var(--gap-4);
}
.t-card {
  background: var(--bg-elevate);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--gap-4);
  margin: 0;
  position: relative;
}
.t-card::before {
  content: "";
  position: absolute;
  left: var(--gap-4);
  top: -14px;
  width: 28px;
  height: 28px;
  background: var(--terracotta);
  border-radius: 50%;
}
.t-card::after {
  content: """;
  position: absolute;
  left: var(--gap-4);
  top: -10px;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--bg-cream-soft);
  line-height: 1;
  width: 28px;
  text-align: center;
}
.t-card blockquote {
  margin: 0 0 var(--gap-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.5;
}
.t-card figcaption {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.t-card figcaption strong {
  display: block;
  color: var(--ink-strong);
  font-weight: 500;
  font-family: var(--sans);
  margin-bottom: 0.15rem;
}

@media (max-width: 820px) {
  .testimonials { padding: var(--gap-6) 0; }
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */
.faq { padding: var(--gap-12) 0; }
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--gap-6);
  align-items: start;
}
.faq__intro { position: sticky; top: 6rem; }
.faq__list { display: flex; flex-direction: column; gap: var(--gap-1); }
.faq details {
  background: var(--bg-cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--sage); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--gap-3);
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--terracotta);
  font-family: var(--sans);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 var(--gap-3) var(--gap-3);
  color: var(--ink-muted);
  margin: 0;
}

@media (max-width: 820px) {
  .faq { padding: var(--gap-6) 0; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

/* ============ Final CTA ============ */
.cta-final {
  padding: var(--gap-12) 0;
  background: var(--bg-cream);
  text-align: center;
}
.cta-final__inner {
  max-width: 720px;
  margin-inline: auto;
}
.cta-final__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--gap-4);
  line-height: 1.1;
}
.cta-final__title em {
  color: var(--terracotta);
  font-style: italic;
  display: block;
  margin-top: 0.25em;
}
.lead-form--inline {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--gap-2);
  align-items: end;
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.lead-form--inline .field { margin: 0; }
.lead-form--inline .btn {
  height: calc(1rem * 1.5 + 0.85rem * 2 + 2px);
  align-self: end;
}
.lead-form--inline .lead-form__error {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .cta-final { padding: var(--gap-6) 0; }
  .lead-form--inline { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.footer {
  background: var(--ink-strong);
  color: color-mix(in srgb, var(--bg-cream) 70%, transparent);
  padding: var(--gap-6) 0 var(--gap-3);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: var(--gap-4);
  margin-bottom: var(--gap-4);
}
.brand--footer {
  font-size: 1.6rem;
  color: var(--bg-cream);
  margin-bottom: var(--gap-2);
}
.brand--footer .brand__dot { color: var(--gold); }
.footer h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: var(--gap-2);
}
.footer a { color: var(--bg-cream); }
.footer a:hover { color: var(--gold); }
.footer__addr { color: color-mix(in srgb, var(--bg-cream) 70%, transparent); margin: 0; }
.footer__map iframe { border-radius: var(--radius-sm); }
.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid color-mix(in srgb, var(--bg-cream) 15%, transparent);
  padding-top: var(--gap-3);
  margin: 0;
}

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__map { grid-column: 1 / -1; }
}

/* ============ WhatsApp FAB ============ */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
}
.whatsapp-fab:hover { transform: scale(1.05); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45); }
.whatsapp-fab[data-hide="true"] { opacity: 0; pointer-events: none; }

/* ============ Mobile sticky CTA bar ============ */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-cream) 95%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.mobile-cta .btn { flex: 1; padding: 0.85rem 0.5rem; font-size: 0.9rem; }
.mobile-cta[data-hide="true"] { display: none !important; }

@media (max-width: 820px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 4.5rem; }
  .whatsapp-fab { bottom: 5.5rem; right: 1rem; width: 48px; height: 48px; }
}

/* ============ Hero image bleed (added in Task 15) ============ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 35%;
  height: 80%;
  background: url('/images/hero-massage.jpg') center/cover no-repeat;
  border-radius: var(--radius-md);
  opacity: 0.55;
  filter: saturate(0.9) sepia(0.05);
  z-index: 0;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

@media (max-width: 1024px) {
  .hero::after { display: none; }
}

/* ============ Thanks page ============ */
.thanks {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  padding: var(--gap-8) 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 93, 58, 0.05), transparent 50%),
    var(--bg-cream);
}
.thanks__inner {
  max-width: 600px;
  text-align: center;
  margin-inline: auto;
}
.thanks__check {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--bg-cream);
  font-size: 2.4rem;
  font-weight: 600;
  font-family: var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--gap-4);
  box-shadow: var(--shadow-md);
}
.thanks__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--gap-3);
  line-height: 1.1;
}
.thanks__title em {
  color: var(--terracotta);
  font-style: italic;
  display: block;
  margin-top: 0.2em;
}
.thanks__sub {
  color: var(--ink-muted);
  font-size: 1.1rem;
  margin: 0 auto var(--gap-4);
  max-width: 48ch;
}
.thanks__actions {
  display: flex;
  gap: var(--gap-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--gap-4);
}
.thanks__actions .btn {
  min-width: 180px;
}
.thanks__back {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: var(--gap-2);
  transition: color 0.2s ease;
}
.thanks__back:hover {
  color: var(--terracotta);
}
