/* ========================================
   RESET & ZMIENNE
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #1a4f6e;
  --primary-dk:   #0f3247;
  --primary-lt:   #2a7dae;
  --accent:       #e8a020;
  --accent-lt:    #f5c25a;
  --bg:           #f7f9fb;
  --card:         #ffffff;
  --text:         #1e2936;
  --muted:        #5a6b7a;
  --light:        #8fa0ae;
  --border:       #dce5ef;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.07);
  --shadow-md:    0 8px 32px rgba(0,0,0,.11);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.14);
  --r:            14px;
  --r-sm:         8px;
  --ease:         .25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 66px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  background: rgba(15,50,71,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow var(--ease);
}
.navbar.scrolled { box-shadow: 0 4px 22px rgba(0,0,0,.28); }
.logo { font-size: 1.18rem; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.logo span { color: var(--accent-lt); }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a { color: rgba(255,255,255,.82); font-size: .88rem; font-weight: 500; padding: .45rem .9rem; border-radius: 6px; transition: background var(--ease), color var(--ease); }
.nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.lang-btn { background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.2) !important; font-size: .8rem !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   HERO
======================================== */
.hero {
  min-height: 100svh;
  background:
    linear-gradient(160deg, rgba(8,28,46,.88) 0%, rgba(15,55,80,.72) 55%, rgba(20,45,30,.62) 100%),
    url('hero-noclegi-malogoszcz-budynek.jpg') center/cover no-repeat;
  display: flex; align-items: center;
  padding: calc(66px + 3.5rem) clamp(1.2rem, 6vw, 7rem) 5rem;
}
.hero-inner { max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(232,160,32,.18); border: 1px solid rgba(232,160,32,.38);
  color: var(--accent-lt); font-size: .75rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 50px; margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--accent-lt); }
.hero-desc { font-size: clamp(.95rem, 2vw, 1.1rem); color: rgba(255,255,255,.8); max-width: 580px; margin-bottom: .65rem; }
.avail-dot {
  display: inline-grid; grid-template-columns: 10px auto; column-gap: .65rem; row-gap: .08rem; align-items: center;
  color: #6eeaa0; font-weight: 800; font-size: .92rem; margin-bottom: 2rem;
}
.avail-dot::before {
  grid-row: 1 / span 2;
  content: ''; width: 8px; height: 8px; background: #6eeaa0; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(110,234,160,.22);
  animation: blink 2s infinite;
}
.avail-dot small { color: rgba(255,255,255,.78); font-size: .78rem; font-weight: 600; }
@keyframes blink { 0%,100%{box-shadow:0 0 0 3px rgba(110,234,160,.22)} 50%{box-shadow:0 0 0 8px rgba(110,234,160,.04)} }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .8rem 1.65rem; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 700; cursor: pointer; border: none;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--accent); color: var(--primary-dk); box-shadow: 0 4px 16px rgba(232,160,32,.35); }
.btn-gold:hover { background: var(--accent-lt); box-shadow: 0 8px 24px rgba(232,160,32,.45); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.48); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-blue { background: var(--primary-lt); color: #fff; box-shadow: 0 4px 14px rgba(42,125,174,.3); }
.btn-blue:hover { background: var(--primary); }
.btn-full { width: 100%; justify-content: center; }

/* ========================================
   STATS BAR
======================================== */
.stats-bar { background: var(--primary-dk); padding: 1.5rem clamp(1rem,4vw,3rem); }
.stats-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-around; align-items: center; }
.stat { text-align: center; }
.stat-n { font-size: 2rem; font-weight: 800; color: var(--accent-lt); display: block; line-height: 1; }
.stat-l { font-size: .73rem; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .06em; margin-top: .3rem; }

/* ========================================
   SECTIONS
======================================== */
section { padding: 5rem clamp(1.2rem, 5vw, 4rem); scroll-margin-top: 86px; }
.sec-header { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.sec-tag { display: inline-block; color: var(--primary-lt); font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .45rem; }
.sec-title { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; color: var(--text); line-height: 1.2; letter-spacing: -.4px; }
.sec-sub { font-size: .97rem; color: var(--muted); margin-top: .55rem; }

/* ========================================
   ABOUT / FEATURES
======================================== */
#about { background: var(--card); }
.features-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.4rem; }
.feat-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 2rem 1.6rem; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-lt); }
.feat-icon { width: 52px; height: 52px; background: linear-gradient(135deg,var(--primary),var(--primary-lt)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; box-shadow: 0 4px 12px rgba(26,79,110,.22); color: #fff; }
.feat-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 1.03rem; font-weight: 700; margin-bottom: .45rem; }
.feat-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ========================================
   LOKALIZACJA
======================================== */
#location { background: var(--bg); }
.loc-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(520px, .95fr) minmax(420px, 1.05fr); gap: 2rem; align-items: stretch; }
.loc-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow-sm); height: 100%; }
.loc-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .45rem; }
.loc-intro { color: var(--muted); font-size: .88rem; line-height: 1.6; margin-bottom: 1.2rem; }
.nearby-table { width: 100%; border-collapse: collapse; font-size: .86rem; overflow: hidden; border-radius: var(--r-sm); }
.nearby-table th,
.nearby-table td { padding: .72rem .7rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); }
.nearby-table th { color: var(--primary); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: #f1f6fa; }
.nearby-table tr:last-child td { border-bottom: 0; }
.nearby-place { color: var(--text); font-weight: 800; }
.nearby-distance { color: var(--primary); font-weight: 800; white-space: nowrap; }
.nearby-note { color: var(--muted); }
.map-wrap { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); min-height: 520px; height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ========================================
   GALERIA
======================================== */
#gallery { background: var(--primary-dk); padding: 5rem clamp(1.2rem,4vw,4rem); }
#gallery .sec-title { color: #fff; }
#gallery .sec-tag { color: var(--accent-lt); }
#gallery .sec-sub { color: rgba(255,255,255,.62); }
.gallery-grid { max-width: 1200px; margin: 0 auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 1rem; padding: .2rem .1rem 1rem; -webkit-overflow-scrolling: touch; }
.gallery-grid::-webkit-scrollbar { height: 8px; }
.gallery-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 99px; }
.g-item { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; background: rgba(255,255,255,.06); flex: 0 0 clamp(260px, 32vw, 380px); scroll-snap-align: start; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.g-item-overlay { position: absolute; inset: 0; background: rgba(15,50,71,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--ease); }
.g-item-overlay svg { width: 36px; height: 36px; fill: #fff; }
.g-item:hover img { transform: scale(1.07); }
.g-item:hover .g-item-overlay { opacity: 1; }
.privacy-note { max-width: 920px; margin: 1.2rem auto 0; color: var(--muted); font-size: .82rem; text-align: center; }
.privacy-note a { color: var(--primary); font-weight: 700; }

/* ========================================
   REZERWACJA / KONTAKT
======================================== */
#contact { background: var(--card); }
.contact-grid { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 2rem 1.8rem; transition: box-shadow var(--ease); text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-card:hover { box-shadow: var(--shadow-md); }
.c-role { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-lt); margin-bottom: .3rem; }
.c-name { font-size: 1.22rem; font-weight: 800; margin-bottom: .6rem; }
.c-phone { font-size: 1.55rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 1rem; transition: color var(--ease); }
.c-phone:hover { color: var(--primary-lt); }
.contact-actions { max-width: 760px; margin: 1.6rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.contact-action { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: .85rem; min-height: 74px; padding: .9rem 1rem; border-radius: var(--r-sm); color: #fff; text-align: left; box-shadow: 0 14px 30px rgba(15,50,71,.20); transition: transform var(--ease), box-shadow var(--ease), filter var(--ease); }
.contact-action:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(15,50,71,.24); filter: saturate(1.05); }
.contact-action svg { grid-row: 1 / span 2; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.16); color: #fff; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-action.whatsapp svg { fill: currentColor; stroke: none; background: rgba(255,255,255,.18); }
.contact-action span { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.contact-action strong { font-size: clamp(.96rem, 3.8vw, 1.16rem); line-height: 1.2; overflow-wrap: anywhere; }
.contact-action.whatsapp { background: linear-gradient(135deg, #128c7e 0%, #1fa463 58%, #25d366 100%); }
.contact-action.mail { background: linear-gradient(135deg, #0f3247 0%, #185a78 58%, #2a7dae 100%); }

/* ========================================
   FAQ
======================================== */
#faq { background: var(--bg); }
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: .85rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.05rem 1.25rem; font-weight: 800; color: var(--text); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.25rem; line-height: 1; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: .95rem; }

/* ========================================
   FOOTER
======================================== */
footer {
  background: #060d14;
  color: rgba(255,255,255,.52);
  font-size: .82rem;
  line-height: 1.9;
}
.footer-top {
  max-width: 1100px; margin: 0 auto;
  padding: 3rem clamp(1.2rem,4vw,3rem) 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .4rem; }
.footer-logo { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: .25rem; }
.footer-logo span { color: var(--accent-lt); }
.footer-desc { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: .73rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: .75rem; }
.footer-col a, .footer-col p { color: rgba(255,255,255,.55); font-size: .82rem; display: block; margin-bottom: .25rem; transition: color var(--ease); }
.footer-col a:hover { color: var(--accent-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.2rem clamp(1.2rem,4vw,3rem);
  display: flex; flex-wrap: wrap; gap: .5rem;
  align-items: center; justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.38); transition: color var(--ease); }
.footer-bottom a:hover { color: var(--accent-lt); }
.designer { color: rgba(255,255,255,.5); }
.designer a { color: var(--accent-lt); font-weight: 600; }
.designer a:hover { color: #fff; }

/* ========================================
   LIGHTBOX
======================================== */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(4,12,22,.93); align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.lightbox.on { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); transition: transform .22s ease, opacity .22s ease; touch-action: pan-y; }
.lightbox img.dragging { transition: none; }
.lb-close, .lb-nav { position: fixed; color: #fff; cursor: pointer; opacity: .65; transition: opacity var(--ease); z-index: 10000; user-select: none; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: 1.2rem; right: 1.5rem; font-size: 2.2rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 2.5rem; padding: .5rem; }
.lb-prev { left: .8rem; }
.lb-next { right: .8rem; }
.lb-count { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); color: rgba(255,255,255,.74); font-size: .84rem; font-weight: 700; letter-spacing: .04em; }

/* ========================================
   FADE-IN ANIMATIONS
======================================== */
.fade { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.fade.on { opacity: 1; transform: translateY(0); }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 66px; left: 0; right: 0; background: var(--primary-dk); padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .loc-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 360px; height: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .4rem; }
}
@media (max-width: 480px) {
  .hero { min-height: auto; background-color: var(--primary-dk); background-size: cover; background-position: center top; background-repeat: no-repeat; padding: calc(66px + 2rem) 1.2rem 2.6rem; }
  .hero-badge { display: none; }
  .hero h1 { font-size: clamp(1.75rem, 9.2vw, 2.35rem); line-height: 1.08; margin-bottom: .85rem; max-width: 8.8em; }
  .hero-desc { font-size: .96rem; line-height: 1.5; }
  .avail-dot { width: 100%; grid-template-columns: 10px 1fr; padding: .75rem .85rem; border: 1px solid rgba(110,234,160,.28); border-radius: 10px; background: rgba(4,16,25,.34); margin-bottom: 1.2rem; }
  .avail-dot small { display: block; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .contact-actions { grid-template-columns: 1fr; }
  section { padding: 3.5rem 1rem; }
  #gallery { padding: 3.5rem 1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-card { padding: 1.7rem 1.35rem; }
  .gallery-grid { gap: 10px; padding-left: .05rem; }
  .g-item { flex-basis: min(82vw, 340px); }
  .nearby-table { font-size: .82rem; }
  .nearby-table th:nth-child(3),
  .nearby-table td:nth-child(3) { display: none; }
  .stats-inner { gap: .8rem; }
  .stat-n { font-size: 1.6rem; }
}
