/********** Afterglow — site styles **********/

/* Set by main.js: ribbon height (mobile body padding) + full header (desktop body padding) */
html {
    --site-header-offset: 0px;
    --promo-ribbon-visible-height: 0px;
    --cookie-banner-visible-height: 0px;
}

/* Floating chrome (hamburger + back-to-top): shared dimensions & shell */
:root {
    --afterglow-radius: 1.125rem;
    --afterglow-radius-sm: 0.75rem;
    --floating-fab-size: 48px;
    --floating-fab-radius: 0.45rem;
    --floating-fab-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
    --floating-fab-shadow-hover: 0 3px 18px rgba(0, 0, 0, 0.15);
    --floating-fab-border: 1px solid rgba(0, 0, 0, 0.07);
    --floating-fab-bg: #fff;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed !important;
    display: none;
    right: max(0.65rem, env(safe-area-inset-right, 0px));
    bottom: calc(max(0.65rem, env(safe-area-inset-bottom, 0px)) + var(--cookie-banner-visible-height, 0px));
    z-index: 99;
    width: var(--floating-fab-size);
    height: var(--floating-fab-size);
    min-width: var(--floating-fab-size);
    padding: 0 !important;
    border-radius: var(--floating-fab-radius) !important;
    background: var(--floating-fab-bg) !important;
    color: var(--bs-primary) !important;
    border: var(--floating-fab-border) !important;
    box-shadow: var(--floating-fab-shadow);
    align-items: center;
    justify-content: center;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: var(--bs-primary) !important;
    background: var(--floating-fab-bg) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: var(--floating-fab-shadow-hover);
}

.back-to-top i {
    font-size: 1.2rem;
    line-height: 1;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Prevent media and long strings from forcing horizontal scroll */
img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

a,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: anywhere;
}

/*** Fonts ***/
.font-work-sans {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* Section headlines — same scale as Cennik */
h1.font-dancing-script.text-primary,
h2.font-dancing-script.text-primary,
.pricing-section-head .font-dancing-script {
    font-size: clamp(2.25rem, 5vw, 3rem);
    line-height: 1.15;
}

@media (max-width: 991.98px) {
    .text-center > h1.font-dancing-script + h1:not(.font-dancing-script),
    .text-center > h1.font-dancing-script + h2,
    .text-center > h2.font-dancing-script + h2:not(.font-dancing-script) {
        font-size: clamp(1.9rem, 6vw, 2.35rem);
        line-height: 1.2;
    }
}

/*** Brand logo ***/

.navbar-brand .navbar-brand-logo {
    display: block;
    max-height: 52px;
    width: auto;
}

/* Nav home: animowany crossfade domek ↔ logo Afterglow */
.navbar-nav-home {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.35rem;
    min-width: 1.35rem;
    height: 2.5rem;
    padding: 0 !important;
    overflow: visible;
    transition: width 0.45s ease, min-width 0.45s ease;
}

.navbar-nav-home-icon,
.navbar-nav-home-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transition:
        opacity 0.42s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.42s ease;
}

.navbar-nav-home-icon {
    display: inline-block;
    font-size: 1.12rem;
    line-height: 1;
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.navbar-nav-home-logo {
    display: block;
    height: 2rem;
    width: auto;
    max-width: 5.75rem;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.86);
    pointer-events: none;
}

.sticky-top.is-hero-logo-hidden .navbar-nav-home {
    width: 5.5rem;
    min-width: 5rem;
}

.sticky-top.is-hero-logo-hidden .navbar-nav-home-icon {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.72);
    pointer-events: none;
}

.sticky-top.is-hero-logo-hidden .navbar-nav-home-logo {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .navbar-nav-home,
    .navbar-nav-home-icon,
    .navbar-nav-home-logo {
        transition-duration: 0.01ms;
    }
}

body.is-viewport-resizing .navbar-nav-home,
body.is-viewport-resizing .navbar-nav-home-icon,
body.is-viewport-resizing .navbar-nav-home-logo {
    transition: none !important;
}

@media (min-width: 1200px) {
    .navbar-nav-home-logo {
        height: 2.15rem;
        max-width: 5.5rem;
    }

    .sticky-top.is-hero-logo-hidden .navbar-nav-home {
        width: 5.5rem;
        min-width: 5rem;
    }
}

@media (max-width: 1199.98px) {
    /* Mobile: tylko logo Afterglow (bez domku), większe, stale w lewym górnym rogu */
    .navbar-nav-home {
        position: fixed;
        z-index: 1060;
        left: max(0.65rem, env(safe-area-inset-left, 0px));
        top: calc(0.65rem + env(safe-area-inset-top, 0px));
        margin: 0 !important;
        width: 5.5rem;
        min-width: 5.5rem;
        height: 2.5rem;
        transition: none;
    }

    .sticky-top:has(.promo-ribbon-wrap:not(.is-closed)) .navbar-nav-home {
        top: max(
            calc(0.45rem + env(safe-area-inset-top, 0px)),
            calc(48px + 0.35rem + env(safe-area-inset-top, 0px))
        );
    }

    .navbar-nav-home-icon {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .navbar-nav-home-logo {
        height: 2.1rem;
        max-width: 5.5rem;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(-50%, -50%) scale(1) !important;
        pointer-events: auto;
    }

    /* Otwarte menu: logo w flow, wyśrodkowane względem pozycji menu */
    .navbar-expand-xl .navbar-collapse.show .navbar-nav-home,
    .navbar-expand-xl .navbar-collapse.mobile-nav-slide-open .navbar-nav-home,
    .navbar-expand-xl .navbar-collapse.mobile-nav-slide-closing .navbar-nav-home {
        position: relative;
        left: auto;
        top: auto;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 2.5rem;
        margin: 0 0 1.35rem !important;
        padding: 0 !important;
    }

    .navbar-expand-xl .navbar-collapse.show .navbar-nav-home-logo,
    .navbar-expand-xl .navbar-collapse.mobile-nav-slide-open .navbar-nav-home-logo,
    .navbar-expand-xl .navbar-collapse.mobile-nav-slide-closing .navbar-nav-home-logo {
        position: static;
        display: block;
        height: 2.1rem;
        width: auto;
        max-width: min(5.75rem, 56vw);
        margin: 0 auto;
        transform: none !important;
        object-position: center center;
    }

    .navbar-expand-xl .navbar-collapse.show .navbar-nav,
    .navbar-expand-xl .navbar-collapse.mobile-nav-slide-open .navbar-nav,
    .navbar-expand-xl .navbar-collapse.mobile-nav-slide-closing .navbar-nav {
        width: 100%;
        align-items: center;
    }
}

.footer .navbar-brand .footer-brand-logo {
    max-height: 48px;
}

.hero-header-intro {
    position: relative;
}

.hero-brand-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 0.35rem;
    margin-left: 0;
    margin-right: auto;
}

.hero-brand-logo {
    display: block;
    max-height: 120px;
    width: auto;
    max-width: 100%;
}

.hero-title--tight {
    margin-top: 0.1rem;
}

@keyframes opening-status-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.92);
    }
}

.opening-status-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(143, 110, 86, 0.22);
    background: #f3f0eb;
    font-family: "Work Sans", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #5c534c;
    line-height: 1.3;
}

.hero-opening-status {
    margin: -5px 0 0;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.hero-brand-block .opening-status-btn {
    padding: 0.2rem 0.45rem;
    gap: 0.28rem;
    border-radius: 1rem;
    font-size: calc(0.62rem + 1px);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(44, 38, 32, 0.12);
}

.hero-brand-block .opening-status-btn__indicator {
    width: 0.35rem;
    height: 0.35rem;
}

.hero-brand-block .opening-status-btn.is-open .opening-status-btn__indicator {
    box-shadow: 0 0 0 2px rgba(61, 154, 95, 0.2);
}

.hero-brand-block .opening-status-btn.is-open {
    white-space: nowrap;
}

.hero-brand-block .opening-status-btn.is-closed {
    max-width: 100%;
    white-space: normal;
    text-align: left;
}

.opening-status-btn__indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #a9a39c;
    flex-shrink: 0;
}

.opening-status-btn.is-open {
    border-color: rgba(72, 140, 98, 0.35);
    background: linear-gradient(155deg, #eef8f1 0%, #e2f0e6 100%);
    color: #2a6b42;
}

.opening-status-btn.is-open .opening-status-btn__indicator {
    background: #3d9a5f;
    box-shadow: 0 0 0 3px rgba(61, 154, 95, 0.2);
    animation: opening-status-pulse 2.2s ease-in-out infinite;
}

.opening-status-btn.is-closed .opening-status-btn__indicator {
    background: #c4b8a8;
}

@media (prefers-reduced-motion: reduce) {
    .opening-status-btn.is-open .opening-status-btn__indicator {
        animation: none;
    }
}

.about-feature-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.about-main-photo-wrap {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991.98px) {
    #o-mnie .about-layout,
    #about .about-layout {
        display: flex;
        flex-direction: column;
    }

    #o-mnie .about-heading,
    #about .about-heading {
        order: 1;
        margin-bottom: 0 !important;
    }

    #o-mnie .about-main-row,
    #about .about-main-row {
        order: 2;
    }

    #o-mnie .about-intro,
    #about .about-intro {
        order: 3;
        margin-top: 1.5rem !important;
    }
}

@media (min-width: 992px) {
    #o-mnie .about-layout,
    #about .about-layout {
        display: flex;
        flex-direction: column;
    }

    #o-mnie .about-heading,
    #about .about-heading {
        order: 1;
    }

    #o-mnie .about-intro,
    #about .about-intro {
        order: 2;
        margin-top: 0 !important;
    }

    #o-mnie .about-main-row,
    #about .about-main-row {
        order: 3;
    }
}

#o-mnie .about-main-photo,
#about .about-main-photo {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    vertical-align: top;
}

/* lg+: max-height from main.js (matches feature tiles); width/height scale together */
@media (min-width: 992px) {
    #o-mnie .about-main-photo,
#about .about-main-photo {
        max-height: var(--about-photo-max, min(70vh, 540px));
        width: auto;
        max-width: 100%;
    }
}

.about-feature-card {
    border-radius: var(--afterglow-radius);
}

.about-feature-heading {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 0.9rem !important;
}

.about-feature-note {
    font-family: "Work Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #5f5a53;
}

.about-feature-card .about-feature-icon.wow,
.visit-steps .service-item.visit-step img.wow {
    transform-origin: center center;
}

.about-feature-card .about-feature-icon.animated,
.visit-steps .service-item.visit-step img.animated {
    animation-duration: 0.65s;
}

/*** Button ***/
.btn {
    position: relative;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

/* Footer — kolorowe logo Facebook / Instagram */
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.footer-social-icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 8px;
}

.btn-primary {
    margin: 0;
}

/* Decorative button pseudo-elements — disabled */
.btn-primary::before,
.btn-primary::after {
    display: none;
}

/*** Navbar ***/
/* Fixed header (all breakpoints): sticky breaks when body has overflow-x: hidden */
.sticky-top {
    top: 0 !important;
    position: fixed !important;
    left: 0;
    right: 0;
    z-index: 1040;
    max-width: 100%;
    transition: box-shadow 0.35s ease;
}

body {
    padding-top: 0;
    padding-bottom: var(--cookie-banner-visible-height, 0px);
}

@media (max-width: 1199.98px) {
    body {
        /* Sync with CSS instantly on breakpoint — do not wait for --site-header-offset */
        padding-top: var(--promo-ribbon-visible-height, 0px);
    }
}

@media (min-width: 1200px) {
    body {
        padding-top: var(--site-header-offset, 52px);
    }
}

@media (min-width: 1200px) {

    .sticky-top .navbar,
    .sticky-top .navbar-collapse {
        background-color: #ffffff;
    }
}

.navbar .navbar-nav .nav-link {
    margin: 0 18px;
    padding: 0;
    outline: none;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bs-dark);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item {
    font-family: "Work Sans", sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--bs-dark);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
    background-color: transparent;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-primary);
    background: transparent;
    background-color: transparent;
}

@media (max-width: 1199.98px) {
    .navbar .navbar-nav .nav-link {
        margin: 0;
        padding: 10px 0;
        width: 100%;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
    }

    .navbar .dropdown-menu,
    .navbar .dropdown-menu.show {
        border: none !important;
        box-shadow: none !important;
        outline: none;
        background: transparent !important;
        background-color: transparent !important;
        margin-top: 0 !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
        inset: auto !important;
    }

    .navbar .nav-item.dropdown.show .dropdown-menu,
    .navbar .nav-item.dropdown .dropdown-menu.show {
        margin-top: 0 !important;
    }

    .navbar .dropdown-menu .dropdown-item {
        font-size: 0.88rem;
        font-weight: 400;
        text-align: center;
        padding: 8px 0;
        background-color: transparent !important;
    }

    .navbar .dropdown-menu .dropdown-item:first-child {
        padding-top: 0.15rem;
    }

    .navbar .dropdown-menu .dropdown-item:hover,
    .navbar .dropdown-menu .dropdown-item:focus,
    .navbar .dropdown-menu .dropdown-item.active {
        color: var(--bs-primary) !important;
        background: transparent !important;
        background-color: transparent !important;
    }

    .navbar .dropdown-toggle.show,
    .navbar .dropdown-toggle[aria-expanded="true"] {
        color: var(--bs-primary);
    }

    .navbar .nav-item.dropdown {
        width: 100%;
        text-align: center;
    }

    .navbar .nav-item.dropdown .dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        width: auto;
        max-width: 100%;
        white-space: nowrap;
    }

    .navbar .dropdown-toggle::after {
        margin-left: 0;
        position: static;
        transform: none;
    }
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn-primary {
    border: none;
    background: var(--bs-light);
}

.navbar .btn-primary:hover {
    background: var(--bs-primary);
}

.navbar .navbar-collapse {
    width: 100%;
}

.navbar .navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    .navbar-expand-xl .navbar-collapse {
        align-items: center;
    }

    .navbar .navbar-nav {
        align-items: center;
        flex-wrap: nowrap;
    }

    .navbar .navbar-nav > .nav-item,
    .navbar .navbar-nav > a.nav-link {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .navbar .navbar-nav .nav-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.5rem;
        line-height: 1.15;
        white-space: nowrap;
        margin: 0 clamp(0.45rem, 0.2rem + 0.75vw, 1.125rem);
        font-size: clamp(0.9375rem, 0.82rem + 0.35vw, 1.125rem);
        letter-spacing: clamp(0.04em, 0.02em + 0.06vw, 0.0625em);
    }
}

/* Collapsed nav (below xl): floating hamburger, no empty toolbar strip; menu = full-viewport overlay */
@media (max-width: 1199.98px) {

    .sticky-top.bg-light {
        background-color: transparent !important;
    }

    .sticky-top > nav.navbar {
        position: relative;
        z-index: 1040;
        height: 0;
        min-height: 0;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible;
    }

    .sticky-top .navbar .navbar-toggler {
        position: fixed;
        z-index: 1060;
        top: calc(0.65rem + env(safe-area-inset-top, 0px));
        right: max(0.65rem, env(safe-area-inset-right, 0px));
        margin: 0 !important;
        width: var(--floating-fab-size);
        height: var(--floating-fab-size);
        min-width: var(--floating-fab-size);
        padding: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--floating-fab-radius) !important;
        background: var(--floating-fab-bg) !important;
        box-shadow: var(--floating-fab-shadow);
        border: var(--floating-fab-border) !important;
    }

    .sticky-top .navbar .navbar-toggler:hover,
    .sticky-top .navbar .navbar-toggler:focus-visible {
        box-shadow: var(--floating-fab-shadow-hover);
        border-color: rgba(0, 0, 0, 0.1) !important;
    }

    /* Sit below promo ribbon while it is visible */
    .sticky-top:has(.promo-ribbon-wrap:not(.is-closed)) .navbar .navbar-toggler {
        top: max(
            calc(0.45rem + env(safe-area-inset-top, 0px)),
            calc(48px + 0.35rem + env(safe-area-inset-top, 0px))
        );
    }

    /* Mobile menu: cały panel (z logo i linkami) jedzie w górę — transform zamiast height */
    .navbar-expand-xl .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        display: block !important;
        height: auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        padding-bottom: 2rem !important;
        padding-top: 1rem !important;
        overflow: hidden !important;
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transform: translate3d(0, -100%, 0);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.45s, top 0.3s ease;
    }

    .navbar-expand-xl .navbar-collapse.show {
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s, top 0.3s ease;
    }

    .navbar-expand-xl .navbar-collapse.mobile-nav-slide-open {
        transform: translate3d(0, 0, 0);
        max-height: min(100vh, 100dvh) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-expand-xl .navbar-collapse.mobile-nav-slide-closing {
        transform: translate3d(0, -100%, 0);
        overflow: hidden !important;
        pointer-events: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navbar-expand-xl .navbar-collapse.collapsing {
        height: auto !important;
        transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.45s, top 0.3s ease !important;
    }

    @media (prefers-reduced-motion: reduce) {
        .navbar-expand-xl .navbar-collapse {
            transition-duration: 0.01ms;
        }
    }

    /* Wstążka nad overlayem menu; panel menu zaczyna się pod ribbonem */
    .promo-ribbon-wrap:not(.is-closed) {
        position: relative;
        z-index: 1065;
    }

    .sticky-top:has(.promo-ribbon-wrap:not(.is-closed)) .navbar-expand-xl .navbar-collapse.show,
    .sticky-top:has(.promo-ribbon-wrap:not(.is-closed)) .navbar-expand-xl .navbar-collapse.mobile-nav-slide-open,
    .sticky-top:has(.promo-ribbon-wrap:not(.is-closed)) .navbar-expand-xl .navbar-collapse.mobile-nav-slide-closing {
        top: var(--promo-ribbon-visible-height, 48px);
        max-height: calc(100dvh - var(--promo-ribbon-visible-height, 48px));
        max-height: calc(100vh - var(--promo-ribbon-visible-height, 48px));
        padding-top: 0.85rem !important;
    }
}

.promo-ribbon-wrap {
    position: relative;
    text-align: center;
}

.promo-ribbon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    background: #b85a5a;
    color: #ffffff;
    font-family: "Work Sans", sans-serif;
    font-size: calc(0.95rem - 2px);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.promo-ribbon-link:hover,
.promo-ribbon-link:focus-visible {
    background: #9f4b4b;
    color: #ffffff;
}

.promo-ribbon-close {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.promo-ribbon-close:hover,
.promo-ribbon-close:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: none;
    outline: none;
}

.promo-ribbon-wrap.is-closed {
    display: none;
}

/* Long promo copy: avoid fixed 48px clipping on small phones */
@media (max-width: 767.98px) {
    .promo-ribbon-link {
        height: auto;
        min-height: 44px;
        padding: 0.4rem 2.35rem 0.4rem 0.4rem;
        font-size: 0.58rem;
        letter-spacing: 0.04em;
        line-height: 1.25;
    }
}

/*** Hero Header ***/
.hero-header {
    background: none;
    position: relative;
    overflow: hidden;
}

.hero-header .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.hero-header .hero-header-text {
    padding: 50px !important;
    background-color: #faf8f6;
}

.hero-header .hero-header-intro {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hero-title {
    font-size: clamp(2.35rem, 4.6vw, 4.05rem);
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    font-weight: 500;
    line-height: 1.35;
    margin-top: 0;
}

/* Location line: darker bronze — primary gold (#BF9456) fades on cream/photo */
.hero-header .hero-subtitle,
.hero-title .hero-subtitle {
    margin-top: 0.35rem;
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    color: #5f4828;
}

.hero-title .hero-subtitle {
    display: block;
}

@media (max-width: 991.98px) {
    .hero-header .hero-subtitle {
        color: #4a3820;
        text-shadow:
            0 0 10px rgba(255, 253, 251, 0.92),
            0 0 18px rgba(255, 253, 251, 0.75),
            0 1px 1px rgba(255, 253, 251, 0.85);
    }
}

.hero-rating-badges {
    margin-right: 20px;
}

.hero-rating-badges--overlay {
    position: absolute;
    top: auto;
    bottom: 1rem;
    left: 1rem;
    right: auto;
    z-index: 3;
    margin-right: 0;
}

.hero-carousel-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-carousel-wrap .header-carousel.owl-carousel,
.hero-carousel-wrap .header-carousel.owl-carousel .owl-stage-outer,
.hero-carousel-wrap .header-carousel .owl-stage,
.hero-carousel-wrap .header-carousel .owl-item {
    height: 100%;
}

.hero-carousel-wrap .header-carousel .owl-item {
    overflow: hidden;
}

.hero-carousel-wrap .header-carousel .owl-item img.img-fluid {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hero carousel: fixed frame — crop edges so every slide matches */
@media (min-width: 992px) {
    .hero-header .container {
        max-width: 100% !important;
    }

    .hero-header .row {
        align-items: stretch !important;
    }

    .hero-header .hero-carousel-col {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-carousel-wrap {
        flex: 1 1 auto;
        height: 100%;
        width: 100%;
        max-width: 1000px;
        min-height: clamp(420px, 52vw, 720px);
    }

    .hero-carousel-wrap .header-carousel.owl-carousel .owl-stage-outer {
        aspect-ratio: unset;
        min-height: inherit;
        height: 100%;
        overflow: hidden;
    }
}

.hero-rating-badge {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    line-height: 1.2;
    user-select: none;
}

.hero-rating-badge-label {
    font-family: "Work Sans", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #3c3c3c;
}

.hero-rating-badge-score {
    font-family: "Work Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
}

.hero-rating-badge-stars {
    color: #f9ab00;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

/* Mobile: hint that the page continues below the hero (stacked / short viewport) */
.hero-scroll-hint {
    display: none;
}

@media (max-width: 991.98px) {
    /* Room so the last hero content (e.g. widget) is not covered by the fixed pill */
    .hero-header .hero-header-text {
        padding-top: max(2.75rem, env(safe-area-inset-top, 0px)) !important;
        padding-right: max(1.15rem, env(safe-area-inset-right, 0px)) !important;
        padding-left: max(1.15rem, env(safe-area-inset-left, 0px)) !important;
        padding-bottom: calc(2rem + 2.75rem + var(--cookie-banner-visible-height, 0px)) !important;
        background-color: transparent;
    }

    /* Pinned to the viewport — flow placement sat below tall hero / Booksy, off-screen */
    .hero-scroll-hint {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(max(0.45rem, env(safe-area-inset-bottom, 0px)) + var(--cookie-banner-visible-height, 0px));
        z-index: 1025;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        width: max-content;
        max-width: calc(100vw - 2rem);
        margin: 0 auto;
        padding: 0.45rem 0.85rem 0.45rem 0.95rem;
        text-decoration: none;
        color: #6e5a62;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        background: linear-gradient(180deg, rgba(255, 253, 251, 0.97), rgba(250, 247, 244, 0.92));
        border-radius: 999px;
        box-shadow: 0 6px 28px rgba(45, 35, 40, 0.12);
        border: 1px solid rgba(196, 133, 156, 0.22);
    }

    .hero-scroll-hint-label {
        font-family: "Work Sans", sans-serif;
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        line-height: 1.2;
        color: #8a7078;
        white-space: nowrap;
    }

    .hero-scroll-hint-chevron {
        font-size: 1.65rem;
        line-height: 1;
        color: #c4859c;
        animation: hero-scroll-hint-nudge 0.9s ease-in-out infinite;
    }

    .hero-scroll-hint:hover .hero-scroll-hint-chevron,
    .hero-scroll-hint:focus-visible .hero-scroll-hint-chevron {
        color: #b06d88;
    }

    .hero-scroll-hint:focus-visible {
        outline: 2px solid rgba(196, 133, 156, 0.55);
        outline-offset: 4px;
        border-radius: 4px;
    }

    .hero-scroll-hint.is-dismissed {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes hero-scroll-hint-nudge {
    0%,
    100% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(7px);
    }

    50% {
        transform: translateY(7px);
    }
}

@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
    .hero-scroll-hint-chevron {
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .hero-header .header-carousel {
        display: none;
    }

    .hero-header .hero-carousel-col {
        position: absolute;
        top: auto;
        bottom: calc(1rem + var(--cookie-banner-visible-height, 0px));
        left: 0.75rem;
        width: auto;
        max-width: calc(100% - 1.5rem);
        z-index: 2;
        padding: 0;
    }

    .hero-rating-badges--overlay {
        position: static;
    }

    .hero-header .hero-header-text {
        position: relative;
        overflow: hidden;
        min-height: min(calc(88dvh - var(--cookie-banner-visible-height, 0px)), calc(920px - var(--cookie-banner-visible-height, 0px)));
        min-height: min(calc(88vh - var(--cookie-banner-visible-height, 0px)), calc(920px - var(--cookie-banner-visible-height, 0px)));
        isolation: isolate;
    }

    .hero-header .hero-header-text::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw;
        max-width: none;
        transform: translateX(-50%);
        background-image:
            linear-gradient(
                105deg,
                rgba(255, 253, 251, 0.94) 0%,
                rgba(255, 253, 251, 0.82) 38%,
                rgba(255, 253, 251, 0.45) 62%,
                rgba(255, 253, 251, 0.2) 100%
            ),
            url("../img/studio-opalania-natryskowego.jpg");
        background-size: cover;
        background-position: 58% center;
        background-repeat: no-repeat;
    }

    .hero-header .hero-header-text > div {
        position: relative;
        z-index: 1;
    }
}

@media (min-width: 992px) {
    .hero-header .hero-header-text {
        padding-left: max(50px, calc(((100% - 960px) / 2) + 50px)) !important;
        padding-right: 50px !important;
    }
}

@media (min-width: 1200px) {
    .hero-header .hero-header-text {
        padding-left: max(50px, calc(((100% - 1140px) / 2) + 50px)) !important;
        padding-right: 50px !important;
    }
}

@media (min-width: 1400px) {
    .hero-header .hero-header-text {
        padding-left: max(50px, calc(((100% - 1320px) / 2) + 50px)) !important;
        padding-right: 50px !important;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next{
    position: relative;
    margin-left: 2px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark);
    background: var(--bs-primary);
    font-size: 22px;
    border-radius: 8px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
}

/*** Service ***/
@media (max-width: 768px) {
    .service .service-item {
        border: none !important;
        box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    }
}

.service .service-item .btn-primary {
    border: none;
    background: var(--bs-white);
}

.service .service-item .btn-primary:hover {
    background: var(--bs-primary);
}

.service .service-item img {
    width: 70px;
    margin-bottom: 20px;
}

/* Visit steps — light cards */
/* Jak przebiega — ten sam ton co Efekty, bez gradientu */
.visit-steps-section,
#warto-wiedziec,
#knowledge {
    background: #f5f1eb;
}

.visit-steps-section .visit-steps-head {
    margin-bottom: 1.5rem !important;
}

.visit-steps-section .visit-steps-counter-wrap {
    margin-bottom: 1rem;
}

.visit-steps-section .tile-carousel-mobile-wrap--visit {
    margin-top: 0;
}

@media (min-width: 768px) {
    .visit-steps-section .visit-steps-head {
        margin-bottom: 2.5rem !important;
    }

    .visit-steps-section .visit-steps-counter-wrap {
        margin-bottom: 0;
    }
}

.visit-steps .service-item.visit-step {
    position: relative;
    text-align: left;
    overflow: hidden;
    border: 1px solid rgba(191, 148, 86, 0.22);
    border-radius: var(--afterglow-radius);
    background: #fff;
    box-shadow: 0 4px 18px rgba(55, 48, 40, 0.06);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.visit-steps .service-item.visit-step:hover {
    transform: translateY(-2px);
    border-color: rgba(191, 148, 86, 0.45);
    box-shadow: 0 10px 26px rgba(55, 48, 40, 0.12);
}

.visit-steps .service-item.visit-step img {
    width: 62px;
    margin-bottom: 14px;
}

.visit-steps .service-item.visit-step h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 0.9rem;
    color: var(--bs-dark);
}

.visit-steps .service-item.visit-step p {
    font-size: 1rem;
    line-height: 1.7;
    color: #3d3a36;
}

.visit-steps .service-item.visit-step p a {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--bs-primary) 45%, transparent);
    text-underline-offset: 0.15em;
}

.visit-steps .service-item.visit-step p a:hover,
.visit-steps .service-item.visit-step p a:focus-visible {
    color: var(--bs-dark);
    text-decoration-color: var(--bs-primary);
}

@media (max-width: 767.98px) {
    .visit-steps .service-item.visit-step {
        padding: 1.2rem !important;
    }

    .visit-steps .service-item.visit-step h3 {
        font-size: 1.15rem;
    }

    .visit-steps .service-item.visit-step p {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .blog-article-actions .btn {
        display: block;
        width: 100%;
        margin-right: 0 !important;
    }

    .blog-article-actions .btn + .btn {
        margin-top: 0.6rem;
    }
}

/*** Facts & Myths + matching bands (Efekty, Blog) ***/
.facts-myths {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(191, 148, 86, 0.12), transparent 55%),
        linear-gradient(180deg, #fdfcfa 0%, #f5f1eb 100%);
}

.faq-source-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    font-family: "Work Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.faq-source-label::before {
    content: "";
    width: 1.4rem;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

/* „Spread” magazynu: mity w lewej kolumnie, fakty w prawej (desktop / tablet) */

.effects-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(191, 148, 86, 0.12), transparent 55%),
        linear-gradient(180deg, #fdfcfa 0%, #f5f1eb 100%);
}

.facts-myths-source {
    max-width: 52rem;
    font-family: "Work Sans", sans-serif;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #716b65;
    text-align: left;
}

.facts-myths-source cite {
    font-style: normal;
}

.facts-myths-source-journal {
    font-style: italic;
}

.facts-myths-fn-marker {
    margin-right: 0.12em;
    font-weight: 600;
    color: var(--bs-primary);
}

.fm-fn-ref {
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: none;
}

.fm-fn-ref:hover,
.fm-fn-ref:focus-visible {
    text-decoration: underline;
}

/* FAQ accordion panels */
#najczestsze-pytania #faqAccordion .accordion-item,
#faq #faqAccordion .accordion-item {
    border-radius: var(--afterglow-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(55, 48, 40, 0.06);
}

#najczestsze-pytania #faqAccordion .accordion-button,
#faq #faqAccordion .accordion-button {
    border-radius: 0;
}

#najczestsze-pytania #faqAccordion .accordion-button.collapsed,
#faq #faqAccordion .accordion-button.collapsed {
    border-radius: var(--afterglow-radius);
}

#najczestsze-pytania #faqAccordion .accordion-body,
#faq #faqAccordion .accordion-body {
    border-bottom-left-radius: var(--afterglow-radius);
    border-bottom-right-radius: var(--afterglow-radius);
}

/* Jak się przygotować — dwukolumnowy panel */
#jak-sie-przygotowac .prep-section-head,
#how-to-prepare .prep-section-head {
    margin-bottom: 1.25rem;
}

#jak-sie-przygotowac .prep-section-head .prep-guide-lead,
#how-to-prepare .prep-section-head .prep-guide-lead {
    margin-top: 0.65rem;
}

.prep-section-block .prep-panel {
    margin-top: 0;
}

.prep-guide-lead {
    font-family: "Work Sans", sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
}

.prep-panel {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid rgba(191, 148, 86, 0.22);
    border-radius: var(--afterglow-radius);
    box-shadow: 0 4px 18px rgba(55, 48, 40, 0.06);
    overflow: hidden;
}

.prep-panel-col {
    padding: 1.35rem 1.5rem 1.5rem;
}

#prep-phase-before {
    position: relative;
    isolation: isolate;
}

#prep-phase-before::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(
            118deg,
            rgba(255, 253, 251, 0.98) 0%,
            rgba(255, 253, 251, 0.93) 38%,
            rgba(255, 253, 251, 0.82) 68%,
            rgba(255, 253, 251, 0.62) 100%
        ),
        url("../img/peeling.jpg");
    background-size: cover;
    background-position: 72% center;
    background-repeat: no-repeat;
    pointer-events: none;
}

#prep-phase-before > * {
    position: relative;
    z-index: 1;
}

#prep-phase-day {
    position: relative;
    isolation: isolate;
}

#prep-phase-day::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(
            118deg,
            rgba(255, 253, 251, 0.98) 0%,
            rgba(255, 253, 251, 0.93) 38%,
            rgba(255, 253, 251, 0.82) 68%,
            rgba(255, 253, 251, 0.62) 100%
        ),
        url("../img/shower.jpg");
    background-size: cover;
    background-position: 68% center;
    background-repeat: no-repeat;
    pointer-events: none;
}

#prep-phase-day > * {
    position: relative;
    z-index: 1;
}

.prep-panel-col + .prep-panel-col {
    border-top: 1px solid rgba(191, 148, 86, 0.18);
}

.prep-panel-head {
    margin-bottom: 1.15rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(191, 148, 86, 0.18);
}

.prep-panel-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--bs-dark);
}

.prep-checklist {
    font-family: "Work Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #3d3a36;
}

.prep-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.prep-checklist li + li {
    margin-top: 0.85rem;
}

.prep-checklist .fa-check {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

@media (min-width: 768px) {
    .prep-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 56rem;
        margin-left: auto;
        margin-right: auto;
    }

    .prep-panel-col + .prep-panel-col {
        border-top: 0;
        border-left: 1px solid rgba(191, 148, 86, 0.18);
    }
}

/*** Testimonial ***/
.testimonial-carousel .fa-star {
    margin: 0 0.12em;
}

.testimonial-carousel .owl-item {
    position: relative;
    border-radius: var(--afterglow-radius);
    overflow: hidden;
}

.testimonial-carousel .owl-item .bg-light {
    border-radius: var(--afterglow-radius);
}

.testimonial-carousel .owl-item::before {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .1;
}

.testimonial-carousel .owl-item img {
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 1;
}

.testimonial-carousel .owl-item,
.testimonial-carousel .owl-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item span {
    letter-spacing: 2px;
}

.testimonial-source-meta {
    margin-top: 0.15rem;
}

.testimonial-translation-note {
    display: block;
    font-size: 0.68rem;
    line-height: 1.35;
    color: rgba(108, 117, 125, 0.72);
    letter-spacing: 0.06em;
    font-style: italic;
    margin-top: 0.2rem;
}

.testimonial-carousel .owl-item.center .bg-light .testimonial-translation-note {
    color: rgba(55, 48, 40, 0.52) !important;
}

.testimonial-carousel .owl-item.center .bg-light {
    background: #ede4d6 !important;
    border: 1px solid rgba(191, 148, 86, 0.28);
    box-shadow: 0 10px 32px rgba(55, 48, 40, 0.14);
}

.testimonial-carousel .owl-item.center .bg-light .fa-quote-left,
.testimonial-carousel .owl-item.center .bg-light h4,
.testimonial-carousel .owl-item.center .bg-light p:not(.text-warning),
.testimonial-carousel .owl-item.center .bg-light .text-muted,
.testimonial-carousel .owl-item.center .bg-light .fa-google {
    color: var(--bs-dark) !important;
}

.hero-rating-badge-logo {
    display: block;
    object-fit: contain;
}

/* Match visual size of .fa-google.fa-lg (glyph cap height, not full em box) */
.testimonial-carousel .owl-item img.testimonial-source-logo {
    display: block;
    width: auto;
    height: 1.333em;
    margin: 0 auto;
    object-fit: contain;
    vertical-align: middle;
}

.whatsapp-icon-img {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: -0.15em;
}

.btn-square .whatsapp-icon-img {
    width: 1.15rem;
    height: 1.15rem;
    vertical-align: middle;
}

.testimonial-carousel .owl-item.center .bg-light .text-warning,
.testimonial-carousel .owl-item.center .bg-light .text-warning i {
    color: var(--bs-warning) !important;
}

/* Arrows: overlap side cards by --testimonial-nav-overlap (nav on stage edge) */
.testimonial-carousel {
    position: relative;
    overflow: visible;
    --testimonial-nav-btn-size: 45px;
    --testimonial-nav-overlap: 8px;
}

#opinie .container,
#reviews .container {
    overflow: visible;
}

/* Visit + Facts (mobile Owl): controls without side gutters */
.visit-steps-carousel:not(.tile-carousel-grid) {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: var(--testimonial-nav-btn-size);
    margin-top: calc(var(--testimonial-nav-btn-size) / -2) !important;
    transform: none;
    display: block;
    z-index: 5;
    pointer-events: none;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0;
    width: var(--testimonial-nav-btn-size);
    height: var(--testimonial-nav-btn-size);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
    border-radius: var(--afterglow-radius);
    transition: .5s;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0;
    transform: none;
    margin: 0;
}

.testimonial-carousel .owl-nav .owl-prev {
    left: calc(var(--testimonial-nav-overlap) - var(--testimonial-nav-btn-size)) !important;
}

.testimonial-carousel .owl-nav .owl-next {
    right: calc(var(--testimonial-nav-overlap) - var(--testimonial-nav-btn-size)) !important;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.visit-steps-carousel .owl-item {
    display: flex;
    align-items: flex-start;
}

.visit-steps-carousel .owl-item .visit-step {
    width: 100%;
}

/* Single-slide Owl on phone: keep card width readable */
@media (max-width: 767.98px) {
    .visit-steps-carousel:not(.tile-carousel-grid) {
        max-width: 32rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Desktop / tablet: jeden wspólny kafel ze wszystkimi krokami (no Owl) */
@media (min-width: 768px) {
    .visit-steps-timeline.tile-carousel-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: min(44rem, 100%);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        overflow: hidden;
        background: #fff;
        border: 1px solid rgba(191, 148, 86, 0.22);
        border-radius: var(--afterglow-radius);
        box-shadow: 0 4px 18px rgba(55, 48, 40, 0.06);
    }

    .visit-steps-timeline.tile-carousel-grid .visit-step {
        display: grid;
        grid-template-columns: 3.75rem minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 1.1rem;
        row-gap: 0.2rem;
        align-items: start;
        padding: 1.2rem 1.35rem 1.25rem 1.15rem !important;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .visit-steps-timeline.tile-carousel-grid .visit-step + .visit-step {
        border-top: 1px solid rgba(191, 148, 86, 0.18);
    }

    .visit-steps-timeline.tile-carousel-grid .visit-step:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
        background: rgba(191, 148, 86, 0.06);
    }

    .visit-steps-timeline.tile-carousel-grid .visit-step img {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 3.75rem;
        height: auto;
        margin-bottom: 0;
        align-self: start;
        justify-self: center;
    }

    .visit-steps-timeline.tile-carousel-grid .visit-step h3 {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0.45rem;
    }

    .visit-steps-timeline.tile-carousel-grid .visit-step p {
        grid-column: 2;
        grid-row: 2;
    }

    #na-czym-to-polega .visit-steps-counter-wrap,
    #how-it-works .visit-steps-counter-wrap {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .visit-steps-timeline.tile-carousel-grid {
        max-width: min(48rem, 100%);
    }

    .visit-steps-timeline.tile-carousel-grid .visit-step {
        grid-template-columns: 4.25rem minmax(0, 1fr);
        column-gap: 1.35rem;
        padding: 1.35rem 1.5rem 1.4rem 1.25rem !important;
    }

    .visit-steps-timeline.tile-carousel-grid .visit-step img {
        width: 4.25rem;
    }
}

/* Visit steps (mobile): controls above slide; Facts: dots below (Owl DOM order) */
.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded {
    display: flex;
    flex-direction: column;
}

.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-dots {
    order: -1;
    margin-top: 0;
    margin-bottom: 1.35rem;
    padding-left: 2.25rem;
    padding-right: 2.25rem;
}

/* Wspólny styl kropek (owl.theme nie jest w projekcie) */
.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-dots {
    padding: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    position: relative;
    z-index: 3;
}

.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-dots.disabled {
    display: flex !important;
}

/* Jak przebiega — kropki „pigułka” (wydłużona aktywna) */
.visit-steps-carousel:not(.tile-carousel-grid) .owl-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.visit-steps-carousel:not(.tile-carousel-grid) .owl-dot span {
    display: block;
    margin: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(90, 78, 72, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
    transition: width 0.22s ease, background-color 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
    opacity: 1;
}

.visit-steps-carousel:not(.tile-carousel-grid) .owl-dot.active span {
    width: 1.45rem;
    background: linear-gradient(90deg, var(--bs-primary), #cfad79);
    box-shadow: 0 1px 4px rgba(196, 133, 156, 0.35);
}

.visit-steps-carousel:not(.tile-carousel-grid) .owl-dot:focus-visible {
    outline: 2px solid rgba(201, 168, 174, 0.55);
    outline-offset: 3px;
    border-radius: 999px;
}

.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav {
    order: -1;
    position: absolute;
    top: -5px;
    left: 50%;
    z-index: 4;
    width: min(15rem, 100%);
    height: 2.15rem;
    margin: 0;
    transform: translateX(-50%);
    pointer-events: none;
}

.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-prev,
.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    width: 2.15rem;
    height: 2.15rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(90, 70, 64, 0.48);
    border-radius: 0.45rem;
    color: #3c2c2b;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 7px rgba(20, 12, 18, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: translateY(-50%);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    pointer-events: auto;
}

.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-prev i,
.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-next i {
    display: block;
    font-size: 1.18rem;
    line-height: 1;
}

.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-prev {
    left: 0;
}

.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-next {
    right: 0;
}

.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-prev:hover,
.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-next:hover {
    color: var(--bs-white);
    border-color: var(--bs-primary);
    background: var(--bs-primary);
}

.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-prev.disabled,
.visit-steps-carousel:not(.tile-carousel-grid).owl-loaded .owl-nav .owl-next.disabled {
    opacity: 0.45;
}

/* Smooth fixed-height transitions for both mobile carousels */
.visit-steps-carousel .owl-stage-outer {
    transition: height 0.35s ease;
}

/* Long reviews: collapse with expand/collapse control */
.testimonial-quote-collapsible .testimonial-quote-body {
    text-align: center;
}

.testimonial-quote-collapsible:not(.is-expanded) .testimonial-quote-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
}

.testimonial-quote-collapsible.is-expanded .testimonial-toggle-expand,
.testimonial-quote-collapsible:not(.is-expanded) .testimonial-toggle-collapse {
    display: none;
}

.testimonial-carousel .owl-item.center .bg-light .testimonial-toggle {
    color: var(--bs-primary) !important;
}

/*** Language switcher — flag PNGs from flagcdn.com (Wikimedia-derived, free) ***/
.lang-switcher {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    justify-content: center;
    border: none !important;
    padding: 6px !important;
    margin-left: 8px;
    line-height: 1.2;
    opacity: 0.92;
    transition: opacity 0.2s, transform 0.2s ease, color 0.2s;
}

.lang-switcher-flag {
    width: 26px;
    height: auto;
    display: block;
    border-radius: 2px;
    flex-shrink: 0;
}

.lang-switcher-code {
    font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: rgba(33, 37, 41, 0.38);
}

.lang-switcher:hover .lang-switcher-code {
    color: rgba(33, 37, 41, 0.55);
}

.lang-switcher:hover {
    opacity: 1;
    transform: scale(1.06);
}

/*** Footer ***/
.footer-main {
    position: relative;
}

/* Three-column footer: no single center divider */

.footer-copyright {
    color: rgba(255, 255, 255, 0.85);
}

.footer-blog-teaser-text {
    min-width: 0;
}

.footer-blog-teaser-thumb {
    display: block;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.footer-blog-teaser-img {
    display: block;
    width: 96px;
    height: 64px;
    object-fit: cover;
}

.footer-blog-teaser-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88) !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

a.footer-blog-teaser-title:hover,
a.footer-blog-teaser-title:focus-visible {
    color: var(--bs-primary) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

/*** Pricing ***/
.pricing-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 90% 60% at 50% -15%, rgba(191, 148, 86, 0.16), transparent 58%),
        radial-gradient(circle at 95% 80%, rgba(191, 148, 86, 0.05), transparent 42%),
        linear-gradient(168deg, #0e0e0f 0%, #151517 42%, #0a0a0b 100%);
}

.pricing-section::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% -20%;
    height: 65%;
    background: radial-gradient(ellipse closest-side at 50% 100%, rgba(191, 148, 86, 0.09), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pricing-section .container {
    position: relative;
    z-index: 1;
}

.pricing-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 992px) {
    .pricing-layout {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        grid-template-rows: auto auto;
        column-gap: 1.5rem;
        row-gap: 0.75rem;
        align-items: stretch;
    }

    .pricing-tabs-wrap {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0 !important;
        align-self: start;
    }

    .pricing-box {
        grid-column: 1;
        grid-row: 2;
    }

    .pricing-offer {
        grid-column: 2;
        grid-row: 2;
        align-self: stretch;
        min-height: 100%;
    }
}

.pricing-offer {
    border-radius: var(--afterglow-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(152deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.035) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 28px 56px -24px rgba(0, 0, 0, 0.65);
}

@media (prefers-reduced-motion: no-preference) {

    .pricing-offer,
    .pricing-box {
        transition: border-color 0.35s ease, box-shadow 0.35s ease;
    }
}

.pricing-offer p.text-primary.text-uppercase {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    opacity: 0.92;
}

.pricing-offer .display-6 {
    font-weight: 500;
}

.newsletter-promo-asterisk {
    color: inherit;
    text-decoration: none;
}

.newsletter-promo-asterisk:hover {
    text-decoration: underline;
}

/* Shared legal / promo footnotes (pricing table + newsletter) */
.pricing-legal-note {
    margin-bottom: 0;
    font-size: 0.843rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.64);
}

.pricing-footnotes .pricing-legal-note + .pricing-legal-note {
    margin-top: 0.65rem;
}

.newsletter-voucher-preview {
    margin: 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    padding-bottom: 0.65rem;
}

/* Miękki cień kontaktowy na „powierzchni” pod bonem */
.newsletter-voucher-preview::before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 50%;
    width: 84%;
    max-width: 13.5rem;
    height: 1rem;
    transform: translateX(-50%) scaleX(0.96);
    background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
    filter: blur(6px);
    opacity: 0.9;
    pointer-events: none;
}

.pricing-offer p.mb-3:has(+ .newsletter-voucher-preview) {
    margin-bottom: 0 !important;
}

.pricing-offer .newsletter-voucher-preview.mb-3 {
    margin-top: 2.5rem !important;
    margin-bottom: calc(2.5rem + 18px) !important;
}

.newsletter-voucher-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 15rem;
    height: auto;
    border-radius: var(--afterglow-radius-sm);
    /* Warstwowy cień (box-shadow podąża za border-radius) */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.07),
        1px 2px 0 rgba(0, 0, 0, 0.22),
        2px 4px 3px rgba(0, 0, 0, 0.28),
        4px 9px 10px rgba(0, 0, 0, 0.36),
        7px 16px 24px rgba(0, 0, 0, 0.42);
}
.newsletter-signup {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
}

.newsletter-signup-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}

.newsletter-signup .newsletter-feedback {
    width: 100%;
    margin-top: 0.15rem;
}

.pricing-offer .newsletter-feedback.text-success {
    color: #8fd4a8 !important;
}

.pricing-offer .newsletter-feedback.text-danger {
    color: #f0a8a8 !important;
}

.newsletter-signup-row .newsletter-input-field {
    flex: 1 1 auto;
    min-width: 0;
    height: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: var(--afterglow-radius-sm);
}

.newsletter-signup-row .newsletter-submit-btn {
    height: 3rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    white-space: nowrap;
    border-radius: var(--afterglow-radius-sm);
    box-shadow: 0 12px 28px -14px rgba(191, 148, 86, 0.75);
}

@media (max-width: 399.98px) {
    .newsletter-signup-row .newsletter-submit-btn {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        font-size: 0.74rem;
    }

    .newsletter-signup-row .newsletter-input-field {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        font-size: 0.9rem;
    }
}

.newsletter-input-field {
    background-color: rgba(36, 36, 40, 0.92) !important;
    color: #f0ebe3;
    border: 1px solid rgba(240, 235, 227, 0.28) !important;
}

.newsletter-input-field::placeholder {
    color: rgba(240, 235, 227, 0.5);
    opacity: 1;
}

.newsletter-input-field:focus {
    color: #f0ebe3;
    background-color: rgba(36, 36, 40, 0.96) !important;
    border-color: rgba(191, 148, 86, 0.75) !important;
    box-shadow: 0 0 0 0.2rem rgba(191, 148, 86, 0.28);
}

.newsletter-input-field:-webkit-autofill,
.newsletter-input-field:-webkit-autofill:hover,
.newsletter-input-field:-webkit-autofill:focus {
    -webkit-text-fill-color: #f0ebe3;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: 0 0 0 1000px rgba(36, 36, 40, 0.96) inset;
}

.pricing-offer .btn-primary {
    box-shadow: 0 12px 28px -14px rgba(191, 148, 86, 0.75);
}

.pricing-box {
    position: relative;
    border-radius: var(--afterglow-radius);
    background: rgba(22, 22, 24, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.095);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 28px 56px -24px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 0, 0, 0.35);
}

.pricing-tabs {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: fit-content;
    padding: 0;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.pricing-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .pricing-tabs-wrap {
        margin-bottom: 0.25rem;
    }
}

.pricing-switch-link {
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    border-radius: 0;
    font-family: "Work Sans", sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    line-height: 1;
    padding: 0.6rem 1.1rem;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.pricing-switch-link:last-child {
    border-right: 0;
}

.pricing-switch-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
}

.pricing-switch-link.is-active {
    color: #1f1810;
    background: linear-gradient(120deg, #f1ddbc 0%, #d9b784 62%, #cda770 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pricing-switch-link:focus-visible {
    outline: 2px solid rgba(191, 148, 86, 0.75);
    outline-offset: -2px;
}

@media (max-width: 575.98px) {
    .pricing-tabs {
        width: 100%;
    }

    .pricing-switch-link {
        flex: 1 1 0;
        text-align: center;
        font-size: 0.7rem;
        letter-spacing: 0.06em;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .pricing-offer:hover,
    .pricing-box:hover {
        border-color: rgba(255, 255, 255, 0.14);
    }

    .pricing-offer:hover {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 32px 64px -24px rgba(0, 0, 0, 0.7),
            0 0 40px rgba(191, 148, 86, 0.08);
    }

    .pricing-box:hover {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 32px 64px -24px rgba(0, 0, 0, 0.68),
            0 0 48px rgba(191, 148, 86, 0.07);
    }
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .pricing-offer,
    .pricing-box {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.pricing-category {
    margin: 0;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.21em;
    text-transform: uppercase;
    color: rgba(248, 247, 244, 0.95);
    background: linear-gradient(90deg, rgba(191, 148, 86, 0.2) 0%, rgba(255, 255, 255, 0.035) min(55%, 18rem));
}

.pricing-category:first-of-type {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.pricing-category + .pricing-item {
    border-top: none;
}

.pricing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
    padding: 1.125rem 1.5rem;
    border-bottom: none;
}

.pricing-item + .pricing-item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: no-preference) {
    .pricing-item {
        transition: background-color 0.22s ease;
    }

    .pricing-item:hover {
        background-color: rgba(255, 255, 255, 0.035);
    }
}

.pricing-item h6 {
    margin: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.pricing-item .price-value {
    flex-shrink: 0;
    color: var(--bs-primary);
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    background: rgba(191, 148, 86, 0.18);
    border: 1px solid rgba(191, 148, 86, 0.38);
    box-shadow: 0 10px 24px -16px rgba(191, 148, 86, 0.55);
    white-space: nowrap;
}

.pricing-item--package {
    align-items: flex-start;
}

.pricing-item--package h6 {
    margin-bottom: 0.65rem;
}

.pricing-subitem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.35rem 0 0;
}

.pricing-subitem:first-of-type {
    padding-top: 0.15rem;
}

.pricing-subitem-label {
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.pricing-item--package .pricing-subitem .price-value {
    font-size: 0.92rem;
    padding: 0.32rem 0.75rem;
}

.pricing-footnotes {
    padding: 1.15rem 1.5rem 1.35rem;
    background: rgba(0, 0, 0, 0.32);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pricing-box > .pricing-panel > .pricing-footnotes {
    border-bottom-left-radius: var(--afterglow-radius);
    border-bottom-right-radius: var(--afterglow-radius);
}

.pricing-footnotes--offer {
    margin-top: auto;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-bottom: -1.5rem;
    border-radius: 0 0 var(--afterglow-radius) var(--afterglow-radius);
}

@media (max-width: 575.98px) {
    .pricing-item {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.75rem 1rem;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .pricing-item > div:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    .pricing-item .price-value {
        margin-top: 0;
    }
}

/*** In-page anchor offset (sticky top bar) ***/
#o-mnie,
#about,
#efekty,
#results,
#cennik,
#pricing,
#opinie,
#reviews,
#kontakt,
#contact,
#warto-wiedziec,
#knowledge,
#na-czym-to-polega,
#how-it-works,
#jak-sie-przygotowac,
#how-to-prepare,
#najczestsze-pytania,
#faq,
#fakty-i-mity,
#facts-and-myths {
    scroll-margin-top: 6.5rem;
}

@media (max-width: 1199.98px) {

    #o-mnie,
    #about,
    #efekty,
    #results,
    #cennik,
    #pricing,
    #opinie,
    #reviews,
    #kontakt,
    #contact,
    #warto-wiedziec,
    #knowledge,
    #na-czym-to-polega,
    #how-it-works,
    #jak-sie-przygotowac,
    #how-to-prepare,
    #najczestsze-pytania,
    #faq,
    #fakty-i-mity,
    #facts-and-myths {
        scroll-margin-top: calc(var(--promo-ribbon-visible-height, 0px) + 0.75rem);
    }
}

/*** Contact + map ***/
.contact-card-lead {
    font-family: "Work Sans", sans-serif;
    text-align: center;
    padding: 1.15rem 1.15rem 1.25rem;
    background: linear-gradient(
        165deg,
        rgba(191, 148, 86, 0.14) 0%,
        rgba(253, 252, 250, 0.98) 48%,
        rgba(237, 228, 214, 0.5) 100%
    );
    border: 1px solid rgba(191, 148, 86, 0.34);
    border-radius: var(--afterglow-radius-sm);
    box-shadow: 0 3px 14px rgba(55, 48, 40, 0.08);
}

.contact-card-lead__hook {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.contact-card-lead__sub {
    display: block;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.45;
    color: #3c3530;
    margin-bottom: 1rem;
}

.contact-card-lead__actions {
    padding-top: 0.15rem;
    border-top: 1px solid rgba(191, 148, 86, 0.22);
}

.contact-card-lead__actions .booksy-widget-wrap {
    padding: 0.65rem 0 0.5rem;
}

.contact-card-lead__actions .contact-booksy-divider {
    margin-bottom: 0.65rem;
}

.contact-card-lead__contact {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.contact-map-section .contact-map-embed {
    border-radius: var(--afterglow-radius) !important;
    overflow: hidden;
}

.contact-map-section .contact-map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--afterglow-radius);
}

/* Mobile: wyższa mapa; zoom w JS (data-zoom-mobile / data-zoom-desktop) */
@media (max-width: 991.98px) {
    .contact-map-section .col-lg-8 > .bg-white {
        padding: 0.75rem !important;
    }

    .contact-map-section .contact-map-embed.ratio {
        aspect-ratio: 5 / 4;
        min-height: 300px;
        height: auto;
    }

    .contact-map-section .contact-map-embed.ratio::before {
        display: none !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .contact-map-section .contact-map-embed.ratio {
        aspect-ratio: 1 / 1;
        min-height: min(88vw, 380px);
    }
}

.contact-map-section .col-lg-4 > .bg-white {
    border-radius: var(--afterglow-radius) !important;
}

.contact-map-section .col-lg-8 > .bg-white {
    border-radius: var(--afterglow-radius) !important;
}

.contact-map-section .contact-location-line {
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(93, 88, 83, 0.1);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(60, 53, 48, 0.65);
}

.contact-map-section .contact-location-line .fa-map-marker-alt {
    color: rgba(191, 148, 86, 0.45);
    font-size: 0.85rem;
}

.contact-map-section .contact-location-note {
    font-size: 0.95rem;
    line-height: 1.55;
}

.contact-map-section .btn-contact-directions {
    font-family: "Work Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #5a5651;
    background-color: #fdfcfa;
    border: 1px solid rgba(93, 88, 83, 0.32);
    padding: 0.55rem 1.35rem;
    border-radius: var(--afterglow-radius-sm);
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.contact-map-section .btn-contact-directions:hover,
.contact-map-section .btn-contact-directions:focus-visible {
    color: #3a3632;
    background-color: #f3f1ed;
    border-color: rgba(93, 88, 83, 0.48);
}

.contact-map-section .btn-contact-directions:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(93, 88, 83, 0.12);
}

.hero-contact-list {
    align-items: stretch;
    width: fit-content;
    max-width: 100%;
    gap: 0;
}

.hero-contact-row-top {
    gap: 0.35rem 1.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.hero-contact-booksy {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}
.hero-contact-booksy .booksy-widget-container-dialog {
    width: auto !important;
    max-width: 100%;
}

.hero-contact-booksy .booksy-widget-container-dialog .booksy-widget-button {
    width: auto !important;
    max-width: 100%;
    min-height: 3.6rem;
    padding: 0.88rem 1.85rem;
    display: inline-flex !important;
    box-shadow: 0 3px 14px rgba(37, 37, 37, 0.09);
}

.hero-contact-booksy .booksy-widget-container-dialog .booksy-widget-button::before {
    width: 1.2rem;
    height: 1.2rem;
}

.hero-contact-booksy .booksy-widget-container-dialog .booksy-widget-button::after {
    font-size: 1.06rem;
    margin-left: 0;
    padding-right: 0.15rem;
    line-height: 1.3;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .hero-contact-booksy .booksy-widget-container-dialog .booksy-widget-button {
        min-height: 3.8rem;
        padding: 0.95rem 2.1rem;
    }

    .hero-contact-booksy .booksy-widget-container-dialog .booksy-widget-button::before {
        width: 1.25rem;
        height: 1.25rem;
    }

    .hero-contact-booksy .booksy-widget-container-dialog .booksy-widget-button::after {
        font-size: 1.12rem;
    }
}

.hero-contact-row-top .hero-contact-item {
    width: auto;
    flex: 0 1 auto;
}

.hero-contact-item--whatsapp .px-3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.hero-english-badge {
    margin-top: 0.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    font-family: "Work Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #3c3c3c;
    line-height: 1.2;
}

.hero-english-badge__flag {
    width: 20px;
    height: auto;
    display: block;
    border-radius: 2px;
    flex-shrink: 0;
}

.hero-contact-list > .hero-contact-item {
    width: 100%;
    max-width: 100%;
}

.hero-contact-item .px-3 {
    flex: 1 1 auto;
    min-width: 0;
}

a.hero-contact-link,
.contact-map-section a[href^="tel:"],
.contact-map-section a.whatsapp-link {
    color: var(--bs-dark);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--bs-primary) 50%, transparent);
    text-underline-offset: 0.2em;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a.hero-contact-link:hover,
a.hero-contact-link:focus-visible,
.contact-map-section a[href^="tel:"]:hover,
.contact-map-section a[href^="tel:"]:focus-visible,
.contact-map-section a.whatsapp-link:hover,
.contact-map-section a.whatsapp-link:focus-visible {
    color: var(--bs-primary);
    text-decoration-color: var(--bs-primary);
}

a.hero-contact-link:focus-visible,
.contact-map-section a[href^="tel:"]:focus-visible,
.contact-map-section a.whatsapp-link:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.contact-map-section .booksy-widget-wrap {
    width: 100%;
}

.contact-booksy-divider {
    font-family: "Work Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    text-align: center;
    color: #8f8a84;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.contact-booksy-divider-dashes {
    margin: 0 0.2em;
    font-weight: 400;
    color: #a9a39c;
}

/**
 * Booksy: własny wygląd przycisku — logika popupu zostaje (ten sam div + listener Booksy).
 * Ukrywamy bitmapę tła i drugi wiersz „profil w Booksy”; etykieta z ::after (html lang).
 */
.booksy-widget-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

.booksy-widget-wrap.hero-contact-booksy {
    width: fit-content;
    max-width: 100%;
    padding: 0.55rem 0 0.65rem;
}
.booksy-widget-container-dialog {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    padding: 0.2rem 0;
    box-sizing: border-box;
}

.booksy-widget-container-dialog .booksy-widget-button {
    position: relative;
    overflow: visible;
    width: 100% !important;
    max-width: 100%;
    background: var(--bs-primary) !important;
    border: none !important;
    border-radius: var(--afterglow-radius);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: auto !important;
    min-height: 3.55rem;
    padding: 1rem 2.25rem;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(37, 37, 37, 0.08);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.booksy-widget-container-dialog .booksy-widget-button::before {
    content: "";
    display: block !important;
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    background: url("../img/social/booksy.webp") center / contain no-repeat;
}

.booksy-widget-container-dialog .booksy-widget-button:hover {
    transform: none !important;
    background: color-mix(in srgb, var(--bs-primary) 88%, #252525) !important;
    box-shadow: 0 3px 14px rgba(37, 37, 37, 0.12);
}

.booksy-widget-container-dialog .booksy-widget-button:active {
    transform: none !important;
    box-shadow: 0 1px 6px rgba(37, 37, 37, 0.1);
}

.booksy-widget-container-dialog .booksy-widget-button:focus-visible {
    outline: 2px solid var(--bs-dark);
    outline-offset: 2px;
}

.booksy-widget-container-dialog .booksy-widget-button::after {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding-left: 0;
    background-image: none;
    font-family: "Work Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
    color: var(--bs-dark);
    text-shadow: none;
    pointer-events: none;
}

html[lang="pl"] .booksy-widget-container-dialog .booksy-widget-button::after {
    content: "Rezerwuj na Booksy";
}

html[lang="en"] .booksy-widget-container-dialog .booksy-widget-button::after {
    content: "Book on Booksy";
}

.booksy-widget-container-dialog .booksy-business-link {
    display: none !important;
}

/*** Effects gallery ***/
.effects-section .effects-carousel,
.effects-section .effects-carousel .owl-stage-outer {
    border: none !important;
    box-shadow: none !important;
}

.effects-section .effects-carousel {
    position: relative;
    --effects-nav-inset-bottom: 2.75rem;
    --effects-nav-btn-size: 46px;
    --effects-nav-overlap: 0.3;
    --effects-nav-outset: 15px;
}

.effects-section .effects-carousel .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: var(--effects-nav-inset-bottom);
    width: 100%;
    margin-top: 0;
    transform: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    pointer-events: none;
    z-index: 3;
}

.effects-section .effects-carousel .owl-nav .owl-prev,
.effects-section .effects-carousel .owl-nav .owl-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 0;
    width: var(--effects-nav-btn-size);
    height: var(--effects-nav-btn-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0;
    line-height: 1;
    color: var(--bs-dark);
    background: var(--bs-primary);
    border: 1px solid rgba(60, 44, 43, 0.22);
    border-radius: var(--afterglow-radius);
    box-shadow: 0 2px 12px rgba(37, 37, 37, 0.22);
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    pointer-events: auto;
    flex-shrink: 0;
}

.effects-section .effects-carousel .owl-nav .owl-prev {
    margin-left: calc(var(--effects-nav-outset) - var(--effects-nav-btn-size) * var(--effects-nav-overlap));
}

.effects-section .effects-carousel .owl-nav .owl-next {
    margin-right: calc(var(--effects-nav-outset) - var(--effects-nav-btn-size) * var(--effects-nav-overlap));
}

.effects-section .effects-carousel .owl-nav .owl-prev i,
.effects-section .effects-carousel .owl-nav .owl-next i {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
}

.effects-section .effects-carousel .owl-nav .owl-prev:hover,
.effects-section .effects-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
    border-color: var(--bs-dark);
    box-shadow: 0 3px 14px rgba(37, 37, 37, 0.28);
}

.effects-section .effects-carousel .owl-dots {
    margin-top: 1rem;
}

.effects-section .effects-slide {
    text-align: center;
}

.effects-section .effects-media {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.effects-section .effects-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(52vh, 420px);
    object-fit: contain;
    background: var(--bs-light);
}

.effects-section .effects-carousel .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.effects-video-btn {
    --evb-surface: rgba(255, 252, 249, 0.92);
    --evb-surface-hover: rgba(255, 255, 255, 0.98);
    --evb-ink: #2c2825;
    --evb-accent: #a85d62;
    --evb-accent-soft: #d4a09a;
    position: absolute;
    top: 0.65rem;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem 0.35rem 0.38rem;
    border: 1px solid rgba(168, 93, 98, 0.28);
    border-radius: 999px;
    font-family: var(--font-work-sans, "Work Sans", sans-serif);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: none;
    color: var(--evb-ink);
    background: var(--evb-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 16px rgba(44, 40, 37, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transform: translateX(-50%);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
    -webkit-tap-highlight-color: transparent;
}

.effects-video-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--evb-accent) 0%, var(--evb-accent-soft) 100%);
    box-shadow: 0 2px 8px rgba(168, 93, 98, 0.35);
}

.effects-video-btn__icon i {
    font-size: 0.55rem;
    margin-left: 1px;
}

.effects-video-btn__label {
    padding-right: 0.05rem;
}

.effects-video-btn:hover,
.effects-video-btn:focus-visible {
    color: var(--evb-ink);
    background: var(--evb-surface-hover);
    border-color: rgba(168, 93, 98, 0.45);
    box-shadow:
        0 8px 22px rgba(168, 93, 98, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateX(-50%) translateY(-2px);
}

.effects-video-btn:hover .effects-video-btn__icon,
.effects-video-btn:focus-visible .effects-video-btn__icon {
    background: linear-gradient(145deg, #934f55 0%, #c9887f 100%);
}

.effects-video-btn:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 2px 10px rgba(44, 40, 37, 0.12);
}

.effects-video-btn:focus-visible {
    outline: 2px solid var(--evb-accent-soft);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .effects-video-btn {
        transition: none;
    }

    .effects-video-btn:hover,
    .effects-video-btn:focus-visible,
    .effects-video-btn:active {
        transform: translateX(-50%);
    }
}

.effects-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.effects-video-overlay.is-open {
    display: flex;
}

.effects-video-overlay__backdrop {
    position: absolute;
    inset: 0;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: rgba(44, 40, 37, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.effects-video-overlay__frame {
    position: relative;
    z-index: 1;
    width: min(92vw, 720px);
    max-height: min(88vh, 720px);
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.effects-video-overlay__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
}

.effects-video-overlay__close:hover {
    background: rgba(0, 0, 0, 0.75);
}

.effects-video-overlay__player {
    width: 100%;
    line-height: 0;
}

.effects-video-overlay__player video {
    display: block;
    width: 100%;
    max-height: min(88vh, 720px);
    vertical-align: top;
    background: #000;
}

body.effects-video-overlay-open {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .img-fluid {
        width: 100%;
        height: auto;
    }

    #o-mnie .about-main-photo,
#about .about-main-photo {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .effects-section .effects-media {
        display: block;
        width: 100%;
    }

    .effects-section .effects-media img {
        width: 100%;
        height: auto;
        max-height: 72vh;
        object-fit: contain;
    }

    .blog-overview-thumb {
        aspect-ratio: 4 / 3;
    }

    .blog-hero-media img {
        max-height: none;
        object-fit: contain;
        object-position: center center;
    }
}

/*** Blog overview + blog page ***/
.blog-index-hero {
    position: relative;
    background: linear-gradient(165deg, #f5f1ea 0%, #faf7f3 38%, #ffffff 100%);
    border-bottom: 1px solid rgba(44, 40, 37, 0.08);
    overflow: hidden;
}

.blog-index-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 85% 55% at 50% -15%, color-mix(in srgb, var(--bs-primary) 16%, transparent), transparent 58%);
    pointer-events: none;
}

.blog-index-hero .container {
    position: relative;
    z-index: 1;
}

.blog-index-eyebrow {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: "Work Sans", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 0.35rem;
}

.blog-index-title {
    margin-bottom: 0.75rem;
}

.blog-index-rule {
    width: 56px;
    height: 3px;
    margin: 0 auto 1.25rem;
    background: var(--bs-primary);
    border-radius: 2px;
    opacity: 0.85;
}

.blog-index-subtitle {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    font-size: clamp(1.2rem, 2.6vw, 1.45rem);
    line-height: 1.35;
    color: #1a1816;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-index-lead {
    font-family: "Work Sans", sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 38rem;
    color: #5f5a53 !important;
}

.blog-overview-grid-section {
    background: linear-gradient(180deg, #fcfaf8 0%, #fefdfc 55%, #ffffff 100%);
}

.blog-overview-kicker {
    font-family: "Work Sans", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 0.35rem;
}

.blog-overview-card {
    background: #ffffff;
    border: 1px solid rgba(44, 40, 37, 0.09);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 14px 36px rgba(44, 40, 37, 0.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.blog-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(44, 40, 37, 0.11);
}

.blog-overview-card-body {
    padding: 1.35rem 1.45rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.blog-overview-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.35;
    color: #1f1c1a;
}

.blog-overview-card-body > p:not(.blog-overview-meta):not(.mb-0) {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4a4540;
}

.blog-overview-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0;
    border: 0;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.25s ease;
}

.blog-overview-thumb-link {
    line-height: 0;
    display: block;
    overflow: hidden;
    position: relative;
}

.blog-overview-thumb-link::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.blog-overview-thumb-link:hover .blog-overview-thumb,
.blog-overview-thumb-link:focus-visible .blog-overview-thumb {
    transform: scale(1.045);
    opacity: 1;
}

.blog-overview-thumb-link:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.blog-overview-readmore {
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bs-primary);
    text-decoration: none;
}

.blog-overview-readmore:hover,
.blog-overview-readmore:focus-visible {
    color: var(--bs-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-overview-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-overview-title-link:hover,
.blog-overview-title-link:focus-visible {
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-overview-meta {
    font-family: "Work Sans", sans-serif;
    color: #7b7671;
    font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    .blog-overview-card,
    .blog-overview-thumb {
        transition: none;
    }

    .blog-overview-card:hover {
        transform: none;
    }

    .blog-overview-thumb-link:hover .blog-overview-thumb,
    .blog-overview-thumb-link:focus-visible .blog-overview-thumb {
        transform: none;
    }
}

.blog-page-hero {
    background: linear-gradient(180deg, #fbf8f3 0%, #ffffff 100%);
}

/* Editorial article layout (magazine / press) */
.blog-editorial-hero {
    background: linear-gradient(180deg, #f5f1ea 0%, #ffffff 62%);
    border-bottom: 1px solid rgba(44, 40, 37, 0.09);
}

.blog-editorial-hero .container {
    position: relative;
}

.blog-editorial-hero .container::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 0 auto;
    margin-top: 1.75rem;
    background: var(--bs-primary);
    border-radius: 2px;
}

.blog-editorial-headline {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    font-size: clamp(1.85rem, 4.5vw, 2.55rem);
    line-height: 1.16;
    letter-spacing: -0.028em;
    color: #1a1816;
    max-width: 26ch;
    margin-left: auto;
    margin-right: auto;
}

.blog-editorial-deck {
    font-family: "Work Sans", sans-serif;
    font-size: 1.125rem;
    line-height: 1.68;
    font-weight: 400;
    color: #5f5a53 !important;
    max-width: 38rem;
}

.blog-article-page {
    background: linear-gradient(180deg, #fcfaf8 0%, #fefdfc 100%);
}

.blog-article-inner {
    max-width: 680px;
}

.blog-post-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
}

.blog-post-card p {
    color: #5f5a53;
    line-height: 1.72;
}

.blog-post-card.blog-editorial-body {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem 0 2.75rem;
    box-shadow: none;
    position: relative;
}

.blog-post-card.blog-editorial-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(140px, 100%);
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
    opacity: 0.9;
}

.blog-post-card.blog-editorial-body h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #221f1d;
    margin-top: 2.35rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(44, 40, 37, 0.11);
    line-height: 1.38;
}

.blog-post-card.blog-editorial-body h2:first-child {
    margin-top: 0;
}

.blog-post-card.blog-editorial-body p {
    font-size: 1.0625rem;
    line-height: 1.88;
    color: #3d3935;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.blog-article-actions {
    border-top: 1px solid rgba(44, 40, 37, 0.1);
    padding-top: 2rem !important;
    margin-top: 1rem !important;
}

.blog-article-actions .btn {
    letter-spacing: 0.04em;
}

/* NYT-inspired story layout */
.blog-editorial-hero--nyt .container::after {
    display: none;
}

.blog-editorial-hero--nyt .blog-editorial-headline {
    max-width: min(42rem, 100%);
}

.blog-editorial-sitename {
    margin-bottom: 0.5rem;
}

.blog-editorial-sitename a {
    font-family: "Dancing Script", cursive;
    font-size: clamp(1.7rem, 3.6vw, 2.15rem);
    line-height: 1.15;
    color: var(--bs-primary);
    text-decoration: none;
}

.blog-editorial-sitename a:hover,
.blog-editorial-sitename a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-editorial-eyebrow {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.68rem !important;
    font-weight: 600;
    color: var(--bs-primary) !important;
    margin-bottom: 0.5rem !important;
}

.blog-editorial-dateline {
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.78rem !important;
    font-weight: 600;
    color: #5f5a53 !important;
    margin-bottom: 1rem !important;
}

.blog-editorial-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(44, 40, 37, 0.12);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-editorial-byline-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.blog-editorial-byline-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

.blog-editorial-byline-name {
    display: block;
    font-family: "Work Sans", sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #121110;
}

.blog-editorial-byline-role {
    display: block;
    font-family: "Work Sans", sans-serif;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #5f5a53;
    margin-top: 0.15rem;
}

.blog-hero-media {
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
}

.blog-hero-media img {
    width: 100%;
    height: auto;
    max-height: min(58vh, 480px);
    object-fit: cover;
    object-position: center 42%;
    display: block;
}

.blog-media-caption {
    font-family: "Work Sans", sans-serif;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #6c6762;
    padding: 0.65rem 1rem 1.1rem;
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border: 0;
}

.blog-article-lede {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.1875rem;
    line-height: 1.78;
    color: #141312;
    margin-bottom: 1.85rem;
    font-weight: 400;
}

.blog-post-card.blog-editorial-body p:not(.blog-article-lede) {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.0625rem;
}

.blog-post-card.blog-editorial-body ul {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #3d3935;
    padding-left: 1.2rem;
    margin: 1rem 0 1.65rem;
}

.blog-post-card.blog-editorial-body li {
    margin-bottom: 0.45rem;
}

.blog-post-card.blog-editorial-body li::marker {
    color: var(--bs-primary);
}

.blog-pullquote {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    line-height: 1.48;
    font-weight: 500;
    color: #1a1816;
    border-left: 4px solid var(--bs-primary);
    padding: 0.65rem 0 0.65rem 1.2rem;
    margin: 2.15rem 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--bs-primary) 14%, transparent), transparent);
}

.blog-inline-figure {
    margin: 2rem 0;
}

.blog-inline-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 12px 40px rgba(44, 40, 37, 0.08);
}

.blog-inline-figure figcaption {
    font-family: "Work Sans", sans-serif;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #6c6762;
    margin-top: 0.5rem;
}

.blog-section-endrule {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(44, 40, 37, 0.15), transparent);
    margin: 2.5rem 0;
    opacity: 0.9;
}

.blog-article-inner--editorial {
    max-width: 680px;
}

@media (min-width: 992px) {
    .blog-hero-media img {
        max-height: min(52vh, 520px);
    }
}

/*** Pre-footer CTA — minimal strip (above site footer) ***/

/*** Legal pages (cookie policy) ***/
.legal-page-hero {
    background: #faf8f5;
    border-bottom: 1px solid #e8e2da;
}

.legal-page-eyebrow {
    font-family: "Work Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8f8a84;
}

.legal-page-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    font-weight: 500;
    color: #1a1816;
}

.legal-page-meta {
    font-family: "Work Sans", sans-serif;
    font-size: 0.92rem;
    color: #6f6a64;
}

.legal-page-inner {
    max-width: 720px;
}

.legal-page-body {
    font-family: "Work Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.72;
    color: #2a2724;
}

.legal-page-body h2,
.legal-page-body h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1a1816;
}

.legal-cookie-table-wrap {
    margin: 1.25rem 0 1.5rem;
}

.legal-cookie-table {
    font-size: 0.92rem;
    margin-bottom: 0;
}

.legal-cookie-table th {
    background: #faf8f5;
    font-weight: 600;
}

.legal-cookie-table code {
    font-size: 0.88em;
    color: #1a1816;
}

.legal-browser-links {
    padding-left: 1.2rem;
    margin-bottom: 1.25rem;
}

.legal-browser-links li {
    margin-bottom: 0.35rem;
}

.legal-page-actions {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e2da;
}

/*** Cookie consent banner (ribbon-style bottom bar) ***/
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.cookie-banner--show {
    opacity: 1;
}

.cookie-banner--hide {
    opacity: 0;
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 1rem;
    width: 100%;
    margin: 0;
    padding: 0.55rem max(0.85rem, env(safe-area-inset-right, 0px)) calc(0.55rem + env(safe-area-inset-bottom, 0px)) max(0.85rem, env(safe-area-inset-left, 0px));
    background: linear-gradient(135deg, #fff9f0 0%, #fff 45%, #fdf6ea 100%);
    border-top: 2px solid rgba(191, 148, 86, 0.35);
    box-shadow: 0 -4px 18px rgba(55, 48, 40, 0.08);
}

.cookie-banner__copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 52rem;
}

.cookie-banner__emoji {
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #4a4038;
    text-align: center;
}

.cookie-banner__link {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.45rem;
}

.cookie-banner__btn {
    border: none;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cookie-banner__btn:active {
    transform: scale(0.96);
}

.cookie-banner__btn--ghost {
    background: transparent;
    color: #6c757d;
    border: 1.5px solid rgba(108, 117, 125, 0.35);
}

.cookie-banner__btn--ghost:hover,
.cookie-banner__btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.7);
    color: #444;
}

.cookie-banner__btn--yes {
    background: linear-gradient(135deg, #d4a574 0%, var(--bs-primary) 55%, #a67c3a 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(191, 148, 86, 0.45);
}

.cookie-banner__btn--yes:hover,
.cookie-banner__btn--yes:focus-visible {
    box-shadow: 0 4px 16px rgba(191, 148, 86, 0.55);
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .cookie-banner__inner {
        flex-wrap: wrap;
        padding-top: 0.65rem;
        padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
    }

    .cookie-banner__copy {
        width: 100%;
        max-width: none;
    }

    .cookie-banner__text {
        font-size: 0.75rem;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner__btn {
        flex: 1 1 0;
        max-width: 11rem;
        text-align: center;
        padding: 0.5rem 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner {
        transition: opacity 0.2s ease;
    }

    .cookie-banner__btn--yes:hover,
    .cookie-banner__btn--yes:focus-visible {
        transform: none;
    }
}
