/* ================== GLOBAL ================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #f5f3f0; /* ciepłe tło, inne niż poprzedні сайти */
  color: #283046;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 40px;
}

/* ================== HEADER ================== */

.header {
  margin-top: 18px;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding-inline: 24px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #1f2933;
}

.logo span {
  color: #ff6b35; /* pomarańczowy akcent */
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #5b667a;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.nav a:hover,
.nav .active {
  color: #ff6b35;
  border-bottom-color: #ff6b35;
}

/* ================== MOBILE MENU BUTTON ================== */

.menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-btn div {
  width: 22px;
  height: 2.5px;
  background: #1f2933;
  border-radius: 999px;
}

/* ================== MOBILE MENU ================== */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 230px;
  height: 100vh;
  background: #1f2933;
  padding-top: 90px;
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: 0.3s ease;
  z-index: 9999;
}

.mobile-menu a {
  color: #f9fafb;
  text-decoration: none;
  font-size: 15px;
}

.mobile-menu.open {
  right: 0;
}

/* ================== HERO ================== */

.hero {
  margin-top: 36px;
  background: radial-gradient(circle at top left, #ffecd9 0, #ffffff 55%, #e7f0ff 100%);
  border-radius: 28px;
  padding: 44px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.hero-text h1 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #202637;
}

.hero-text p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 470px;
  color: #4b5565;
}

.hero-img img {
  max-width: 340px;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

/* ================== BUTTONS ================== */

.btn {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: 0.2s ease;
}

.primary-btn {
  background: #ff6b35;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.35);
}

.primary-btn:hover {
  background: #e45723;
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

.ghost-btn {
  background: transparent;
  border: 1px solid #ff6b35;
  color: #ff6b35;
}

.ghost-btn:hover {
  background: #fff1e9;
}

/* ================== SECTION TITLES ================== */

.features h2,
.routes-preview h2,
.how-it-works h2,
.contact-box h2,
.sub-hero h1,
.page h1,
.page h2,
.map-section h2 {
  color: #202637;
}

.features h2,
.routes-preview h2,
.how-it-works h2 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 18px;
  font-size: 24px;
}

/* ================== FEATURES ================== */

.features {
  margin-top: 10px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5565;
}

.icon {
  font-size: 24px;
  color: #ff6b35;
  margin-bottom: 8px;
}

/* ================== POPULAR CATEGORIES ================== */

.routes-preview {
  margin-top: 20px;
}

.routes-preview h2 {
  font-size: 22px;
}

.route-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.route-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.route-card p {
  font-size: 14px;
  color: #4b5565;
  line-height: 1.5;
}

.route-card .tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: #e0edff;
  color: #215ca0;
}

.center {
  text-align: center;
  margin-top: 18px;
}

/* ================== HOW IT WORKS ================== */

.how-it-works {
  margin-top: 30px;
}

.step-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.step-number {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: #215ca0;
  color: #ffffff;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 15px;
  margin-bottom: 5px;
}

.step-card p {
  font-size: 13px;
  color: #4b5565;
}

/* ================== SUB HERO ================== */

.sub-hero {
  margin-top: 36px;
  margin-bottom: 10px;
}

.sub-hero h1 {
  font-size: 24px;
  margin-bottom: 6px;
}

.sub-hero p {
  font-size: 14px;
  color: #4b5565;
}

/* ================== PAGE CONTENT ================== */

.page {
  max-width: 780px;
  margin: 16px auto 40px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.page h1 {
  font-size: 22px;
  margin-bottom: 12px;
}

.page h2 {
  font-size: 17px;
  margin-top: 16px;
  margin-bottom: 6px;
}

.page p {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5565;
  margin-bottom: 6px;
}

.page ul {
  margin-left: 18px;
  margin-bottom: 6px;
  line-height: 1.6;
  font-size: 14px;
  color: #4b5565;
}

/* ================== CONTACT BOX (HOME) ================== */

.contact-box {
  display: flex;
  gap: 26px;
  align-items: center;
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.contact-text h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-text p {
  font-size: 14px;
  margin-bottom: 4px;
  color: #4b5565;
}

.contact-img img {
  border-radius: 16px;
}

/* ================== CONTACT PAGE ================== */

.contact-wrapper {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  margin-top: 24px;
}

.contact-info-block,
.contact-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.contact-info-block h2,
.contact-form h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-info-block p {
  font-size: 14px;
  margin-bottom: 4px;
  color: #4b5565;
}

.contact-form label {
  display: block;
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 4px;
  color: #374151;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

/* ================== MAP ================== */

.map-section {
  margin-top: 30px;
}

.map-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* ================== FOOTER ================== */

footer {
  margin-top: 40px;
  padding: 20px 0 26px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

.footer-links {
  margin-bottom: 6px;
}

.footer-links a {
  color: #215ca0;
  text-decoration: none;
  margin: 0 6px;
  font-size: 12px;
}

/* ================== COOKIE BANNER ================== */

#cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: 320px;
  z-index: 9998;
}

.cookie-box {
  background: #202637;
  color: #e5e7eb;
  padding: 14px 14px 12px;
  border-radius: 14px;
  font-size: 13px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.45);
}

.cookie-box button {
  margin-top: 10px;
  width: 100%;
  padding: 8px 0;
  border-radius: 999px;
  border: none;
  background: #ff6b35;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

/* ================== RESPONSIVE ================== */

@media (max-width: 960px) {
  .hero {
    padding: 34px 26px;
  }
}

@media (max-width: 860px) {

  .container {
    width: 92%;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 30px 22px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text p {
    font-size: 14px;
    margin: 0 auto;
  }

  .hero-img img {
    max-width: 260px;
    margin-top: 12px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-box {
    flex-direction: column;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .header {
    border-radius: 16px;
  }
}

@media (max-width: 600px) {

  .hero-text h1 {
    font-size: 24px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 16px 16px;
  }

  .contact-box,
  .contact-wrapper {
    gap: 20px;
  }
}
