@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  --ink: #171915;
  --muted: #696d64;
  --paper: #f6f3ed;
  --paper-2: #eee9e1;
  --white: #fffdfa;
  --green: #244521;
  --green-dark: #183516;
  --copper: #a55424;
  --line: #ded8cf;
  --shadow: 0 14px 38px rgba(45, 36, 22, .08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.55; }
body.modal-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.site-header {
  height: 104px; padding: 18px 26px 14px; display: grid; grid-template-columns: 175px 1fr 145px;
  align-items: center; gap: 28px; max-width: 1500px; margin: 0 auto; position: relative; z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.brand-mark { width: 59px; height: 59px; border: 1.2px solid #304235; border-radius: 50%; position: relative; overflow: hidden; display: block; flex: 0 0 auto; }
.brand-mark .tree { position: absolute; left: 19px; top: 16px; width: 4px; height: 26px; background: var(--green); }
.brand-mark .tree::before, .brand-mark .tree::after { content: ''; position: absolute; left: -8px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 13px solid var(--green); transform: rotate(0deg); }
.brand-mark .tree::before { top: -6px; }.brand-mark .tree::after { top: 4px; }
.brand-mark .sun { width: 8px; height: 8px; background: #b06a34; border-radius: 50%; position: absolute; top: 13px; right: 13px; }
.brand-mark .wave { position: absolute; width: 34px; height: 10px; border-top: 2px solid #b06a34; border-radius: 50%; left: 17px; transform: rotate(-7deg); }
.brand-mark .wave.one { top: 39px; }.brand-mark .wave.two { top: 45px; left: 12px; width: 38px; }
.brand-copy { display: grid; text-align: center; letter-spacing: .13em; line-height: 1; }
.brand-copy strong { font: 500 19px var(--serif); white-space: nowrap; }
.brand-copy small { font-size: 8px; letter-spacing: .42em; margin-top: 7px; }
.main-nav { display: flex; justify-content: center; gap: clamp(24px, 4vw, 57px); }
.main-nav a { font-size: 12px; font-weight: 700; letter-spacing: .02em; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: -8px; height: 1px; background: var(--copper); transition: .2s; }
.main-nav a:hover::after, .main-nav a.active::after { left: 0; right: 0; }
.menu-toggle { display: none; }
.button { border: 0; min-height: 48px; padding: 0 25px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-size: 12px; font-weight: 700; letter-spacing: .01em; cursor: pointer; transition: transform .18s, background .18s, color .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-accent { background: var(--copper); color: #fff; }
.button-outline { background: transparent; border: 1px solid #9a9d96; }
.button-wide { width: 100%; }
.header-book { justify-self: end; min-width: 145px; }

.hero-shell { max-width: 1500px; min-height: 610px; margin: 0 auto; display: grid; grid-template-columns: 43.5% 56.5%; }
.hero-copy { padding: 57px 28px 40px 29px; display: flex; flex-direction: column; }
.hero-copy h1 { font: 500 clamp(45px, 5.5vw, 74px)/1.05 var(--serif); letter-spacing: -.035em; margin: 0; }
.hero-copy h1 em { color: var(--copper); font-style: normal; }
.hero-copy > p { max-width: 380px; margin: 25px 0 41px; font-size: 16px; line-height: 1.7; }
.hero-facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; max-width: 610px; }
.hero-facts div { min-width: 0; text-align: center; display: grid; justify-items: center; align-content: start; }
.fact-icon { width: 33px; height: 33px; display: grid; place-items: center; font-size: 25px; color: #34453a; margin-bottom: 7px; }
.hero-facts strong { font-size: 10px; line-height: 1.25; }
.hero-facts small { font-size: 8px; line-height: 1.35; margin-top: 4px; }
.hero-actions { display: flex; gap: 24px; margin-top: auto; }
.hero-gallery { display: grid; grid-template-columns: 1.52fr 1fr 1fr; grid-template-rows: 1.27fr .6fr; gap: 4px; min-height: 610px; }
.hero-gallery img { height: 100%; object-fit: cover; }
.hero-image-1 { grid-column: 1 / 3; grid-row: 1; }
.hero-image-2 { grid-column: 3; grid-row: 1; }
.hero-image-3 { display: none; }
.hero-image-4 { grid-column: 1; grid-row: 2; }
.hero-image-5 { grid-column: 2; grid-row: 2; }
.hero-image-6 { grid-column: 3; grid-row: 2; }

.feature-strip { min-height: 116px; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(255,255,255,.55); border-top: 1px solid #eee9e2; border-bottom: 1px solid #eee9e2; }
.feature-strip article { padding: 20px 15px; text-align: center; display: grid; align-content: center; justify-items: center; border-right: 1px solid #e4dfd7; }
.feature-strip article:last-child { border-right: 0; }
.feature-strip article > span { font-size: 30px; color: #34453a; line-height: 1; margin-bottom: 10px; }
.feature-strip strong { font-size: 11px; }.feature-strip small { font-size: 9px; max-width: 150px; line-height: 1.45; margin-top: 4px; }

.section { padding: 0 30px; max-width: 1500px; margin-left: auto; margin-right: auto; }
.section-title { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 17px 0 15px; }
.section-title span { width: 31px; height: 1px; background: #cda985; }
.section-title h2 { font: 500 clamp(21px, 2.2vw, 27px) var(--serif); margin: 0; }
.houses-section { padding-top: 2px; }
.houses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.house-card { display: grid; grid-template-columns: 58% 42%; min-height: 375px; border-radius: 6px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.house-card > img { height: 100%; object-fit: cover; min-height: 375px; }
.house-card-copy { padding: 25px 26px 17px; display: flex; flex-direction: column; }
.house-card-copy > small { font-size: 10px; font-weight: 700; }
.house-card h3 { color: var(--house-accent); font: 600 24px var(--serif); margin: 2px 0 17px; }
.house-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 10px; }
.house-card p { font-size: 11px; line-height: 1.5; margin: 19px 0 14px; }
.house-button { background: var(--house-accent); color: #fff; margin-top: auto; min-height: 43px; }
.date-link { border: 0; background: none; font-weight: 700; font-size: 11px; cursor: pointer; padding: 12px 0 0; }
.date-link span { margin-left: 10px; }

.moments-section { padding-top: 8px; }
.moments-grid { display: grid; grid-template-columns: repeat(4, 1fr) .8fr; gap: 4px; }
.moment-card, .all-photos { min-height: 257px; border-radius: 5px; overflow: hidden; }
.moment-card { background-size: cover; background-position: center; color: #fff; display: flex; align-items: end; padding: 18px; }
.moment-card strong { font-size: 12px; letter-spacing: .03em; }.moment-card p { font-size: 11px; margin: 6px 0 0; }
.all-photos { background: var(--green); color: #fff; display: grid; place-items: center; align-content: center; text-align: center; gap: 15px; }
.all-photos span { font-size: 30px; }.all-photos strong { font-size: 13px; line-height: 1.5; }.all-photos i { font-size: 28px; font-style: normal; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 29px; padding-bottom: 16px; }
.story-grid > article { background: rgba(255,255,255,.52); border: 1px solid #e8e2d9; border-radius: 7px; overflow: hidden; min-height: 300px; }
.story-grid h2 { font: 500 20px/1.2 var(--serif); margin: 0; }
.reviews-card { padding: 22px; position: relative; display: grid; grid-template-columns: 40% 60%; grid-template-rows: auto 1fr; }
.reviews-card h2 { grid-column: 1; }.rating { grid-column: 1; margin-top: 14px; }.rating strong { font: 500 52px var(--serif); }.rating span { font: 20px var(--serif); }
.stars { color: #f09a00; font-size: 20px; letter-spacing: 2px; }.reviews-card > p { font-weight: 600; margin: 8px 0; }.reviews-card > p small { display: block; font-weight: 400; font-size: 8px; margin-top: 5px; }.reviews-card > b { color: #0a3e9c; font-size: 16px; }
.review-quotes { grid-column: 2; grid-row: 1 / 4; display: grid; gap: 4px; padding-left: 20px; }
.review-quotes blockquote { background: #f0ede7; margin: 0; border-radius: 4px; padding: 14px 16px 14px 27px; font-size: 9px; position: relative; }
.review-quotes blockquote::before { content: '“'; position: absolute; left: 10px; top: 9px; color: var(--green); font-size: 22px; font-weight: 700; }
.seasons-card { padding: 22px; }.seasons-card > h2, .seasons-card > p { text-align: center; }.seasons-card > p { font-size: 10px; color: var(--muted); }
.seasons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }.seasons-grid img { height: 95px; object-fit: cover; border-radius: 5px; }.seasons-grid strong, .seasons-grid small { display: block; text-align: center; }.seasons-grid strong { font-size: 9px; margin: 9px 0 4px; }.seasons-grid small { font-size: 8px; line-height: 1.4; }
.location-card { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr 1fr; }
.location-copy { padding: 25px 28px; }.location-copy > p { font-size: 11px; }.location-copy ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 7px; font-size: 10px; }.location-copy li { padding-bottom: 6px; border-bottom: 1px solid #e4ded5; }.location-copy li span { float: right; }.location-card iframe { width: 100%; min-height: 320px; border: 0; filter: saturate(.75) contrast(.94); }

.full-gallery { padding-top: 3px; padding-bottom: 23px; }
.photo-wall, .detail-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.photo-wall button, .detail-gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 5px; }
.photo-wall img { height: 210px; object-fit: cover; transition: transform .3s; }.photo-wall button:nth-child(3n+1) { grid-row: span 2; }.photo-wall button:nth-child(3n+1) img { height: 427px; }.photo-wall button:hover img, .detail-gallery button:hover img { transform: scale(1.025); }

.booking-bar { padding-bottom: 22px; }
.booking-bar form { background: rgba(255,255,255,.68); border: 1px solid #e5dfd5; border-radius: 8px; min-height: 105px; display: grid; grid-template-columns: 270px 1fr 275px; align-items: center; gap: 26px; padding: 17px 28px; box-shadow: var(--shadow); }
.booking-bar-title h2 { font: 500 20px var(--serif); margin: 0; }.booking-bar-title p { margin: 3px 0 0; font-size: 9px; }
.booking-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.booking-fields label, .form-grid label { display: grid; gap: 5px; }
.booking-fields label > span, .form-grid label > span { font-size: 8px; font-weight: 700; letter-spacing: .04em; }
input, select, textarea { width: 100%; background: #fff; border: 1px solid #d9d4cc; border-radius: 4px; color: var(--ink); min-height: 41px; padding: 8px 11px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(36,69,33,.09); }
textarea { resize: vertical; }

.site-footer { background: #1e311d; color: #f8f5ef; padding: 55px max(30px, calc((100vw - 1440px)/2 + 30px)) 22px; display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 60px; }
.site-footer > div > p { color: #d7ded3; max-width: 470px; font-size: 12px; }.footer-brand { margin-bottom: 18px; }.site-footer h3 { font: 500 17px var(--serif); margin: 0 0 14px; }.site-footer a:not(.brand), .site-footer .text-button { display: block; color: #fff; margin: 6px 0; }.text-button { border: 0; padding: 0; background: none; cursor: pointer; }.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; display: flex; justify-content: space-between; font-size: 10px; }

.booking-modal[hidden], .lightbox[hidden] { display: none; }
.booking-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 20, 13, .68); backdrop-filter: blur(3px); }
.modal-card { width: min(850px, 100%); max-height: calc(100vh - 40px); overflow: auto; position: relative; background: var(--paper); border-radius: 9px; box-shadow: 0 30px 90px rgba(0,0,0,.27); padding: 34px; }
.modal-card h2 { font: 500 34px var(--serif); margin: 0; }.modal-card > p:not(.eyebrow) { color: var(--muted); font-size: 12px; max-width: 620px; }
.eyebrow { font-size: 9px; letter-spacing: .13em; font-weight: 700; color: var(--copper); }
.modal-close { position: absolute; right: 18px; top: 13px; border: 0; background: none; font: 30px var(--serif); cursor: pointer; }
.modal-form { margin-top: 24px; }.modal-grid { margin-bottom: 14px; }.availability-result { margin-top: 15px; border-radius: 5px; padding: 0; font-size: 12px; }.availability-result.loading, .availability-result.success, .availability-result.error { padding: 12px 14px; }.availability-result.loading { background: #ebe7df; }.availability-result.success { background: #deeadc; color: #173d16; }.availability-result.error { background: #f3dfd8; color: #722b18; }.availability-result.final { font-size: 14px; line-height: 1.6; }
.reservation-details { border-top: 1px solid var(--line); padding-top: 21px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.form-grid .full { grid-column: 1 / -1; }.consent { display: flex; align-items: flex-start; gap: 9px; margin: 15px 0; font-size: 10px; }.consent input { width: 17px; min-height: 17px; flex: 0 0 auto; }.modal-contact { text-align: center; font-size: 10px; margin-top: 16px; }.modal-contact a { font-weight: 700; }
.lightbox { position: fixed; inset: 0; background: rgba(9,12,8,.92); z-index: 120; display: grid; place-items: center; padding: 50px; }.lightbox img { width: auto; height: auto; max-width: 96vw; max-height: 88vh; }.lightbox button { position: fixed; top: 15px; right: 25px; color: #fff; font-size: 38px; border: 0; background: none; cursor: pointer; }

.house-detail { --house-accent: var(--green); }
.detail-hero { display: grid; grid-template-columns: 44% 56%; min-height: 600px; max-width: 1500px; margin: 0 auto; }.detail-hero > img { height: 600px; object-fit: cover; }.detail-copy { padding: 85px 60px 60px max(30px, calc((100vw - 1440px)/2 + 30px)); display: flex; flex-direction: column; align-items: flex-start; }.detail-copy h1 { color: var(--house-accent); font: 500 clamp(44px, 5vw, 72px) var(--serif); margin: 0 0 24px; }.detail-copy > p:not(.eyebrow) { font-size: 15px; max-width: 530px; }.detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; margin: 25px 0 30px; font-size: 12px; }.detail-copy .house-button { min-width: 240px; }
.detail-content { display: grid; grid-template-columns: 1.4fr .6fr; gap: 90px; padding-top: 70px; padding-bottom: 60px; }.detail-content h2 { font: 500 37px/1.2 var(--serif); max-width: 680px; }.detail-content > div > p:not(.eyebrow) { max-width: 760px; color: #50544d; }.detail-content aside { background: #fff; padding: 30px; border-radius: 6px; box-shadow: var(--shadow); align-self: start; }.detail-content aside h3 { font: 500 22px var(--serif); margin: 0; }.detail-content aside p { font-size: 11px; color: var(--muted); }
.detail-gallery { grid-template-columns: repeat(3, 1fr); padding-bottom: 60px; }.detail-gallery button:first-child { grid-column: span 2; grid-row: span 2; }.detail-gallery img { height: 260px; object-fit: cover; }.detail-gallery button:first-child img { height: 527px; }

@media (min-width: 1200px) {
  .location-card { grid-column: auto; }
  .story-grid { grid-template-columns: 1fr 1fr 1fr; }
  .location-card { grid-template-columns: 1fr .85fr; }
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 165px 1fr 130px; gap: 12px; }.main-nav { gap: 20px; }
  .hero-shell { grid-template-columns: 48% 52%; }.hero-facts { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }.hero-copy > p { margin-bottom: 25px; }.hero-actions { margin-top: 30px; flex-wrap: wrap; gap: 10px; }
  .house-card { grid-template-columns: 50% 50%; }.moments-grid { grid-template-columns: repeat(2, 1fr); }.all-photos { min-height: 200px; }
  .booking-bar form { grid-template-columns: 1fr; gap: 14px; }.booking-bar .button { width: 100%; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .site-header { height: 82px; padding: 10px 18px; grid-template-columns: 1fr auto; background: var(--paper); position: sticky; top: 0; box-shadow: 0 5px 18px rgba(0,0,0,.05); }.brand-mark { width: 48px; height: 48px; }.brand-copy strong { font-size: 16px; }.main-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; background: var(--paper); padding: 20px; flex-direction: column; align-items: center; box-shadow: var(--shadow); }.menu-open .main-nav { display: flex; }.menu-toggle { display: block; border: 0; background: none; font-size: 25px; }.header-book { display: none; }
  .hero-shell { grid-template-columns: 1fr; }.hero-copy { padding: 45px 20px 35px; order: 1; }.hero-copy h1 { font-size: 48px; }.hero-copy > p { font-size: 14px; margin: 20px 0 30px; }.hero-gallery { min-height: 450px; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1.5fr 1fr; }.hero-image-1 { grid-column: 1 / 3; }.hero-image-2 { display: none; }.hero-image-4 { grid-column: 1; }.hero-image-5 { grid-column: 2; }.hero-image-6 { display: none; }.hero-facts { grid-template-columns: repeat(3, 1fr); }.hero-actions .button { flex: 1; min-width: 220px; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }.feature-strip article { min-height: 125px; border-bottom: 1px solid #e4dfd7; }
  .section { padding-left: 16px; padding-right: 16px; }.section-title { gap: 12px; }.section-title h2 { text-align: center; font-size: 21px; }
  .houses-grid { grid-template-columns: 1fr; gap: 18px; }.house-card { grid-template-columns: 1fr; }.house-card > img { min-height: 310px; height: 310px; }.house-card-copy { padding: 25px; }.house-card p { font-size: 12px; }
  .moments-grid { grid-template-columns: 1fr 1fr; }.moment-card, .all-photos { min-height: 230px; }.moments-grid .all-photos { grid-column: 1 / -1; min-height: 160px; }
  .story-grid { grid-template-columns: 1fr; }.reviews-card { grid-template-columns: 1fr; }.review-quotes { grid-column: 1; grid-row: auto; padding: 18px 0 0; }.location-card { grid-column: 1; grid-template-columns: 1fr; }
  .seasons-grid { grid-template-columns: 1fr 1fr; }.seasons-grid img { height: 130px; }
  .photo-wall, .detail-gallery { grid-template-columns: 1fr 1fr; }.photo-wall img, .photo-wall button:nth-child(3n+1) img { height: 180px; }.photo-wall button:nth-child(3n+1) { grid-row: auto; }
  .booking-bar form { padding: 25px 18px; }.booking-fields { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; padding: 45px 22px 20px; }.footer-bottom { grid-column: 1; }
  .modal-card { padding: 29px 18px 20px; }.modal-card h2 { font-size: 27px; }.modal-grid, .form-grid { grid-template-columns: 1fr 1fr; }.lightbox { padding: 20px; }
  .detail-hero { grid-template-columns: 1fr; }.detail-hero > img { height: 420px; order: -1; }.detail-copy { padding: 45px 22px; }.detail-copy h1 { font-size: 48px; }.detail-content { grid-template-columns: 1fr; gap: 30px; padding-top: 45px; }.detail-content h2 { font-size: 30px; }.detail-gallery button:first-child { grid-column: 1 / -1; grid-row: auto; }.detail-gallery button:first-child img, .detail-gallery img { height: 220px; }
}

/* Stałe kadrowanie fotografii zgodne z projektem */
@media (min-width: 761px) {
  .hero-shell { height: 610px; min-height: 610px; }
  .hero-copy { min-height: 0; }
  .hero-gallery {
    height: 610px;
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr);
  }
  .hero-image-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .hero-image-2 { grid-column: 3; grid-row: 1; }
  .hero-image-3 { display: block; grid-column: 3; grid-row: 2; }
  .hero-image-4 { grid-column: 1; grid-row: 3; }
  .hero-image-5 { grid-column: 2; grid-row: 3; }
  .hero-image-6 { grid-column: 3; grid-row: 3; }
}

.hero-gallery { overflow: hidden; }
.hero-gallery img,
.house-card > img,
.seasons-grid img,
.photo-wall img,
.detail-gallery img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-gallery img { min-width: 0; min-height: 0; height: 100%; }
.house-card,
.photo-wall button,
.detail-gallery button,
.seasons-grid > div { min-width: 0; overflow: hidden; }
.moment-card { background-size: cover; background-position: center; background-repeat: no-repeat; }

@media (max-width: 1050px) and (min-width: 761px) {
  .hero-shell, .hero-gallery { height: 700px; min-height: 700px; }
}

@media (max-width: 760px) {
  .hero-shell { height: auto; min-height: 0; }
  .hero-gallery { height: 450px; min-height: 450px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.5fr 1fr; }
  .hero-image-1 { grid-column: 1 / 3; grid-row: 1; }
  .hero-image-2, .hero-image-3, .hero-image-6 { display: none; }
  .hero-image-4 { grid-column: 1; grid-row: 2; }
  .hero-image-5 { grid-column: 2; grid-row: 2; }
}

@media (max-width: 480px) {
  .hero-copy h1, .detail-copy h1 { font-size: 42px; }.hero-facts { grid-template-columns: repeat(2, 1fr); }.hero-actions { display: grid; }.feature-strip { grid-template-columns: 1fr 1fr; }.moments-grid { grid-template-columns: 1fr; }.moments-grid .all-photos { grid-column: 1; }.story-grid { padding-left: 10px; padding-right: 10px; }.seasons-grid { gap: 6px; }.booking-fields, .modal-grid, .form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: 1; }.photo-wall, .detail-gallery { grid-template-columns: 1fr; }.footer-bottom { display: grid; gap: 10px; }.detail-meta { grid-template-columns: 1fr; }
}

/* Czytelniejsza typografia i awaryjne tło dla niepodmienionych zdjęć */
body { font-size: 16px; line-height: 1.6; }
img { background-color: #d9d5ca; }
.image-fallback { color: transparent; font-size: 0; background-image: radial-gradient(circle at 76% 24%, rgba(219,174,111,.95) 0 6%, transparent 6.4%), linear-gradient(145deg, transparent 0 53%, rgba(39,69,47,.82) 53.2% 70%, transparent 70.2%), linear-gradient(35deg, transparent 0 48%, rgba(74,101,73,.84) 48.2% 67%, transparent 67.2%), linear-gradient(180deg, #dbe5df 0%, #cbd9d1 52%, #71826e 52.2%, #435542 100%); }
.main-nav a { font-size: 13px; }
.button { min-height: 50px; padding-left: 26px; padding-right: 26px; font-size: 13px; }
.hero-copy > p { max-width: 420px; font-size: 18px; line-height: 1.65; }
.fact-icon { width: 36px; height: 36px; font-size: 29px; }
.hero-facts strong { font-size: 13px; }
.hero-facts small { font-size: 11px; line-height: 1.4; margin-top: 5px; }
.feature-strip strong { font-size: 13px; }
.feature-strip small { max-width: 180px; font-size: 11px; line-height: 1.45; }
.house-card-copy > small { font-size: 11px; }
.house-meta { font-size: 12px; }
.house-card p { font-size: 14px; line-height: 1.55; }
.date-link { font-size: 12px; }
.moment-card strong { font-size: 14px; }
.moment-card p { font-size: 13px; line-height: 1.5; }
.review-quotes blockquote { font-size: 11px; line-height: 1.45; }
.seasons-card > p { font-size: 12px; }
.seasons-grid strong { font-size: 11px; }
.seasons-grid small { font-size: 10px; line-height: 1.45; }
.location-copy > p { font-size: 13px; }
.location-copy ul { font-size: 12px; }
.booking-bar-title h2 { font-size: 22px; }
.booking-bar-title p { font-size: 11px; }
.booking-fields label > span, .form-grid label > span { font-size: 10px; }
.site-footer > div > p { font-size: 14px; }
.site-footer h3 { font-size: 19px; }
.site-footer a:not(.brand), .site-footer .text-button { font-size: 14px; }
.footer-bottom { font-size: 11px; }
.modal-card > p:not(.eyebrow) { font-size: 14px; }
.eyebrow { font-size: 10px; }
.consent { font-size: 11px; }
.modal-contact { font-size: 12px; }
.detail-copy > p:not(.eyebrow) { font-size: 16px; }
.detail-meta { font-size: 14px; }
.detail-content aside p { font-size: 13px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-copy > p { font-size: 16px; }
  .hero-facts strong { font-size: 15px; }
  .hero-facts small { font-size: 13px; }
  .house-card p { font-size: 14px; }
}

/* Większe parametry domu, właściwe logo i antracytowa stopka */
.brand { width: 175px; }
.brand-logo { width: 100%; height: 78px; object-fit: contain; object-position: left center; background: transparent; }
.fact-icon { width: 40px; height: 40px; font-size: 32px; margin-bottom: 8px; }
.hero-facts { gap: 8px; }
.hero-facts strong { font-size: 15px; line-height: 1.3; }
.hero-facts small { font-size: 13px; line-height: 1.42; margin-top: 6px; }
.site-footer { background: #222426; }
.site-footer > div > p { color: #d5d6d7; }

@media (max-width: 760px) {
  .brand { width: 150px; }
  .brand-logo { height: 60px; }
  .hero-facts strong { font-size: 15px; }
  .hero-facts small { font-size: 13px; }
}

/* Minimalna wielkość wszystkich widocznych tekstów: 14 px */
.brand-copy small,
.main-nav a,
.button,
.feature-strip strong,
.feature-strip small,
.house-card-copy > small,
.house-meta,
.house-card p,
.date-link,
.moment-card p,
.all-photos strong,
.reviews-card > p small,
.review-quotes blockquote,
.seasons-card > p,
.seasons-grid strong,
.seasons-grid small,
.location-copy > p,
.location-copy ul,
.booking-bar-title p,
.booking-fields label > span,
.form-grid label > span,
.site-footer > div > p,
.site-footer a:not(.brand),
.site-footer .text-button,
.footer-bottom,
.modal-card > p:not(.eyebrow),
.eyebrow,
.availability-result,
.consent,
.modal-contact,
.detail-meta,
.detail-content aside p { font-size: 14px; }

.hero-facts strong { font-size: 17px; }
.hero-facts small { font-size: 15px; }
.moment-card strong { font-size: 15px; }

@media (max-width: 760px) {
  .hero-facts strong { font-size: 17px; }
  .hero-facts small { font-size: 15px; }
}

/* Wersja 1.5: profesjonalne ikony, wcięcie galerii, równe zdjęcia i rozbudowana stopka */
.semantic-icon { width: 1em; height: 1em; display: block; flex: 0 0 auto; }
.icon-fallback { display: grid; place-items: center; min-width: 1em; min-height: 1em; }

.site-header {
  height: 154px;
  grid-template-columns: 360px minmax(0, 1fr) 155px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { width: 350px; }
.brand-logo { height: 128px; }
.main-nav { gap: clamp(20px, 3vw, 48px); }

.fact-icon { width: 42px; height: 42px; font-size: 38px; }
.fact-icon .semantic-icon { width: 38px; height: 38px; }
.feature-strip article > .feature-icon { width: 42px; height: 42px; display: grid; place-items: center; font-size: 36px; margin-bottom: 10px; color: #34453a; }
.feature-icon .semantic-icon { width: 34px; height: 34px; }
.house-meta span, .detail-meta span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.house-meta .semantic-icon { width: 19px; height: 19px; color: #46544a; }
.detail-meta .semantic-icon { width: 21px; height: 21px; color: var(--house-accent); }
.button .semantic-icon { width: 19px; height: 19px; }
.date-link { display: inline-flex; justify-content: center; align-items: center; gap: 10px; }
.date-link .semantic-icon { width: 18px; height: 18px; }

@media (min-width: 1060px) {
  .hero-shell { grid-template-columns: 34% 66%; position: relative; }
  .hero-copy { position: relative; z-index: 2; overflow: visible; }
  .hero-copy::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    right: -158px;
    bottom: 0;
    height: 197px;
    background: var(--paper);
    border-radius: 0 8px 0 0;
  }
  .hero-facts, .hero-actions { width: calc(100% + 145px); max-width: none; }
  .hero-gallery { position: relative; z-index: 1; }
}

.booking-logo-wrap { grid-column: 1; display: flex; align-items: center; min-height: 46px; margin-top: 8px; }
.booking-logo { width: 158px; height: 42px; object-fit: contain; object-position: left center; background: transparent; }

.equal-gallery {
  display: grid !important;
  grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr)) !important;
  grid-template-rows: repeat(var(--gallery-rows), minmax(0, auto));
  grid-auto-flow: row;
  gap: 8px;
}
.equal-gallery button,
.equal-gallery button:first-child,
.equal-gallery button:nth-child(3n+1) { grid-column: auto !important; grid-row: auto !important; min-width: 0; }
.equal-gallery img,
.equal-gallery button:first-child img,
.equal-gallery button:nth-child(3n+1) img {
  width: 100%;
  height: clamp(150px, 15vw, 225px) !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.site-footer {
  position: relative;
  background: #25282a;
  padding-top: 64px;
  grid-template-columns: 1.15fr 1.15fr .85fr;
  gap: clamp(36px, 5vw, 76px);
}
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--green), var(--copper)); }
.site-footer h3 { font-size: 22px; margin-bottom: 20px; }
.site-footer > div > p { line-height: 1.75; }
.footer-brand { display: block !important; width: min(285px, 100%); margin: 0 0 22px !important; }
.footer-brand img { width: 100%; height: 105px; padding: 8px 12px; object-fit: contain; object-position: center; background: #f7f3ed; border-radius: 6px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.footer-contact-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 10px; color: #ecebea; font-size: 14px; line-height: 1.5; }
.footer-contact-list .semantic-icon { width: 21px; height: 21px; margin-top: 1px; color: #d29a6d; }
.footer-contact-list a { display: inline !important; margin: 0 !important; overflow-wrap: anywhere; }
.footer-contact-list span { overflow-wrap: anywhere; }
.footer-booking-button { margin-top: 11px; background: #f4f0e9; color: #242729; min-height: 52px; }
.footer-booking-button:hover { background: #fff; }
.footer-booking-button .semantic-icon { width: 20px; height: 20px; }
.footer-bottom { margin-top: 10px; padding-top: 22px; color: #c9cbcc; }

@media (max-width: 1200px) {
  .site-header { grid-template-columns: 310px minmax(0, 1fr) 145px; gap: 14px; }
  .brand { width: 300px; }
  .brand-logo { height: 116px; }
  .main-nav { gap: 13px; }
}

@media (max-width: 1050px) {
  .site-header { height: 124px; grid-template-columns: minmax(0, 1fr) auto auto; }
  .brand { width: 300px; }
  .brand-logo { height: 104px; }
  .menu-toggle { display: block; border: 0; background: none; font-size: 27px; cursor: pointer; }
  .main-nav { display: none; position: absolute; top: 124px; left: 0; right: 0; background: var(--paper); padding: 24px; flex-direction: column; align-items: center; box-shadow: var(--shadow); }
  .menu-open .main-nav { display: flex; }
  .header-book { display: inline-flex; }
}

@media (min-width: 761px) and (max-width: 1059px) {
  .hero-shell { grid-template-columns: 42% 58%; position: relative; }
  .hero-copy { position: relative; z-index: 2; overflow: visible; }
  .hero-copy::after { content: ''; position: absolute; z-index: -1; left: 0; right: -88px; bottom: 0; height: 235px; background: var(--paper); border-radius: 0 8px 0 0; }
  .hero-facts, .hero-actions { width: calc(100% + 75px); max-width: none; }
  .hero-gallery { position: relative; z-index: 1; }
}

@media (max-width: 760px) {
  .site-header { height: 96px; grid-template-columns: 1fr auto; }
  .brand { width: 185px; }
  .brand-logo { height: 76px; }
  .main-nav { top: 96px; }
  .header-book { display: none; }
  .equal-gallery { gap: 5px; }
  .equal-gallery img,
  .equal-gallery button:first-child img,
  .equal-gallery button:nth-child(3n+1) img { height: clamp(118px, 34vw, 175px) !important; }
  .site-footer { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { grid-column: 1; }
}

/* Wersja 1.6: większe logo, jednoznaczna ikona auta i wyraźne wcięcie nagłówka */
@media (min-width: 1201px) {
  .site-header { height: 184px; grid-template-columns: 490px minmax(0, 1fr) 155px; }
  .brand { width: 480px; }
  .brand-logo { height: 158px; }
}

@media (min-width: 1060px) {
  .hero-copy::after { display: none; }
  .hero-gallery { position: relative; isolation: isolate; }
  .hero-gallery::before {
    content: '';
    position: absolute;
    z-index: 5;
    left: 0;
    bottom: 0;
    width: 158px;
    height: 202px;
    background: var(--paper);
    border-radius: 0 20px 0 0;
    pointer-events: none;
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  .site-header { grid-template-columns: 390px minmax(0, 1fr) 145px; }
  .brand { width: 380px; }
  .brand-logo { height: 132px; }
}

@media (min-width: 761px) and (max-width: 1059px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; }
  .hero-copy::after { display: none; }
  .hero-gallery { position: relative; isolation: isolate; }
  .hero-gallery::before {
    content: '';
    position: absolute;
    z-index: 5;
    left: 0;
    bottom: 0;
    width: 88px;
    height: 238px;
    background: var(--paper);
    border-radius: 0 18px 0 0;
    pointer-events: none;
  }
}

@media (max-width: 760px) {
  .brand { width: 210px; }
  .brand-logo { height: 82px; }
  .hero-gallery::before { content: none; }
}

/* Wersja 1.8: pełne wcięcie nagłówka, zwarta ocena i osobna galeria */
@media (min-width: 1060px) {
  .hero-gallery::before {
    top: 52%;
    bottom: 0;
    height: auto;
  }
}

@media (min-width: 761px) and (max-width: 1059px) {
  .hero-gallery::before {
    top: 50%;
    bottom: 0;
    height: auto;
  }
}

.reviews-card {
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  grid-template-rows: auto auto auto auto 1fr;
  align-content: start;
}
.reviews-card h2 { grid-column: 1; grid-row: 1; }
.rating {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  align-self: start;
  min-height: 0;
  margin: 10px 0 0;
  line-height: 1;
}
.stars {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
  margin: 3px 0 8px;
  font-size: 23px;
  line-height: 1.15;
}
.reviews-card > p { grid-column: 1; grid-row: 4; align-self: start; margin: 0; }
.booking-logo-wrap { grid-column: 1; grid-row: 5; align-self: start; margin-top: 16px; }
.review-quotes { grid-column: 2; grid-row: 1 / 6; }

.gallery-preview-grid,
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.gallery-preview-grid button,
.gallery-page-grid button {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: none;
  cursor: zoom-in;
}
.gallery-preview-grid img,
.gallery-page-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease;
}
.gallery-preview-grid button:hover img,
.gallery-page-grid button:hover img { transform: scale(1.025); }
.gallery-all-actions { display: flex; justify-content: center; padding: 24px 0 8px; }
.gallery-all-actions .button { min-width: 290px; }

.gallery-page { padding-bottom: 58px; }
.gallery-page-hero {
  max-width: 1500px;
  margin: 0 auto;
  padding: 76px 30px 50px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.5), transparent);
}
.gallery-page-hero h1 { font: 500 clamp(42px, 5.4vw, 72px)/1.08 var(--serif); margin: 4px 0 18px; }
.gallery-page-hero > p:last-child { max-width: 670px; margin: 0 auto; color: var(--muted); }
.gallery-page-content { padding-bottom: 20px; }
.gallery-page-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-page-grid img { min-height: 210px; }
.gallery-empty { padding: 70px 20px; text-align: center; background: rgba(255,255,255,.55); border-radius: 7px; }

@media (max-width: 1059px) {
  .gallery-preview-grid,
  .gallery-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .reviews-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto auto; }
  .reviews-card h2,
  .rating,
  .stars,
  .reviews-card > p,
  .booking-logo-wrap,
  .review-quotes { grid-column: 1; }
  .reviews-card h2 { grid-row: 1; }
  .rating { grid-row: 2; }
  .stars { grid-row: 3; }
  .reviews-card > p { grid-row: 4; }
  .booking-logo-wrap { grid-row: 5; }
  .review-quotes { grid-row: 6; padding: 18px 0 0; }
  .gallery-page-hero { padding: 48px 20px 34px; }
  .gallery-page-grid img { min-height: 150px; }
}

@media (max-width: 480px) {
  .gallery-preview-grid,
  .gallery-page-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid img,
  .gallery-page-grid img { aspect-ratio: 16 / 11; }
  .gallery-all-actions .button { width: 100%; min-width: 0; }
}

/* Wersja 1.9: prawa autorskie i oznaczenie wykonawcy */
.footer-bottom { align-items: center; gap: 24px; font-size: 14px; }
.footer-bottom-links { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.site-footer .footer-bottom-links a,
.site-footer .footer-credit {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  font-size: 14px;
  white-space: nowrap;
}
.site-footer .footer-credit { color: #d9a16f; font-weight: 700; letter-spacing: .02em; }
.site-footer .footer-credit:hover { color: #fff; }

@media (max-width: 760px) {
  .footer-bottom-links { justify-content: flex-start; flex-wrap: wrap; gap: 12px 22px; }
}

/* Wersja 2.0: zwarty nagłówek bez zmniejszania logo */
@media (min-width: 1201px) {
  .hero-shell { margin-top: -56px; }
}

@media (min-width: 1060px) and (max-width: 1200px) {
  .hero-shell { margin-top: -44px; }
}

/* Wersja 2.1: mniejsze tytuły na podstronach domków */
@media (min-width: 761px) {
  .detail-copy h1 {
    max-width: 100%;
    font-size: clamp(40px, 3.9vw, 54px);
    line-height: 1.06;
    letter-spacing: -.02em;
  }
}

/* Wersja 2.4: ikony Facebook i Instagram w menu */
.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: -22px;
}
.main-nav .nav-social-link {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid rgba(36, 69, 33, .28);
  border-radius: 50%;
  color: var(--green);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.main-nav .nav-social-link::after { display: none; }
.main-nav .nav-social-link .semantic-icon { width: 19px; height: 19px; }
.main-nav .nav-social-link:hover,
.main-nav .nav-social-link:focus-visible {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 1050px) {
  .nav-socials { margin-left: 0; gap: 12px; }
  .main-nav .nav-social-link { width: 40px; height: 40px; flex-basis: 40px; }
  .main-nav .nav-social-link .semantic-icon { width: 21px; height: 21px; }
}

/* Wersja 2.5: wspólna oś menu, ikon społecznościowych i rezerwacji */
@media (min-width: 1051px) {
  .site-header { align-items: center; }
  .main-nav {
    min-height: 52px;
    align-items: center;
    gap: clamp(24px, 2.5vw, 42px);
  }
  .main-nav > a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .main-nav > a::after { bottom: 7px; }
  .nav-socials {
    height: 52px;
    margin-left: 0;
    align-self: center;
    justify-content: center;
  }
  .main-nav .nav-social-link {
    width: 36px;
    height: 36px;
    min-height: 36px;
    flex-basis: 36px;
    line-height: 1;
  }
  .header-book {
    height: 52px;
    min-height: 52px;
    align-self: center;
  }
}

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .main-nav > a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .nav-socials { height: 48px; justify-content: center; }
}
