/* =========================================================
   Domki Morska Olivka — style.css
   Paleta inspirowana logo: petrol/teal + oliwka + drewno
   ========================================================= */

:root {
  --petrol: #1E6F8C;
  --petrol-deep: #134A60;
  --petrol-light: #5A9CB5;
  --olive: #A0A05E;
  --olive-deep: #7D7D44;
  --olive-light: #C5C588;
  --sand: #EFE6D6;
  --sand-deep: #E2D5BC;
  --cream: #FAF7F1;
  --charcoal: #2A2A28;
  --charcoal-soft: #4A4A47;
  --wood: #C99868;
  --white: #FFFFFF;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 12px 40px rgba(19, 74, 96, 0.10);
  --shadow-strong: 0 24px 60px rgba(19, 74, 96, 0.18);
  --ease: cubic-bezier(.25, .9, .25, 1);
  --t-slow: .9s;
  --t-med: .5s;
  --t-fast: .25s;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--petrol-deep); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0; color: var(--petrol-deep); }
p { margin: 0 0 1em; }

/* Focus */
:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 4px;
}
.lang-switcher button:focus-visible,
.btn:focus-visible { outline-offset: 4px; }

/* Skip link — chowamy całkowicie poza ekranem, pokazujemy tylko przy focusie */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: var(--petrol);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============ Typography helpers ============ */
.eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin: 0 0 .8em;
}
.eyebrow--light { color: var(--sand); opacity: .9; }

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 .6em;
  font-weight: 500;
  letter-spacing: -.01em;
}
.section-title--light { color: var(--white); }
.section-sub { color: var(--charcoal-soft); max-width: 56ch; }
.section-head { margin-bottom: 4rem; max-width: 64ch; }

.link-strong {
  color: var(--petrol);
  font-weight: 600;
  border-bottom: 1px dotted var(--olive);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-primary { background: var(--petrol); color: var(--white); }
.btn-primary:hover { background: var(--petrol-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(19,74,96,0.3); }
.btn-ghost { background: transparent; color: var(--petrol); border: 2px solid var(--petrol); }
.btn-ghost:hover { background: var(--petrol); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--petrol-deep); }
.btn-light:hover { background: var(--sand); color: var(--petrol-deep); transform: translateY(-2px); }
.btn-accent { background: var(--olive); color: var(--white); }
.btn-accent:hover { background: var(--olive-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(160,160,94,0.4); }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), padding var(--t-med) var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 24px rgba(19,74,96,0.06);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; gap: 32px; }
.brand { flex: 0 0 auto; }
.brand-logo {
  height: 48px;
  width: auto;
  transition: filter var(--t-med) var(--ease);
}
.site-header:not(.scrolled) .brand-logo {
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.4)) brightness(1.05);
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: 8px;
}

.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 28px; justify-content: center; }
.main-nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--charcoal);
  position: relative;
  padding: 8px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--olive);
  transition: width var(--t-med) var(--ease), left var(--t-med) var(--ease);
}
.main-nav a:hover::after { width: 100%; left: 0; }
.site-header:not(.scrolled) .main-nav a {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.header-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.lang-switcher { display: flex; gap: 2px; background: rgba(255,255,255,0.6); padding: 4px; border-radius: 999px; }
.lang-switcher button {
  padding: 6px 12px;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--charcoal-soft);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lang-switcher button:hover { background: var(--sand); color: var(--petrol-deep); }
.lang-switcher button[aria-current="true"] { background: var(--petrol); color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.site-header:not(.scrolled) .hamburger span { background: var(--white); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  top: -120px; bottom: -120px; left: 0; right: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 12s var(--ease);
  will-change: transform;
}
.hero.in-view .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,74,96,0.45) 0%, rgba(19,74,96,0.25) 40%, rgba(19,74,96,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: rgba(160,160,94,0.85);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
  color: var(--white);
  animation: fadeInDown 1.2s var(--ease) .2s both;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
  color: var(--white);
  line-height: 1;
}
.hero-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroSlide 1s var(--ease) forwards;
}
.hero-title span:nth-child(1) { animation-delay: .4s; }
.hero-title span:nth-child(2) { animation-delay: .65s; }
.hero-title span:nth-child(3) { animation-delay: .9s; color: var(--olive-light); font-style: italic; }
.hero-title .accent { background: linear-gradient(90deg, var(--olive-light), var(--olive)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 38ch;
  margin: 0 0 36px;
  color: rgba(255,255,255,0.95);
  animation: fadeInUp 1s var(--ease) 1.2s both;
}
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 1s var(--ease) 1.4s both;
}
.hero-cta .btn-ghost { color: var(--white); border-color: var(--white); }
.hero-cta .btn-ghost:hover { background: var(--white); color: var(--petrol-deep); }

.hero-badge {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 48px;
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  animation: fadeInUp 1s var(--ease) 1.6s both;
}
.hero-badge strong {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--olive-light);
  line-height: 1;
}

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  z-index: 3;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--white);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s var(--ease) infinite;
}

@keyframes heroSlide {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  60% { top: 22px; opacity: .3; }
  100% { top: 8px; opacity: 1; }
}

/* ============ Sections ============ */
.section { padding: 110px 0; position: relative; }
.section-sand { background: var(--sand); }
.section-petrol {
  background: linear-gradient(135deg, var(--petrol-deep) 0%, var(--petrol) 100%);
  color: rgba(255,255,255,0.92);
}
.section-petrol .section-title { color: var(--white); }
.section-petrol .eyebrow { color: var(--olive-light); }

/* Wave divider */
.wave-divider {
  line-height: 0;
  margin-bottom: -1px;
  background: var(--cream);
}
.wave-divider svg { display: block; width: 100%; height: 80px; }

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.olive-divider { width: 130px; height: 24px; margin: 0 0 24px; }
.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--olive-light);
}
.about-stats li { display: flex; flex-direction: column; gap: 4px; }
.about-stats strong {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--olive-deep);
  line-height: 1;
}
.about-stats span { font-size: .85rem; color: var(--charcoal-soft); }

.about-imgs {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.about-img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-img:hover img { transform: scale(1.04); }
.about-img--main { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 16/10; }
.about-img--small { grid-column: 2 / 3; grid-row: 2; aspect-ratio: 4/3; margin-top: -80px; margin-left: -40px; z-index: 2; max-width: 320px; }

/* ============ Offer ============ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.offer-tile {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
  border: 1px solid rgba(160,160,94,0.18);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.offer-tile::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(160,160,94,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.offer-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--olive);
}
.offer-tile svg {
  width: 42px; height: 42px;
  color: var(--petrol);
  margin-bottom: 18px;
  transition: color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.offer-tile:hover svg { color: var(--olive-deep); transform: scale(1.1) rotate(-6deg); }
.offer-tile h3 { font-size: 1.3rem; margin-bottom: 8px; }
.offer-tile p { font-size: .95rem; color: var(--charcoal-soft); margin: 0; }

/* ============ Gallery (mosaic) ============ */
.mosaic {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: 16px;
  padding: 0 24px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}
.mosaic-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  position: relative;
  background: var(--sand);
}
.mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .4s var(--ease);
}
.mosaic-item:hover img { transform: scale(1.07); filter: brightness(1.05); }
.mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(19,74,96,0.5) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.mosaic-item:hover::after { opacity: 1; }

.m-1 { grid-column: 1 / span 6; grid-row: span 5; }
.m-2 { grid-column: 7 / span 3; grid-row: span 3; }
.m-3 { grid-column: 10 / span 3; grid-row: span 5; }
.m-4 { grid-column: 7 / span 3; grid-row: span 2; }
.m-5 { grid-column: 1 / span 4; grid-row: span 4; }
.m-6 { grid-column: 5 / span 4; grid-row: span 4; }
.m-7 { grid-column: 9 / span 4; grid-row: span 4; }
.m-8 { grid-column: 1 / span 12; grid-row: span 4; }

.gallery-cta {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.gallery-cta p { margin: 0; font-style: italic; color: var(--charcoal-soft); }

/* ============ Surroundings ============ */
.surroundings { color: rgba(255,255,255,0.92); }
.surroundings p, .surroundings address { color: rgba(255,255,255,0.88); }
.surroundings-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.surroundings-imgs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.surr-img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong); }
.surr-img img { width: 100%; height: 100%; object-fit: cover; }
.surr-img--main { grid-column: 1 / 3; aspect-ratio: 16/10; }
.surr-img--small { grid-column: 1 / 2; aspect-ratio: 4/3; margin-top: -60px; max-width: 240px; transform: rotate(-2deg); }

.distances {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}
.distances li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.distances strong {
  color: var(--olive-light);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  min-width: 80px;
  letter-spacing: .02em;
}
.dist-dot {
  width: 10px; height: 10px;
  background: var(--olive-light);
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(160,160,94,0.18);
}

.surr-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.surr-tags span {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: lowercase;
}

/* ============ Reviews ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.review-card {
  background: var(--sand);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-stars { color: var(--olive); font-size: 1.1rem; letter-spacing: .15em; margin-bottom: 16px; }
.review-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  margin: 0 0 16px;
  color: var(--petrol-deep);
}
.review-card cite { font-style: normal; color: var(--charcoal-soft); font-size: .9rem; }

.review-card--feature {
  background: linear-gradient(135deg, var(--petrol) 0%, var(--petrol-deep) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.big-rating { display: flex; flex-direction: column; gap: 6px; align-items: center; margin-bottom: 20px; }
.big-rating strong {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--olive-light);
}
.big-rating span { font-size: 1.1rem; font-weight: 600; }
.big-rating em { font-style: normal; font-size: .85rem; opacity: .85; max-width: 22ch; }
.review-card--feature .btn-ghost { color: var(--white); border-color: var(--white); }
.review-card--feature .btn-ghost:hover { background: var(--white); color: var(--petrol-deep); }

/* ============ Location ============ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.location address {
  font-style: normal;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin: 0 0 16px;
  padding: 18px 0;
  border-top: 1px solid var(--olive-light);
  border-bottom: 1px solid var(--olive-light);
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-map iframe { display: block; }

/* ============ Contact ============ */
.contact { text-align: center; }
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact-lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 52ch; margin: 0 auto 40px; }
.contact-actions {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.contact-actions .btn svg { width: 20px; height: 20px; }
.contact-social { margin-top: 40px; }
.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform var(--t-med) var(--ease), background var(--t-fast) var(--ease);
}
.contact-social a:hover { transform: translateY(-3px); background: var(--olive); }

/* ============ Footer ============ */
.site-footer {
  background: #0F3A4B;
  color: rgba(255,255,255,0.78);
  padding: 80px 0 24px;
  font-size: .9rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand img { background: rgba(255,255,255,0.95); padding: 8px 12px; border-radius: 8px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-style: italic; max-width: 28ch; }
.footer-col h4 {
  color: var(--olive-light);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--olive-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: .85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-links {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  margin: 0;
}
.link-button {
  background: none; border: 0;
  color: rgba(255,255,255,0.7);
  font: inherit;
  cursor: pointer;
  padding: 0;
  border-bottom: 1px dotted rgba(255,255,255,0.4);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.link-button:hover { color: var(--olive-light); border-bottom-color: var(--olive-light); }
.footer-credit {
  padding-top: 16px;
  margin-top: 16px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  font-size: .82rem;
}
.footer-credit a { color: var(--olive-light); font-weight: 500; }
.footer-credit a:hover { color: var(--white); }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(19,74,96,0.95);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
  animation: fadeIn .3s var(--ease);
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 2rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ Cookie banner ============ */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-strong);
  z-index: 9999;
  animation: slideUp .5s var(--ease);
  border: 1px solid var(--olive-light);
}
.cookie-banner p { margin: 0 0 14px; font-size: .88rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 480px) {
  .cookie-banner { right: 24px; max-width: none; }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal[data-reveal="slide-left"] { transform: translateX(60px); }
.reveal[data-reveal="slide-right"] { transform: translateX(-60px); }
.reveal[data-reveal="scale-up"] { transform: scale(.95); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .about-grid, .surroundings-grid, .location-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img--small { margin: 0; max-width: 100%; }
  .surr-img--small { margin: 0; max-width: 100%; transform: none; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: .88rem; }
}

@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 2.5rem; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--cream);
    flex: none;
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform var(--t-med) var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.2);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 18px; align-items: flex-start; }
  .site-header:not(.scrolled) .main-nav a { color: var(--charcoal); text-shadow: none; }
  .main-nav a { font-size: 1.1rem; padding: 8px 0; }
  .hamburger { display: flex; }
  .header-actions { gap: 8px; margin-left: auto; }
  .header-inner { gap: 12px; flex-wrap: nowrap; justify-content: space-between; }
  .brand-logo { height: 40px; }
  /* Na mobile CTA "Rezerwuj" jest dostępne w menu i sekcji kontakt — w nagłówku tylko logo + język + hamburger */
  .header-actions > .btn { display: none; }
  .lang-switcher { padding: 2px; }
  .lang-switcher button { padding: 4px 8px; font-size: .75rem; }

  .mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 80px;
  }
  .m-1 { grid-column: 1 / span 6; grid-row: span 4; }
  .m-2 { grid-column: 1 / span 3; grid-row: span 3; }
  .m-3 { grid-column: 4 / span 3; grid-row: span 3; }
  .m-4 { grid-column: 1 / span 6; grid-row: span 3; }
  .m-5 { grid-column: 1 / span 3; grid-row: span 3; }
  .m-6 { grid-column: 4 / span 3; grid-row: span 3; }
  .m-7 { grid-column: 1 / span 6; grid-row: span 3; }
  .m-8 { grid-column: 1 / span 6; grid-row: span 3; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .hero-content { padding-top: 100px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .contact-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 92vh; }
  .gallery-cta { flex-direction: column; align-items: flex-start; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: scale(1); }
  .hero-title span { opacity: 1; transform: none; }
}

/* ============ Print ============ */
@media print {
  .site-header, .hero-scroll, .lightbox, .cookie-banner, .lang-switcher, .hamburger { display: none !important; }
  .hero { min-height: auto; color: var(--charcoal); }
  .hero-bg, .hero-overlay { display: none; }
  .section-petrol { background: var(--white); color: var(--charcoal); }
  .section-petrol .section-title { color: var(--petrol-deep); }
}
