/* Sito web e prenotazioni — dalla ricerca alla poltrona (D179). */

/* ─── Browser frame and the mini site ─────────────────────────────── */

.ws-browser {
  overflow: hidden;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 50px 100px -40px rgba(23, 25, 26, .45), 0 0 0 1px var(--hair);
}
.ws-browser__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #F4F4F2;
  border-bottom: 1px solid var(--hair);
}
.ws-browser__dots { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.ws-browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: #D9D9D5; }
.ws-browser__address {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: #FFFFFF;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mist);
}
.ws-browser__address.is-secure { color: #2F6B4A; }
.ws-browser__url { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; animation: ws-url .6s ease both; }
@keyframes ws-url { from { opacity: 0; transform: translateY(6px); } }
.ws-lock { flex: 0 0 auto; }

.ws-view { position: relative; height: 470px; overflow: hidden; background: #FFFFFF; container-type: inline-size; }
.ws-layer { position: absolute; inset: 0; overflow: hidden; }
.ws-layer--in { animation: ws-wipe 1.05s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes ws-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.ws-view__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--gold-line);
  box-shadow: 0 0 22px 2px rgba(184, 153, 104, .7);
  pointer-events: none;
  animation: ws-edge 1.05s cubic-bezier(.7, 0, .2, 1) both;
}
@keyframes ws-edge { from { left: 0; opacity: 1; } 85% { opacity: 1; } to { left: 100%; opacity: 0; } }

.ws-site {
  min-height: 100%;
  background: var(--s-bg);
  color: var(--s-fg);
  font-family: var(--sans);
  font-size: clamp(8px, 1.72cqi, 13px);
  line-height: 1.4;
  text-align: start;
  transition: background-color .5s ease, color .5s ease;
}
.ws-site--phone { font-size: clamp(8px, 4.1cqi, 13px); }
.ws-site__bar {
  display: flex;
  align-items: center;
  gap: 1.6em;
  padding: 1.1em 2.2em;
  background: #FFFFFF;
  color: #171917;
  border-bottom: 1px solid rgba(23, 25, 26, .08);
}
.ws-site__bar.is-dark { background: #101110; color: #FFFFFF; border-color: rgba(255, 255, 255, .1); }
.ws-site__logo { display: inline-flex; align-items: center; gap: .6em; font-weight: 600; white-space: nowrap; }
.ws-site__logo i,
.ws-book__brand i,
.ws-search__url i,
.ws-shop__head i,
.ws-mail__from i,
.ws-langs__salon i {
  display: inline-grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: var(--cream);
  color: #FFFFFF;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 600;
}
.ws-site__logo i { background: var(--s-fg); color: var(--s-bg); }
.ws-site__bar.is-dark .ws-site__logo i { background: #FFFFFF; color: #101110; }
.ws-site__nav { display: flex; flex: 1 1 auto; justify-content: center; gap: 1.5em; min-width: 0; overflow: hidden; font-size: .86em; white-space: nowrap; opacity: .72; }
.ws-site__nav .is-current { opacity: 1; box-shadow: 0 1px 0 currentColor; }
.ws-site__book { padding: .55em 1.25em; border-radius: 999px; background: var(--s-fg); color: var(--s-bg); font-size: .86em; font-weight: 600; white-space: nowrap; }
.ws-site__bar.is-dark .ws-site__book { background: #FFFFFF; color: #101110; }

.ws-site__hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 2.4em; align-items: center; padding: 3.2em 2.4em 2.8em; }
.ws-site__copy { position: relative; z-index: 1; }
.ws-site__title { display: block; font-size: 3.15em; line-height: 1.02; letter-spacing: -.01em; }
.ws-site__sub { display: block; max-width: 26em; margin-top: .9em; font-size: 1.05em; opacity: .72; }
.ws-site__cta { display: inline-flex; align-items: center; gap: .7em; margin-top: 1.6em; padding: .85em 1.5em; border-radius: var(--s-radius); background: var(--s-fg); color: var(--s-bg); font-weight: 600; }
.ws-site__cta b { font-weight: 400; }
.ws-site__media { aspect-ratio: 4 / 3.5; overflow: hidden; border-radius: var(--s-radius); }
.ws-site__media .ws-art { display: block; width: 100%; height: 100%; }
.ws-site__media--logo {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--s-fg) 5%, var(--s-bg));
  border: 1px dashed color-mix(in srgb, var(--s-fg) 28%, transparent);
}
.ws-site__media--logo span { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--s-fg); color: var(--s-bg); font-family: var(--serif); font-size: 2.6em; }

.ws-site__block {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  gap: .2em 2em;
  padding: 1.9em 2.4em;
  border-top: 1px solid color-mix(in srgb, var(--s-fg) 12%, transparent);
}
.ws-site__block > * { grid-column: 2; }
.ws-site__label { grid-column: 1; grid-row: 1 / span 6; align-self: start; font-size: 1.55em; line-height: 1.1; }
.ws-site__text { opacity: .75; }
.ws-site__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1.6em; padding: .5em 0; border-bottom: 1px dotted color-mix(in srgb, var(--s-fg) 22%, transparent); }
.ws-site__row b { font-weight: 600; }
.ws-site__row span { opacity: .7; }
.ws-site__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.ws-site__product { display: flex; flex-direction: column; align-items: flex-start; gap: .25em; padding: 1em; border-radius: var(--s-radius); background: color-mix(in srgb, var(--s-fg) 6%, var(--s-bg)); }
.ws-site__product .ws-bottle { width: 1.9em; height: 3em; margin-bottom: .4em; }
.ws-site__product span { opacity: .7; }
.ws-site__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.ws-site__tile { aspect-ratio: 1; border-radius: var(--s-radius); background: color-mix(in srgb, var(--s-fg) 14%, var(--s-bg)); }
.ws-site__tile--1 { background: linear-gradient(160deg, color-mix(in srgb, #B89968 55%, var(--s-bg)), color-mix(in srgb, var(--s-fg) 30%, var(--s-bg))); }
.ws-site__tile--2 { background: radial-gradient(circle at 50% 40%, color-mix(in srgb, #ffffff 60%, var(--s-bg)) 0 28%, color-mix(in srgb, var(--s-fg) 22%, var(--s-bg)) 29%); }
.ws-site__tile--3 { background: linear-gradient(0deg, color-mix(in srgb, #5f7f62 45%, var(--s-bg)) 0 35%, color-mix(in srgb, var(--s-fg) 8%, var(--s-bg)) 35%); }
.ws-site__foot { padding: 1.5em 2.4em; font-size: .8em; text-align: center; opacity: .55; }

.ws-font--serif .ws-site__title,
.ws-font--serif .ws-site__label,
.ws-font--serif .ws-site__logo { font-family: var(--serif); font-weight: 500; }
.ws-font--sans .ws-site__title,
.ws-font--sans .ws-site__label { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; }
.ws-font--script .ws-site__title,
.ws-font--script .ws-site__label,
.ws-font--script .ws-site__logo { font-family: var(--serif); font-style: italic; font-weight: 500; }
.ws-font--sans .ws-site__title { font-size: 2.8em; }

/* The five layouts of the drawing. */
.ws-site--poster .ws-site__hero { grid-template-columns: minmax(0, 1fr); min-height: 23em; align-content: end; }
.ws-site--poster .ws-site__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; opacity: .42; }
.ws-site--poster .ws-site__title { font-size: 4.2em; font-style: italic; }
.ws-site--organic .ws-site__hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.ws-site--organic .ws-site__media { order: -1; aspect-ratio: 1; }
.ws-site--organic .ws-site__block { margin: 0 1.4em; padding-inline: 1em; }
.ws-site--organic .ws-site__cta { border-radius: 999px; }
.ws-site--bold .ws-site__title { font-size: 3em; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; }
.ws-site--bold .ws-site__block { border-top: .25em solid var(--s-fg); }
.ws-site--bold .ws-site__label { text-transform: uppercase; font-weight: 800; }
.ws-site--centered .ws-site__hero { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.ws-site--centered .ws-site__sub { margin-inline: auto; }
.ws-site--centered .ws-site__media { width: 100%; aspect-ratio: 16 / 6; }
.ws-site--centered .ws-site__block { grid-template-columns: minmax(0, 1fr); text-align: center; }
.ws-site--centered .ws-site__block > *,
.ws-site--centered .ws-site__label { grid-column: 1; grid-row: auto; }
.ws-site--centered .ws-site__label { margin-bottom: .5em; }

.ws-site--phone .ws-site__bar { padding: 1em 1.4em; }
.ws-site--phone .ws-site__nav { display: none; }
.ws-site--phone .ws-site__logo { flex: 1 1 auto; }
.ws-site--phone .ws-site__hero { grid-template-columns: minmax(0, 1fr); padding: 2.2em 1.4em; }
.ws-site--phone.ws-site--poster .ws-site__hero { min-height: 26em; }
.ws-site--phone .ws-site__title { font-size: 2.5em; }
.ws-site--phone .ws-site__block { grid-template-columns: minmax(0, 1fr); padding: 1.5em 1.4em; margin: 0; }
.ws-site--phone .ws-site__block > *,
.ws-site--phone .ws-site__label { grid-column: 1; grid-row: auto; }
.ws-site--phone .ws-site__label { margin-bottom: .5em; }

.ws-art__wall { fill: color-mix(in srgb, var(--s-fg, #30251f) 9%, var(--s-bg, #faf7f1)); }
.ws-art__floor { fill: color-mix(in srgb, var(--s-fg, #30251f) 17%, var(--s-bg, #faf7f1)); }
.ws-art__frame { fill: #B89968; }
.ws-art__glass { fill: color-mix(in srgb, #FFFFFF 72%, var(--s-bg, #faf7f1)); }
.ws-art__shine { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 2; stroke-linecap: round; }
.ws-art__chair { fill: var(--s-fg, #30251f); }
.ws-art__leaf { fill: #5F7F62; }
.ws-art__leaf--2 { fill: #7C9A74; }
.ws-art__leaf--3 { fill: #4E6B52; }
.ws-art__pot { fill: color-mix(in srgb, var(--s-fg, #30251f) 65%, #B89968); }
.ws-art__cord { stroke: var(--s-fg, #30251f); stroke-width: 1; }
.ws-art__lamp { fill: var(--s-fg, #30251f); }
.ws-art__bulb { fill: #F2D9A6; }

.ws-bottle__cap { fill: #1C1F1D; }
.ws-bottle__body { fill: #B89968; }
.ws-bottle--1 .ws-bottle__body { fill: #8FA58C; }
.ws-bottle--2 .ws-bottle__body { fill: #C99A8E; }
.ws-bottle__label { fill: #FFFFFF; opacity: .7; }

/* ─── Hero ───────────────────────────────────────────────────────── */

.ws-hero { position: relative; overflow: hidden; padding: 64px 0 110px; background: var(--ink); }
.ws-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -10%;
  width: 72%;
  height: 130%;
  background: radial-gradient(closest-side, rgba(184, 153, 104, .16), transparent);
  pointer-events: none;
}
.ws-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.ws-hero h1 { margin: 0 0 28px; font-size: clamp(46px, 5vw, 80px) !important; line-height: 1.02 !important; }
.ws-hero .ws-hero__lead { margin: 0; max-width: 560px; font-size: 20px !important; line-height: 1.6 !important; color: var(--mist); }
.ws-hero__stage { position: relative; padding: 0 0 0 36px; perspective: 1700px; }
.ws-hero__browser {
  opacity: 0;
  transform: rotateY(-12deg) rotateX(5deg) translateY(70px);
  transform-origin: 30% 50%;
  transition: opacity .9s ease .15s, transform 1.4s cubic-bezier(.16, 1, .3, 1) .15s;
}
.is-ready .ws-hero__browser { opacity: 1; transform: rotateY(-6deg) rotateX(2deg); }
.ws-hero__phone {
  position: absolute;
  left: -14px;
  bottom: 54px;
  z-index: 2;
  width: 190px;
  opacity: 0;
  transform: translateY(70px) rotate(-6deg);
  transition: opacity .8s ease .55s, transform 1.2s cubic-bezier(.16, 1, .3, 1) .55s;
}
.is-ready .ws-hero__phone { opacity: 1; transform: rotate(-4deg); }
.ws-phone { padding: 8px; border-radius: 32px; background: #1C1F1D; box-shadow: 0 40px 70px -30px rgba(23, 25, 26, .6); }
.ws-phone .ws-book { border-radius: 25px; }
.ws-hero__toast {
  position: absolute;
  right: -8px;
  top: -26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -24px rgba(23, 25, 26, .45), 0 0 0 1px var(--hair);
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(-14px) scale(.96);
  transition: opacity .5s ease 1.7s, transform .7s cubic-bezier(.34, 1.4, .64, 1) 1.7s;
}
.is-ready .ws-hero__toast { opacity: 1; transform: none; animation: ws-float 6s ease-in-out 2.6s infinite; }
@keyframes ws-float { 50% { transform: translateY(-6px); } }
.ws-hero__toast > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ws-hero__toast b { font-size: 13px; }
.ws-hero__toast > span:last-child span { color: var(--mist); }
.ws-hero__toast-mark { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--cream); color: var(--ink); font-family: var(--serif); font-size: 18px; }
.ws-hero__picker {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 22px 0 0 150px;
}
.ws-hero__pick { width: 100%; margin-bottom: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-align: end; text-transform: uppercase; color: var(--mist); }
.ws-hero__picker button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 7px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 13px;
  color: var(--cream);
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease, transform .25s ease;
}
.ws-hero__picker button:hover { transform: translateY(-2px); }
.ws-hero__picker button[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.ws-hero__picker i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px var(--hair-strong); }

/* The booking page drawn on a phone. */
.ws-book { display: flex; flex-direction: column; gap: 9px; height: 100%; padding: 22px 14px 16px; background: #FFFFFF; color: var(--cream); font-size: 11px; }
.ws-book__brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ws-book__title { font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.ws-book__steps { display: flex; gap: 4px; }
.ws-book__steps span { flex: 1 1 0; min-width: 0; padding-top: 5px; border-top: 2px solid var(--hair); overflow: hidden; font-size: 9px; color: var(--mist); text-overflow: ellipsis; white-space: nowrap; }
.ws-book__steps .is-done { border-color: var(--cream); color: var(--cream); }
.ws-book__steps .is-current { border-color: var(--gold-line); color: var(--cream); }
.ws-book__chip { padding: 8px 10px; border-radius: 10px; background: var(--ink-2); font-weight: 600; }
.ws-book__day { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.ws-book__times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.ws-book__times span { padding: 6px 0; border: 1px solid var(--hair-strong); border-radius: 8px; text-align: center; }
.ws-book__times .is-selected { background: var(--cream); border-color: var(--cream); color: #FFFFFF; }
.ws-book__button { margin-top: 4px; padding: 9px; border-radius: 999px; background: var(--cream); color: #FFFFFF; text-align: center; font-weight: 600; }

/* ─── Journey ────────────────────────────────────────────────────── */

.ws-journey { padding: 120px 0 100px; background: var(--ink-2); }
.ws-journey__head { max-width: 760px; margin-bottom: 64px; }
.ws-journey h2 { margin: 0 0 18px; font-size: clamp(40px, 4.4vw, 68px) !important; line-height: 1.04 !important; }
.ws-journey .ws-journey__intro { margin: 0; color: var(--mist); }
.ws-journey__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 80px; }
.ws-journey__steps { position: relative; margin: 0; padding: 0; list-style: none; --p: 0; }
.ws-journey__steps::before,
.ws-journey__steps::after { content: ""; position: absolute; inset-inline-start: 19px; top: 20px; bottom: 20px; width: 1px; background: var(--hair-strong); }
.ws-journey__steps::after { width: 2px; margin-inline-start: -.5px; background: linear-gradient(var(--gold-line), var(--gold)); transform: scaleY(var(--p)); transform-origin: top; }
.ws-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 24px; padding-bottom: 20vh; }
.ws-step:last-child { padding-bottom: 0; }
.ws-step__n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hair-strong);
  border-radius: 50%;
  background: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mist);
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.ws-step.is-now .ws-step__n,
.ws-step.is-past .ws-step__n { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.ws-step.is-now .ws-step__n { box-shadow: 0 0 0 7px rgba(184, 153, 104, .25); }
.ws-step__card {
  padding: 26px 30px;
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 0 24px 50px -36px rgba(23, 25, 26, .35);
  opacity: .45;
  transform: scale(.97);
  transform-origin: left center;
  transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
}
.ws-step.is-now .ws-step__card,
.ws-step.is-past .ws-step__card { opacity: 1; transform: none; }
.ws-step h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.1; color: var(--cream); }
.ws-step p { margin: 0; color: var(--mist); }
.ws-step__screen { display: none; }
.ws-journey__sticky { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: calc(100vh - 130px); }
.ws-journey__caption { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mist); }
.ws-journey__caption b { color: var(--cream); font-weight: 500; }

.ws-device {
  --screen-h: 568px;
  position: relative;
  width: 290px;
  height: 590px;
  padding: 11px;
  border-radius: 46px;
  background: #1C1F1D;
  box-shadow: 0 60px 100px -50px rgba(23, 25, 26, .55);
  transition: width .8s cubic-bezier(.7, 0, .2, 1), height .8s cubic-bezier(.7, 0, .2, 1), border-radius .8s ease;
}
.ws-device.is-tablet { width: 540px; height: 390px; border-radius: 30px; }
.ws-device__notch { position: absolute; top: 19px; left: 50%; z-index: 3; width: 72px; height: 19px; margin-left: -36px; border-radius: 999px; background: #1C1F1D; transition: opacity .3s ease; }
.ws-device.is-tablet .ws-device__notch { opacity: 0; }
.ws-device__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: #FFFFFF; container-type: inline-size; transition: border-radius .8s ease; }
.ws-device.is-tablet .ws-device__screen { border-radius: 20px; }
.ws-screen { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(.98); pointer-events: none; transition: opacity .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.ws-screen.is-on { opacity: 1; transform: none; }

.ws-search { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 54px 14px 14px; background: #FFFFFF; font-size: 12px; }
.ws-search__bar { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--ink-2); color: var(--mist); }
.ws-search__q { position: relative; min-width: 0; overflow: hidden; padding-inline-end: 4px; white-space: nowrap; text-overflow: ellipsis; font-family: var(--mono); font-size: 11px; color: var(--cream); }
.ws-search__q::after { content: ""; position: absolute; top: 2px; bottom: 2px; inset-inline-end: 0; width: 1.5px; background: var(--gold); animation: ws-caret .8s step-end infinite; }
.ws-screen--search.is-on .ws-search__q { animation: ws-type 1.6s steps(var(--n), end) .4s both; }
[dir="rtl"] .ws-screen--search.is-on .ws-search__q { animation-name: ws-type-rtl; }
@keyframes ws-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ws-type-rtl { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes ws-caret { 50% { opacity: 0; } }
.ws-search__result { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--hair); border-radius: 14px; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s ease; }
.ws-screen--search.is-on .ws-search__result { opacity: 1; transform: none; transition-delay: 2.1s; }
.ws-screen--search.is-on .ws-search__result:nth-child(3) { transition-delay: 2.3s; }
.ws-screen--search.is-on .ws-search__result:nth-child(4) { transition-delay: 2.45s; }
.ws-search__result.is-top { border-color: var(--gold-line); box-shadow: 0 14px 30px -20px rgba(122, 92, 46, .55); }
.ws-search__url { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--mist); }
.ws-search__url i { width: 18px; height: 18px; font-size: 10px; }
.ws-search__result b { font-size: 14px; line-height: 1.25; color: var(--cream); }
.ws-search__result.is-top > span:nth-of-type(2) { font-size: 11px; line-height: 1.4; color: var(--mist); }
.ws-search__book { align-self: flex-start; margin-top: 4px; padding: 5px 12px; border-radius: 999px; background: var(--cream); color: #FFFFFF; font-size: 10px; font-weight: 600; }
.ws-search__result i { display: block; height: 6px; border-radius: 3px; background: var(--ink-2); }
.ws-search__result > i:last-child { width: 60%; }

.ws-scroller { height: 100%; overflow: hidden; }
.ws-device .ws-site__bar { padding-top: 3.6em; }
.ws-screen--site.is-on .ws-site { animation: ws-browse 11s ease-in-out .8s infinite alternate; }
@keyframes ws-browse { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-100% + var(--screen-h))); } }

.ws-shop { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 52px 14px 14px; background: var(--ink-2); }
.ws-shop__head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; font-family: var(--serif); font-size: 26px; }
.ws-shop__head i { width: 26px; height: 26px; font-size: 13px; }
.ws-shop__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #FFFFFF;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(.3s + var(--i) * .15s);
}
.ws-screen--shop.is-on .ws-shop__item { opacity: 1; transform: none; }
.ws-shop__img { display: grid; grid-row: span 2; place-items: center; height: 74px; border-radius: 12px; background: var(--ink-2); }
.ws-shop__img .ws-bottle { width: 26px; height: 42px; }
.ws-shop__text { display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.ws-shop__text b { font-size: 13px; }
.ws-shop__text span { color: var(--mist); }
.ws-shop__ask { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--mark); color: var(--gold); font-size: 10px; font-weight: 600; }

.ws-device .ws-book { gap: 14px; padding: 60px 18px 22px; font-size: 13px; }
.ws-device .ws-book__title { font-size: 30px; }
.ws-device .ws-book__steps span { font-size: 10.5px; }
.ws-device .ws-book__chip { padding: 12px 14px; }
.ws-device .ws-book__times { gap: 8px; }
.ws-device .ws-book__times span { padding: 12px 0; }
.ws-device .ws-book__button { margin-top: auto; padding: 14px; }
.ws-screen--book.is-on .ws-book__times .is-selected { animation: ws-pop .6s cubic-bezier(.34, 1.6, .64, 1) .9s both; }
.ws-screen--book.is-on .ws-book__button { animation: ws-press 2.4s ease 1.6s infinite; }
@keyframes ws-pop { from { transform: scale(.7); background: #FFFFFF; color: var(--cream); } }
@keyframes ws-press { 0%, 70%, 100% { transform: none; } 80% { transform: scale(.95); } }

.ws-mail { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 52px 14px 14px; background: linear-gradient(170deg, #2A2724 0%, #141618 60%); color: #F4EFE6; font-size: 12px; }
.ws-mail__note { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; background: rgba(244, 239, 230, .14); backdrop-filter: blur(10px); opacity: 0; transform: translateY(-26px); transition: opacity .5s ease .3s, transform .7s cubic-bezier(.34, 1.4, .64, 1) .3s; }
.ws-mail__from { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(244, 239, 230, .7); }
.ws-mail__from i { width: 20px; height: 20px; background: #F4EFE6; color: #141618; font-size: 10px; }
.ws-mail__note b { font-size: 14px; }
.ws-mail__body { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; background: #FFFFFF; color: var(--cream); opacity: 0; transform: translateY(24px); transition: opacity .5s ease 1s, transform .7s cubic-bezier(.16, 1, .3, 1) 1s; }
.ws-screen--mail.is-on .ws-mail__note,
.ws-screen--mail.is-on .ws-mail__body { opacity: 1; transform: none; }
.ws-mail__hello { color: var(--mist); }
.ws-mail__card { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 12px; background: var(--ink-2); border-inline-start: 3px solid var(--gold-line); }
.ws-mail__card b { font-size: 14px; }
.ws-mail__card span { color: var(--mist); }
.ws-mail__actions { display: flex; gap: 8px; }
.ws-mail__actions span { flex: 1 1 0; padding: 8px; border: 1px solid var(--hair-strong); border-radius: 999px; text-align: center; font-size: 11px; font-weight: 600; }

.ws-cal { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 22px; background: #FFFFFF; font-size: 13px; }
.ws-cal__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--hair); }
.ws-cal__head b { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.ws-cal__head span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.ws-cal__row { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 52px; }
.ws-cal__time { font-family: var(--mono); font-size: 11px; color: var(--mist); }
.ws-cal__slot { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 9px 12px; border-radius: 12px; background: var(--ink-2); border-inline-start: 3px solid var(--hair-strong); }
.ws-cal__slot b,
.ws-cal__slot span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ws-cal__row.is-new .ws-cal__slot { padding-inline-end: 72px; }
.ws-cal__slot span { font-size: 12px; color: var(--mist); }
.ws-cal__row.is-new .ws-cal__slot { background: #F6EFE2; border-inline-start-color: var(--gold-line); }
.ws-screen--calendar.is-on .ws-cal__row.is-new { animation: ws-drop .9s cubic-bezier(.34, 1.4, .64, 1) .9s both; }
@keyframes ws-drop { from { opacity: 0; transform: translateY(-28px) scale(.96); } }
.ws-cal__slot .ws-cal__badge { position: absolute; top: 50%; inset-inline-end: 10px; padding: 4px 9px; border-radius: 999px; background: var(--cream); color: #FFFFFF; font-size: 10px; font-weight: 600; transform: translateY(-50%); }
.ws-cal__row--empty .ws-cal__slot { min-height: 38px; background: repeating-linear-gradient(45deg, var(--ink-2) 0 6px, #FFFFFF 6px 12px); border-inline-start-color: transparent; }

/* ─── Editor ─────────────────────────────────────────────────────── */

.ws-editor { padding: 130px 0; background: var(--night); color: var(--ivory); }
.ws-editor__head { max-width: 760px; margin-bottom: 56px; }
.ws-editor h2 { margin: 0 0 18px; font-size: clamp(40px, 4.4vw, 68px) !important; line-height: 1.04 !important; color: var(--ivory); }
.ws-editor .ws-editor__intro { margin: 0; color: var(--ivory-muted); }
.ws-ed {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .9fr);
  overflow: hidden;
  border-radius: 22px;
  background: #FFFFFF;
  color: var(--cream);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .8), 0 0 0 1px rgba(244, 239, 230, .08);
}
.ws-ed__preview { display: flex; flex-direction: column; min-width: 0; background: #EDEDEA; border-inline-end: 1px solid var(--hair); }
.ws-ed__preview .ws-browser__bar { background: #FFFFFF; }
.ws-ed__preview .ws-browser__address { background: var(--ink-2); }
.ws-ed__views { display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ink-2); }
.ws-ed__views button { padding: 4px 11px; border: 0; border-radius: 999px; background: none; font-size: 11px; color: var(--mist); cursor: pointer; }
.ws-ed__views button[aria-pressed="true"] { background: var(--cream); color: #FFFFFF; }
.ws-ed__canvas { display: flex; flex: 1 1 auto; justify-content: center; padding: 22px; }
.ws-ed__frame {
  width: 100%;
  height: 520px;
  overflow: hidden;
  border: 0 solid #1C1F1D;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 30px 60px -40px rgba(23, 25, 26, .5);
  container-type: inline-size;
  transition: width .6s cubic-bezier(.7, 0, .2, 1), border-radius .6s ease, border-width .3s ease;
}
.ws-ed__canvas.is-phone .ws-ed__frame { width: 290px; border-width: 9px; border-radius: 30px; }
.ws-ed__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; background: #FFFFFF; border-top: 1px solid var(--hair); }
.ws-ed__note { max-width: 360px; font-size: 12px; line-height: 1.45; color: var(--mist); }
.ws-ed__buttons { display: flex; flex: 0 0 auto; gap: 8px; }
.ws-ed__ghost { padding: 10px 16px; border: 1px solid var(--hair-strong); border-radius: 999px; font-size: 13px; }
.ws-ed__buttons button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--cream); color: #FFFFFF; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .4s ease; }
.ws-ed__buttons button.is-done { background: #2F6B4A; animation: ws-pop .6s cubic-bezier(.34, 1.6, .64, 1) both; }

.ws-ed__panel { display: flex; flex-direction: column; gap: 8px; max-height: 640px; padding: 14px; overflow: auto; background: #FFFFFF; }
.ws-ed__step { position: relative; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--hair); border-radius: 14px; transition: border-color .3s ease, box-shadow .3s ease; }
.ws-ed__step.is-open { border-color: var(--hair-strong); box-shadow: 0 16px 30px -24px rgba(23, 25, 26, .45); }
.ws-ed__head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; background: none; color: var(--cream); font-size: 15px; font-weight: 600; text-align: start; cursor: pointer; }
.ws-ed__n { display: grid; flex: 0 0 auto; place-items: center; width: 26px; height: 26px; border: 1px solid var(--hair-strong); border-radius: 50%; font-family: var(--mono); font-size: 11px; font-weight: 400; transition: background-color .35s ease, border-color .35s ease, color .35s ease; }
.ws-ed__step.is-done .ws-ed__n { background: #2F6B4A; border-color: #2F6B4A; color: #FFFFFF; animation: ws-pop .5s cubic-bezier(.34, 1.6, .64, 1) both; }
.ws-ed__t { flex: 1 1 auto; }
.ws-ed__caret { color: var(--mist); transition: transform .35s ease; }
.ws-ed__step.is-open .ws-ed__caret { transform: rotate(180deg); }
.ws-ed__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.16, 1, .3, 1); }
.ws-ed__step.is-open .ws-ed__body { grid-template-rows: 1fr; }
.ws-ed__body > div { min-height: 0; overflow: hidden; padding: 0 16px; opacity: 0; transition: opacity .35s ease; }
.ws-ed__step.is-open .ws-ed__body > div { opacity: 1; transition-delay: .1s; }
.ws-ed__body p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--mist); }
.ws-ed__timer { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--gold-line); animation: ws-timer 3.4s linear both; }
@keyframes ws-timer { from { width: 0; } to { width: 100%; } }

.ws-ed__templates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.ws-ed__templates button { display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 1px solid var(--hair); border-radius: 12px; background: #FFFFFF; color: var(--cream); font-size: 11.5px; text-align: center; cursor: pointer; transition: border-color .25s ease, box-shadow .25s ease; }
.ws-ed__templates button[aria-pressed="true"] { border-color: var(--cream); box-shadow: 0 0 0 1px var(--cream); }
.ws-ed__thumb { position: relative; display: block; height: 54px; overflow: hidden; border-radius: 8px; background: var(--t-bg); box-shadow: inset 0 0 0 1px rgba(23, 25, 26, .08); }
.ws-ed__thumb i { position: absolute; background: var(--t-fg); }
.ws-ed__thumb i:nth-child(1) { left: 8px; top: 12px; width: 42%; height: 5px; border-radius: 2px; }
.ws-ed__thumb i:nth-child(2) { left: 8px; top: 22px; width: 28%; height: 3px; opacity: .5; }
.ws-ed__thumb i:nth-child(3) { right: 8px; top: 9px; width: 34%; height: 36px; border-radius: 4px; opacity: .25; }
.ws-ed__thumb--poster i:nth-child(3) { inset: 0; width: auto; height: auto; border-radius: 0; opacity: .18; }
.ws-ed__thumb--poster i:nth-child(1) { top: 30px; }
.ws-ed__thumb--poster i:nth-child(2) { top: 40px; }
.ws-ed__thumb--organic i:nth-child(3) { right: auto; left: 8px; border-radius: 16px 2px; }
.ws-ed__thumb--organic i:nth-child(1),
.ws-ed__thumb--organic i:nth-child(2) { left: auto; right: 8px; }
.ws-ed__thumb--bold i:nth-child(1) { height: 9px; border-radius: 1px; }
.ws-ed__thumb--centered i:nth-child(1) { left: 29%; }
.ws-ed__thumb--centered i:nth-child(2) { left: 36%; }
.ws-ed__thumb--centered i:nth-child(3) { left: 8px; right: 8px; top: 30px; width: auto; height: 17px; border-radius: 6px; }

.ws-ed__swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ws-ed__swatches button { width: 42px; height: 42px; border: 1px solid var(--hair-strong); border-radius: 50%; background: var(--t-bg); color: var(--t-fg); font-family: var(--serif); font-size: 16px; cursor: pointer; transition: box-shadow .25s ease, transform .25s ease; }
.ws-ed__swatches button:hover { transform: scale(1.06); }
.ws-ed__swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--cream); }

.ws-ed__fonts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.ws-ed__fonts button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border: 1px solid var(--hair); border-radius: 12px; background: #FFFFFF; color: var(--mist); font-size: 11px; cursor: pointer; }
.ws-ed__fonts button[aria-pressed="true"] { border-color: var(--cream); box-shadow: 0 0 0 1px var(--cream); color: var(--cream); }
.ws-ed__fonts span { font-size: 26px; line-height: 1.15; color: var(--cream); }
.ws-ed__fonts .ws-font--serif { font-family: var(--serif); }
.ws-ed__fonts .ws-font--sans { font-family: var(--sans); font-weight: 600; }
.ws-ed__fonts .ws-font--script { font-family: var(--serif); font-style: italic; }

.ws-ed__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ws-ed__chips button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border: 1px solid var(--hair-strong); border-radius: 999px; background: #FFFFFF; color: var(--mist); font-size: 12px; cursor: pointer; }
.ws-ed__toggle { position: relative; width: 24px; height: 14px; border-radius: 999px; background: var(--hair-strong); transition: background-color .25s ease; }
.ws-ed__toggle::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 10px; height: 10px; border-radius: 50%; background: #FFFFFF; transition: inset-inline-start .25s ease; }
.ws-ed__chips button[aria-pressed="true"] { border-color: var(--cream); color: var(--cream); }
.ws-ed__chips button[aria-pressed="true"] .ws-ed__toggle { background: #2F6B4A; }
.ws-ed__chips button[aria-pressed="true"] .ws-ed__toggle::after { inset-inline-start: 12px; }

.ws-ed__pages { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.ws-ed__pages button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px dashed var(--hair-strong); border-radius: 10px; background: #FFFFFF; color: var(--mist); font-size: 12.5px; text-align: start; cursor: pointer; }
.ws-ed__pages button[aria-pressed="true"] { border-style: solid; background: var(--ink-2); color: var(--cream); }
.ws-ed__page-n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--hair-strong); font-family: var(--mono); font-size: 10px; }
.ws-ed__pages .ws-ed__add { justify-content: center; }
.ws-ed__add:disabled { opacity: .4; cursor: default; }

.ws-ed__field { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 6px 6px 6px 14px; border: 1px solid var(--hair-strong); border-radius: 12px; font-family: var(--mono); font-size: 12px; }
.ws-ed__field > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ws-ed__field button { padding: 8px 14px; border: 0; border-radius: 9px; background: var(--cream); color: #FFFFFF; font-family: var(--sans); font-size: 12px; font-weight: 600; cursor: pointer; }
.ws-ed__field button:disabled { opacity: .35; cursor: default; }
.ws-ed__states { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 12.5px; color: var(--mist); }
.ws-ed__states li { display: flex; align-items: center; gap: 10px; transition: color .3s ease; }
.ws-ed__state-mark { display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--hair-strong); border-radius: 50%; color: transparent; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.ws-ed__states li.is-running .ws-ed__state-mark { border-color: var(--gold-line); border-top-color: transparent; animation: ws-spin .8s linear infinite; }
.ws-ed__states li.is-done { color: var(--cream); }
.ws-ed__states li.is-done .ws-ed__state-mark { background: #2F6B4A; border-color: #2F6B4A; color: #FFFFFF; }
@keyframes ws-spin { to { transform: rotate(360deg); } }

/* ─── Languages ──────────────────────────────────────────────────── */

.ws-langs { overflow: hidden; padding: 130px 0; background: var(--ink); }
.ws-langs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.ws-langs h2 { margin: 0 0 20px; font-size: clamp(36px, 3.9vw, 58px) !important; line-height: 1.06 !important; }
.ws-langs .ws-langs__intro { max-width: 540px; margin: 0 0 30px; color: var(--mist); }
.ws-langs__tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 540px; }
.ws-langs__tier { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px; background: var(--ink-2); }
.ws-langs__tier span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.ws-langs__tier b { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.15; }
.ws-langs__tier.is-paid { background: var(--night); color: var(--ivory); }
.ws-langs__tier.is-paid span { color: var(--gold-light); }
.ws-langs__stage { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.ws-langs__card { display: flex; flex-direction: column; gap: 18px; width: min(480px, 100%); padding: 30px 30px 26px; border-radius: 26px; background: var(--night); color: var(--ivory); box-shadow: 0 50px 90px -45px rgba(23, 25, 26, .6); }
.ws-langs__salon { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ivory-muted); }
.ws-langs__salon i { width: 26px; height: 26px; background: var(--ivory); color: var(--night); font-size: 13px; }
.ws-langs__window { position: relative; display: block; height: 2.4em; overflow: hidden; font-family: var(--serif); font-size: clamp(32px, 3.3vw, 46px); line-height: 1.15; }
.ws-langs__word { position: absolute; inset: 0; display: block; text-align: start; animation: ws-word .75s cubic-bezier(.16, 1, .3, 1) both; }
.ws-langs__word.is-out { animation: ws-word-out .6s cubic-bezier(.7, 0, .84, 0) both; }
@keyframes ws-word { from { opacity: 0; transform: translateY(55%); filter: blur(6px); } }
@keyframes ws-word-out { to { opacity: 0; transform: translateY(-45%); filter: blur(6px); } }
.ws-langs__cta { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-light); color: var(--night); font-size: 18px; }
.ws-langs__codes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 480px; }
.ws-langs__codes span { padding: 6px 10px; border: 1px solid var(--hair-strong); border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mist); transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s ease; }
.ws-langs__codes .is-on { background: var(--cream); border-color: var(--cream); color: #FFFFFF; transform: translateY(-3px); }

/* ─── Plans ──────────────────────────────────────────────────────── */

.ws-plans { padding: 120px 0; background: var(--ink-2); }
.ws-plans__head { max-width: 760px; margin-bottom: 36px; }
.ws-plans h2 { margin: 0 0 18px; font-size: clamp(36px, 4vw, 60px) !important; line-height: 1.05 !important; }
.ws-plans .ws-plans__intro { margin: 0; color: var(--mist); }
.ws-plans__switch { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(580px, 100%); margin-bottom: 40px; padding: 5px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--hair); }
.ws-plans__pill { position: absolute; top: 5px; bottom: 5px; inset-inline-start: 5px; width: calc((100% - 10px) / 4); border-radius: 999px; background: var(--cream); transform: translateX(calc(var(--i) * 100%)); transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
[dir="rtl"] .ws-plans__pill { transform: translateX(calc(var(--i) * -100%)); }
.ws-plans__switch button { position: relative; z-index: 1; padding: 12px 6px; border: 0; background: none; color: var(--mist); font-size: 14px; font-weight: 600; cursor: pointer; transition: color .35s ease; }
.ws-plans__switch button[aria-pressed="true"] { color: #FFFFFF; }
.ws-plans__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.ws-plans__show { position: sticky; top: 110px; }
.ws-view--plans { height: 430px; }
.ws-plans__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ws-plans__facts span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--hair); font-size: 12.5px; color: var(--mist); }
.ws-plans__facts b { color: var(--cream); }
.ws-plans__cards { display: grid; gap: 14px; }
.ws-plans__card { padding: 22px 24px 8px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 24px 50px -40px rgba(23, 25, 26, .35); }
.ws-plans__title { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.ws-plans__card dl { margin: 0; }
.ws-plans__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; border-top: 1px solid var(--hair); }
.ws-plans__row dt { min-width: 0; }
.ws-plans__row dt button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 0; border: 0; background: none; color: var(--cream); font-size: 14px; line-height: 1.35; text-align: start; cursor: pointer; }
.ws-plans__row dt button::after { content: "?"; display: grid; flex: 0 0 auto; place-items: center; width: 17px; height: 17px; border: 1px solid var(--hair-strong); border-radius: 50%; font-size: 10px; color: var(--mist); transition: background-color .25s ease, color .25s ease; }
.ws-plans__row.is-open dt button::after { background: var(--cream); border-color: var(--cream); color: #FFFFFF; }
.ws-plans__row > dd { margin: 0; padding: 4px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; text-align: end; white-space: nowrap; }
.ws-plans__row > dd.is-changed { animation: ws-flash 1.4s ease both; }
@keyframes ws-flash { 0%, 30% { background: rgba(184, 153, 104, .32); } 100% { background: transparent; } }
.ws-plans__row > dd.ws-plans__help { display: grid; grid-column: 1 / -1; grid-template-rows: 0fr; padding: 0; font-size: 13px; font-weight: 400; text-align: start; white-space: normal; transition: grid-template-rows .4s cubic-bezier(.16, 1, .3, 1); }
.ws-plans__row.is-open > dd.ws-plans__help { grid-template-rows: 1fr; }
.ws-plans__help > div { min-height: 0; overflow: hidden; }
.ws-plans__help p { margin: 0 0 14px; max-width: 560px; line-height: 1.55; color: var(--mist); }
.ws-plans__yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); color: #FFFFFF; vertical-align: middle; }
.ws-plans__no { color: var(--mist); }
.ws-plans__more { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 30px; }

/* ─── Narrow screens ─────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .ws-ed { grid-template-columns: minmax(0, 1fr); }
  .ws-ed__preview { border-inline-end: 0; border-bottom: 1px solid var(--hair); }
  .ws-ed__panel { max-height: none; }
  .ws-ed__templates { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .ws-hero { padding: 40px 0 80px; }
  .ws-hero__grid,
  .ws-journey__grid,
  .ws-langs__grid,
  .ws-plans__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ws-hero h1 { font-size: clamp(38px, 8.6vw, 58px) !important; }
  .ws-hero .ws-hero__lead { font-size: 17px !important; }
  .ws-hero__stage { padding: 30px 0 0; }
  .ws-hero__browser,
  .is-ready .ws-hero__browser { transform: none; }
  .ws-view { height: 380px; }
  .ws-hero__phone { left: -6px; bottom: 76px; width: 136px; }
  .ws-hero__phone .ws-book { padding: 16px 10px 12px; font-size: 9px; gap: 6px; }
  .ws-hero__phone .ws-book__title { font-size: 15px; }
  .ws-hero__toast { right: 0; top: 0; max-width: 250px; font-size: 11.5px; }
  .ws-hero__picker { justify-content: flex-start; margin: 22px 0 0; }
  .ws-hero__pick { width: 100%; }
  .ws-journey { padding: 90px 0 80px; }
  .ws-journey__stage { display: none; }
  .ws-step { padding-bottom: 56px; gap: 16px; }
  .ws-step__card { padding: 22px; }
  .ws-step h3 { font-size: 26px; }
  .ws-step__screen { display: flex; justify-content: center; margin-top: 22px; }
  .ws-step__screen .ws-device { --screen-h: 418px; width: 230px; height: 440px; padding: 9px; border-radius: 38px; }
  .ws-step__screen .ws-device__screen { border-radius: 30px; }
  .ws-step__screen .ws-device.is-tablet { --screen-h: 300px; width: 100%; max-width: 420px; height: 320px; border-radius: 24px; }
  .ws-step__screen .ws-device.is-tablet .ws-device__screen { border-radius: 16px; }
  .ws-step__screen .ws-cal { padding: 14px; font-size: 12px; }
  .ws-step__screen .ws-cal__row { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; min-height: 46px; }
  .ws-step__screen .ws-cal__head b { font-size: 21px; }
  .ws-editor { padding: 90px 0; }
  .ws-ed__canvas { padding: 14px; }
  .ws-ed__frame { height: 400px; }
  .ws-ed__footer { flex-direction: column; align-items: stretch; }
  .ws-ed__buttons { justify-content: flex-end; }
  .ws-ed__templates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ws-langs { padding: 90px 0; }
  .ws-plans { padding: 90px 0; }
  .ws-plans__show { position: static; }
  .ws-view--plans { height: 360px; }
}

@media (max-width: 640px) {
  .ws-view { height: 330px; }
  .ws-hero__toast,
  .ws-hero__phone { display: none; }
  .ws-hero__picker button { padding: 6px 11px 6px 6px; font-size: 12px; }
  .ws-journey__steps::before,
  .ws-journey__steps::after { inset-inline-start: 15px; }
  .ws-step { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .ws-step__n { width: 32px; height: 32px; font-size: 11px; }
  .ws-ed__frame { height: 340px; }
  .ws-ed__canvas.is-phone .ws-ed__frame { width: 230px; }
  .ws-langs__tiers { grid-template-columns: minmax(0, 1fr); }
  .ws-langs__card { padding: 24px 22px 20px; }
  .ws-plans__switch button { font-size: 12.5px; padding: 11px 2px; }
  .ws-plans__card { padding: 18px 18px 6px; }
  .ws-plans__row dt button,
  .ws-plans__row > dd { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .ws-hero *,
  .ws-journey *,
  .ws-editor *,
  .ws-langs *,
  .ws-plans * { animation: none !important; transition: none !important; }
  .ws-view__edge { display: none; }
}
