@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --primary-color: #d90429;
  --primary-color-dark: #a3001b;
  --text-dark: #0a0a0a;
  --text-light: #525252;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
}

.logo__image--dark {
  display: none;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html[data-theme="dark"] .logo__image--light {
  display: none;
}

html[data-theme="dark"] .logo__image--dark {
  display: block;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

html[data-theme="dark"] .journey__card__bg {
  color: #e8eee9;
  background: #29352d;
  border-color: #3a463d;
}

html[data-theme="dark"] .journey__card__bg h4 {
  color: #e8eee9;
}

.section__header {
  margin-bottom: 5px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.footer__bar {
  align-items: flex-start;
  flex-direction: column;
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
}

/* === NAWIGACJA === */
nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 0.75rem 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white);
  border-bottom: 1px solid #e5e7eb;
}

.nav__menu__btn {
  font-size: 1.75rem;
  color: var(--text-dark);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--text-dark);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--primary-color);
}

.nav__btns {
  display: none;
}

/* === SEKCJA HERO (PEŁNA SZEROKOŚĆ + FORMULARZ) === */
header {
  margin-top: 5.5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

header::before {
  position: absolute;
  content: "";
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(10, 10, 14, 0.92) 0%,
      rgba(10, 10, 14, 0.78) 55%,
      rgba(10, 10, 14, 0.55) 100%
    ),
    url(img/background6.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.header__container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 4rem 1rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.header__content {
  text-align: center;
}

.header__content p {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 4px;
}

.header__content h1 {
  margin-bottom: 2rem;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

/* Wypunktowane atuty floty (Wariant B) */
.header__usp {
  display: grid;
  gap: 0.85rem;
  color: #e5e7eb;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  max-width: 550px;
  margin: 0 auto;
}

.header__usp li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__usp i {
  color: var(--primary-color);
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* === FORMULARZ WYCENY W NAGŁÓWKU (HERO FORM) === */
.header__form {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__form__card {
  width: 100%;
  max-width: 440px;
  background: rgba(15, 20, 28, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--primary-color);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  color: var(--white);
}

.header__form__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(217, 4, 41, 0.2);
  color: #ff4d6d;
  border: 1px solid rgba(217, 4, 41, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.header__form__card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.header__form__card p {
  font-size: 0.9rem;
  color: #a3a3a3;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.header__form__card form {
  display: grid;
  gap: 0.9rem;
}

.header__input__group {
  position: relative;
  display: flex;
  align-items: center;
}

.header__input__group i {
  position: absolute;
  left: 14px;
  color: var(--primary-color);
  font-size: 1.15rem;
  pointer-events: none;
}

.header__input__group input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.header__input__group input::placeholder {
  color: #8c8c8c;
}

.header__input__group input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.12);
}

.header__form__btn {
  width: 100%;
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header__form__trust {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-around;
  font-size: 0.8rem;
  color: #cccccc;
  font-weight: 500;
}

.header__form__trust i {
  color: var(--primary-color);
  margin-right: 4px;
}

/* === POZOSTAŁE SEKCJE === */
.destination__container :is(.section__header, .section__description) {
  text-align: center;
}

.destination__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem 1rem;
}

.destination__card img {
  border-radius: 1.5rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.destination__card__details {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.destination__card__details h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.destination__card__details p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.destination__ratings {
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 1rem;
  transition: 0.3s;
}

.destination__card:hover .destination__ratings {
  background-color: var(--text-dark);
}

.journey__grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.journey__card {
  position: relative;
  isolation: isolate;
  padding-top: 4rem;
  overflow: hidden;
}

.journey__card__bg {
  padding: 2rem;
  background-color: var(--extra-light);
  border-bottom-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom: 4px solid var(--primary-color);
}

.journey__card__bg span {
  display: inline-block;
  margin-bottom: 4rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.journey__card__bg h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.journey__card__content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  background-color: var(--text-dark);
  border-radius: 1rem;
  transition: 0.3s;
}

.journey__card:hover .journey__card__content {
  top: 0;
}

.journey__card__content span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 7px 9px;
  font-size: 1rem;
  border: 2px solid var(--primary-color);
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 100%;
}

.journey__card__content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.journey__card__content p {
  color: var(--extra-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.showcase__container {
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

.showcase__image img {
  max-width: 450px;
  margin-inline: auto;
  border-radius: 1.5rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.showcase__content h2 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.showcase__content p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.showcase__content .btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.25rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 8px;
}

.showcase__content .btn:hover {
  background-color: var(--text-dark);
}

.banner__container {
  display: grid;
  gap: 2rem;
}

.banner__card {
  padding: 2rem 1rem;
  text-align: center;
  background-color: var(--text-dark);
  border-radius: 2rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15);
}

.banner__card h4 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.banner__card p {
  color: var(--white);
  font-weight: 500;
  margin-top: 0.5rem;
}

.discover__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.discover__card {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: 0.3s;
  border-radius: 1rem;
  background-color: var(--extra-light);
}

.discover__card:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.discover__card span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 12px 16px;
  font-size: 1.75rem;
  color: var(--primary-color);
  background-color: rgba(217, 4, 41, 0.1);
  border-radius: 100%;
}

.discover__card h4 {
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.discover__card p {
  color: var(--text-light);
  line-height: 1.5;
}

footer {
  background-color: var(--extra-light);
  border-top: 4px solid var(--primary-color);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__col p {
  max-width: 300px;
  margin-block: 1.5rem;
  color: var(--text-light);
  line-height: 1.5;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials a {
  display: inline-block;
  padding: 8px 11px;
  font-size: 1.25rem;
  color: var(--white);
  background-color: var(--text-dark);
  border-radius: 100%;
}

.footer__socials a:hover {
  background-color: var(--primary-color);
}

.footer__col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-weight: 500;
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__links a span {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.footer__col form {
  display: grid;
  gap: 0.75rem;
}

.footer__col input {
  padding: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid #ccc;
  border-radius: 5px;
}

.footer__col input::placeholder {
  color: var(--text-light);
}

.footer__col .btn {
  border-radius: 5px;
}

.footer__bar {
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  color: var(--white);
  background-color: var(--text-dark);
  text-align: center;
}

/* === RESPONSYWNOŚĆ (MEDIA QUERIES) === */
@media (width > 540px) {
  .destination__grid,
  .journey__grid,
  .banner__container,
  .discover__grid,
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .footer__col:last-child {
    grid-area: 2/1/3/2;
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 1.5rem 1rem;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
    border-bottom: none;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    width: fit-content;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none !important;
  }

  .nav__links a {
    color: var(--text-dark);
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__btns {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .nav__btns .btn {
    padding: 0.75rem 1.75rem;
  }

  header {
    margin-top: 0;
  }

  .header__container {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 5.5rem 1rem;
    gap: 3rem;
  }

  .header__content {
    text-align: left;
  }

  .header__content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
  }

  .header__usp {
    margin: 0;
  }

  .header__form {
    justify-content: flex-end;
  }

  .destination__grid,
  .journey__grid,
  .showcase__container,
  .banner__container,
  .discover__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase__content {
    grid-column: 2/4;
  }

  .footer__container {
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  }

  .footer__col:last-child {
    grid-area: unset;
  }
}

@media (width > 1200px) {
  .destination__grid {
    gap: 2rem;
  }
}

/* === AUTORSKA MAPA KONTUROWA EUROPY Z GRANICAMI KRAJÓW === */
.map__wrapper {
  margin-top: 3rem;
  background-color: #0f141c;
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid #262c36;
}

#europe-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 650;
  background: radial-gradient(circle at 50% 50%, #1a2230 0%, #0b0e14 100%);
  overflow: hidden;
  user-select: none;
}

.vector-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-grid-line {
  stroke: rgba(255, 255, 255, 0.035);
  stroke-width: 1;
  fill: none;
}

.land-contour {
  fill: #232c3b;
  stroke: #475569;
  stroke-width: 1.1;
  stroke-linejoin: round;
  transition: fill 0.25s ease;
}

.land-contour:hover {
  fill: #2d384b;
}

.poland-contour {
  fill: rgba(217, 4, 41, 0.28);
  stroke: var(--primary-color);
  stroke-width: 2;
  stroke-linejoin: round;
}

.route-line-shadow {
  fill: none;
  stroke: rgba(217, 4, 41, 0.25);
  stroke-width: 6;
  stroke-linecap: round;
  pointer-events: none;
}

.route-line-active {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 8, 8;
  animation: route-flow 15s linear infinite;
  pointer-events: none;
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -500;
  }
}

.map-pin {
  position: absolute;
  transform: translate(-5px, -50%);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.map-pin--left {
  flex-direction: row-reverse;
  transform: translate(calc(-100% + 5px), -50%);
}

.map-pin--top {
  flex-direction: column-reverse;
  transform: translate(-50%, calc(-100% + 5px));
  gap: 2px;
}

.map-pin--bottom {
  flex-direction: column;
  transform: translate(-50%, -5px);
  gap: 2px;
}

.map-pin__dot {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  background-color: var(--primary-color);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(217, 4, 41, 0.7);
  animation: pulse-dot 2s infinite;
  transition: transform 0.2s, background-color 0.2s;
}

.map-pin:hover .map-pin__dot,
.map-pin.active .map-pin__dot {
  transform: scale(1.45);
  background-color: var(--white);
  border-color: var(--primary-color);
}

.map-pin__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 1);
  white-space: nowrap;
  pointer-events: none;
  transition: color 0.2s;
}

.map-pin:hover .map-pin__label,
.map-pin.active .map-pin__label {
  color: var(--white);
  font-weight: 800;
}

.map-hub {
  position: absolute;
  transform: translate(-8px, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.map-hub__dot {
  width: 16px;
  height: 16px;
  background-color: var(--white);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary-color);
}

.map-hub__label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  background-color: var(--primary-color);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(217, 4, 41, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 4, 41, 0);
  }
}

.map-floating-card {
  position: absolute;
  transform: translate(-50%, calc(-100% - 16px));
  background-color: var(--white);
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border-bottom: 3px solid var(--primary-color);
  z-index: 10;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transition: left 0.25s ease, top 0.25s ease;
}

.map-floating-card::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent;
}

.map-floating-card__route {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2px;
}

.map-floating-card__price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-color);
}

.map-floating-card__time {
  font-size: 0.72rem;
  color: var(--text-dark);
  font-weight: 600;
}

.map__panel {
  padding: 1.5rem 2rem;
  background-color: var(--text-dark);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 4px solid var(--primary-color);
}

.map__badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.map__panel__info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.map__panel__info p {
  font-size: 0.95rem;
  color: #a3a3a3;
}

.map__panel__Action {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.map__price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary-color);
}

@media (width < 680px) {
  .map-pin__label {
    display: none;
  }
  .map-pin,
  .map-pin--left,
  .map-pin--top,
  .map-pin--bottom {
    transform: translate(-50%, -50%);
  }
  .map__panel {
    padding: 1.25rem;
  }
  .map__price {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px), (hover: none), (pointer: coarse) {
  .journey__grid {
    gap: 1.5rem;
  }

  .journey__card {
    padding-top: 0 !important;
  }

  .journey__card__bg {
    display: none !important;
  }

  .journey__card__content {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    height: auto !important;
    border-radius: 1rem !important;
  }
}

/* === NOWY UKLAD AD REM T2 === */
:root {
  --primary-color: #c8202b;
  --primary-color-dark: #a71923;
  --text-dark: #17201c;
  --text-light: #68716b;
  --extra-light: #f1f3ee;
  --white: #ffffff;
  --max-width: 1280px;
}

body {
  color: var(--text-dark);
  background: #f8f9f6;
}

nav {
  position: sticky;
  top: 0;
  max-width: none;
  padding: 0 max(1.25rem, calc((100vw - var(--max-width)) / 2));
  background: rgba(248, 249, 246, 0.96);
  border-bottom: 1px solid #e6e9e3;
  backdrop-filter: blur(14px);
}

.nav__header {
  min-height: 82px;
}

.nav__logo img,
.footer__logo img {
  max-height: 62px !important;
}

.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.nav__btns .btn,
.btn {
  border-radius: 6px;
  box-shadow: none;
}

.nav__btns .btn {
  font-size: 0.88rem;
}

header {
  margin-top: 0;
  background: #17201c;
}

header::before {
  background-image:
    linear-gradient(90deg, rgba(14, 21, 18, 0.92), rgba(14, 21, 18, 0.75) 53%, rgba(14, 21, 18, 0.34)),
    url("img/showcase2.jpeg");
  background-position: center 52%;
}

.header__container {
  min-height: 540px;
  padding: 5rem 1.5rem;
}

.header__content {
  max-width: 690px;
}

.header__content p {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  background: none;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 5px rgba(200, 32, 43, 0.2);
}

.header__content h1 {
  max-width: 680px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.header__content h1 span {
  color: var(--primary-color);
}

.header__content h1 .hero__highlight {
  color: var(--primary-color);
}

.header__intro {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
}

.header__usp {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  max-width: none;
  margin-top: 1.4rem;
  font-size: 0.9rem;
}

.header__usp li {
  gap: 8px;
}

.header__usp i {
  color: var(--primary-color);
  font-size: 1.05rem;
}

.header__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2rem;
}

.header__actions .btn {
  padding: 0.9rem 1.2rem;
  background: var(--primary-color);
  font-size: 0.92rem;
}

.header__actions .btn i {
  margin-left: 0.5rem;
}

.header__aside {
  max-width: 430px;
  width: 100%;
  min-height: 270px;
  justify-self: end;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: rgba(20, 29, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(8px);
}

.header__aside-label,
.map__canvas-top,
.map__canvas-legend,
.route-metric > span,
.map__panel-foot {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.header__aside-label {
  color: rgba(255, 255, 255, 0.66);
}

.header__route-art {
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0 0.4rem;
}

.header__route-line {
  height: 2px;
  flex: 1;
  background: repeating-linear-gradient(90deg, var(--primary-color) 0 8px, transparent 8px 15px);
  transform: rotate(-8deg);
}

.header__route-point {
  width: 13px;
  height: 13px;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  background: #17201c;
}

.header__route-point--end {
  background: var(--primary-color);
}

.header__aside-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 1.1rem;
}

.header__aside-bottom strong {
  font-size: 1.6rem;
  line-height: 1.12;
}

.header__aside-bottom span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: right;
}

.section__container {
  padding: 5.5rem 1.5rem;
}

.map__container {
  max-width: var(--max-width);
}

.map__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.map__heading .section__header,
.quote__intro .section__header {
  margin: 0;
  text-align: left;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.map__heading .section__description {
  max-width: 430px;
  margin: 0 0 0.2rem;
  text-align: left;
  line-height: 1.6;
}

.route-planner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 325px;
  margin-top: 2.4rem;
  overflow: hidden;
  border: 1px solid #e0e5dd;
  background: #e9eee7;
  box-shadow: 0 18px 50px rgba(23, 32, 28, 0.07);
}

.map__canvas {
  min-width: 0;
  padding: 1rem 1rem 0.85rem;
  background: #e9eee7;
}

.map__canvas-top,
.map__canvas-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #697567;
}

.map__canvas-top {
  padding: 0 0.2rem 0.65rem;
}

.map__canvas-top span:last-child {
  color: var(--text-dark);
}

#europe-map {
  aspect-ratio: 1000 / 650;
  background: radial-gradient(ellipse at 48% 48%, #f0f3ed 0, #e6ebe3 78%);
}

.map__canvas-legend {
  justify-content: flex-start;
  gap: 1.4rem;
  padding: 0.8rem 0.2rem 0.1rem;
  font-size: 0.65rem;
  letter-spacing: 0.01em;
}

.map__canvas-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.map-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
}

.map-legend-dot--base {
  background: #17201c;
  box-shadow: inset 0 0 0 2px #e9eee7;
  outline: 1px solid #17201c;
}

.map-grid-line {
  stroke: rgba(91, 108, 91, 0.1);
}

.land-contour {
  fill: #d3ddd0;
  stroke: #b6c3b4;
  stroke-width: 1.1;
}

.land-contour:hover {
  fill: #c6d3c3;
}

.poland-contour {
  fill: rgba(200, 32, 43, 0.2);
  stroke: var(--primary-color);
  stroke-width: 2;
}

.route-line-shadow {
  stroke: rgba(200, 32, 43, 0.18);
  stroke-width: 8;
}

.route-line-active {
  stroke: var(--primary-color);
  stroke-width: 2.8;
  stroke-dasharray: 6, 8;
}

.map-pin {
  min-width: 22px;
  min-height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
}

.map-pin:focus-visible {
  outline: 2px solid #17201c;
  outline-offset: 3px;
  border-radius: 3px;
}

.map-pin__dot {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  background: var(--primary-color);
  box-shadow: 0 1px 5px rgba(23, 32, 28, 0.3);
  animation: none;
}

.map-pin:hover .map-pin__dot,
.map-pin.active .map-pin__dot {
  transform: scale(1.35);
  background: #17201c;
  border-color: #fff;
}

.map-pin__label {
  padding: 2px 5px;
  border-radius: 3px;
  color: #26332c;
  background: rgba(248, 249, 246, 0.86);
  font-size: 0.65rem;
  font-weight: 700;
  text-shadow: none;
  opacity: 0;
  transition: color 0.2s, opacity 0.2s;
}

.map-pin:hover .map-pin__label,
.map-pin.active .map-pin__label,
.map-pin:focus-visible .map-pin__label {
  color: var(--primary-color);
  opacity: 1;
}

.map-hub__dot {
  width: 15px;
  height: 15px;
  border: 4px solid var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200, 32, 43, 0.13);
}

.map-hub__label {
  color: #fff;
  background: #17201c;
  font-size: 0.65rem;
}

.map-floating-card {
  padding: 0.55rem 0.75rem;
  border: 1px solid #e3e7e1;
  border-bottom: 2px solid var(--primary-color);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(23, 32, 28, 0.18);
}

.map-floating-card::after {
  border-color: var(--primary-color) transparent transparent;
}

.map-floating-card__route {
  color: #68716b;
  font-size: 0.72rem;
}

.map-floating-card__distance {
  color: var(--primary-color);
  font-size: 0.83rem;
  font-weight: 800;
}

.map__panel {
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1.4rem;
  padding: 2rem 1.6rem;
  color: var(--text-dark);
  background: #fff;
  border: 0;
  border-left: 1px solid #e0e5dd;
}

.map__badge {
  padding: 0;
  color: var(--primary-color);
  background: transparent;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
}

.map__panel__info h3 {
  margin: 0.65rem 0 0.5rem;
  color: var(--text-dark);
  font-size: 1.38rem;
  line-height: 1.3;
}

.map__panel__info p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.55;
}

.route-metric {
  padding: 1rem 0;
  border-top: 1px solid #e8ebe6;
  border-bottom: 1px solid #e8ebe6;
}

.route-metric > span {
  color: #737d75;
  font-size: 0.62rem;
}

.route-metric strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 2.25rem;
  letter-spacing: -0.04em;
}

.route-metric small {
  color: #68716b;
  font-size: 1rem;
  font-weight: 600;
}

.route-disclaimer {
  margin-top: -0.8rem;
  color: #747d76;
  font-size: 0.74rem;
  line-height: 1.45;
}

.map__quote-btn {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: normal;
}

.map__quote-btn:disabled {
  color: #8d9690;
  background: #e7eae5;
  cursor: not-allowed;
}

.map__quote-btn i {
  margin-left: 0.5rem;
}

.map__panel-foot {
  color: #747d76;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.map__panel-foot i {
  margin-right: 0.25rem;
  color: var(--primary-color);
}

.map-source-status {
  margin-top: 0.8rem;
  color: #737d75;
  font-size: 0.75rem;
}

.map-source-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quote__container {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: 3.5rem;
  max-width: var(--max-width);
  border-top: 1px solid #e5e9e2;
}

.quote__steps {
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #e1e6de;
}

.quote__steps-label {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--text-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.quote__steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}

.quote__step {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 0.35rem;
  min-width: 0;
}

.quote__step-number {
  color: var(--primary-color);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.quote__step-title {
  color: var(--text-dark);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.quote__intro .section__header {
  max-width: 420px;
}

.quote__intro > p {
  max-width: 400px;
  margin-top: 1rem;
  color: var(--text-light);
  line-height: 1.65;
}

.quote__contact {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--text-dark);
  font-size: 0.88rem;
}

.quote__contact i {
  margin-right: 0.35rem;
  color: var(--primary-color);
}

.quote__form {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid #e1e6de;
  background: #fff;
  box-shadow: 0 14px 40px rgba(23, 32, 28, 0.05);
}

.quote__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quote__field {
  display: grid;
  gap: 0.42rem;
  color: #313b34;
  font-size: 0.8rem;
  font-weight: 700;
}

.quote__field b {
  color: var(--primary-color);
}

.quote__field--full {
  grid-column: 1 / -1;
}

.quote__field input,
.quote__field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.82rem 0.9rem;
  border: 1px solid #dfe4dc;
  border-radius: 4px;
  color: var(--text-dark);
  background: #fafbf9;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 400;
}

.quote__field textarea {
  resize: vertical;
}

.quote__field input:focus,
.quote__field textarea:focus {
  outline: 2px solid rgba(200, 32, 43, 0.2);
  border-color: var(--primary-color);
}

.quote__field input::placeholder,
.quote__field textarea::placeholder {
  color: #929a93;
}

.quote__privacy {
  margin: 1rem 0;
  color: #7a837c;
  font-size: 0.74rem;
  line-height: 1.55;
}

.quote__submit {
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  font-size: 0.88rem;
}

.quote__submit i {
  margin-left: 0.5rem;
}

.quote__status {
  margin-top: 0.85rem;
  color: #34443a;
  font-size: 0.82rem;
  line-height: 1.5;
}

.destination__card img,
.showcase__image img {
  border-radius: 5px;
}

.destination__card__details {
  padding: 1rem 0.25rem;
}

.journey__card__bg {
  border-radius: 4px;
}

.banner__card,
.discover__card {
  border-radius: 5px;
}

footer {
  border-top-width: 2px;
}

@media (min-width: 769px) {
  .nav__links {
    z-index: auto;
  }
}

@media (max-width: 900px) {
  .route-planner {
    grid-template-columns: minmax(0, 1fr) 285px;
  }

  .map__panel {
    padding: 1.5rem 1.2rem;
  }

  .header__container {
    grid-template-columns: 1fr 0.75fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
  }

  .nav__header {
    min-height: 72px;
  }

  .nav__links {
    top: 100%;
    bottom: auto;
    z-index: 10;
    background: #fff;
    box-shadow: 0 12px 20px rgba(23, 32, 28, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links a {
    color: var(--text-dark);
  }

  .header__container {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 4rem 1.25rem;
  }

  .header__content {
    text-align: left;
  }

  .header__content h1 {
    font-size: clamp(2.7rem, 10vw, 4.2rem);
  }

  .header__usp {
    margin-inline: 0;
  }

  .header__aside {
    justify-self: start;
    min-height: 220px;
  }

  .section__container {
    padding: 4rem 1.25rem;
  }

  .map__heading {
    display: block;
  }

  .map__heading .section__description {
    margin-top: 0.8rem;
  }

  .route-planner {
    grid-template-columns: 1fr;
    margin-top: 1.6rem;
  }

  .map__panel {
    min-height: 0;
    border-top: 1px solid #e0e5dd;
    border-left: 0;
    padding: 1.5rem;
  }

  .quote__container {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

}

@media (max-width: 540px) {
  .header__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .journey__card {
    display: grid;
    grid-template-rows: 74px minmax(0, 1fr);
    min-height: 300px;
  }

  .journey__card__bg {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 1rem;
  }

  .journey__card__bg span {
    order: 2;
    flex: 0 0 auto;
    margin: 0;
  }

  .journey__card__bg h4 {
    order: 1;
    line-height: 1.35;
  }

  .journey__card__content {
    min-height: 0;
    gap: 1rem;
  }

  .map__canvas {
    padding: 0.65rem 0.65rem 0.7rem;
  }

  .map__canvas-top,
  .map__canvas-legend {
    font-size: 0.56rem;
  }

  .map__canvas-legend {
    gap: 0.8rem;
  }

  .map__panel {
    padding: 1.25rem;
  }

  .quote__form-grid {
    grid-template-columns: 1fr;
  }

  .quote__field--full {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === SPÓJNY KIERUNEK WIZUALNY === */
.header__aside {
  position: relative;
  display: block;
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: #17201c;
}

.header__aside > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.header__aside::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(15, 23, 19, 0.15) 20%, rgba(15, 23, 19, 0.82) 100%);
}

.header__aside-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
}

.header__aside-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.header__aside-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
}

.header__aside-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.map__canvas-top span:last-child {
  text-align: right;
}

.destination__container,
.journey__container,
.discover__container {
  max-width: var(--max-width);
}

.destination__container > .section__eyebrow,
.journey__container > .section__eyebrow,
.discover__container > .section__eyebrow {
  display: block;
  text-align: left;
}

.destination__container > .section__header,
.journey__container > .section__header,
.discover__container > .section__header {
  max-width: 760px;
  margin: 0;
  text-align: left;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.destination__container > .section__description,
.journey__container > .section__description,
.discover__container > .section__description {
  max-width: 620px;
  margin: 0.85rem 0 0;
  text-align: left;
  line-height: 1.6;
}

.destination__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.destination__card {
  min-width: 0;
  border: 1px solid #e1e6de;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destination__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(23, 32, 28, 0.1);
}

.destination__card img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  box-shadow: none;
}

.destination__card__details {
  min-height: 132px;
  align-items: flex-start;
  padding: 1.2rem;
}

.destination__card__details h3 {
  font-size: 1.05rem;
}

.destination__card__details p {
  font-size: 0.87rem;
  line-height: 1.55;
}

.destination__ratings {
  padding: 0.38rem 0.6rem;
  border-radius: 3px;
  font-size: 0.7rem;
}

.journey__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.journey__card {
  min-width: 0;
  padding: 0;
  border: 1px solid #e1e6de;
  background: #fff;
}

.journey__card__bg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border: 0;
  border-bottom: 1px solid #e8ebe6;
  border-radius: 0;
  background: #f0f3ee;
}

.journey__card__bg span {
  order: 2;
  margin: 0;
  color: var(--primary-color);
  font-size: 1.35rem;
}

.journey__card__bg h4 {
  font-size: 0.95rem;
}

.journey__card__content {
  position: static;
  height: auto;
  padding: 1.3rem 1.2rem 1.5rem;
  background: #fff;
  border-radius: 0;
}

.journey__card__content > span {
  display: none;
}

.journey__card__content h4 {
  margin-bottom: 0.65rem;
  color: var(--text-dark);
  font-size: 1rem;
}

.journey__card__content p {
  color: var(--text-light);
  font-size: 0.86rem;
  line-height: 1.6;
}

.journey__card:hover .journey__card__content {
  top: auto;
}

.showcase__container {
  max-width: var(--max-width);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  gap: clamp(2rem, 5vw, 5rem);
  background: #edf0ea;
}

.showcase__image {
  min-height: 400px;
}

.showcase__image img {
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 400px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.showcase__content {
  grid-column: auto;
  align-self: center;
  padding: 2rem 1rem 2rem 0;
}

.showcase__content h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.showcase__content p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.showcase__content .btn {
  width: auto;
  padding: 0.9rem 1.2rem;
  border-radius: 4px;
}

.banner__container {
  max-width: var(--max-width);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #dfe4dc;
  border-bottom: 1px solid #dfe4dc;
}

.banner__card {
  padding: 1.3rem;
  border-right: 1px solid #dfe4dc;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.banner__card:last-child {
  border-right: 0;
}

.banner__card h4 {
  color: var(--primary-color);
  font-size: 2.5rem;
  letter-spacing: -0.04em;
}

.banner__card p {
  color: var(--text-light);
  font-size: 0.85rem;
}

.discover__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.discover__card {
  padding: 1.6rem;
  border: 1px solid #e1e6de;
  border-radius: 0;
  background: #fff;
  text-align: left;
}

.discover__card:hover {
  box-shadow: 0 14px 34px rgba(23, 32, 28, 0.08);
  transform: translateY(-3px);
}

.discover__card span {
  margin-bottom: 1.2rem;
  padding: 0;
  color: var(--primary-color);
  background: transparent;
  font-size: 1.55rem;
}

.discover__card h4 {
  margin-inline: 0;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.discover__card p {
  font-size: 0.87rem;
  line-height: 1.6;
}

footer {
  background: #eff2ed;
}

.footer__container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer__col h4 {
  font-size: 0.95rem;
}

.footer__col > p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer__col > .btn {
  border-radius: 4px;
  font-size: 0.85rem;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.footer__back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  color: var(--white);
  font-weight: 700;
}

.footer__back-to-top:hover {
  color: var(--primary-color);
}

footer {
  margin-top: 3rem;
}

.quote__phones {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--text-dark);
  font-size: 0.88rem;
}

.quote__phones > span {
  margin-bottom: 0.15rem;
}

.quote__phones .quote__call-label {
  margin-top: -0.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

.quote__phones .quote__contact {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

@media (max-width: 900px) {
  .header__aside {
    min-height: 330px;
  }

  .destination__grid,
  .journey__grid,
  .discover__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header__aside {
    min-height: 300px;
  }

  .destination__grid,
  .journey__grid,
  .discover__grid {
    grid-template-columns: 1fr;
  }

  .destination__card__details {
    min-height: 0;
  }

  .showcase__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .showcase__image,
  .showcase__image img {
    min-height: 280px;
  }

  .showcase__content {
    padding: 0 0 0.5rem;
  }

  .banner__container {
    grid-template-columns: 1fr;
  }

  .banner__card {
    border-right: 0;
    border-bottom: 1px solid #dfe4dc;
  }

  .banner__card:last-child {
    border-bottom: 0;
  }
}

/* === JASNY HERO TYPOGRAFICZNY === */
header {
  color: var(--text-dark);
  background: #f8f9f6;
}

header::before {
  background: none;
}

.header__container {
  min-height: 460px;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.hero__route {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 2rem;
  width: min(36%, 420px);
  overflow: visible;
  opacity: 0.34;
  pointer-events: none;
  transform: translateY(-42%);
}

.hero__route-line {
  stroke: var(--primary-color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 8;
}

.hero__route-start,
.hero__route-end {
  fill: #f8f9f6;
  stroke: var(--primary-color);
  stroke-width: 3;
}

.header__content {
  position: relative;
  z-index: 1;
  max-width: 970px;
}

.header__content p {
  color: #68716b;
}

.header__content h1 {
  max-width: 940px;
  color: var(--text-dark);
}

.header__intro {
  color: var(--text-light);
}

.header__usp {
  color: #3b453e;
}

.header__actions {
  margin-top: 1.7rem;
}

.header__actions .btn {
  color: #fff;
}

@media (max-width: 768px) {
  .header__container {
    min-height: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero__route {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1000px) {
  .nav__links {
    gap: 0.85rem;
  }

  .nav__links a {
    font-size: 0.68rem;
  }

  .nav__btns .btn {
    padding: 0.7rem 0.9rem;
    font-size: 0.76rem;
  }
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0 1rem;
}

.nav__tool {
  display: inline-grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 0.55rem;
  border: 1px solid #dfe4dc;
  border-radius: 4px;
  color: var(--text-dark);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav__tool:hover {
  border-color: var(--primary-color);
  background: var(--extra-light);
}

.services__title span {
  display: block;
}

.destination__card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 1.4rem 1.5rem 1.1rem;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #e1e6de;
  color: var(--primary-color);
}

.service-card__icon span {
  order: -1;
}

.service-card__icon i {
  font-size: 1.65rem;
}

.service-card__icon span {
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.destination__card__details {
  flex: 1;
  padding: 1.2rem 0 0;
}

.destination__card__details h3 {
  margin-bottom: 0.55rem;
  color: var(--text-dark);
  font-size: 1.08rem;
}

.destination__card__details p {
  max-width: 34ch;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --text-dark: #e8eee9;
  --text-light: #b2bdb5;
  --extra-light: #242d27;
  --white: #ffffff;
}

html[data-theme="dark"] body {
  background: #141a16;
}

html[data-theme="dark"] nav {
  background: rgba(20, 26, 22, 0.96);
  border-color: #303a33;
}

html[data-theme="dark"] .map__canvas,
html[data-theme="dark"] .route-planner {
  background: #1b231e;
}

html[data-theme="dark"] #europe-map {
  background: radial-gradient(ellipse at 48% 48%, #26332b 0, #1b231e 78%);
}

html[data-theme="dark"] .map__canvas-top,
html[data-theme="dark"] .map__canvas-legend {
  color: #b2bdb5;
}

html[data-theme="dark"] .map__canvas-top span:last-child {
  color: var(--text-dark);
}

html[data-theme="dark"] .map-grid-line {
  stroke: rgba(191, 207, 194, 0.12);
}

html[data-theme="dark"] .land-contour {
  fill: #344239;
  stroke: #536457;
}

html[data-theme="dark"] .land-contour:hover {
  fill: #405347;
}

html[data-theme="dark"] .map-pin__label {
  color: #e8eee9;
  background: rgba(27, 35, 30, 0.94);
}

html[data-theme="dark"] .map-hub__label {
  color: #e8eee9;
  background: #111713;
}

html[data-theme="dark"] .map-legend-dot--base {
  background: #e8eee9;
  box-shadow: inset 0 0 0 2px #1b231e;
  outline-color: #e8eee9;
}

html[data-theme="dark"] .map-floating-card {
  color: #e8eee9;
  background: #202a23;
  border-color: #3a463d;
}

html[data-theme="dark"] .map-floating-card__route {
  color: #b2bdb5;
}

html[data-theme="dark"] .map-hub__dot {
  background: #1b231e;
}

html[data-theme="dark"] .nav__header {
  background: transparent;
  border-color: #303a33;
}

html[data-theme="dark"] .nav__links {
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .nav__links a,
html[data-theme="dark"] .nav__menu__btn,
html[data-theme="dark"] .nav__tool {
  color: var(--text-dark);
}

html[data-theme="dark"] .nav__tool {
  border-color: #3a463d;
}

html[data-theme="dark"] header {
  background: #141a16;
}

html[data-theme="dark"] .hero__route {
  opacity: 0.42;
}

html[data-theme="dark"] .hero__route-start,
html[data-theme="dark"] .hero__route-end {
  fill: #141a16;
}

html[data-theme="dark"] .header__content p,
html[data-theme="dark"] .header__content h1,
html[data-theme="dark"] .header__usp {
  color: var(--text-dark);
}

html[data-theme="dark"] .header__intro {
  color: #b2bdb5;
}

html[data-theme="dark"] .map__canvas,
html[data-theme="dark"] .route-planner,
html[data-theme="dark"] .map__panel,
html[data-theme="dark"] .quote__form,
html[data-theme="dark"] .destination__card,
html[data-theme="dark"] .journey__card,
html[data-theme="dark"] .journey__card__content {
  color: var(--text-dark);
  background: #1b231e;
  border-color: #303a33;
}

html[data-theme="dark"] .quote__steps {
  border-color: #354139;
}

html[data-theme="dark"] .map__panel {
  border-left-color: #303a33;
}

html[data-theme="dark"] .map__panel__info h3,
html[data-theme="dark"] .route-metric strong,
html[data-theme="dark"] .quote__contact,
html[data-theme="dark"] .quote__field {
  color: var(--text-dark);
}

html[data-theme="dark"] .map__panel__info p,
html[data-theme="dark"] .route-disclaimer,
html[data-theme="dark"] .route-metric > span,
html[data-theme="dark"] .map-source-status,
html[data-theme="dark"] .quote__intro > p,
html[data-theme="dark"] .quote__privacy {
  color: #aab5ad;
}

html[data-theme="dark"] .route-metric,
html[data-theme="dark"] .service-card__icon {
  border-color: #354139;
}

html[data-theme="dark"] .route-metric small,
html[data-theme="dark"] .service-card__icon span,
html[data-theme="dark"] .destination__card__details h3 {
  color: var(--text-dark);
}

html[data-theme="dark"] .quote__field input,
html[data-theme="dark"] .quote__field textarea {
  color: var(--text-dark);
  background: #141a16;
  border-color: #3a463d;
}

html[data-theme="dark"] .quote__status {
  color: #c5d2c8;
}

html[data-theme="dark"] .showcase__container {
  background: #202923;
}

html[data-theme="dark"] .showcase__content h2 {
  color: var(--text-dark);
}

html[data-theme="dark"] footer {
  color: var(--text-dark);
  background: #1b231e;
  border-color: #303a33;
}

html[data-theme="dark"] .footer__socials a {
  color: #141a16;
  background-color: #e8eee9;
}

html[data-theme="dark"] .footer__socials a:hover {
  color: #fff;
  background-color: var(--primary-color);
}

html[data-theme="dark"] .footer__bar {
  background: #111713;
}

@media (min-width: 769px) {
  .journey__card {
    display: grid;
    grid-template-rows: 82px 1fr;
    min-height: 310px;
  }

  .journey__card__bg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    height: 100%;
    padding: 1.2rem;
  }

  .journey__card__bg span {
    order: 2;
    flex: 0 0 auto;
    margin: 0;
  }

  .journey__card__bg h4 {
    order: 1;
    line-height: 1.35;
  }

  .journey__card__content {
    min-height: 220px;
  }
}

html[data-theme="dark"] .map__quote-btn:disabled {
  color: #9da9a0;
  background: #303a33;
}

@media (max-width: 768px) {
  .nav__tools {
    gap: 0.35rem;
    margin-left: auto;
    padding: 0 0.65rem;
  }

  .nav__tool {
    min-width: 34px;
    height: 34px;
  }

  .services__title span {
    display: inline;
  }

}

@media (min-width: 769px) and (max-width: 1000px) {
  nav {
    gap: 0.8rem;
  }

  .nav__header {
    flex: 0 0 auto;
  }

  .nav__logo img {
    max-height: 52px !important;
  }

  .nav__tools {
    gap: 0.3rem;
    padding: 0 0.45rem;
  }

  .nav__links {
    gap: 0.7rem;
  }

  .nav__links a {
    font-size: 0.65rem;
  }

  .nav__btns {
    display: none;
  }
}

@media (min-width: 769px) {
  .header__container {
    min-height: 560px;
    padding: clamp(5rem, 9vh, 7rem) 1.5rem;
  }

  .header__content {
    max-width: 100%;
  }

  .header__content h1 {
    max-width: 1180px;
    font-size: clamp(3.5rem, 7.2vw, 6.5rem);
    line-height: 0.99;
  }

  .header__intro {
    max-width: 820px;
    font-size: 1.16rem;
  }
}
