* { box-sizing: border-box; }
body {
  --ink: #182522;
  --muted: #425650;
  --paper: #f8f8f3;
  --line: #dce3da;
  --night: #122521;
  --accent: #92c11b;
  --on-accent: #152107;
  --accent-dark: #365710;
  --tint: #edf4dc;
  --focus: #245da7;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.55 system-ui, sans-serif;
}
body[data-marka="wakacje"] {
  --accent: #0071a4;
  --on-accent: #fff;
  --accent-dark: #005680;
  --tint: #e4f3fa;
}
body:is([data-marka="wycieczki"], [data-marka="grupowe"]) {
  --accent: #dc2626;
  --on-accent: #fff;
  --accent-dark: #a51924;
  --tint: #fae9e7;
}
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: clamp(56px, 7vw, 104px); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); letter-spacing: -.055em; text-wrap: balance; }
h3 { font-size: 1.15rem; letter-spacing: -.025em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
svg { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: absolute; top: 8px; left: 12px; z-index: 20; padding: 12px 18px; background: white; border-radius: 8px; }
.skip:not(:focus) { transform: translateY(-150%); }
#jak-to-dziala, #tresc { scroll-margin-top: 80px; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand, .masthead-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; text-decoration: none; min-height: 44px; }
.brand { letter-spacing: -.035em; }
.brand svg { width: 29px; height: 29px; padding: 4px; border-radius: 8px; color: var(--accent-dark); background: var(--tint); }
.masthead-link { font-size: .85rem; text-align: right; }
.masthead a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .22em; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 64% 50%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, rgb(12 25 23 / 91%), rgb(12 25 23 / 75%) 46%, rgb(12 25 23 / 12%) 76%, rgb(12 25 23 / 55%));
}
.hero-inner { display: grid; gap: 25px; padding-block: 30px 26px; }
.badges { padding: 0; margin: 0 0 20px; list-style: none; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px; }
.badges li { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 100px; border: 1px solid #adbbb2; background: #192c28; font-size: .76rem; font-weight: 700; }
.badges .badge-free { color: var(--on-accent); background: var(--accent); border-color: transparent; }
.hero h1 { max-width: 12ch; font-size: clamp(2.55rem, 8vw, 5.55rem); letter-spacing: -.065em; line-height: .99; }
.hero-copy > p { max-width: 46ch; margin-block: 20px 24px; color: #f1f5f1; font-size: clamp(1rem, 2vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 10px 16px; border: 1px solid transparent; border-radius: 12px; font-weight: 780; text-decoration: none; }
.primary { color: var(--on-accent); background: var(--accent); border-color: #ffffff85; box-shadow: 0 8px 20px rgb(0 0 0 / 20%); }
.secondary { color: #fff; background: #192c28; border-color: #afbeb5; }
.hero, .closing { --focus: #fff; }
.mockup { justify-self: center; width: min(100%, 240px); }
.phone { position: relative; overflow: hidden; border: 6px solid #14201d; border-radius: 30px; background: #f6f8f4; color: var(--ink); box-shadow: 0 0 0 1px #8e9c91, 0 25px 52px #07130fb0; font-size: .76rem; }
.phone-camera { position: absolute; top: 9px; inset-inline: 39%; height: 12px; background: #14201d; border-radius: 16px; }
.phone-cover { display: grid; padding: 29px 15px 18px; color: #fff; background: linear-gradient(135deg, #192d28, #33594a 68%, #4b6b50); }
.phone-cover strong { font-size: 1.45rem; letter-spacing: -.05em; line-height: 1.15; }
.phone-content { padding: 0 10px 14px; }
.phone-card { position: relative; margin-block: -8px 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.phone-meeting { display: flex; gap: 8px; align-items: center; }
.phone-meeting small { display: block; }
.phone-meeting .icon { width: 29px; height: 29px; border-radius: 8px; }
.phone small { color: var(--muted); font-size: .69rem; }
.phone-progress { height: 5px; background: var(--tint); margin-top: 10px; border-radius: 12px; }
.phone-progress span { display: block; width: 90%; height: 100%; background: var(--accent-dark); border-radius: inherit; }
.phone-button { display: block; margin-top: 6px; padding: 6px; color: var(--on-accent); background: var(--accent); border-radius: 7px; text-align: center; font-weight: 750; }
.phone-event { display: flex; gap: 8px; padding-top: 5px; color: var(--muted); }
.phone-event b { color: var(--accent-dark); }
.features { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 27px; }
.feature { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 6px 20px #14251b08; }
.icon { display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--accent-dark); background: var(--tint); }
.feature h3 { margin-top: 13px; }
.feature p, .steps p { margin-top: 8px; color: var(--muted); font-size: .94rem; }
.scenes { display: grid; gap: 12px; margin-top: clamp(35px, 5vw, 68px); }
.scenes figure { position: relative; display: grid; isolation: isolate; min-height: 205px; overflow: hidden; border-radius: 18px; color: #fff; background: var(--night); }
.scenes figure::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #101b19 0%, rgb(16 27 25 / 88%) 22%, transparent 70%); }
.scenes img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.scenes figcaption { align-self: end; margin-top: 136px; padding: 16px; font-size: .92rem; }
.process { background: var(--tint); }
.steps { display: grid; gap: 26px; position: relative; isolation: isolate; padding: 0; margin: 30px 0 0; list-style: none; }
.steps::before { content: ""; position: absolute; z-index: -1; inset: 20px auto 40px 21px; border-left: 2px dashed var(--accent-dark); opacity: .55; }
.steps li { display: flex; gap: 14px; }
.steps li > span { display: grid; flex: 0 0 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--accent-dark); color: #fff; font-weight: 800; }
.steps h3 { margin-top: 4px; }
.participants { display: grid; overflow: hidden; border-radius: 25px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 36px #14251b0d; }
.participants-copy { padding: clamp(22px, 5vw, 68px); align-self: center; }
.participants h2 { text-wrap: initial; }
.participants ul { display: grid; gap: 15px; list-style: none; padding: 0; margin: 24px 0 0; }
.participants li { display: flex; gap: 11px; color: var(--muted); }
.participants svg { margin-top: 3px; padding: 3px; color: var(--accent-dark); border-radius: 50%; background: var(--tint); }
.participants img { width: 100%; height: clamp(300px, 105vw, 440px); object-fit: cover; object-position: center 44%; }
.faq { display: grid; gap: 22px; }
.faq details { border-bottom: 1px solid #aebdb2; }
.faq details:first-child { border-top: 1px solid #aebdb2; }
.faq summary { display: flex; gap: 12px; align-items: center; justify-content: space-between; list-style: none; min-height: 59px; padding-block: 11px; cursor: pointer; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; color: var(--accent-dark); background: var(--tint); font-size: 1.15rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 16px 18px 0; }
.faq details a { color: var(--accent-dark); text-underline-offset: .2em; }
.closing { display: grid; justify-items: start; align-items: center; gap: 22px; color: #fff; padding: clamp(24px, 5vw, 66px); border-radius: 24px; background: radial-gradient(ellipse at 95% 90%, #345646, transparent 70%), var(--night); }
.closing h2 { font-size: clamp(1.8rem, 4.3vw, 3.55rem); text-wrap: initial; }
.footer { padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .87rem; }
.footer-inner, .footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; justify-content: space-between; }
.footer a { padding-block: 8px; text-underline-offset: .18em; }
@media (min-width: 570px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 750px) {
  .wrap { width: min(1200px, calc(100% - 80px)); }
  .hero::after { background: linear-gradient(90deg, rgb(12 25 23 / 95%), rgb(12 25 23 / 83%) 40%, rgb(12 25 23 / 20%) 74%, rgb(12 25 23 / 23%)); }
  .hero-inner { grid-template-columns: 1.3fr .7fr; align-items: center; padding-block: clamp(66px, 7vw, 104px); }
  .hero h1 { font-size: clamp(3.4rem, 6.1vw, 5.55rem); }
  .hero-copy > p { margin-block: 24px 30px; }
  .mockup { width: min(100%, 278px); transform: rotate(5deg); }
  .phone-cover { padding: 39px 17px 22px; }
  .phone-content { padding: 0 12px 17px; }
  .phone-card { padding: 12px; }
  .phone-event { padding-top: 8px; }
  .scenes { grid-template-columns: repeat(3, 1fr); }
  .scenes figure { min-height: 244px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .steps::before { inset: 21px 31% auto 22px; border-left: 0; border-top: 2px dashed var(--accent-dark); }
  .steps li { display: grid; grid-template-rows: 44px 1fr; justify-items: start; gap: 14px; }
  .steps li > span { width: 44px; }
  .participants { grid-template-columns: 1.18fr 1fr; }
  .participants img { height: 100%; max-height: 490px; min-height: 390px; }
  .faq { grid-template-columns: 1fr 2.1fr; }
  .closing { grid-template-columns: 1fr auto; }
  .button { padding-inline: 20px; }
}
@media (min-width: 1100px) {
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button, .feature { transition: transform .2s ease, box-shadow .2s ease; }
  .button:hover, .feature:hover { transform: translateY(-3px); box-shadow: 0 12px 23px #14251b24; }
}
.pilot-story { display: grid; gap: 26px; align-items: center; }
.pilot-story[aria-labelledby="profil"] { padding-top: 0; }
.pilot-story img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 36px #14251b14;
}
.pilot-story h2 { text-wrap: initial; }
.pilot-lead { max-width: 52ch; margin-top: 16px; font-size: 1.08rem; }
.profile-list { display: grid; gap: 10px; padding-inline-start: 1.2em; margin: 20px 0 0; }
.profile-list li { padding-inline-start: .25em; }
.profile-list li::marker { color: var(--accent-dark); }
.points-band { background: var(--tint); }
.point-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 22px 0 16px;
}
.point-cards li {
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.point-cards strong {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.invite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.invite-button { color: #fff; background: var(--accent-dark); text-align: center; }
.invite-actions code {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-size: .875rem;
  overflow-wrap: anywhere;
  user-select: all;
}
@media (min-width: 750px) {
  .pilot-story { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 76px); }
  .points-band .pilot-story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .points-band img { grid-column: 1; grid-row: 1; }
  .points-band .pilot-story-copy { grid-column: 2; }
}

.hero-kicker {
  display: block;
  margin-bottom: 14px;
  color: #f1f5f1;
  font-size: .88rem;
  font-weight: 750;
}
.hero-carrier .hero-image { object-position: 65% 62%; }
.hero-carrier h1 { max-width: 15ch; font-size: clamp(2.55rem, 6.3vw, 5.1rem); }
.hero-carrier .phone-content { padding-bottom: 4px; }
.phone-map {
  display: grid;
  height: 120px;
  place-items: center;
  background:
    linear-gradient(120deg, transparent 37%, #fff 37% 42%, transparent 42%),
    linear-gradient(25deg, #c9decf 24%, #fff 24% 29%, #e5eadb 29% 63%, #fff 63% 69%, #dae4cb 69%);
}
.phone-map .icon { margin-top: 10px; color: #fff; background: var(--accent-dark); }
.bus-preview {
  display: grid;
  height: 74px;
  place-items: center;
  margin: 8px 0;
  border-radius: 8px;
  background: linear-gradient(#f5dcbb 0%, #e9eddf 60%, #c8cbbc 60%);
}
.bus {
  position: relative;
  width: 106px;
  height: 33px;
  border-radius: 9px 15px 5px 5px;
  background: linear-gradient(#fafaf2 10%, #314947 10% 55%, #fafaf2 55% 73%, var(--accent-dark) 73%);
  box-shadow: 0 2px 0 #172721;
}
.bus::before, .bus::after {
  position: absolute;
  bottom: -6px;
  width: 13px;
  height: 13px;
  border: 4px solid #192c28;
  border-radius: 50%;
  background: #a5b3ab;
  content: "";
}
.bus::before { left: 12px; }
.bus::after { right: 12px; }
.bus-departure { margin-top: 6px; color: var(--accent-dark); font-weight: 750; }
.benefit h3 { margin-top: 0; font-size: 1.3rem; }
.benefit .profile-list { margin-top: 12px; color: var(--muted); font-size: .94rem; }
.carrier-scenes figure:last-child img { object-position: center 38%; }
@media (max-width: 569px) {
  .feature-function { display: grid; grid-template-columns: auto 1fr; gap: 13px; padding: 16px; }
  .feature-function .icon { width: 36px; height: 36px; }
  .feature-function h3 { margin-top: 2px; }
}
@media (max-width: 569px) {
  .hero-carrier .hero-inner { row-gap: 20px; }
  .hero-carrier .badges li { padding-inline: 9px; font-size: .72rem; }
  .hero-carrier .phone-map { height: 100px; }
  .hero-carrier .bus-preview { height: 60px; }
}
@media (min-width: 1100px) {
  .hero-carrier h1 { max-width: none; text-wrap: balance; }
}
