/* Stefan Taxi — paleta: granat nocny + bursztyn, jasna mgła, grafit */
:root {
  --navy: #14263D;
  --navy-deep: #0C1626;
  --navy-soft: #1D3557;
  --amber: #F4B942;
  --amber-hot: #FFC107;
  --mist: #F6F8FB;
  --white: #FFFFFF;
  --graphite: #263445;
  --muted: #5B6B7F;
  --line: #E3E8EF;
  --green: #218568;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(12, 22, 38, .08);
  --shadow-lg: 0 24px 60px rgba(12, 22, 38, .18);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 22, 38, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo svg { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: #C9D3E0; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 10px; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .07); }
.header .btn { margin-left: 8px; }
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px; white-space: nowrap;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy-deep); box-shadow: 0 10px 24px rgba(244, 185, 66, .35); }
.btn-primary:hover { background: var(--amber-hot); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 1.12rem; }
.phone-big { font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #DCE4EE;
  background:
    radial-gradient(1000px 600px at 78% 20%, rgba(244, 185, 66, .14), transparent 60%),
    radial-gradient(900px 700px at 10% 110%, rgba(29, 53, 87, .9), transparent 60%),
    var(--navy-deep);
}
.hero::before { /* motyw drogi — przerywana linia środkowa */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 46px; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(244, 185, 66, .55) 0 46px, transparent 46px 86px);
  transform: rotate(-2deg); opacity: .5;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ECC8F; box-shadow: 0 0 0 4px rgba(46, 204, 143, .2); }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: 1.15rem; max-width: 36em; color: #B9C6D6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: .95rem; color: #C9D3E0; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--amber); }
.g-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(244, 185, 66, .6); }
.g-rating:hover { color: var(--amber); }
.g-rating .stars { color: var(--amber); font-size: 1.1em; }

.portrait { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.portrait-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(244, 185, 66, .35);
  aspect-ratio: 5 / 6; background: var(--navy);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-badge {
  position: absolute; left: -22px; bottom: 34px;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--navy); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.3;
}
.portrait-badge strong { display: block; font-size: 1rem; }
.portrait-badge .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--navy); color: var(--amber); }
.portrait-tag {
  position: absolute; right: 18px; top: 18px;
  background: var(--amber); color: var(--navy-deep); font-weight: 800; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px;
}
.portrait-sign { /* podpis właściciela */
  position: absolute; right: 18px; bottom: 18px; color: var(--white); text-align: right;
  font-size: .85rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.portrait-sign b { display: block; font-size: 1.15rem; color: var(--amber); }

/* ---------- Pasek usług pod hero ---------- */
.quick { margin-top: -54px; position: relative; z-index: 2; }
.quick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.quick-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 22px; text-decoration: none;
  border-right: 1px solid var(--line); transition: background .15s ease;
}
.quick-item:last-child { border-right: 0; }
.quick-item:hover { background: #FFF9EC; }
.quick-item .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--navy); color: var(--amber); }
.quick-item strong { display: block; color: var(--navy); font-size: 1rem; }
.quick-item span { font-size: .88rem; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Sekcje ---------- */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: #B07B10; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin-bottom: 10px; display: block; }
.muted { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card .icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: #FFF4DA; color: #B07B10; display: grid; place-items: center; margin-bottom: 16px; }
.card .icon-wrap .icon { width: 24px; height: 24px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .more { margin-top: auto; font-weight: 700; color: var(--navy); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card .more:hover { color: #B07B10; }

/* ---------- O Stefanie ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--amber); }
.quote { font-size: 1.25rem; line-height: 1.5; color: var(--navy); font-weight: 600; border-left: 4px solid var(--amber); padding-left: 18px; margin: 0 0 24px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--green); margin-top: 3px; }

/* ---------- Flota ---------- */
.fleet { background: var(--navy); color: #C9D3E0; }
.fleet h2, .fleet h3 { color: var(--white); }
.fleet .kicker { color: var(--amber); }
.fleet .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.fleet .card p { color: #A9B7C9; }
.car-icon { color: var(--amber); width: 64px; height: 64px; margin-bottom: 14px; }
.spec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.spec span { font-size: .82rem; font-weight: 600; background: rgba(244, 185, 66, .12); color: var(--amber); border-radius: 999px; padding: 4px 10px; }

/* ---------- Kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px 24px 24px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 12px;
  background: var(--amber); color: var(--navy-deep); font-weight: 800; display: grid; place-items: center;
}

/* ---------- Trasy / tabela ---------- */
.routes { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.routes th, .routes td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.routes th { background: var(--navy); color: var(--white); font-size: .88rem; letter-spacing: .03em; }
.routes tr:last-child td { border-bottom: 0; }
.routes td:first-child { font-weight: 700; color: var(--navy); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.note { font-size: .88rem; color: var(--muted); margin-top: 12px; }

/* ---------- Obszar ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 0; }
.area-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.area-list li.hl { background: var(--navy); color: var(--amber); border-color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: #B07B10; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(244, 185, 66, .25), transparent 70%),
    var(--navy-deep);
  color: #C9D3E0; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .3em; }

/* ---------- Podstrony ---------- */
.page-hero { background: var(--navy-deep); color: #B9C6D6; padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 185, 66, .22), transparent 70%); }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 22em; }
.page-hero .lead { max-width: 40em; font-size: 1.1rem; }
.crumbs { font-size: .85rem; margin-bottom: 18px; }
.crumbs a { color: var(--amber); text-decoration: none; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.side-card { position: sticky; top: 96px; background: var(--navy); color: #C9D3E0; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.side-card img { border-radius: 16px; margin-bottom: 16px; }
.side-card h3 { color: var(--white); }
.side-card .btn { width: 100%; margin-top: 10px; }

/* ---------- Stopka ---------- */
.footer { background: var(--navy-deep); color: #93A3B8; padding: 64px 0 120px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #C9D3E0; text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer .slogan { color: var(--amber); font-weight: 700; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
address { font-style: normal; }

/* ---------- Pływający przycisk połączenia ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--amber); color: var(--navy-deep);
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 14px 34px rgba(244, 185, 66, .5), 0 0 0 6px rgba(244, 185, 66, .18);
  animation: ring 2.6s ease-in-out infinite;
}
.fab .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.fab:hover { background: var(--amber-hot); }
@keyframes ring {
  0%, 100% { box-shadow: 0 14px 34px rgba(244, 185, 66, .5), 0 0 0 6px rgba(244, 185, 66, .18); }
  50% { box-shadow: 0 14px 34px rgba(244, 185, 66, .5), 0 0 0 14px rgba(244, 185, 66, 0); }
}
.callbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy-deep); padding: 12px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav.open a { padding: 14px 12px; font-size: 1.05rem; }
  .menu-toggle {
    display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
    background: rgba(255, 255, 255, .07); border: 0; color: var(--white); cursor: pointer;
  }
  .header .btn { display: none; }
  .hero .container { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 88px; gap: 36px; }
  .portrait { justify-self: center; max-width: 380px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-item:nth-child(2) { border-right: 0; }
  .quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .about-grid, .two-col { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hero-cta .btn { width: 100%; }
  .portrait-badge { left: 10px; bottom: 12px; }
  .portrait-sign { right: auto; left: 16px; bottom: auto; top: 14px; text-align: left; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .quick-item:last-child { border-bottom: 0; }
  .cards, .steps, .checks { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab { display: none; }
  /* stały pasek połączenia na telefonie */
  .callbar {
    display: grid; grid-template-columns: 1fr auto; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(12, 22, 38, .96); border-top: 1px solid rgba(244, 185, 66, .3);
  }
  .callbar .btn { min-height: 54px; }
  .callbar .btn-sms { background: rgba(255, 255, 255, .08); color: var(--white); padding: 0 18px; }
}
