/* ==========================================================================
   Contacts & directions (contacts.php) — page-only styles, prefix pb-ct-.
   Builds on site.css tokens and components.
   ========================================================================== */

/* Controls that page JS reveals (component display rules would beat [hidden]). */
.pb-contacts [hidden] { display: none !important; }

/* H1 words joined by a no-break space stay on one line (contacts.js). */
.pb-ct-nobr { white-space: nowrap; }
/* The Azerbaijani title is the longest on the site: in Space Grotesk at the
   shared size it runs to five lines and pushes the hero buttons below the
   first screen on a 1440×900 desktop. A smaller size and the full column
   width (instead of the shared 16ch) keep it to four lines. */
@media (min-width: 981px) {
    .pb-contacts .pb-pagehero h1:lang(az) { font-size: clamp(2.2rem, 4.4vw, 3.7rem); max-width: none; }
}

/* Cards slide in from the side (data-reveal="left|right"); clip them per
   section so they never widen the page. `clip` keeps position: sticky working. */
.pb-contacts main > section { overflow-x: clip; }
/* A shorter slide than site.css so right-column cards stay inside the gutter. */
.js .pb-contacts .reveal[data-reveal="right"]:not(.is-in) { transform: translate3d(24px, 0, 0); }
.js .pb-contacts .reveal[data-reveal="left"]:not(.is-in) { transform: translate3d(-24px, 0, 0); }

/* ------------------------------------------------------------ contact cards */
.pb-ct-wa {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 56px); align-items: center;
    overflow: hidden; isolation: isolate; padding: clamp(26px, 3.4vw, 44px);
    background:
        radial-gradient(520px 380px at 100% 0%, rgba(31, 168, 85, .34), transparent 70%),
        radial-gradient(420px 320px at 0% 110%, rgba(224, 104, 58, .2), transparent 70%),
        linear-gradient(160deg, var(--teal-800), var(--teal-900));
}
.pb-ct-wa::after {
    content: ''; position: absolute; z-index: -1; width: 260px; height: 260px; right: -90px; bottom: -130px; border-radius: 50%;
    border: 1px dashed rgba(242, 181, 107, .35); pointer-events: none;
}
.pb-ct-wa:hover { transform: none; }
.pb-ct-wa__icon.pb-icon { background: var(--wa); color: #fff; box-shadow: 0 16px 30px -14px rgba(31, 168, 85, .8); }
.pb-ct-wa h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); color: #fff; margin-top: 20px; }
.pb-ct-wa__main > p { max-width: 54ch; }
.pb-ct-wa .pb-check { margin: 18px 0 0; }
.pb-ct-wa .pb-check li { color: rgba(236, 246, 244, .9); }
.pb-ct-wa a:not(.pb-btn) { color: var(--teal-200); }
.pb-ct-wa a:not(.pb-btn):hover { color: #fff; }
.pb-ct-wa__side {
    display: grid; gap: 18px; padding: clamp(22px, 2.6vw, 30px); border-radius: 24px;
    background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pb-ct-wa__num { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pb-ct-wa__num b { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--font-display); letter-spacing: -.01em; text-transform: none; color: #fff; }
.pb-ct-wa .pb-btn--wa { box-shadow: 0 18px 36px -16px rgba(31, 168, 85, .85); }
.pb-ct-wa__foot {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding-top: 16px; border-top: 1px solid var(--line-light);
    font-size: .93rem; color: rgba(236, 246, 244, .74);
}
.pb-ct-wa__foot span { flex: 1 1 100%; }

.pb-ct-cards {
    display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px); margin-top: clamp(16px, 2vw, 24px); align-items: stretch;
}
.pb-ct-card { grid-column: span var(--span, 1); display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; }
.pb-ct-card__top { display: flex; align-items: center; gap: 14px; }
.pb-ct-card__top h3 { margin: 0; font-size: 1.08rem; letter-spacing: 0; }
.pb-ct-card__big {
    display: block; margin: 8px 0 0; font: 700 clamp(1.15rem, 1.45vw, 1.32rem)/1.25 var(--font-display); letter-spacing: -.015em;
    color: var(--ink) !important; font-variant-numeric: tabular-nums;
}
a.pb-ct-card__big:hover { color: var(--terra) !important; }
.pb-ct-card__big--text { font-size: clamp(1.08rem, 1.3vw, 1.2rem); }
.pb-ct-card p.pb-muted { margin: 0; font-size: .94rem; line-height: 1.55; }
.pb-ct-card > .pb-btn { align-self: flex-start; margin-top: auto; }
.pb-ct-card > p.pb-muted + .pb-btn { margin-top: auto; }
.pb-ct-card__links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: auto; padding-top: 6px; }

/* copy buttons */
.pb-ct-copy {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
    border: 1.5px solid rgba(15, 31, 30, .16); background: #fff; color: var(--ink-2);
    font: 700 .86rem/1.2 var(--font-text); cursor: pointer; white-space: nowrap;
    transition: border-color .25s, background .25s, color .25s, transform .3s var(--ease);
}
.pb-ct-copy .pb-i { width: 17px; height: 17px; }
.pb-ct-copy:hover { border-color: var(--teal-700); color: var(--teal-700); }
.pb-ct-copy:active { transform: scale(.97); }
.pb-ct-copy.is-done { background: var(--teal-50); border-color: var(--teal-700); color: var(--teal-700); }
.pb-ct-copy--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.pb-ct-copy--dark:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .14); }
.pb-ct-copy--dark.is-done { background: rgba(45, 212, 191, .18); border-color: var(--teal-200); color: var(--teal-200); }

/* open-now badge + 24-hour bar */
.pb-ct-now {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 12px;
    background: var(--teal-50); color: var(--teal-700); font-size: .76rem; font-weight: 800; letter-spacing: .02em; line-height: 1.2;
    text-wrap: balance;
}
.pb-ct-now i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1fa855; flex: none; }
.pb-ct-now i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1fa855; animation: pb-ct-ping 2s var(--ease) infinite; }
.pb-ct-now.is-closed { background: var(--terra-100); color: var(--terra-700); }
.pb-ct-now.is-closed i { background: var(--terra); }
.pb-ct-now.is-closed i::after { display: none; }
@keyframes pb-ct-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.pb-ct-day { margin: 8px 0 6px; }
.pb-ct-day__bar {
    position: relative; height: 12px; border-radius: 999px;
    background: repeating-linear-gradient(90deg, var(--sand-200) 0 calc(100% / 24 - 2px), var(--sand-100) calc(100% / 24 - 2px) calc(100% / 24));
}
.pb-ct-day__open {
    position: absolute; top: 0; bottom: 0; border-radius: 999px;
    background: linear-gradient(90deg, var(--teal-700), var(--teal-400));
    transform-origin: left center; transition: transform 1.3s var(--ease) .35s;
}
.js .reveal .pb-ct-day__open { transform: scaleX(0); }
.js .reveal.is-in .pb-ct-day__open { transform: none; }
.pb-ct-day__marker {
    position: absolute; top: -6px; width: 4px; height: 24px; margin-left: -2px; border-radius: 3px;
    background: var(--terra); box-shadow: 0 0 0 3px rgba(224, 104, 58, .2);
}
.pb-ct-day__ticks { position: relative; height: 20px; margin-top: 6px; font-size: .72rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.pb-ct-day__ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.pb-ct-day__ticks span:first-child { transform: none; }
.pb-ct-day__ticks span:last-child { transform: translateX(-80%); }

/* socials */
.pb-ct-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.pb-ct-social__link {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--sand-50); color: var(--ink) !important; font-weight: 700; font-size: .92rem;
    transition: background .25s, color .25s, transform .3s var(--ease);
}
.pb-ct-social__link:hover { background: var(--ink); color: #fff !important; transform: translateY(-2px); }
.pb-ct-social__link--telegram .pb-i { color: var(--tg); }
.pb-ct-social__link--instagram .pb-i { color: #d6336c; }
.pb-ct-social__link--facebook .pb-i { color: #1877f2; }
.pb-ct-social__link:hover .pb-i { color: inherit; }

/* -------------------------------------------------------------------- map */
.pb-ct-mapsec .pb-container, .pb-ct-route .pb-container, .pb-ct-legalsec .pb-container { position: relative; z-index: 1; }
.pb-ct-deco { overflow: hidden; z-index: 0; }
/* overflow: clip (not hidden) so the sticky route scheme still sticks. */
.pb-section--clip.pb-ct-route { overflow: hidden; overflow: clip; }
.pb-ct-ring { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.pb-ct-ring--a { width: 560px; height: 560px; right: -200px; top: -160px; border: 1px dashed rgba(224, 104, 58, .3); }
.pb-ct-ring--b { width: 320px; height: 320px; left: -140px; bottom: 8%; border: 1px solid rgba(15, 118, 110, .16); background: radial-gradient(circle at 60% 40%, rgba(45, 212, 191, .12), transparent 70%); }

.pb-ct-map {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    border-radius: var(--radius-l); overflow: hidden; background: var(--teal-900);
    box-shadow: 0 50px 90px -50px rgba(6, 48, 46, .7), 0 0 0 1px var(--line);
}
.pb-ct-map .pb-map { border-radius: 0; box-shadow: none; min-height: clamp(380px, 60vh, 580px); }
.pb-ct-map:has(iframe:focus) { outline: 3px solid var(--terra); outline-offset: 3px; }
.pb-ct-map__card {
    position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 22px;
    padding: clamp(26px, 3vw, 36px); color: #fff;
    background: radial-gradient(420px 300px at 100% 0%, rgba(45, 212, 191, .2), transparent 70%),
                radial-gradient(360px 260px at 0% 100%, rgba(224, 104, 58, .22), transparent 70%),
                linear-gradient(165deg, var(--teal-800), var(--teal-950));
}
.pb-ct-map__brand { display: flex; align-items: center; gap: 12px; font: 700 1.3rem/1.1 var(--font-display); letter-spacing: -.02em; }
.pb-ct-map__logo { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); flex: none; }
.pb-ct-map__logo img { width: 38px; height: 38px; border-radius: 10px; }
.pb-ct-map__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pb-ct-map__facts li { display: flex; gap: 12px; align-items: flex-start; color: rgba(236, 246, 244, .78); font-size: .95rem; line-height: 1.45; }
.pb-ct-map__facts .pb-i { color: var(--gold); margin-top: 2px; }
.pb-ct-m {
    width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: var(--terra); color: #fff; font: 800 .72rem/1 var(--font-display);
}
.pb-ct-map__facts strong { display: block; color: #fff; font-size: 1.05rem; }
.pb-ct-map__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ------------------------------------------------------------ getting here */
.pb-ct-bignum {
    position: absolute; z-index: 0; right: 0; top: 30px; pointer-events: none; user-select: none;
    font: 700 clamp(9rem, 26vw, 24rem)/1 var(--font-display); letter-spacing: -.06em;
    color: transparent; -webkit-text-stroke: 1.5px rgba(15, 118, 110, .13);
}
.pb-ct-route__grid { align-items: start; }

.pb-ct-scheme {
    position: relative; overflow: hidden; isolation: isolate; margin: 0;
    padding: clamp(24px, 3vw, 36px); border-radius: 30px; color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 36px 36px,
        radial-gradient(300px 260px at 100% 0%, rgba(224, 104, 58, .4), transparent 70%),
        linear-gradient(160deg, var(--teal-800), var(--teal-950));
    box-shadow: var(--shadow);
}
@media (min-width: 981px) {
    .pb-ct-scheme { position: sticky; top: calc(var(--header-h) + 28px); }
}
.pb-ct-scheme__node {
    position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px;
    background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pb-ct-scheme__node b { display: block; font: 700 1.12rem/1.2 var(--font-display); letter-spacing: -.01em; }
.pb-ct-scheme__node small { display: block; color: rgba(236, 246, 244, .72); font-size: .88rem; }
.pb-ct-scheme__metro {
    width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: var(--terra); color: #fff; font: 800 1.3rem/1 var(--font-display); box-shadow: 0 0 0 5px rgba(224, 104, 58, .25);
}
.pb-ct-scheme__pin { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 5px rgba(45, 212, 191, .22); }
.pb-ct-scheme__pin img { width: 34px; height: 34px; border-radius: 9px; }
.pb-ct-scheme__path { position: relative; height: 190px; }
.pb-ct-scheme__svg { position: absolute; left: 8px; top: 0; width: 120px; height: 100%; overflow: visible; }
.pb-ct-scheme__svg path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pb-ct-scheme__trail { stroke: rgba(255, 255, 255, .28); stroke-width: 3; stroke-dasharray: .1 4; }
.pb-ct-scheme__walk { stroke: var(--gold); stroke-width: 4; stroke-dasharray: 14 120; stroke-dashoffset: 14; animation: pb-ct-walk 3.4s linear infinite; filter: drop-shadow(0 0 6px rgba(242, 181, 107, .7)); }
@keyframes pb-ct-walk { to { stroke-dashoffset: -100; } }
.pb-ct-scheme__meta {
    position: absolute; left: 140px; top: 50%; transform: translateY(-50%); max-width: calc(100% - 140px);
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid var(--line-light); font-weight: 700; font-size: .92rem; line-height: 1.25;
}
.pb-ct-scheme__meta .pb-i { color: var(--gold); }
.pb-ct-scheme__near { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; font-size: .9rem; color: rgba(236, 246, 244, .75); }
.pb-ct-scheme figcaption { margin-top: 16px; font-size: .8rem; color: rgba(236, 246, 244, .55); }

.pb-ct-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pb-ct-way {
    display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 22px 24px; border-radius: 24px;
    background: var(--sand-50); border: 1px solid var(--line);
    transition: border-color .3s, box-shadow .4s var(--ease), translate .45s var(--ease);
}
.pb-ct-way:hover { border-color: rgba(224, 104, 58, .35); box-shadow: var(--shadow-s); translate: 4px 0; }
/* metro «M» roundel in place of a sprite icon (same look as the route scheme) */
.pb-ct-metro-ic.pb-icon { border-radius: 50%; background: var(--terra); color: #fff; font: 800 1.2rem/1 var(--font-display); box-shadow: 0 0 0 5px rgba(224, 104, 58, .16); }
.pb-ct-way h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.pb-ct-way p { margin: 0; color: var(--ink-2); }
.pb-ct-taxi { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.pb-ct-taxi code {
    padding: 9px 14px; border-radius: 12px; background: #fff; border: 1.5px dashed rgba(224, 104, 58, .5);
    font: 700 1rem/1.3 var(--font-text); color: var(--ink); overflow-wrap: anywhere;
}
.pb-ct-note { margin-top: clamp(28px, 4vw, 44px); align-items: center; }
.pb-ct-note .pb-link-arrow { margin-left: 4px; white-space: nowrap; }
.pb-ct-note .pb-link-arrow .pb-i { width: 18px; height: 18px; margin: 0; color: inherit; }

/* band: chips a touch larger than the default; the narrower row breaks the
   six chips into two even lines (3 + 3) instead of 5 + 1 on wide screens. */
.pb-ct-band .pb-badge { font-size: .86rem; padding: 8px 14px; }
.pb-ct-band .pb-band__cards { max-width: 760px; }

/* -------------------------------------------------------- for your clients */
.pb-ct-tips { list-style: none; padding: 0; margin: 30px 0 26px; display: grid; gap: 16px; counter-reset: tip; }
.pb-ct-tips li { position: relative; padding-left: 54px; counter-increment: tip; }
.pb-ct-tips li::before {
    content: counter(tip); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px;
    display: grid; place-items: center; background: var(--sand-0); border: 1px solid var(--line); color: var(--terra-700);
    font: 700 1.05rem/1 var(--font-display); box-shadow: var(--shadow-s);
}
.pb-ct-tips h3 { margin: 0 0 4px; font-size: 1.08rem; letter-spacing: 0; }
.pb-ct-tips p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.pb-ct-cl-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }

.pb-ct-tpl {
    position: sticky; top: calc(var(--header-h) + 24px);
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 30px;
    background: var(--sand-0); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pb-ct-tpl__head { display: flex; gap: 16px; align-items: flex-start; }
.pb-ct-tpl__head h3 { margin: 2px 0 4px; }
.pb-ct-tpl__head p { margin: 0; font-size: .93rem; }
.pb-ct-tpl__controls { display: grid; gap: 14px; }
.pb-ct-tpl__row { display: grid; gap: 8px; }
.pb-ct-tpl__label { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pb-ct-tpl__label .pb-i { width: 16px; height: 16px; color: var(--teal-700); }
.pb-ct-tpl .pb-seg button { padding: 9px 14px; }
.pb-ct-tpl__rooms button { min-width: 50px; font-family: var(--font-display); }
.pb-ct-tpl__phone {
    padding: 18px 14px; border-radius: 22px;
    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");
}
.pb-ct-tpl__bubble {
    position: relative; margin-left: auto; max-width: 96%; padding: 14px 16px 22px; border-radius: 18px 18px 4px 18px;
    background: #e1fec6; color: #17211f; font-size: .95rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 12px 24px -18px rgba(0, 0, 0, .4);
}
.pb-ct-tpl__bubble::after { content: '✓✓'; position: absolute; right: 12px; bottom: 5px; font-size: .68rem; letter-spacing: -.12em; color: #34b7f1; }
.pb-ct-tpl__bubble mark { background: rgba(242, 181, 107, .5); color: inherit; border-radius: 5px; padding: 0 3px; }
.pb-ct-tpl__bubble b { color: var(--teal-800); background: rgba(45, 212, 191, .25); border-radius: 5px; padding: 0 4px; }
.pb-ct-tpl__actions { gap: 10px; }
.pb-ct-tpl__actions .pb-btn { flex: 1 1 auto; }
.pb-ct-tpl__status { margin: -4px 0 0; font-size: .9rem; font-weight: 700; color: var(--teal-700); }
/* empty: out of the grid flow (no dead row) but still in the accessibility tree */
.pb-ct-tpl__status:empty { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pb-ct-tpl__status.is-warn { color: var(--terra-700); }
.pb-ct-tpl [data-ct-tpl-copy].is-done { --btn-bg: var(--teal-700); box-shadow: none; }

/* -------------------------------------------------------- after a message */
.pb-ct-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pb-ct-step {
    position: relative; z-index: 1; display: grid; gap: 10px; align-content: start; padding: 26px 24px;
    border-radius: 24px; background: var(--sand-50); border: 1px solid var(--line);
    transition: translate .45s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pb-ct-step:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: rgba(224, 104, 58, .3); }
.js .pb-contacts .pb-ct-way.reveal, .js .pb-contacts .pb-ct-step.reveal {
    transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms),
                translate .45s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.pb-ct-step__num { position: absolute; right: 20px; top: 16px; font: 700 2.6rem/1 var(--font-display); color: rgba(15, 118, 110, .1); }
.pb-ct-step h3 { margin: 8px 0 0; font-size: 1.15rem; }
.pb-ct-step p { margin: 0; font-size: .96rem; }
.pb-ct-next { justify-content: center; margin-top: clamp(30px, 4vw, 44px); gap: 14px 28px; }

/* ---------------------------------------------------------- legal details */
/* A light, compact section: the terra CTA band and the dark footer follow. */
.pb-ct-legal {
    position: relative; padding: clamp(22px, 3vw, 34px); border-radius: 28px;
    background: var(--sand-0); border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.pb-ct-legal dl { margin: 0; display: grid; }
.pb-ct-legal__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6px 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.pb-ct-legal__row:last-child { border-bottom: 0; padding-bottom: 0; }
.pb-ct-legal__row:first-child { padding-top: 0; }
.pb-ct-legal dt { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.pb-ct-legal dd { margin: 0; color: var(--ink); font-weight: 600; }
.pb-ct-legal__row--key dd { font: 700 clamp(1.4rem, 2.4vw, 1.8rem)/1.1 var(--font-display); letter-spacing: .08em; color: var(--terra-700); font-variant-numeric: tabular-nums; }
.pb-ct-legal__stamp {
    position: absolute; right: -10px; top: -16px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: var(--terra); color: #fff; box-shadow: var(--shadow-glow); transform: rotate(-10deg);
}
.pb-ct-legal__stamp .pb-i { width: 26px; height: 26px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
    .pb-ct-map { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
    .pb-ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pb-ct-card { grid-column: auto; }
    .pb-ct-card--odd { grid-column: 1 / -1; }
    .pb-ct-legal__stamp { right: 12px; }
    /* This page already offers WhatsApp in the hero, the WhatsApp card, the
       message template, the next steps and the closing CTA; with a narrow
       gutter the floating button only covers the right edge of the content. */
    .pb-contacts .pb-fab { display: none; }
}
@media (max-width: 980px) {
    .pb-ct-wa { grid-template-columns: minmax(0, 1fr); }
    .pb-ct-map { grid-template-columns: minmax(0, 1fr); }
    .pb-ct-map .pb-map { min-height: 380px; }
    .pb-ct-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pb-ct-tpl { position: relative; top: 0; }
    .pb-ct-bignum { top: 24px; bottom: auto; right: -12px; font-size: 7rem; }
    .pb-ct-wa::after { display: none; }
    .pb-ct-legal { margin-top: 12px; }
}
@media (max-width: 680px) {
    /* on phones side-slides become the usual rise */
    .js .pb-contacts .reveal[data-reveal="right"]:not(.is-in), .js .pb-contacts .reveal[data-reveal="left"]:not(.is-in) { transform: translate3d(0, 34px, 0); }
    /* A shorter page on phones: less section padding, icons beside titles. */
    .pb-contacts .pb-section:not(.pb-section--tight) { padding-block: 56px; }
    .pb-ct-cards, .pb-ct-steps { grid-template-columns: minmax(0, 1fr); }
    .pb-ct-card--odd { grid-column: auto; }
    .pb-ct-way .pb-icon, .pb-ct-step .pb-icon, .pb-ct-card__top .pb-icon { width: 40px; height: 40px; border-radius: 12px; }
    .pb-ct-way .pb-icon .pb-i, .pb-ct-step .pb-icon .pb-i, .pb-ct-card__top .pb-icon .pb-i { width: 20px; height: 20px; }
    .pb-ct-wa { padding: 24px 20px; }
    .pb-ct-wa__side { padding: 20px 18px; }
    .pb-contacts main .pb-link-arrow { padding-block: 9px; }
    .pb-ct-map .pb-map { min-height: 340px; }
    .pb-ct-map__acts .pb-btn, .pb-ct-map__acts .pb-ct-copy { flex: 1 1 100%; justify-content: center; min-height: 46px; }
    .pb-ct-copy { min-height: 44px; padding-inline: 16px; }
    .pb-ct-ring--a { width: 300px; height: 300px; right: -170px; top: -110px; }
    .pb-ct-scheme { border-radius: 24px; }
    .pb-ct-scheme__path { height: 170px; }
    /* path ends (x = 30 of 120) land on the centre of the metro and pin icons */
    .pb-ct-scheme__svg { width: 90px; left: 15px; }
    .pb-ct-scheme__meta { left: 100px; max-width: calc(100% - 100px); white-space: nowrap; font-size: .8rem; padding: 7px 11px; }
    .pb-ct-scheme__meta .pb-i { display: none; }
    .pb-ct-way { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px; }
    .pb-ct-way h3 { margin-top: 8px; }
    .pb-ct-way:hover { translate: none; }
    .pb-ct-note { flex-direction: column; align-items: flex-start; }
    .pb-ct-tips li { padding-left: 50px; }
    .pb-ct-tpl { border-radius: 24px; }
    .pb-ct-tpl__head .pb-icon { display: none; }
    .pb-ct-tpl .pb-seg button { min-height: 44px; }
    .pb-ct-tpl .pb-seg:not(.pb-ct-tpl__rooms) button { flex: 1 1 auto; }
    .pb-ct-tpl__rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(38px, 1fr)); gap: 5px; }
    .pb-ct-tpl__rooms button { min-width: 0; padding-inline: 0; }
    .pb-ct-tpl__actions .pb-btn { flex: 1 1 100%; white-space: normal; text-align: center; }
    .pb-ct-step { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 20px; }
    .pb-ct-step h3 { margin: 0; padding-right: 36px; }
    .pb-ct-step p { grid-column: 1 / -1; }
    .pb-ct-step__num { font-size: 2rem; top: 14px; }
    .pb-ct-legal__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .pb-ct-legal__stamp { right: 10px; top: -22px; width: 48px; height: 48px; }
    .pb-ct-bignum { display: none; }
}

@media (max-width: 400px) {
    /* «Отправить через WhatsApp» / «WhatsApp ilə göndərin» stay on one line at 360 px */
    .pb-ct-tpl { padding-inline: 18px; }
    .pb-ct-tpl__actions .pb-btn { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .pb-ct-scheme__walk { animation: none; stroke-dasharray: none; }
    .pb-ct-now i::after { animation: none; display: none; }
    .js .reveal .pb-ct-day__open { transform: none; }
}
