/* ==========================================================================
   Lecę na plażę - styles.css
   Estetyka: sunset coastal (piasek + zachód słońca + morze)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Zmienne / paleta
   --------------------------------------------------------------------------- */
:root {
  /* Tła */
  --paper: #faf4e9;          /* ciepły krem */
  --paper-2: #f3e8d6;        /* przełamane sekcje */
  --paper-3: #efe0cb;        /* karty */

  /* Atrament */
  --ink: #2a211a;            /* ciepła sepia zamiast czerni */
  --ink-soft: #6f6152;       /* tekst pomocniczy */

  /* Akcenty */
  --accent-sun: #e8613c;     /* zachód słońca / CTA */
  --accent-sun-deep: #cf4d2c;
  --accent-ocean: #0f7c78;   /* morska zieleń */
  --accent-ocean-deep: #0b5f5c;

  /* Pomocnicze */
  --line: rgba(42, 33, 26, 0.14);
  --radius: 22px;
  --radius-lg: 34px;

  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

/* ---------------------------------------------------------------------------
   2. Reset i podstawy
   --------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Oficjalne, wymagane style Lenis (bez nich smooth scroll bywa niesprawny) */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;   /* zero poziomego przewijania */
}

h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

img, svg { display: block; max-width: 100%; }

ul { margin: 0; padding: 0; list-style: none; }

/* Fonty display */
.display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
}

em {
  font-style: italic;
  color: var(--accent-sun);
}

/* Focus states */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-ocean);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   3. Layout pomocniczy
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}

section {
  position: relative;
  padding-block: clamp(72px, 12vw, 150px);
}

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ocean);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow--light { color: rgba(250, 244, 233, 0.85); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }

.section-title {
  font-size: clamp(2.1rem, 5.5vw, 4.2rem);
}

/* Ogromne numery sekcji w tle */
.section-num {
  font-family: "Fraunces", serif;
  display: block;
  font-size: clamp(0.9rem, 1vw, 1rem);
  letter-spacing: 0.3em;
  color: var(--accent-sun);
  margin-bottom: 14px;
  opacity: 0.8;
}

/* ---------------------------------------------------------------------------
   4. Ziarno (grain) + plamy poświaty
   --------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.04;
  /* Delikatny szum wygenerowany SVG (bez zewnętrznych obrazków) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.blob--sun {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  background: radial-gradient(circle at 30% 30%, var(--accent-sun), transparent 70%);
  top: -12%; right: -8%;
}
.blob--ocean {
  width: 40vw; height: 40vw;
  max-width: 520px; max-height: 520px;
  background: radial-gradient(circle at 60% 40%, var(--accent-ocean), transparent 70%);
  bottom: -18%; left: -12%;
  opacity: 0.35;
}

/* ---------------------------------------------------------------------------
   5. Preloader
   --------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease-soft), visibility 0.6s;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader__inner {
  width: min(360px, 78vw);
  text-align: center;
}
.preloader__palm {
  display: block;
  width: auto;
  height: clamp(58px, 9vw, 82px);
  margin: 0 auto 14px;
  transform-origin: 50% 100%;
  animation: palmSway 2.8s var(--ease-soft) infinite;
}
@keyframes palmSway {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}
.preloader__brand {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.preloader__bar {
  height: 3px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.preloader__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent-sun);
  border-radius: 99px;
}
.preloader__count {
  margin-top: 16px;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------------------
   6. Pasek postępu scrolla
   --------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent-sun), var(--accent-ocean));
  z-index: 90;
}

/* ---------------------------------------------------------------------------
   7. Przyciski
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease-soft), background 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn--primary {
  background: var(--accent-sun);
  color: var(--paper);
  box-shadow: 0 14px 30px -12px rgba(232, 97, 60, 0.7);
}
.btn--primary:hover { background: var(--accent-sun-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--paper {
  background: var(--paper);
  color: var(--ink);
}
.btn--paper:hover { background: #fff; }
.btn--full { width: 100%; }

/* ---------------------------------------------------------------------------
   8. Badge
   --------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  margin-bottom: 30px;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-ocean);
  box-shadow: 0 0 0 0 rgba(15, 124, 120, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 124, 120, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(15, 124, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 124, 120, 0); }
}

/* ---------------------------------------------------------------------------
   9. Hero
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(120px, 16vh, 200px) clamp(80px, 10vh, 120px);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.hero__horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: min(40vh, 320px);
  z-index: 1;
  pointer-events: none;
}
.hero__title {
  font-size: clamp(2.9rem, 9vw, 7rem);
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}
.hero__lead {
  max-width: 560px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;   /* palma wyśrodkowana z przyciskami */
  gap: 16px;
  margin-bottom: 56px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.trust__num {
  display: block;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--accent-ocean);
  line-height: 1;
}
.trust__label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 190px;
  display: block;
  margin-top: 8px;
}

.hero__scrollcue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 2;
}
.hero__scrollline {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--ink-soft), transparent);
  animation: scrollcue 2s var(--ease-soft) infinite;
  transform-origin: top;
}
@keyframes scrollcue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------------------------------------------------------------------------
   10. Split-text (maski nagłówków)
   --------------------------------------------------------------------------- */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;   /* miejsce na descendery liter */
}
.split-word__inner {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
  /* Odsłanianie napędzane klasą .is-revealed + przejściem CSS (bez zaleznosci
     od petli animacji GSAP - dzieki temu tekst zawsze sie pokaze). */
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.split-word.is-revealed .split-word__inner {
  transform: translateY(0);
}

/* ---------------------------------------------------------------------------
   11. Marquee
   --------------------------------------------------------------------------- */
.marquee-wrap {
  padding-block: clamp(22px, 3.4vw, 40px);
  background: var(--paper-2);
  color: var(--accent-ocean-deep);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* cienkie linie włosowe zamiast krzykliwego bloku koloru */
  border-top: 1px solid rgba(42, 33, 26, 0.1);
  border-bottom: 1px solid rgba(42, 33, 26, 0.1);
}
.marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  /* miękkie wygaszanie słów na krawędziach - efekt "premium" */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: "Fraunces", serif;
  font-style: italic;              /* lżejszy, wakacyjno-editorialny charakter */
  font-weight: 400;
  font-size: clamp(1.05rem, 2.2vw, 1.65rem);
  letter-spacing: 0.005em;
  will-change: transform;
}
/* drugi pas nieco delikatniejszy - buduje głębię */
.marquee--right .marquee__track { color: var(--ink-soft); }
.marquee__track span { flex-shrink: 0; }
.marquee__star {
  color: var(--accent-sun);
  font-size: 0.5em;
  opacity: 0.55;
  transform: translateY(-0.1em);   /* drobna gwiazdka optycznie wyśrodkowana */
}

/* Fallback: gdyby JS nie działał, animacja CSS */
.no-js-marquee .marquee--left .marquee__track { animation: marqL 26s linear infinite; }
.no-js-marquee .marquee--right .marquee__track { animation: marqR 26s linear infinite; }
@keyframes marqL { to { transform: translateX(-50%); } }
@keyframes marqR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------------------------------------------------------------------------
   12. Manifest
   --------------------------------------------------------------------------- */
.manifest { background: var(--paper); }
.manifest__text {
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  line-height: 1.28;
  max-width: 1000px;
  letter-spacing: -0.01em;
}
/* Słowa manifestu: przygaszone, rozświetlane przez scroll */
.manifest-word {
  display: inline-block;
  color: rgba(42, 33, 26, 0.2);
  transition: color 0.2s linear;
}
.manifest-word.is-lit { color: var(--ink); }

/* ---------------------------------------------------------------------------
   13. Oferta / karty
   --------------------------------------------------------------------------- */
.services { background: var(--paper-2); }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 34px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: box-shadow 0.4s var(--ease-soft), border-color 0.4s;
}
.card:hover {
  box-shadow: 0 30px 60px -30px rgba(42, 33, 26, 0.35);
  border-color: rgba(232, 97, 60, 0.4);
}
.card__index {
  font-family: "Fraunces", serif;
  font-size: 0.85rem;
  color: var(--accent-sun);
  letter-spacing: 0.2em;
  margin-bottom: auto;
}
.card__title {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  margin-top: 28px;
  margin-bottom: 12px;
}
.card__text {
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.card__tag {
  align-self: flex-start;
  margin-top: 22px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ocean);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 99px;
}

/* ---------------------------------------------------------------------------
   14. Proces / akordeon
   --------------------------------------------------------------------------- */
.process { background: var(--paper); }
.process__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.process__note {
  color: var(--ink-soft);
  margin-top: 20px;
  max-width: 380px;
}

.accordion {
  border-top: 1px solid var(--line);
}
.accordion__item {
  border-bottom: 1px solid var(--line);
}
.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
}
.accordion__step {
  font-family: "Fraunces", serif;
  color: var(--accent-sun);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.accordion__title {
  font-family: "Fraunces", serif;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  flex: 1;
  transition: color 0.3s;
}
.accordion__item.is-open .accordion__title { color: var(--accent-sun); }
.accordion__icon {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.4s var(--ease-soft), background 0.3s;
}
.accordion__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.accordion__icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.accordion__item.is-open .accordion__icon::after { transform: scaleY(0); }
.accordion__item.is-open .accordion__icon::before { background: var(--accent-sun); }

.accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.45s var(--ease-soft);
}
.accordion__panel p {
  padding-bottom: 26px;
  color: var(--ink-soft);
  max-width: 560px;
}

/* ---------------------------------------------------------------------------
   15. Statystyki
   --------------------------------------------------------------------------- */
.stats {
  background: var(--paper-3);
  color: var(--ink);
}
.stats .section-num { color: rgba(42, 33, 26, 0.32); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-top: 30px;
}
.stat {
  border-top: 1px solid rgba(42, 33, 26, 0.14);
  padding-top: 24px;
}
.stat__num {
  display: block;
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-ocean-deep);   /* morska zieleń jako akcent na kremie */
}
.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 200px;
}

/* ---------------------------------------------------------------------------
   16. O nas
   --------------------------------------------------------------------------- */
.about { background: var(--paper-2); }
.about__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(232, 97, 60, 0.28), transparent 60%),
    linear-gradient(160deg, var(--paper-3), var(--accent-ocean));
  border: 1px solid var(--line);
}
/* Prawdziwe zdjęcie zakrywa ramkę; leży nad sylwetką-fallbackiem */
.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
.about__silhouette {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
}
.about__silhouette svg {
  width: 70%;
  height: auto;
  fill: rgba(42, 33, 26, 0.55);
}
.about__badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 99px;
}
.about__text {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  margin-top: 8px;
  max-width: 560px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.chip {
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--paper);
  border: 1px solid var(--line);
}

/* ---------------------------------------------------------------------------
   17. Cennik
   --------------------------------------------------------------------------- */
.pricing { background: var(--paper); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s;
}
.plan--featured {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-14px);
  box-shadow: 0 40px 70px -34px rgba(42, 33, 26, 0.6);
}
.plan__ribbon {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-sun);
  color: var(--paper);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 99px;
  white-space: nowrap;
}
.plan__name {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.plan__price {
  font-family: "Fraunces", serif;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 8px;
}
.plan__price small {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-left: 6px;
}
.plan--featured .plan__price small { color: rgba(250, 244, 233, 0.65); }
.plan__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.plan--featured .plan__desc { color: rgba(250, 244, 233, 0.75); }
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}
.plan__features li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent-ocean);
  border-bottom: 2px solid var(--accent-ocean);
  transform: rotate(-45deg);
}
.plan--featured .plan__features li::before {
  border-color: var(--accent-sun);
}

/* ---------------------------------------------------------------------------
   18. FAQ
   --------------------------------------------------------------------------- */
.faq { background: var(--paper-2); }
.faq__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

/* ---------------------------------------------------------------------------
   19. Finałowe CTA
   --------------------------------------------------------------------------- */
.cta {
  background: var(--accent-sun);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}
.cta__inner { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; }
.cta__blob {
  background: radial-gradient(circle at 50% 50%, var(--accent-sun-deep), transparent 70%);
  top: -20%; right: auto; left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
}
.cta__horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 160px;
  z-index: 1;
}
.cta__title {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  margin-bottom: 24px;
}
.cta__title em { color: var(--ink); }
.cta__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(250, 244, 233, 0.88);
  max-width: 520px;
  margin: 0 auto 40px;
}

/* ---------------------------------------------------------------------------
   20. Stopka
   --------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(40px, 6vw, 70px);
  overflow: hidden;
}
.footer__inner { position: relative; z-index: 2; }
.footer__label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 244, 233, 0.55);
  margin-bottom: 16px;
}
.footer__mail {
  display: inline-block;
  font-size: clamp(1.8rem, 6vw, 4.4rem);
  line-height: 1.1;
  position: relative;
  color: var(--paper);
}
.footer__mail::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.02em;
  width: 100%; height: 2px;
  background: var(--accent-sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-soft);
}
.footer__mail:hover::after { transform: scaleX(1); }

.footer__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: clamp(50px, 8vw, 90px);
  padding-block: 40px;
  border-top: 1px solid rgba(250, 244, 233, 0.16);
  border-bottom: 1px solid rgba(250, 244, 233, 0.16);
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-title {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 244, 233, 0.5);
  margin-bottom: 6px;
}
.footer__col a,
.footer__col span { color: rgba(250, 244, 233, 0.82); font-size: 0.95rem; }
.footer__col a { transition: color 0.3s; }
.footer__col a:hover { color: var(--accent-sun); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  font-size: 0.84rem;
  color: rgba(250, 244, 233, 0.5);
}

/* Kokos obok dużego maila w stopce - z dużym odstępem, bo mail jest
   magnetyczny (data-magnetic) i przy hoverze potrafi przesunąć się w jego
   stronę o kilkadziesiąt px */
.footer__coco {
  display: inline-block;
  width: clamp(56px, 6.5vw, 100px);
  height: auto;
  margin-left: clamp(48px, 9vw, 130px);
  vertical-align: middle;
  opacity: 0.9;
  pointer-events: none;
}

/* Mała palma za tekstem w stopce */
.footer__palm {
  display: inline-block;
  height: 1.3em;
  width: auto;
  margin-left: 0.3em;
  vertical-align: -0.35em;
  opacity: 0.85;
  pointer-events: none;
}

/* Linki prawne pod stopką - obecnie prowadzą donikąd (href="#"),
   docelowo podepniemy podstrony z regulaminami */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  font-size: 0.8rem;
}
.footer__legal a {
  color: rgba(250, 244, 233, 0.5);
  transition: color 0.3s;
}
.footer__legal a:hover { color: var(--accent-sun); }

/* Gigantyczny napis nazwy firmy w tle */
.footer__giant {
  position: absolute;
  left: 50%;
  bottom: -0.28em;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: clamp(4rem, 20vw, 20rem);
  line-height: 0.8;
  color: rgba(250, 244, 233, 0.05);
  z-index: 0;
  pointer-events: none;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------------------
   21. Reveal (stan startowy dla elementów, które wchodzą)
   --------------------------------------------------------------------------- */
.js [data-reveal],
.js [data-cards] > * {
  opacity: 0;
  transform: translateY(28px);
}

/* ---------------------------------------------------------------------------
   21b. Akcenty dekoracyjne (grafiki SVG, wersja stonowana)
   --------------------------------------------------------------------------- */
/* Ikonki na kartach oferty - dyskretnie w prawym górnym rogu */
.card__icon {
  position: absolute;
  top: clamp(16px, 2vw, 22px);
  right: clamp(16px, 2vw, 22px);
  width: clamp(42px, 4vw, 54px);
  height: auto;
  opacity: 0.55;
  filter: saturate(0.82);
  pointer-events: none;
}

/* Logo firmy w lewym górnym rogu hero - lekko zaokrąglone narożniki */
.hero__logo {
  position: absolute;
  top: clamp(18px, 2.6vw, 34px);
  left: clamp(18px, 2.6vw, 40px);
  width: clamp(76px, 9vw, 116px);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(42, 33, 26, 0.12);
  z-index: 4;              /* nad treścią, blobami i ziarnem */
}

/* Palma w hero - akcent tuż przy przycisku "Jak to działa" */
.hero__palm {
  height: clamp(64px, 8vw, 92px);
  width: auto;
  opacity: 0.85;
  pointer-events: none;
  flex: 0 0 auto;
}

/* Słońce w hero - akcent inline tuż za tytułem */
.hero__sun {
  display: inline-block;
  height: 0.62em;          /* skala względem ogromnego tytułu */
  width: auto;
  margin-left: 0.22em;
  vertical-align: -0.02em;
  opacity: 0.9;
  pointer-events: none;
}

/* Przerywnik z falami między sekcjami */
.wave-divider {
  display: flex;
  justify-content: center;
  padding: clamp(26px, 5vw, 52px) 20px;
  background: var(--paper);
}
.wave-divider img {
  width: min(210px, 55%);
  height: auto;
  opacity: 0.45;
}

/* Żaglówka pod nagłówkiem FAQ - dość duża, ale stonowana */
.faq__boat {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-top: clamp(28px, 4vw, 48px);
  opacity: 0.5;            /* stonowana */
  filter: saturate(0.85);
  pointer-events: none;
}

/* Mały kokos za nagłówkiem cennika */
.pricing__coco {
  display: inline-block;
  height: 0.92em;          /* kwadratowy kokos - skala względem nagłówka */
  width: auto;
  margin-left: 0.3em;
  vertical-align: -0.12em;
  pointer-events: none;
}

/* Małe słońce za nagłówkiem oferty */
.services__sun {
  display: inline-block;
  height: 0.85em;          /* mały, kwadratowy - skala względem nagłówka */
  width: auto;
  margin-left: 0.3em;
  vertical-align: calc(-0.08em - 5mm); /* obniżone o 5 mm */
  pointer-events: none;
}

/* Mały flaming zaraz za imieniem "Roksana" w nagłówku */
.about__flaming {
  display: inline-block;
  height: 0.95em;          /* skala względem nagłówka - mały */
  width: auto;
  margin-left: 0.28em;
  vertical-align: -0.14em; /* "stoi" przy linii tekstu */
  pointer-events: none;
}

/* Pocztówka plażowa przy nagłówku sekcji "Cztery kroki do plaży" */
.process__scene {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-top: clamp(28px, 4vw, 44px);
  border-radius: 16px;
  opacity: 0.62;              /* stonowane - nie wybija się */
  filter: saturate(0.85);
  pointer-events: none;
}

/* Narożna dekoracja w finałowym CTA */
.cta__corner {
  position: absolute;
  left: -6px;
  bottom: -6px;
  width: clamp(160px, 24vw, 300px);
  height: auto;
  z-index: 1;             /* nad tłem, pod treścią (z-index 2) */
  pointer-events: none;
}

/* ---------------------------------------------------------------------------
   22. Responsywność
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 380px; }
  .plan--featured { transform: none; }
}

@media (max-width: 640px) {
  /* Mobile: jedna kolumna, przyciski na całą szerokość */
  .cards,
  .stats__grid,
  .plans,
  .footer__meta {
    grid-template-columns: 1fr;
  }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .trust { gap: 22px; }
  .trust__item { flex: 1 1 40%; }
  .plan--featured { transform: none; }
  .cta__actions .btn { width: 100%; }
  .footer__bottom { flex-direction: column; }
  /* Akcenty: palmę przy przyciskach na wąskim ekranie chowamy, przerywnik mniejszy */
  .hero__palm { display: none; }
  .wave-divider { padding-block: 28px; }
  .wave-divider img { width: 70%; }
}

/* ---------------------------------------------------------------------------
   23. prefers-reduced-motion: animacje off, treść widoczna
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .js [data-cards] > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .split-word__inner { transform: none !important; }
  .manifest-word { color: var(--ink) !important; }
  .hero__scrollline, .badge__dot { animation: none !important; }
}
