/* ═══════════════════════════════════════════════════════════
   Octopus Surprise — madeiratlantic.pl · redesign 2026
   Paleta: atlantycki granat · laurowa zieleń · koralowy zachód
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy-900: #0a1f33;
  --navy-800: #0e2a44;
  --navy-700: #14344f;
  --teal-600: #0e7a5f;
  --teal-500: #12946f;
  --coral-500: #ff6b4a;
  --coral-600: #f05532;
  --sand-100: #faf6f0;
  --sand-200: #f2ebe0;
  --ink: #1c2733;
  --ink-soft: #51606f;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(10, 31, 51, 0.12);
  --shadow-lg: 0 24px 70px rgba(10, 31, 51, 0.22);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* długie słowa/adresy nie rozpychają layoutu na wąskich ekranach */
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--alt { background: var(--sand-200); }
.only-desktop { display: none; }
@media (min-width: 768px) { .only-desktop { display: inline; } }

/* ── Typografia sekcji ─────────────────────────────────── */
.section__kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px;
}
.section__kicker::before { content: "— "; color: var(--coral-500); }
.section__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.12;
  color: var(--navy-900); margin-bottom: 26px;
  text-wrap: balance;
}
.center { text-align: center; }

/* ── Przyciski ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--coral-500); color: #fff; box-shadow: 0 8px 26px rgba(240, 85, 50, 0.4); }
.btn--accent:hover { background: var(--coral-600); }
.btn--ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,0.24); }
.btn--ghost-dark { border: 1.5px solid var(--navy-800); color: var(--navy-800); }
.btn--ghost-dark:hover { background: var(--navy-800); color: #fff; }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--sm { padding: 9px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ── Nawigacja ─────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background 0.35s, box-shadow 0.35s, height 0.35s;
}
/* UWAGA: backdrop-filter NIE może stać na samym .nav — element z filtrem
   staje się blokiem zawierającym dla potomków `position: fixed`, przez co
   panel menu (top/bottom) kurczył się do wysokości paska (68px) i treść
   strony przebijała przez menu. Dlatego tło + rozmycie idą na ::before. */
.nav.is-solid { box-shadow: 0 6px 30px rgba(0,0,0,0.25); }
.nav.is-solid::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 31, 51, 0.92); backdrop-filter: blur(14px);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav__logo { font-size: 1.7rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.nav__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; }
.nav__name em { font-style: normal; color: var(--coral-500); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav__links a:not(.btn) {
  color: rgba(255,255,255,0.88); font-weight: 500; font-size: 0.94rem;
  position: relative; padding: 6px 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--coral-500); transition: width 0.3s; border-radius: 2px;
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { width: 100%; }
.nav__backdrop { display: none; }
/* przyciski kontaktu widoczne tylko w rozwijanym menu mobilnym */
.nav__contact { display: none; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.3s; }

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; top: var(--nav-h); right: 0; width: min(320px, 82vw);
    /* jawna wysokość zamiast bottom:0 — działa niezależnie od tego,
       który element jest blokiem zawierającym */
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: flex-start; padding: 34px 30px;
    background: var(--navy-900); gap: 22px;
    transform: translateX(100%); transition: transform 0.35s;
  }
  .nav__links.is-open { transform: translateX(0); }

  /* przyciski „Zadzwoń" / „WhatsApp" na dole menu, pod „Rezerwuj" */
  .nav__contact {
    display: flex; gap: 10px; width: 100%;
    margin-top: auto; padding-top: 22px;      /* auto = dosuń do dołu panelu */
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .nav__contact .cbtn { flex: 1; padding: 12px 12px; }
  /* w menu (ciemne tło) przycisk połączenia ma być czytelny, ale NIE pomarańczowy */
  .nav__contact .cbtn--call:hover {
    background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); color: #fff;
  }
  /* przyciemnienie treści za menu + zamykanie kliknięciem obok */
  .nav__backdrop {
    display: block;
    position: fixed; inset: 0; z-index: 95;
    background: rgba(4, 14, 24, 0.6);
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .nav__backdrop.is-open { opacity: 1; pointer-events: auto; }
  /* blokada przewijania strony pod otwartym menu */
  body.nav-open { overflow: hidden; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }

/* Slajdy — mobile-first: pionowe kadry na telefonach, poziome od 768px.
   Przeglądarka pobiera tylko obraz pasujący do media query. */
.hero__slide--1 { background-image: url("../images/hero/slide1-mobile.jpg"); background-position: 50% 68%; }
.hero__slide--2 { background-image: url("../images/hero/slide2-mobile.jpg"); background-position: 50% 60%; }
.hero__slide--3 { background-image: url("../images/hero/slide3-mobile.jpg"); }
.hero__slide--4 { background-image: url("../images/hero/slide4-mobile.jpg"); background-position: 50% 40%; }
@media (min-width: 768px) {
  .hero__slide--1 { background-image: url("../images/hero/slide1-desktop.jpg"); background-position: 45% center; }
  .hero__slide--2 { background-image: url("../images/hero/slide2-desktop.jpg"); background-position: center 60%; }
  .hero__slide--3 { background-image: url("../images/hero/slide3-desktop.jpg"); background-position: center 55%; }
  .hero__slide--4 { background-image: url("../images/hero/slide4-desktop.jpg"); background-position: center 40%; }
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,31,51,0.88) 0%, rgba(10,31,51,0.55) 45%, rgba(10,31,51,0.25) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 140px 0 110px; }
.hero__kicker {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: #ffd9ce; margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.8rem, 7.2vw, 5.4rem); line-height: 1.04; margin-bottom: 22px;
}
.hero__title span { color: var(--coral-500); font-style: italic; }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,0.92); margin-bottom: 34px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: clamp(18px, 3.5vw, 46px); }
.hero__badge { display: flex; flex-direction: column; }
.hero__badge strong { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; }
.hero__badge span { font-size: 0.82rem; color: rgba(255,255,255,0.75); }
.hero__dots { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: 0.3s; }
.hero__dots button.is-active { background: var(--coral-500); transform: scale(1.35); }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.55); border-radius: 14px; z-index: 3;
}
.hero__scroll span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 3px; animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ── O nas ─────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 1fr; gap: 54px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 0.9fr 1.1fr; } }
.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
}
.about__card {
  position: absolute; bottom: -22px; right: -14px;
  background: var(--navy-900); color: #fff; padding: 18px 24px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; max-width: 240px;
}
.about__card strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--coral-500); }
.about__card span { font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.about__text p { color: var(--ink-soft); margin-bottom: 16px; }
.about__list { list-style: none; margin: 22px 0 30px; display: grid; gap: 10px; }
@media (min-width: 560px) { .about__list { grid-template-columns: 1fr 1fr; } }
.about__list li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
.tick { color: var(--teal-600); font-weight: 700; }
.about__stats { display: flex; gap: clamp(24px, 4vw, 56px); border-top: 1px solid #e4dbcd; padding-top: 26px; }
.about__stats strong { font-family: var(--font-display); font-size: 2rem; color: var(--navy-900); display: block; }
.about__stats strong::after { content: "+"; color: var(--coral-500); }
.about__stats span { font-size: 0.84rem; color: var(--ink-soft); }

/* ── Filtry / chipy ────────────────────────────────────── */
.tours__filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 34px 0 44px; }
.chip {
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  background: #fff; color: var(--ink-soft); border: 1.5px solid #e2d9ca;
  transition: 0.25s;
}
.chip:hover { border-color: var(--teal-600); color: var(--teal-600); }
.chip.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ── Karty wycieczek ───────────────────────────────────── */
.tours__grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tour-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
  opacity: 0; transform: translateY(24px); animation: cardIn 0.55s forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.tour-card:hover .tour-card__media img { transform: scale(1.07); }
.tour-card__cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(10,31,51,0.82); color: #fff; backdrop-filter: blur(6px);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.tour-card__price {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  background: var(--coral-500); color: #fff; font-weight: 700;
  padding: 8px 16px; border-radius: 999px; font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(240,85,50,0.45);
}
.tour-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tour-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--navy-900); }
.tour-card__region { font-size: 0.85rem; color: var(--teal-600); font-weight: 600; margin: 2px 0 12px; }
.tour-card__desc {
  color: var(--ink-soft); font-size: 0.92rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tour-card__meta {
  display: flex; align-items: center; gap: 14px; margin-top: 18px;
  padding-top: 16px; border-top: 1px solid #efe9de;
  font-size: 0.82rem; color: var(--ink-soft); font-weight: 500;
}
.tour-card__meta .more { margin-left: auto; color: var(--coral-600); font-weight: 700; }
.diff { display: inline-flex; gap: 3px; align-items: center; }
.diff i { width: 7px; height: 7px; border-radius: 50%; background: #ddd3c2; }
.diff i.on { background: var(--teal-500); }

/* ── Dlaczego my ───────────────────────────────────────── */
.why__grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 40px; }
.why__item {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); transition: transform 0.3s;
  border-top: 3px solid transparent;
}
.why__item:hover { transform: translateY(-5px); border-top-color: var(--coral-500); }
.why__icon { font-size: 2rem; margin-bottom: 14px; }
.why__item h3 { font-family: var(--font-display); font-size: 1.12rem; color: var(--navy-900); margin-bottom: 8px; }
.why__item p { font-size: 0.9rem; color: var(--ink-soft); }

/* ── Galeria ───────────────────────────────────────────── */
.gallery__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
@media (min-width: 760px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); } }
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 3 / 4; }
.gallery__item:nth-child(2), .gallery__item:nth-child(7) { grid-row: span 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: "⤢"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(10,31,51,0.35); color: #fff; font-size: 1.6rem;
  opacity: 0; transition: opacity 0.3s;
}
.gallery__item:hover::after { opacity: 1; }

/* ── Opinie ────────────────────────────────────────────── */
.reviews__slider { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.reviews__viewport { overflow: hidden; flex: 1; }
.reviews__track { display: flex; transition: transform 0.5s ease; }
.review {
  flex: 0 0 100%; padding: 4px;
}
.review__box {
  background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow); text-align: center; max-width: 760px; margin-inline: auto;
}
.review__stars { color: #f5a623; letter-spacing: 4px; font-size: 1.1rem; margin-bottom: 16px; }
.review__text { font-size: clamp(0.95rem, 1.4vw, 1.08rem); color: var(--ink); font-style: italic; margin-bottom: 22px; }
.review__author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-600); color: #fff; font-weight: 700; font-family: var(--font-display);
}
.review__name { font-weight: 700; color: var(--navy-900); }
.reviews__arrow {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow);
  font-size: 1.5rem; color: var(--navy-900); transition: 0.25s; flex-shrink: 0;
}
.reviews__arrow:hover { background: var(--navy-900); color: #fff; }
.reviews__dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.reviews__dots button { width: 9px; height: 9px; border-radius: 50%; background: #d8cebd; transition: 0.3s; }
.reviews__dots button.is-active { background: var(--coral-500); transform: scale(1.3); }
@media (max-width: 640px) { .reviews__arrow { display: none; } }

/* ── FAQ ───────────────────────────────────────────────── */
.faq__list { margin-top: 40px; display: grid; gap: 14px; }
.faq__item { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 600; color: var(--navy-900); text-align: left; font-size: 0.98rem;
}
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--coral-500); transition: transform 0.3s; line-height: 1; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq__a p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.93rem; }

/* ── Kontakt ───────────────────────────────────────────── */
.contact { background: var(--navy-900); color: #fff; }
.contact .section__title { color: #fff; }
.contact .section__kicker { color: #7fd8bd; }
/* Mobile: nagłówek → FORMULARZ → dane kontaktowe.
   Formularz musi być widoczny od razu po kliknięciu "Rezerwuj",
   inaczej wygląda to tak, jakby formularza w ogóle nie było.
   Desktop: wracamy do dwóch kolumn (opis+dane po lewej, formularz po prawej). */
.contact__grid { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) {
  .contact__grid {
    grid-template-columns: 1fr 1.1fr;
    grid-template-areas: "head form" "details form";
    gap: 30px 54px;
    align-content: start;
  }
  .contact__head { grid-area: head; }
  .contact__details { grid-area: details; }
  .contact__formcol { grid-area: form; align-self: start; }
}
.contact__head > p { color: rgba(255,255,255,0.8); max-width: 420px; }
.contact__list { list-style: none; margin: 0 0 26px; display: grid; gap: 12px; }
/* Cały wiersz (ikona + treść) jest klikalny dla telefonu i e-maila —
   wcześniej dało się kliknąć wyłącznie sam tekst. */
.contact__row {
  display: flex; gap: 16px; align-items: center;
  padding: 8px; margin: -8px; border-radius: 14px;
  transition: background 0.25s;
}
a.contact__row:hover { background: rgba(255,255,255,0.07); }
a.contact__row:hover .contact__ico { background: var(--coral-500); transform: scale(1.06); }
a.contact__row:hover .contact__val { color: var(--coral-500); }
.contact__ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); font-size: 1.3rem; flex-shrink: 0;
  transition: background 0.25s, transform 0.25s;
}
.contact__list strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.contact__val { display: block; font-weight: 600; font-size: 1.02rem; transition: color 0.25s; }
.contact__social { display: flex; gap: 12px; }
.contact__social a {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.3);
  font-size: 0.85rem; font-weight: 600; transition: 0.25s;
}
.contact__social a:hover { background: var(--coral-500); border-color: var(--coral-500); }

.contact__form {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: clamp(26px, 3.6vw, 40px); box-shadow: var(--shadow-lg);
}
.contact__form h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); margin-bottom: 22px; }
.form__row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.contact__form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; }
.contact__form input, .contact__form select, .contact__form textarea {
  font: inherit; font-size: 16px; /* 16px = iOS nie zoomuje przy focusie */
  padding: 12px 14px;
  border: 1.5px solid #e3dccf; border-radius: 10px; background: var(--sand-100);
  transition: border-color 0.25s, box-shadow 0.25s; color: var(--ink);
  /* bez tego input[type=date] i select na Androidzie/iOS mają własną,
     wąską szerokość własną i nie wypełniają kolumny */
  width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
}
.contact__form input[type="date"] {
  min-height: 48px; -webkit-appearance: none; appearance: none;
}
.contact__form textarea { resize: vertical; }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(14,122,95,0.15);
}
.contact__form input.is-invalid { border-color: var(--coral-600); }
.form__check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
/* flex-shrink:0 — bez tego min-width:0 z reguły wyżej ściska checkbox
   do kilku pikseli i nie da się w niego trafić palcem */
.form__check input {
  width: 20px; height: 20px; min-width: 20px; flex: 0 0 20px;
  margin-top: 2px; accent-color: var(--teal-600);
}
.form__note { margin-top: 14px; font-size: 0.76rem; color: var(--ink-soft); text-align: center; }
.form__note a { color: var(--teal-600); font-weight: 600; text-decoration: underline; }

/* pułapka na boty — niewidoczna dla ludzi, ale nie display:none
   (część botów pomija pola całkowicie ukryte) */
.form__gotcha {
  position: absolute !important; left: -9999px !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important;
}

.form__status { margin-top: 14px; font-size: 0.88rem; font-weight: 600; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-loading { color: var(--ink-soft); }
.form__status.is-success {
  color: var(--teal-600); background: rgba(14,122,95,0.1);
  padding: 12px 16px; border-radius: 10px;
}
.form__status.is-error {
  color: var(--coral-600); background: rgba(240,85,50,0.1);
  padding: 12px 16px; border-radius: 10px;
}
#formSubmit:disabled { opacity: 0.65; cursor: wait; transform: none; }

/* ── Stopka ────────────────────────────────────────────── */
.footer { background: #071829; color: rgba(255,255,255,0.75); }
.footer__grid {
  display: grid; gap: 36px; padding: 60px 0 46px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; }
.footer__grid a { display: block; padding: 4px 0; font-size: 0.92rem; transition: color 0.25s; }
.footer__grid a:hover { color: var(--coral-500); }
.footer__grid p { font-size: 0.9rem; margin-top: 14px; }
.nav__brand--footer .nav__name { font-size: 1.15rem; }
/* Osobne przyciski: połączenie głosowe vs WhatsApp.
   Oba są śledzone przez delegację kliknięć (method: phone / whatsapp). */
/* ── Przyciski „Zadzwoń" / „WhatsApp" (stopka + pod formularzem) ──
   Podwójny selektor `.footer__grid .cbtn` musi wygrać z ogólnym
   `.footer__grid a { padding: 4px 0 }` — inaczej w stopce przyciski
   mają 27px wysokości i trudno w nie trafić palcem. */
.cbtn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__actions { margin-bottom: 18px; }

.cbtn,
.footer__grid .cbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px; min-height: 46px;
  font-size: 0.9rem; font-weight: 600; line-height: 1;
  transition: transform 0.2s, background 0.25s, border-color 0.25s, color 0.25s;
}
.cbtn svg { flex-shrink: 0; }
.cbtn:hover { transform: translateY(-2px); }
.cbtn--call {
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
}
.cbtn--call:hover { background: var(--coral-500); border-color: var(--coral-500); color: #fff; }
.cbtn--wa { background: #25d366; color: #06301a; border: 1.5px solid #25d366; }
.cbtn--wa:hover { background: #1fbb59; border-color: #1fbb59; color: #fff; }

/* blok szybkiego kontaktu pod formularzem */
.contact__quick {
  margin-top: 20px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.contact__quick-label {
  display: block; margin-bottom: 14px;
  font-size: 0.88rem; color: rgba(255,255,255,0.7);
}
.contact__quick .cbtn-row { justify-content: center; }

.footer__license { display: block; margin-top: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* ── WhatsApp + do góry ────────────────────────────────── */
.whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,0.5);
  transition: transform 0.25s; animation: pulse 2.6s infinite;
}
.whatsapp:hover { transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.45); }
  60% { box-shadow: 0 10px 30px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0); }
}
.totop {
  position: fixed; right: 26px; bottom: 94px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font-size: 1.15rem;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: 0.3s;
}
.totop.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Gdy formularz jest na ekranie, pływające przyciski zasłaniały pola
   (m.in. "Liczba osób"). Chowamy je — wszystkie kanały kontaktu
   i tak są wtedy widoczne w sekcji. */
.whatsapp.is-hidden, .totop.is-hidden {
  opacity: 0 !important; pointer-events: none !important;
  transform: scale(0.7) translateY(14px);
}

/* ── Modal ─────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,24,41,0.72); backdrop-filter: blur(4px); }
.modal__box {
  position: absolute; inset: 0; margin: auto;
  width: min(880px, 94vw); height: fit-content; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr; animation: modalIn 0.35s ease;
}
@media (min-width: 760px) { .modal__box { grid-template-columns: 0.9fr 1.1fr; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10,31,51,0.75); color: #fff; backdrop-filter: blur(6px); transition: 0.25s;
}
.modal__close:hover { background: var(--coral-600); }
.modal__media { min-height: 240px; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(24px, 3.4vw, 40px); }
.modal__cat {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-600);
  background: rgba(14,122,95,0.1); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.modal__body h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy-900); }
.modal__region { color: var(--teal-600); font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.modal__meta span {
  background: var(--sand-200); padding: 7px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: var(--ink);
}
.modal__meta .price-tag { background: var(--coral-500); color: #fff; }
.modal__body > p { color: var(--ink-soft); font-size: 0.95rem; }
.modal__highlights { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; }
.modal__highlights li { display: flex; gap: 10px; font-size: 0.92rem; font-weight: 500; }
.modal__highlights li::before { content: "✓"; color: var(--teal-600); font-weight: 700; }
.modal__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 210; display: none;
  background: rgba(7,24,41,0.94); place-items: center;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav {
  position: absolute; color: #fff; font-size: 1.6rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); transition: 0.25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--coral-500); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ── Animacje reveal ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
