/* ==========================================================================
   Baltic Villa Pobierowo
   ========================================================================== */

/* Fonty (self-hosted, latin + latin-ext) ---------------------------------- */
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/fraunces-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokeny ------------------------------------------------------------------- */
:root {
    --c-ink: #111a23;
    --c-navy: #13283a;
    --c-navy-2: #0c1b28;
    --c-gold: #7a7256;
    --c-gold-dark: #5f583f;
    --c-gold-light: #c9bc93;
    --c-gold-soft: #ece6d7;
    --c-sand: #f7f4ee;
    --c-sand-2: #efe9de;
    --c-text: #26313c;
    --c-muted: #5d6873;
    --c-line: rgba(17, 26, 35, .1);
    --c-line-light: rgba(255, 255, 255, .14);

    --ff-display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(17, 26, 35, .04), 0 6px 18px -10px rgba(17, 26, 35, .14);
    --shadow: 0 22px 44px -26px rgba(17, 26, 35, .4);
    --shadow-lg: 0 44px 80px -40px rgba(17, 26, 35, .55);

    --container: 1240px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section: clamp(4.5rem, 9vw, 8.5rem);
    --header-h: 88px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

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

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: clip;
    font-family: var(--ff-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-sand);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

[hidden] {
    display: none !important;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
}

button {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 .55em;
    font-family: var(--ff-display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.015em;
    color: var(--c-ink);
    text-wrap: balance;
}

h3 {
    line-height: 1.2;
}

p {
    margin: 0 0 1.1em;
    text-wrap: pretty;
}

p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

address {
    font-style: normal;
}

::selection {
    background: var(--c-gold);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--c-gold);
    outline-offset: 3px;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 100;
    padding: .75rem 1.25rem;
    border-radius: 999px;
    background: var(--c-ink);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: top .2s;
}

.skip-link:focus {
    top: 1rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.nowrap {
    white-space: nowrap;
}

/* Układ i typografia ------------------------------------------------------- */
.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

.section {
    padding-block: var(--section);
}

.section--alt {
    background: var(--c-sand-2);
}

.section--dark {
    background: var(--c-navy);
    color: rgba(255, 255, 255, .78);
}

.section--dark h2,
.section--dark h3 {
    color: #fff;
}

.section--tight-top {
    padding-top: clamp(2.5rem, 5vw, 4rem);
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--sub {
    margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.section-head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 4rem;
    max-width: none;
}

.section-head--split > :first-child {
    max-width: 640px;
}

.section-head--split > :last-child {
    max-width: 440px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    margin: 0 0 1.25rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .24em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--c-gold);
}

.eyebrow::before,
.section-head--center .eyebrow::after {
    content: "";
    width: 2.25rem;
    height: 1px;
    background: currentColor;
    opacity: .7;
}

.eyebrow--light {
    color: var(--c-gold-light);
}

.title-xl {
    font-size: clamp(2.25rem, 4.6vw, 3.75rem);
}

.title-lg {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

.lead {
    font-size: clamp(1.075rem, 1.35vw, 1.2rem);
    line-height: 1.75;
    color: var(--c-muted);
}

.section--dark .lead {
    color: rgba(255, 255, 255, .74);
}

.muted {
    color: var(--c-muted);
}

/* Przyciski ---------------------------------------------------------------- */
.btn {
    --btn-bg: var(--c-gold);
    --btn-fg: #fff;
    --btn-border: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1rem 1.6rem;
    border: 1px solid var(--btn-border);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--ff-body);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.btn .icon {
    width: 1.15rem;
    height: 1.15rem;
}

.btn:hover {
    --btn-bg: var(--c-gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -14px rgba(95, 88, 63, .8);
}

.btn:active {
    transform: translateY(0);
}

.btn--dark {
    --btn-bg: var(--c-ink);
}

.btn--dark:hover {
    --btn-bg: #000;
    box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6);
}

.btn--outline {
    --btn-bg: transparent;
    --btn-fg: var(--c-ink);
    --btn-border: rgba(17, 26, 35, .22);
}

.btn--outline:hover {
    --btn-bg: var(--c-ink);
    --btn-fg: #fff;
    --btn-border: var(--c-ink);
    box-shadow: none;
}

.btn--glass {
    --btn-bg: rgba(255, 255, 255, .1);
    --btn-fg: #fff;
    --btn-border: rgba(255, 255, 255, .45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn--glass:hover {
    --btn-bg: #fff;
    --btn-fg: var(--c-ink);
    --btn-border: #fff;
    box-shadow: none;
}

.btn--sm {
    padding: .8rem 1.25rem;
    font-size: .76rem;
}

.btn--lg {
    padding: 1.15rem 2rem;
    font-size: .86rem;
}

.btn--block {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 800;
    font-size: .95rem;
    color: var(--c-gold);
    text-decoration: none;
}

.link-arrow .icon {
    transition: transform .3s var(--ease);
}

.link-arrow:hover {
    color: var(--c-gold-dark);
}

.link-arrow:hover .icon {
    transform: translateX(4px);
}

.section--dark .link-arrow,
.feature .link-arrow {
    color: var(--c-gold-light);
}

/* Nagłówek ----------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    display: flex;
    align-items: center;
    height: var(--header-h);
    color: var(--c-ink);
    background: rgba(247, 244, 238, .9);
    -webkit-backdrop-filter: saturate(1.4) blur(16px);
    backdrop-filter: saturate(1.4) blur(16px);
    box-shadow: 0 1px 0 var(--c-line);
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease), height .4s var(--ease);
}

.site-header.is-scrolled {
    --header-h: 72px;
}

.has-hero .site-header:not(.is-scrolled),
.menu-open .site-header {
    color: #fff;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
}

.brand {
    display: block;
    flex-shrink: 0;
}

.brand img {
    width: auto;
    height: 42px;
    transition: filter .4s var(--ease), height .4s var(--ease);
}

.is-scrolled .brand img {
    height: 36px;
}

.has-hero .site-header:not(.is-scrolled) .brand img,
.menu-open .site-header .brand img {
    filter: brightness(0) invert(1);
}

.nav {
    margin-left: auto;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: .15rem;
    list-style: none;
}

.nav a {
    position: relative;
    display: block;
    padding: .6rem .85rem;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
}

.nav a::after {
    content: "";
    position: absolute;
    right: .85rem;
    bottom: .3rem;
    left: .85rem;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    color: inherit;
}

.header-phone .icon {
    width: 1.1rem;
    height: 1.1rem;
}

.nav-toggle {
    position: relative;
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: .9;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    position: absolute;
    width: 18px;
    height: 1.8px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .35s var(--ease), background-color .2s;
}

.nav-toggle__bars {
    top: calc(50% - .9px);
    left: calc(50% - 9px);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    left: 0;
}

.nav-toggle__bars::before {
    transform: translateY(-6px);
}

.nav-toggle__bars::after {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: rotate(-45deg);
}

/* Menu mobilne */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    overflow-y: auto;
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(201, 188, 147, .14), transparent 45%),
        var(--c-navy-2);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility 0s linear .4s;
}

.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s var(--ease);
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    min-height: 100%;
    padding-block: calc(var(--header-h) + 1.5rem) 2rem;
}

.mobile-menu__nav {
    list-style: none;
}

.mobile-menu__nav li {
    overflow: hidden;
    border-bottom: 1px solid var(--c-line-light);
}

.mobile-menu__nav a {
    display: block;
    padding: .95rem 0;
    font-family: var(--ff-display);
    font-size: clamp(1.7rem, 6vw, 2.4rem);
    line-height: 1.2;
    text-decoration: none;
    color: #fff;
    transform: translateY(105%);
    transition: transform .7s var(--ease-out), color .2s;
}

.mobile-menu__nav a[aria-current="page"] {
    color: var(--c-gold-light);
}

.menu-open .mobile-menu__nav a {
    transform: none;
}

.menu-open .mobile-menu__nav li:nth-child(2) a { transition-delay: .04s; }
.menu-open .mobile-menu__nav li:nth-child(3) a { transition-delay: .08s; }
.menu-open .mobile-menu__nav li:nth-child(4) a { transition-delay: .12s; }
.menu-open .mobile-menu__nav li:nth-child(5) a { transition-delay: .16s; }
.menu-open .mobile-menu__nav li:nth-child(6) a { transition-delay: .2s; }

.mobile-menu__footer {
    display: grid;
    gap: 1rem;
}

.mobile-menu__contact {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, .82);
}

.mobile-menu__contact .icon {
    color: var(--c-gold-light);
}

body.menu-open {
    overflow: hidden;
}

/* Hero (strona główna) ----------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding-block: calc(var(--header-h) + 3rem) clamp(2rem, 5vh, 3.5rem);
    overflow: hidden;
    color: #fff;
    background: var(--c-navy-2);
}

.hero__slides {
    position: absolute;
    inset: 0;
    z-index: -2;
    margin: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 1.8s ease;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 10s cubic-bezier(.2, .6, .3, 1);
}

.hero__slide.is-active img {
    transform: scale(1);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(9, 18, 27, .62) 0%, rgba(9, 18, 27, 0) 26%),
        linear-gradient(0deg, rgba(9, 18, 27, .88) 0%, rgba(9, 18, 27, .4) 42%, rgba(9, 18, 27, 0) 72%),
        linear-gradient(90deg, rgba(9, 18, 27, .5) 0%, rgba(9, 18, 27, 0) 62%);
}

.hero__content {
    max-width: 780px;
}

.hero h1 {
    margin-bottom: .32em;
    font-size: clamp(3rem, 8.4vw, 7.2rem);
    font-weight: 330;
    line-height: .96;
    letter-spacing: -.035em;
    color: #fff;
}

.hero__lead {
    max-width: 36rem;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, .88);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2.25rem;
}

.hero__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    margin-top: clamp(2.75rem, 8vh, 5rem);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2.25rem;
    list-style: none;
    font-size: .92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .88);
}

.hero__facts li {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

.hero__facts .icon {
    color: var(--c-gold-light);
}

.hero__dots {
    display: flex;
    flex-shrink: 0;
    gap: .4rem;
}

.hero__dot {
    position: relative;
    width: 44px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.hero__dot::before,
.hero__dot::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    height: 2px;
    border-radius: 2px;
}

.hero__dot::before {
    right: 0;
    background: rgba(255, 255, 255, .3);
}

.hero__dot::after {
    width: 0;
    background: #fff;
}

.hero__dot.is-active::after {
    width: 100%;
    transition: width var(--slide-duration, 6.5s) linear;
}

/* Hero podstron ------------------------------------------------------------ */
.page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(440px, 64vh, 640px);
    padding-block: calc(var(--header-h) + 3rem) clamp(2.75rem, 6vw, 4.5rem);
    overflow: hidden;
    color: #fff;
    background: var(--c-navy-2);
}

.page-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: hero-zoom 14s var(--ease-out) both;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(9, 18, 27, .5) 0%, rgba(9, 18, 27, .15) 55%, rgba(9, 18, 27, 0) 80%),
        linear-gradient(180deg, rgba(9, 18, 27, .62) 0%, rgba(9, 18, 27, .1) 34%),
        linear-gradient(0deg, rgba(9, 18, 27, .86) 0%, rgba(9, 18, 27, .3) 55%, rgba(9, 18, 27, .1) 100%);
}

.page-hero h1 {
    margin-bottom: .3em;
    font-size: clamp(2.7rem, 6.6vw, 5.4rem);
    font-weight: 330;
    line-height: 1;
    letter-spacing: -.03em;
    color: #fff;
}

.page-hero__lead {
    max-width: 40rem;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, .88);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.75rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
}

.breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

@keyframes hero-zoom {
    from {
        transform: scale(1.12);
    }

    to {
        transform: scale(1);
    }
}

/* Karty i siatki ----------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    list-style: none;
}

.card-grid--4 {
    --cols: 4;
}

.card-grid--2 {
    --cols: 2;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: clamp(1.6rem, 2.4vw, 2.1rem);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.card h3 {
    margin: .2rem 0 0;
    font-size: 1.45rem;
}

.card p {
    font-size: .97rem;
    line-height: 1.7;
    color: var(--c-muted);
}

.card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-gold-soft);
    color: var(--c-gold);
}

.card__icon .icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.5;
}

.card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card__label {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.card .card__value {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    line-height: 1.35;
    color: var(--c-ink);
    overflow-wrap: anywhere;
}

.card-grid--4 .card .card__value {
    font-size: 1.1rem;
}

.card__value a {
    text-decoration: none;
}

.card__value a:hover {
    color: var(--c-gold);
}

.card .link-arrow {
    margin-top: auto;
    padding-top: .5rem;
}

.card__tip {
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid var(--c-line);
}

.card__tip span {
    display: block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.card__tip strong {
    display: block;
    margin-top: .3rem;
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--c-ink);
}

@media (hover: hover) {
    .card--hover:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }
}

.distance {
    display: inline-flex;
    align-items: center;
    padding: .38rem .8rem;
    border-radius: 999px;
    background: var(--c-gold-soft);
    color: var(--c-gold-dark);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}

/* O pensjonacie ------------------------------------------------------------ */
.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.about__media {
    position: relative;
    padding: 0 14% 16% 0;
}

.about__main {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about__main img,
.about__small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 8px solid var(--c-sand);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about__badge {
    position: absolute;
    top: 2.5rem;
    left: -1.75rem;
    display: grid;
    place-content: center;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: var(--c-gold);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow);
}

.about__badge strong {
    font-family: var(--ff-display);
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 1;
}

.about__badge span {
    margin-top: .4rem;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2rem;
    margin: 2.5rem 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--c-line);
    list-style: none;
}

.stats--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats strong {
    display: block;
    font-family: var(--ff-display);
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--c-ink);
}

.stats span {
    display: block;
    margin-top: .35rem;
    font-size: .92rem;
    line-height: 1.5;
    color: var(--c-muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
}

/* Pokoje ------------------------------------------------------------------- */
.rooms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.4vw, 2rem);
    list-style: none;
}

.room-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.room-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--c-sand-2);
}

.room-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.room-card__ribbon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--c-ink);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.room-card__ribbon::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4f9a63;
    box-shadow: 0 0 0 3px rgba(79, 154, 99, .2);
}

.room-card__price {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: .65rem 1rem;
    border-radius: 16px;
    background: var(--c-ink);
    color: #fff;
    line-height: 1.1;
    text-align: right;
}

.room-card__price small {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

.room-card__price strong {
    font-family: var(--ff-display);
    font-size: 1.65rem;
    font-weight: 400;
}

.room-card__price span {
    font-size: .85rem;
    color: rgba(255, 255, 255, .75);
}

.room-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.6rem 1.6rem 1.75rem;
}

.room-card__type {
    margin: 0 0 .35rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.room-card h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2vw, 1.7rem);
}

.room-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
}

.room-card__features li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: var(--c-sand);
    font-size: .85rem;
    font-weight: 600;
}

.room-card__features .icon {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--c-gold);
}

.room-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
    padding-top: .25rem;
}

@media (hover: hover) {
    .room-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }

    .room-card:hover .room-card__media img {
        transform: scale(1.06);
    }
}

.note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin-top: 2rem;
    font-size: .95rem;
    text-align: center;
    color: var(--c-muted);
}

.note .icon {
    color: var(--c-gold);
}

.note a {
    font-weight: 700;
    color: var(--c-ink);
}

/* Udogodnienia ------------------------------------------------------------- */
.amenities-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.amenities-photo {
    position: relative;
    margin: 2.5rem 0 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.amenities-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amenities-photo figcaption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .95rem;
    border-radius: 999px;
    background: rgba(12, 27, 40, .72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
}

.amenities-photo figcaption .icon {
    color: var(--c-gold-light);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    height: 100%;
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--c-line-light);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
    transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.amenity__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(201, 188, 147, .14);
    color: var(--c-gold-light);
}

.amenity__icon .icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.5;
}

.amenity__label {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

@media (hover: hover) {
    .amenity:hover {
        border-color: rgba(201, 188, 147, .45);
        background: rgba(255, 255, 255, .07);
        transform: translateY(-2px);
    }
}

/* Galeria ------------------------------------------------------------------ */
.gallery-item {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--c-sand-2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease-out);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 18, 27, 0) 45%, rgba(9, 18, 27, .55));
    opacity: 0;
    transition: opacity .4s var(--ease);
}

.gallery-item__zoom {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--c-ink);
    opacity: 0;
    transform: translateY(8px) scale(.9);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.gallery-item:focus-visible {
    outline-offset: 4px;
}

@media (hover: hover) {
    .gallery-item:hover img {
        transform: scale(1.06);
    }

    .gallery-item:hover::after,
    .gallery-item:hover .gallery-item__zoom {
        opacity: 1;
    }

    .gallery-item:hover .gallery-item__zoom {
        transform: none;
    }
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(170px, 19vw, 270px));
    gap: clamp(.6rem, 1.2vw, 1rem);
    list-style: none;
}

.bento > :first-child {
    grid-row: span 2;
    grid-column: span 2;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .72rem 1.25rem;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    font-size: .92rem;
    font-weight: 700;
    color: var(--c-ink);
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}

.filter:hover {
    border-color: var(--c-ink);
}

.filter[aria-pressed="true"] {
    border-color: var(--c-ink);
    background: var(--c-ink);
    color: #fff;
}

.filter__count {
    font-size: .78rem;
    opacity: .55;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(.6rem, 1.4vw, 1.1rem);
    list-style: none;
}

.gallery-grid > li {
    aspect-ratio: 3 / 2;
    animation: fade-up .55s var(--ease) both;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Funkcja: duże zdjęcie + panel -------------------------------------------- */
.feature {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--c-navy);
    color: rgba(255, 255, 255, .8);
    box-shadow: var(--shadow-lg);
}

.feature__media {
    position: relative;
    min-height: 460px;
}

.feature__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.25rem, 5.5vw, 5rem);
}

.feature__body h2 {
    color: #fff;
}

.feature__body .lead {
    color: rgba(255, 255, 255, .78);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.75rem 0 2.25rem;
    list-style: none;
}

.tags li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .9rem;
    border: 1px solid var(--c-line-light);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    color: #fff;
}

.tags .icon {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--c-gold-light);
}

/* CTA ---------------------------------------------------------------------- */
.cta {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: clamp(440px, 48vw, 580px);
    padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: #fff;
    text-align: center;
    background: var(--c-navy);
}

.cta__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.cta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(9, 18, 27, .6), rgba(9, 18, 27, .86));
}

.cta h2 {
    max-width: 17ch;
    margin-inline: auto;
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 330;
    letter-spacing: -.03em;
    color: #fff;
}

.cta p {
    max-width: 36rem;
    margin-inline: auto;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .86);
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .85rem;
    margin-top: 2.25rem;
}

.cta__mail {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1.75rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, .82);
}

.cta__mail:hover {
    color: #fff;
    text-decoration: underline;
}

.cta .eyebrow::after {
    content: "";
    width: 2.25rem;
    height: 1px;
    background: currentColor;
    opacity: .7;
}

/* Treści podstron ---------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: stretch;
}

.split--wide-left {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.split--wide-right {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.split--center {
    align-items: center;
}

.panel {
    padding: clamp(1.75rem, 3.5vw, 3rem);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.panel h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.panel .actions {
    margin-top: 1.75rem;
}

.panel--dark {
    background: var(--c-navy);
    color: rgba(255, 255, 255, .8);
}

.panel--dark h2,
.panel--dark h3 {
    color: #fff;
}

.media-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    background: var(--c-sand-2);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.data-list {
    margin: 1.5rem 0 0;
}

.data-row {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .5rem 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-line);
}

.data-row:last-child {
    border-bottom: 0;
}

.data-row dt {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.data-row dd {
    margin: 0;
    font-weight: 700;
    color: var(--c-ink);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .85rem;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: transparent;
    font-size: .78rem;
    font-weight: 700;
    color: var(--c-ink);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .25s, border-color .25s, color .25s;
}

.copy-btn .icon {
    width: 1rem;
    height: 1rem;
}

.copy-btn:hover {
    border-color: var(--c-ink);
}

.copy-btn.is-copied {
    border-color: #9cc3a3;
    background: #e9f3eb;
    color: #2e6a3b;
}

.map-frame {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--c-sand-2);
    box-shadow: var(--shadow-sm);
}

.map-frame--tall {
    min-height: clamp(440px, 62vh, 660px);
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.check-list {
    display: grid;
    gap: .85rem;
    margin: 1.5rem 0 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
}

.check-list .icon {
    margin-top: .2rem;
    color: var(--c-gold);
}

.check-list strong {
    display: block;
    color: var(--c-ink);
}

.panel--dark .check-list strong {
    color: #fff;
}

.panel--dark .check-list .icon {
    color: var(--c-gold-light);
}

/* Rezerwacja */
.price-list {
    display: grid;
    gap: .2rem;
    margin-top: .25rem;
    list-style: none;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .35rem 0;
    border-bottom: 1px dashed var(--c-line);
    font-size: .95rem;
}

.price-list li:last-child {
    border-bottom: 0;
}

.price-list strong {
    white-space: nowrap;
    color: var(--c-ink);
}

.booking-frame {
    padding: clamp(.75rem, 2vw, 1.5rem);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}

.booking-frame__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: .75rem .75rem 1.25rem;
    border-bottom: 1px solid var(--c-line);
}

.booking-frame__head h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.booking-frame iframe {
    display: block;
    width: 100%;
    min-height: 700px;
    border: 0;
}

.booking-info {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Pobierowo */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1.15rem;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    font-size: .95rem;
    font-weight: 600;
    color: var(--c-ink);
}

.chip .icon {
    color: var(--c-gold);
}

.route {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 clamp(2.5rem, 5vw, 4rem);
    list-style: none;
}

.route::before {
    content: "";
    position: absolute;
    top: 11px;
    right: calc(100% / 12);
    left: calc(100% / 12);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-gold) 0 8px, transparent 8px 15px);
    opacity: .7;
}

.route__stop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    text-align: center;
}

.route__dot {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    margin-bottom: .75rem;
    border: 2px solid var(--c-gold);
    border-radius: 50%;
    background: var(--c-sand);
}

.route__stop.is-here .route__dot {
    background: var(--c-gold);
    box-shadow: 0 0 0 7px rgba(122, 114, 86, .18);
}

.route__stop strong {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--c-ink);
}

.route__stop span {
    font-size: .86rem;
    color: var(--c-muted);
}

.route__stop.is-here span {
    font-weight: 700;
    color: var(--c-gold);
}

.small-print {
    margin-top: 1.5rem;
    font-size: .88rem;
    color: var(--c-muted);
}

.link-cards {
    display: grid;
    gap: 1rem;
    list-style: none;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    height: 100%;
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: #fff;
    text-decoration: none;
    transition: border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
}

.link-card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-gold-soft);
    color: var(--c-gold);
}

.link-card strong {
    display: block;
    color: var(--c-ink);
}

.link-card small {
    display: block;
    font-size: .9rem;
    color: var(--c-muted);
}

.link-card > .icon:last-child {
    margin-left: auto;
    color: var(--c-gold);
}

.link-card:hover {
    border-color: var(--c-gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* 404 */
.error-page {
    display: grid;
    place-items: center;
    min-height: 70vh;
    padding-block: calc(var(--header-h) + 4rem) 5rem;
    text-align: center;
}

.error-page__code {
    margin-bottom: 1.5rem;
    font-family: var(--ff-display);
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--c-gold);
}

.error-page .actions {
    justify-content: center;
    margin-top: 2rem;
}

/* Stopka ------------------------------------------------------------------- */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: clamp(4rem, 8vw, 6.5rem);
    font-size: .97rem;
    color: rgba(255, 255, 255, .7);
    background: var(--c-navy-2);
}

.site-footer__waves {
    position: absolute;
    top: -4rem;
    right: -6rem;
    width: 34rem;
    height: 34rem;
    color: #fff;
    opacity: .04;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.2;
    stroke-linecap: round;
    pointer-events: none;
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 1fr .9fr 1.15fr;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.footer-brand__logo {
    display: inline-block;
}

.footer-brand__logo img {
    width: auto;
    height: 42px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 22rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-top: 1.5rem;
    border: 1px solid var(--c-line-light);
    border-radius: 50%;
    color: #fff;
    transition: background-color .25s, border-color .25s;
}

.social-link:hover {
    border-color: var(--c-gold);
    background: var(--c-gold);
}

.footer-title {
    margin: 0 0 1.25rem;
    font-family: var(--ff-body);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .22em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--c-gold-light);
}

.footer-list {
    display: grid;
    gap: .55rem;
    list-style: none;
}

.footer-list a {
    text-decoration: none;
    color: rgba(255, 255, 255, .86);
    transition: color .2s;
}

.footer-list a:hover {
    color: var(--c-gold-light);
}

.footer-booking__phone {
    display: inline-block;
    margin-bottom: .6rem;
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
}

.footer-booking__phone:hover {
    color: var(--c-gold-light);
}

.footer-booking .btn {
    margin-top: 1.25rem;
}

.footer-bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 2rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding-block: 1.75rem;
    border-top: 1px solid var(--c-line-light);
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
}

.footer-bottom p {
    margin: 0;
}

/* Pasek mobilny ------------------------------------------------------------ */
.mobile-bar {
    position: fixed;
    right: .75rem;
    bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    left: .75rem;
    z-index: 50;
    display: none;
    grid-template-columns: auto 1fr;
    gap: .5rem;
    padding: .45rem;
    border-radius: 999px;
    background: rgba(12, 27, 40, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
    transform: translateY(calc(100% + 2rem));
    transition: transform .5s var(--ease-out);
}

.mobile-bar.is-visible {
    transform: none;
}

.menu-open .mobile-bar {
    transform: translateY(calc(100% + 2rem));
}

.mobile-bar__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.2rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

.mobile-bar__call .icon {
    color: var(--c-gold-light);
}

.mobile-bar__book {
    padding-block: .9rem;
}

/* Lightbox ----------------------------------------------------------------- */
.lightbox {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: #fff;
    background: rgba(8, 14, 20, .97);
}

.lightbox[open] {
    display: flex;
    flex-direction: column;
    animation: fade .3s var(--ease);
}

.lightbox::backdrop {
    background: rgba(8, 14, 20, .6);
}

.lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1rem, 3vw, 2rem);
}

.lightbox__counter {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .12em;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, .75);
}

.lightbox__close,
.lightbox__nav {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer;
    transition: background-color .25s, border-color .25s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .16);
}

.lightbox__stage {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0 clamp(1rem, 7vw, 6.5rem) clamp(1rem, 3vw, 2rem);
    touch-action: pan-y;
}

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    margin: 0;
}

.lightbox__img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 11rem);
    max-height: calc(100dvh - 11rem);
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
    transition: opacity .3s var(--ease);
}

.lightbox__img.is-loading {
    opacity: .2;
}

.lightbox__caption {
    font-size: .95rem;
    text-align: center;
    color: rgba(255, 255, 255, .78);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: clamp(.5rem, 2vw, 1.5rem);
}

.lightbox__nav--next {
    right: clamp(.5rem, 2vw, 1.5rem);
}

.lightbox.is-single .lightbox__nav,
.lightbox.is-single .lightbox__counter {
    visibility: hidden;
}

html:has(.lightbox[open]) {
    overflow: hidden;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Animacje wejścia --------------------------------------------------------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Responsywność ------------------------------------------------------------ */
@media (max-width: 1279px) {
    .header-phone span {
        display: none;
    }

    .nav a {
        padding-inline: .7rem;
    }

    .nav a::after {
        right: .7rem;
        left: .7rem;
    }
}

@media (max-width: 1199px) {
    .card-grid--4 {
        --cols: 2;
    }
}

@media (max-width: 1099px) {
    .stats--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    :root {
        --header-h: 76px;
    }

    .nav {
        display: none;
    }

    .nav-toggle {
        display: inline-block;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-phone {
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid currentColor;
        border-radius: 50%;
        opacity: .9;
    }

    .brand img {
        height: 36px;
    }

    .is-scrolled .brand img {
        height: 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid {
        --cols: 2;
    }
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none;
    }
}

@media (max-width: 899px) {
    .about,
    .amenities-layout,
    .feature,
    .split,
    .split--wide-left,
    .split--wide-right {
        grid-template-columns: minmax(0, 1fr);
    }

    .about__media {
        max-width: 560px;
    }

    .feature__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .rooms {
        grid-template-columns: none;
        grid-auto-columns: min(84%, 380px);
        grid-auto-flow: column;
        margin-inline: calc(var(--gutter) * -1);
        padding: .5rem var(--gutter) 1.25rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .rooms::-webkit-scrollbar {
        display: none;
    }

    .rooms > li {
        scroll-snap-align: start;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .route {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .route::before {
        top: 22px;
        right: auto;
        bottom: 22px;
        left: 11px;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, var(--c-gold) 0 8px, transparent 8px 15px);
    }

    .route__stop {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: .7rem 0;
        text-align: left;
    }

    .route__dot {
        flex-shrink: 0;
        margin: 0;
    }

    .route__stop span {
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .bento {
        grid-template-rows: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: clamp(140px, 38vw, 230px);
    }

    .bento > :first-child {
        grid-row: span 1;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(9, 18, 27, .75) 0%, rgba(9, 18, 27, .6) 22%, rgba(9, 18, 27, .58) 50%, rgba(9, 18, 27, .9) 100%);
    }

    .hero h1,
    .hero__lead,
    .hero .eyebrow {
        text-shadow: 0 1px 18px rgba(9, 18, 27, .55);
    }

    .hero__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem 1rem;
        font-size: .86rem;
    }

    .hero__facts li {
        align-items: flex-start;
    }

    .mobile-bar {
        display: grid;
    }

    .site-footer {
        padding-bottom: 5rem;
    }

    .lightbox__stage {
        padding: 0 .75rem 5.75rem;
    }

    .lightbox__nav {
        top: auto;
        bottom: 1.25rem;
        transform: none;
    }

    .lightbox__nav--prev {
        left: calc(50% - 64px);
    }

    .lightbox__nav--next {
        right: calc(50% - 64px);
    }
}

@media (max-width: 599px) {
    .card-grid,
    .card-grid--2,
    .card-grid--4 {
        --cols: 1;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-cta {
        display: none;
    }

    .about__badge {
        left: -.5rem;
        width: 112px;
        height: 112px;
    }

    .about__badge strong {
        font-size: 2.15rem;
    }

    .stats,
    .stats--4 {
        gap: 1.5rem 1.25rem;
    }

    .data-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .data-row dt {
        grid-column: 1 / -1;
    }

    .booking-frame {
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: 0;
        border-radius: 0;
    }

    .booking-frame__head {
        padding-inline: var(--gutter);
    }

    .amenities-grid {
        gap: .75rem;
    }

    .amenity {
        flex-direction: column;
        align-items: flex-start;
        gap: .85rem;
        padding: 1.15rem;
    }

    .amenity__label {
        font-size: .95rem;
    }

    .hero__actions .btn,
    .cta__actions .btn {
        flex: 1 1 100%;
    }

    .note {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .note .icon {
        flex-shrink: 0;
        margin-top: .2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
