/*
Theme Name: Taxi Sierpc
Author: Codex
Description: Editable WordPress theme built from the Figma/Vite Taxi Landing Page design.
Version: 2.0.4
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: taxi-sierpc
*/

:root {
  --taxi-text: #111111;
  --taxi-muted: rgba(17, 17, 17, 0.55);
  --taxi-soft: rgba(17, 17, 17, 0.07);
  --taxi-yellow: #ffd000;
  --taxi-yellow-hover: #ffe633;
  --taxi-yellow-dark: #c9a000;
  --taxi-yellow-deep: #b89400;
  --taxi-gutter: 20px;
  --taxi-hero-gutter: 16px;
}

@media (min-width: 768px) {
  :root {
    --taxi-gutter: 48px;
    --taxi-hero-gutter: 24px;
  }
}

@media (min-width: 1200px) {
  :root {
    --taxi-gutter: 120px;
  }
}

@media (min-width: 1600px) {
  :root {
    --taxi-gutter: 200px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: #ffffff;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--taxi-text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.taxi-sierpc-theme {
  min-width: 320px;
}

body.taxi-sierpc-theme a {
  color: inherit;
  text-decoration: none;
}

body.taxi-sierpc-theme img {
  display: block;
  max-width: 100%;
}

body.taxi-sierpc-theme button,
body.taxi-sierpc-theme input,
body.taxi-sierpc-theme textarea,
body.taxi-sierpc-theme select {
  font: inherit;
}

.taxi-page {
  min-height: 100vh;
  background: #ffffff;
  color: var(--taxi-text);
}

.taxi-site-nav {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px var(--taxi-hero-gutter);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(10px);
}

body.admin-bar .taxi-site-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .taxi-site-nav {
    top: 46px;
  }
}

.taxi-brand {
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--taxi-text);
  white-space: nowrap;
}

.taxi-nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.taxi-nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  color: rgba(17, 17, 17, 0.5);
  font-size: 14px;
  font-weight: 500;
}

.taxi-nav-links a {
  transition: color 160ms ease;
}

.taxi-nav-links a:hover {
  color: var(--taxi-text);
}

.taxi-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--taxi-yellow);
  color: #000000;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.14);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.taxi-button:hover {
  background: var(--taxi-yellow-hover);
  color: #000000;
}

.taxi-button:active {
  transform: scale(0.98);
}

.taxi-button-small {
  min-height: 40px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.taxi-button-medium {
  min-height: 48px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: none;
}

.taxi-button-hero {
  min-height: 58px;
  padding: 18px 30px;
  border-radius: 10px;
  font-size: 20px;
}

.taxi-button-cta {
  min-height: 68px;
  padding: 22px 32px;
  border-radius: 10px;
  font-size: 22px;
  white-space: nowrap;
}

.taxi-icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.taxi-button .taxi-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.taxi-button-small .taxi-icon,
.taxi-button-medium .taxi-icon {
  width: 16px;
  height: 16px;
}

.taxi-phone-short {
  display: inline;
}

.taxi-phone-full {
  display: none;
}

.taxi-main {
  position: relative;
  z-index: 1;
}

.taxi-hero-shell {
  padding: 20px var(--taxi-hero-gutter) 0;
}

.taxi-hero {
  position: relative;
  min-height: 460px;
  height: 80vh;
  max-height: 820px;
  overflow: hidden;
  border-radius: 16px;
  background: #1b1b1b;
  isolation: isolate;
}

.taxi-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.taxi-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.05));
}

.taxi-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.taxi-hero-kicker {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.taxi-hero h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.taxi-hero h1 span {
  color: var(--taxi-yellow);
}

.taxi-hero-intro {
  max-width: 390px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  line-height: 1.55;
}

.taxi-social-proof {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.taxi-avatar-row {
  display: flex;
}

.taxi-avatar-row span {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-left: -12px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #000000;
  font-size: 12px;
  font-weight: 800;
}

.taxi-avatar-row span:first-child {
  margin-left: 0;
}

.taxi-avatar-row span:nth-child(1) {
  background: #e8c000;
}

.taxi-avatar-row span:nth-child(2) {
  background: #c8a800;
}

.taxi-avatar-row span:nth-child(3) {
  background: #a88800;
}

.taxi-avatar-row span:nth-child(4) {
  background: #e0b800;
}

.taxi-proof-card {
  max-width: 210px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
}

.taxi-proof-card p,
.taxi-proof-card span {
  display: block;
  margin: 0;
  line-height: 1.2;
}

.taxi-proof-card p {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.taxi-proof-card span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.taxi-section {
  width: 100%;
  max-width: 1920px;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--taxi-gutter);
  padding-left: var(--taxi-gutter);
}

section[id] {
  scroll-margin-top: 96px;
}

.taxi-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.taxi-eyebrow {
  margin: 0;
  color: rgba(17, 17, 17, 0.4);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.taxi-about-text p {
  margin: 0;
  color: rgba(17, 17, 17, 0.65);
  font-size: 22px;
  line-height: 1.45;
}

.taxi-section-heading {
  margin-bottom: 48px;
}

.taxi-split-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.taxi-section-heading h2,
.taxi-coverage h2,
.taxi-faq h2,
.taxi-cta-panel h2 {
  margin: 0;
  color: var(--taxi-text);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.taxi-section-heading .taxi-eyebrow,
.taxi-coverage .taxi-eyebrow,
.taxi-faq .taxi-eyebrow {
  margin-bottom: 8px;
}

.taxi-section-heading > p,
.taxi-coverage-copy > p {
  margin: 0;
  color: rgba(17, 17, 17, 0.5);
  font-size: 16px;
  line-height: 1.65;
}

.taxi-services,
.taxi-coverage,
.taxi-reviews,
.taxi-faq {
  padding-bottom: 80px;
}

.taxi-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 48px;
}

.taxi-service-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--taxi-soft);
}

.taxi-service-icon {
  display: flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border-radius: 8px;
  background: rgba(255, 208, 0, 0.15);
  color: var(--taxi-yellow-deep);
  transition: background 160ms ease;
}

.taxi-service-item:hover .taxi-service-icon {
  background: rgba(255, 208, 0, 0.3);
}

.taxi-service-icon .taxi-icon {
  width: 20px;
  height: 20px;
}

.taxi-service-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.taxi-service-copy h3 {
  margin: 0 0 6px;
  color: var(--taxi-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.taxi-service-copy p {
  margin: 0;
  color: rgba(17, 17, 17, 0.5);
  font-size: 15px;
  line-height: 1.65;
}

.taxi-service-arrow {
  display: flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  color: rgba(17, 17, 17, 0.15);
  transition: color 160ms ease, transform 160ms ease;
}

.taxi-service-arrow .taxi-icon {
  width: 16px;
  height: 16px;
}

.taxi-service-item:hover .taxi-service-arrow {
  color: var(--taxi-yellow-dark);
  transform: translateX(2px);
}

.taxi-coverage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
}

.taxi-coverage h2 span {
  color: var(--taxi-yellow-dark);
}

.taxi-coverage-copy > p {
  margin-bottom: 28px;
  color: rgba(17, 17, 17, 0.55);
  font-size: 17px;
}

.taxi-map-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 420px;
  border-radius: 16px;
  background: #f4f1e8;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.06);
  isolation: isolate;
}

.taxi-map {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 420px;
  min-height: 420px;
  background: #f4f1e8;
}

.taxi-map .leaflet-container,
.leaflet-container {
  z-index: 0 !important;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.taxi-map-label {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #555555;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.taxi-map-dot {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #555555;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.taxi-map-dot::before {
  display: block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 999px;
  background: var(--taxi-yellow-dark);
  content: "";
}

.taxi-reviews .taxi-section-heading {
  margin-bottom: 40px;
}

.taxi-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--taxi-yellow-dark);
  font-size: 15px;
  font-weight: 800;
  transition: color 160ms ease;
}

.taxi-text-link:hover {
  color: var(--taxi-text);
}

.taxi-text-link .taxi-icon {
  width: 16px;
  height: 16px;
}

.taxi-text-link .taxi-icon:first-child {
  fill: var(--taxi-yellow);
  stroke: var(--taxi-yellow-dark);
}

.taxi-trustindex {
  min-height: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--taxi-soft);
}

.taxi-trustindex:empty::before {
  display: block;
  padding: 18px 0;
  color: rgba(17, 17, 17, 0.45);
  font-size: 15px;
  content: "Opinie Google pojawią się tutaj po aktywacji Trustindex.";
}

.taxi-review-cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--taxi-soft);
}

.taxi-review-cta p {
  margin: 0;
  color: rgba(17, 17, 17, 0.45);
  font-size: 15px;
  line-height: 1.65;
}

.taxi-faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.taxi-faq-list {
  border-bottom: 1px solid var(--taxi-soft);
}

.taxi-faq-item {
  border-top: 1px solid var(--taxi-soft);
}

.taxi-faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--taxi-text);
  text-align: left;
  cursor: pointer;
}

.taxi-faq-question span:first-child {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.taxi-faq-toggle {
  display: flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: rgba(17, 17, 17, 0.5);
  transition: background 160ms ease;
}

.taxi-faq-question:hover .taxi-faq-toggle {
  background: rgba(255, 208, 0, 0.2);
}

.taxi-faq-toggle .taxi-icon {
  width: 14px;
  height: 14px;
}

.taxi-faq-minus {
  display: none;
}

.taxi-faq-item.is-open .taxi-faq-plus {
  display: none;
}

.taxi-faq-item.is-open .taxi-faq-minus {
  display: flex;
}

.taxi-faq-answer {
  padding-bottom: 24px;
}

.taxi-faq-answer p {
  max-width: 820px;
  margin: 0;
  color: rgba(17, 17, 17, 0.55);
  font-size: 16px;
  line-height: 1.7;
}

.taxi-contact {
  padding-bottom: 24px;
}

.taxi-cta-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 48px 28px;
  border-radius: 16px;
  background: #111111;
}

.taxi-cta-panel h2 {
  color: #ffffff;
}

.taxi-cta-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 17px;
  line-height: 1.5;
}

.taxi-footer {
  padding-top: 40px;
  padding-bottom: 32px;
  border-top: 1px solid var(--taxi-soft);
}

.taxi-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.taxi-footer h2 {
  margin: 0 0 12px;
  color: rgba(17, 17, 17, 0.35);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.taxi-footer p,
.taxi-footer a {
  display: block;
  margin: 0;
  color: rgba(17, 17, 17, 0.48);
  font-size: 14px;
  line-height: 1.65;
  transition: color 160ms ease;
}

.taxi-footer a:hover {
  color: var(--taxi-text);
}

.taxi-footer .taxi-footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--taxi-text);
  font-size: 16px;
  line-height: 1.2;
}

.taxi-footer .taxi-footer-phone {
  color: var(--taxi-yellow-dark);
  font-weight: 800;
}

.taxi-footer strong {
  color: var(--taxi-text);
  font-weight: 800;
}

.taxi-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--taxi-soft);
}

.taxi-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.taxi-footer-bottom p,
.taxi-footer-bottom a {
  color: rgba(17, 17, 17, 0.35);
}

[hidden] {
  display: none !important;
}

@media (min-width: 640px) {
  .taxi-phone-short {
    display: none;
  }

  .taxi-phone-full {
    display: inline;
  }

  .taxi-hero h1 {
    font-size: 60px;
  }

  .taxi-review-cta {
    flex-direction: row;
    align-items: center;
  }

  .taxi-review-cta p {
    max-width: 680px;
  }
}

@media (min-width: 768px) {
  .taxi-nav-links {
    display: flex;
  }

  .taxi-about {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
  }

  .taxi-about-text p {
    font-size: 26px;
  }

  .taxi-section-heading h2,
  .taxi-coverage h2 {
    font-size: 48px;
  }

  .taxi-faq h2 {
    font-size: 40px;
  }

  .taxi-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .taxi-coverage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }

  .taxi-faq {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 64px;
  }

  .taxi-cta-panel {
    flex-direction: row;
    align-items: center;
    padding: 56px;
  }

  .taxi-footer-grid {
    grid-template-columns: 1.5fr repeat(3, minmax(140px, 0.5fr));
    gap: 36px;
  }

  .taxi-footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .taxi-hero h1 {
    font-size: 72px;
  }
}

@media (max-width: 520px) {
  .taxi-site-nav {
    gap: 12px;
  }

  .taxi-brand {
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .taxi-button-small {
    padding-right: 14px;
    padding-left: 14px;
  }

  .taxi-hero {
    min-height: 560px;
    height: auto;
  }

  .taxi-hero h1 {
    font-size: 44px;
  }

  .taxi-social-proof {
    right: 16px;
    bottom: 18px;
    left: 16px;
  }

  .taxi-proof-card {
    min-width: 0;
  }

  .taxi-section-heading h2,
  .taxi-coverage h2 {
    font-size: 32px;
  }

  .taxi-button-cta {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 20px;
  }
}
