/* ==============================================================
   HOTEL AZURRE BAY — żywioł NADMORSKI (Woda)
   Iteracja 2: Foundation + Hero + sekcje index
   ============================================================== */

:root {
  --ocean-deep: #0F4C5C;
  --ocean-teal: #4A90A4;
  --sand-warm: #E8D9B8;
  --sand-light: #F2E9D4;
  --sunset-coral: #E07A5F;
  --bg-cream: #FAF8F4;
  --bg-cream-alt: #F4EEDF;
  --text-dark: #1A2E3A;
  --text-muted: #5A6B77;
  --text-light: #FFFFFF;

  --gradient-ocean: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-teal) 50%, var(--sunset-coral) 100%);
  --gradient-soft: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream-alt) 100%);

  --shadow-sm: 0 2px 8px rgba(15, 76, 92, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 76, 92, 0.12);
  --shadow-lg: 0 20px 60px rgba(15, 76, 92, 0.2);
  --shadow-glow: 0 10px 40px rgba(74, 144, 164, 0.4);

  --font-script: 'Parisienne', cursive;
  --font-serif: 'Libre Baskerville', serif;
  --font-sans: 'Jost', sans-serif;

  --t-fast: 0.2s;
  --t-med: 0.4s;
  --t-slow: 0.8s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ==============================================================
   NAVBAR
   ============================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.navbar--transparent { background: transparent; color: var(--text-light); }
.navbar--scrolled {
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15, 76, 92, 0.08);
  color: var(--text-dark);
}

.navbar__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar__logo {
  display: flex; align-items: center; gap: 0.75rem;
  color: inherit; text-decoration: none;
  transition: opacity var(--t-fast) var(--ease);
}
.navbar__logo:hover { opacity: 0.85; }
.navbar__logo-icon { width: 40px; height: 40px; }
.navbar__logo-text {
  font-family: var(--font-script);
  font-size: 2rem; font-weight: 700; line-height: 1;
}

.navbar__menu {
  display: flex; gap: 2.25rem; list-style: none;
}
.navbar__menu a {
  color: inherit; text-decoration: none;
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0.02em;
  position: relative; padding: 0.5rem 0;
  transition: color var(--t-fast) var(--ease);
}
.navbar__menu a::after {
  content: ''; position: absolute;
  left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
}
.navbar__menu a:hover::after { transform: scaleX(1); transform-origin: left; }

.navbar__cta {
  background: var(--gradient-ocean);
  color: var(--text-light);
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
  animation: pulseWave 3s ease-in-out infinite;
}
.navbar__cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
  animation-play-state: paused;
}
.navbar__cta-text { display: inline-flex; gap: 1px; }
.navbar__cta-text span { display: inline-block; }

@keyframes pulseWave {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.navbar__mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; flex-direction: column; gap: 4px;
}
.navbar__mobile-toggle span {
  display: block; width: 24px; height: 2px; background: currentColor;
  transition: all var(--t-fast) var(--ease);
}

@media (max-width: 900px) {
  .navbar__menu { display: none; }
  .navbar__mobile-toggle { display: flex; }
  .navbar__logo-text { font-size: 1.5rem; }
  .navbar__cta { padding: 0.6rem 1.25rem; font-size: 0.75rem; }
  .navbar__container { padding: 1rem 1.25rem; gap: 0.75rem; }
}

/* ==============================================================
   HERO
   ============================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--text-light);
}

.hero__slideshow { position: absolute; inset: 0; z-index: 1; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.5s ease-in-out, transform 6s ease-in-out;
}
.hero__slide--active {
  opacity: 1;
  transform: scale(1.06);
}

.hero__gradient-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(135deg, transparent 0%, transparent 55%, rgba(15, 76, 92, 0.6) 100%),
    linear-gradient(180deg, transparent 0%, transparent 50%, rgba(15, 76, 92, 0.35) 100%);
}

/* Manual controls — strzałki po bokach hero */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 76, 92, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.7;
  transition: all var(--t-med) var(--ease);
}
.hero__arrow:hover {
  opacity: 1;
  background: rgba(15, 76, 92, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.05);
}
.hero__arrow svg { width: 24px; height: 24px; }
.hero__arrow--prev { left: 2rem; }
.hero__arrow--next { right: 2rem; }

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 9.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex; gap: 0.6rem;
}
.hero__dot {
  width: 10px; height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all var(--t-med) var(--ease);
}
.hero__dot:hover { border-color: var(--text-light); }
.hero__dot--active {
  background: var(--text-light);
  border-color: var(--text-light);
  width: 32px;
  border-radius: 5px;
}

.hero__content {
  position: absolute; z-index: 10;
  right: 4rem; bottom: 6rem;
  max-width: 480px;
  text-align: right;
  opacity: 0;
  transform: translateX(40px);
  animation: slideInRight 1.2s var(--ease-out) 0.5s forwards;
}
@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }

.hero__title { margin-bottom: 0.5rem; }
.hero__title-script {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700; line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(15, 76, 92, 0.4);
  color: var(--text-light);
}
.hero__tagline {
  font-family: var(--font-serif);
  font-size: 1rem; font-style: italic; font-weight: 400;
  line-height: 1.5; opacity: 0.95;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(15, 76, 92, 0.5);
}

.hero__widget {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  text-align: left;
  color: var(--text-dark);
}
.hero__widget-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.hero__widget-field { display: flex; flex-direction: column; gap: 0.25rem; }
.hero__widget-label {
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ocean-teal);
}
.hero__widget-input {
  border: none;
  border-bottom: 1px solid rgba(15, 76, 92, 0.15);
  padding: 0.35rem 0;
  font-family: inherit; font-size: 0.9rem;
  color: var(--text-dark); background: transparent;
  transition: border-color var(--t-fast) var(--ease);
  cursor: pointer;
}
.hero__widget-input:focus { outline: none; border-bottom-color: var(--ocean-deep); }
.hero__widget-submit {
  width: 100%;
  background: var(--gradient-ocean);
  color: var(--text-light);
  border: none;
  padding: 0.85rem;
  border-radius: 10px;
  font-family: inherit; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.hero__widget-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.hero__scroll-indicator {
  position: absolute; z-index: 10;
  left: 4rem; bottom: 6rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-light); text-decoration: none;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.8;
  transition: opacity var(--t-fast) var(--ease);
  animation: scrollHint 2.5s ease-in-out infinite;
}
.hero__scroll-indicator:hover { opacity: 1; }
.hero__scroll-indicator svg { width: 20px; height: 20px; }
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

.hero__wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 120px;
  z-index: 5; pointer-events: none;
}
.hero__wave-path--1 { animation: wave1 8s ease-in-out infinite; }
.hero__wave-path--2 { animation: wave2 12s ease-in-out infinite; }
@keyframes wave1 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-20px); } }
@keyframes wave2 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(20px); } }

.hero__liquid-reveal {
  position: absolute; inset: 0; z-index: 20;
  background: var(--bg-cream); pointer-events: none;
}

@media (max-width: 900px) {
  .hero__content { right: 1.5rem; bottom: 4rem; max-width: calc(100% - 3rem); text-align: center; }
  .hero__widget-fields { grid-template-columns: 1fr; }
  .hero__scroll-indicator { display: none; }
  .hero__title-script { font-size: 3rem; }
  .hero__arrow { width: 40px; height: 40px; }
  .hero__arrow--prev { left: 0.5rem; }
  .hero__arrow--next { right: 0.5rem; }
  .hero__dots { bottom: 8rem; }
}

/* ==============================================================
   SEKCJE — WSPÓLNE
   ============================================================== */
.section {
  padding: 6rem 2rem;
  position: relative;
}
.section--intro { padding: 8rem 2rem 5rem; background: var(--bg-cream); }

.section__container {
  max-width: 1400px;
  margin: 0 auto;
}
.section__container--narrow {
  max-width: 720px;
  text-align: center;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section__eyebrow {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ocean-teal);
  margin-bottom: 1.25rem;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--ocean-deep);
}
.section__lead {
  font-size: 1.15rem; line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.section__body {
  font-size: 1rem; line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.section__body em, .section__lead em {
  font-family: var(--font-serif); font-style: italic;
  color: var(--ocean-deep);
}

/* Scroll-reveal (slide-up fade, SYGNATURA Nadmorski) */
[data-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 0.85rem 2rem;
  font-family: inherit; font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  border: none; cursor: pointer;
  transition: all var(--t-med) var(--ease);
}
.btn--primary {
  background: var(--gradient-ocean);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--ocean-deep);
  border: 1px solid var(--ocean-teal);
}
.btn--ghost:hover {
  background: var(--ocean-deep);
  color: var(--text-light);
}
.btn--full { width: 100%; }

.btn-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ocean-deep);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ocean-deep);
  margin-top: 1.5rem;
  transition: gap var(--t-med) var(--ease);
}
.btn-link:hover { gap: 1rem; }
.btn-link span { transition: transform var(--t-med) var(--ease); }

/* ==============================================================
   POZNAJMY SIĘ — 2-col + wave photo overlap
   ============================================================== */
.section--poznajmy {
  background: var(--bg-cream);
  padding: 8rem 2rem;
}
.poznajmy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.poznajmy__text { max-width: 540px; }

.poznajmy__photos {
  position: relative;
  aspect-ratio: 3/4;
}
.poznajmy__photo-big {
  position: absolute;
  inset: 0;
  background-size: cover; background-position: center;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(74, 144, 164, 0.3);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.poznajmy__photo-big:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 55px rgba(74, 144, 164, 0.45);
}

.poznajmy__photo-small {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(74, 144, 164, 0.4);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.poznajmy__photo-small:hover {
  transform: scale(1.04);
  box-shadow: 0 28px 65px rgba(74, 144, 164, 0.55);
  z-index: 3;
}
.poznajmy__wave-cut {
  position: absolute; top: -2px; left: 0; right: 0;
  width: 100%; height: 30px;
  display: block;
}

@media (max-width: 900px) {
  .poznajmy__grid { grid-template-columns: 1fr; gap: 4rem; }
  .poznajmy__photos { max-width: 400px; margin: 0 auto; }
  .poznajmy__photo-small { bottom: -20px; right: -20px; }
}

/* ==============================================================
   APARTAMENTY — viewer (Trojan pattern: 1 widoczny + drag + strzałki + dots)
   ============================================================== */
.section--apartamenty { background: var(--bg-cream-alt); }

.viewer {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Strzałki po bokach (na zewnątrz) */
.viewer__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  border: 1px solid rgba(15, 76, 92, 0.25);
  background: var(--bg-cream);
  color: var(--ocean-deep);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--t-med) var(--ease);
}
.viewer__arrow:hover {
  background: var(--ocean-deep);
  color: var(--text-light);
  border-color: var(--ocean-deep);
  transform: translateY(-50%) scale(1.05);
}
.viewer__arrow svg { width: 22px; height: 22px; }
.viewer__arrow--prev { left: -26px; }
.viewer__arrow--next { right: -26px; }

/* Track — horizontal scroll z scroll-snap (drag natywny) */
.viewer__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(15, 76, 92, 0.2);
}
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__track:active { cursor: grabbing; }

/* Podczas draga — wyłączamy smooth + snap dla 1:1 pixel trackingu */
.viewer__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
  scroll-snap-type: none;
}
.viewer__track.is-dragging * { pointer-events: none; }

/* Slide — 100% szer., photo full + overlay card lewo-dół */
.viewer__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  min-height: 540px;
}
.viewer__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.viewer__overlay {
  position: absolute;
  left: 2.5rem;
  bottom: 2.5rem;
  max-width: 480px;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem 2rem;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(15, 76, 92, 0.35);
}

.viewer__name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ocean-deep);
  margin-bottom: 0.4rem;
}
.viewer__meta {
  font-size: 0.8rem;
  color: var(--ocean-teal);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.viewer__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.viewer__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.viewer__price {
  display: flex; align-items: baseline; gap: 0.35rem;
}
.viewer__price span { font-size: 0.85rem; color: var(--text-muted); }
.viewer__price strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sunset-coral);
}
.viewer__actions { display: flex; gap: 0.6rem; }
.viewer__actions .btn { padding: 0.55rem 1.15rem; font-size: 0.72rem; }

/* Dots */
.viewer__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.viewer__dot {
  width: 10px; height: 10px;
  border: 1px solid rgba(15, 76, 92, 0.3);
  background: transparent;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
}
.viewer__dot:hover { border-color: var(--ocean-deep); }
.viewer__dot--active {
  background: var(--ocean-deep);
  border-color: var(--ocean-deep);
  width: 32px;
  border-radius: 5px;
}

@media (max-width: 900px) {
  .viewer__arrow--prev { left: 0.5rem; }
  .viewer__arrow--next { right: 0.5rem; }
  .viewer__arrow { width: 40px; height: 40px; }
  .viewer__slide { min-height: 420px; }
  .viewer__overlay {
    left: 1rem; right: 1rem; bottom: 1rem;
    max-width: none;
    padding: 1.5rem;
  }
  .viewer__name { font-size: 1.4rem; }
  .viewer__footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ==============================================================
   CO ZNAJDZIESZ U NAS — 4 segmenty z drag-slider
   ============================================================== */
.section--znajdziesz { background: var(--bg-cream); }

.segment {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.segment:last-of-type { margin-bottom: 3rem; }
.segment--reversed { grid-template-columns: 1.3fr 1fr; }
.segment--reversed .segment__text { order: 2; }
.segment--reversed .segment__slider { order: 1; }

.segment__text { max-width: 440px; }
.segment__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ocean-deep);
  margin-bottom: 0.75rem;
}
.segment__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ocean-teal);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.segment__list {
  list-style: none;
  padding: 0;
}
.segment__list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark);
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}
.segment__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.1rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sunset-coral);
}

/* Drag-slider */
.segment__slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(15, 76, 92, 0.2);
}
.segment__track {
  display: flex;
  gap: 1rem;
  padding: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.segment__track::-webkit-scrollbar { display: none; }
.segment__track:active { cursor: grabbing; }

/* Podczas draga — wyłączamy smooth + snap dla 1:1 pixel trackingu */
.segment__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
  scroll-snap-type: none;
}
.segment__track.is-dragging .segment__photo { pointer-events: none; }

.segment__photo {
  flex: 0 0 80%;
  height: 380px;
  background-size: cover; background-position: center;
  scroll-snap-align: start;
  border-radius: 8px;
  pointer-events: none;
}

.drag-hint {
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
  color: var(--ocean-teal);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-style: italic;
}
.drag-hint svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .segment, .segment--reversed {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .segment--reversed .segment__text { order: 1; }
  .segment--reversed .segment__slider { order: 2; }
  .segment__photo { height: 280px; flex: 0 0 88%; }
}

/* ==============================================================
   USŁUGI — 6-icon grid
   ============================================================== */
.section--uslugi { background: var(--ocean-deep); color: var(--text-light); }
.section--uslugi .section__eyebrow { color: var(--sand-warm); }
.section--uslugi .section__title { color: var(--text-light); }
.section--uslugi .section__body { color: rgba(255, 255, 255, 0.75); }

.uslugi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.usluga {
  background: rgba(250, 248, 244, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 217, 184, 0.15);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--t-med) var(--ease);
}
.usluga:hover {
  transform: translateY(-6px);
  background: rgba(250, 248, 244, 0.08);
  border-color: rgba(232, 217, 184, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.usluga__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--sand-warm);
  display: flex; align-items: center; justify-content: center;
}
.usluga__icon svg { width: 100%; height: 100%; }
.usluga__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.usluga__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
  .uslugi__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .usluga { padding: 1.75rem 1.25rem; }
}
@media (max-width: 560px) {
  .uslugi__grid { grid-template-columns: 1fr; }
}

/* ==============================================================
   PAKIETY — 4 karty
   ============================================================== */
.section--pakiety { background: var(--bg-cream); }

.pakiety__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pakiet {
  position: relative;
  background: var(--text-light);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
.pakiet:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pakiet--featured {
  background: var(--gradient-ocean);
  color: var(--text-light);
}
.pakiet--featured .pakiet__name,
.pakiet--featured .pakiet__length,
.pakiet--featured .pakiet__desc { color: var(--text-light); }
.pakiet--featured .pakiet__price { color: var(--text-light); }
.pakiet--featured .pakiet__price strong { color: var(--sand-warm); }
.pakiet--featured .btn { background: var(--text-light); color: var(--ocean-deep); }
.pakiet--featured .btn:hover { background: var(--sand-warm); }

.pakiet__badge {
  position: absolute;
  top: -12px; right: 1.25rem;
  background: var(--sunset-coral);
  color: var(--text-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.pakiet__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ocean-deep);
  margin-bottom: 0.35rem;
  margin-top: 0.5rem;
}
.pakiet__length {
  font-size: 0.85rem;
  color: var(--ocean-teal);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pakiet__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.pakiet__price {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.pakiet__price strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sunset-coral);
  display: block;
  margin: 0.25rem 0;
}

@media (max-width: 1024px) { .pakiety__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pakiety__grid { grid-template-columns: 1fr; } }

/* ==============================================================
   LOKALIZACJA
   ============================================================== */
.section--lokalizacja { background: var(--bg-cream-alt); }
.lokalizacja__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.lokalizacja__list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}
.lokalizacja__list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(74, 144, 164, 0.2);
  font-size: 1rem;
  color: var(--text-dark);
}
.lokalizacja__list li strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ocean-deep);
  margin-right: 1rem;
  display: inline-block;
  min-width: 72px;
}

.lokalizacja__map {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .lokalizacja__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ==============================================================
   OPINIE
   ============================================================== */
.section--opinie { background: var(--bg-cream); }

.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.social-proof__item {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.35rem;
}
.social-proof__item--award { gap: 0.5rem; }
.social-proof__score {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--sunset-coral);
  line-height: 1;
}
.social-proof__platform {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.social-proof__divider {
  width: 1px; height: 48px;
  background: rgba(74, 144, 164, 0.25);
}
.social-proof__medal {
  width: 48px; height: 48px;
  color: var(--sunset-coral);
}

.opinie__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.opinia {
  background: var(--bg-cream-alt);
  padding: 2.25rem 2rem;
  border-radius: 12px;
  border-left: 3px solid var(--sunset-coral);
  position: relative;
}
.opinia p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.opinia footer {
  font-size: 0.85rem;
  color: var(--ocean-teal);
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .opinie__grid { grid-template-columns: 1fr; }
  .social-proof { gap: 1.25rem; }
  .social-proof__divider { display: none; }
}

/* ==============================================================
   KONTAKT
   ============================================================== */
.section--kontakt { background: var(--bg-cream-alt); }
.kontakt__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.kontakt__form {
  background: var(--bg-cream);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.kontakt__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.kontakt__field { display: flex; flex-direction: column; gap: 0.35rem; }
.kontakt__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean-teal);
}
.kontakt__input {
  border: none;
  border-bottom: 1px solid rgba(74, 144, 164, 0.3);
  padding: 0.6rem 0;
  font-family: inherit; font-size: 0.95rem;
  color: var(--text-dark); background: transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.kontakt__input:focus {
  outline: none;
  border-bottom-color: var(--ocean-deep);
}
.kontakt__input--textarea {
  border: 1px solid rgba(74, 144, 164, 0.3);
  border-radius: 6px;
  padding: 0.75rem;
  resize: vertical;
  min-height: 80px;
}

.kontakt__info {
  background: var(--ocean-deep);
  color: var(--text-light);
  padding: 2.5rem;
  border-radius: 12px;
}
.kontakt__info-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--sand-warm);
}
.kontakt__info-item {
  margin-bottom: 1.5rem;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.kontakt__info-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-warm);
  opacity: 0.8;
}
.kontakt__info-value {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: none;
  line-height: 1.6;
}
a.kontakt__info-value { transition: color var(--t-fast) var(--ease); }
a.kontakt__info-value:hover { color: var(--sand-warm); }

.kontakt__guarantees {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 217, 184, 0.2);
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
  .kontakt__grid { grid-template-columns: 1fr; gap: 2rem; }
  .kontakt__field-row { grid-template-columns: 1fr; }
}

/* ==============================================================
   FOOTER
   ============================================================== */
.footer {
  background: var(--ocean-deep);
  color: var(--text-light);
  padding: 4rem 2rem 1.5rem;
}
.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__logo-icon { width: 48px; height: 48px; color: var(--sand-warm); }
.footer__logo-text {
  font-family: var(--font-script);
  font-size: 2.25rem; line-height: 1;
  color: var(--sand-warm);
  margin-top: 0.5rem;
}
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 0.75rem;
}
.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__column h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--sand-warm);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.footer__column a,
.footer__column span {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2;
  opacity: 0.8;
  transition: opacity var(--t-fast) var(--ease);
}
.footer__column a:hover { opacity: 1; }

.footer__bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 217, 184, 0.15);
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
}
.footer__demo-note {
  color: var(--sunset-coral);
  font-weight: 500;
}

@media (max-width: 900px) {
  .footer__container { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__columns { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ==============================================================
   PAGE BANNER (używany na podstronach zamiast hero)
   ============================================================== */
.navbar--inner {
  position: fixed;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15, 76, 92, 0.08);
  color: var(--text-dark);
}

.navbar__menu a.is-active {
  color: var(--sunset-coral);
}
.navbar__menu a.is-active::after {
  transform: scaleX(1);
  background: var(--sunset-coral);
}

.page-banner {
  position: relative;
  height: 55vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  overflow: hidden;
  padding-top: 80px; /* kompensacja dla fixed navbar */
}
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,76,92,0.55) 0%, rgba(15,76,92,0.3) 60%, rgba(15,76,92,0.65) 100%);
}
.page-banner__content {
  position: absolute;
  left: 50%;
  bottom: 35%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  width: 90%;
  max-width: 800px;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 0.3s forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
}
.page-banner__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand-warm);
  margin-bottom: 1rem;
}
.page-banner__title {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(15,76,92,0.5);
}
.page-banner__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(15,76,92,0.5);
}
.page-banner__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 80px;
  z-index: 2;
}

/* ==============================================================
   SECTION MODIFIERS (podstrony)
   ============================================================== */
.section--dark {
  background: var(--ocean-deep);
  color: var(--text-light);
}
.section--dark .section__eyebrow { color: var(--sand-warm); }
.section--dark .section__title { color: var(--text-light); }
.section--dark .section__body { color: rgba(255, 255, 255, 0.8); }

.section--alt {
  background: var(--bg-cream-alt);
}

.section--cta {
  background: var(--bg-cream);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ==============================================================
   POZNAJMY SIĘ (podstrona)
   ============================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about__text { max-width: 540px; }
.about__photos {
  position: relative;
  aspect-ratio: 3/4;
}
.about__photo-big {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(74,144,164,0.3);
  transition: transform 0.6s var(--ease-out);
}
.about__photo-big:hover { transform: scale(1.03); }
.about__photo-small {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(74,144,164,0.4);
  transition: transform 0.6s var(--ease-out);
  z-index: 2;
}
.about__photo-small:hover { transform: scale(1.04); z-index: 3; }

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.value {
  background: rgba(250, 248, 244, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 217, 184, 0.15);
  border-radius: 12px;
  padding: 2.25rem 1.75rem;
  transition: all var(--t-med) var(--ease);
}
.value:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 217, 184, 0.4);
  background: rgba(250, 248, 244, 0.08);
}
.value__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--sand-warm);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}
.value__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.value__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.team-card {
  text-align: center;
}
.team-card__photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease-out);
}
.team-card:hover .team-card__photo {
  transform: scale(1.04);
}

/* Monogram — zastępuje zdjęcie gdy brak portretu */
.team-card__monogram {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-teal) 100%);
  color: var(--sand-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--sand-warm);
  transition: transform 0.6s var(--ease-out);
}
.team-card:hover .team-card__monogram {
  transform: scale(1.04);
}
.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ocean-deep);
  margin-bottom: 0.25rem;
}
.team-card__role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sunset-coral);
  margin-bottom: 1rem;
}
.team-card__bio {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 240px;
  margin: 0 auto;
}
.team-card__bio em {
  font-style: italic;
  color: var(--ocean-deep);
}

.okolica__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
.okolica__list {
  list-style: none;
  padding: 0;
}
.okolica__list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(74,144,164,0.2);
  font-size: 1rem;
}
.okolica__list li strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ocean-deep);
  margin-right: 1rem;
  display: inline-block;
  min-width: 180px;
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 4rem; }
  .about__photos { max-width: 400px; margin: 0 auto; }
  .values__grid, .team__grid { grid-template-columns: 1fr 1fr; }
  .okolica__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .values__grid, .team__grid { grid-template-columns: 1fr; }
  .okolica__list li strong { display: block; min-width: 0; margin-bottom: 0.25rem; }
}

/* ==============================================================
   POKOJE.HTML — apartament sections
   ============================================================== */
.apartament-section {
  padding: 6rem 2rem;
}
.apartament-section--alt { background: var(--bg-cream-alt); }

.apartament-header {
  max-width: 720px;
  margin: 0 auto 3rem;
}
.apartament-header__meta {
  font-size: 0.95rem;
  color: var(--ocean-teal);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.apartament-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}
.apartament-features li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
}
.apartament-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.25rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sunset-coral);
}
.apartament-header__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(74,144,164,0.2);
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Viewer slide modifier dla galerii (z caption pod foto) */
.viewer__slide--gallery {
  position: relative;
}
.viewer__slide--gallery .viewer__photo {
  position: static;
  width: 100%;
  aspect-ratio: 16/9;
  pointer-events: none;
}
.viewer__caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: rgba(15,76,92,0.85);
  color: var(--text-light);
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-serif);
  font-style: italic;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ==============================================================
   GALERIA.HTML — gallery nav + sections
   ============================================================== */
.gallery-nav {
  position: sticky;
  top: 75px;
  z-index: 50;
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74,144,164,0.15);
  padding: 0.75rem 0;
}
.gallery-nav__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  padding: 0 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-nav__container::-webkit-scrollbar { display: none; }
.gallery-nav__tab {
  color: var(--ocean-deep);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.gallery-nav__tab:hover {
  border-bottom-color: var(--sunset-coral);
  color: var(--sunset-coral);
}

.gallery-section { padding: 5rem 2rem; }
.gallery-section--alt { background: var(--bg-cream-alt); }

/* Masonry — wszystkie zdjęcia widoczne naraz, różne wysokości dla efektu */
.gallery-grid {
  column-count: 3;
  column-gap: 1.25rem;
}
.gallery-grid__item {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(15,76,92,0.12);
  break-inside: avoid;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  cursor: pointer;
}
.gallery-grid__item:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(15,76,92,0.22);
}
.gallery-grid__item--tall { aspect-ratio: 3/4; }
.gallery-grid__item--wide { aspect-ratio: 16/9; }

@media (max-width: 1024px) { .gallery-grid { column-count: 2; } }
@media (max-width: 600px) { .gallery-grid { column-count: 1; } }

/* ==============================================================
   KONTAKT.HTML — dodatkowe
   ============================================================== */
.kontakt__form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ocean-deep);
  margin-bottom: 0.5rem;
}
.kontakt__form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -0.25rem;
}

.kontakt__map-wide {
  aspect-ratio: 21/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}
.kontakt__map-wide iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.faq__list {
  margin-top: 2rem;
}
.faq__item {
  background: var(--bg-cream);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--t-med) var(--ease);
}
.faq__item[open] {
  box-shadow: var(--shadow-md);
}
.faq__question {
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ocean-deep);
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--ocean-teal);
  transition: transform var(--t-med) var(--ease);
}
.faq__item[open] .faq__question::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}
.faq__answer {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

/* ==============================================================
   PREFERS-REDUCED-MOTION
   ============================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
