@import url('./fonts/manrope.css');
/* no sideways wobble on phones: decorative overhangs (rotated ribbons, shadows) are clipped */
html, body { overflow-x: clip; }
/* nurs.dev template kit: shared motion utilities + studio block.
   Each template defines its own palette through these variables:
   --bg --fg --muted --accent --accent-2 --line --font-display --font-body --radius */

[hidden] { display: none !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- motion kit ---------- */
.sl { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.sw, .swc { display: inline-block; }
.sc { display: inline-block; will-change: transform; }
.magnetic { will-change: transform; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 200; pointer-events: none; }

/* page-load curtain */
.intro { position: fixed; inset: 0; z-index: 600; pointer-events: none; }
.intro__panel { position: absolute; top: 0; bottom: 0; width: 25.2%; background: var(--intro-bg, var(--fg)); }
.intro__panel:nth-child(1) { left: 0; } .intro__panel:nth-child(2) { left: 25%; } .intro__panel:nth-child(3) { left: 50%; } .intro__panel:nth-child(4) { left: 75%; }
.intro__inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 4vw, 56px); color: var(--intro-fg, var(--bg)); }
.intro__name { font-family: var(--font-display); font-size: clamp(22px, 3vw, 40px); line-height: 1; margin-bottom: 18px; }
.intro__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.intro__num { font-family: var(--font-display); font-size: clamp(80px, 16vw, 240px); line-height: .8; font-variant-numeric: tabular-nums; }
.intro__bar { height: 2px; width: 100%; background: currentColor; transform-origin: left; transform: scaleX(0); margin-top: 22px; opacity: .6; }
.no-motion .intro { display: none; }

/* custom cursor */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 700; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor-on .cursor { opacity: 1; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.cursor__ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); transition: transform .45s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s; }
.cursor.is-hover .cursor__ring::before { transform: scale(1.7); background: rgba(255,255,255,.12); }
.cursor.has-label .cursor__ring::before { transform: scale(2.6); background: #fff; border-color: #fff; }
.cursor__label { position: absolute; inset: 0; display: grid; place-items: center; font: 600 10px/1 var(--font-body, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; white-space: nowrap; z-index: 1; }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor-on body, .cursor-on a, .cursor-on button { cursor: none; }
@media (pointer: coarse) { .cursor { display: none; } }

/* rolling button text */
.roll__w { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll__a, .roll__b { display: flex; }
.roll__b { position: absolute; inset: 0; }
.roll__a span, .roll__b span { display: inline-block; transition: transform .55s cubic-bezier(.7,0,.2,1); }
.roll__b span { transform: translateY(105%); }
.roll:hover .roll__a span { transform: translateY(-105%); }
.roll:hover .roll__b span { transform: none; }

/* film grain */
.grain { position: fixed; inset: -50%; z-index: 350; pointer-events: none; opacity: var(--grain, .07); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }

/* photo frames: gradient shows if the photo fails to load */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--ph-a, #d9c8bf), var(--ph-b, #7d5a55)); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph img.img-failed { opacity: 0; }

/* marquee: [data-marquee] > track holding the content twice (motion.js moves it) */
[data-marquee] { overflow: hidden; white-space: nowrap; }
[data-marquee] > * { display: inline-flex; will-change: transform; }
[data-marquee] > * > * { flex: none; }

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

/* ---------- nurs.dev studio block ---------- */
.nurs-studio { position: relative; background: #05060f; color: #fff; padding: clamp(64px, 9vw, 120px) 20px clamp(120px, 12vw, 160px); font-family: 'Manrope', system-ui, sans-serif; overflow: hidden; isolation: isolate; }
.nurs-studio::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(closest-side, rgba(73,119,255,.35), transparent 70%); z-index: -1; }
.nurs-studio::after { content: ''; position: absolute; inset: auto auto -50% -20%; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(210,189,255,.18), transparent 70%); z-index: -1; }
.nurs-studio__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.nurs-studio__kicker { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #9fb8ff; margin: 0 0 18px; }
.nurs-studio__title { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; font-weight: 600; margin: 0 0 20px; letter-spacing: -.02em; }
.nurs-studio__text { color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.6; margin: 0 0 24px; max-width: 560px; }
.nurs-studio__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nurs-studio__list li { position: relative; padding-left: 28px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.5; }
.nurs-studio__list li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid #6d8bff; border-bottom: 2px solid #6d8bff; transform: rotate(-45deg); }
.nurs-studio__card { border-radius: 28px; padding: clamp(28px, 3vw, 40px); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nurs-studio__label { margin: 0; color: rgba(255,255,255,.6); font-size: 14px; }
.nurs-studio__price { margin: 6px 0 4px; font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #d2bdff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nurs-studio__note { margin: 0 0 26px; color: rgba(255,255,255,.55); font-size: 14px; }
.nurs-studio__btns { display: grid; gap: 10px; }
.nurs-studio__plan { margin: 0 0 8px; color: #9fb8ff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nurs-studio__or { display: flex; align-items: center; gap: 14px; margin: 26px 0 22px; color: rgba(255,255,255,.45); font-size: 13px; }
.nurs-studio__or::before, .nurs-studio__or::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.14); }
.nurs-studio__price--sub { font-size: clamp(34px, 4vw, 48px); }
.nurs-studio__per { color: rgba(255,255,255,.6); font-size: 16px; }
.nurs-studio__link { display: inline-block; margin-top: 20px; color: #9fb8ff; font-size: 14px; text-decoration: none; }
.nurs-studio__link:hover { color: #fff; }

.nurs-studio__pricerow { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 4px; }
.nurs-studio__pricerow .nurs-studio__price { margin: 0; }
.nurs-studio__price.is-bump { animation: nurs-bump .9s cubic-bezier(.2,.8,.2,1); }
@keyframes nurs-bump { 30% { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(255,120,120,.6)); } }
.nurs-studio__old { color: rgba(255,255,255,.45); font-size: 22px; font-weight: 600; text-decoration-color: #ff6b8a; text-decoration-thickness: 2px; }
.nurs-offer { margin: 14px 0 22px; padding: 16px 18px; border-radius: 18px; background: rgba(255,107,138,.08); border: 1px solid rgba(255,107,138,.3); }
.nurs-offer__line { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); }
.nurs-offer__line b { color: #fff; }
.nurs-offer__clock { font-variant-numeric: tabular-nums; color: #ff8fa6 !important; font-size: 17px; }
.nurs-offer__track { position: relative; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); margin: 12px 0 10px; overflow: hidden; }
.nurs-offer__track i { position: absolute; inset: 0; background: linear-gradient(90deg, #4977ff, #ff6b8a); transform-origin: left; transform: scaleX(0); transition: transform 1s linear; }
.nurs-offer__hint { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.55); }
.nurs-inst { margin: 0 0 22px; }
.nurs-inst__line { margin: 0 0 10px; font-size: 15px; color: rgba(255,255,255,.8); }
.nurs-inst__line b { color: #fff; }
.nurs-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.nurs-pay__chip { display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 58px; padding: 0 12px; border-radius: 8px; font: 800 13px/1 'Manrope', system-ui, sans-serif; letter-spacing: .01em; }
.nurs-pay__chip--kaspi { background: #f14635; color: #fff; }
.nurs-pay__chip--halyk { background: #0b8a4b; color: #fff; }
.nurs-pay__chip--visa { background: #fff; color: #1a1f71; font-style: italic; font-size: 15px; letter-spacing: .02em; }
.nurs-pay__chip--mc { background: #fff; gap: 0; }
.nurs-pay__chip--mc i { width: 18px; height: 18px; border-radius: 50%; background: #eb001b; }
.nurs-pay__chip--mc i + i { background: #f79e1b; margin-left: -7px; mix-blend-mode: multiply; }
.nurs-pay__chip--other { background: rgba(255,255,255,.12); color: #fff; }
.nurs-about { max-width: 1180px; margin: clamp(56px, 7vw, 96px) auto 0; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px clamp(32px, 5vw, 72px); }
.nurs-about__tagline { margin: 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.nurs-about__facts { display: grid; gap: 14px; align-content: start; }
.nurs-about__fact { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 14px; }
.nurs-about__fact b { font-size: 24px; background: linear-gradient(90deg, #fff, #d2bdff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nurs-about__fact span { color: rgba(255,255,255,.65); font-size: 14px; }
.nurs-about__services { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nurs-about__services li { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.85); font-size: 14px; }
.nurs-about__contacts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.nurs-about__contacts a { color: #9fb8ff; text-decoration: none; }
.nurs-about__contacts a:hover { color: #fff; }
.nurs-bar__clock { font-variant-numeric: tabular-nums; color: #ff8fa6; font-weight: 700; padding: 5px 8px; border-radius: 999px; background: rgba(255,107,138,.14); }

.nurs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font: 600 15px/1 'Manrope', system-ui, sans-serif; text-decoration: none; white-space: nowrap; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s; }
.nurs-btn:hover { transform: translateY(-2px); }
.nurs-btn--buy { color: #fff; background: linear-gradient(107deg, #4977ff 0%, #331574 60%, #1b0b45 100%); box-shadow: 0 10px 30px -10px rgba(73,119,255,.8); }
.nurs-btn--buy:hover { box-shadow: 0 16px 40px -10px rgba(73,119,255,.95); }
.nurs-btn--edit { color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); }
.nurs-btn--edit:hover { background: rgba(255,255,255,.14); }

.nurs-bar { position: fixed; left: 50%; bottom: 16px; z-index: 400; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(5,6,15,.86); border: 1px solid rgba(255,255,255,.16); color: #fff; font: 500 14px/1 'Manrope', system-ui, sans-serif; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); transform: translate(-50%, 140%); transition: transform .8s cubic-bezier(.2,.8,.2,1); max-width: calc(100vw - 24px); }
.nurs-bar.is-in { transform: translate(-50%, 0); }
.nurs-bar__text { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nurs-bar__logo { color: #fff; font-weight: 700; text-decoration: none; }
.nurs-bar__sep { opacity: .35; }
.nurs-bar__demo { color: rgba(255,255,255,.65); }
.nurs-bar__price { color: #d2bdff; font-weight: 700; }
.nurs-bar__btns { display: flex; gap: 6px; }
.nurs-bar .nurs-btn { padding: 11px 18px; font-size: 14px; }
.nurs-bar__close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; flex: none; }
.nurs-bar.is-min .nurs-bar__btns, .nurs-bar.is-min .nurs-bar__demo, .nurs-bar.is-min .nurs-bar__sep:first-of-type { display: none; }
.nurs-bar.is-min .nurs-bar__close { transform: rotate(45deg); }

/* what is already on the site / what the price includes */
.nurs-studio__sub { margin: 26px 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.nurs-studio__list--have li::before { border-color: #5be3a0; }
/* why a site, launch steps, owner questions */
.nurs-why { max-width: 1180px; margin: clamp(56px, 7vw, 96px) auto 0; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: clamp(28px, 4vw, 48px); }
.nurs-why__title { margin: 0; max-width: 860px; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.15; font-weight: 600; letter-spacing: -.015em; }
.nurs-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nurs-why__item { padding: 24px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.nurs-why__item b, .nurs-steps__item b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.nurs-why__item p, .nurs-steps__item p { margin: 0; color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.55; }
.nurs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: nstep; }
.nurs-steps__item { position: relative; padding: 24px 24px 24px 72px; border-radius: 22px; background: linear-gradient(160deg, rgba(73,119,255,.16), rgba(73,119,255,.03)); border: 1px solid rgba(110,140,255,.25); counter-increment: nstep; }
.nurs-steps__item::before { content: counter(nstep); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #4977ff; color: #fff; font-weight: 700; font-size: 15px; }
.nurs-ofaq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.nurs-ofaq__q { border-bottom: 1px solid rgba(255,255,255,.12); }
.nurs-ofaq__q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 600; }
.nurs-ofaq__q summary::-webkit-details-marker { display: none; }
.nurs-ofaq__q summary::after { content: '+'; flex: none; color: #9fb8ff; font-size: 22px; line-height: 1; transition: transform .3s; }
.nurs-ofaq__q[open] summary::after { transform: rotate(45deg); }
.nurs-ofaq__q p { margin: 0 0 18px; color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.55; }
.nurs-why__ask { justify-self: start; }
/* first-visit card for the owner */
.nurs-welcome { position: fixed; z-index: 450; right: 20px; bottom: 90px; width: min(400px, calc(100vw - 40px)); padding: 26px 24px 22px; border-radius: 24px; background: rgba(8,10,24,.94); color: #fff; font-family: 'Manrope', system-ui, sans-serif; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none; transition: opacity .5s, transform .7s cubic-bezier(.2,.8,.2,1); }
.nurs-welcome.is-in { opacity: 1; transform: none; pointer-events: auto; }
.nav-open .nurs-welcome { opacity: 0; pointer-events: none; }
.nurs-welcome__kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #9fb8ff; }
.nurs-welcome__title { margin: 0 0 10px; padding-right: 26px; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.nurs-welcome__text { margin: 0 0 14px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.5; }
.nurs-welcome__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.nurs-welcome__list li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.88); }
.nurs-welcome__list li::before { content: ''; position: absolute; left: 2px; top: .4em; width: 11px; height: 6px; border-left: 2px solid #5be3a0; border-bottom: 2px solid #5be3a0; transform: rotate(-45deg); }
.nurs-welcome__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nurs-welcome__btns .nurs-btn { padding: 14px 12px; font-size: 14px; border: 0; cursor: pointer; }
.nurs-welcome__btns .nurs-btn--edit { border: 1px solid rgba(255,255,255,.22); }
.nurs-welcome__x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
@media (max-width: 860px) {
  .nurs-studio__inner, .nurs-about { grid-template-columns: 1fr; }
  .nurs-why__grid, .nurs-steps, .nurs-ofaq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nurs-welcome { left: 10px; right: 10px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); padding: 18px 16px 16px; border-radius: 20px; }
  .nurs-welcome__kicker { margin-bottom: 8px; font-size: 11px; }
  .nurs-welcome__title { font-size: 18px; margin-bottom: 8px; }
  .nurs-welcome__text { font-size: 14px; margin-bottom: 10px; }
  .nurs-welcome__list { gap: 5px; margin-bottom: 14px; }
  .nurs-welcome__list li { font-size: 13px; }
  .nurs-welcome__list li:nth-child(n+3) { display: none; }
  .nurs-welcome__btns .nurs-btn { padding: 12px 10px; }
}
@media (max-width: 640px) {
  .nurs-bar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateY(140%); max-width: none; gap: 10px; padding: 7px 7px 7px 16px; border-radius: 20px; }
  .nurs-bar.is-in { transform: none; }
  .nurs-bar__text { flex: 1; min-width: 0; flex-direction: column; align-items: flex-start; gap: 3px; }
  .nurs-bar__logo, .nurs-bar__demo, .nurs-bar__sep { display: none; }
  .nurs-bar__price { font-size: 16px; }
  .nurs-bar__clock { font-size: 12px; padding: 3px 7px; }
  .nurs-bar .nurs-btn--edit { display: none; }
  .nurs-bar .nurs-btn { padding: 13px 18px; font-size: 14px; }
  .nurs-bar__close { width: 30px; height: 30px; font-size: 18px; }
  .nurs-bar.is-min { left: auto; padding: 7px 7px 7px 14px; }
  .nurs-bar.is-min .nurs-bar__logo { display: inline; }
  .nurs-bar.is-min .nurs-bar__price, .nurs-bar.is-min .nurs-bar__clock { display: none; }
  .nurs-studio { padding-left: 16px; padding-right: 16px; }
  .nurs-studio__card { padding: 24px 20px; }
  .nurs-about__fact { grid-template-columns: 90px 1fr; }
}
}

/* language switch: a veil covers the page, the new language loads under it and the veil lifts */
body::after { content: ''; position: fixed; inset: 0; z-index: 700; pointer-events: none; background: var(--ink, var(--bg, #111)); transform: translateY(101%); }
html.is-leaving body::after { animation: nurs-veil-in .6s cubic-bezier(.7, 0, .2, 1) forwards; }
html.is-switched body::after { transform: none; animation: nurs-veil-out 1s .15s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes nurs-veil-in { from { transform: translateY(101%); } to { transform: none; } }
@keyframes nurs-veil-out { from { transform: none; } to { transform: translateY(-101%); } }

/* palette switch: the new colours grow out of the swatch that was clicked */
html.is-vt::view-transition-old(root) { animation: none; }
html.is-vt::view-transition-new(root) { animation: nurs-vt 1s cubic-bezier(.7, 0, .2, 1); }
@keyframes nurs-vt { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 50%)); } to { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 50%)); } }
@media (prefers-reduced-motion: reduce) { html.is-leaving body::after, html.is-switched body::after { animation-duration: .01s; } }
/* the demo bar steps aside while a full-screen menu is open */
.nurs-bar { transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.nav-open .nurs-bar { opacity: 0; pointer-events: none; }

/* ---------- full-screen menu (built by engine.js) ----------
   Colours and fonts come from the template's tokens; a template can override any --m-* on :root. */
:root {
  --m-bg: var(--ink, var(--bg, #111)); --m-fg: var(--paper, var(--fg, #fff)); --m-accent: var(--a1, var(--accent, #c9a36b));
  --m-on-accent: var(--on-a, var(--m-bg)); --m-glow: var(--glow, transparent); --m-font: var(--font-display, serif);
  --m-body: var(--font-body, system-ui, sans-serif); --m-snap: cubic-bezier(.7,0,.13,1); --m-silk: cubic-bezier(.19,1,.22,1);
}
.nurs-menu-btn { display: inline-flex; align-items: center; gap: 14px; height: 48px; padding: 0 6px 0 22px; border: 0; border-radius: 999px; background: var(--mb-bg, var(--m-fg)); color: var(--mb-fg, var(--m-bg)); font: 500 12px/1 var(--m-body); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; flex: none; position: relative; z-index: 2; }
.nurs-menu-btn__label { position: relative; display: block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.nurs-menu-btn__label span { display: block; transition: transform .6s var(--m-snap); }
.nav-open .nurs-menu-btn__label span { transform: translateY(-100%); }
.nurs-menu-btn__icon { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--mb-fg, var(--m-bg)); }
.nurs-menu-btn__icon i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--mb-bg, var(--m-fg)); border-radius: 2px; transition: transform .6s var(--m-snap); }
.nurs-menu-btn__icon i:first-child { top: 14px; } .nurs-menu-btn__icon i:last-child { top: 20px; }
.nav-open .nurs-menu-btn__icon i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-open .nurs-menu-btn__icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 700px) {
  .nurs-menu-btn { height: 44px; padding-left: 18px; }
  .nurs-menu-btn__icon { width: 32px; height: 32px; }
  .nurs-menu-btn__icon i { left: 10px; right: 10px; }
  .nurs-menu-btn__icon i:first-child { top: 12.5px; } .nurs-menu-btn__icon i:last-child { top: 18.5px; }
}

/* an arch rises from the bottom (accent first, then the page colour), links climb out of their masks */
.nurs-menu { position: fixed; inset: 0; z-index: 95; color: var(--m-fg); font-family: var(--m-body); visibility: hidden; transition: visibility 0s 1.1s; --m-line: color-mix(in srgb, var(--m-fg) 16%, transparent); --m-muted: color-mix(in srgb, var(--m-fg) 64%, transparent); }
.nav-open .nurs-menu { visibility: visible; transition: none; }
.nurs-menu__layer, .nurs-menu__bg { position: absolute; inset: 0; clip-path: inset(100% 0 0 0 round 50vw 50vw 0 0); transition: clip-path .8s var(--m-snap); }
.nurs-menu__layer { background: var(--m-accent); transition-delay: .18s; }
.nurs-menu__bg { background: radial-gradient(90% 70% at 85% 10%, var(--m-glow), transparent 70%), var(--m-bg); }
.nav-open .nurs-menu__layer { clip-path: inset(0 0 0 0 round 0 0 0 0); transition-delay: 0s; transition-duration: .9s; }
.nav-open .nurs-menu__bg { clip-path: inset(0 0 0 0 round 0 0 0 0); transition-delay: .12s; transition-duration: .9s; }
.nurs-menu__inner { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(30px, 6vw, 120px); padding: clamp(96px, 13vh, 150px) var(--pad, clamp(18px, 3.6vw, 56px)) clamp(24px, 4vh, 48px); }
.nurs-menu__nav { align-self: center; display: flex; flex-direction: column; }
.nurs-menu__nav { border-top: 1px solid var(--m-line); }
/* a tidy list: one row per section, divider under each, sized so every row fits the screen height */
.nurs-menu__nav a { display: flex; justify-content: space-between; align-items: center; gap: 18px; overflow: hidden; font-family: var(--m-font); font-weight: var(--m-weight, 400); font-size: var(--m-size-list, clamp(20px, min(3vw, calc((100vh - 250px) / 19)), 44px)); line-height: 1.1; letter-spacing: -.02em; padding: .3em 0 .34em; border-bottom: 1px solid var(--m-line); color: inherit; text-decoration: none; transition: opacity .5s; }
.nurs-menu__nav a span { display: block; transform: translateY(115%); transition: transform .5s var(--m-snap); }
.nurs-menu__nav a::after { content: '→'; flex: none; font-family: var(--m-body); font-size: .6em; opacity: .45; transition: opacity .4s, transform .5s var(--m-snap); }
.nav-open .nurs-menu__nav a span { transform: none; transition: transform 1.1s var(--m-silk) calc(.42s + var(--i) * .065s); }
@media (hover: hover) {
  .nurs-menu__nav:hover a { opacity: .32; }
  .nurs-menu__nav a:hover { opacity: 1; }
  .nurs-menu__nav a:hover span { font-style: var(--m-hover-style, italic); }
  .nurs-menu__nav a:hover::after { opacity: 1; transform: translateX(6px); }
}
.nurs-menu__side { align-self: end; display: grid; gap: clamp(16px, 2.8vh, 32px); min-width: 0; }
.nurs-menu__side > * { opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .4s; }
.nav-open .nurs-menu__side > * { opacity: 1; transform: none; transition: opacity .9s calc(.7s + var(--i) * .08s), transform 1.1s var(--m-silk) calc(.7s + var(--i) * .08s); }
.nurs-menu a { color: inherit; text-decoration: none; }
.nurs-menu__cap { margin: 0 0 12px; color: var(--m-accent); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.nurs-menu__book { display: flex; align-items: center; justify-content: center; padding: 20px 28px; border-radius: 999px; background: var(--m-accent); color: var(--m-on-accent) !important; font-weight: 500; font-size: 15px; letter-spacing: .02em; box-shadow: 0 20px 50px -24px color-mix(in srgb, var(--m-accent) 90%, transparent); transition: transform .5s var(--m-silk); }
.nurs-menu__book:hover { transform: translateY(-2px); }
.nurs-menu__phone { font-family: var(--m-font); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; display: inline-block; }
.nurs-menu__addr { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; color: var(--m-muted); font-size: 15px; }
.nurs-menu__addr a { color: var(--m-fg); border-bottom: 1px solid var(--m-line); }
.nurs-menu__hours { margin-top: 12px; display: grid; gap: 2px; font-size: 14px; color: var(--m-muted); }
.nurs-menu__hours div { display: flex; gap: 14px; }
.nurs-menu__hours div span:first-child { min-width: 92px; }
.nurs-social { display: flex; gap: 10px; flex-wrap: wrap; }
.nurs-social a { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--m-line); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s, transform .5s var(--m-silk); }
.nurs-social a:hover { background: var(--m-fg); color: var(--m-bg); border-color: var(--m-fg); transform: translateY(-3px); }
.nurs-social svg { width: 22px; height: 22px; fill: currentColor; }
.nurs-menu__prefs { display: flex; flex-wrap: wrap; gap: 26px 40px; padding-top: 24px; border-top: 1px solid var(--m-line); }
.nurs-swatches { display: flex; gap: 10px; }
.nurs-sw { display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--m-muted); font: 400 11px/1.2 var(--m-body); letter-spacing: .06em; cursor: pointer; }
.nurs-sw i { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--sw-a) 50%, var(--sw-b) 50%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 1px var(--m-line); transition: box-shadow .4s, transform .5s var(--m-silk); }
.nurs-sw:hover i { transform: scale(1.08); }
.nurs-sw[aria-pressed="true"] { color: var(--m-fg); }
.nurs-sw[aria-pressed="true"] i { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 2px var(--m-bg), 0 0 0 3px var(--m-fg); }
.nurs-langs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--m-line); }
.nurs-langs button { padding: 10px 16px; border: 0; border-radius: 999px; background: none; color: inherit; font: 500 13px/1 var(--m-body); letter-spacing: .04em; cursor: pointer; transition: background .4s, color .4s; }
.nurs-langs button[aria-pressed="true"] { background: var(--m-fg); color: var(--m-bg); }
@media (max-width: 900px) {
  .nurs-menu__inner { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 30px; padding-top: 92px; -webkit-mask-image: linear-gradient(180deg, transparent 64px, #000 100px); mask-image: linear-gradient(180deg, transparent 64px, #000 100px); }
  .has-dock .nurs-menu__inner { padding-bottom: calc(var(--dock-h, 116px) + 24px); }
  .nurs-menu__nav, .nurs-menu__side { align-self: start; }
  /* phones: a tidy list of links, each on its own row with a divider and an arrow */
  .nurs-menu__nav a { font-size: var(--m-size-list-m, clamp(22px, 6.2vw, 30px)); padding: .4em 0 .42em; }
  .nurs-menu__side { gap: 26px; }
  .nurs-menu__book { padding: 17px 24px; }
  .nurs-menu__phone { font-size: 24px; }
  .nurs-menu__prefs { gap: 22px; }
  /* language + colour, pinned to the bottom of the screen while the menu is open */
  .nurs-menu__dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 12px clamp(10px, 4vw, 18px); padding: 14px var(--pad, 18px) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--m-line); background: var(--m-bg); opacity: 0; transition: opacity .3s; }
  .nav-open .nurs-menu__dock { opacity: 1; transition: opacity .6s .55s; }
  .nurs-menu__dock .nurs-menu__cap { margin-bottom: 8px; font-size: 10.5px; letter-spacing: .16em; white-space: nowrap; }
  .nurs-menu__dock .nurs-swatches { gap: clamp(5px, 1.8vw, 8px); }
  .nurs-menu__dock .nurs-sw { gap: 0; }
  .nurs-menu__dock .nurs-sw span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nurs-menu__dock .nurs-sw i { width: clamp(28px, 8.6vw, 36px); height: clamp(28px, 8.6vw, 36px); }
  .nurs-menu__dock .nurs-langs { padding: 3px; }
  .nurs-menu__dock .nurs-langs button { padding: 9px clamp(8px, 2.8vw, 13px); }
}
/* phone on its side: links in two columns */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .nurs-menu__inner { padding-top: 78px; -webkit-mask-image: linear-gradient(180deg, transparent 58px, #000 84px); mask-image: linear-gradient(180deg, transparent 58px, #000 84px); }
  .nurs-menu__nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .nurs-menu__nav a { font-size: clamp(19px, 3.4vw, 24px); padding: .34em 0 .36em; }
  .nurs-menu__dock { flex-wrap: nowrap; justify-content: flex-start; gap: 28px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

/* "open now" line ([data-open-status]) */
.nurs-status { display: inline-flex; align-items: center; gap: 10px; color: var(--m-fg); }
.nurs-status::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 0 rgba(88,214,141,.6); animation: nurs-ping 2.4s infinite; }
.nurs-status.is-closed::before { background: var(--m-accent); animation: none; }
@keyframes nurs-ping { 70% { box-shadow: 0 0 0 9px rgba(88,214,141,0); } 100% { box-shadow: 0 0 0 0 rgba(88,214,141,0); } }

/* ---------- booking forms (templates with .form > .field) ----------
   Phones draw date, time and select fields with their own sizes and fonts; this evens them out:
   one height, full width, 16px text (iOS does not zoom in), a drawn arrow on selects. */
.form .field input, .form .field select, .form .field textarea { -webkit-appearance: none; appearance: none; box-sizing: border-box; display: block; width: 100%; min-width: 0; max-width: 100%; height: 56px; min-height: 56px; margin: 0; padding: 0 16px; font-size: 16px; line-height: 1.2; text-align: left; }
.form .field input[type="date"], .form .field input[type="time"] { display: flex; align-items: center; padding-right: 12px; }
.form .field input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.form .field input::-webkit-datetime-edit { padding: 0; }
.form .field input::-webkit-calendar-picker-indicator { margin-left: auto; opacity: .75; cursor: pointer; }
.form .field select { padding-right: 44px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 22px center, right 16px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.form .field label { line-height: 1.2; }
.form .btn { min-height: 56px; width: 100%; }
@media (max-width: 640px) {
  .form { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
  .form .field { min-width: 0; }
}

/* the floating WhatsApp button hides while a booking form is in view (engine.js) */
.form-in-view .float-wa { opacity: 0 !important; pointer-events: none !important; transition: opacity .3s; }
.nurs-welcome__note { margin: -6px 0 14px; color: rgba(255,255,255,.5); font-size: 12.5px; line-height: 1.45; }
