/* Hotel Quay – onepage. Ciepły, rzeczowy styl hotelowy. */

/* Onest (SIL Open Font License) – hostowana lokalnie, czcionka zmienna 400–700 */
@font-face {
    font-family: "Onest";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/onest-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: "Onest";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/onest-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;
}

:root {
    --paper: #f7f4ef;
    --paper-2: #eee8df;
    --card: #ffffff;
    --ink: #211a15;
    --ink-2: #3a2f27;
    --muted: #776a5f;
    --line: rgba(33, 26, 21, .12);
    --amber: #b8752a;
    --amber-2: #d9a35b;
    --amber-soft: #f1dfc3;
    --espresso: #1c1612;
    --ok: #2f6b45;
    --err: #a23a2c;

    --sans: "Onest", "Segoe UI", Helvetica, Arial, sans-serif;

    --r-lg: 28px;
    --r-md: 18px;
    --r-sm: 10px;
    --shadow: 0 1px 2px rgba(33, 26, 21, .05), 0 18px 50px -20px rgba(33, 26, 21, .25);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber-soft); color: var(--ink); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.2; font-weight: 700; }
h3 { font-weight: 600; font-size: 20px; letter-spacing: -.01em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--card); padding: 10px 18px; border-radius: 8px; }
.skip-link:focus { left: 12px; top: 12px; }

.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Typografia sekcji ---------- */
.display {
    position: relative;
    font-weight: 700;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 14px;
    padding-top: 22px;
}
.display::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 4px; border-radius: 2px; background: var(--amber); }
.display.light { color: #fff; }
.display.small { font-size: clamp(26px, 2.6vw, 34px); }
.section-sub { margin: 0; font-size: 18px; color: var(--muted); }
.section-booking .section-sub, .section-booking p { color: rgba(255, 255, 255, .75); }

.section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ---------- Przyciski ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
    padding: 15px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
    white-space: nowrap;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 10px 30px -12px rgba(184, 117, 42, .8); }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-pill { padding: 11px 22px; background: #fff; color: var(--ink); }
.btn-pill:hover { background: var(--amber); color: #fff; }

/* ---------- Nagłówek ---------- */
.site-header {
    position: fixed; z-index: 100;
    top: 14px; left: 0; right: 0;
    padding: 0 28px;
    transition: top .4s var(--ease);
}
.header-inner {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; gap: 28px;
    padding: 10px 12px 10px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header.is-scrolled { top: 10px; }
.site-header.is-scrolled .header-inner {
    background: rgba(24, 18, 14, .9);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.logo img { height: 44px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .logo img { height: 36px; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a {
    display: block; padding: 8px 14px; border-radius: 999px;
    font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .86);
    transition: color .25s, background .25s;
}
.main-nav a:hover, .main-nav a.is-current { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-phone { display: none !important; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 12px; background: var(--paper); }
.hero-frame {
    position: relative;
    height: calc(100svh - 24px);
    min-height: 620px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--espresso);
    isolation: isolate;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); z-index: 0; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s linear; }
.hero-slide.is-active img { transform: scale(1.0); }
.hero-frame::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(20, 15, 11, .55) 0%, rgba(20, 15, 11, 0) 28%),
        linear-gradient(20deg, rgba(20, 15, 11, .85) 0%, rgba(20, 15, 11, .35) 45%, rgba(20, 15, 11, 0) 70%);
}

.hero-content {
    position: absolute; z-index: 2;
    left: clamp(24px, 5vw, 72px); bottom: clamp(90px, 12vh, 130px);
    max-width: 760px; color: #fff;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0 0 18px;
    font-size: 16px; font-weight: 500;
    color: rgba(255, 255, 255, .9);
}
.eyebrow .ico { color: var(--amber-2); }
.hero-title {
    font-weight: 700;
    font-size: clamp(38px, 5.6vw, 72px);
    line-height: 1.06; letter-spacing: -.025em;
    color: #fff; margin: 0 0 20px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 560px; color: rgba(255, 255, 255, .85); margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
    position: absolute; z-index: 2;
    right: clamp(20px, 4vw, 56px); bottom: clamp(90px, 12vh, 130px);
    display: grid; gap: 2px;
    padding: 22px 26px;
    min-width: 210px;
    border-radius: var(--r-md);
    background: rgba(255, 253, 249, .9);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
    color: var(--ink);
}
.hero-card-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-card-price { font-size: 48px; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: var(--ink); }
.hero-card-price small { font-size: 20px; font-weight: 600; letter-spacing: 0; color: var(--amber); }
.hero-card-note { font-size: 14px; color: var(--muted); }

.hero-progress {
    position: absolute; z-index: 3;
    left: clamp(24px, 5vw, 72px); bottom: 36px;
    display: flex; gap: 18px;
}
.hero-progress button {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; background: none; border: 0; cursor: pointer;
    color: rgba(255, 255, 255, .55); font: 600 12px/1 var(--sans); letter-spacing: .1em;
}
.hero-progress i { position: relative; display: block; width: 70px; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; border-radius: 2px; }
.hero-progress i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-progress button.is-active { color: #fff; }
.hero-progress button.is-active i::after { animation: progress 6.5s linear forwards; }
.hero-progress.is-paused button.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }

/* Wejście hero – sekwencja z opóźnieniami */
.hero-anim { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; }
.hero-anim[data-delay="1"] { animation-delay: .15s; }
.hero-anim[data-delay="2"] { animation-delay: .3s; }
.hero-anim[data-delay="3"] { animation-delay: .45s; }
.hero-anim[data-delay="4"] { animation-delay: .6s; }
.hero-anim[data-delay="5"] { animation-delay: .85s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Pasek udogodnień ---------- */
.features-strip { padding: 26px 0; border-bottom: 1px solid var(--line); }
.features-strip ul { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.features-strip li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--ink); }
.features-strip .ico { width: 22px; height: 22px; color: var(--amber); }

/* ---------- Informacje ---------- */
.info-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.lead { font-size: 21px; line-height: 1.55; color: var(--ink); }
.signature { font-size: 19px; font-weight: 600; color: var(--amber); margin: 22px 0 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 44px 0 0; border-top: 1px solid var(--line); }
.stats > div { padding: 22px 18px 0 0; }
.stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stats dt small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--amber); margin-left: 3px; }
.stats dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

.info-collage { position: relative; padding: 0 0 70px 50px; }
.info-collage figure { margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.collage-main { aspect-ratio: 4 / 5; }
.collage-main img, .collage-small img { width: 100%; height: 100%; object-fit: cover; }
.collage-small {
    position: absolute; left: 0; bottom: 0;
    width: 46%; aspect-ratio: 1;
    border: 8px solid var(--paper);
    border-radius: var(--r-md) !important;
}

/* ---------- Udogodnienia (bento) ---------- */
.section-amenities { background: var(--paper-2); border-radius: var(--r-lg); margin: 0 12px; }
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-item {
    position: relative; overflow: hidden;
    padding: 34px 30px 30px;
    border-radius: var(--r-md);
    background: var(--card);
    border: 1px solid var(--line);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.bento-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.bento-item::after {
    content: ""; position: absolute; right: -60px; top: -60px;
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, var(--amber-soft), transparent 70%);
    opacity: 0; transition: opacity .45s var(--ease);
}
.bento-item:hover::after { opacity: 1; }
.bento-ico {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    width: 58px; height: 58px; margin-bottom: 26px;
    border-radius: 16px;
    background: var(--paper); color: var(--amber);
    font-size: 26px;
    transition: background .45s var(--ease), color .45s var(--ease);
}
.bento-item:hover .bento-ico { background: var(--amber); color: #fff; }
.bento-item h3, .bento-item p { position: relative; z-index: 1; }
.bento-item p { margin: 0; color: var(--muted); font-size: 16px; }
.bento-item:first-child { grid-row: span 2; background: var(--ink); border-color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; }
.bento-item:first-child h3 { color: #fff; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.bento-item:first-child p { color: rgba(255, 255, 255, .7); font-size: 18px; }
.bento-item:first-child .bento-ico { background: rgba(255, 255, 255, .08); color: var(--amber-2); margin-bottom: auto; }
.bento-item:first-child::after { background: radial-gradient(circle, rgba(217, 163, 91, .35), transparent 70%); opacity: 1; width: 320px; height: 320px; right: -120px; top: auto; bottom: -120px; }

/* ---------- Cennik ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 38px 34px 34px;
    border-radius: var(--r-lg);
    background: var(--card);
    border: 1px solid var(--line);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-persons { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.price-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin: 0 0 26px; padding-bottom: 26px; border-bottom: 1px dashed var(--line); font-weight: 600; font-size: 20px; color: var(--ink); }
.price-amount span { font-weight: 700; font-size: 60px; line-height: 1; letter-spacing: -.04em; }
.price-amount sup { color: var(--amber); }
.price-amount small { margin-left: auto; font-size: 15px; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; margin: 0 0 30px; padding: 0; flex: 1; }
.price-card li { position: relative; padding: 7px 0 7px 28px; font-size: 16px; }
.price-card li::before {
    content: ""; position: absolute; left: 2px; top: 14px;
    width: 11px; height: 6px;
    border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
    transform: rotate(-45deg);
}
.price-card .btn { width: 100%; }
.price-card.is-featured { background: var(--ink); color: rgba(255, 255, 255, .8); border-color: var(--ink); transform: translateY(-14px); }
.price-card.is-featured:hover { transform: translateY(-20px); }
.price-card.is-featured h3, .price-card.is-featured .price-amount { color: #fff; }
.price-card.is-featured .price-amount { border-color: rgba(255, 255, 255, .15); }
.price-card.is-featured .price-persons { color: var(--amber-2); }
.price-tag {
    position: absolute; top: 22px; right: 22px;
    padding: 6px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 600; letter-spacing: .06em;
    background: var(--amber); color: #fff;
}
.price-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 34px; font-size: 15px; color: var(--muted); }
.price-foot p { margin: 0; font-style: italic; }
.doc-link {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px; border-radius: 999px;
    border: 1px solid var(--line); color: var(--ink); font-weight: 600;
}
.doc-link .ico { color: var(--amber); }
.doc-link:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- Galeria ---------- */
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--paper-2); }
.tabs button {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border: 0; border-radius: 999px; cursor: pointer;
    font: 600 15px/1 var(--sans); color: var(--muted); background: transparent;
    transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.tabs button span { font-size: 12px; padding: 3px 7px; border-radius: 999px; background: rgba(33, 26, 21, .07); }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(33, 26, 21, .3); }
.tabs button[aria-selected="true"] span { background: var(--amber); color: #fff; }
html:not(.js) .tabs { display: none; }

.gallery-title { font-size: 24px; margin: 40px 0 20px; }
.js .gallery-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gallery-panel[hidden] { display: none; }
.gallery-panel.is-entering .gallery-item { animation: rise .7s var(--ease) both; }
.gallery-panel.is-entering .gallery-item:nth-child(2) { animation-delay: .05s; }
.gallery-panel.is-entering .gallery-item:nth-child(3) { animation-delay: .1s; }
.gallery-panel.is-entering .gallery-item:nth-child(4) { animation-delay: .15s; }
.gallery-panel.is-entering .gallery-item:nth-child(5) { animation-delay: .2s; }
.gallery-panel.is-entering .gallery-item:nth-child(6) { animation-delay: .25s; }
.gallery-panel.is-entering .gallery-item:nth-child(n+7) { animation-delay: .3s; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--paper-2); }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .9s var(--ease); }
.gallery-item::after {
    content: "+"; position: absolute; right: 14px; top: 14px;
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 253, 249, .92); color: var(--ink);
    font-size: 22px; font-weight: 400;
    transform: scale(.6); opacity: 0;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.gallery-caption {
    position: absolute; left: 14px; bottom: 14px;
    padding: 7px 14px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--ink);
    background: rgba(255, 253, 249, .92);
    transform: translateY(12px); opacity: 0;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after,
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { transform: none; opacity: 1; }

/* ---------- Rezerwacja ---------- */
.section-booking {
    margin: 0 12px;
    border-radius: var(--r-lg);
    background:
        radial-gradient(900px 500px at 10% 0%, rgba(184, 117, 42, .28), transparent 60%),
        radial-gradient(700px 500px at 100% 100%, rgba(217, 163, 91, .14), transparent 60%),
        var(--espresso);
    color: rgba(255, 255, 255, .78);
    overflow: hidden;
}
.booking-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.booking-intro p { font-size: 18px; max-width: 420px; }
.booking-contacts { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 10px; }
.booking-contacts li { display: flex; align-items: center; gap: 14px; }
.booking-contacts .ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--amber-2); }
.booking-contacts a { color: #fff; font-size: 20px; font-weight: 500; }
.booking-contacts a:hover { color: var(--amber-2); }
.booking-box { background: var(--card); border-radius: var(--r-md); padding: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.booking-box iframe { display: block; width: 100%; height: 760px; border: 0; border-radius: var(--r-sm); }

/* ---------- Kontakt ---------- */
.contact-card { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-info {
    padding: clamp(32px, 4vw, 52px);
    background:
        radial-gradient(500px 300px at 0% 100%, rgba(184, 117, 42, .35), transparent 70%),
        var(--ink);
    color: rgba(255, 255, 255, .8);
}
.contact-info h3 { color: #fff; font-size: 14px; letter-spacing: .2em; margin-bottom: 30px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 18px; line-height: 1.45; }
.contact-list .ico { width: 42px; height: 42px; padding: 11px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--amber-2); }
.contact-list small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--amber-2); }

.contact-form { padding: clamp(32px, 4vw, 52px); display: grid; gap: 16px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea {
    width: 100%;
    font: inherit; font-size: 16px; color: var(--ink);
    padding: 26px 18px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field label {
    position: absolute; left: 19px; top: 18px;
    font-size: 16px; color: var(--muted);
    pointer-events: none; transform-origin: left top;
    transition: transform .25s var(--ease), color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: var(--card); box-shadow: 0 0 0 4px rgba(184, 117, 42, .12); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: var(--amber); }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-info { margin: 0; max-width: 300px; font-size: 14px; color: var(--muted); }
.alert { padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; }
.alert-success { background: #e7f2ea; color: var(--ok); }
.alert-error { background: #f8e6e2; color: var(--err); }

.map { margin-top: 18px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.35) sepia(.15) contrast(1.02); }

/* ---------- RODO ---------- */
.section-rodo { padding-top: 40px; }
.rodo-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary {
    position: relative; list-style: none; cursor: pointer;
    padding: 20px 50px 20px 0;
    font-weight: 600; font-size: 18px; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
    content: "+"; position: absolute; right: 4px; top: 50%;
    display: grid; place-items: center;
    width: 32px; height: 32px; margin-top: -16px;
    border-radius: 50%; border: 1px solid var(--line);
    font-weight: 400; font-size: 20px; color: var(--amber);
    transition: transform .3s var(--ease), background .3s;
}
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--amber-soft); }
.accordion p, .accordion ul { margin: 0 0 22px; color: var(--muted); max-width: 640px; }
.accordion ul { padding-left: 20px; }

/* ---------- Stopka ---------- */
.site-footer { margin: 0 12px 12px; padding: 70px 0 30px; border-radius: var(--r-lg); background: var(--espresso); color: rgba(255, 255, 255, .6); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { height: 56px; width: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 34px 0; font-size: 16px; }
.footer-cols p { margin: 0; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--amber-2); }
.footer-copy { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .4); }

.go-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: grid; place-items: center;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--ink); color: #fff;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .3s;
}
.go-top .ico { transform: rotate(-90deg); font-size: 20px; }
.go-top:hover { background: var(--amber); color: #fff; }
.go-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(20, 15, 11, .94); backdrop-filter: blur(6px); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade .3s var(--ease); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 86vw; max-height: 80vh; margin: 0 auto; border-radius: var(--r-sm); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { display: flex; justify-content: center; gap: 16px; margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.lb-count { color: var(--amber-2); font-weight: 600; letter-spacing: .08em; }
.lightbox button {
    position: absolute; display: grid; place-items: center;
    width: 54px; height: 54px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
    color: #fff; cursor: pointer; font-size: 30px; line-height: 1;
    transition: background .3s, color .3s;
}
.lightbox button:hover, .lightbox button:focus-visible { background: #fff; color: var(--ink); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; margin-top: -27px; }
.lb-next { right: 22px; top: 50%; margin-top: -27px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Animacje przy przewijaniu ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .bento-item.reveal[data-i="1"], .js .price-card.reveal:nth-child(2) { transition-delay: .08s; }
.js .bento-item.reveal[data-i="2"], .js .price-card.reveal:nth-child(3) { transition-delay: .16s; }
.js .bento-item.reveal[data-i="3"] { transition-delay: .24s; }
.js .bento-item.reveal[data-i="4"] { transition-delay: .32s; }
.js .bento-item.reveal[data-i="5"] { transition-delay: .4s; }
.js .price-card.is-featured.reveal.is-visible { transform: translateY(-14px); }
.js .price-card.is-featured.reveal.is-visible:hover { transform: translateY(-20px); }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
    .header-inner { gap: 14px; }
    .menu-toggle {
        display: block; position: relative; z-index: 2;
        width: 46px; height: 46px; border-radius: 50%;
        background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); cursor: pointer;
    }
    .menu-toggle-bar, .menu-toggle-bar::before, .menu-toggle-bar::after {
        position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: #fff; content: "";
        transition: transform .35s var(--ease), top .35s var(--ease), background .2s;
    }
    .menu-toggle-bar { top: 21px; }
    .menu-toggle-bar::before { left: 0; top: -6px; }
    .menu-toggle-bar::after { left: 0; top: 6px; }
    .menu-toggle[aria-expanded="true"] .menu-toggle-bar { background: transparent; }
    .menu-toggle[aria-expanded="true"] .menu-toggle-bar::before { top: 0; transform: rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle-bar::after { top: 0; transform: rotate(-45deg); }
    .header-cta { margin-left: auto; }

    .main-nav {
        position: fixed; inset: 0; z-index: 1;
        flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px;
        padding: 100px 36px 40px;
        background: var(--espresso);
        clip-path: circle(0 at calc(100% - 52px) 40px);
        visibility: hidden;
        transition: clip-path .7s var(--ease), visibility 0s linear .7s;
    }
    .main-nav.is-open { clip-path: circle(150% at calc(100% - 52px) 40px); visibility: visible; transition: clip-path .7s var(--ease); }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav ul a { padding: 6px 0; font-size: 30px; font-weight: 600; letter-spacing: -.01em; color: #fff; background: none !important; }
    .main-nav ul a:hover, .main-nav ul a.is-current { color: var(--amber-2); }
    .nav-phone { display: inline-flex !important; align-items: center; gap: 10px; color: var(--amber-2) !important; font-size: 18px !important; padding: 0 !important; background: none !important; }
    .site-header { padding: 0 14px; }
    .header-inner { padding-left: 18px; }
    .site-header:has(.main-nav.is-open) .header-inner { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
    .logo { position: relative; z-index: 2; }

    .info-grid, .booking-grid, .contact-card, .rodo-grid { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-item:first-child { grid-row: auto; grid-column: span 2; min-height: 260px; }
    .price-grid { grid-template-columns: 1fr; max-width: 520px; }
    .price-card.is-featured, .js .price-card.is-featured.reveal.is-visible { transform: none; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .hero { padding: 8px; }
    /* Na telefonie treść hero płynie w normalnym układzie pod nagłówkiem – na niskich ekranach
       ramka rośnie zamiast wpychać tekst pod logo. */
    .hero-frame {
        display: flex; flex-direction: column; justify-content: flex-end;
        height: auto; min-height: calc(100svh - 16px);
        padding: 108px 22px 26px;
        border-radius: 22px;
    }
    .hero-frame::after {
        background:
            linear-gradient(180deg, rgba(20, 15, 11, .5) 0%, rgba(20, 15, 11, 0) 22%),
            linear-gradient(0deg, rgba(20, 15, 11, .92) 0%, rgba(20, 15, 11, .7) 45%, rgba(20, 15, 11, .15) 75%);
    }
    .go-top { width: 44px; height: 44px; right: 14px; bottom: 14px; }
    .hero-content { position: relative; left: auto; right: auto; bottom: auto; }
    .hero-title { font-size: clamp(32px, 9vw, 40px); margin-bottom: 14px; }
    .hero-lead { font-size: 16px; margin-bottom: 24px; }
    .hero-actions .btn { padding: 13px 22px; }
    .hero-card { position: relative; right: auto; bottom: auto; align-self: flex-start; margin-top: 22px; padding: 12px 18px; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
    .hero-card-price { font-size: 34px; }
    .hero-card-note { display: none; }
    .hero-progress { position: relative; left: auto; bottom: auto; margin-top: 20px; }
    .hero-progress i { width: 44px; }
    .header-cta { display: none; }
    .menu-toggle { margin-left: auto; }
    .logo img, .is-scrolled .logo img { height: 34px; }

    .section-amenities, .section-booking { margin: 0 8px; border-radius: 22px; }
    .site-footer { margin: 0 8px 8px; border-radius: 22px; }
    .stats dt { font-size: 40px; }
    .info-collage { padding: 0 0 50px 30px; }
    .features-strip ul { justify-content: flex-start; }
    .features-strip li { font-size: 15px; }
    .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
    .bento-item { padding: 20px 18px; }
    .bento-item:first-child { min-height: 0; padding: 26px 22px; }
    .bento-item:first-child h3 { font-size: 24px; }
    .bento-ico { width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; font-size: 21px; }
    .bento-item h3 { font-size: 17px; margin-bottom: 4px; }
    .bento-item p { font-size: 14px; line-height: 1.45; }
    .bento-item:first-child .bento-ico { margin-bottom: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
    .tabs { width: 100%; }
    .tabs button { flex: 1; justify-content: center; padding: 11px 10px; font-size: 14px; }
    .booking-box { padding: 6px; }
    .booking-box iframe { height: 900px; }
    .map iframe { height: 320px; }
    .footer-cols { grid-template-columns: 1fr; gap: 16px; }
    .lb-prev, .lb-next { top: auto; bottom: 22px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero-anim { opacity: 1; transform: none; }
}
