/* ==========================================================================
   Psy Booking — public marketing site (index, rooms, prices, …)
   The signed-in app keeps using style.css; nothing here leaks into it.
   ========================================================================== */

/* Space Grotesk has no Cyrillic and Manrope has no capital schwa (Ə), so the
   display face is stitched from both by unicode-range. Both halves MUST carry
   identical descriptors (weight range etc.): Chrome only merges faces with the
   same descriptors into one unicode-range composite, otherwise it picks one
   face and the Latin half silently falls back to the next family. */
@font-face {
    font-family: 'PB Display';
    src: url('../fonts/SpaceGrotesk-Variable.ttf') format('truetype');
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-218F;
}
@font-face {
    font-family: 'PB Display';
    src: url('../fonts/Manrope-Variable.ttf') format('truetype');
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0400-04FF, U+0500-052F;
}
@font-face {
    font-family: 'PB Text';
    src: url('../fonts/Manrope-Variable.ttf') format('truetype');
    font-weight: 200 800;
    font-display: swap;
}
@font-face {
    font-family: 'PB Text Fallback';
    src: url('../fonts/SpaceGrotesk-Variable.ttf') format('truetype');
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+018F, U+20BC;
}

:root {
    --sand-0: #fffdf9;
    --sand-50: #faf6ef;
    --sand-100: #f3ece0;
    --sand-200: #e8dccb;
    --sand-300: #d9c7ad;
    --ink: #0f1f1e;
    --ink-2: #2b3d3b;
    --muted: #5d6e6b;
    --teal-950: #041f1e;
    --teal-900: #06302e;
    --teal-800: #0a413e;
    --teal-700: #0f766e;
    --teal-600: #0d8a80;
    --teal-400: #2dd4bf;
    --teal-200: #99f6e4;
    --teal-50: #e7f7f4;
    --terra: #e0683a;
    --terra-600: #c9542a;
    /* Terra for small text on light backgrounds and for white-on-terra
       buttons: plain --terra only reaches ~3:1 there (WCAG AA needs 4.5:1). */
    --terra-700: #b04420;
    --terra-btn: #bf4a22;
    --terra-100: #fde6da;
    --gold: #f2b56b;
    --tg: #229ed9;
    --wa: #1fa855;
    --wa-btn: #15803d;
    --line: rgba(15, 31, 30, 0.1);
    --line-light: rgba(255, 255, 255, 0.14);
    --radius-s: 12px;
    --radius: 20px;
    --radius-l: 32px;
    --shadow-s: 0 2px 6px rgba(6, 48, 46, 0.06), 0 8px 24px -12px rgba(6, 48, 46, 0.18);
    --shadow: 0 30px 60px -30px rgba(6, 48, 46, 0.35), 0 12px 24px -16px rgba(6, 48, 46, 0.2);
    --shadow-glow: 0 20px 50px -20px rgba(224, 104, 58, 0.55);
    --font-display: 'PB Display', 'PB Text', 'Segoe UI', system-ui, sans-serif;
    --font-text: 'PB Text', 'PB Text Fallback', 'Segoe UI', system-ui, sans-serif;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 72px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body.pb {
    margin: 0;
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--sand-50);
    overflow-x: hidden;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Element defaults use :where() so they carry zero specificity and every
   component class below can override them without fighting. */
:where(.pb) img, :where(.pb) video { max-width: 100%; display: block; }
:where(.pb) a { color: var(--teal-700); text-decoration: none; transition: color .2s; }
:where(.pb) a:hover { color: var(--terra); }
:where(.pb) p { margin: 0 0 1em; }
:where(.pb) ul, :where(.pb) ol { margin: 0 0 1em; }
:where(.pb) strong { font-weight: 700; color: inherit; }

:where(.pb) h1, :where(.pb) h2, :where(.pb) h3, :where(.pb) h4 {
    font-family: var(--font-display);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0 0 .5em;
    color: inherit;
    text-wrap: balance;
}
:where(.pb) h1 { font-size: clamp(2.4rem, 6.2vw, 5.1rem); letter-spacing: -0.035em; }
:where(.pb) h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); }
:where(.pb) h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; letter-spacing: -0.015em; }
:where(.pb) h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; }

.pb-skip {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--ink); color: #fff !important; padding: 10px 16px; border-radius: 10px;
}
.pb-skip:focus { top: 12px; }

/* No border-radius here: the outline already follows each element's own
   radius, and forcing one turned pills and circles into rectangles. */
.pb :focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
/* On terra and dark-teal surfaces a terra ring would vanish (≈1.4:1 on the CTA band). */
.pb-cta :focus-visible, .pb-band :focus-visible, .pb-plan--featured :focus-visible { outline-color: #fff; }
:where(.pb) a:not([class]):focus-visible { border-radius: 4px; }
.pb-nowrap { white-space: nowrap; }
/* Visually hidden, still read by screen readers (e.g. the plain text of a word-split h1). */
.pb-sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.pb-container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.pb-container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }

.pb-section { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.pb-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.pb-section--sand { background: var(--sand-100); }
.pb-section--white { background: var(--sand-0); }
.pb-section--dark {
    background: radial-gradient(1200px 600px at 85% 0%, rgba(45, 212, 191, .16), transparent 60%),
                radial-gradient(900px 500px at 0% 100%, rgba(224, 104, 58, .16), transparent 60%),
                var(--teal-900);
    color: #e9f3f1;
}
.pb-section--dark .pb-lead, .pb-section--dark .pb-muted { color: rgba(233, 243, 241, .74); }
.pb-section--dark a:not(.pb-btn) { color: var(--teal-200); }
.pb-section--clip { overflow: hidden; }

.pb-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-text);
    font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    color: var(--terra-700); margin-bottom: 18px;
}
.pb-eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.pb-section--dark .pb-eyebrow { color: var(--gold); }
/* On the dark teal heroes and photo bands the brighter terra reads better. */
.pb-hero .pb-eyebrow, .pb-pagehero .pb-eyebrow, .pb-band .pb-eyebrow,
.pb-card--accent .pb-eyebrow, .pb-card--dark .pb-eyebrow, .pb-plan--featured .pb-eyebrow { color: var(--terra); }

.pb-lead { font-size: clamp(1.06rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.pb-muted { color: var(--muted); }
.pb-center { text-align: center; }
.pb-center .pb-lead { margin-inline: auto; }
.pb-center .pb-eyebrow { justify-content: center; }

.pb-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.pb-head.pb-center { margin-inline: auto; }
.pb-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pb-head--row > div { max-width: 720px; }

.pb-hl {
    --hl: linear-gradient(120deg, var(--terra), var(--gold));
    background: var(--hl);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pb-section--dark .pb-hl, .pb-hero .pb-hl, .pb-pagehero .pb-hl { --hl: linear-gradient(120deg, var(--gold), #ffd9a8 60%, var(--teal-200)); }
/* Word-split headings: each word is its own inline-block layer, so the
   gradient has to be painted per word or the text would turn invisible. */
.pb-split-words .pb-hl { background: none; color: inherit; }
.pb-split-words .pb-hl .w > span { background: var(--hl); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ icons */
.pb-i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.pb-i--fill { fill: currentColor; stroke: none; }
.pb-icon {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none;
    background: var(--teal-50); color: var(--teal-700);
}
.pb-icon .pb-i { width: 26px; height: 26px; }
.pb-icon--terra { background: var(--terra-100); color: var(--terra-600); }
.pb-icon--tg { background: #e3f3fb; color: var(--tg); }
.pb-icon--dark { background: rgba(255, 255, 255, .08); color: var(--teal-200); border: 1px solid var(--line-light); }

/* ---------------------------------------------------------------- buttons */
.pb-btn {
    --btn-bg: var(--teal-700); --btn-fg: #fff;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
    background: var(--btn-bg); color: var(--btn-fg) !important;
    font: 700 1rem/1.2 var(--font-text); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
    isolation: isolate; overflow: hidden;
}
.pb-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(6, 48, 46, .55); }
.pb-btn:active { transform: translateY(0); }
.pb-btn .pb-i { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.pb-btn:hover .pb-i--arrow { transform: translateX(4px); }
.pb-btn--primary { --btn-bg: var(--terra-btn); box-shadow: var(--shadow-glow); }
.pb-btn--primary:hover { --btn-bg: #a9411c; box-shadow: 0 22px 44px -18px rgba(224, 104, 58, .75); }
.pb-btn--teal { --btn-bg: var(--teal-700); }
.pb-btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(15, 31, 30, .22); }
.pb-btn--ghost:hover { border-color: var(--ink); }
.pb-btn--light { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; border-color: rgba(255, 255, 255, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pb-btn--light:hover { --btn-bg: rgba(255, 255, 255, .18); border-color: #fff; }
.pb-btn--white { --btn-bg: #fff; --btn-fg: var(--teal-900); }
.pb-btn--wa { --btn-bg: var(--wa-btn); }
.pb-btn--tg { --btn-bg: var(--tg); }
.pb-btn--sm { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.pb-btn--block { width: 100%; }
.pb-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pb-center .pb-actions { justify-content: center; }

/* inline-block, not inline-flex: when a long label wraps, the arrow stays
   right after the last word instead of being pushed to the far edge. */
.pb-link-arrow { display: inline-block; font-weight: 700; }
.pb-link-arrow .pb-i { margin-inline: .12em; transition: transform .3s var(--ease); }
.pb-link-arrow:hover .pb-i { transform: translateX(4px); }

/* ----------------------------------------------------------------- header */
.pb-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    display: flex; align-items: center;
    transition: background .35s, box-shadow .35s, backdrop-filter .35s, color .35s, transform .4s var(--ease);
    color: #fff;
}
.pb-header.is-solid, .pb--solid-header .pb-header {
    background: rgba(250, 246, 239, .86);
    backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(6, 48, 46, .35);
    color: var(--ink);
}
.pb-header.is-hidden { transform: translateY(-100%); }
/* Keyboard focus moving back into an auto-hidden header brings it back. */
.pb-header:focus-within { transform: none; }
/* Without site.js the header never turns solid; keep its white text readable
   over the light sections. */
html:not(.js) .pb-header { background: rgba(4, 31, 30, .92); color: #fff; }
.pb-header__inner { display: flex; align-items: center; gap: 20px; width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.pb-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit !important; font: 700 1.14rem/1 var(--font-display); letter-spacing: -.02em; flex: none; }
.pb-brand img { width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35); }
.pb-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.pb-nav a {
    color: inherit !important; opacity: .86; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 999px;
    white-space: nowrap; transition: opacity .2s, background .2s;
}
.pb-nav a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
.pb-nav a[aria-current="page"] { opacity: 1; background: rgba(127, 127, 127, .16); }
.pb-header:not(.is-solid) .pb-nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.pb-header__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.pb-lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .35); }
.pb-lang a { color: inherit !important; font-size: .78rem; font-weight: 800; letter-spacing: .06em; padding: 6px 9px; border-radius: 999px; opacity: .72; }
.pb-lang a:hover { opacity: 1; }
.pb-lang a[aria-current="true"] { opacity: 1; background: var(--terra-btn); color: #fff !important; }
.pb-burger {
    display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(127, 127, 127, .35);
    background: transparent; color: inherit; cursor: pointer; place-items: center;
}
.pb-burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.pb-burger span::before, .pb-burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.pb-burger span::before { top: -6px; }
.pb-burger span::after { top: 6px; }
.pb-menu-open .pb-burger span { background: transparent; }
.pb-menu-open .pb-burger span::before { top: 0; transform: rotate(45deg); }
.pb-menu-open .pb-burger span::after { top: 0; transform: rotate(-45deg); }

.pb-mobile-nav {
    position: fixed; inset: 0; z-index: 90; background: var(--teal-900); color: #fff;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
    clip-path: circle(0 at calc(100% - 44px) 36px); visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
}
.pb-menu-open .pb-mobile-nav { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.pb-menu-open .pb-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.pb-mobile-nav a.pb-mobile-nav__link { color: #fff !important; font: 650 1.7rem/1.2 var(--font-display); padding: 10px 0; border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; align-items: center; }
.pb-mobile-nav a.pb-mobile-nav__link[aria-current="page"] { color: var(--gold) !important; }
.pb-mobile-nav .pb-actions { margin-top: 24px; }
.pb-mobile-nav .pb-lang { align-self: flex-start; margin-top: 18px; border-color: var(--line-light); }
.pb-mobile-nav .pb-lang a { padding: 11px 14px; font-size: .85rem; }
.pb-menu-open { overflow: hidden; }

/* ------------------------------------------------------------ home hero */
.pb-hero {
    position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; color: #fff;
    padding: calc(var(--header-h) + 40px) 0 clamp(90px, 12vh, 140px);
    background: var(--teal-950);
}
.pb-hero__layer { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.pb-hero__bg {
    inset: -12% -5%;
    background:
        radial-gradient(60% 55% at 78% 30%, rgba(45, 212, 191, .28), transparent 70%),
        radial-gradient(45% 50% at 12% 85%, rgba(224, 104, 58, .34), transparent 70%),
        radial-gradient(40% 40% at 50% 110%, rgba(242, 181, 107, .25), transparent 70%),
        linear-gradient(160deg, #06302e 0%, #041f1e 55%, #03191a 100%);
}
.pb-hero__photo { inset: -15% 0 -15% 0; opacity: .22; background-size: cover; background-position: center; mix-blend-mode: luminosity; filter: saturate(.6); }
.pb-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.pb-hero__grid {
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.pb-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.pb-orb--1 { width: 520px; height: 520px; right: -140px; top: -120px; border: 1px solid rgba(255, 255, 255, .12); }
.pb-orb--2 { width: 340px; height: 340px; right: 8%; top: 18%; border: 1px dashed rgba(242, 181, 107, .35); }
.pb-orb--3 { width: 220px; height: 220px; left: -60px; bottom: 6%; background: radial-gradient(circle at 30% 30%, rgba(224, 104, 58, .55), rgba(224, 104, 58, 0) 70%); filter: blur(10px); }
.pb-orb--4 { width: 140px; height: 140px; right: 42%; bottom: 12%; background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, .5), rgba(45, 212, 191, 0) 70%); filter: blur(8px); }

.pb-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pb-hero h1 { color: #fff; margin-bottom: 22px; }
.pb-hero .pb-lead { color: rgba(236, 246, 244, .82); margin-bottom: 34px; }
.pb-hero__kicker {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; margin-bottom: 26px;
    border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    font-size: .9rem; font-weight: 600; color: #e6f4f1; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pb-hero__kicker { border-radius: 22px; }
.pb-hero__kicker b { background: var(--terra-btn); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; flex: none; }
.pb-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding: 0; list-style: none; color: rgba(236, 246, 244, .78); font-size: .95rem; }
.pb-trust li { display: inline-flex; align-items: center; gap: 9px; }
.pb-trust .pb-i { color: var(--gold); }

.pb-collage { position: relative; height: clamp(420px, 58vh, 600px); }
.pb-collage__frame {
    position: absolute; border-radius: 26px; overflow: hidden; background: linear-gradient(145deg, #0e4a46, #0a3532);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .1);
    will-change: transform;
}
.pb-collage__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.pb-collage__frame--a { width: 58%; height: 68%; right: 0; top: 0; }
.pb-collage__frame--b { width: 46%; height: 50%; left: 2%; top: 32%; }
.pb-collage__frame--c { width: 40%; height: 40%; right: 6%; bottom: -2%; }
.pb-collage__label {
    position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 6px 12px; border-radius: 999px;
    background: rgba(4, 31, 30, .7); color: #fff; font-size: .8rem; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pb-chip {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 18px;
    background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5);
    font-size: .88rem; line-height: 1.3; will-change: transform;
}
.pb-chip strong { display: block; font: 700 1.05rem/1.1 var(--font-display); }
.pb-chip .pb-icon { width: 42px; height: 42px; border-radius: 13px; }
.pb-chip .pb-icon .pb-i { width: 22px; height: 22px; }
.pb-chip--price { left: 0; top: 6%; }
.pb-chip--tg { right: -4%; top: 44%; }
.pb-chip--time { left: 0; bottom: 4%; }

.pb-scrollcue {
    position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
    width: 28px; height: 46px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .45);
}
.pb-scrollcue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: #fff; animation: pb-cue 1.8s var(--ease) infinite; }
@keyframes pb-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ------------------------------------------------------- inner page hero */
.pb-pagehero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(64px, 9vw, 120px);
    background: var(--teal-950);
}
.pb-pagehero .pb-hero__bg { inset: -20% -5%; }
.pb-pagehero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.4rem); max-width: 16ch; }
.pb-pagehero .pb-lead { color: rgba(236, 246, 244, .82); }
.pb-pagehero__inner { position: relative; z-index: 2; }
.pb-pagehero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; }
.pb-pagehero__aside { display: grid; gap: 12px; }
.pb-pagehero__stat {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
    background: rgba(255, 255, 255, .07); border: 1px solid var(--line-light); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pb-pagehero__stat strong { display: block; font: 700 1.35rem/1.1 var(--font-display); color: #fff; }
.pb-pagehero__stat span { color: rgba(236, 246, 244, .72); font-size: .9rem; }
.pb-pagehero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: 60px; color: var(--sand-50); }
.pb-pagehero__wave svg { width: 100%; height: 100%; display: block; }

.pb-breadcrumbs { margin-bottom: 26px; font-size: .88rem; }
.pb-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.pb-breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: rgba(236, 246, 244, .64); }
.pb-breadcrumbs li + li::before { content: '/'; opacity: .5; }
.pb-breadcrumbs a { color: rgba(236, 246, 244, .9) !important; }
.pb-breadcrumbs a:hover { color: #fff !important; }

/* --------------------------------------------------------------- reveals */
.js .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal[data-reveal="left"] { transform: translate3d(-44px, 0, 0); }
.js .reveal[data-reveal="right"] { transform: translate3d(44px, 0, 0); }
.js .reveal[data-reveal="zoom"] { transform: scale(.92); }
.js .reveal[data-reveal="fade"] { transform: none; }
.js .reveal.is-in { opacity: 1; transform: none; }

.pb-split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pb-split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + 120ms); }
.pb-split-words.is-in .w > span { transform: none; }

/* ------------------------------------------------------------------ grids */
.pb-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.pb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.pb-split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.pb-split--top { align-items: start; }

/* ------------------------------------------------------------------ cards */
.pb-card {
    position: relative; background: var(--sand-0); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-s);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* Only cards that contain a link or button lift on hover; purely informational
   cards stay put so they do not look clickable. :where() keeps the specificity
   of .pb-card:hover, so modifier and page rules below still win. */
.pb-card:where(:not(:has(a, button))):hover { transform: none; box-shadow: var(--shadow-s); }
.pb-card h3 { margin: 18px 0 10px; }
.pb-card p:last-child { margin-bottom: 0; }
.pb-card--flat:hover { transform: none; box-shadow: var(--shadow-s); }
.pb-card--dark { background: rgba(255, 255, 255, .05); border-color: var(--line-light); box-shadow: none; color: #e9f3f1; }
.pb-card--dark:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.pb-card--dark p { color: rgba(233, 243, 241, .75); }
.pb-card--accent { background: linear-gradient(160deg, var(--teal-800), var(--teal-900)); color: #fff; border: none; }
.pb-card--accent p { color: rgba(236, 246, 244, .8); }
.pb-card__num { position: absolute; right: 22px; top: 18px; font: 700 3.2rem/1 var(--font-display); color: rgba(15, 118, 110, .09); }
.pb-card--dark .pb-card__num { color: rgba(255, 255, 255, .07); }

.pb-check { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.pb-check li { position: relative; padding-left: 34px; }
.pb-check li::before {
    content: ''; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
    background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.pb-section--dark .pb-check li::before, .pb-card--accent .pb-check li::before { background-color: rgba(45, 212, 191, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2399f6e4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.pb-cross { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.pb-cross li { position: relative; padding-left: 34px; }
.pb-cross li::before {
    content: ''; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
    background: var(--terra-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9542a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.pb-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
    font-size: .78rem; font-weight: 800; letter-spacing: .02em; background: var(--teal-50); color: var(--teal-700);
}
.pb-badge--terra { background: var(--terra-100); color: var(--terra-700); }
.pb-badge--gold { background: #fdf0dc; color: #9a5b12; }
.pb-badge--dark { background: rgba(4, 31, 30, .72); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pb-badge--glass { background: rgba(255, 255, 255, .88); color: var(--ink); }

.pb-note {
    display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; border-radius: 16px;
    background: var(--teal-50); border: 1px solid rgba(15, 118, 110, .16); color: var(--ink-2);
}
.pb-note--warn { background: #fff6ec; border-color: rgba(224, 104, 58, .25); }
.pb-note .pb-i { width: 24px; height: 24px; color: var(--teal-700); margin-top: 2px; }
.pb-note--warn .pb-i { color: var(--terra); }
.pb-note p:last-child { margin: 0; }

/* ------------------------------------------------------------- marquee */
/* The tilted band is wider than the viewport; the wrapper clips it so the
   page never scrolls sideways. */
.pb-marquee-wrap { position: relative; z-index: 4; overflow: hidden; margin-top: -34px; padding: 14px 0 30px; }
.pb-marquee { position: relative; overflow: hidden; padding: 22px 0; background: var(--terra); color: #fff; transform: rotate(-1.2deg); margin: 0 -2vw; box-shadow: 0 20px 40px -24px rgba(224, 104, 58, .7); }
.pb-marquee__track { display: flex; width: max-content; gap: 0; animation: pb-marquee 38s linear infinite; }
.pb-marquee__item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 650 clamp(1.1rem, 2vw, 1.5rem)/1 var(--font-display); white-space: nowrap; letter-spacing: -.01em; }
.pb-marquee__item::after { content: '✦'; font-size: .8em; opacity: .75; }
@keyframes pb-marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- rooms */
.pb-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.pb-room {
    position: relative; display: flex; flex-direction: column; background: var(--sand-0); border-radius: 26px; overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
    container-type: inline-size;
}
.pb-room:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pb-room__media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: linear-gradient(145deg, var(--teal-800), var(--teal-900)); }
.pb-room__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; transition: transform 1.2s var(--ease); will-change: transform; }
.pb-room:hover .pb-room__media img { transform: scale(1.06); }
.pb-room__placeholder {
    position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; padding: 16px; text-align: center;
    color: rgba(255, 255, 255, .6);
    background: radial-gradient(40% 60% at 20% 30%, rgba(224, 104, 58, .45), transparent 70%), radial-gradient(40% 60% at 80% 70%, rgba(45, 212, 191, .4), transparent 70%);
}
.pb-room__placeholder .pb-i { width: 64px; height: 64px; stroke-width: 1.2; }
.pb-room__placeholder span { font-weight: 700; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.pb-room__code {
    position: absolute; left: 16px; top: 16px; z-index: 2; min-width: 50px; height: 50px; padding: 0 12px; border-radius: 16px;
    display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--teal-900);
    font: 700 1.1rem/1 var(--font-display); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45);
}
.pb-room__tags { position: absolute; right: 14px; top: 16px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: calc(100% - 96px); }
.pb-room__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.pb-room__body h3 { margin: 0; }
.pb-room__body h3 a { color: var(--ink) !important; }
.pb-room__body h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
/* The whole card is one link (the stretched h3 link above). The code chip,
   badges and the arrow sit above that overlay, so they must let clicks through. */
.pb-room__code, .pb-room__tags, .pb-room__go { pointer-events: none; }
.pb-room__tagline { color: var(--muted); font-size: .96rem; margin: 0; }
.pb-room__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-2); font-size: .9rem; font-weight: 600; margin-top: auto; }
.pb-room__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pb-room__meta .pb-i { color: var(--teal-700); }
.pb-room__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pb-price { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.pb-price strong { font: 700 1.9rem/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.pb-price span { color: var(--muted); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.pb-price--light { color: #fff; }
.pb-price--light span { color: rgba(255, 255, 255, .7); }
/* "Пакет / от 6,90 AZN/час": each line stays whole ("AZN-dən" never splits at the hyphen). */
.pb-room__from { font-size: .82rem; color: var(--terra-700); font-weight: 700; text-align: right; line-height: 1.3; white-space: nowrap; margin-left: auto; }
.pb-room__go {
    position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: var(--teal-50); color: var(--teal-700); transition: background .3s, color .3s, transform .4s var(--ease);
}
.pb-room:hover .pb-room__go { background: var(--terra); color: #fff; transform: rotate(-45deg); }
/* On narrow cards the decorative arrow would wrap onto its own row (a wide
   card lays photo and text side by side, so its text column is narrow too). */
@container (max-width: 345px) {
    .pb-room__go { display: none; }
}
@media (min-width: 681px) {
    @container (max-width: 760px) {
        .pb-room--wide .pb-room__go { display: none; }
    }
}

.pb-room--wide { grid-column: span 2; flex-direction: row; }
.pb-room--wide .pb-room__media { flex: 1.1; aspect-ratio: auto; min-height: 340px; }
.pb-room--wide .pb-room__body { flex: 1; padding: 30px; }

/* rooms horizontal showcase (home) */
/* scroll-padding keeps the snapped first card aligned with the container
   text instead of the rail's outer edge. */
.pb-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 8px var(--gutter) 30px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: thin; scrollbar-color: var(--teal-700) transparent; }
.pb-rail > * { scroll-snap-align: start; flex: 0 0 clamp(290px, 30vw, 360px); }
.pb-rail::-webkit-scrollbar { height: 6px; }
.pb-rail::-webkit-scrollbar-thumb { background: var(--teal-700); border-radius: 6px; }
.pb-rail-nav { display: flex; gap: 10px; }
.pb-rail-nav button {
    width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(15, 31, 30, .2); background: transparent; color: var(--ink);
    display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.pb-rail-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pb-section--dark .pb-rail-nav button { color: #fff; border-color: var(--line-light); }
.pb-section--dark .pb-rail-nav button:hover { background: #fff; color: var(--ink); }

/* ------------------------------------------------------ parallax bands */
.pb-band { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(420px, 70vh, 640px); display: flex; align-items: center; color: #fff; }
.pb-band__img { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.pb-band__img img { width: 100%; height: 100%; object-fit: cover; }
.pb-band__img--pattern { background: radial-gradient(40% 60% at 20% 30%, rgba(224, 104, 58, .5), transparent 70%), radial-gradient(40% 60% at 80% 70%, rgba(45, 212, 191, .45), transparent 70%), linear-gradient(135deg, #0a413e, #041f1e); }
.pb-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 31, 30, .88) 0%, rgba(4, 31, 30, .55) 55%, rgba(4, 31, 30, .25) 100%); }
.pb-band h2 { color: #fff; max-width: 17ch; }
.pb-band .pb-lead { color: rgba(236, 246, 244, .85); }
.pb-band__cards { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ------------------------------------------------------------- stats */
/* auto-fit: when a counter is hidden (0) the others share the row instead of
   leaving empty grey cells. */
.pb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pb-stat { background: var(--sand-0); padding: clamp(22px, 3vw, 36px); }
.pb-stat strong { display: block; font: 700 clamp(2.2rem, 4.4vw, 3.6rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--teal-700); margin-bottom: 8px; }
.pb-stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }
.pb-section--dark .pb-stats { background: var(--line-light); border-color: var(--line-light); }
.pb-section--dark .pb-stat { background: var(--teal-900); }
.pb-section--dark .pb-stat strong { color: var(--gold); }
.pb-section--dark .pb-stat span { color: rgba(233, 243, 241, .7); }

/* --------------------------------------------------------- scroll steps */
.pb-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.pb-story__sticky { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.pb-story__progress { position: relative; height: 4px; border-radius: 4px; background: var(--line); margin-top: 28px; overflow: hidden; max-width: 320px; }
.pb-story__progress i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--terra), var(--gold)); }
.pb-section--dark .pb-story__progress { background: var(--line-light); }
.pb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.pb-step {
    position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 26px;
    border-radius: 24px; background: var(--sand-0); border: 1px solid var(--line); counter-increment: step;
    transition: border-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.pb-step::before {
    content: counter(step, decimal-leading-zero); width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
    font: 700 1.3rem/1 var(--font-display); background: var(--teal-50); color: var(--teal-700); transition: background .4s, color .4s;
}
.pb-step.is-active { border-color: rgba(224, 104, 58, .5); box-shadow: var(--shadow); }
.pb-step.is-active::before { background: var(--terra); color: #fff; }
.pb-step h3 { margin: 4px 0 8px; }
.pb-step p { margin: 0; color: var(--ink-2); }
.pb-step p + p { margin-top: 10px; }
.pb-section--dark .pb-step { background: rgba(255, 255, 255, .04); border-color: var(--line-light); }
.pb-section--dark .pb-step::before { background: rgba(255, 255, 255, .08); color: var(--teal-200); }
.pb-section--dark .pb-step p { color: rgba(233, 243, 241, .75); }

/* timeline (vertical, for long processes) */
.pb-timeline { list-style: none; margin: 0; padding: 0 0 0 38px; position: relative; }
.pb-timeline::before { content: ''; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--terra), var(--teal-700)); border-radius: 2px; }
.pb-timeline > li { position: relative; padding-bottom: 34px; }
.pb-timeline > li:last-child { padding-bottom: 0; }
.pb-timeline > li::before { content: ''; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sand-50); border: 3px solid var(--terra); }
.pb-timeline h3 { margin: 0 0 6px; }
.pb-timeline p { margin: 0; color: var(--ink-2); }

/* -------------------------------------------------------------- pricing */
.pb-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pb-plan {
    position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: 26px;
    background: var(--sand-0); border: 1px solid var(--line); box-shadow: var(--shadow-s);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pb-plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pb-plan h3 { margin: 0; font-size: 1.25rem; }
.pb-plan__price { display: flex; align-items: baseline; gap: 6px; }
.pb-plan__price strong { font: 700 2.6rem/1 var(--font-display); letter-spacing: -.04em; }
.pb-plan__price small { color: var(--muted); font-weight: 700; font-size: .95rem; }
.pb-plan--featured .pb-plan__price small { color: rgba(236, 246, 244, .72); }
.pb-plan__price span { color: var(--muted); font-weight: 600; }
.pb-plan__sub { color: var(--muted); font-size: .92rem; margin: 0; }
.pb-plan .pb-check { font-size: .95rem; margin: 6px 0 0; }
.pb-plan .pb-btn { margin-top: auto; }
.pb-plan--featured { background: linear-gradient(165deg, var(--teal-800), var(--teal-950)); color: #fff; border: none; box-shadow: 0 40px 70px -35px rgba(6, 48, 46, .8); transform: translateY(-10px); }
.pb-plan--featured:hover { transform: translateY(-16px); }
.pb-plan--featured .pb-plan__sub, .pb-plan--featured .pb-plan__price span { color: rgba(236, 246, 244, .72); }
.pb-plan--featured .pb-check li::before { background-color: rgba(45, 212, 191, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2399f6e4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.pb-plan__flag { position: absolute; top: -13px; left: 26px; padding: 6px 12px; border-radius: 999px; background: var(--terra-btn); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow-glow); }

.pb-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--sand-0); box-shadow: var(--shadow-s); -webkit-overflow-scrolling: touch; }
.pb-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .96rem; }
.pb-table th, .pb-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pb-table thead th { background: var(--teal-900); color: #fff; font-weight: 700; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; position: sticky; top: 0; }
.pb-table tbody tr { transition: background .2s; }
.pb-table tbody tr:hover { background: var(--teal-50); }
.pb-table tbody tr:last-child td { border-bottom: 0; }
.pb-table td.num, .pb-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pb-table .pb-table__room { display: flex; align-items: center; gap: 12px; font-weight: 700; white-space: normal; min-width: 220px; }
.pb-table .pb-table__room img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; background: var(--sand-200); }
.pb-table .pb-table__save { display: block; color: var(--terra-700); font-size: .8rem; font-weight: 700; }

/* calculator */
.pb-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-0); border: 1px solid var(--line); }
.pb-calc__form { padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; align-content: start; }
.pb-calc__result { padding: clamp(24px, 4vw, 44px); background: linear-gradient(160deg, var(--teal-800), var(--teal-950)); color: #fff; display: grid; gap: 18px; align-content: center; }
.pb-field { display: grid; gap: 8px; }
.pb-field label, .pb-field .pb-field__label { font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.pb-select, .pb-input {
    width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid rgba(15, 31, 30, .16);
    background: #fff; font: 600 1rem/1.3 var(--font-text); color: var(--ink); appearance: none; -webkit-appearance: none;
}
.pb-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1f1e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.pb-select:focus, .pb-input:focus { border-color: var(--teal-700); outline: none; box-shadow: 0 0 0 4px rgba(15, 118, 110, .15); }
.pb-range { width: 100%; accent-color: var(--terra); height: 28px; }
.pb-range-row { display: flex; align-items: center; gap: 16px; }
.pb-range-row output { min-width: 84px; text-align: right; font: 700 1.3rem/1 var(--font-display); }
.pb-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-seg button {
    padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(15, 31, 30, .16); background: #fff; cursor: pointer;
    font: 700 .92rem/1 var(--font-text); color: var(--ink-2); transition: all .2s;
}
.pb-seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pb-calc__big { font: 700 clamp(2.6rem, 5vw, 3.8rem)/1 var(--font-display); letter-spacing: -.04em; }
.pb-calc__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-light); color: rgba(236, 246, 244, .8); }
.pb-calc__row b { color: #fff; font-variant-numeric: tabular-nums; }
.pb-calc__save { display: inline-flex; align-items: center; gap: 8px; align-self: start; padding: 8px 14px; border-radius: 999px; background: rgba(242, 181, 107, .16); color: var(--gold); font-weight: 800; }

/* ---------------------------------------------------- telegram mockup */
.pb-phone {
    position: relative; width: min(340px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 14px;
    background: linear-gradient(160deg, #1b2b2a, #0b1413); box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .65), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.pb-phone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #d8e6d4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 8c3 6 9 9 14 9-5 2-9 7-10 13-2-6-7-10-13-11 5-2 8-6 9-11z' fill='%23c5d9c0' opacity='.55'/%3E%3C/svg%3E"); display: flex; flex-direction: column; }
.pb-phone__bar { display: flex; align-items: center; gap: 10px; padding: 34px 14px 12px; background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.pb-phone__bar img { width: 34px; height: 34px; border-radius: 50%; }
.pb-phone__bar b { display: block; font-size: .9rem; line-height: 1.1; }
.pb-phone__bar small { color: #8a9a97; font-size: .74rem; }
.pb-phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; border-radius: 14px; background: #0b1413; z-index: 2; }
.pb-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 12px 18px; overflow: hidden; }
.pb-bubble {
    max-width: 88%; padding: 10px 12px 8px; border-radius: 16px 16px 16px 4px; background: #fff; color: #17211f;
    font-size: .8rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.pb-bubble b { font-weight: 800; }
.pb-bubble small { display: block; text-align: right; color: #96a5a2; font-size: .66rem; margin-top: 2px; }
.pb-bubble--me { align-self: flex-end; background: #e1fec6; border-radius: 16px 16px 4px 16px; }
.js .pb-chat .pb-bubble { opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .pb-chat.is-in .pb-bubble { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- FAQ */
.pb-faq { display: grid; gap: 12px; }
.pb-faq details { border-radius: 18px; background: var(--sand-0); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.pb-faq details[open] { box-shadow: var(--shadow-s); border-color: rgba(15, 118, 110, .3); }
.pb-faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
    padding: 20px 24px; font: 650 1.08rem/1.35 var(--font-display); letter-spacing: -.01em;
}
.pb-faq summary::-webkit-details-marker { display: none; }
.pb-faq summary::after {
    content: ''; flex: none; width: 32px; height: 32px; border-radius: 50%;
    background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform .4s var(--ease), background-color .3s;
}
.pb-faq details[open] summary::after { transform: rotate(135deg); background-color: var(--terra-100); }
.pb-faq__a { padding: 0 24px 22px; color: var(--ink-2); }
.pb-faq__a p:last-child { margin-bottom: 0; }
.pb-faq-group + .pb-faq-group { margin-top: 48px; }
.pb-faq-group > h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); display: flex; align-items: center; gap: 14px; }

/* -------------------------------------------------------------- gallery */
.pb-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 12px; }
.pb-gallery__item { position: relative; overflow: hidden; border-radius: 18px; background: var(--sand-200); cursor: zoom-in; border: 0; padding: 0; }
.pb-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.pb-gallery__item img, .pb-gallery__item video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pb-gallery__item:hover img { transform: scale(1.06); }
.pb-gallery__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(4, 31, 30, .35); color: #fff; }
.pb-gallery__play span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--teal-900); }

.pb-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.pb-lightbox::backdrop { background: rgba(3, 20, 19, .92); backdrop-filter: blur(6px); }
.pb-lightbox__stage { position: absolute; inset: 60px 70px; display: grid; place-items: center; }
.pb-lightbox__stage img, .pb-lightbox__stage video { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.pb-lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.pb-lightbox button:hover { background: rgba(255, 255, 255, .22); }
.pb-lightbox__close { top: 16px; right: 16px; }
.pb-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.pb-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.pb-lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .8); font-weight: 700; font-size: .9rem; }

/* ------------------------------------------------------------ room page */
.pb-roomhero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pb-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.pb-spec { padding: 16px; border-radius: 16px; background: var(--sand-100); }
.pb-spec dt { font-size: .8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pb-spec dd { margin: 4px 0 0; font: 700 1.2rem/1.2 var(--font-display); }
.pb-sticky-card { position: sticky; top: calc(var(--header-h) + 24px); }
.pb-tiers { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.pb-tiers li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.pb-tiers li b { font-variant-numeric: tabular-nums; }
.pb-tiers li em { font-style: normal; color: var(--terra-700); font-size: .82rem; font-weight: 800; }

/* ---------------------------------------------------------------- CTA */
.pb-cta {
    position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-l); padding: clamp(36px, 6vw, 80px);
    /* A deep terra base (white text ≥ 4.8:1) with the gold kept as a glow. */
    background: radial-gradient(60% 90% at 100% 0%, rgba(242, 181, 107, .45), transparent 60%),
                linear-gradient(120deg, var(--terra-700), #c24d23);
    color: #fff;
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center;
    box-shadow: 0 50px 90px -50px rgba(176, 68, 32, .9);
}
.pb-cta::before, .pb-cta::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.pb-cta::before { width: 460px; height: 460px; right: -120px; top: -200px; }
.pb-cta::after { width: 300px; height: 300px; right: 60px; bottom: -220px; }
.pb-cta h2 { color: #fff; margin-bottom: 12px; }
.pb-cta p { color: #fff; font-size: 1.1rem; margin: 0; max-width: 56ch; }
.pb-cta .pb-actions { justify-content: flex-end; }
/* Side by side with the text, the buttons stack at one width instead of ragged. */
@media (min-width: 981px) {
    .pb-cta .pb-actions { flex-direction: column; align-items: stretch; }
}
/* Opaque, so the decorative ring lines do not show through the button. */
.pb-cta .pb-btn--ghost { --btn-bg: #8e3516; --btn-fg: #fff; border-color: rgba(255, 255, 255, .75); }
.pb-cta .pb-btn--ghost:hover { border-color: #fff; --btn-bg: #7a2d12; }

/* ------------------------------------------------------------- map */
.pb-map { position: relative; border-radius: var(--radius-l); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); background: var(--sand-200); }
.pb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.pb-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pb-contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.pb-contact-list b { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pb-contact-list a, .pb-contact-list span { font-weight: 700; font-size: 1.08rem; color: var(--ink); }

/* ------------------------------------------------------------ prose */
.pb-prose { font-size: 1.04rem; color: var(--ink-2); }
.pb-prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--ink); }
.pb-prose h3 { margin-top: 1.4em; color: var(--ink); }
.pb-prose ul { padding-left: 1.2em; }
.pb-prose li { margin-bottom: .4em; }

.pb-toc { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pb-toc a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--sand-0); font-weight: 700; font-size: .92rem; color: var(--ink-2) !important; }
.pb-toc a:hover { border-color: var(--terra); color: var(--terra) !important; }

/* audiences (coworking page) */
.pb-aud { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(26px, 3vw, 40px); background: var(--sand-0); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.pb-aud__big { position: absolute; right: -10px; bottom: -34px; font: 700 9rem/1 var(--font-display); color: rgba(15, 118, 110, .06); pointer-events: none; }
.pb-aud .pb-link-arrow { margin-top: 6px; }

/* ----------------------------------------------------------- footer */
.pb-footer { position: relative; background: var(--teal-950); color: rgba(233, 243, 241, .76); padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; }
.pb-footer::before { content: ''; position: absolute; right: -200px; top: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, .14), transparent 65%); }
.pb-footer a { color: rgba(233, 243, 241, .86) !important; }
.pb-footer a:hover { color: #fff !important; }
.pb-footer__top { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.pb-footer__title, .pb-footer h3 { color: #fff; font-size: .82rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-text); font-weight: 800; margin: 0 0 18px; }
.pb-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pb-footer .pb-brand { color: #fff !important; margin-bottom: 18px; }
/* A faint fill instead of -webkit-text-stroke: the variable font's overlapping
   contours showed as stray lines under a stroke. Line-height and padding keep
   the descenders of "y" and "g" inside the clipped box. */
.pb-footer__big { position: relative; margin: clamp(48px, 7vw, 90px) 0 28px; padding-bottom: .06em; font: 700 clamp(3rem, 13vw, 11rem)/1.1 var(--font-display); letter-spacing: -.06em; color: rgba(255, 255, 255, .05); white-space: nowrap; overflow: hidden; }
.pb-footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .88rem; }
.pb-socials { display: flex; gap: 10px; margin-top: 20px; }
.pb-socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-light); transition: background .25s, transform .3s var(--ease); }
.pb-socials a:hover { background: var(--terra); transform: translateY(-3px); }
.pb-socials .pb-i { width: 20px; height: 20px; }

/* floating contact button */
.pb-fab {
    position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 60px; height: 60px; border-radius: 50%;
    display: grid; place-items: center; background: var(--wa); color: #fff !important; box-shadow: 0 16px 36px -12px rgba(31, 168, 85, .7);
    transition: transform .35s var(--ease), opacity .3s;
}
.pb-fab:hover { transform: scale(1.08); }
/* Hidden while the closing CTA or the footer (both with their own WhatsApp link) is on screen. */
.pb-fab.is-away { opacity: 0; pointer-events: none; transform: scale(.8); }
.pb-fab .pb-i { width: 30px; height: 30px; }
/* It also steps aside while the visitor scrolls down to read (the header is
   hidden then) and comes back on scroll-up. */
.pb-fab.is-scrolling { opacity: 0; pointer-events: none; transform: scale(.8); }
/* Two pulses on arrival, then still (WCAG 2.2.2: no endless motion beside content). */
.pb-fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pb-pulse 2.4s var(--ease) 2; }
@keyframes pb-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ------------------------------------------------------ responsive */
/* Header: the full nav fits from 1340 px; between 1180 and 1339 px it is
   compressed (tighter links); below 1180 px the burger menu takes over.
   The language switch stays in the header at every width from 360 px.
   Keep NAV_MQ in site.js and the <noscript> menu in layout_start.php in sync
   with the 1180 px breakpoint. */
@media (min-width: 1180px) and (max-width: 1339px) {
    .pb-header__inner { gap: 12px; }
    .pb-brand { gap: 10px; }
    .pb-nav a { padding: 8px 7px; font-size: .9rem; }
    .pb-header__tools { gap: 8px; }
}
/* Signed-in visitors see the longer "Личный кабинет" button: between 1180 and
   1439 px the logo stands alone (the link keeps its aria-label). */
@media (min-width: 1180px) and (max-width: 1439px) {
    .pb-header--account .pb-brand span { display: none; }
}
@media (max-width: 1179px) {
    .pb-nav { display: none; }
    .pb-burger { display: grid; }
    .pb-header__tools { margin-left: auto; }
}
@media (min-width: 1180px) {
    .pb-mobile-nav { display: none; }
}
/* The overlay keeps its own language switch only where the header has no room for one. */
@media (min-width: 360px) {
    .pb-mobile-nav .pb-lang { display: none; }
}
@media (max-width: 1180px) {
    .pb-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pb-plan--featured { transform: none; }
    .pb-plan--featured:hover { transform: translateY(-6px); }
    .pb-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Existing clients keep a visible sign-in button down to large phones. */
@media (max-width: 560px) {
    .pb-header__tools .pb-btn { display: none; }
}
@media (max-width: 980px) {
    .pb-hero__inner, .pb-split, .pb-split--wide-text, .pb-story, .pb-pagehero__grid, .pb-roomhero, .pb-calc, .pb-cta { grid-template-columns: minmax(0, 1fr); }
    .pb-collage { height: 420px; max-width: 560px; width: 100%; margin-inline: auto; }
    .pb-story__sticky { position: relative; top: 0; }
    .pb-rooms, .pb-grid--3, .pb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pb-room--wide { grid-column: span 2; }
    .pb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pb-stats > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .pb-cta .pb-actions { justify-content: flex-start; }
    .pb-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pb-sticky-card { position: relative; top: 0; }
}
@media (max-width: 680px) {
    body.pb { font-size: 16px; }
    :root { --header-h: 64px; }
    .pb-rooms, .pb-grid--2, .pb-grid--3, .pb-grid--4, .pb-plans, .pb-specs { grid-template-columns: minmax(0, 1fr); }
    .pb-room--wide { grid-column: auto; flex-direction: column; }
    .pb-room--wide .pb-room__media { min-height: 0; aspect-ratio: 4 / 3.2; flex: none; }
    .pb-collage { height: 360px; }
    .pb-chip { font-size: .8rem; padding: 10px 12px 10px 10px; }
    .pb-chip--price { left: 0; top: 0; }
    .pb-chip--tg { right: 0; }
    .pb-chip--time { display: none; }
    .pb-hero .pb-actions .pb-btn, .pb-pagehero .pb-actions .pb-btn { flex: 1 1 100%; }
    .pb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; }
    .pb-footer__top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .pb-step { grid-template-columns: minmax(0, 1fr); padding: 22px; }
    .pb-step::before { width: 52px; height: 52px; }
    .pb-lightbox__stage { inset: 70px 10px; }
    .pb-lightbox__prev, .pb-lightbox__next { top: auto; bottom: 10px; transform: none; }
    .pb-lightbox__prev { left: 20px; }
    .pb-lightbox__next { right: 20px; }
    .pb-marquee-wrap { margin-top: -26px; }
    .pb-brand span { font-size: 1rem; }
    .pb-faq summary { padding: 18px; font-size: 1rem; }
    .pb-faq__a { padding: 0 18px 18px; }
    /* Inner-page hero: compact stat rows so real content starts within the first screen. */
    .pb-pagehero { padding: calc(var(--header-h) + 28px) 0 64px; }
    .pb-pagehero__grid { gap: 24px; }
    .pb-pagehero__aside { gap: 8px; }
    .pb-pagehero__stat { padding: 10px 14px; gap: 12px; border-radius: 14px; }
    .pb-pagehero__stat .pb-icon { width: 36px; height: 36px; border-radius: 11px; }
    .pb-pagehero__stat .pb-icon .pb-i { width: 19px; height: 19px; }
    .pb-pagehero__stat strong { font-size: 1.08rem; }
    .pb-pagehero__stat div > span { display: block; font-size: .82rem; line-height: 1.35; }
    .pb-rail > * { flex-basis: min(82vw, 340px); }
    .pb-fab { width: 54px; height: 54px; right: 12px; bottom: 12px; }
    .pb-fab .pb-i { width: 27px; height: 27px; }
    /* Bigger tap targets for the footer links on phones. */
    .pb-footer ul { gap: 2px; }
    .pb-footer ul a { display: inline-block; padding: 9px 0; }
    .pb-footer ul li:not(:has(a)) { padding-block: 9px; }
}
/* Phones: brand, language switch and burger share one row. */
@media (max-width: 420px) {
    .pb-header__tools { gap: 6px; }
    .pb-header__tools .pb-lang a { padding: 7px 7px; font-size: .72rem; }
    .pb-brand { gap: 10px; }
    .pb-brand span { font-size: .95rem; }
}
@media (max-width: 359px) {
    .pb-header__tools .pb-lang { display: none; }
}
@media (max-width: 400px) {
    .pb-cta { padding: 28px 22px; }
    .pb-cta .pb-btn, .pb-pagehero .pb-actions .pb-btn { flex: 1 1 100%; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .reveal, .js .pb-chat .pb-bubble { opacity: 1 !important; transform: none !important; }
    .pb-split-words .w > span { transform: none !important; }
    [data-speed], .pb-band__img, .pb-hero__layer { transform: none !important; }
}

@media print {
    .pb-header, .pb-mobile-nav, .pb-fab, .pb-marquee, .pb-scrollcue, .pb-hero__layer, .pb-pagehero__wave,
    .pb-cta .pb-actions, .pb-band::before, .pb-band__img, .pb-footer__big { display: none !important; }
    .pb-hero, .pb-pagehero { min-height: 0; color: #000; background: none; }
    /* Blocks not yet scrolled into view would print blank. */
    .js .reveal, .js .pb-chat .pb-bubble, .pb-split-words .w > span { opacity: 1 !important; transform: none !important; }
    /* White-on-dark areas lose their background on paper: print them black on white. */
    :is(.pb-hero, .pb-pagehero, .pb-section--dark, .pb-band, .pb-card--accent, .pb-plan--featured, .pb-calc__result, .pb-cta, .pb-footer),
    :is(.pb-hero, .pb-pagehero, .pb-section--dark, .pb-band, .pb-card--accent, .pb-plan--featured, .pb-calc__result, .pb-cta, .pb-footer) * { color: #000 !important; }
    .pb-section--dark, .pb-band, .pb-card--accent, .pb-plan--featured, .pb-calc__result, .pb-cta, .pb-footer { background: none !important; box-shadow: none !important; }
    .pb-hl, .pb-split-words .pb-hl .w > span { background: none !important; color: inherit !important; }
}

/* ------------------------------------------------ shared review fixes */
/* Component display rules (.pb-btn is inline-flex, .pb-calc__save…) must
   never beat the HTML hidden attribute. */
.pb [hidden] { display: none !important; }

/* The terra focus ring disappears on dark and terra surfaces. */
.pb-section--dark :focus-visible, .pb-hero :focus-visible, .pb-pagehero :focus-visible,
.pb-footer :focus-visible, .pb-mobile-nav :focus-visible, .pb-card--accent :focus-visible { outline-color: #fff; }

/* Breadcrumb links: comfortable tap targets on phones. */
.pb-breadcrumbs a { display: inline-block; padding: 6px 0; }

/* Tables: the last row's row header loses its border too; long AZ/EN
   column titles may wrap instead of overflowing. */
.pb-table tbody tr:last-child th { border-bottom: 0; }
.pb-table thead th { white-space: normal; vertical-align: bottom; }

@media (max-width: 980px) {
    /* Band copy spans the full width here, so darken the photo evenly. */
    .pb-band::before { background: linear-gradient(180deg, rgba(4, 31, 30, .9) 0%, rgba(4, 31, 30, .82) 60%, rgba(4, 31, 30, .66) 100%); }
    /* The story head is no longer sticky, so its scroll progress means nothing. */
    .pb-story__progress { display: none; }
    /* Side slides would start outside a narrow viewport; rise instead. */
    .js .reveal[data-reveal="left"]:not(.is-in), .js .reveal[data-reveal="right"]:not(.is-in) { transform: translate3d(0, 34px, 0); }
}

/* Rail arrows are disabled by site.js at the start/end of the rail. */
.pb-rail-nav button:disabled { opacity: .35; cursor: default; pointer-events: none; }

/* ------------------------------------------------ final QA fixes */
/* Buttons are nowrap + overflow:hidden; where a label can outgrow its
   column (full-width buttons, the CTA's side column) let it wrap instead
   of being clipped. */
.pb-btn--block { white-space: normal; text-align: center; }
@media (min-width: 981px) {
    .pb-cta .pb-actions .pb-btn { white-space: normal; text-align: center; }
}

/* The calculator result panel is dark teal too. */
.pb-calc__result :focus-visible { outline-color: #fff; }

/* Hero stat labels that wrap should not inherit the loose body line-height. */
.pb-pagehero__stat div > span { display: block; line-height: 1.4; }

/* An anchor jump measures a not-yet-revealed target 34px low; compensate so
   it does not end up under the sticky header. */
.js .reveal[id]:not(.is-in) { scroll-margin-top: 34px; }

/* Russian headings: one face (Manrope) for Cyrillic, Latin and digits alike,
   instead of mixing Space Grotesk digits into Cyrillic words. */
html[lang="ru"] { --font-display: 'PB Text', 'Segoe UI', system-ui, sans-serif; }
