/* ==========================================================================
   Mobilny Podolog – Martyna Tarnowska
   Visual mockup stylesheet
   ========================================================================== */

:root {
  /* Base 60% */
  --white: #ffffff;
  --gray-050: #f5f7f8;
  --gray-100: #eceff1;
  --gray-200: #dfe4e7;

  /* Graphite 30% */
  --ink: #22262a;
  --ink-soft: #3b4247;
  --ink-muted: #576067;

  /* Mint accent 10% */
  --mint: #2fb79c;
  --mint-dark: #1f8f7b;
  --mint-soft: #e3f5f1;
  --mint-line: #b6e4d9;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(34, 38, 42, 0.06), 0 2px 8px rgba(34, 38, 42, 0.04);
  --shadow-md: 0 8px 30px rgba(34, 38, 42, 0.08);

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow { max-width: 820px; }

.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--gray { background: var(--gray-050); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-dark);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--mint);
}

.h-hero { font-size: clamp(38px, 5.6vw, 66px); }
.h-section { font-size: clamp(28px, 3.4vw, 41px); }
.h-card { font-family: var(--font-body); font-weight: 700; font-size: 19.5px; letter-spacing: -0.01em; }

.lede {
  font-size: clamp(18.5px, 1.6vw, 21px);
  color: var(--ink-soft);
  max-width: 56ch;
}

.muted { color: var(--ink-muted); }

/* visible focus for keyboard / low-vision users */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--mint-dark);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.005em;
  min-height: 54px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--cta {
  background: var(--mint);
  color: #06231d;
  box-shadow: 0 6px 18px rgba(47, 183, 156, 0.28);
}
.btn--cta:hover { background: var(--mint-dark); color: #fff; }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #14171a; }

.btn--ghost {
  border-color: var(--gray-200);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }

.btn--sm { padding: 12px 22px; font-size: 15.5px; min-height: 48px; }

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.skiplink:focus { left: 0; }

/* ---------- Header ---------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 46px;
  flex-wrap: wrap;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-dark);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 26px; z-index: 99 }
.nav a {
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 10px 0;
  border-bottom: 1.5px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav .btn { display: none; }
.nav a.is-active { color: var(--ink); border-bottom-color: var(--mint); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--ink-soft); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, var(--mint-soft) 0%, rgba(227,245,241,0) 58%),
    var(--white);
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: italic;
  color: var(--mint-dark);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* mobility card */
.visit-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.visit-card__mark {
  background: var(--gray-050);
  border-radius: 20px;
  padding: 26px;
  display: grid;
  place-items: center;
}
.visit-card__mark img { width: min(210px, 60%); height: auto; }
.visit-card__route {
  margin: 22px 0 4px;
  display: grid;
  gap: 14px;
}
.route-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
}
.route-step + .route-step::before {
  content: "";
  position: absolute;
  left: 14.5px;
  top: -16px;
  height: 16px;
  border-left: 1.5px dashed var(--mint-line);
}
.route-step__dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-dark);
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700;
  border: 1px solid var(--mint-line);
}
.route-step strong { display: block; font-size: 16.5px; }
.route-step span { font-size: 15px; color: var(--ink-muted); }

/* ---------- Feature strip ---------- */

.strip { border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); background: var(--gray-050); }
.strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.strip__item {
  padding: 26px 26px;
  border-right: 1px solid var(--gray-200);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.strip__item:last-child { border-right: none; }
.strip__item:first-child { padding-left: 0; }
.strip__item svg { flex: none; color: var(--mint-dark); }
.strip__item strong { display: block; font-size: 17px; }
.strip__item span { font-size: 15px; color: var(--ink-muted); }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--mint-line); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--mint-soft);
  color: var(--mint-dark);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card p { font-size: 17px; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Steps timeline ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%;
  top: 19px;
  border-top: 1.5px dashed var(--mint-line);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step__num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--mint);
  color: var(--mint-dark);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  margin-bottom: 18px;
}
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 16.5px; color: var(--ink-muted); }

/* ---------- Split editorial ---------- */

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}
.split--reverse { grid-template-columns: 1.15fr 0.85fr; }

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(155deg, var(--mint-soft) 0%, var(--gray-100) 100%);
  border: 1px solid var(--gray-200);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote {
  border-left: 2px solid var(--mint);
  padding-left: 22px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.45;
  color: var(--ink);
  margin: 28px 0;
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.facts div { border-top: 1px solid var(--gray-200); padding-top: 14px; }
.facts strong { display: block; font-family: var(--font-display); font-size: 26px; }
.facts span { font-size: 13.5px; color: var(--ink-muted); }

/* ---------- Price list ---------- */

.pricelist { margin-top: 36px; display: grid; gap: 0; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--gray-200);
}
.price-row:first-child { border-top: 1px solid var(--gray-200); }
.price-row__name { font-weight: 600; font-size: 18px; }
.price-row__desc { display: block; font-weight: 400; font-size: 15px; color: var(--ink-muted); margin-top: 3px; }
.price-row__dots { flex: 1; border-bottom: 1px dotted var(--gray-200); transform: translateY(-4px); }
.price-row__price { font-family: var(--font-display); font-size: 24px; font-weight: 500; white-space: nowrap; }
.price-row__price small { font-family: var(--font-body); font-size: 12.5px; color: var(--ink-muted); }

.pricegroup { margin-top: 46px; }
.pricegroup:first-of-type { margin-top: 0; }
.pricegroup > h3 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-dark);
}

.notice {
  border: 1px solid var(--mint-line);
  background: var(--mint-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
  font-size: 17px;
  color: var(--ink-soft);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.notice svg { flex: none; color: var(--mint-dark); }

/* ---------- FAQ ---------- */

.faq { margin-top: 36px; border-top: 1px solid var(--gray-200); }
.faq details {
  border-bottom: 1px solid var(--gray-200);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 48px 20px 0;
  font-weight: 600;
  font-size: 18.5px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--mint-dark);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 56px 22px 0; font-size: 17.5px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */

.band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 30px;
  align-items: center;
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.7); margin-top: 12px; max-width: 48ch; }
.band__actions { display: flex; flex-direction: column; gap: 12px; }
.band .btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.band .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.info-list { display: grid; gap: 4px; margin-top: 28px; }
.info-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}
.info-row:first-child { border-top: 1px solid var(--gray-200); }
.info-row svg { color: var(--mint-dark); }
.info-row span { display: block; font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.info-row strong { font-size: 19px; font-weight: 600; }

.form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 17.5px;
  color: var(--ink);
  padding: 15px 16px;
  min-height: 54px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(47, 183, 156, 0.16);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); margin: 4px 0 24px; }
.consent input { margin-top: 3px; width: 22px; height: 22px; flex: none; accent-color: var(--mint-dark); }

.map {
  margin-top: 26px;
  height: 190px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background:
    repeating-linear-gradient(45deg, var(--gray-050) 0 12px, var(--white) 12px 24px);
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Page header (interior pages) ---------- */

.pagehead {
  background: var(--gray-050);
  border-bottom: 1px solid var(--gray-100);
  padding: clamp(46px, 6vw, 78px) 0;
}
.pagehead h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 16px; }
.crumbs { font-size: 13px; color: var(--ink-muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--mint-dark); }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(44px, 6vw, 72px) 0 28px;
  font-size: 17px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 52px; background: #fff; border-radius: 50%; padding: 5px; }
.footer__brand span { font-family: var(--font-display); font-size: 18px; color: #fff; }
.footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Mobile CTA bar ---------- */

.mobile-cta { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero__grid, .split, .split--reverse, .contact-grid { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip__item { border-right: none; border-bottom: 1px solid var(--gray-200); padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .band { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 17.5px; }
  /* Slide-in drawer anchored to the right edge, so the page stays visible. */
  .nav {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(76vw, 300px);
    background: var(--white);
    border-left: 1px solid var(--gray-200);
    box-shadow: -18px 0 40px rgba(20, 24, 26, 0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 78px 22px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 99;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.32s ease, visibility 0.32s step-end;
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.32s ease, visibility 0s;
  }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--gray-100); font-size: 16.5px; }
  .nav .btn { display: inline-flex; margin-top: 16px; border-bottom: none; }
  .nav-toggle { display: inline-flex; order: 3; position: relative; z-index: 101; }
  .header .wrap { position: relative; min-height: 70px; }
  .header .btn--cta.is-desktop { display: none; }
  .topbar__item--hide { display: none; }
  .steps, .facts { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  body { padding-bottom: 74px; }
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 70;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gray-200);
    padding: 12px 16px;
  }
  .mobile-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 88px; }
}

/* ---------- Form states: honeypot, validation, success ---------- */

/* Honeypot: hidden from people, still reachable for bots.
   Specificity kept above `.field input` so the input never becomes visible. */
.form .visually-hidden,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.field__error {
  display: block;
  margin-top: 7px;
  font-size: 15px;
  font-weight: 500;
  color: #b3261e;
}
.field--invalid input,
.field--invalid textarea,
.field--invalid select {
  border-color: #e1a5a0;
  background: #fdf7f6;
}

.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 16.5px;
  margin-bottom: 22px;
}
.alert svg { flex: none; margin-top: 2px; }
.alert--success {
  background: var(--mint-soft);
  border: 1px solid var(--mint-line);
  color: var(--ink-soft);
}
.alert--error {
  background: #fdf3f2;
  border: 1px solid #f0cfcb;
  color: #7d2a23;
}

.consent--invalid { color: #b3261e; }

/* Full FAQ page: a little more air between long answers. */
.faq--full details { margin-bottom: 10px; }
.faq__more { margin-top: 26px; }

/* Long legal text (privacy policy). */
.prose p { margin-bottom: 18px; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Mobile nav backdrop ---------- */

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 26, 0.42);
  z-index: 50;
}
.nav-backdrop.is-open { display: block; }

@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}
