/* Camper Vatnik — wypożyczalnia kamperów */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/pf-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/pf-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: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(../fonts/pf-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(../fonts/pf-italic-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 {
  --sea-900: #08313c;
  --sea-800: #0b3d4a;
  --sea-700: #0f4c5c;
  --sea-500: #1b7f8c;
  --sea-300: #7cc4c9;
  --sea-100: #e1f1f1;
  --sand-50: #fcf9f4;
  --sand-100: #f5eee2;
  --sand-200: #ebdfcb;
  --terra: #e07a5f;
  --terra-600: #c95f43;
  --lemon: #f2b84b;
  --lemon-100: #fbefd2;
  --olive: #6b8f4e;
  --ink: #1d2a33;
  --muted: #5f6b76;
  --line: #e6dccb;
  --white: #fff;
  --danger: #b4412e;
  --ok: #2f7d5b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 40, 50, .05), 0 12px 32px rgba(15, 40, 50, .08);
  --shadow-lg: 0 24px 60px rgba(8, 49, 60, .18);
  --wrap: 1180px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--sand-50); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-700); }
a:hover { color: var(--terra-600); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--sea-900); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 12px; z-index: 200; background: #fff; padding: 8px 12px; border-radius: 8px; }
[hidden] { display: none !important; }
.fine { font-size: .85rem; color: var(--muted); }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-600); margin-bottom: 10px; }
.center { text-align: center; }

/* ---------- Widoki ---------- */
.view { display: none; }
body[data-view="home"] .view-home,
body[data-view="account"] .view-account,
body[data-view="admin"] .view-admin { display: block; }
body:not([data-view="home"]) .topbar { background: var(--sea-800); }

/* ---------- Pasek górny ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .3s, box-shadow .3s; }
.topbar.solid { background: rgba(8, 49, 60, .92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo-mark { width: 40px; height: 40px; color: #fff; }
.logo-text { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: .01em; }
.logo-text em { font-style: italic; color: var(--lemon); font-weight: 500; }
.logo-text.light { color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav a.active { color: #fff; background: rgba(255, 255, 255, .16); }
.nav .nav-account { background: var(--lemon); color: var(--sea-900); margin-left: 6px; }
.nav .nav-account:hover { background: #f6c868; color: var(--sea-900); }
.nav .nav-admin { border: 1px solid rgba(255, 255, 255, .35); }
.only-admin { display: none !important; }
body.is-admin .only-admin { display: inline-flex !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative; content: ""; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--sea-800); padding: 12px 16px 20px; gap: 4px; transform: translateY(-120%); transition: transform .25s; box-shadow: 0 20px 30px rgba(0, 0, 0, .2); }
  .nav.open { transform: none; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav .nav-account { margin: 6px 0 0; text-align: center; justify-content: center; }
}

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-sun { background: var(--lemon); color: var(--sea-900); box-shadow: 0 10px 30px rgba(242, 184, 75, .35); }
.btn-sun:hover { background: #f6c868; color: var(--sea-900); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-600); color: #fff; }
.btn-sea { background: var(--sea-700); color: #fff; }
.btn-sea:hover { background: var(--sea-800); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-ghost { background: transparent; color: var(--sea-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sea-700); color: var(--sea-800); }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-danger { background: transparent; color: var(--danger); border-color: #ecc8bf; }
.btn-danger:hover { background: #fbeae6; color: var(--danger); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--sea-800); }
.icon-btn:hover { border-color: var(--sea-500); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; color: #fff; background: #7fb2d3; }
.hero-canvas { position: absolute; inset: 0; }
.hero-canvas canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.hero-canvas canvas:active { cursor: grabbing; }
.hero-fallback { position: absolute; inset: 0; background: url(../campers/baron-20/photos/zdjecie-5.webp) center 60% / cover; opacity: 0; transition: opacity .6s; }
.hero.no-webgl .hero-fallback { opacity: 1; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 49, 60, .55) 0%, rgba(8, 49, 60, 0) 26%, rgba(8, 49, 60, 0) 55%, rgba(8, 40, 50, .62) 100%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 9vh; pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lemon); margin-bottom: 14px; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 em { font-weight: 500; color: #fff3d6; }
.hero-lead { max-width: 34em; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-hint { font-size: .85rem; color: rgba(255, 255, 255, .8); margin: 18px 0 0; display: flex; align-items: center; gap: 8px; }
.hero-hint::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: radial-gradient(circle, #fff 0 3px, transparent 4px); animation: drag 2.6s ease-in-out infinite; }
@keyframes drag { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
@media (pointer: coarse) { .hero-hint { display: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 700px) {
  .hero-content { bottom: 70px; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-hint::before, .scroll-cue span { animation: none; } }

/* ---------- Sekcje ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* wybór kampera */
.picker-section { padding-bottom: 32px; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pick { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; text-align: left; padding: 14px; border-radius: var(--radius); background: #fff; border: 2px solid var(--line); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pick:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pick[aria-selected="true"] { border-color: var(--sea-500); box-shadow: 0 0 0 4px var(--sea-100); }
.pick img { width: 120px; height: 84px; object-fit: cover; border-radius: 10px; }
.pick strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--sea-900); }
.pick span { font-size: .9rem; color: var(--muted); }
.pick .pick-price { color: var(--terra-600); font-weight: 700; }
.pick-check { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--sea-500); color: #fff; display: none; place-items: center; font-size: .9rem; }
.pick[aria-selected="true"] .pick-check { display: grid; }

/* szczegóły kampera */
.camper-section { padding-top: 40px; }
.camper-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; margin-bottom: 56px; }
@media (max-width: 960px) { .camper-intro { grid-template-columns: 1fr; gap: 32px; } }
.camper-name { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 6px; }
.camper-tagline { font-size: 1.2rem; color: var(--sea-500); font-family: var(--serif); font-style: italic; margin-bottom: 24px; }
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
@media (max-width: 560px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
.hl { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 12px; text-align: center; }
.hl svg { width: 26px; height: 26px; color: var(--terra); margin: 0 auto 6px; display: block; }
.hl b { display: block; font-size: 1.35rem; color: var(--sea-900); font-family: var(--serif); }
.hl span { font-size: .8rem; color: var(--muted); }
.camper-desc p { color: #33414c; }
.price-pill { display: inline-flex; align-items: baseline; gap: 8px; background: var(--lemon-100); border: 1px solid #f1dca6; color: var(--sea-900); border-radius: 999px; padding: 10px 20px; margin-top: 6px; }
.price-pill b { font-size: 1.5rem; font-family: var(--serif); }
.feature-card { background: var(--sea-800); color: #d9eaec; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.feature-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 184, 75, .35), transparent 70%); }
.feature-card h3 { color: #fff; font-family: var(--serif); font-size: 1.5rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--lemon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308313c' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* galeria */
.media { margin-bottom: 56px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tab { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 10px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--sea-700); border-color: var(--sea-700); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px; }
.gallery button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand-200); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }
.plan { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.plan img { width: 100%; cursor: zoom-in; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: .9rem; color: var(--muted); }
.tour { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--sea-900); }
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-start { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; background: linear-gradient(rgba(8, 49, 60, .45), rgba(8, 49, 60, .7)), url(../campers/baron-20/interior/wnetrze-5.jpg) center / cover; border: 0; cursor: pointer; width: 100%; }
.tour-start span { display: block; font-family: var(--serif); font-size: 1.6rem; margin-top: 12px; }
.tour-start .play { width: 72px; height: 72px; border-radius: 50%; background: var(--lemon); display: grid; place-items: center; margin: 0 auto; color: var(--sea-900); font-size: 1.6rem; }

/* dane techniczne */
.specs-wrap h3 { font-family: var(--serif); font-size: 1.6rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0 0 12px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; color: var(--sea-900); }
@media (max-width: 760px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Rezerwacja ---------- */
.booking-section { background: linear-gradient(180deg, var(--sand-100), var(--sand-50)); }
.booking { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .booking { grid-template-columns: 1fr; } }
.cal-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--sea-900); text-transform: capitalize; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .cal-months { grid-template-columns: 1fr; } .cal-months .month:nth-child(2) { display: none; } }
.month h4 { text-align: center; font-family: var(--serif); text-transform: capitalize; font-size: 1.05rem; margin-bottom: 10px; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dow span { text-align: center; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; padding-bottom: 4px; }
.day { position: relative; aspect-ratio: 1 / 1.02; border: 0; border-radius: 10px; background: var(--sea-100); color: var(--sea-900); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; font-weight: 700; font-size: .95rem; line-height: 1.1; transition: background .1s; }
.day small { font-size: .62rem; font-weight: 600; color: var(--sea-500); }
.day:hover:not([disabled]) { background: #c9e7e7; }
.day.empty { background: transparent; cursor: default; }
.day.past { background: transparent; color: #c2c7cc; cursor: default; }
.day.past small { display: none; }
.day.booked { background: repeating-linear-gradient(135deg, #f1e3dd 0 6px, #ead6ce 6px 12px); color: #b39b92; cursor: not-allowed; text-decoration: line-through; }
.day.booked small, .day.blocked small, .day.service small { visibility: hidden; }
.day.blocked { background: #ece7df; color: #b6ada0; cursor: not-allowed; text-decoration: line-through; }
.day.service { background: #f4ecd9; color: #b9a67e; cursor: not-allowed; }
.day.in-range { background: #ffe2b3; border-radius: 4px; }
.day.in-range small { color: var(--terra-600); }
.day.start, .day.end { background: var(--terra); color: #fff; }
.day.start small, .day.end small { color: #ffe9e2; }
.day.start::after, .day.end::after { position: absolute; top: -8px; font-size: .55rem; background: var(--sea-800); color: #fff; padding: 1px 5px; border-radius: 6px; letter-spacing: .04em; }
.day.start::after { content: "ODBIÓR"; }
.day.end::after { content: "ZWROT"; }
.day.hover-range { background: #fff0d6; }
.day.today { outline: 2px solid var(--sea-300); outline-offset: -2px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.lg.free { background: var(--sea-100); }
.lg.sel { background: var(--terra); }
.lg.booked { background: repeating-linear-gradient(135deg, #f1e3dd 0 3px, #ead6ce 3px 6px); }
.lg.service { background: #f4ecd9; }
.cal-loading { opacity: .5; pointer-events: none; }

.summary { background: var(--sea-800); color: #d4e6e8; border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; box-shadow: var(--shadow-lg); }
.summary h3 { color: #fff; font-family: var(--serif); font-size: 1.5rem; }
.summary .dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.summary .dates div { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px 12px; }
.summary .dates small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sea-300); }
.summary .dates b { color: #fff; font-size: 1.02rem; }
.lines { list-style: none; padding: 0; margin: 0 0 14px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; }
.lines li b { color: #fff; white-space: nowrap; }
.lines li.total { border-bottom: 0; font-size: 1.1rem; padding-top: 12px; }
.lines li.total b { font-size: 1.35rem; font-family: var(--serif); }
.pay-now { background: var(--lemon); color: var(--sea-900); border-radius: 14px; padding: 14px 16px; margin: 6px 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pay-now b { font-size: 1.4rem; font-family: var(--serif); }
.summary .muted { font-size: .85rem; color: #a9c5c9; }
.summary .empty-state { text-align: center; padding: 18px 0; }
.summary .empty-state svg { width: 56px; height: 56px; color: var(--lemon); margin: 0 auto 10px; }
.summary .err { background: rgba(224, 122, 95, .18); border: 1px solid rgba(224, 122, 95, .5); color: #ffd9cf; border-radius: 12px; padding: 10px 14px; font-size: .92rem; margin-bottom: 12px; }
.summary .btn { margin-top: 6px; }

/* kroki */
.steps-section { background: var(--sea-900); color: #c9dfe2; position: relative; overflow: hidden; }
.steps-section h2 { color: #fff; }
.steps-section::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(ellipse at 50% 100%, rgba(242, 184, 75, .25), transparent 60%); pointer-events: none; }
.steps { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 26px 22px; }
.steps h3 { color: #fff; }
.steps p { margin: 0; font-size: .95rem; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lemon); color: var(--sea-900); font-weight: 800; margin-bottom: 16px; font-family: var(--serif); font-size: 1.2rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* warunki */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } }
.term { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.term h3 { display: flex; align-items: center; gap: 10px; }
.term h3 i { width: 34px; height: 34px; border-radius: 10px; background: var(--lemon-100); display: grid; place-items: center; font-style: normal; flex: none; }
.term p { margin: 0; color: var(--muted); font-size: .95rem; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sea-100); color: var(--sea-700); font-style: normal; }
.contact-list i svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list b { font-size: 1.1rem; color: var(--sea-900); font-weight: 600; text-decoration: none; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* stopka */
.footer { background: var(--sea-900); color: #9fbcc1; padding: 56px 0 24px; font-size: .95rem; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.footer a { color: #cfe2e4; text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: var(--lemon); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 18px; font-size: .85rem; }
.footer-bottom a { display: inline; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }

/* ---------- Okno modalne ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 30, 38, .6); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 22px; padding: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: pop .2s ease-out; }
.modal-box.wide { max-width: 620px; }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; background: var(--sand-100); border-radius: 50%; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.modal h2 { font-size: 1.8rem; }
.social { display: grid; gap: 10px; margin: 18px 0; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; text-decoration: none; color: var(--ink); }
.social-btn:hover { border-color: var(--sea-500); color: var(--ink); }
.social-btn svg { width: 20px; height: 20px; }
.social-btn.fb { background: #1877f2; color: #fff; border-color: #1877f2; }
.social-btn.fb:hover { background: #166fe0; color: #fff; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 6px 0 16px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form { display: grid; gap: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--sea-900); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #d9cfbf; border-radius: 12px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sea-100); border-color: var(--sea-500); }
.field textarea { min-height: 84px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--sea-700); }
.form-err { background: #fbeae6; color: var(--danger); border-radius: 10px; padding: 10px 14px; font-size: .92rem; }
.form-ok { background: #e6f4ee; color: var(--ok); border-radius: 10px; padding: 10px 14px; font-size: .92rem; }
.switch-link { text-align: center; font-size: .92rem; margin-top: 14px; }
.switch-link button, .link-btn { background: none; border: 0; color: var(--sea-700); font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--sea-500); background: var(--sea-100); }
.radio-card input { margin-top: 4px; accent-color: var(--sea-700); }
.radio-card small { display: block; color: var(--muted); }
.mini-summary { background: var(--sand-100); border-radius: 14px; padding: 14px 16px; font-size: .92rem; }
.mini-summary div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(5, 20, 25, .94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #cfe2e4; margin-top: 12px; font-size: .95rem; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .25); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--sea-900); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 150; transition: transform .25s; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.toast.err { background: var(--danger); }

/* ---------- Panel klienta i administratora ---------- */
.panel { padding: 120px 0 80px; min-height: 80vh; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.panel-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.panel-head p { margin: 4px 0 0; color: var(--muted); }
.banner { border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.banner.warn { background: var(--lemon-100); border: 1px solid #f0d89c; color: #6b4e0f; }
.banner.ok { background: #e6f4ee; border: 1px solid #bfe0cf; color: #1f5c41; }
.banner.info { background: var(--sea-100); border: 1px solid #c4e2e3; color: var(--sea-800); }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.res { margin-bottom: 22px; padding: 0; overflow: hidden; }
.res-top { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 24px; align-items: start; }
.res-top h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 4px; }
.res-dates { font-size: 1.05rem; color: var(--sea-800); font-weight: 600; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.badge.pending_payment { background: var(--lemon-100); color: #8a5d00; }
.badge.deposit_paid, .badge.confirmed { background: #e2f3ea; color: #1f6b47; }
.badge.completed { background: #e8edf1; color: #4b5a66; }
.badge.cancelled, .badge.expired { background: #f6e3de; color: #9b3a24; }
.res-amounts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.res-amounts div { padding: 14px 20px; border-right: 1px solid var(--line); }
.res-amounts div:last-child { border-right: 0; }
.res-amounts small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.res-amounts b { font-size: 1.15rem; color: var(--sea-900); }
@media (max-width: 700px) { .res-amounts { grid-template-columns: 1fr 1fr; } .res-amounts div:nth-child(2) { border-right: 0; } .res-amounts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 24px; }
.res-tabs { border-top: 1px solid var(--line); }
.res-tabs .tabs { padding: 16px 24px 0; margin: 0; }
.res-tab-body { padding: 20px 24px 24px; }
.transfer-box { background: var(--lemon-100); border-radius: 14px; padding: 16px 18px; margin: 0 24px 16px; font-size: .95rem; }
.transfer-box code { font-size: 1.05rem; font-weight: 700; background: #fff; padding: 2px 8px; border-radius: 6px; user-select: all; }
.resources { display: grid; gap: 10px; }
.resource { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.resource:hover { border-color: var(--sea-500); color: var(--ink); }
.resource i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sea-100); font-style: normal; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--sea-900); }

/* admin */
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:hover td { background: #fcfaf6; }
.tbl .actions { display: flex; flex-wrap: wrap; gap: 6px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.seg { display: inline-flex; border: 1px solid #d9cfbf; border-radius: 12px; overflow: hidden; }
.seg label { padding: 10px 14px; cursor: pointer; font-size: .9rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--sea-700); color: #fff; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.mini-cal .cal-months { grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .mini-cal .cal-months { grid-template-columns: 1fr; } }
.mini-cal .day { cursor: default; }
.note-area { width: 100%; min-height: 60px; padding: 8px 10px; border: 1px solid #d9cfbf; border-radius: 10px; font-size: .88rem; }
.stack { display: grid; gap: 20px; }

/* tryb zrzutów ekranu (?shot) */
html.shot .hero { height: 900px; min-height: 0; }
html.shot { scroll-behavior: auto; }

/* poprawki siatki kalendarza */
.booking > *, .cal-months > .month, .dow, .days, .day { min-width: 0; }
.day { aspect-ratio: auto; height: clamp(40px, 5.2vw, 58px); }
.days { grid-auto-rows: clamp(40px, 5.2vw, 58px); align-content: start; }
.days .day { height: auto; }
.toast { visibility: hidden; } .toast.show { visibility: visible; }

/* film w nagłówku */
.hero-video { position: absolute; inset: 0; overflow: hidden; background: var(--sea-800) right bottom / cover no-repeat; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--fade, 1s) ease-in-out; }
.hero-video video.on { opacity: 1; }
.hero.has-video .hero-canvas, .hero.has-video .hero-fallback { display: none; }
/* Telefon i ekrany pionowe: film w całości (16:9, bez przycinania — znak wodny widoczny), tekst pod filmem. */
@media (max-width: 700px), (orientation: portrait) {
  .hero.has-video { height: auto; min-height: 0; background: var(--sea-800); padding-top: 72px; }
  .hero.has-video .hero-video { position: relative; inset: auto; aspect-ratio: 16 / 9; background-size: contain; }
  .hero.has-video .hero-video video { object-fit: contain; }
  .hero.has-video .hero-shade { background: linear-gradient(180deg, rgba(8, 49, 60, .55) 0, rgba(8, 49, 60, 0) 72px); }
  .hero.has-video .hero-content { position: relative; bottom: auto; padding-top: 28px; padding-bottom: 44px; }
  .hero.has-video .scroll-cue { display: none; }
}
