/* Sonia's Wellness & Beauty — redesign concept
   Palette and type kept from the current site. */
:root {
  --brown: #76553c;
  --brown-deep: #3f2d20;
  --cream: #f7f1e7;
  --sand: #e4d5c2;
  --tan: #c7ae91;
  --white: #fffdf9;
  --line: rgba(118, 85, 60, 0.22);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-deep);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--brown); margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-bottom: 14px; display: block; }

:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brown); color: var(--cream); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 0.95rem/1 var(--sans); text-decoration: none; border: 1.5px solid var(--brown); transition: background .2s, color .2s, transform .2s; }
.btn-solid { background: var(--brown); color: var(--cream); }
.btn-solid:hover { background: var(--brown-deep); border-color: var(--brown-deep); }
.btn-ghost { color: var(--brown); background: transparent; }
.btn-ghost:hover { background: var(--brown); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--brown-deep); border-color: var(--cream); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 241, 231, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { font-family: var(--serif); font-size: 1.45rem; color: var(--brown); text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--brown); text-decoration: underline; text-underline-offset: 5px; }
.nav .btn { padding: 11px 20px; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--brown); color: var(--brown); border-radius: 999px; padding: 9px 16px; font: 600 0.9rem var(--sans); cursor: pointer; }

/* Hero */
.hero { padding: 56px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); }
.hero h1 em { font-style: italic; color: var(--brown-deep); }
.hero .lead { font-size: 1.15rem; max-width: 30em; margin: 26px 0 34px; color: var(--brown-deep); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.92rem; }
.hero-meta span::before { content: "✦"; color: var(--tan); margin-right: 8px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; max-height: min(640px, 78vh); object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); }
.hero-badge { position: absolute; left: -32px; bottom: 40px; background: var(--white); border-radius: var(--radius); padding: 18px 22px; box-shadow: 0 18px 40px rgba(63, 45, 32, 0.14); max-width: 240px; }
.hero-badge strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--brown); }
.hero-badge span { font-size: 0.88rem; }

/* Category strip */
.cats { background: var(--brown); color: var(--cream); }
.cats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.cats li + li { border-left: 1px solid rgba(247, 241, 231, 0.2); }
.cats a { display: block; padding: 30px 22px; text-decoration: none; transition: background .2s; }
.cats a:hover { background: rgba(0, 0, 0, 0.12); }
.cats .num { font-size: 0.75rem; letter-spacing: 0.14em; opacity: 0.7; }
.cats .name { display: block; font-family: var(--serif); font-size: 1.6rem; margin: 6px 0 4px; }
.cats .note { font-size: 0.86rem; opacity: 0.8; }

/* Sections */
section.block { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 14em; }
.section-head p { max-width: 26em; margin: 0; }

/* Treatment menu */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.menu-tabs button { font: 600 0.92rem var(--sans); padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--brown-deep); cursor: pointer; transition: all .2s; }
.menu-tabs button:hover { border-color: var(--brown); }
.menu-tabs button[aria-selected="true"] { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.menu-panel { background: var(--white); border-radius: calc(var(--radius) + 6px); padding: 48px 52px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.menu-panel[hidden] { display: none; }
.menu-intro h3 { font-size: 2.4rem; margin-bottom: 14px; }
.menu-intro p { color: var(--brown-deep); }
.menu-intro .btn { margin-top: 10px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.items li:first-child { padding-top: 0; }
.items .t { font-weight: 600; }
.items .t a { text-decoration: none; }
.items .t a::after { content: " More →"; font-size: 0.8rem; font-weight: 600; color: var(--brown); opacity: 0; transition: opacity .2s; }
.items .t a:hover, .items .t a:focus-visible { color: var(--brown); text-decoration: underline; text-underline-offset: 4px; }
.items .t a:hover::after, .items .t a:focus-visible::after { opacity: 1; }
.items .p { font-family: var(--serif); font-size: 1.2rem; color: var(--brown); text-align: right; white-space: nowrap; }
.items .d { font-size: 0.86rem; color: #7a6656; grid-column: 1 / -1; }
.items .p.small { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; white-space: normal; max-width: 13em; }

/* Purpose */
.purpose { background: var(--sand); }
.purpose-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.purpose img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.purpose h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); margin-bottom: 26px; }
.purpose blockquote { margin: 30px 0 0; padding: 22px 0 0 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; color: var(--brown); line-height: 1.4; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 34px 30px; counter-increment: s; }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 2.6rem; color: var(--tan); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 1.5rem; margin-bottom: 10px; }
.steps p { margin: 0; }

/* Visit */
.visit { background: var(--brown-deep); color: var(--cream); }
.visit h2 { color: var(--cream); font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 22px; }
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
.visit .lead { font-size: 1.1rem; opacity: 0.9; max-width: 28em; margin-bottom: 32px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 20px 0; border-bottom: 1px solid rgba(247, 241, 231, 0.18); display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.contact-list .k { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; padding-top: 4px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(247, 241, 231, 0.4); }
.contact-list a:hover { border-bottom-color: var(--cream); }
.placeholder { background: rgba(199, 174, 145, 0.25); border: 1px dashed var(--tan); padding: 2px 8px; border-radius: 6px; font-size: 0.9rem; }

/* Footer */
.site-footer { background: var(--brown-deep); color: rgba(247, 241, 231, 0.7); border-top: 1px solid rgba(247, 241, 231, 0.14); padding: 30px 0; font-size: 0.88rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.site-footer a { color: var(--cream); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-grid, .purpose-grid, .visit-grid, .menu-panel { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 520px; }
  .hero-badge { left: 16px; }
  .cats ul { grid-template-columns: repeat(3, 1fr); }
  .cats li:nth-child(4) { border-left: 0; }
  .cats li:nth-child(n+4) { border-top: 1px solid rgba(247, 241, 231, 0.2); }
  .steps { grid-template-columns: 1fr; }
  .menu-panel { padding: 36px 32px; }
  section.block { padding: 80px 0; }
}

/* Compact menu (tablet and phone) */
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .logo { font-size: 1.2rem; }
  .hero { padding: 28px 0 64px; }
  .cats ul { grid-template-columns: 1fr 1fr; }
  .cats li { border-left: 0 !important; border-top: 1px solid rgba(247, 241, 231, 0.2); }
  .cats li:nth-child(even) { border-left: 1px solid rgba(247, 241, 231, 0.2) !important; }
  .cats li:last-child { grid-column: 1 / -1; }
  .cats a { padding: 22px 18px; }
  .menu-panel { padding: 28px 22px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Treatments page ---------- */
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); max-width: 12em; }
.page-hero .lead { font-size: 1.15rem; max-width: 32em; margin: 22px 0 0; }
.cat-nav { position: sticky; top: 76px; z-index: 40; background: rgba(247, 241, 231, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-nav .wrap { display: flex; gap: 8px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; text-decoration: none; font: 600 0.92rem var(--sans); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); transition: all .2s; }
.cat-nav a:hover { border-color: var(--brown); }
.cat-nav a[aria-current="true"] { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.has-cat-nav { scroll-padding-top: 150px; }
.menu-stack { padding: 48px 0 96px; display: grid; gap: 28px; }
.menu-intro .panel-title { font-size: 2.4rem; margin-bottom: 14px; }
.nav a[aria-current="page"] { color: var(--brown); text-decoration: underline; text-underline-offset: 5px; }
.unsure { background: var(--brown); color: var(--cream); padding: 64px 0; }
.unsure-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.unsure h2 { color: var(--cream); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.unsure p { margin: 0; opacity: 0.9; }
@media (max-width: 760px) {
  .page-hero { padding: 36px 0 28px; }
  .menu-stack { padding: 28px 0 64px; gap: 20px; }
  .menu-intro .panel-title { font-size: 2rem; }
}

/* ---------- Locations ---------- */
.loc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc-card { background: var(--white); border-radius: calc(var(--radius) + 6px); padding: 40px; display: flex; flex-direction: column; }
.loc-card h3 { font-size: 2.4rem; margin: 10px 0 8px; }
.loc-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--brown-deep); }
.loc-tag.new { background: var(--brown); color: var(--cream); }
.loc-venue { font-weight: 600; color: var(--brown); }
.hours { margin: 8px 0 28px; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.loc-actions { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.text-link { font-weight: 600; color: var(--brown); text-underline-offset: 4px; }
@media (max-width: 980px) { .loc-cards { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .loc-card { padding: 28px 22px; } .loc-card h3 { font-size: 2rem; } }

/* ---------- Treatment pages ---------- */
.tp-hero { padding: 36px 0 80px; }
.tp-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 72px; align-items: center; }
.crumbs { display: flex; gap: 10px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; color: var(--tan); }
.crumbs a { color: var(--brown); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tp-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: 20px; }
.tp-intro { font-size: 1.2rem; line-height: 1.55; max-width: 30em; margin-bottom: 26px; }
.tp-meta { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }
.tp-meta li { font-weight: 600; color: #7a6656; }
.tp-meta li + li::before { content: "·"; margin-right: 22px; color: var(--tan); }
.tp-meta .tp-price { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--brown); }
.tp-book { max-width: 460px; }
.tp-book-title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #7a6656; margin-bottom: 10px; }
.tp-loc { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 16px 20px; margin-bottom: 10px; background: var(--white); border: 1.5px solid transparent; border-radius: 16px; text-decoration: none; transition: border-color .2s, transform .2s; }
.tp-loc:hover { border-color: var(--brown); }
.tp-loc-name { font-family: var(--serif); font-size: 1.35rem; color: var(--brown); }
.tp-loc-days { font-size: 0.85rem; color: #7a6656; grid-column: 1; }
.tp-loc-go { grid-column: 2; grid-row: 1 / span 2; background: var(--brown); color: var(--cream); font-weight: 600; font-size: 0.92rem; padding: 10px 18px; border-radius: 999px; }
.tp-loc:hover .tp-loc-go { background: var(--brown-deep); }
.tp-photo { margin: 0; }
.tp-photo img { width: 100%; height: auto; aspect-ratio: 9 / 11; max-height: 78vh; object-fit: cover; border-radius: 240px 240px var(--radius) var(--radius); background: var(--sand); }

.tp-details { background: var(--white); padding: 80px 0 64px; }
.tp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 56px; }
.tp-col h2 { font-size: 1.9rem; margin-bottom: 20px; }
.tp-points, .tp-notes { list-style: none; margin: 0; padding: 0; }
.tp-points li, .tp-notes li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.tp-points li::before { content: "✓"; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); color: var(--brown); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.tp-notes li::before { content: ""; position: absolute; left: 8px; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--tan); }
.tp-prices { margin: 0 0 18px; background: var(--cream); border-radius: 14px; padding: 6px 18px; }
.tp-prices div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tp-prices div:last-child { border-bottom: 0; }
.tp-prices dt { font-weight: 600; }
.tp-prices dd { margin: 0; font-family: var(--serif); color: var(--brown); font-size: 1.1rem; }
.tp-unsure { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.tp-unsure a { color: var(--brown); font-weight: 600; text-underline-offset: 4px; }

.tp-related { padding: 88px 0; }
.tp-related-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.tp-related h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.tp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tp-cards a { display: block; height: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.tp-cards a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(63, 45, 32, 0.1); }
.tp-cards img, .tp-card-blank { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }
.tp-card-body { display: grid; gap: 4px; padding: 16px 18px 20px; }
.tp-card-name { font-weight: 600; }
.tp-card-meta { font-size: 0.88rem; color: #7a6656; }

@media (max-width: 980px) {
  .tp-grid { grid-template-columns: 1fr; gap: 40px; }
  .tp-photo { order: -1; }
  .tp-photo img { aspect-ratio: 16 / 10; border-radius: var(--radius); max-height: none; }
  .tp-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .tp-hero { padding: 16px 0 56px; }
  .tp-intro { font-size: 1.08rem; }
  .tp-details { padding: 56px 0 44px; }
  .tp-cols { gap: 36px; }
  .tp-related { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) { .tp-cards a:hover { transform: none; } }

/* ---------- Help links, reviews ---------- */
.hero-badge a { color: var(--brown); font-weight: 600; text-underline-offset: 3px; }
.sum-help { font-size: 0.86rem; margin: -8px 0 18px; }
.sum-help a, .tp-help a { color: var(--brown); font-weight: 600; text-underline-offset: 3px; }
.tp-help { font-size: 0.92rem; margin: 6px 0 0; color: #7a6656; }
@media (max-width: 980px) { .sum-help { display: none; } }
.review-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.review-grid li { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review-grid blockquote { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--brown-deep); }
.review-grid .who { margin-top: auto; font-size: 0.9rem; color: #7a6656; }
.review-grid .who strong { color: var(--brown-deep); }
.review-stars { color: var(--brown); letter-spacing: 2px; }

a[href^="tel:"] { white-space: nowrap; }
.loc-addr { white-space: pre-line; }

/* ---------- Privacy / long text ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin: 36px 0 12px; }
.prose p { margin: 0 0 14px; line-height: 1.65; }
.prose a { color: var(--brown); font-weight: 600; text-underline-offset: 3px; }
