/* ==========================================================================
   Kanha Safari Stay — Theme
   Warm cream · antique gold · espresso brown.
   Playfair Display (headings) · DM Sans (body) · Caveat (script accents).
   Shared layer: tokens, base, buttons, header, footer, modal, forms.
   ========================================================================== */

:root {
    --cream: #faf8f2;
    --sand: #f3efe2;
    --paper: #fffdf9;
    --ivory: #fff8ec;
    --line: #e5ddcf;
    --line-strong: #d5c7b5;

    --ink: #1b1410;
    --espresso: #2a1c13;
    --bark: #3b3028;
    --umber: #4a3a2f;
    --heading: #494139;
    --text: #5a4d43;
    --muted: #76695d;

    --gold: #e8bd55;
    --gold-soft: #f3d078;
    --gold-deep: #bc8c3f;
    --gold-dark: #a57131;
    --gold-ink: #8a5a22;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-script: 'Caveat', 'Segoe Script', cursive;

    --ease: cubic-bezier(.2, .7, .2, 1);
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 32px;

    /* One heading scale for every page: page title > section title > panel title > card title */
    --fs-title:   clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem);
    --fs-section: clamp(1.45rem, 1.1rem + 1vw, 1.9rem);
    --fs-panel:   clamp(1.3rem, 1.08rem + .65vw, 1.55rem);
    --fs-card:    clamp(1.12rem, 1.02rem + .4vw, 1.3rem);

    --shadow-sm: 0 8px 30px rgba(42, 31, 23, .10);
    --shadow: 0 18px 55px rgba(35, 27, 22, .12);
    --shadow-lg: 0 34px 90px rgba(27, 20, 16, .24);

    --container: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --section-y: clamp(48px, 5.5vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
}

body.theme {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font: 400 16px/1.7 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Element defaults use :where() so every component class can override them. */
:where(.theme) img { display: block; max-width: 100%; height: auto; }
:where(.theme) a { color: inherit; }
:where(.theme) ul { margin: 0; padding: 0; list-style: none; }
:where(.theme) p { margin: 0 0 1.1em; }
:where(.theme) address { font-style: normal; }
.theme :focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

:where(.theme) :is(h1, h2, h3, h4) {
    margin: 0;
    color: var(--heading);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.012em;
    line-height: 1.15;
    text-wrap: balance;
}

.theme main { overflow-x: clip; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    transition: top .2s;
}
.skip-link:focus { top: 14px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Icons (stroke-based sprite; add .icon--fill for solid glyphs) */
.icon {
    flex: none;
    width: 1.15em; height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* Scroll reveal */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--bark);
    color: #fff8ec;
    font: 600 12.5px/1 var(--font-body);
    letter-spacing: .13em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn .icon--arrow { transition: transform .35s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }

.btn--gold {
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    color: var(--ink);
    box-shadow: 0 10px 28px rgba(232, 189, 85, .34), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--gold:hover { box-shadow: 0 16px 38px rgba(232, 189, 85, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }

.btn--dark { box-shadow: 0 14px 32px rgba(42, 31, 23, .28); }
.btn--dark:hover { background: var(--ink); box-shadow: 0 18px 40px rgba(42, 31, 23, .38); }

.btn--outline {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--heading);
}
.btn--outline:hover { background: var(--bark); border-color: var(--bark); color: #fff8ec; }

.btn--outline-light {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .32);
    color: #fff8ec;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }

.btn--sm { padding: 13px 24px; font-size: 11.5px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    pointer-events: none;
}

.site-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 84px;
    padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
    border-bottom: 1px solid rgba(188, 140, 63, .28);
    background: rgba(250, 248, 242, .94);
    box-shadow: 0 8px 30px rgba(27, 20, 16, .12);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    backdrop-filter: blur(22px) saturate(1.5);
    pointer-events: auto;
    transition: height .4s var(--ease), background .4s, box-shadow .4s;
}
.site-header.is-scrolled .site-header__bar {
    height: 70px;
    background: rgba(250, 248, 242, .98);
    box-shadow: 0 8px 30px rgba(27, 20, 16, .14);
}

.brand { flex: none; display: block; }
.brand img { width: auto; height: 46px; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 40px; }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav__list { display: flex; align-items: center; justify-content: center; gap: 4px; }

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 15px;
    color: var(--umber);
    font: 600 12.5px/1 var(--font-body);
    letter-spacing: .13em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color .25s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 15px; right: 15px; bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-deep);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--gold-ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.icon--chev { width: 12px; height: 12px; stroke-width: 2.4; transition: transform .3s var(--ease); }

.has-children { position: relative; }
.submenu {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    min-width: 320px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 249, .98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.has-children:hover > .submenu,
.has-children:focus-within > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-children:hover .icon--chev { transform: rotate(180deg); }
.submenu a {
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
    color: var(--umber);
    font-size: 14.5px;
    text-decoration: none;
    transition: background .2s, color .2s, padding-left .25s var(--ease);
}
.submenu a:hover { background: var(--sand); color: var(--gold-ink); padding-left: 22px; }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
    display: none;
    position: relative;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--bark);
    cursor: pointer;
}
.nav-toggle span:not(.screen-reader-text) {
    position: absolute;
    left: 14px; right: 14px;
    height: 2px;
    border-radius: 2px;
    background: #fff8ec;
    transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1060px) {
    .site-header__bar,
    .site-header.is-scrolled .site-header__bar {
        height: 68px;
        padding-inline: var(--gutter);
        background: rgba(250, 248, 242, .96);
        /* a backdrop-filter would trap the fixed full-screen menu inside the bar */
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .brand img, .site-header.is-scrolled .brand img { height: 38px; }
    .nav-toggle { display: block; }

    .primary-nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 96px var(--gutter) 40px;
        background:
            radial-gradient(700px 420px at 100% 0%, rgba(232, 189, 85, .16), transparent 70%),
            var(--ink);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
    }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: min(100%, 560px); margin-inline: auto; }
    .primary-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 20px 4px;
        color: #fff8ec;
        font: 500 clamp(1.6rem, 6vw, 2.2rem)/1.1 var(--font-display);
        letter-spacing: 0;
        text-transform: none;
    }
    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.is-active { color: var(--gold); }
    .icon--chev { width: 18px; height: 18px; }
    .has-children.is-submenu-open .icon--chev { transform: rotate(180deg); }
    .submenu {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 0 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .submenu::before { display: none; }
    .has-children.is-submenu-open > .submenu { display: block; }
    .has-children:hover > .submenu, .has-children:focus-within > .submenu { transform: none; }
    .submenu a { padding: 12px 16px; color: rgba(255, 248, 236, .78); font-size: 15.5px; }
    .submenu a:hover { background: transparent; color: var(--gold); padding-left: 22px; }
}

@media (max-width: 420px) {
    .site-header__bar { gap: 12px; }
    .btn--sm { padding: 12px 18px; }
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    padding-top: 0;
    background: var(--ink);
    color: #d9d0c7;
    font-size: 15px;
}

.footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px 40px;
    padding: clamp(30px, 4vw, 52px) clamp(26px, 4vw, 52px);
    border: 1px solid rgba(232, 189, 85, .28);
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(232, 189, 85, .12), rgba(255, 255, 255, .03) 60%);
}
.footer-cta__eyebrow { display: block; margin-bottom: 8px; color: var(--gold); font: 600 1.7rem/1 var(--font-script); }
.footer-cta h2 { max-width: 22ch; color: #fff8ec; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.5rem); }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 1000px) {
    .footer-cta { grid-template-columns: 1fr; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
    gap: clamp(32px, 4vw, 64px);
    padding: clamp(44px, 5vw, 64px) 0 clamp(36px, 4vw, 56px);
}
.footer-about img { width: 220px; height: auto; margin: -14px 0 14px -10px; }
.footer-about p { max-width: 34ch; color: #bfb4a8; }
.footer-grid h2 { margin-bottom: 22px; color: #fff8ec; font-size: 1.25rem; }
.footer-grid h2::after {
    content: "";
    display: block;
    width: 34px; height: 2px;
    margin-top: 12px;
    border-radius: 2px;
    background: var(--gold);
}
.footer-links li + li { margin-top: 11px; }
.footer-links a, .footer-contact a, .footer-legal a {
    color: #d9d0c7;
    text-decoration: none;
    transition: color .25s;
}
.footer-links a:hover, .footer-contact a:hover, .footer-legal a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; }
.footer-contact li + li { margin-top: 18px; }
.footer-contact .icon { margin-top: 4px; color: var(--gold); }

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 32px;
    flex-wrap: wrap;
    padding: 26px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13.5px;
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-legal p { margin: 0; color: #a99d91; }

@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta__actions { width: 100%; }
    .footer-cta__actions .btn { flex: 1 1 100%; }
}

/* ---------- Floating actions ---------- */
.float-actions {
    position: fixed;
    right: clamp(14px, 2.4vw, 28px);
    bottom: clamp(14px, 2.4vw, 28px);
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-actions__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border: 1px solid rgba(188, 140, 63, .5);
    border-radius: 14px;
    background: rgba(255, 250, 240, .94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--bark);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(42, 31, 23, .14);
    transition: transform .3s var(--ease), background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.float-actions__btn .icon { width: 21px; height: 21px; }
.float-actions__btn:hover, .float-actions__btn:focus-visible { transform: translateY(-2px); border-color: var(--gold-deep); box-shadow: 0 12px 26px rgba(42, 31, 23, .18); }
.float-actions__btn--mail:hover { background: var(--bark); color: #fff8ec; }
.float-actions__btn--call { color: var(--gold-deep); }
.float-actions__btn--call:hover { background: var(--gold); color: var(--ink); }
.float-actions__btn--wa { color: #2a8a52; }
.float-actions__btn--wa:hover { background: #2a8a52; border-color: #2a8a52; color: #fff; }
@media (max-width: 600px) {
    .float-actions { gap: 10px; }
    .float-actions__btn { width: 46px; height: 46px; }
}

/* ---------- Modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    place-items: center;
    padding: 20px;
}
.modal.is-open { display: grid; }
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 20, 16, .62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: fade-in .35s var(--ease);
}
.modal__dialog {
    position: relative;
    width: min(520px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--cream);
    box-shadow: var(--shadow-lg);
    animation: modal-in .5s var(--ease);
}
.modal__dialog h2 { margin: 0 40px 20px 0; font-size: var(--fs-panel); }
.modal__close {
    position: absolute;
    top: 16px; right: 16px;
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: transparent;
    color: var(--heading);
    font-size: 18px;
    cursor: pointer;
    transition: background .25s, color .25s, transform .3s var(--ease);
}
.modal__close:hover { background: var(--bark); color: #fff8ec; transform: rotate(90deg); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Enquiry form (markup from form.php) ---------- */
.theme .kss-lead-form { margin: 0; font-family: var(--font-body); }
.theme .hidden-fields-container { display: none; }

.theme .kss-form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.theme .kss-lead-form__field { margin: 0 0 16px; }
.theme .kss-lead-form label {
    display: block;
    margin: 0 0 7px;
    color: var(--umber);
    font: 600 11.5px/1.3 var(--font-body);
    letter-spacing: .11em;
    text-transform: uppercase;
}
.theme .kss-lead-form label > span[aria-hidden] { color: var(--gold-ink); }
.theme .kss-lead-form__optional { float: right; color: var(--muted); font-weight: 500; letter-spacing: .06em; }

.theme .kss-lead-form .wpcf7-form-control-wrap { display: block; }
.theme .kss-lead-form :is(input[type=text], input[type=email], input[type=tel], textarea) {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: 400 15.5px/1.4 var(--font-body);
    box-shadow: none;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.theme .kss-lead-form textarea { min-height: 112px; resize: vertical; }
.theme .kss-lead-form :is(input, textarea)::placeholder { color: #a79b8e; opacity: 1; }
.theme .kss-lead-form :is(input[type=text], input[type=email], input[type=tel], textarea):focus {
    outline: 0;
    border-color: var(--gold-deep);
    box-shadow: 0 0 0 4px rgba(232, 189, 85, .28);
}
.theme .kss-lead-form .wpcf7-not-valid { border-color: #a12f25; }
.theme .kss-lead-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #a12f25; font-size: 13px; }

.theme .kss-captcha-block {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--sand);
}
.theme .kss-lead-form .kss-captcha-label { margin-bottom: 10px; }
.theme .kss-captcha-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.theme .kss-captcha-eq { display: inline-flex; align-items: center; gap: 8px; color: var(--heading); font: 500 1.3rem/1 var(--font-display); }
.theme .kss-captcha-eq strong { color: var(--gold-ink); font-weight: 600; }
.theme .kss-captcha-eq__eq { color: var(--muted); font-size: 1rem; }
.theme .kss-lead-form input.kss-captcha-answer { width: 96px; min-height: 46px; padding: 10px 12px; text-align: center; }
.theme .kss-lead-form input.kss-captcha-answer--error { border-color: #a12f25; box-shadow: 0 0 0 4px rgba(161, 47, 37, .12); }
.theme .kss-captcha-error { display: none; margin: 10px 0 0; color: #a12f25; font-size: 13px; line-height: 1.4; }

.theme .kss-lead-form__action { margin-top: 6px; }
.theme .kss-lead-form input[type=submit] {
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 16px 28px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    color: var(--ink);
    font: 700 12.5px/1 var(--font-body);
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(232, 189, 85, .38), inset 0 1px 0 rgba(255, 255, 255, .5);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.theme .kss-lead-form input[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(232, 189, 85, .5); }
.theme .kss-lead-form__action small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.theme .wpcf7-response-output { display: none; }
.theme .kss-form-banner { font-family: var(--font-body) !important; border-radius: 14px !important; }

@media (max-width: 520px) {
    .theme .kss-form-row-2col { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Touch targets (phones / tablets) ---------- */
@media (max-width: 900px) {
    .footer-links a, .footer-contact a, .footer-legal a { display: inline-block; padding-block: 9px; }
    .footer-links li + li { margin-top: 0; }
    .footer-contact li + li { margin-top: 6px; }
    .footer-legal nav { gap: 0 24px; }
}

/* ==========================================================================
   Header finish: balanced corners and a lighter edge, to match the page components.
   ========================================================================== */
.site-header .btn { border-radius: 9px; }
@media (max-width: 1060px) { .site-header .btn { min-height: 44px; } }
.site-header__bar { box-shadow: 0 6px 22px rgba(27, 20, 16, .07); }
.site-header.is-scrolled .site-header__bar { box-shadow: 0 6px 22px rgba(27, 20, 16, .09); }
@media (min-width: 1061px) {
    .submenu { border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 10px 28px rgba(42, 31, 23, .08); }
    .submenu a { border-radius: 9px; }
}
.nav-toggle { border-radius: 11px; }

/* ============================================================
   Polish: slider dots centred, no decorative offset frames or paw badge on images,
   shorter banners on phones/tablets, full single-card carousels, readable legal text.
   ============================================================ */
.theme .hero__dots { left: 50%; right: auto; transform: translateX(-50%); justify-content: center; }
.theme .badge-paw { display: none; }
.theme .arch::before,
.theme .intro__media::before,
.theme .zones__media::before,
.theme .fauna__media::before,
.theme .book__media::before,
.theme .ct-frame::before,
.theme .fq-frame::before,
.theme .rc-frame::before,
.theme .rp-frame::before { display: none; }

@media (max-width: 900px) {
    .theme .pk-banner, .theme .fq-banner, .theme .ct-banner,
    .theme .lg-banner, .theme .rc-banner, .theme .rp-banner { height: clamp(210px, 34vh, 320px); }
}
@media (max-width: 700px) {
    .theme-home .hero { min-height: min(72svh, 600px); }
}

/* Legal pages: justified text stretches the words on narrow screens (especially lines ending in <br>). */
.theme-legal .lg-prose p, .theme-legal .lg-prose li { text-align: left; }
.theme-legal .lg-prose :is(ul, ol) { padding-left: 1.3em; }
.theme-legal .lg-prose li > ul, .theme-legal .lg-prose li > ol { margin: .5em 0 .2em; }
.theme-legal .lg-prose li > ul { list-style: disc; }
