/* ============================================================
   REFRESH.css — premium boutique style inspired by reference
   Loads after style.css and overrides where needed.
   ============================================================ */

/* Global border-box reset — form controls (width:100% + padding) and
   padded containers must not exceed their box on narrow viewports. */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --rf-cream:        #F0E7D5;
  --rf-cream-soft:   #F4EFE2;
  --rf-beige:        #BBA98C;
  --rf-beige-warm:   #D4C2A3;
  --rf-olive:        #535941;
  --rf-olive-dark:   #3F4530;
  --rf-gold:         #C9A87A;
  --rf-gold-warm:    #D7B98A;
  --rf-ink:          #2A2A2A;
  --rf-mute:         #6B6757;

  --rf-serif:  'Cormorant Garamond', Georgia, serif;
  --rf-script: 'Pinyon Script', 'Allura', cursive;
  --rf-sans:   'DM Sans', -apple-system, sans-serif;

  --rf-max:    1240px;
  --rf-radius: 50%;
  --rf-ease:   cubic-bezier(.22,.61,.36,1);
}

/* fluid system */
html { scroll-behavior: smooth; }
body {
  font-family: var(--rf-sans);
  font-weight: 300;
  color: var(--rf-ink);
  background: var(--rf-cream-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== NAV (refresh) ===== */
.rf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  min-height: 150px;
  transition: background .4s var(--rf-ease), backdrop-filter .4s var(--rf-ease);
}
.rf-nav--scrolled {
  background: rgba(240,231,213,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.rf-nav__burger {
  background: none; border: none; cursor: pointer; padding: .5rem;
  display: flex; flex-direction: column; gap: 6px; width: 36px;
  transition: opacity .2s;
}
.rf-nav__burger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--rf-cream);
  transition: background .4s var(--rf-ease);
}
.rf-nav--scrolled .rf-nav__burger span { background: var(--rf-ink); }
.rf-nav__burger:hover { opacity: .7; }

.rf-nav__logo {
  display: block;
  width: 142px; height: 142px;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(15deg);
  transition: filter .4s var(--rf-ease), transform .4s var(--rf-ease);
}
.rf-nav--scrolled .rf-nav__logo { filter: none; }
.rf-nav__logo:hover { transform: translate(-50%, -50%) rotate(15deg); }

.rf-nav__cta {
  display: flex; gap: .75rem;
  align-items: center;
}

/* Language switcher */
.rf-lang {
  display: inline-flex;
  gap: 2px;
  margin-right: .5rem;
  padding: 4px;
  border: 1px solid rgba(240,231,213,.4);
  border-radius: 999px;
  transition: border-color .4s var(--rf-ease);
}
.rf-nav--scrolled .rf-lang { border-color: rgba(42,42,42,.25); }
.rf-lang__btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: .35rem .7rem;
  font-family: var(--rf-sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--rf-cream);
  border-radius: 999px;
  transition: all .3s var(--rf-ease);
}
.rf-nav--scrolled .rf-lang__btn { color: var(--rf-ink); }
.rf-lang__btn:hover { opacity: .7; }
.rf-lang__btn--active {
  background: var(--rf-gold);
  color: var(--rf-cream);
}
.rf-nav--scrolled .rf-lang__btn--active { color: var(--rf-cream); }

/* Language toggle — default EN, show only [data-lang-en] elements */
body [data-lang-ru] { display: none; }
body[data-lang="ru"] [data-lang-en] { display: none; }
body[data-lang="ru"] [data-lang-ru] { display: inline; }
/* preserve block-level if span was a block container */
body[data-lang="ru"] div[data-lang-ru],
body[data-lang="ru"] p[data-lang-ru] { display: block; }
.rf-nav__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.5rem;
  font-family: var(--rf-sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--rf-cream);
  color: var(--rf-cream);
  border-radius: 999px;
  transition: all .3s var(--rf-ease);
  background: transparent;
}
.rf-nav__btn:hover {
  background: var(--rf-cream);
  color: var(--rf-ink);
}
.rf-nav--scrolled .rf-nav__btn {
  border-color: var(--rf-ink);
  color: var(--rf-ink);
}
.rf-nav--scrolled .rf-nav__btn:hover {
  background: var(--rf-ink);
  color: var(--rf-cream);
}

/* ===== Burger DRAWER ===== */
.rf-drawer {
  position: fixed; top: 0; left: 0;
  width: min(420px, 100%);
  height: 100vh; height: 100dvh;
  background: var(--rf-olive);
  color: var(--rf-cream);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .55s var(--rf-ease);
  overflow-y: auto;
  padding: 5rem 3rem 3rem;
}
.rf-drawer--open { transform: translateX(0); }
.rf-drawer__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px;
  border: none; background: none; cursor: pointer;
  color: var(--rf-cream); font-size: 1.5rem;
}
.rf-drawer__list {
  list-style: none; padding: 0; margin: 0;
}
.rf-drawer__item {
  border-bottom: 1px solid rgba(201,168,122,.2);
}
.rf-drawer__link {
  display: block;
  padding: 1.1rem 0;
  color: var(--rf-cream);
  font-family: var(--rf-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .3s var(--rf-ease), padding-left .3s var(--rf-ease);
}
.rf-drawer__link:hover {
  color: var(--rf-gold);
  padding-left: .5rem;
}
.rf-drawer__sub {
  list-style: none; padding: 0 0 1rem 1rem; margin: 0;
  display: none;
}
.rf-drawer__item--open .rf-drawer__sub { display: block; }
.rf-drawer__sub a {
  display: block;
  padding: .55rem 0;
  font-family: var(--rf-sans);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rf-cream);
  text-decoration: none;
  opacity: .75;
  transition: opacity .3s var(--rf-ease);
}
.rf-drawer__sub a:hover { opacity: 1; color: var(--rf-gold); }
.rf-drawer__caret {
  float: right; font-size: 1rem; line-height: 1.5;
  transition: transform .3s var(--rf-ease);
}
.rf-drawer__item--open .rf-drawer__caret { transform: rotate(45deg); }

.rf-drawer__bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,168,122,.2);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.rf-lang--drawer {
  border-color: rgba(201,168,122,.4);
}
.rf-lang--drawer .rf-lang__btn { color: var(--rf-cream); }
.rf-lang--drawer .rf-lang__btn--active {
  background: var(--rf-gold);
  color: var(--rf-cream);
}
.rf-btn--drawer { width: auto; }

.rf-backdrop {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--rf-ease);
}
.rf-backdrop--show { opacity: 1; pointer-events: auto; }

/* ===== HERO ===== */
.rf-hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  width: 100%;
  background-color: var(--rf-olive-dark);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: var(--rf-cream);
  padding: 8rem 4vw 6rem 6vw;
  overflow: hidden;
}
/* Hero background image as a sibling block, anchored right */
.rf-hero__photo {
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}
.rf-hero__inner {
  position: relative;
  max-width: 540px;
  z-index: 2;
}
@media (max-width: 880px) {
  .rf-hero { text-align: center; align-items: center; justify-content: center; padding: 7rem 1.5rem 4rem; }
  .rf-hero__photo { width: 100%; opacity: .35; }
  .rf-hero__inner { max-width: 640px; }
}
.rf-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28,30,22,.85) 0%, rgba(28,30,22,.55) 35%, rgba(28,30,22,.15) 55%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.4) 100%);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 880px) {
  .rf-hero::before {
    background:
      radial-gradient(ellipse at center 55%, rgba(28,30,22,.75) 0%, rgba(28,30,22,.45) 50%, rgba(0,0,0,.3) 100%);
  }
}
.rf-hero__inner {
  position: relative;
  max-width: 720px;
}
.rf-hero__title {
  font-family: var(--rf-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 .25rem;
  letter-spacing: .015em;
}
.rf-hero__script {
  font-family: var(--rf-script);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--rf-gold-warm);
  margin: -.5rem 0 1.5rem;
}
.rf-hero__body {
  font-family: var(--rf-serif);
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  letter-spacing: .03em;
  margin-bottom: 1.5rem;
}
.rf-hero__tag {
  font-family: var(--rf-sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--rf-gold-warm);
  margin: 0 0 1rem;
}
.rf-hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--rf-cream);
  text-decoration: none;
  animation: rf-bob 2.4s ease-in-out infinite;
}
@keyframes rf-bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
.rf-section {
  padding: clamp(4rem, 8vw, 8rem) 1.5rem;
  position: relative;
  overflow: hidden;
}
.rf-section--cream { background: var(--rf-cream-soft); color: var(--rf-ink); }
.rf-section--cream-warm { background: var(--rf-cream); color: var(--rf-ink); }
.rf-section--beige { background: var(--rf-beige-warm); color: var(--rf-ink); }
.rf-section--olive { background: var(--rf-olive); color: var(--rf-cream); }
.rf-section--olive-dark { background: var(--rf-olive-dark); color: var(--rf-cream); }
.rf-container {
  max-width: var(--rf-max);
  margin: 0 auto;
}

/* Two-column with text + photo */
.rf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.rf-split--reverse { direction: rtl; }
.rf-split--reverse > * { direction: ltr; }
.rf-split__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.rf-split__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 880px) {
  .rf-split { grid-template-columns: 1fr; }
}

/* Typography */
.rf-h1 {
  font-family: var(--rf-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  letter-spacing: .01em;
}
.rf-h2 {
  font-family: var(--rf-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}
.rf-h3 {
  font-family: var(--rf-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}
.rf-script-em {
  font-family: var(--rf-script);
  font-weight: 400;
  color: var(--rf-gold);
  font-style: normal;
  letter-spacing: 0;
}
.rf-section--olive .rf-script-em,
.rf-section--olive-dark .rf-script-em { color: var(--rf-gold-warm); }
.rf-tag {
  display: inline-block;
  font-family: var(--rf-sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--rf-gold);
  margin-bottom: 1rem;
}
.rf-body {
  font-family: var(--rf-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--rf-mute);
}
.rf-section--olive .rf-body,
.rf-section--olive-dark .rf-body { color: rgba(240,231,213,.85); }
.rf-body strong {
  font-weight: 500;
  color: var(--rf-ink);
}
.rf-section--olive .rf-body strong,
.rf-section--olive-dark .rf-body strong { color: var(--rf-cream); }
.rf-body em {
  font-family: var(--rf-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08em;
  color: var(--rf-olive);
  letter-spacing: .01em;
}
.rf-section--olive .rf-body em,
.rf-section--olive-dark .rf-body em { color: var(--rf-gold-warm); }
.rf-script-large {
  font-family: var(--rf-script);
  font-weight: 400;
  color: var(--rf-cream);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  text-align: center;
  display: block;
}
.rf-section--cream .rf-script-large,
.rf-section--cream-warm .rf-script-large,
.rf-section--beige .rf-script-large { color: var(--rf-cream-soft); text-shadow: 0 1px 0 rgba(0,0,0,.05); }
.rf-display {
  font-family: var(--rf-serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .95;
  color: var(--rf-gold);
}
.rf-line { display: block; }
@media (max-width: 880px) {
  .rf-line { display: inline; }
}

/* ===== CIRCULAR CTA ===== */
.rf-circle-cta {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 180px; height: 180px;
  background: var(--rf-gold);
  color: var(--rf-cream);
  border-radius: 50%;
  font-family: var(--rf-sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  border: none;
  cursor: pointer;
  transition: transform .4s var(--rf-ease), background .3s var(--rf-ease), box-shadow .3s var(--rf-ease);
  padding: 1.5rem;
}
.rf-circle-cta:hover {
  background: var(--rf-gold-warm);
  transform: scale(1.06);
  box-shadow: 0 18px 42px rgba(201,168,122,.35);
}
.rf-circle-cta--small { width: 140px; height: 140px; font-size: .72rem; }
.rf-circle-cta--olive { background: var(--rf-olive); color: var(--rf-gold-warm); }
.rf-circle-cta--olive:hover { background: var(--rf-olive-dark); color: var(--rf-cream); }

/* ===== INLINE BUTTONS ===== */
.rf-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--rf-gold);
  color: var(--rf-cream);
  font-family: var(--rf-sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s var(--rf-ease);
}
.rf-btn:hover {
  background: var(--rf-gold-warm);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,168,122,.3);
}
.rf-btn--ghost {
  background: transparent;
  color: var(--rf-ink);
  border: 1px solid var(--rf-ink);
}
.rf-section--olive .rf-btn--ghost,
.rf-section--olive-dark .rf-btn--ghost {
  color: var(--rf-cream);
  border-color: var(--rf-cream);
}
.rf-btn--ghost:hover {
  background: var(--rf-ink);
  color: var(--rf-cream);
}
.rf-section--olive .rf-btn--ghost:hover,
.rf-section--olive-dark .rf-btn--ghost:hover {
  background: var(--rf-cream);
  color: var(--rf-olive);
}

/* ===== SERVICES STRIP ===== */
.rf-services {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
@media (max-width: 980px) { .rf-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .rf-services { grid-template-columns: 1fr; } }
.rf-service {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  text-decoration: none;
  color: var(--rf-cream);
}
.rf-service__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--rf-ease);
}
.rf-service:hover .rf-service__img { transform: scale(1.06); }
.rf-service::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
}
.rf-service__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.25rem;
  z-index: 1;
}
.rf-service__title {
  font-family: var(--rf-sans);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
}
.rf-service__desc {
  font-family: var(--rf-sans);
  font-size: .85rem;
  font-weight: 300;
  line-height: 1.5;
  opacity: .9;
  margin: 0;
}
.rf-service__arrow {
  position: absolute; top: 1rem; right: 1.25rem;
  z-index: 1; color: var(--rf-cream);
  font-size: 1.25rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all .4s var(--rf-ease);
}
.rf-service:hover .rf-service__arrow { opacity: 1; transform: translateX(0); }

/* ===== RETREAT POSTER CARDS (внешние ссылки на сами ретриты) ===== */
.rf-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 268px));
  justify-content: center;
  gap: 1.6rem;
  max-width: 1080px;
  margin: 0 auto;
}
.rf-event {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  color: var(--rf-cream);
  box-shadow: 0 12px 34px rgba(42,42,42,.16);
  transition: transform .5s var(--rf-ease), box-shadow .5s var(--rf-ease);
}
.rf-event:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(42,42,42,.26); }
.rf-event__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .9s var(--rf-ease);
}
.rf-event:hover .rf-event__img { transform: scale(1.05); }
.rf-event::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 58%, rgba(0,0,0,.5) 100%);
  opacity: 0;
  transition: opacity .45s var(--rf-ease);
  pointer-events: none;
}
.rf-event:hover::after { opacity: 1; }
.rf-event__arrow {
  position: absolute; top: .9rem; right: 1rem;
  z-index: 2;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(42,42,42,.42);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: var(--rf-cream); font-size: 1rem; line-height: 1;
  transition: background .4s var(--rf-ease), transform .4s var(--rf-ease);
}
.rf-event:hover .rf-event__arrow { background: var(--rf-gold); transform: rotate(-45deg); }
.rf-event__cta {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.2rem;
  font-family: var(--rf-sans);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--rf-ease), transform .45s var(--rf-ease);
}
.rf-event:hover .rf-event__cta { opacity: 1; transform: none; }

/* ===== BOOKING REQUEST FORM (заявка → WhatsApp) ===== */
.rf-book { max-width: 560px; margin: 0 auto; text-align: left; }
.rf-book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .rf-book__grid { grid-template-columns: 1fr; gap: 0; } }
.rf-book__field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.rf-book__field > span {
  font-family: var(--rf-sans);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--rf-olive);
}
.rf-book input,
.rf-book select,
.rf-book textarea {
  width: 100%;
  font-family: var(--rf-sans);
  font-size: 1rem;
  color: var(--rf-ink);
  background: #fff;
  border: 1px solid rgba(83,89,65,.22);
  border-radius: 8px;
  padding: .8rem .9rem;
  transition: border-color .3s var(--rf-ease), box-shadow .3s var(--rf-ease);
}
.rf-book select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23535941' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.2rem;
}
.rf-book input:focus,
.rf-book select:focus,
.rf-book textarea:focus { outline: none; border-color: var(--rf-gold); box-shadow: 0 0 0 3px rgba(201,168,122,.15); }
.rf-book textarea { resize: vertical; min-height: 88px; }
.rf-book__submit { width: 100%; margin-top: .4rem; border: none; cursor: pointer; }
.rf-book__hint { font-family: var(--rf-sans); font-size: .85rem; line-height: 1.5; color: var(--rf-mute); text-align: center; margin: 1rem 0 0; }

/* ===== HAVE YOU EVER list ===== */
.rf-list {
  list-style: none; padding: 0; margin: 0;
}
.rf-list li {
  position: relative;
  padding: .75rem 0 .75rem 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--rf-mute);
}
.rf-list li::before {
  content: '◦';
  position: absolute; left: 0; top: .75rem;
  color: var(--rf-gold);
  font-size: 1.15rem;
  line-height: 1.5;
}
.rf-section--olive .rf-list li,
.rf-section--olive-dark .rf-list li { color: rgba(240,231,213,.85); }
.rf-section--olive .rf-list li::before,
.rf-section--olive-dark .rf-list li::before { color: var(--rf-gold-warm); }

/* ===== CALENDLY EMBED PLACEHOLDER ===== */
.rf-calendly {
  width: 100%;
  min-height: 720px;
  background: var(--rf-cream);
  border-radius: 4px;
}

/* ===== FREEBIE FORM ===== */
.rf-form {
  display: flex; flex-direction: column; gap: 1rem;
  max-width: 440px;
  margin: 1.5rem 0 0;
}
.rf-form input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(201,168,122,.35);
  background: rgba(255,255,255,.95);
  font-family: var(--rf-sans);
  font-size: .95rem;
  color: var(--rf-ink);
  border-radius: 4px;
  outline: none;
  transition: border-color .3s var(--rf-ease);
}
.rf-form input:focus { border-color: var(--rf-gold); }
.rf-form button { align-self: flex-start; }

/* ===== SCROLL-TOP CIRCLE ===== */
.rf-scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 56px; height: 56px;
  background: var(--rf-gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--rf-cream);
  text-decoration: none;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all .4s var(--rf-ease);
  box-shadow: 0 12px 24px rgba(201,168,122,.3);
}
.rf-scroll-top--show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.rf-scroll-top:hover {
  background: var(--rf-gold-warm);
  transform: translateY(-3px);
}

/* ===== POPUP ===== */
.rf-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
  animation: rf-fade .3s ease;
}
.rf-popup--show { display: flex; }
@keyframes rf-fade { from { opacity: 0; } to { opacity: 1; } }
.rf-popup__card {
  background: var(--rf-cream-soft);
  max-width: 540px; width: 100%;
  padding: 3rem 2.5rem;
  position: relative;
  border-radius: 4px;
  text-align: center;
  animation: rf-pop .4s var(--rf-ease);
}
@keyframes rf-pop {
  from { transform: translateY(20px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.rf-popup__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border: 1px solid var(--rf-mute);
  background: none; cursor: pointer;
  font-size: 1rem; color: var(--rf-ink);
  display: grid; place-items: center;
}

/* ===== REVEAL ANIMATION ===== */
.rf-rise {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--rf-ease), transform .9s var(--rf-ease);
}
.rf-rise--in {
  opacity: 1;
  transform: translateY(0);
}
.rf-fade {
  opacity: 0;
  transition: opacity 1.1s var(--rf-ease);
}
.rf-fade--in { opacity: 1; }

/* ===== UTILITIES ===== */
.rf-center { text-align: center; }
.rf-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.rf-mt-lg { margin-top: clamp(2rem, 4vw, 4rem); }
.rf-mt-md { margin-top: 1.5rem; }
.rf-divider {
  width: 60px; height: 1px;
  background: var(--rf-gold);
  margin: 2rem auto;
}

/* ===== FOOTER ===== */
.rf-footer {
  background: var(--rf-olive-dark);
  color: var(--rf-cream);
  padding: 4rem 1.5rem 2rem;
}
.rf-footer__grid {
  max-width: var(--rf-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) { .rf-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .rf-footer__grid { grid-template-columns: 1fr; } }
.rf-footer__logo {
  width: 90px; height: 90px;
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(15deg);
  margin-bottom: 1rem;
}
.rf-footer__heading {
  font-family: var(--rf-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--rf-gold);
  margin: 0 0 1.25rem;
}
.rf-footer ul { list-style: none; padding: 0; margin: 0; }
.rf-footer ul li { margin-bottom: .5rem; }
.rf-footer ul a {
  font-family: var(--rf-sans);
  font-size: .9rem;
  color: var(--rf-cream);
  text-decoration: none;
  opacity: .75;
  transition: opacity .2s;
}
.rf-footer ul a:hover { opacity: 1; color: var(--rf-gold-warm); }
.rf-footer__bottom {
  max-width: var(--rf-max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,168,122,.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--rf-sans);
  font-size: .8rem;
  opacity: .6;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.rf-cookie {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--rf-cream-soft);
  border: 1px solid rgba(201,168,122,.35);
  padding: 1.5rem 1.75rem;
  z-index: 250;
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
  display: none;
  flex-direction: column;
  gap: 1rem;
  animation: rf-cookie-in .5s var(--rf-ease);
}
.rf-cookie--show { display: flex; }
@keyframes rf-cookie-in {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.rf-cookie__title {
  font-family: var(--rf-serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--rf-ink);
  margin: 0;
}
.rf-cookie__text {
  font-family: var(--rf-sans);
  font-size: .85rem;
  line-height: 1.55;
  color: var(--rf-mute);
  margin: 0;
}
.rf-cookie__text a { color: var(--rf-gold); text-decoration: underline; }
.rf-cookie__actions {
  display: flex; gap: .65rem; flex-wrap: wrap;
}
.rf-cookie__btn {
  flex: 1;
  min-width: 120px;
  padding: .7rem 1rem;
  border-radius: 999px;
  font-family: var(--rf-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s var(--rf-ease);
  border: 1px solid var(--rf-ink);
  background: none;
  color: var(--rf-ink);
}
.rf-cookie__btn:hover { background: var(--rf-ink); color: var(--rf-cream); }
.rf-cookie__btn--primary {
  background: var(--rf-gold);
  color: var(--rf-cream);
  border-color: var(--rf-gold);
}
.rf-cookie__btn--primary:hover {
  background: var(--rf-gold-warm);
  border-color: var(--rf-gold-warm);
  color: var(--rf-cream);
}
@media (max-width: 540px) {
  .rf-cookie { padding: 1.25rem; }
  .rf-cookie__actions { flex-direction: column; }
}

/* Consent checkbox for forms */
.rf-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: .5rem 0;
  font-family: var(--rf-sans);
  font-size: .8rem;
  line-height: 1.5;
  color: var(--rf-mute);
}
.rf-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: .15rem;
  width: 16px; height: 16px;
  accent-color: var(--rf-gold);
}
.rf-consent a { color: var(--rf-gold); text-decoration: underline; }
.rf-section--olive .rf-consent,
.rf-section--olive-dark .rf-consent { color: rgba(240,231,213,.85); }

/* Legal pages */
.rf-legal {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--rf-sans);
  color: var(--rf-ink);
}
.rf-legal h2 {
  font-family: var(--rf-serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin: 2.5rem 0 1rem;
  color: var(--rf-ink);
}
.rf-legal h3 {
  font-family: var(--rf-serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 1.75rem 0 .75rem;
  color: var(--rf-ink);
}
.rf-legal p,
.rf-legal li {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--rf-mute);
  margin: 0 0 1rem;
}
.rf-legal ul, .rf-legal ol {
  padding-left: 1.5rem;
  margin: 0 0 1.5rem;
}
.rf-legal li { margin-bottom: .5rem; }
.rf-legal__meta {
  font-size: .8rem;
  color: var(--rf-mute);
  margin-bottom: 2rem;
  font-style: italic;
}
.rf-legal strong { color: var(--rf-ink); }

/* Footer legal block */
.rf-footer__legal {
  border-top: 1px solid rgba(201,168,122,.15);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
}
.rf-footer__legal a {
  font-family: var(--rf-sans);
  font-size: .78rem;
  color: var(--rf-cream);
  opacity: .55;
  text-decoration: none;
  transition: opacity .2s;
}
.rf-footer__legal a:hover { opacity: 1; }

/* Service-page medical disclaimer */
.rf-disclaimer {
  background: rgba(196,93,62,.08);
  border-left: 3px solid #C45D3E;
  padding: 1.25rem 1.5rem;
  margin: 2rem auto;
  max-width: 760px;
  font-family: var(--rf-sans);
  font-size: .88rem;
  line-height: 1.65;
  color: var(--rf-mute);
}
.rf-disclaimer strong { color: var(--rf-ink); }

/* ============================================================
   MOBILE OVERRIDES — final cascade
   ============================================================ */
@media (max-width: 880px) {
  .rf-nav { padding: 1.5rem 1.25rem 1.2rem; min-height: 116px; }
  .rf-nav__logo {
    width: 108px; height: 108px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .rf-nav__logo:hover { transform: translate(-50%, -50%) rotate(15deg); }
  .rf-nav__cta { display: none !important; }
  .rf-hero__title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .rf-hero__script { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .rf-hero__body { font-size: .98rem; }
  .rf-h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .rf-display {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.1;
    text-align: center;
    word-break: break-word;
  }
  .rf-display br { display: none; }
  .rf-script-large { font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.1; word-break: break-word; }
  .rf-services { grid-template-columns: 1fr 1fr; }
  .rf-circle-cta { width: 150px; height: 150px; font-size: .72rem; }
  .rf-section { padding: 3.5rem 1.25rem; }
  .rf-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .rf-split { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .rf-split--reverse { direction: ltr; }
  .rf-pullquote { font-size: clamp(1.15rem, 5vw, 1.6rem); padding: 1.5rem 0; }
  .rf-section .rf-h2 em.rf-script-em { display: inline-block; }
  /* Disable reveal animations on mobile — show content immediately */
  .rf-rise, .rf-fade {
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width: 540px) {
  .rf-services { grid-template-columns: 1fr; }
  .rf-footer__grid { grid-template-columns: 1fr; }
  .rf-tiles { grid-template-columns: 1fr; }
  .rf-quals { grid-template-columns: 1fr; }
  .rf-retreat { grid-template-columns: 1fr; }
}

/* ============================================================
   L99 MOBILE POLISH — readability, touch targets, safe areas
   ============================================================ */

/* Global safety net: prevent any element from forcing horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }

/* Prevent long Russian compounds and URLs from overflowing */
.rf-hero__title,
.rf-h1, .rf-h2, .rf-h3,
.rf-tile__title,
.rf-qual__title,
.rf-display,
.rf-script-large,
.rf-hero__tag,
.rf-tag {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* Tag tracking: tight on small screens, generous on desktop */
@media (max-width: 540px) {
  .rf-hero__tag { letter-spacing: .25em; font-size: .66rem; }
  .rf-tag { letter-spacing: .25em; font-size: .68rem; }
  .rf-tile__meta { letter-spacing: .08em; }
}
@media (max-width: 380px) {
  .rf-hero__tag { letter-spacing: .2em; font-size: .62rem; }
  .rf-tag { letter-spacing: .2em; font-size: .66rem; }
}

/* Inputs must be ≥16px to prevent iOS Safari zoom-on-focus */
.rf-form input,
.rf-form textarea,
.rf-contact-form input,
.rf-contact-form textarea {
  font-size: 16px;
}

/* Smooth scroll-padding so anchor links land below sticky nav */
html { scroll-padding-top: 100px; }
@media (max-width: 880px) { html { scroll-padding-top: 88px; } }

/* Safe-area for fixed elements on iPhones with home indicator */
@supports (padding: env(safe-area-inset-bottom)) {
  .rf-scroll-top {
    bottom: max(1.5rem, env(safe-area-inset-bottom) + .75rem);
    right: max(1.5rem, env(safe-area-inset-right) + .5rem);
  }
  .rf-cookie {
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
  .rf-footer { padding-bottom: max(2rem, env(safe-area-inset-bottom) + 1rem); }
  .rf-drawer { padding-bottom: max(3rem, env(safe-area-inset-bottom) + 2rem); }
}

/* Hero — stronger gradient on mobile so light text always stays legible */
@media (max-width: 880px) {
  .rf-hero::before {
    background:
      linear-gradient(180deg, rgba(28,30,22,.55) 0%, rgba(28,30,22,.45) 40%, rgba(28,30,22,.75) 100%),
      radial-gradient(ellipse at center 50%, rgba(28,30,22,.55) 0%, rgba(28,30,22,.35) 60%, rgba(0,0,0,.25) 100%);
  }
  .rf-hero__photo { opacity: .55; }
  .rf-hero { padding: 6.5rem 1.25rem 5rem; }
  .rf-hero--inner { min-height: 60vh; min-height: 60svh; min-height: 60dvh; }
  .rf-hero__body { font-size: 1rem; line-height: 1.7; }
  .rf-hero__scroll { bottom: 1.25rem; }
}

/* Touch targets ≥44px (Apple HIG) — nav, language switcher, close buttons */
.rf-nav__btn { min-height: 44px; padding: .9rem 1.5rem; }
.rf-lang__btn { min-height: 36px; padding: .45rem .85rem; }
.rf-drawer__close { width: 44px; height: 44px; font-size: 1.4rem; line-height: 1; }
.rf-popup__close { width: 40px; height: 40px; }
.rf-nav__burger { min-height: 44px; min-width: 44px; padding: .6rem .4rem; }

/* Drawer link comfort */
.rf-drawer__link { min-height: 48px; display: flex; align-items: center; }

/* FAQ — bigger tap target on the toggle question */
.rf-faq__q { min-height: 56px; font-size: clamp(1.05rem, 2.4vw, 1.2rem); }

/* Body baseline — bump to 17px on small screens for retina legibility */
@media (max-width: 880px) {
  .rf-body { font-size: 1.0625rem; line-height: 1.75; }
  .rf-list li { font-size: 1.0625rem; line-height: 1.7; }
  .rf-tile__list li { font-size: .95rem; line-height: 1.6; }
  .rf-qual__text { font-size: 1rem; line-height: 1.65; }
}

/* Pricing tiles — comfortable mobile padding */
@media (max-width: 540px) {
  .rf-tile { padding: 2rem 1.5rem; gap: .85rem; }
  .rf-tile__title { font-size: 1.4rem; }
  .rf-tile__badge { left: 1rem; font-size: .6rem; padding: .3rem .75rem; }
  .rf-retreat__body { padding: 1.75rem 1.25rem; }
  .rf-qual { padding: 1.5rem 1.25rem; }
}

/* Contact channel cards — stack on phones for thumb-friendly tap */
@media (max-width: 540px) {
  .rf-contact-cards { grid-template-columns: 1fr; gap: .85rem; }
  .rf-contact-card { padding: 1.4rem 1.25rem; text-align: left; display: flex; align-items: center; gap: 1rem; }
  .rf-contact-card svg { margin: 0; flex-shrink: 0; }
  .rf-contact-card__title { font-size: 1.1rem; margin: 0; }
  .rf-contact-card__handle { font-size: .82rem; margin: 0; }
}

/* Calendly embed — shorter on phones */
@media (max-width: 880px) {
  .calendly-inline-widget { height: 620px !important; min-height: 620px !important; }
}
@media (max-width: 540px) {
  .calendly-inline-widget { height: 560px !important; min-height: 560px !important; }
}

/* Circle CTA — smaller on tight phones */
@media (max-width: 480px) {
  .rf-circle-cta { width: 130px; height: 130px; font-size: .68rem; padding: 1rem; }
}

/* Pull-quote — softer on phones */
@media (max-width: 540px) {
  .rf-pullquote {
    font-size: clamp(1.15rem, 4.8vw, 1.5rem);
    padding: 1.5rem 0;
    line-height: 1.5;
  }
}

/* Forms — wider tap targets + accent borders */
@media (max-width: 540px) {
  .rf-form input,
  .rf-contact-form input,
  .rf-contact-form textarea {
    padding: .95rem 1.1rem;
    border-radius: 6px;
  }
  .rf-form button,
  .rf-contact-form button { width: 100%; align-self: stretch; padding: 1.05rem 1.5rem; }
  .rf-form { max-width: 100%; }
}

/* CTA button & links — comfortable tap on tight phones */
@media (max-width: 540px) {
  .rf-btn { padding: 1rem 2rem; font-size: .78rem; letter-spacing: .22em; }
}

/* Footer bottom row — readable + wraps gracefully */
@media (max-width: 540px) {
  .rf-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
    font-size: .78rem;
  }
  .rf-footer__legal { justify-content: center; gap: 1rem 1.5rem; }
}

/* Cookie banner — readable buttons on tight phones */
@media (max-width: 540px) {
  .rf-cookie__btn { min-height: 44px; }
}

/* Small phones (≤380px) — iPhone SE, Galaxy S8 etc */
@media (max-width: 380px) {
  .rf-section { padding: 3rem 1rem; }
  .rf-hero { padding: 6rem 1rem 4rem; }
  .rf-hero__title { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .rf-hero__script { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  .rf-hero__tag { font-size: .68rem; letter-spacing: .3em; }
  .rf-h2 { font-size: clamp(1.55rem, 6.5vw, 2rem); }
  .rf-display { font-size: clamp(1.6rem, 7.5vw, 2.3rem); letter-spacing: .04em; }
  .rf-script-large { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .rf-tile { padding: 1.75rem 1.25rem; }
  .rf-tile__title { font-size: 1.25rem; }
  .rf-circle-cta { width: 120px; height: 120px; font-size: .66rem; padding: .85rem; letter-spacing: .2em; }
  .rf-services { grid-template-columns: 1fr; }
  .rf-gallery-grid { grid-template-columns: 1fr 1fr; gap: .4rem; }
  .rf-nav__logo { width: 92px !important; height: 92px !important; }
  .rf-nav { min-height: 100px !important; padding: 1rem 1rem .9rem !important; }
}

/* Galaxy Fold (≤320px) safety net */
@media (max-width: 320px) {
  .rf-section { padding: 2.5rem .85rem; }
  .rf-hero { padding: 5.5rem .85rem 3.5rem; }
  .rf-tag, .rf-hero__tag { letter-spacing: .25em; }
  .rf-btn { padding: .95rem 1.5rem; letter-spacing: .18em; }
}

/* Landscape phones — short screens, give hero room without 100vh */
@media (max-width: 940px) and (orientation: landscape) and (max-height: 540px) {
  .rf-hero { min-height: 0; padding: 5.5rem 2rem 3rem; }
  .rf-hero--inner { min-height: 0; }
  .rf-hero__scroll { display: none; }
}

/* High-DPI body weight bump for crispness — only on mobile retina */
@media (max-width: 880px) and (-webkit-min-device-pixel-ratio: 2),
       (max-width: 880px) and (min-resolution: 192dpi) {
  body { -webkit-text-stroke: .15px; }
}

/* Disable hover-only transforms on touch devices */
@media (hover: none) {
  .rf-tile:hover,
  .rf-service:hover .rf-service__img,
  .rf-contact-card:hover,
  .rf-btn:hover,
  .rf-gallery-grid__item:hover,
  .rf-circle-cta:hover {
    transform: none;
  }
}

/* Tap feedback — subtle press effect on phones (no hover available) */
@media (hover: none) {
  .rf-btn:active { background: var(--rf-gold-warm); }
  .rf-tile:active { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
  .rf-contact-card:active { border-color: var(--rf-gold); }
}
