/* Furtka — strona produktu. Fonty lokalnie (bez zapytań do Google). */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F, U+A720-A7FF; }

:root {
  --green: #1e4a3b;
  --green-deep: #12302a;
  --leaf: #dfe9e1;
  --paper: #f5f7f4;
  --sun: #f3c64b;
  --ink: #1b2420;
  --muted: #4d5a53;
  --line: #c9d6cd;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.015em; color: var(--green-deep); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--green); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.small { font-size: 15px; color: var(--muted); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

.btn { display: inline-block; background: var(--green); color: #fff; font: 700 17px/1 var(--text); text-decoration: none; padding: 15px 24px; border-radius: 10px; border: 2px solid var(--green); }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-small { padding: 9px 14px; font-size: 15px; }
.btn-light { background: var(--sun); border-color: var(--sun); color: var(--green-deep); }
.btn-light:hover { background: #fff; border-color: #fff; }
.link { font-weight: 700; }

.bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font: 800 24px/1 var(--display); }
.logo .gate { width: 36px; height: 36px; margin-bottom: 3px; }
.bar-nav { display: flex; align-items: center; gap: 22px; font-size: 16px; }
.bar-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.bar-nav a:not(.btn):hover { color: var(--green); text-decoration: underline; }

/* hero: nagłówek po lewej, kalkulator po prawej */
.hero { padding: 72px 0 84px; }
.hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; line-height: 1.02; }
.lead { font-size: 20px; margin: 24px 0 28px; max-width: 34em; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }

.calc { background: var(--green); color: #fff; border-radius: 20px; padding: 30px 30px 26px; }
.calc h2 { color: #fff; font-size: 1.6rem; margin-bottom: 18px; }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; margin-top: 14px; }
.calc-val { font: 700 18px/1 var(--display); white-space: nowrap; }
.calc input[type=range] { width: 100%; margin: 8px 0 2px; accent-color: var(--sun); height: 28px; }
.calc-result { margin: 22px 0 14px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }
.calc-result strong { display: block; font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); color: var(--sun); letter-spacing: -0.02em; }
.calc-result span { display: block; margin-top: 6px; font-size: 16px; }
.calc .small { color: #cfe0d5; }

/* sekcje */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.sec { padding: 84px 0; }
.sec-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 + .intro-p { margin-top: 14px; max-width: 40em; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.split h2 + p { margin-top: 16px; }

/* prawdziwe zrzuty ekranu */
.shot { margin: 32px 0 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.shot figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
.shot-center { max-width: 640px; margin: 0 auto; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.ways > div { border-top: 3px solid var(--green); padding-top: 18px; }
.ways p { margin-top: 10px; color: var(--muted); }
.ways p a { font-weight: 700; }

.reasons { margin: 0; display: grid; gap: 22px; }
.reasons dt { font: 700 1.15rem/1.25 var(--display); color: var(--green-deep); }
.reasons dd { margin: 6px 0 0; color: var(--muted); }

.list { margin: 20px 0 0; padding-left: 1.1em; }
.list li { margin-bottom: 10px; }
.notyet { background: var(--leaf); border-radius: 16px; padding: 26px 28px; }
.notyet .list { margin-top: 14px; }

.letter { margin: 0 auto; max-width: 760px; border-left: 4px solid var(--green); padding: 4px 0 4px 28px; }
.letter h2 { font-size: 1.8rem; margin-bottom: 16px; }
.letter p { margin-bottom: 14px; font-size: 19px; }
.letter footer { font-weight: 700; color: var(--green); }

.price { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.price-line { margin: 14px 0 6px; font-size: 1.2rem; }
.price-line strong { font: 800 3.4rem/1 var(--display); color: var(--green); margin-right: 6px; }

.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 700 1.15rem/1.3 var(--display); color: var(--green-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 700 26px/1 var(--display); color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }

.final { background: var(--green-deep); color: #fff; padding: 84px 0; text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final .gate { width: 76px; height: 76px; color: #fff; }
.final h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.final p { color: #cfe0d5; margin-bottom: 8px; }

.foot { padding: 26px 0; font-size: 15px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero { padding: 44px 0 56px; }
  .hero-in, .split, .pair, .ways { grid-template-columns: 1fr; gap: 36px; }
  .sec { padding: 60px 0; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .bar-nav a:not(.btn) { display: none; }
  .calc { padding: 24px 20px 20px; }
  .letter { padding-left: 18px; }
}
.lead p + p { margin-top: 12px; }

/* ---------- animacja synchronizacji: Booking.com ↔ Twoja strona (jedna pętla 12 s) ---------- */
.sync { display: grid; grid-template-columns: 1fr 160px 1fr; align-items: center; gap: 0; margin-top: 36px; }
.mini { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 18px; }
.mini-name { font: 700 15px/1 var(--display); margin-bottom: 12px; color: var(--green-deep); }
.mini-booking .mini-name { color: #2c3e8f; }
.mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 38px; gap: 4px; position: relative; }
.mini-grid i { font-style: normal; font-size: 13px; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 6px; }
.mini-grid i:nth-child(-n+7) { grid-row: 1; } .mini-grid i:nth-child(n+8):nth-child(-n+14) { grid-row: 2; }
.mini-grid i:nth-child(n+15):nth-child(-n+21) { grid-row: 3; } .mini-grid i:nth-child(n+22) { grid-row: 4; }
.mini-grid i:nth-child(7n+1) { grid-column: 1; }
.mini-grid i:nth-child(7n+2) { grid-column: 2; }
.mini-grid i:nth-child(7n+3) { grid-column: 3; }
.mini-grid i:nth-child(7n+4) { grid-column: 4; }
.mini-grid i:nth-child(7n+5) { grid-column: 5; }
.mini-grid i:nth-child(7n+6) { grid-column: 6; }
.mini-grid i:nth-child(7n+7) { grid-column: 7; }
.blk { z-index: 1; border-radius: 6px; font: 700 12px/1 var(--text); color: #fff; display: flex; align-items: center; padding: 0 8px; opacity: 0; transform: scale(.96); animation: 12s ease-in-out infinite; }
.blk-a { background: #6b7bb8; animation-name: show-a; }
.blk-mirror-a { background: #b8c0bb; color: var(--ink); animation-name: show-mirror-a; }
.blk-b { background: #2e8b57; animation-name: show-b; }
.blk-mirror-b { background: #b8c0bb; color: var(--ink); animation-name: show-mirror-b; }
.pipe { position: relative; height: 4px; margin: 0 14px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.dot { position: absolute; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(243, 198, 75, .3); opacity: 0; animation: 12s ease-in-out infinite; }
.dot-right { left: 0; animation-name: go-right; }
.dot-left { left: calc(100% - 16px); animation-name: go-left; }
@keyframes show-a { 0%, 6% { opacity: 0; transform: scale(.96); } 9%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes go-right { 0%, 13% { opacity: 0; left: 0; } 15% { opacity: 1; left: 0; } 23% { opacity: 1; left: calc(100% - 16px); } 25%, 100% { opacity: 0; left: calc(100% - 16px); } }
@keyframes show-mirror-a { 0%, 24% { opacity: 0; transform: scale(.96); } 27%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes show-b { 0%, 38% { opacity: 0; transform: scale(.96); } 41%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes go-left { 0%, 49% { opacity: 0; left: calc(100% - 16px); } 51% { opacity: 1; left: calc(100% - 16px); } 59% { opacity: 1; left: 0; } 61%, 100% { opacity: 0; left: 0; } }
@keyframes show-mirror-b { 0%, 60% { opacity: 0; transform: scale(.96); } 63%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

.sync-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.sync-steps li { counter-increment: s; border-top: 3px solid var(--line); padding-top: 12px; animation: 12s infinite; }
.sync-steps strong { display: block; font: 700 1.05rem/1.25 var(--display); color: var(--green-deep); }
.sync-steps strong::before { content: counter(s) ". "; }
.sync-steps span { display: block; margin-top: 6px; font-size: 16px; color: var(--muted); }
.sync-steps .s1 { animation-name: step1; } .sync-steps .s2 { animation-name: step2; } .sync-steps .s3 { animation-name: step3; } .sync-steps .s4 { animation-name: step4; }
@keyframes step1 { 0%, 6%, 25%, 100% { border-color: var(--line); } 9%, 22% { border-color: #6b7bb8; } }
@keyframes step2 { 0%, 24%, 39%, 100% { border-color: var(--line); } 27%, 36% { border-color: #8a948e; } }
@keyframes step3 { 0%, 38%, 61%, 100% { border-color: var(--line); } 41%, 58% { border-color: #2e8b57; } }
@keyframes step4 { 0%, 60%, 92%, 100% { border-color: var(--line); } 63%, 88% { border-color: var(--sun); } }

@media (prefers-reduced-motion: reduce) {
  .blk, .sync-steps li { animation: none; opacity: 1; transform: none; }
  .dot { display: none; }
}

/* kroki startu — prawdziwa kolejność */
.start { list-style: none; counter-reset: st; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.start li { counter-increment: st; position: relative; padding-top: 60px; }
.start li::before { content: counter(st); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--leaf); color: var(--green); font: 800 22px/44px var(--display); text-align: center; }
.start p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: start; }

@media (max-width: 900px) {
  .sync { grid-template-columns: 1fr; }
  .pipe { height: 60px; width: 4px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .dot { left: -6px !important; }
  .dot-right { animation-name: go-down; } .dot-left { animation-name: go-up; }
  .sync-steps, .start, .trio { grid-template-columns: 1fr 1fr; }
}
@keyframes go-down { 0%, 13% { opacity: 0; top: 0; } 15% { opacity: 1; top: 0; } 23% { opacity: 1; top: 44px; } 25%, 100% { opacity: 0; top: 44px; } }
@keyframes go-up { 0%, 49% { opacity: 0; top: 44px; } 51% { opacity: 1; top: 44px; } 59% { opacity: 1; top: 0; } 61%, 100% { opacity: 0; top: 0; } }
@media (max-width: 560px) {
  .sync-steps, .start, .trio { grid-template-columns: 1fr; }
}
.lead p:first-child:not(:only-child) { font: 700 1.35rem/1.3 var(--display); color: var(--green-deep); }

/* dokumenty: regulamin, polityka prywatności */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 28px; }
.doc h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.doc h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 17px; }
.doc p { margin: 0 0 12px; }
.doc ol, .doc ul { margin: 0 0 14px; padding-left: 1.3em; }
.doc li { margin-bottom: 8px; }
.foot-links { display: inline-flex; gap: 18px; flex-wrap: wrap; }
