/* =========================================================
   turlamvana – styl strony
   Paleta: len, sklejka topolowa, szarości + jeden kolor akcentu
   ========================================================= */
:root {
    --len: #EFE9DF;
    --len-deep: #E4DBCB;
    --paper: #FAF8F4;
    --szary: #F2F1EE;
    --sklejka: #D2B48C;
    --sklejka-deep: #B8956A;
    --grafit: #34383B;
    --grafit-soft: #4A4F53;
    --muted: #6E6A63;
    --line: rgba(52, 56, 59, .12);

    --accent: #C46A3A;
    --accent-hover: #A9572C;
    --accent-ink: #fff;

    --radius: 14px;
    --shadow: 0 10px 30px rgba(52, 56, 59, .10);
    --font-head: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
    --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--grafit);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--grafit); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
    font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
    color: var(--sklejka-deep); margin-bottom: .6em;
}

/* ---------- przyciski ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
    font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
    transition: background .2s, color .2s, transform .15s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: .6em 1.15em; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- nagłówek ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 248, 244, .92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: .55em; text-decoration: none; font-family: var(--font-head); font-size: 1.45rem; color: var(--grafit); }
.logo b { color: var(--accent); font-weight: 600; }
.logo-mark { width: 42px; height: 26px; color: var(--grafit); }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a:not(.btn) { text-decoration: none; font-size: .96rem; font-weight: 500; color: var(--grafit-soft); }
.main-nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--grafit); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 66px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: .5rem 16px 1rem; display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
    .main-nav .btn { margin-top: 1rem; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
    position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end;
    background:
        linear-gradient(180deg, rgba(20,22,24,.05) 30%, rgba(20,22,24,.62) 100%),
        linear-gradient(90deg, rgba(20,22,24,.45) 0%, rgba(20,22,24,0) 60%),
        var(--hero-img) center 60% / cover no-repeat;
    color: #fff;
}
.hero-content { padding-block: 5rem 4.5rem; max-width: 1160px; }
.hero .eyebrow { color: var(--len); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.02em; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--len); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- fakty ---------- */
.facts { background: var(--grafit); color: var(--len); }
.facts-grid { display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; padding-block: 1.4rem; gap: 1rem; }
.facts strong { display: block; font-family: var(--font-head); font-size: 1.45rem; color: #fff; }
.facts span { font-size: .88rem; opacity: .8; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sekcje ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-linen { background: var(--len); }
.section-graphite { background: var(--grafit); color: var(--len); }
.section-graphite h2, .section-graphite h3 { color: #fff; }
.section-graphite .eyebrow { color: var(--sklejka); }
.section-head { max-width: 680px; margin-bottom: 2.8rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-graphite .section-head p:last-child { color: rgba(239,233,223,.78); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

.photo-stack { position: relative; padding-bottom: 18%; }
.photo-stack img { border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-stack img:first-child { width: 88%; }
.photo-stack img:last-child { position: absolute; width: 52%; right: 0; bottom: 0; border: 6px solid var(--paper); }

.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .42em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
    background: var(--sklejka) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

.mini-head { font-size: 1.15rem; margin-top: 1.8rem; }
.checklist b { color: var(--grafit); }
.section-soft { background: var(--szary); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- spanie ---------- */
.sleep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .sleep-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sleep-grid { grid-template-columns: 1fr; } }
.sleep-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.sleep-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.people { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-bottom: 1rem; }
.people i {
    width: 22px; height: 34px; display: block; background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 34'%3E%3Ccircle cx='11' cy='7' r='6'/%3E%3Cpath d='M1 34v-9a10 10 0 0 1 20 0v9z'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 34'%3E%3Ccircle cx='11' cy='7' r='6'/%3E%3Cpath d='M1 34v-9a10 10 0 0 1 20 0v9z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.people-pair { gap: 0; }
.people span { font-family: var(--font-head); font-size: 1.6rem; color: var(--sklejka-deep); line-height: 1; padding-bottom: 4px; }

/* ---------- dane techniczne ---------- */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr; } }
.specs dl { margin: 0; }
.specs dt { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; padding-bottom: .5rem; border-bottom: 2px solid var(--sklejka); margin-bottom: .2rem; }
.specs dd { margin: 0; display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs dd span { color: var(--muted); }
.specs dd b { text-align: right; font-weight: 600; }

/* ---------- karty ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card p.spec { color: var(--accent); font-weight: 600; font-size: .85rem; letter-spacing: .02em; margin-bottom: .6rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-3 { grid-template-columns: 1fr; } }
.card-feature { background: var(--grafit); border-color: var(--grafit); }
.card-feature h3 { color: #fff; }
.card-feature p { color: rgba(239,233,223,.8); }
.card-feature p.spec { color: var(--sklejka); }
.icon { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .9rem; }

.banner {
    display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2rem;
    margin-top: 2.6rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.banner img { height: 100%; object-fit: cover; aspect-ratio: 16/9; }
.banner > div { padding: 2rem 2rem 2rem 0; }
@media (max-width: 760px) { .banner { grid-template-columns: 1fr; } .banner > div { padding: 0 1.5rem 1.8rem; } }

/* ---------- cennik / kalkulator ---------- */
.pricing { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.calc, .quote { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin: 1.4rem 0 .6rem; }
.field-label output { font-family: var(--font-head); font-size: 1.6rem; color: var(--accent); }

.season-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (max-width: 480px) { .season-picker { grid-template-columns: 1fr; } }
.season-option { cursor: pointer; }
.season-option input { position: absolute; opacity: 0; pointer-events: none; }
.season-option span {
    display: block; padding: .75rem .9rem; border-radius: 10px; border: 2px solid var(--line);
    background: var(--szary); transition: border-color .15s, background .15s; height: 100%;
}
.season-option b { display: block; font-size: .98rem; }
.season-option small { color: var(--muted); font-size: .82rem; line-height: 1.35; display: block; }
.season-option input:checked + span { border-color: var(--accent); background: #fff; }
.season-option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; cursor: pointer; }
.discount-track { position: relative; height: 34px; margin: .2rem 0 0; }
.discount-track .mark {
    position: absolute; transform: translateX(-50%); font-size: .78rem; font-weight: 600; text-align: center;
    color: var(--muted); white-space: nowrap; padding-top: 10px;
}
.discount-track .mark::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 8px; background: var(--sklejka); }
.discount-track .mark.reached { color: var(--accent); }

.nudge {
    margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; background: var(--len); font-size: .95rem; min-height: 3.2em;
    display: block;
}
.nudge b { color: var(--accent); }

.quote-row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.quote-discount span:last-child { color: var(--accent); font-weight: 600; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 .2rem; }
.quote-total strong { font-family: var(--font-head); font-size: 2.3rem; }
.quote-per-night { color: var(--muted); margin-bottom: 1rem; }
.quote-warn { background: #FBEDE4; color: #8A3D16; padding: .7rem .9rem; border-radius: 10px; font-size: .92rem; }
.quote-note { font-size: .93rem; }
.quote-small { font-size: .82rem; color: var(--muted); margin: .8rem 0 0; text-align: center; }
.quote.loading { opacity: .6; }

.season-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 2rem; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.season-cell { background: var(--paper); padding: 1.2rem 1.3rem; }
.season-cell h4 { font-size: 1.1rem; margin-bottom: .2em; }
.season-cell p { margin: 0; font-size: .9rem; }
.season-cell .price { margin: .5rem 0 .2rem; font-size: 1rem; }
.season-cell .price b { font-family: var(--font-head); font-size: 1.4rem; }
@media (max-width: 860px) { .season-table { grid-template-columns: repeat(2, 1fr); } }

/* ---------- galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: .7rem; grid-auto-flow: dense; }
.gallery-item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--len-deep); }
.gallery-item.wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15, 16, 17, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- YouTube ---------- */
.yt { background: var(--szary); }
.yt-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .yt-inner { grid-template-columns: 1fr; } }
.yt-placeholder {
    aspect-ratio: 16/9; border-radius: var(--radius); background: var(--grafit) url('/img/kamper/kamper-10.jpg') center/cover;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; position: relative; overflow: hidden;
}
.yt-placeholder::before { content: ""; position: absolute; inset: 0; background: rgba(20,22,24,.45); }
.yt-placeholder > * { position: relative; }
.yt-placeholder span { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.8rem; padding-left: 6px; }

/* ---------- usługi ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(239,233,223,.14); border-radius: var(--radius); overflow: hidden; }
.services article { background: var(--grafit); padding: 1.8rem; }
.services article h3 { font-size: 1.2rem; }
.services article h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 1rem; border-radius: 2px; }
.services article p { color: rgba(239,233,223,.75); margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.services-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; }
.services-cta p { margin: 0; font-size: 1.08rem; }

/* ---------- kontakt ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.contact-list li { display: flex; flex-direction: column; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-list a, .contact-list b { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

/* ---------- stopka ---------- */
.site-footer { background: var(--grafit); color: rgba(239,233,223,.8); padding-block: 3rem 2rem; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: #fff; }
.logo-footer { color: #fff; margin-bottom: .4rem; }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid rgba(239,233,223,.14); padding-top: 1.2rem; margin: 0; font-size: .85rem; opacity: .7; }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- znaczniki "do uzupełnienia" (tylko na czas prac) ---------- */
.todo {
    display: inline-block; font-size: .78rem; font-weight: 600; line-height: 1.3;
    padding: .15em .55em; border-radius: 6px; border: 1.5px dashed #C9A227; background: #FFF6D6; color: #6B5300;
}
.todo-block { margin-top: 1rem; }


@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* =========================================================
   Rezerwacja
   ========================================================= */
.page-head { padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head p { max-width: 640px; }
.section-top-0 { padding-top: 0; }
.narrow { max-width: 640px; }
.center { text-align: center; }

.booking { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; }
@media (max-width: 1000px) { .booking { grid-template-columns: 1fr; } }
.booking-main { display: grid; gap: 1.5rem; min-width: 0; }
.cal-card, .form-card { background: #fff; border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.sticky { position: sticky; top: 86px; }
@media (max-width: 1000px) { .sticky { position: static; } }

.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cal-status { text-align: center; font-size: .98rem; }
.cal-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--szary); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--grafit); flex-shrink: 0; }
.cal-btn:hover:not(:disabled) { background: var(--len); }
.cal-btn:disabled { opacity: .35; cursor: default; }
.link-btn { background: none; border: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; padding: 0 .3em; }

.cal-months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 760px) { .cal-months { grid-template-columns: 1fr; } }
.cal-month h4 { text-align: center; font-size: 1.1rem; text-transform: capitalize; margin-bottom: .7rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: .75rem; color: var(--muted); text-transform: uppercase; padding-bottom: .3rem; }
.cal-day {
    aspect-ratio: 1 / 1.05; border: 0; border-radius: 8px; background: var(--szary); cursor: pointer; padding: 2px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; font: inherit; color: var(--grafit);
    position: relative; transition: background .12s;
}
.cal-day span { font-weight: 600; font-size: .95rem; line-height: 1.1; }
.cal-day small { font-size: .66rem; color: var(--muted); line-height: 1.1; }
.cal-day.st-free:hover:not(:disabled), .cal-day.can-end:hover { background: var(--len-deep); }
.cal-day.is-swieta.st-free { box-shadow: inset 0 -3px 0 var(--sklejka-deep); }
.cal-day.st-past { background: transparent; color: #BDB8B0; cursor: default; }
.cal-day.st-booked { background: #E5E2DD; color: #A9A49C; cursor: not-allowed; text-decoration: line-through; }
.cal-day.st-pending { background: repeating-linear-gradient(-45deg, #EFE6D3, #EFE6D3 4px, #E5D9BF 4px, #E5D9BF 8px); color: #9A8E78; cursor: not-allowed; }
.cal-day.can-end.st-booked, .cal-day.can-end.st-pending { cursor: pointer; text-decoration: none; color: var(--grafit); }
.cal-day:disabled { cursor: not-allowed; }
.cal-day.in-range { background: color-mix(in srgb, var(--accent) 22%, white); }
.cal-day.sel-start, .cal-day.sel-end { background: var(--accent); color: var(--accent-ink); }
.cal-day.sel-start small, .cal-day.sel-end small, .cal-day.in-range small { color: inherit; opacity: .8; }

.cal-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.2rem; font-size: .82rem; color: var(--muted); }
.cal-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: .4em; }
.lg-free { background: var(--szary); border: 1px solid var(--line); }
.lg-swieta { background: var(--szary); box-shadow: inset 0 -3px 0 var(--sklejka-deep); }
.lg-pending { background: repeating-linear-gradient(-45deg, #EFE6D3, #EFE6D3 3px, #E5D9BF 3px, #E5D9BF 6px); }
.lg-booked { background: #E5E2DD; }

.sum-dates { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; padding: .8rem; background: var(--szary); border-radius: 10px; }
.sum-dates > div:not(.sum-arrow) { flex: 1; display: flex; flex-direction: column; }
.sum-dates small { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sum-dates b { font-size: .9rem; }
.sum-arrow { color: var(--muted); }
.quote h3 { margin-bottom: .8rem; }
.quote-row small { font-size: .8rem; }

/* formularz */
.form-card h2 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.fg { display: flex; flex-direction: column; gap: .35rem; }
.fg > span:first-child { font-size: .88rem; font-weight: 600; }
.fg-wide { grid-column: 1 / -1; }
.fg input, .fg select, .fg textarea, .admin-form input, .admin-form select, .admin-form textarea {
    font: inherit; padding: .7rem .85rem; border-radius: 10px; border: 1.5px solid #D6D1C8; background: var(--paper); color: var(--grafit); width: 100%;
}
.fg input:focus, .fg select:focus, .fg textarea:focus, .admin-form :is(input, select, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.fg-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.fg-check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); flex-shrink: 0; }
.field-error { color: #A23B12; font-size: .85rem; }
.field-error:empty { display: none; }
.form-errors ul { margin: 0 0 1rem; padding: .8rem 1rem .8rem 2rem; background: #FBEDE4; color: #8A3D16; border-radius: 10px; }
.form-errors.validation-summary-valid { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* potwierdzenie */
.success-icon { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 2rem; }
.lead-dark { font-size: 1.1rem; color: var(--grafit-soft); }
.receipt { text-align: left; margin: 2rem 0 1.2rem; }
.status-pill { display: inline-block; padding: .4rem 1rem; border-radius: 999px; background: #FFF6D6; color: #6B5300; font-weight: 600; font-size: .9rem; margin-bottom: 1.6rem; }
@media (max-width: 1000px) {
    .booking-main { display: contents; }
    .cal-card { order: 1; }
    .booking-aside { order: 2; }
    .form-card { order: 3; }
}

[hidden] { display: none !important; }
