/* ==========================================================================
   Gospodarstwo Zacisze – arkusz stylów
   Kolory i odstępy zmienia się w jednym miejscu: w sekcji :root poniżej.
   ========================================================================== */

/* ---------- Fonty (licencja OFL), hostowane lokalnie ----------
   Jeden plik na styl, z pełnym alfabetem polskim – dzięki temu odstępy (kerning) przy ą, ć, ę, ł, ń, ś, ź, ż są równe.
   Nagłówki: Lora, tekst: Lato. */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-400-pl.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lato-400i-pl.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-700-pl.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/lato-900-pl.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/lora-pl.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/lora-italic-pl.woff2") format("woff2"); }

/* ---------- Zmienne ---------- */
:root {
  --green-900: #0c362f;   /* nagłówek, stopka */
  --green-800: #154539;
  --green-100: #e3ebe5;
  --olive: #5f692d;       /* kolor z logo: akcenty, ikony */
  --olive-700: #4b5323;
  --cream: #f6f1e7;       /* ciepłe tło sekcji */
  --cream-200: #ece3d1;
  --wood: #8a5a2b;        /* przyciski */
  --wood-700: #6e4520;
  --text: #2b2622;
  --muted: #574f47;
  --white: #ffffff;
  --border: #ddd3c2;
  --focus: #0c362f;      /* obrys fokusu na jasnym tle; na ciemnym – złoty, patrz niżej */

  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(12, 54, 47, .12);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 72px;
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-700); text-underline-offset: .18em; }
a:hover { color: var(--wood-700); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.site-header, .site-footer, .section--green, .hero, .lightbox, .skip-link { --focus: #e0a526; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--white); color: var(--green-900); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.todo { background: #fff3c4; color: #5c4400; padding: .1em .35em; border-radius: 4px; font-weight: 700; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--wood); color: var(--white); }
.btn--primary:hover { background: var(--wood-700); color: var(--white); }
.btn--outline { border-color: currentColor; color: var(--green-900); background: transparent; }
.btn--outline:hover { background: var(--green-900); color: var(--white); border-color: var(--green-900); }
.btn--light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--green-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* ---------- Nagłówek strony ----------
   Bez JavaScriptu menu jest zwykłą listą linków pod logo.
   Z JavaScriptem (klasa .js na <html>) na węższych ekranach jest rozwijane przyciskiem „Menu”. */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--green-900); color: var(--white); box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; min-height: var(--header-h); }
.site-header__logo { display: block; flex: none; padding: 6px 0; }
.site-header__logo img { width: clamp(140px, 46vw, 190px); height: auto; }
.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .55); border-radius: 999px;
  font: 700 .95rem var(--font-body); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] .icon-open, .nav-toggle[aria-expanded="false"] .icon-close { display: none; }
.site-nav { flex-basis: 100%; padding-bottom: 14px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.site-nav a { display: block; padding: 10px 2px; color: var(--white); text-decoration: none; font-weight: 700; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #d9e4a6; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.header-call { margin-top: 10px; }

@media (max-width: 1119.98px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--green-900); border-top: 1px solid rgba(255, 255, 255, .15);
    padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .js .site-nav ul { display: block; }
  .js .site-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .js .header-call { margin-top: 18px; width: 100%; }
}
@media (min-width: 1120px) {
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav { display: flex; align-items: center; gap: 24px; flex-basis: auto; padding: 0; }
  .site-nav ul { gap: 4px; flex-wrap: nowrap; }
  .site-nav a { padding: 10px 12px; }
  .header-call { margin: 0; width: auto; min-height: 44px; padding: .55em 1.1em; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--green-900); overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 36, 31, .35) 0%, rgba(8, 36, 31, .55) 55%, rgba(8, 36, 31, .82) 100%); }
.hero__inner { padding-block: clamp(96px, 16vw, 200px) clamp(72px, 10vw, 120px); }
.hero--page .hero__inner { padding-block: clamp(72px, 11vw, 140px) clamp(64px, 8vw, 96px); }
.hero--plain::before { background: none; }
.hero h1 { color: var(--white); max-width: 18ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero--page h1 { max-width: 24ch; font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.hero__lead { font-family: var(--font-head); font-size: clamp(1.25rem, 2.6vw, 1.75rem); max-width: 34ch; margin: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero--page::before { background: linear-gradient(180deg, rgba(8, 36, 31, .55) 0%, rgba(8, 36, 31, .6) 55%, rgba(8, 36, 31, .82) 100%); }
.hero .eyebrow { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hero__mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(28px, 5vw, 64px); color: var(--white); }
.hero__mountains--cream { color: var(--cream); }

/* ---------- Sekcje ---------- */
.section { padding-block: var(--section); position: relative; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-900); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--tight { padding-block: calc(var(--section) * .6); }
.eyebrow { display: block; margin: 0 0 .7em; font: 900 .8rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.lead { font-size: 1.15rem; color: var(--muted); }
.prose { max-width: 72ch; }
.mt-section { margin-top: clamp(28px, 4vw, 48px); }
.mb-section { margin-bottom: clamp(28px, 4vw, 48px); }
.prose p:last-child { margin-bottom: 0; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.photo-pair { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: end; }
.photo-pair img, .photo-pair a { border-radius: var(--radius); }
.photo-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.photo-pair > :last-child img { aspect-ratio: 1 / 1; }
.photo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- Udogodnienia (pasek z ikonami) ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #d9e4a6; }
.feature__icon .icon { width: 28px; height: 28px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .25em; }
.feature p { margin: 0; color: #e7efe9; }

/* ---------- Listy z ikonką ---------- */
.checklist { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 10px 24px; }
@media (min-width: 560px) { .checklist--2 { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--olive); margin-top: .2em; }

/* ---------- Karty apartamentów (strona główna) ---------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body h3 { margin: 0; }
.card__price { font-weight: 700; color: var(--wood-700); font-size: 1.1rem; }
.card__link { margin-top: auto; padding-top: 10px; font-weight: 700; }
.card__link::after { content: ""; position: absolute; inset: 0; }

/* ---------- Kafle atrakcji ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: clamp(28px, 4vw, 48px); }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 20px; background: linear-gradient(transparent, rgba(8, 36, 31, .88)); font: 700 1.4rem var(--font-head); }
.tile:hover { color: var(--white); }

/* ---------- Galeria + lightbox ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 640px) { .gallery--quad { grid-template-columns: repeat(4, 1fr); } }
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: clamp(28px, 4vw, 44px) 0 14px; }
h2 + .gallery-head { margin-top: 0; }
.gallery-head h3 { margin: 0; }
.gallery-head a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--green-900); }
.gallery.mt-section { margin-top: clamp(28px, 4vw, 48px); }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery--home { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery--home { grid-template-columns: repeat(3, 1fr); } }

.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(6, 22, 19, .94); color: var(--white); }
.lightbox::backdrop { background: rgba(6, 22, 19, .94); }
.lightbox__figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.lightbox__img { max-width: 100%; max-height: calc(100% - 64px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox__caption { margin-top: 14px; max-width: 70ch; text-align: center; font-size: .98rem; color: #e7efe9; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; top: 24px; left: 20px; font-weight: 700; }

/* ---------- Opinie ---------- */
.stars { display: flex; gap: 2px; color: #b07a12; }
.stars .icon { fill: currentColor; stroke: none; width: 20px; height: 20px; }

/* ---------- Apartamenty ---------- */
.apartment { display: grid; gap: clamp(24px, 4vw, 48px); padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--border); }
.apartment:first-of-type { border-top: 0; }
.apartments-note { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 28px 0 var(--section); border-top: 1px solid var(--border); color: var(--muted); }
.apartments-note .icon { margin-top: .2em; color: var(--olive); }
@media (min-width: 960px) { .apartment { grid-template-columns: 1.05fr .95fr; align-items: start; } .apartment:nth-of-type(even) .apartment__media { order: 2; } }
.apartment__badges { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--cream); color: var(--green-900); font-weight: 700; }
.badge .icon { color: var(--olive); }
.badge--price { background: var(--green-900); color: var(--white); }
.badge--price .icon { color: #d9e4a6; }
.apartment__media .gallery { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.apartment__media .gallery li:first-child { grid-column: 1 / -1; }
.apartment__media .gallery li:first-child img { aspect-ratio: 16 / 10; }
.amenities { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
@media (min-width: 560px) { .amenities { grid-template-columns: 1fr 1fr; } }
.amenities li { display: flex; gap: 10px; align-items: center; }
.amenities .icon { color: var(--olive); width: 1.4em; height: 1.4em; }

/* ---------- Okolica: atrakcje ---------- */
.attractions { display: grid; gap: 22px; }
@media (min-width: 900px) { .attractions { grid-template-columns: 1fr 1fr; } }
.attraction { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); border-top: 5px solid var(--olive); }
.attraction h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.attraction .btn { margin-top: .4em; }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-wrap { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green-100); color: var(--green-900); }
.contact-list strong { display: block; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span.value { font-size: 1.15rem; font-weight: 700; color: var(--green-900); text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.contact-list a { display: inline-block; padding-block: 7px; }
.contact-social { margin-top: 1.4em; }
.contact-social a { color: var(--green-900); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-200); }
.map:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 440px); border: 0; }

/* ---------- Regulamin ---------- */
.doc { max-width: 80ch; }
.doc h2 { margin-top: 1.8em; padding-top: .4em; border-top: 1px solid var(--border); }
.doc ol { padding-left: 1.4em; }
.doc li { margin-bottom: .7em; }
.toc { background: var(--cream); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 2em; }
.toc h2 { font-size: 1.15rem; margin: 0 0 .5em; border: 0; padding: 0; }
.toc ol { margin: 0; }

/* ---------- Stopka ---------- */
.site-footer { position: relative; background: var(--green-900); color: #e7efe9; padding-top: clamp(48px, 6vw, 72px); }
.site-footer__mountains { position: absolute; bottom: calc(100% - 1px); left: 0; width: 100%; height: clamp(28px, 5vw, 64px); color: var(--green-900); }
.site-footer a { color: #e7efe9; }
.site-footer a:hover { color: #d9e4a6; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-logo { width: 150px; margin-bottom: 16px; }
.site-footer h2 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #d9e4a6; margin-bottom: 1em; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .icon { margin-top: .25em; color: #d9e4a6; }
.footer-list a, .footer-bottom a, .footer-social { display: inline-block; padding-block: 6px; }
.footer-list li:has(> a) .icon { margin-top: calc(.25em + 6px); }
.footer-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 700; }
.footer-social + .footer-social { margin-left: 28px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding: 20px 0 28px; font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 32px; }

/* ---------- Strona 404 ---------- */
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5em; }

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Druk ---------- */
@media print {
  .site-header, .site-footer, .hero__img, .btn, .map, .skip-link { display: none !important; }
  .hero { background: none; color: #000; }
  .hero h1 { color: #000; text-shadow: none; }
  .section--green, .section--green h2, .section--green h3, .feature p, .feature__icon, .hero .eyebrow, .badge--price, .badge--price .icon { color: #000 !important; background: none !important; text-shadow: none; }
  .badge--price { border: 1px solid #000; }
  .tile { color: #000; }
  .tile span { position: static; background: none; color: #000; padding: 6px 0 0; }
}

/* ==========================================================================
   WERSJA 2 – odświeżony wygląd (strona główna; elementy wspólne dla podstron)
   ========================================================================== */

:root {
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --camel: #b5793f;          /* kolor alpaki – drobne akcenty */
  --sky: #d4e5df;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.005em; }
.eyebrow { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--olive-700); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; margin-top: calc(.65em - 1px); }
.eyebrow--light { color: #e6edc4; }
.section--green .eyebrow, .cta-photo .eyebrow { color: #e6edc4; }
.icon--flip { transform: scaleX(-1); }

/* ---------- Ramki zdjęć ---------- */
.frame { margin: 0; overflow: hidden; background: var(--cream-200); border: 4px solid #fbf7ef; box-shadow: 0 14px 34px rgba(12, 54, 47, .18); border-radius: 18px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: 999px 999px 22px 22px; }
.frame--circle { border-radius: 50%; }
.frame--static { aspect-ratio: 4 / 5; max-width: 460px; margin-inline: auto; }
.frame--static img { object-position: 35% 50%; }

/* ---------- Hero z ilustracją ---------- */
.hero-ill { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(#cbd8d7, #e6e2d6 60%, #f1dbbd); }
.hero-ill__art { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: min(100%, 120vw); }
.hero-ill__inner { display: grid; gap: 36px; padding-top: clamp(36px, 7vw, 88px); padding-bottom: clamp(320px, 84vw, 380px); }
.hero-ill h1 { color: var(--green-900); font-size: min(clamp(2.7rem, 7vw, 5.4rem), 12.5vw); line-height: 1; margin: .25em 0 .15em; }
.hero-ill__lead { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--olive-700); margin: 0 0 .7em; }
.hero-ill__intro { max-width: 44ch; font-size: 1.1rem; margin-bottom: 0; }
.hero-ill .btn--outline { background: rgba(255, 255, 255, .55); }
.hero-ill__collage { position: relative; height: clamp(300px, 88vw, 420px); max-width: 520px; width: 100%; justify-self: center; }
.hero-ill__collage .frame { position: absolute; }
.hero-ill__collage .frame--arch { right: 4%; top: 0; width: 58%; height: 100%; }
.hero-ill__collage .frame--arch img { object-position: 35% 50%; }
.hero-ill__collage .frame--small { left: 0; top: 8%; width: 40%; aspect-ratio: 4 / 3; }
.hero-ill__collage .frame--circle { left: 6%; bottom: 2%; width: 40%; aspect-ratio: 1; }
.hero-ill__collage .frame--circle img { object-position: 50% 47%; }   /* obie głowy kucyków razem z chrapami w kadrze */
@media (max-width: 759.98px) {
  .hero-ill__collage { display: none; }      /* na telefonie pierwszy ekran to tekst i ilustracja gór */
  .hero-ill__inner { padding-bottom: 80vw; }
}
@media (min-width: 760px) {
  .hero-ill { min-height: calc(100vh - var(--header-h)); min-height: min(calc(100svh - var(--header-h)), 900px); display: flex; }
  .hero-ill__art { height: 100%; }
  .hero-ill h1 { font-size: clamp(2.7rem, min(7vw, 9.5vh), 5.4rem); }
  .hero-ill__inner { grid-template-columns: 1.05fr .95fr; align-items: center;
    padding-top: clamp(24px, min(4vw, 4vh), 56px); padding-bottom: clamp(150px, min(20vw, 25vh), 260px); }
  .hero-ill__collage { height: clamp(340px, min(34vw, 56vh), 500px); }
  .hero-ill__sun { transform: translate(-210px, -100px); }   /* słońce nad Śnieżką, nie za kolażem */
}
@media (min-width: 760px) and (max-width: 1119.98px) {
  .hero-ill { min-height: min(calc(100svh - var(--header-h) - 68px), 900px); }
}
@media (min-width: 1650px) {
  .hero-ill__text { background: rgba(247, 242, 230, .9); padding: 28px 32px; margin-left: -32px; border-radius: 22px; box-shadow: var(--shadow); }
}
.hero-ill__cloud { animation: chmury 5s ease-out 1 both; }   /* ruch krótszy niż 5 s (WCAG 2.2.2) */
@keyframes chmury { from { transform: translateX(-30px); } to { transform: translateX(0); } }
.js .hero-ill__collage .frame { animation: unos 2.4s ease-in-out 2 alternate; }
.js .hero-ill__collage .frame--small { animation-delay: .3s; }
.js .hero-ill__collage .frame--circle { animation-delay: .6s; }
@keyframes unos { from { transform: translateY(0); } to { transform: translateY(-6px); } }

/* ---------- Pasek udogodnień pod hero ---------- */
.band { padding-block: clamp(32px, 5vw, 56px); }

/* ---------- Nagłówek sekcji w dwóch kolumnach ---------- */
.split--head { align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.split--head h2 { margin-bottom: 0; }
.split--head p:last-of-type { margin-bottom: 1.1em; }

/* ---------- Zdjęcia nachodzące na siebie ---------- */
.layered { position: relative; padding-bottom: 48px; }
.layered__main { width: 86%; margin-left: auto; aspect-ratio: 4 / 3; }
.layered__main--tall { width: 72%; aspect-ratio: 4 / 5; }
.layered__over { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; }

/* ---------- Karuzele (przewijanie w poziomie) ---------- */
.carousel { position: relative; }
.carousel__track { list-style: none; margin: 0; padding: 4px 4px 18px; display: grid; grid-auto-flow: column; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scroll-behavior: smooth; scrollbar-width: thin; overscroll-behavior-x: contain; }
.carousel__item { scroll-snap-align: start; }
.carousel__controls { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }
.carousel__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--green-900); background: var(--white); color: var(--green-900); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.carousel__btn:hover { background: var(--green-900); color: var(--white); }
.carousel__btn[aria-disabled="true"] { opacity: .35; cursor: default; }
.carousel__btn[aria-disabled="true"]:hover { background: var(--white); color: var(--green-900); }
.carousel--animals .carousel__track { grid-auto-columns: minmax(220px, 1fr); }
.animal { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--cream-200); }
.animal img { width: 100%; height: 100%; object-fit: cover; }
.animal__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 20px 18px; background: linear-gradient(transparent, rgba(8, 36, 31, .85)); color: var(--white); font: 600 1.45rem/1.2 var(--font-head); }

/* ---------- Karty apartamentów ---------- */
.apt-cards { display: grid; gap: 26px; grid-template-columns: 1fr; }
.apt-cards__item { display: flex; }
.apt-cards__item > .apt-card { flex: 1; }
@media (min-width: 640px) and (max-width: 979.98px) {
  .apt-cards { grid-template-columns: repeat(2, 1fr); }
  .apt-cards__item:last-child { grid-column: 1 / -1; }
  .apt-cards__item:last-child .apt-card { flex-direction: row; }
  .apt-cards__item:last-child .apt-card__media { flex: 0 0 50%; min-width: 0; }
  .apt-cards__item:last-child .carousel--mini img { aspect-ratio: 1 / 1; }
}
@media (min-width: 980px) { .apt-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 520px) { .band .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .band .features { grid-template-columns: repeat(4, 1fr); } }
.apt-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.apt-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(12, 54, 47, .18); }
.apt-card__media { position: relative; }
.carousel--mini .carousel__track { grid-auto-columns: 100%; gap: 0; padding: 0; scroll-padding-inline: 0; scrollbar-width: none; }
.carousel--mini .carousel__track::-webkit-scrollbar { display: none; }
.carousel--mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carousel--mini .carousel__controls { position: absolute; right: 12px; bottom: 12px; margin: 0; }
.carousel--mini .carousel__btn { width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .92); }
.carousel--mini .carousel__btn:focus-visible { outline-offset: -6px; }
.carousel--mini .carousel__track:focus-visible { outline-color: #fff; outline-offset: -6px; border-radius: 22px 22px 0 0; }
@supports selector(:has(*)) {
  .carousel--mini .carousel__track:focus-visible { outline: none; }
  .apt-card:has(.carousel__track:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
}
.apt-card__price { position: absolute; left: 14px; top: 14px; margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--green-900); color: var(--white); font: 700 1.05rem var(--font-body); }
.apt-card__price small { font-weight: 400; opacity: .85; }
.apt-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.apt-card__body h3 { margin-bottom: .2em; }
.apt-card__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; margin-bottom: .6em; }
.apt-card__meta .icon { color: var(--olive); }
.apt-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding-block: 8px; }

/* ---------- Atrakcje: siatka kafli ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
.bento__tile { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--cream-200); }
.bento__tile:first-child { grid-column: span 2; grid-row: span 2; }
.bento__tile img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 479.98px) { .bento__tile:not(:first-child) figcaption { padding: 32px 14px 12px; font-size: 1rem; } }
.bento__tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 18px 16px; background: linear-gradient(transparent, rgba(8, 36, 31, .85)); color: var(--white); font: 600 1.2rem/1.2 var(--font-head); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-template-areas: "a a b b" "a a c d" "e f g g"; }
  .bento__tile:nth-child(1) { grid-area: a; } .bento__tile:nth-child(2) { grid-area: b; } .bento__tile:nth-child(3) { grid-area: c; }
  .bento__tile:nth-child(4) { grid-area: d; } .bento__tile:nth-child(5) { grid-area: e; } .bento__tile:nth-child(6) { grid-area: f; }
  .bento__tile:nth-child(7) { grid-area: g; }
  .bento__tile:first-child figcaption { font-size: 1.6rem; }
}

/* ---------- Okolica: etykiety miejsc ---------- */
.chips { list-style: none; padding: 0; margin: 0 0 1.6em; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); color: var(--green-900); font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.chip .icon { color: var(--olive); }
.chip:hover { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.chip:hover .icon { color: #d9e4a6; }

/* ---------- Galeria: mozaika ---------- */
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; }
.mosaic li:nth-child(1), .mosaic li:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.mosaic li:nth-child(4) { grid-row: span 2; }
.mosaic li:nth-child(7) { grid-column: span 2; }
.mosaic a { display: block; height: 100%; border-radius: 16px; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.mosaic a:hover img { transform: scale(1.05); }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
  .mosaic li:nth-child(6) { grid-column: auto; grid-row: auto; }
  .mosaic li:nth-child(7) { grid-column: auto; }
}

/* ---------- Opinie: duże cytaty ---------- */
.reviews-v2 .carousel__btn { border-color: rgba(255, 255, 255, .7); background: transparent; color: var(--white); }
.reviews-v2 .carousel__btn:hover { background: var(--white); color: var(--green-900); }
.reviews-v2 .carousel__btn[aria-disabled="true"]:hover { background: transparent; color: var(--white); }
.carousel--quotes .carousel__track { grid-auto-columns: min(100%, 540px); gap: 22px; scrollbar-color: rgba(255, 255, 255, .4) transparent; }
.quote { margin: 0; height: 100%; display: flex; flex-direction: column; padding: 28px 28px 24px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.quote .stars { color: #f0c46b; }
.quote blockquote { position: relative; margin: 18px 0 20px; font: italic 400 1.15rem/1.6 var(--font-head); color: var(--white); }
.quote blockquote::before { content: "\201E"; position: absolute; right: -4px; top: -84px; font: 700 5rem/1 var(--font-head); color: var(--camel); opacity: .6; }
.quote blockquote p { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden; }
.quote.is-open blockquote p { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.quote__more { align-self: flex-start; min-height: 44px; margin: -12px 0 12px; padding: 0; border: 0; background: none; color: #f0c46b; font: 700 1rem var(--font-body); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.quote figcaption { margin-top: auto; font-weight: 700; color: var(--white); }
.quote figcaption span { display: block; font-weight: 400; color: #cfdcd5; font-size: .92rem; }
/* Opinie na jasnym tle (podstrona O nas) */
.reviews-light .carousel--quotes .carousel__track { scrollbar-color: rgba(12, 54, 47, .3) transparent; }
.reviews-light .quote { background: var(--white); border-color: var(--border); }
.reviews-light .quote .stars { color: #b07a12; }
.reviews-light .quote blockquote { color: var(--text); }
.reviews-light .quote blockquote::before { opacity: .4; }
.reviews-light .quote__more { color: var(--green-900); }
.reviews-light .quote figcaption { color: var(--green-900); }
.reviews-light .quote figcaption span { color: var(--muted); }

/* ---------- Kontakt na tle zdjęcia ---------- */
.cta-photo { position: relative; isolation: isolate; color: var(--white); overflow: hidden; }
.cta-photo__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 36, 31, .92) 0%, rgba(8, 36, 31, .82) 50%, rgba(8, 36, 31, .55) 100%); }
.cta-photo { --focus: #e0a526; }
.cta-photo h2 { color: var(--white); }
.cta-photo .contact-list .icon-wrap { background: rgba(255, 255, 255, .12); color: #d9e4a6; }
.cta-photo .contact-list strong { color: #cfdcd5; }
.cta-photo .contact-list a, .cta-photo .contact-list span.value { color: var(--white); }

/* ---------- Powiększenie zdjęcia po najechaniu ---------- */
.zoom img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.zoom:hover img { transform: scale(1.05); }

/* ---------- Pasek „Zadzwoń / Napisz” na telefonie ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--green-900); box-shadow: 0 -4px 18px rgba(0, 0, 0, .2); --focus: #e0a526; }
.mobile-bar .btn { min-height: 46px; padding: .6em 1em; }
@media (max-width: 1119.98px) {
  .site-footer { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1120px) { .mobile-bar { display: none; } }
@media (max-width: 1119.98px) and (max-height: 500px) {   /* telefon w poziomie, duże powiększenie */
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 0; }
}

/* ---------- Pojawianie się elementów przy przewijaniu ---------- */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal-on [data-reveal="1"] { transition-delay: .1s; } .reveal-on [data-reveal="2"] { transition-delay: .2s; } .reveal-on [data-reveal="3"] { transition-delay: .3s; }
.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
  .carousel__track { scroll-behavior: auto; }
  .hero-ill__cloud, .js .hero-ill__collage .frame { animation: none; }
  .zoom:hover img, .mosaic a:hover img, .apt-card:hover { transform: none; }
}
@media print {
  .mobile-bar, .carousel__controls, .hero-ill__art { display: none !important; }
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
  .quote blockquote p { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .quote__more { display: none; }
  .carousel__track { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .quote, .reviews-v2, .cta-photo { color: #000; background: none; }
  .quote blockquote, .quote figcaption, .cta-photo h2 { color: #000; }
}
