/* =========================================================
   Relax Massage Riyadh — Wellness design system
   Palette: off-white / sage / terracotta · Fraunces + Inter (+ Tajawal/El Messiri for AR)
   ========================================================= */

:root {
  --bg: #faf8f5;
  --bg-2: #f3eee6;
  --surface: #fffdfb;
  --ink: #2c2a26;
  --ink-soft: #6b6459;
  --sage: #8a9a7b;
  --sage-d: #5f6f51;
  --sage-dd: #475339;
  --sage-l: #cdd6c1;
  --sage-wash: #edf1e8;
  --terra: #c08552;
  --terra-d: #a96f3e;
  --gold: #c9a44c;
  --line: #e8e1d4;
  --wa: #1faa55;
  --wa-d: #178a45;

  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(70,55,35,.06);
  --shadow: 0 16px 44px -20px rgba(70,58,38,.30);
  --shadow-lg: 0 34px 80px -32px rgba(66,52,32,.40);

  --container: 1200px;
  --pad: clamp(64px, 9vw, 122px);
}

html[lang="ar"] {
  --font-serif: 'El Messiri', 'Tajawal', serif;
  --font-sans: 'Tajawal', system-ui, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--sage-d); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sage-l); color: var(--sage-dd); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.3; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .82em 1.5em; border-radius: var(--r-pill);
  font-weight: 600; font-size: .96rem; letter-spacing: .005em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap; cursor: pointer;
}
.btn i { width: 1.15em; height: 1.15em; }
.btn--lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--primary { background: var(--sage-d); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sage-dd); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(31,170,85,.7); }
.btn--wa:hover { background: var(--wa-d); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(31,170,85,.65); }
.btn--ghost { background: transparent; color: var(--sage-dd); box-shadow: inset 0 0 0 1.5px var(--sage-l); }
.btn--ghost:hover { background: var(--sage-wash); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--terra-d); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- shared section bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-d);
}
html[lang="ar"] .eyebrow { letter-spacing: .04em; }
.eyebrow i { width: 1.05em; height: 1.05em; color: var(--terra); }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #fff5ea; }
.eyebrow--light i { color: #fff; }

.section { padding-block: var(--pad); }
.section--tint { background: linear-gradient(180deg, var(--bg-2), #efe9df); }
.section__head { max-width: 680px; margin-inline: auto; text-align: center; margin-bottom: clamp(38px, 5vw, 60px); display: grid; gap: 16px; justify-items: center; }
.section__head--left { margin-inline: 0; text-align: start; justify-items: start; }
.section__title { font-size: clamp(2rem, 4vw, 3.05rem); }
.section__title--left { text-align: start; }
.section__intro { color: var(--ink-soft); font-size: 1.08rem; max-width: 60ch; }
.section__intro--left { text-align: start; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }

.chip {
  display: inline-flex; align-items: center; gap: .4em;
  background: var(--sage-wash); color: var(--sage-dd);
  padding: .34em .8em; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600;
}
.chip i { width: 1em; height: 1em; }
.i-gold { color: var(--gold); }

/* ---------- topbar ---------- */
.topbar { background: var(--sage-dd); color: #eef1e8; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: .5em; }
.topbar__item i { width: 1em; height: 1em; opacity: .85; }
.topbar__promo { color: #f6e9d6; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(250,248,245,.82); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(250,248,245,.93); }
.header__inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .6em; }
.brand__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(150deg, var(--sage), var(--sage-d)); color: #fdfcf8; box-shadow: var(--shadow-sm); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.16rem; color: var(--ink); }
.brand__city { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
html[lang="ar"] .brand__city { letter-spacing: .08em; }

.nav { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.nav__link { padding: .5em .85em; border-radius: var(--r-pill); font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .2s, background .2s; }
.nav__link:hover { color: var(--sage-dd); background: var(--sage-wash); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: 6px; }
.langtoggle { display: inline-flex; align-items: center; gap: .45em; padding: .5em .85em; border-radius: var(--r-pill); font-weight: 600; font-size: .9rem; color: var(--sage-dd); box-shadow: inset 0 0 0 1.5px var(--sage-l); transition: background .2s, transform .2s; }
.langtoggle:hover { background: var(--sage-wash); }
.langtoggle i { width: 1.05em; height: 1.05em; }

.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--sage-dd); box-shadow: inset 0 0 0 1.5px var(--sage-l); }
.hamburger i { width: 1.3em; height: 1.3em; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset-block-start: -22%; inset-inline-end: -14%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(138,154,123,.20), transparent 62%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__copy { display: grid; gap: 22px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.3rem); line-height: 1.04; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 4px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-block-start: 14px; color: var(--ink-soft); font-size: .95rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero__trust i { width: 1.1em; height: 1.1em; color: var(--sage-d); }
.hero__trust strong { color: var(--ink); }

.hero__media { position: relative; }
.hero__imgwrap { position: relative; border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; }
.hero__imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; background: rgba(255,253,251,.92); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: .7em 1em; display: flex; align-items: center; gap: .6em; font-size: .9rem; }
.hero__badge--rating { inset-block-start: 8%; inset-inline-start: -6%; flex-direction: column; align-items: flex-start; gap: .15em; }
.hero__badge--welcome { inset-block-end: 7%; inset-inline-end: -5%; color: var(--sage-dd); font-weight: 600; }
.hero__badge--welcome i { width: 1.15em; height: 1.15em; color: var(--terra); }
.hero__stars { color: var(--gold); letter-spacing: 2px; font-size: .85rem; }
.hero__badgetext strong { font-family: var(--font-serif); font-size: 1.05rem; }
.hero__badgetext span { color: var(--ink-soft); }
.hero__leaf { position: absolute; inset-block-end: -40px; inset-inline-start: -40px; width: 230px; color: var(--sage-l); opacity: .5; pointer-events: none; z-index: -1; }

/* ---------- stats ---------- */
.stats { padding-block: clamp(20px, 3vw, 30px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(22px, 3vw, 34px); }
.stat { text-align: center; display: grid; gap: 4px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 12%; height: 76%; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-serif); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600; color: var(--sage-d); line-height: 1; }
.stat__label { font-size: .9rem; color: var(--ink-soft); }

/* ---------- services ---------- */
.services__grid { margin-block-start: 6px; }
.service { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service__media { aspect-ratio: 3/2; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__media img { transform: scale(1.06); }
.service__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service__name { font-size: 1.32rem; }
.service__desc { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.service__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.service__price { font-family: var(--font-serif); font-weight: 600; color: var(--terra-d); font-size: 1.05rem; }
.service__price span { font-family: var(--font-sans); font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.service__book { display: inline-flex; align-items: center; gap: .4em; align-self: flex-start; font-weight: 600; color: var(--sage-d); border-bottom: 2px solid transparent; padding-block-end: 2px; transition: gap .2s, color .2s, border-color .2s; }
.service__book i { width: 1.05em; height: 1.05em; }
.service__book:hover { color: var(--sage-dd); gap: .7em; border-color: var(--sage-l); }
.services__note { text-align: center; color: var(--ink-soft); margin-block-start: clamp(28px, 4vw, 40px); font-size: .98rem; }

/* ---------- features / why ---------- */
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; display: grid; gap: 12px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--sage-wash); color: var(--sage-d); }
.feature__icon i { width: 1.55em; height: 1.55em; }
.feature h3 { font-size: 1.24rem; }
.feature p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- ritual ---------- */
.ritual__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ritual__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.3; }
.ritual__media img { width: 100%; height: 100%; object-fit: cover; }
.ritual__tag { position: absolute; inset-block-end: 18px; inset-inline-start: 18px; background: rgba(255,253,251,.92); backdrop-filter: blur(6px); border-radius: var(--r-pill); padding: .55em 1.05em; display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .88rem; color: var(--sage-dd); box-shadow: var(--shadow-sm); }
.ritual__tag i { width: 1.1em; height: 1.1em; color: var(--terra); }
.ritual__steps { display: grid; gap: 18px; }
.steps { display: grid; gap: 18px; margin-block-start: 8px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding-block-end: 18px; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; padding-block-end: 0; }
.step__n { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-d); color: #fff; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; flex: none; }
.step h3 { font-size: 1.2rem; margin-block-end: 3px; }
.step p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- about ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.about__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4.4; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__copy { display: grid; gap: 18px; }
.about__copy p { color: var(--ink-soft); }
.ticklist { display: grid; gap: 11px; margin-block: 4px; }
.ticklist li { display: flex; align-items: center; gap: .7em; font-weight: 500; }
.ticklist i { width: 1.3em; height: 1.3em; color: #fff; background: var(--sage-d); border-radius: 50%; padding: 4px; flex: none; }
.about__copy .btn { justify-self: start; margin-block-start: 6px; }

/* ---------- offer band ---------- */
.offer { padding-block: clamp(48px, 6vw, 74px); background: linear-gradient(135deg, var(--terra), var(--terra-d)); color: #fff; position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -8%; width: 50vw; height: 50vw; max-width: 540px; max-height: 540px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 60%); }
.offer__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.offer__text { max-width: 60ch; display: grid; gap: 12px; }
.offer__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: #fff; }
.offer__sub { color: #fdeee0; font-size: 1.05rem; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery__item { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- reviews ---------- */
.reviews__score { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--terra-d); margin-inline-end: .35em; vertical-align: -2px; }
.section__intro .hero__stars { margin-inline-end: .5em; }
.review { padding: 28px 26px; display: grid; gap: 14px; transition: transform .3s ease, box-shadow .3s ease; }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review__stars { color: var(--gold); letter-spacing: 2px; }
.review blockquote { font-size: 1.04rem; color: var(--ink); line-height: 1.6; }
.review__by { display: flex; align-items: center; gap: .8em; }
.review__by span { display: flex; flex-direction: column; line-height: 1.25; }
.review__by strong { font-weight: 600; }
.review__by em { font-style: normal; color: var(--ink-soft); font-size: .85rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, var(--sage), var(--sage-d)); color: #fff; font-weight: 600; font-size: .92rem; flex: none; }

/* ---------- faq ---------- */
.faq__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 1.04rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 1.2em; height: 1.2em; color: var(--sage-d); transition: transform .3s ease; flex: none; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; }
.faq__a p { color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 3vw, 38px); align-items: start; }
.contact__form { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; }
.field--row { grid-template-columns: 1fr 1fr; gap: 16px; }
.field--row > div { display: grid; gap: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: .8em 1em; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-wash); }
.field textarea { resize: vertical; }
.contact__formnote { text-align: center; font-size: .85rem; color: var(--ink-soft); }

.contact__info { display: grid; gap: 14px; align-content: start; }
.infocard { display: flex; align-items: center; gap: 1em; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
a.infocard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.infocard__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--sage-wash); color: var(--sage-d); display: grid; place-items: center; flex: none; }
.infocard__icon i { width: 1.35em; height: 1.35em; }
.infocard span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.infocard strong { font-weight: 600; }
.infocard em { font-style: normal; color: var(--ink-soft); font-size: .92rem; }
.contact__social { display: flex; gap: 10px; margin-block-start: 6px; }
.contact__social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-wash); color: var(--sage-d); transition: background .2s, color .2s, transform .2s; }
.contact__social a:hover { background: var(--sage-d); color: #fff; transform: translateY(-3px); }
.contact__social i, .contact__social .sico { width: 1.2em; height: 1.2em; }

/* ---------- footer ---------- */
.footer { background: var(--sage-dd); color: #d9e0d0; padding-block: clamp(48px, 6vw, 72px) 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-block-end: 44px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__city { color: var(--terra); }
.brand--light .brand__mark { background: rgba(255,255,255,.12); }
.footer__tag { color: #b9c4ac; margin-block: 16px; font-size: .96rem; max-width: 38ch; }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-block-end: 16px; }
.footer__col a, .footer__muted { display: block; color: #c4cdb8; padding-block: 6px; font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__muted { color: #9fab90; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); }
.footer__barinner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-block: 20px; font-size: .86rem; color: #aab59b; }
.footer__disclaimer { color: #93a084; }
.footer .contact__social a { background: rgba(255,255,255,.1); color: #e7ecdf; }
.footer .contact__social a:hover { background: var(--terra); color: #fff; }

/* ---------- floating ---------- */
.wafloat { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 70; display: inline-flex; align-items: center; gap: .55em; background: var(--wa); color: #fff; padding: .8em 1.15em; border-radius: var(--r-pill); font-weight: 600; box-shadow: 0 14px 30px -10px rgba(31,170,85,.6); transition: transform .25s ease, box-shadow .25s ease; }
.wafloat:hover { transform: translateY(-3px) scale(1.03); }
.wafloat i { width: 1.3em; height: 1.3em; }
.totop { position: fixed; inset-block-end: 24px; inset-inline-start: 22px; z-index: 70; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--sage-dd); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop i { width: 1.25em; height: 1.25em; }

/* ---------- reveal (gated on .js so no-JS shows everything) ---------- */
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(22px); }

/* ---------- RTL niceties ---------- */
html[dir="rtl"] .rtl-flip { transform: scaleX(-1); }
html[dir="rtl"] .hero__imgwrap { border-radius: 200px 200px var(--r-lg) var(--r-lg); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin-inline: auto; width: 100%; }
  .ritual__inner, .about__inner, .faq__inner, .contact__grid { grid-template-columns: 1fr; }
  .about__media, .ritual__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset-block-start: 0; inset-inline-end: 0; height: 100dvh; width: min(82vw, 340px); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; background: var(--surface); padding: 92px 22px 30px; box-shadow: var(--shadow-lg); transform: translateX(100%); visibility: hidden; pointer-events: none; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .35s; margin-inline-start: 0; z-index: 55; }
  html[dir="rtl"] .nav { transform: translateX(-100%); inset-inline-end: 0; }
  .nav.open { transform: none; visibility: visible; pointer-events: auto; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s; }
  .nav__link { padding: .85em 1em; font-size: 1.06rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hamburger { display: inline-flex; }
  .header__cta { display: none; }
  .topbar__promo { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .stat:nth-child(3)::before, .stat:nth-child(2)::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .wafloat__label { display: none; }
  .wafloat { padding: .9em; }
}
@media (max-width: 520px) {
  .grid--3 { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .offer__inner { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero__badge--rating { inset-inline-start: 2%; }
  .hero__badge--welcome { inset-inline-end: 2%; }
}

/* ---------- nav backdrop ---------- */
.navscrim { position: fixed; inset: 0; background: rgba(40,35,28,.42); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 50; }
.navscrim.show { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .service:hover, .feature:hover, .review:hover, a.infocard:hover { transform: none; }
}
