/* =====================================================================
   KOMPONENTY: nawigacja, hero, liczby, galeria, opinie, wyszukiwarka, FAQ, kontakt, stopka
   ===================================================================== */

/* ---------- Pasek postępu przewijania ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 40; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; }

/* ---------- Nawigacja ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: #fbf8f0d6;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { max-width: var(--container); height: var(--nav-h); margin: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 38px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo__mark { width: 56px; height: 56px; object-fit: contain; }
.logo__tag { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1.3; }
.nav__links { margin-left: auto; display: flex; gap: 28px; }
.nav__links a { position: relative; padding: 5px 0; color: #52636a; font-size: 14px; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--blue); transition: width .25s; }
.nav__links a:hover { color: var(--blue); }
.nav__links a:hover::after { width: 100%; }
.nav__phone { display: flex; align-items: center; gap: 8px; color: var(--blue-dark); font-size: 14px; font-weight: 700; }
.nav__phone svg { color: var(--blue); }
.nav__toggle { display: none; margin-left: auto; padding: 4px; border: 0; background: none; color: var(--ink); }

/* ---------- Hero (zdjęcie plaży, powolne przybliżanie) ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 800px; overflow: hidden; color: #fff; }
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #082e3de8, #0d475bad 42%, #12576c40 72%, #12576c0d),
    url("https://images.unsplash.com/photo-1541417904950-b855846fe074?auto=format&fit=crop&w=2200&q=90") center / cover;
  animation: hero-zoom 22s ease-in-out infinite alternate;
}
.hero__content { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin: auto; padding: 150px var(--gutter) 90px; }
.hero__content > * { animation: rise-in 1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__content > :nth-child(3) { animation-delay: .25s; }
.hero__content > :nth-child(4) { animation-delay: .4s; }
.hero__content > :nth-child(5) { animation-delay: .55s; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--blue-light); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 800px; }
.hero h1 em { color: var(--blue-light); }
.hero__lead { max-width: 560px; margin: 28px 0; color: #ffffffd1; font-size: 17px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; align-items: center; gap: 15px; margin-top: 42px; color: #ffffffad; font-size: 12px; }
.proof b { color: #fff; }
.avatars { display: flex; }
.avatars span, .avatar { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -7px; border: 2px solid #fff; border-radius: 50%; background: var(--blue-pale); color: var(--blue); font-size: 9px; font-weight: 700; }
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--star); letter-spacing: 2px; }
.hero__scroll { position: absolute; left: 50%; bottom: 25px; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #ffffffb3; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; transform: translateX(-50%); }
.hero__scroll svg { animation: nudge 1.8s ease-in-out infinite; }

/* ---------- Liczby ---------- */
.stats { padding-block: clamp(48px, 6vw, 70px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { padding-left: 24px; border-left: 1px solid #d9edf140; }
.stat strong { display: block; color: var(--accent); font: 500 clamp(44px, 5vw, 64px) / 1 var(--serif); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 10px; color: var(--fg-muted); font-size: 13px; letter-spacing: .04em; }

/* ---------- O nas (zdjęcie + treść) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; padding-block: 0; }
.split__image { position: relative; min-height: 600px; overflow: hidden; }
.split__image img { width: 100%; height: 100%; object-fit: cover; }
.floating-card { position: absolute; right: 35px; bottom: 35px; display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 14px; background: #fffffff0; box-shadow: 0 18px 50px #0000001f; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.floating-card svg { color: var(--blue); }
.floating-card strong, .floating-card span { display: block; }
.floating-card strong { font-size: 13px; }
.floating-card span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.split__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 110px) clamp(35px, 7vw, 115px); }
.lead { max-width: 520px; margin: 26px 0 42px; color: var(--fg-muted); font-size: 17px; line-height: 1.7; }
.about { max-width: 520px; margin: -14px 0 34px; color: var(--fg-muted); font-size: 15px; line-height: 1.7; }
.features { display: grid; gap: 26px; }
.features > div { display: flex; gap: 17px; }
.features svg { flex: none; margin-top: 3px; color: var(--accent); }
.features h3 { margin: 0 0 5px; font: 700 14px var(--sans); }
.features p { max-width: 430px; color: var(--fg-muted); font-size: 13px; line-height: 1.6; }

/* ---------- Opinie (karuzela) ---------- */
.reviews { display: grid; grid-template-columns: .7fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.reviews__head h2 { margin-bottom: 38px; }
.rating { display: flex; align-items: center; gap: 18px; }
.rating strong { font: 500 55px var(--serif); }
.rating span { display: block; margin-top: 4px; color: var(--fg-muted); font-size: 11px; }
.carousel { position: relative; display: flex; align-items: center; }
.review { display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: 320px; padding: 46px 50px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-card); }
.review__quote { color: var(--blue); font: 80px/.5 var(--serif); opacity: .4; }
.review p { margin: 15px 0 30px; font: 500 21px/1.55 var(--serif); letter-spacing: -.01em; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__author .avatar { width: 42px; height: 42px; margin: 0; border: 0; background: var(--blue-light); color: var(--blue-dark); }
.review__author strong { display: block; font-size: 13px; }
.review__author > div > span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.review__author .stars { display: inline; }
.arrow { position: absolute; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 8px 25px #17323b14; transition: transform .2s, color .2s; }
.arrow:hover { transform: scale(1.08); color: var(--blue); }
.arrow--left { left: -21px; }
.arrow--right { right: -21px; }
.dots { display: flex; justify-content: center; gap: 6px; margin: 20px auto 0; }
.dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #c3ccce; transition: width .25s, background .25s; }
.dots button.is-active { width: 20px; border-radius: 5px; background: var(--blue); }

/* ---------- Wyszukiwarka ofert (zaraz pod hero) ---------- */
.search__frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-lift); }
.search__frame iframe { display: block; width: 100%; height: 560px; border: 0; }
.section-head--solo { grid-template-columns: 1fr; margin-bottom: clamp(26px, 4vw, 40px); }

/* ---------- Oferta ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.offer h3 { margin-bottom: 8px; font: 500 21px/1.25 var(--serif); }
.offer p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.offer a { color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.places { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.places span { padding: 8px 18px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--white); font-size: 14px; font-weight: 600; }
.plan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 30px; padding: 26px 30px; border-radius: var(--r-card); background: var(--blue-pale); }
.plan p { max-width: 560px; }

/* ---------- Pomoc (pytania i odpowiedzi) ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: box-shadow .25s; }
.faq-list details[open] { box-shadow: var(--shadow-card); }
.faq-list summary { position: relative; padding: 22px 64px 22px 26px; list-style: none; cursor: pointer; font: 500 20px/1.35 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-light); color: var(--blue-dark); font: 400 20px var(--sans); transform: translateY(-50%); transition: transform .3s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list .answer { max-width: 760px; padding: 0 26px 24px; color: var(--muted); line-height: 1.7; }
.faq-list .answer p + p, .faq-list .answer p + ul, .faq-list .answer ul + p { margin-top: 12px; }
.faq-list .answer ul { margin: 12px 0 0; padding-left: 20px; }
.faq-list .answer li { margin-top: 6px; }
.faq-list .answer a { color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-list .answer strong { color: var(--ink); }

/* ---------- Kontakt i mapa ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact-details { display: grid; gap: 28px; }
.contact-details > div { display: flex; align-items: flex-start; gap: 16px; }
.contact-details svg { flex: none; color: var(--blue); }
.contact-details span, .contact-details strong { display: block; }
.contact-details span { margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.contact-details strong { font-size: 15px; line-height: 1.5; }
.contact-details a { transition: color .2s; }
.contact-details .alt-link { display: block; margin-top: 4px; }
.contact-details a:hover { color: var(--blue); }
.embed-card { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.embed-card.is-loaded { padding: 10px; }
.embed-card iframe { width: 100%; height: 380px; border: 0; border-radius: 14px; background: #fff; }
.embed-card--form iframe { height: 1180px; }
.embed-card--form { flex-direction: column; align-items: flex-start; }
.embed-card--form p { max-width: 640px; }
.embed-card--form.is-loaded { align-items: stretch; }
.embed-card__fallback { display: inline-block; margin: 10px 14px 4px; }
.embed-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Stopka ---------- */
.footer { padding: 22px max(90px, calc((100% - var(--container)) / 2 + 90px)) 28px max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); background: var(--cream); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.footer__mark { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.footer__brand a:not(.footer__home) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---------- Przycisk "do góry" i pasek szybkiego kontaktu na telefonie ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 25; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--deep); color: #fff; font-size: 18px; box-shadow: 0 10px 30px #0b3f5340; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s, background .2s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--blue); }
.quick-bar { display: none; }

/* ---------- Animacje ---------- */
@keyframes hero-zoom { from { transform: scale(1.01); } to { transform: scale(1.09); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }


.link-btn { padding: 0; border: 0; background: none; color: var(--blue-dark); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Polityka prywatności (okno) ---------- */
.policy { width: min(720px, 94vw); max-height: 88vh; padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--ink); }
.policy::backdrop { background: rgba(4, 24, 33, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.policy__box { max-height: 88vh; padding: clamp(24px, 5vw, 40px); overflow-y: auto; }
.policy h2 { margin-bottom: 18px; font-size: clamp(30px, 5vw, 40px); }
.policy p, .policy li { color: var(--muted); font-size: 14px; line-height: 1.7; }
.policy p + p, .policy p + ul { margin-top: 12px; }
.policy ul { margin: 12px 0 0; padding-left: 20px; }
.policy li { margin-top: 6px; }
.policy a { color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.policy .btn { margin-top: 24px; }
.footer__bar .link-btn { font-weight: 500; color: var(--muted); }
.footer__bar .link-btn:hover { color: var(--ink); }
