/* ================= Origin Massage — shared styles ================= */

/* ---- self-hosted variable fonts (latin subset) ---- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-italic-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-var.woff2') format('woff2');
}

:root {
  --cream: #faf6ef;
  --cream-2: #f2ecdf;
  --sand: #e9dfcc;
  --ink: #3a2f28;
  --ink-soft: #6f6155;
  --gold: #b8894a;
  --gold-soft: #d8b98c;
  --gold-pale: #eee2cd;
  --sage: #8a9b84;
  --sage-dark: #5f7059;
  --white: #fffdf9;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; }
a { color: var(--gold); text-decoration: none; }
img { max-width: 100%; }
section { padding: 5.5rem 1.5rem; }
.wrap { max-width: 1080px; margin: 0 auto; }
.eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; font-weight: 400;
}
.section-title { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 1.2rem; }
.center { text-align: center; }

/* ---------- scroll reveal (JS adds .in-view; no-JS pages stay visible) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, .93); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-pale);
}
.nav {
  max-width: 1080px; margin: 0 auto; padding: .85rem 1.5rem;
  display: flex; align-items: center; gap: 1.2rem;
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.brand svg, .brand img { width: 32px; height: 32px; flex-shrink: 0; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.nav-links > a { color: var(--ink-soft); font-size: .92rem; letter-spacing: .05em; }
.nav-links > a:hover { color: var(--gold); }
.lang-switch {
  border: 1px solid var(--gold-soft); border-radius: 999px; overflow: hidden;
  display: flex; font-size: .8rem;
}
.lang-switch a {
  padding: .32rem .7rem; color: var(--ink-soft); letter-spacing: .08em;
}
.lang-switch a[aria-current="true"] { background: var(--gold); color: var(--white); }
.nav-book {
  background: var(--ink); color: var(--white) !important; padding: .5rem 1.2rem;
  border-radius: 999px; font-size: .85rem !important; letter-spacing: .08em;
}
.nav-book:hover { background: var(--gold); }

/* mobile menu */
.menu-btn {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--gold-soft); border-radius: 8px;
  padding: .35rem .6rem; cursor: pointer; color: var(--ink); font-size: 1.1rem; line-height: 1;
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--gold-pale);
    padding: .5rem 1.5rem 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: .7rem 0; border-bottom: 1px solid var(--cream-2); font-size: 1rem; }
  .nav-links > a.nav-book { margin-top: .9rem; text-align: center; border-bottom: 0; }
  .lang-switch { margin: .9rem auto 0; align-self: center; }
}

/* ---------- hero ---------- */
.hero {
  text-align: center; padding: 6.5rem 1.5rem 6rem;
  background:
    radial-gradient(ellipse 65% 55% at 50% 0%, var(--gold-pale) 0%, transparent 72%),
    var(--cream);
}
.hero .hamsa { width: 88px; height: 88px; margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 500; letter-spacing: .05em; }
.hero .by {
  font-family: var(--serif); font-style: italic; color: var(--gold);
  font-size: 1.15rem; margin-top: .4rem;
}
.hero .tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--ink-soft); margin: 1.2rem auto 0; max-width: 34em;
}
.hero .open-badge {
  display: inline-block; margin-top: 1.8rem; padding: .45rem 1.4rem;
  border: 1px solid var(--sage); border-radius: 999px;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-dark);
  background: rgba(138, 155, 132, .08);
}
.hero-ctas { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .85rem 2rem; border-radius: 999px;
  font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400;
  transition: all .25s ease;
}
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--gold); color: var(--white); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
/* primary CTA for the cita.online booking link (activated once the link exists) */
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 3px 14px rgba(184, 137, 74, .35); }
.btn-gold:hover { background: var(--gold-soft); color: var(--ink); }

/* ---------- about ---------- */
.about { background: var(--white); }
.about .wrap { max-width: 780px; text-align: center; }
.about p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.05rem; }
.about .leaf { color: var(--sage); font-size: 1.4rem; margin-top: 1rem; }

/* ---------- therapists ---------- */
.therapists .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.t-card {
  background: var(--white); border: 1px solid var(--gold-pale); border-radius: 18px;
  padding: 2.5rem 2.2rem; text-align: center;
}
.t-card .monogram {
  width: 76px; height: 76px; margin: 0 auto 1.3rem; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2rem;
}
.t-card h3 { font-size: 1.7rem; }
.t-card .role { color: var(--gold); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin: .5rem 0 1.1rem; }
.t-card p { color: var(--ink-soft); font-size: .98rem; }
.t-card .phone { display: inline-block; margin-top: 1.4rem; color: var(--ink); font-size: .95rem; letter-spacing: .05em; }
.t-card .phone:hover { color: var(--gold); }

/* ---------- services ---------- */
.services { background: var(--cream-2); }
.svc-block { margin-top: 3.2rem; }
.svc-block > h3 { font-size: 1.9rem; margin-bottom: .3rem; }
.svc-block > .svc-sub { color: var(--gold); font-style: italic; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 1.6rem; }
.table-scroll { overflow-x: auto; }
table.price {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: 14px; overflow: hidden; border: 1px solid var(--gold-pale);
}
table.price th, table.price td { padding: .95rem 1.3rem; text-align: left; }
table.price th {
  font-family: var(--sans); font-weight: 400; font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold-pale);
}
table.price td { border-bottom: 1px solid var(--cream-2); }
table.price tr:last-child td { border-bottom: 0; }
table.price td.p { text-align: right; white-space: nowrap; color: var(--ink-soft); }
table.price td:first-child { font-family: var(--serif); font-size: 1.15rem; }

.ritual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.4rem; }
.ritual { background: var(--white); border: 1px solid var(--gold-pale); border-radius: 16px; padding: 1.8rem 1.6rem; }
.ritual h4 { font-size: 1.35rem; margin-bottom: .2rem; }
.ritual .benefit { color: var(--sage-dark); font-style: italic; font-family: var(--serif); font-size: 1rem; margin-bottom: 1rem; }
.ritual ul { list-style: none; }
.ritual li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem 0; border-bottom: 1px solid var(--cream-2); font-size: .95rem; color: var(--ink-soft);
}
.ritual li:last-child { border-bottom: 0; }
.ritual li b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.svc-note { margin-top: 1.4rem; font-size: .9rem; color: var(--ink-soft); font-style: italic; }

/* ---------- philosophy strip ---------- */
.philo { background: var(--sage-dark); color: var(--cream); }
.philo .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; text-align: center; }
.philo h4 { color: var(--white); font-size: 1.45rem; margin-bottom: .5rem; }
.philo p { font-size: .95rem; color: #d9e0d5; }
.philo .icon { font-size: 1.8rem; margin-bottom: .8rem; }

/* ---------- testimonials ---------- */
.reviews { background: var(--white); }
.reviews .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; margin-top: 3rem; }
.review {
  background: var(--cream); border: 1px solid var(--gold-pale); border-radius: 16px;
  padding: 1.8rem 1.7rem; display: flex; flex-direction: column;
}
.review .stars { color: var(--gold); letter-spacing: .18em; margin-bottom: .8rem; font-size: .9rem; }
.review blockquote { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--ink); flex: 1; }
.review cite { display: block; margin-top: 1rem; font-style: normal; font-size: .85rem; letter-spacing: .1em; color: var(--ink-soft); text-transform: uppercase; }
.reviews .src-note { margin-top: 1.6rem; font-size: .85rem; color: var(--ink-soft); text-align: center; font-style: italic; }

/* ---------- booking ---------- */
.booking { background: var(--ink); color: var(--cream); text-align: center; }
.booking .eyebrow { color: var(--gold-soft); }
.booking .section-title { color: var(--white); }
.booking p { color: #cbbfae; max-width: 36em; margin: 0 auto 2.2rem; }
.booking .btn-solid { background: var(--gold); }
.booking .btn-solid:hover { background: var(--gold-soft); color: var(--ink); }
.booking .btn-line { border-color: #8a7a68; color: var(--cream); }
.booking .btn-line:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.booking .hero-ctas { margin-top: 0; }

/* ---------- contact ---------- */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .contact .wrap { grid-template-columns: 1fr; } }
.contact-item { margin-bottom: 1.5rem; }
.contact-item .label { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .25rem; }
.contact-item div:not(.label), .contact-item a { color: var(--ink-soft); font-size: 1rem; }
.contact-item a:hover { color: var(--gold); }
.map-frame {
  width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--gold-pale);
  border-radius: 16px; overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: sepia(.22) saturate(.85); }

/* ---------- footer ---------- */
footer {
  background: var(--cream-2); text-align: center; padding: 2.5rem 1.5rem;
  font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--gold-pale);
}
footer .brand { justify-content: center; margin-bottom: .6rem; }
footer .foot-links { margin-bottom: .8rem; }
footer .foot-links a { margin: 0 .7rem; }
