/* ============================================================
   Natura & SPA - fonts, tokens, reset
============================================================ */

@font-face {
  font-family: 'Higuen';
  src: url('../assets/fonts/higuen-serif.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2b2b26;
  --ink-soft: #4a4a41;
  --olive: #797d59;
  --olive-light: #a3a77e;
  --olive-dark: #5f6347;
  --olive-deep: #3f4234;
  --cream: #f7f2e7;
  --cream-deep: #eeecdd;
  --paper: #fbf8f1;
  --line: rgba(43, 43, 38, 0.12);
  --nav-bg: #2e2d2a;
  --brick: #a85c3f;
  --brick-dark: #8a4930;

  --serif: 'Higuen', 'Iowan Old Style', 'Georgia', serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --script: 'Sacramento', cursive;

  --container: 1240px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; }
p { margin: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-dark);
  font-weight: 500;
  margin: 0 0 0.9rem;
}
.eyebrow-light { color: var(--cream-deep); }

section { position: relative; }

/* generic scroll-reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16,0.8,0.24,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 auto;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--olive);
  color: var(--paper);
}
.btn-primary:hover { background: var(--olive-dark); }
.btn-brick { background: var(--brick); }
.btn-brick:hover { background: var(--brick-dark); }
.btn-ghost {
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-small { padding: 0.7rem 1.4rem; font-size: 0.85rem; }

/* ============================================================
   Header / Nav
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(0.9rem + 5px) var(--gap);
  padding-left: clamp(4.5rem, 10vw, 6rem);
  padding-right: clamp(10rem, 22vw, 13rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: var(--cream-deep);
}

@media (min-width: 901px) {
  .nav-left, .nav-right { display: contents; }
}

.nav-logo-scroll {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(0.9rem, 2.6vw, 2rem);
  margin: auto 0;
  height: 46px;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  z-index: 1;
}
.site-header.show-logo .nav-logo-scroll {
  opacity: 1;
  visibility: visible;
}
.nav-logo-scroll svg {
  height: 46px;
  shape-rendering: geometricPrecision;
  width: auto;
}

@media (max-width: 900px) {
  .nav-logo-scroll { display: none; }
  .nav-inner { padding-left: var(--gap); }
}

.nav-left a, .nav-right a {
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
  color: var(--cream-deep);
}
.nav-left a::after, .nav-right a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--olive-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-left a:hover::after, .nav-right a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-phone {
  position: absolute;
  top: 50%;
  right: clamp(0.9rem, 2.6vw, 2rem);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(238,236,221,0.45);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--cream-deep);
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  z-index: 1;
}
.nav-phone:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.nav-phone svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 61;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--cream-deep);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(43,43,38,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: -1;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-left, .nav-right {
    position: fixed;
    right: 0;
    height: 50vh;
    width: min(78vw, 340px);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 1.4rem;
    font-size: 1.05rem;
    transition: transform 0.4s cubic-bezier(0.16,0.8,0.24,1);
    z-index: 60;
    transform: translateX(105%);
  }
  .nav-left { top: 0; border-bottom: 1px solid var(--line); }
  .nav-right { top: 50vh; }
  .nav-left a, .nav-right a { color: var(--ink); }
  .nav-left a::after, .nav-right a::after { background: var(--olive); }
  body.nav-open .nav-left,
  body.nav-open .nav-right { transform: translateX(0); }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; z-index: 55; }

  .nav-phone { padding: 0.65rem 1rem; font-size: 0.8rem; right: 0.75rem; }
}

@media (max-width: 420px) {
  .nav-phone span { display: none; }
  .nav-phone { padding: 0.7rem; }
}

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,14,0.6) 0%, rgba(18,18,14,0.22) 20%, rgba(18,18,14,0.04) 38%, rgba(18,18,14,0.1) 55%, rgba(16,16,12,0.8) 100%);
}
.hero-logo-wrap {
  position: absolute;
  top: clamp(1.25rem, 3.4vw, 2.25rem);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.hero-logo {
  height: clamp(80px, 13.6vw, 118px);
  width: auto;
  shape-rendering: geometricPrecision;
}
@media (max-width: 900px) {
  .hero-logo { height: clamp(112px, 19vw, 165px); }
}
.brand-mark path {
  fill: #fff;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap) clamp(3.5rem, 8vw, 6rem);
  width: 100%;
  color: #fff;
  text-align: center;
}
.eyebrow.eyebrow-hero { color: var(--cream-deep); }
.hero .eyebrow { color: #e3e2d2; }

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 1.1rem;
}

.hero-cycle {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  color: #e9e6c9;
}
.hero-cycle .word {
  display: inline-block;
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0);
  transition: clip-path 0.55s cubic-bezier(0.16,0.8,0.24,1),
              opacity 0.35s ease,
              transform 0.45s cubic-bezier(0.16,0.8,0.24,1);
}
.hero-cycle .word.is-leaving {
  clip-path: inset(0 0 0 100%);
  opacity: 0;
  transform: translateY(-4px);
}
.hero-cycle .word.is-entering {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transform: translateY(4px);
}

.hero-subtitle {
  max-width: 34em;
  margin: 0 auto 2.2rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: #ece9dc;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
  z-index: 1;
}
.hero-scroll-cue::after {
  content: '';
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 40px; opacity: 0; }
}

@media (max-width: 900px) {
  /* Free up vertical room the bigger mobile logo now takes, and stop
     the scroll-cue from ever sitting on top of the buttons below it. */
  .hero-scroll-cue { display: none; }
  .hero-logo-wrap { top: clamp(0.9rem, 3vw, 2.25rem); }
  .hero-content { padding-bottom: clamp(5rem, 12vw, 6rem); }
  .hero .eyebrow { margin-bottom: 0.5rem; }
  .hero-title { margin-bottom: 0.6rem; }
  .hero-subtitle { margin-bottom: 1.3rem; }
  /* Keep both hero buttons on one line even on narrow Android phones. */
  .hero-actions { gap: 0.5rem; }
  .hero-actions .btn { padding: 0.65rem 0.8rem; font-size: 0.78rem; }
}

/* ============================================================
   Handwritten section
============================================================ */
.handwritten {
  background: var(--cream);
  padding: clamp(4rem, 10vw, 7rem) var(--gap);
  display: flex;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hw-pattern-layer {
  position: absolute;
  inset: -10%;
  background-image: url('../pattern-natura-zielone-liscie-bez-tla.svg');
  background-repeat: repeat;
  background-size: 360px auto;
  opacity: 0;
  transition: opacity 2.4s ease;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, transparent 0%, transparent 30%, black 88%);
  mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, transparent 0%, transparent 30%, black 88%);
  pointer-events: none;
}
.handwritten.is-visible .hw-pattern-layer { opacity: 0.1; }
.hw-wrap {
  position: relative;
  z-index: 1;
  max-width: 780px;
  font-family: var(--script);
  color: var(--olive-deep);
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  line-height: 1.45;
}
.hw-line {
  display: block;
}
.hw-mask {
  display: inline-block;
  overflow: hidden;
  width: 0;
  white-space: nowrap;
  vertical-align: bottom;
  transition: width 1.1s cubic-bezier(0.45, 0.05, 0.35, 1);
  position: relative;
}
.hw-mask::after {
  content: '';
  position: absolute;
  right: 0;
  top: 8%;
  height: 84%;
  width: 2px;
  background: var(--olive);
  opacity: 0;
}
.hw-mask.is-writing::after {
  opacity: 0.55;
  animation: hwblink 0.5s steps(2) infinite;
}
@keyframes hwblink { 50% { opacity: 0; } }

.hw-inner { display: inline-block; }
.hw-accent { color: var(--brick); }

/* ============================================================
   Section shells
============================================================ */
.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  text-align: center;
}
.section-title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: 0.7rem;
}
.section-lede {
  max-width: 40em;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ============================================================
   Apartments carousel
============================================================ */
.apartments {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--paper);
}
.carousel {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 var(--gap);
}
.car-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}
.car-track-wrap::-webkit-scrollbar { display: none; }

.car-track {
  display: flex;
  gap: clamp(1.1rem, 2vw, 1.8rem);
}

.car-card {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 360px);
  scroll-snap-align: start;
}
.car-photo {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
}
.car-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,0.8,0.24,1);
}
.car-card:hover .car-photo img { transform: scale(1.06); }

.car-info { padding-top: 1.1rem; }
.car-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 0.3rem;
}
.car-name {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.car-desc {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.car-params {
  font-size: 0.82rem;
  color: var(--olive-dark);
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
}
.car-cta {
  font-size: 0.86rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
button.car-cta {
  display: inline-block;
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 0 0 2px;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

.car-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.car-btn:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}
@media (max-width: 640px) {
  .car-btn { display: none; }
}

/* ============================================================
   SPA
============================================================ */
.spa { background: var(--paper); padding-bottom: clamp(4rem, 8vw, 6rem); }

.spa-hero {
  position: relative;
  height: min(84vh, 780px);
  overflow: hidden;
}
.spa-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.spa-hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(31,31,26,0.72) 0%, rgba(31,31,26,0.35) 45%, rgba(31,31,26,0.05) 75%);
}
.spa-hero-inner {
  position: absolute;
  inset: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: flex-end;
}
.spa-hero-panel {
  max-width: 640px;
  padding: 0 1.5rem clamp(2.5rem, 6vw, 4.5rem) 0;
  color: #fff;
}
.spa-title {
  font-size: clamp(1.3rem, 6.2vw, 3.1rem);
  margin-bottom: 1rem;
  white-space: nowrap;
}
.spa-copy {
  color: #e9e7da;
  font-size: 1.02rem;
  margin-bottom: 1.3rem;
  max-width: 32em;
}
.spa-list {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--cream-deep);
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 1rem;
}

.spa-marquee {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.spa-marquee::-webkit-scrollbar { display: none; }
.spa-marquee.is-dragging { cursor: grabbing; }
.spa-marquee-track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-columns: clamp(200px, 22vw, 300px);
  height: clamp(320px, 34vw, 460px);
  gap: var(--gap);
  width: max-content;
}
.spa-marquee-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
}
.spa-marquee-item:nth-child(5n+1) { grid-row: span 2; }
.spa-marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.spa-marquee-item.obj-bottom img { object-position: center 78%; }

@media (max-width: 700px) {
  .spa-marquee-track { height: clamp(230px, 60vw, 320px); grid-auto-columns: clamp(150px, 44vw, 220px); }
}

@media (max-width: 800px) {
  .spa-hero-panel { max-width: 100%; padding-right: 0; }
  .spa-hero-veil { background: linear-gradient(0deg, rgba(31,31,26,0.85), rgba(31,31,26,0.15) 75%); }
}

/* ============================================================
   Senses / kitchen storytelling
============================================================ */
.senses {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background-image: url('../kremowe-tlo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.senses .section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.story-row {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gap);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.story-row-rev .story-media { order: 2; }
.story-row-rev .story-text { order: 1; }

.story-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5/4;
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,0.8,0.24,1);
}
.story-media:hover img { transform: scale(1.06); }

.story-title {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 1rem;
}
.story-text p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.story-text p:not(.eyebrow):last-of-type { margin-bottom: 0; }
.story-text .car-cta {
  display: inline-block;
  margin-top: 1.4rem;
}

@media (max-width: 820px) {
  .story-row, .story-row-rev { grid-template-columns: 1fr; }
  .story-row-rev .story-media { order: 1; }
  .story-row-rev .story-text { order: 2; }
}

/* ============================================================
   Lawendowe Rancho
============================================================ */
.rancho { background: var(--nav-bg); }

.rancho-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  min-height: clamp(560px, 56vw, 760px);
}

.rancho-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cream-deep);
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gap);
}
.rancho-text .eyebrow { color: var(--olive-light); }
.rancho-text .section-title { text-align: left; margin-bottom: 1.8rem; color: var(--cream-deep); }

.rancho-features {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(238,236,221,0.18);
}
.rancho-feature h3 {
  font-size: 1.3rem;
  color: var(--cream-deep);
  margin-bottom: 0.4rem;
}
.rancho-feature p {
  color: rgba(238,236,221,0.72);
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 34em;
}

.rancho-media {
  position: relative;
  overflow: hidden;
}
.rancho-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,0.8,0.24,1);
}
.rancho-media:hover img { transform: scale(1.06); }

@media (max-width: 820px) {
  .rancho-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .rancho-media { order: -1; aspect-ratio: 4/3; }
  .rancho-text { padding: clamp(2.5rem, 7vw, 3.5rem) var(--gap); }
}

/* ============================================================
   Section divider
============================================================ */
.section-divider {
  height: clamp(112px, 14vw, 200px);
  background-image: url('../pattern-szeroki-zielony-z-tlem.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center;
}
.section-divider-cream {
  background-image: url('../pattern-szeroki-kremowy-z-tlem.png?v=2');
  background-position: center;
}

/* ============================================================
   Dla grup
============================================================ */
.grupy {
  background-image: url('../zielone-tlo.png');
  background-size: cover;
  background-position: center;
  padding: clamp(5rem, 11vw, 8rem) var(--gap);
  display: flex;
  justify-content: center;
}
.grupy-inner {
  max-width: 760px;
  text-align: center;
}
.grupy-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.3;
  color: #fff;
  margin-bottom: 1.5rem;
}
.grupy-copy {
  color: #edeadd;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 1.8rem;
}
.grupy-tags {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-deep);
  border-top: 1px solid rgba(255,255,255,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.28);
  padding: 1.1rem 0;
  margin-bottom: 2.2rem;
}

/* ============================================================
   Nasza filozofia
============================================================ */
.philosophy-photo {
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.philosophy-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.philosophy-body {
  background: var(--cream);
  padding: clamp(4rem, 9vw, 7rem) var(--gap);
  display: flex;
  justify-content: center;
}
.philosophy-inner {
  max-width: 760px;
}
.philosophy-inner .eyebrow { text-align: center; }
.philosophy-text {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.philosophy-text:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .philosophy-photo { aspect-ratio: 4 / 3; }
}

/* ============================================================
   Quote section
============================================================ */
.quote-section {
  background: var(--olive-deep);
  padding: clamp(5rem, 12vw, 9rem) var(--gap);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.quote-pattern-layer {
  position: absolute;
  inset: 0;
  background-image: url('../pattern-natura-zielone-liscie-bez-tla.svg');
  background-repeat: repeat;
  background-size: 900px auto;
  opacity: 0.1;
  filter: brightness(2.4);
  -webkit-mask-image: linear-gradient(to left, black 0%, black 30%, transparent 72%);
  mask-image: linear-gradient(to left, black 0%, black 30%, transparent 72%);
  pointer-events: none;
  animation: quote-pattern-flow 88s linear infinite;
}
@keyframes quote-pattern-flow {
  from { background-position: 0 0; }
  to { background-position: -900px 0; }
}
.quote-text {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  color: var(--cream-deep);
  font-family: var(--script);
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  line-height: 1.3;
  max-width: 20em;
}
.quote-text cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 1.6rem;
}

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: var(--olive-deep);
  color: var(--cream-deep);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gap) 1.5rem;
}
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(238,236,221,0.15);
}
.footer-logo { width: clamp(140px, 14vw, 190px); height: auto; object-fit: contain; align-self: start; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-heading {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1.1rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-address { color: rgba(238,236,221,0.7); line-height: 1.6; }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: rgba(238,236,221,0.55);
}
.footer-bottom a:hover { color: #fff; }

@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-logo { height: auto; width: 84px; }
}

/* ============================================================
   NFHotel - floating booking widget: ukryty w hero,
   pojawia się dopiero po przescrollowaniu (desktop)
============================================================ */
@media (min-width: 901px) {
  .floating-booking-container {
    opacity: 0;
    visibility: hidden;
    transition: opacity 400ms ease, visibility 0s linear 400ms;
  }
  body.nf-floating-visible .floating-booking-container {
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms ease;
  }
}

/* ============================================================
   Lawendowe Rancho - subpage story sections
============================================================ */
.rancho-story { background: var(--paper); }
.section-gospodarstwo {
  background-image: url('../bezowe-tlo.png');
  background-size: cover;
  background-position: center;
}

/* ============================================================
   Pory roku - seasons duo
============================================================ */
.seasons {
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--gap);
  background: var(--cream);
}
.seasons .section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.seasons-duo {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.seasons-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.seasons-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,0.8,0.24,1);
}
.seasons-panel:hover img { transform: scale(1.06); }
.seasons-label {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(43,43,38,0.55);
  backdrop-filter: blur(3px);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.seasons-copy {
  max-width: 640px;
  margin: 2.5rem auto 0;
  text-align: center;
}
.seasons-copy p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.seasons-copy p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .seasons-duo { grid-template-columns: 1fr; }
  .seasons-panel { aspect-ratio: 4/3; }
}
