/* Ciche Kąty u Skowronków – one page, no frameworks, no external fonts. */
:root {
  --bg: #faf7f2;
  --text: #2b2a26;
  --muted: #6b675e;
  --green: #2f4a35;
  --green-light: #e7ede4;
  --wood: #a86b3c;
  --line: #e4ddd1;
  --radius: 10px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; line-height: 1.2; color: var(--green); }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 .6em; }
h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.alt { background: #fff; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 242, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
.brand { font-family: var(--serif); font-size: 1.15rem; color: var(--green); text-decoration: none; margin-right: auto; white-space: nowrap; }
.top nav { display: flex; gap: 20px; }
.top nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--wood); }
.call { background: var(--green); color: #fff !important; padding: 7px 14px; border-radius: 999px; text-decoration: none; font-size: .95rem; white-space: nowrap; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff;
  background: #2f4a35 url(img/hero-m.webp) 70% 60% / cover no-repeat; }
@media (min-width: 900px) { .hero { background-image: url(img/hero.webp); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.08) 65%), linear-gradient(to right, rgba(0,0,0,.25), transparent 60%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 56px; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 7vw, 4.4rem); margin: 0 0 .2em; }
.hero p { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 640px; margin: 0 0 1.4em; }
.hero .place { font-style: normal; font-family: var(--sans); font-size: .95rem; opacity: .9; margin-bottom: .6em; letter-spacing: .04em; text-transform: uppercase; }
.button { display: inline-block; background: #fff; color: var(--green); padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; margin: 0 8px 8px 0; }
.button.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }

.lead { font-size: 1.12rem; }
blockquote { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--green); border-left: 3px solid var(--wood); margin: 2em 0; padding: .2em 0 .2em 1em; }

/* Offer */
.split { display: grid; gap: 40px; grid-template-columns: 1.2fr 1fr; align-items: start; }
.split img { border-radius: var(--radius); }
.features { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.features li { background: var(--green-light); border-radius: var(--radius); padding: 10px 14px; font-size: .97rem; }
.features li span { margin-right: 8px; }

/* Gallery */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs button { font: inherit; font-size: .95rem; border: 1px solid var(--line); background: #fff; color: var(--text); padding: 6px 16px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a[hidden] { display: none; }

dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(10, 12, 10, .97); }
.lightbox figure { margin: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 4px; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .close { top: 16px; right: 16px; }
.lightbox .prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox .next { right: 16px; top: 50%; translate: 0 -50%; }

/* About */
.poem { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.8; text-align: center; }

/* Contact */
.contact { background: var(--green); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact .phone { display: inline-block; font-family: var(--serif); font-size: clamp(2rem, 6vw, 3rem); color: #fff; text-decoration: none; margin: .2em 0 .4em; }
.contact address { font-style: normal; font-size: 1.1rem; margin-bottom: 1.6em; }
.contact .button { color: var(--green); }

/* Google map, loaded only after a click (Google sets cookies) */
.map { margin: 2em auto 0; max-width: 720px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; }
.map p { margin: 0; }
.map .map-note { font-size: .85rem; opacity: .75; max-width: 420px; }
.map button { font: inherit; font-weight: 600; border: 0; cursor: pointer; margin: 8px 0; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map.loaded { padding: 0; border: 0; }

footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 28px 0; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .top nav { display: none; }
  .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}
.center { text-align: center; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 2em 0; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
