/* ===== Promenada – Ośrodek Wypoczynkowy | Pieczyska =====
   Projekt: Nowak Solutions | jasne tło + żółty akcent z logo */
:root {
  --yellow: #FDB913;
  --yellow-dark: #E5A200;
  --ink: #1f2a37;
  --ink-soft: #4b5563;
  --bg: #fffdf8;
  --bg-alt: #faf6ec;
  --white: #ffffff;
  --line: #eee5d0;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 42, 55, .08);
  --shadow-lg: 0 14px 44px rgba(31, 42, 55, .14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo img { height: 44px; width: auto; }
.main-nav ul { display: flex; gap: 6px; list-style: none; }
.main-nav a {
  padding: 9px 15px; border-radius: 999px; font-weight: 500; font-size: 15.5px;
  transition: background .2s;
}
.main-nav a:hover { background: var(--bg-alt); }
.main-nav a.active { background: var(--yellow); color: var(--ink); font-weight: 600; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; padding: 10px 18px;
  background: var(--yellow); border-radius: 999px; transition: background .2s;
  white-space: nowrap;
}
.header-phone:hover { background: var(--yellow-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 26, 34, .78) 0%, rgba(20, 26, 34, .52) 55%, rgba(20, 26, 34, .30) 100%);
}
.hero-content { position: relative; color: #fff; max-width: 640px; padding: 90px 0; }
.hero-kicker {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-weight: 700; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.12; font-weight: 700; margin-bottom: 18px; }
.hero p { font-size: clamp(17px, 2vw, 20px); opacity: .94; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 0; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s;
  font-family: inherit;
}
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(253, 185, 19, .4); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.26); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #334155; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.section-kicker {
  color: var(--yellow-dark); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: 13.5px; margin-bottom: 10px;
}
.section-head h2, .section-head h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; line-height: 1.2; }
.section-head p { color: var(--ink-soft); margin-top: 14px; }

/* ===== Cards / grids ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 14px; left: 14px; background: var(--yellow);
  font-size: 13px; font-weight: 700; padding: 5px 13px; border-radius: 999px;
}
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 21px; margin-bottom: 8px; }
.card-body p { color: var(--ink-soft); font-size: 15.5px; }
.card-price { margin-top: 14px; font-weight: 700; font-size: 18px; }
.card-price small { font-weight: 500; color: var(--ink-soft); }

/* feature tiles */
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow);
}
.feature .ico {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px;
  background: var(--yellow); display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.feature h3 { font-size: 17.5px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }

/* ===== Reviews ===== */
.reviews-note { text-align: center; margin-top: 26px; color: var(--ink-soft); font-size: 14.5px; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.review .stars { color: var(--yellow-dark); letter-spacing: 3px; font-size: 17px; margin-bottom: 12px; }
.review p { flex: 1; color: var(--ink-soft); font-size: 15.5px; font-style: italic; }
.review .author { margin-top: 18px; font-weight: 700; font-size: 15px; }
.review .source { color: var(--ink-soft); font-weight: 400; font-size: 13.5px; }

/* ===== Pricing ===== */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--ink); color: #fff; font-size: 15px; letter-spacing: .04em; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td.price { font-weight: 700; white-space: nowrap; }
.price-note { margin-top: 22px; color: var(--ink-soft); font-size: 15px; }
.tag-klima {
  display: inline-block; background: #e8f4fd; color: #0b6aa8; font-size: 12.5px;
  font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle;
}

/* ===== Obiekt sections (oferta) ===== */
.obiekt { padding: 66px 0; border-bottom: 1px solid var(--line); }
.obiekt:last-child { border-bottom: 0; }
.obiekt-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.obiekt-head h2 { font-size: 28px; }
.obiekt-head .cena { font-weight: 700; font-size: 19px; color: var(--ink); background: var(--yellow); padding: 6px 16px; border-radius: 999px; }
.obiekt > .container > p { color: var(--ink-soft); max-width: 800px; margin-bottom: 26px; }
.foto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.foto-grid a { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.foto-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.foto-grid a:hover img { transform: scale(1.06); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(15, 20, 28, .93); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  font-size: 26px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; transition: background .2s;
}
.lightbox button:hover { background: var(--yellow); color: var(--ink); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ===== Regulamin ===== */
.regulamin-body { max-width: 820px; margin: 0 auto; }
.regulamin-body h3 { text-align: center; margin: 34px 0 10px; font-size: 18px; color: var(--yellow-dark); }
.regulamin-body p { color: var(--ink-soft); text-align: justify; }

/* ===== Kontakt ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .ico {
  flex: 0 0 50px; height: 50px; background: var(--yellow); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-info h3 { font-size: 16.5px; }
.contact-info p, .contact-info a { color: var(--ink-soft); font-size: 15.5px; }
.contact-info a:hover { color: var(--ink); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 8px; }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.field label .req { color: #d33; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15.5px; background: var(--bg); color: var(--ink);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); }
.field textarea { min-height: 110px; resize: vertical; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: #e8f8ee; color: #147a3d; }
.form-msg.err { display: block; background: #fdeaea; color: #b02a2a; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ===== CTA band ===== */
.cta-band { background: var(--ink); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.cta-band p { opacity: .85; margin-bottom: 28px; }

/* ===== Footer ===== */
.site-footer { background: #171f29; color: #cbd5e1; padding: 56px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer a:hover { color: var(--yellow); }
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; filter: brightness(1.1); }
.footer-nav li { list-style: none; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #2a3542; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: #8fa0b3; }
.footer-bottom a { color: var(--yellow); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .main-nav {
    position: fixed; top: 74px; right: 0; left: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .3s; z-index: 90;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; padding: 18px 22px; gap: 4px; }
  .main-nav a { display: block; padding: 12px 16px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .price-table th, .price-table td { padding: 13px 14px; font-size: 14.5px; }
}

/* ===== Back to top ===== */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--yellow); color: var(--ink); font-size: 22px; line-height: 1;
  box-shadow: 0 8px 24px rgba(31,42,55,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--yellow-dark); }
@media (max-width: 720px) { .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }

/* ===== Hero slider ===== */
.hero-slides { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
}
.hero-slide.on { opacity: 1; }
.hero::before { z-index: 1; }
.hero-content { z-index: 2; }

/* ===== Language switch ===== */
.lang-switch { display: inline-flex; gap: 4px; margin-left: 10px; font-size: 13.5px; font-weight: 600; }
.lang-switch a, .lang-switch .on { padding: 6px 10px; border-radius: 999px; }
.lang-switch a { color: var(--ink-soft); }
.lang-switch a:hover { background: var(--bg-alt); color: var(--ink); }
.lang-switch .on { background: var(--ink); color: #fff; }
@media (max-width: 720px) { .lang-switch { margin-left: auto; margin-right: 8px; } }

/* ===== Language dropdown (flagi) ===== */
.main-nav a { white-space: nowrap; }
.lang-dd { position: relative; margin-left: 10px; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 11px; font-family: inherit;
}
.lang-btn svg, .lang-menu svg { width: 24px; height: 17px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-btn .chev { font-size: 11px; color: var(--ink-soft); }
.lang-menu {
  position: absolute; top: 100%; right: 0; z-index: 130;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 175px; display: none;
}
.lang-dd:hover .lang-menu, .lang-dd.open .lang-menu, .lang-dd:focus-within .lang-menu { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.lang-menu a:hover { background: var(--bg-alt); }
@media (max-width: 1120px) {
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 8px 10px; font-size: 14.5px; }
  .header-phone { padding: 9px 13px; font-size: 14.5px; }
}
@media (max-width: 720px) { .lang-dd { margin-left: auto; margin-right: 8px; } }
