.tours-list-page {
  background: #fbfcfb;
}

.tours-list-hero {
  min-height: 356px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 15, 13, 0.84), rgba(10, 30, 24, 0.62) 48%, rgba(10, 30, 24, 0.2)),
    url("./img/048b38c65b3d39ec06a88a45d2e2acc9.png") center 48% / cover no-repeat;
}

.tours-list-hero-inner,
.tours-list-container,
.tour-list-cta {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}

.tours-list-hero-inner {
  padding: 64px 0;
}

.tours-list-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.tours-list-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
}

.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stat-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.tours-list-section {
  padding: 48px 24px 64px;
}

.tours-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 24px;
}

.tours-list-heading .eyebrow {
  margin-bottom: 12px;
  text-align: left;
}

.tours-list-heading .eyebrow::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 8px;
  background: var(--green);
}

.tours-list-heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.tours-list-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 600;
}

.tour-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.tour-category-tab {
  border: 1px solid #d9e6d8;
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 11px 17px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tour-category-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(22, 42, 31, 0.08);
}

.tour-category-tab.active,
.tour-category-tab:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.tour-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tour-list-card {
  display: flex;
  flex-direction: column;
}

.tour-list-card .tour-img {
  height: 168px;
}

.tour-list-card .tour-body {
  min-height: 188px;
}

.tour-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tour-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #f0f7ef;
  font-size: 10px;
  font-weight: 800;
}

.tour-list-card.is-hidden {
  display: none;
}

.tour-list-img-2 { background-image: url("https://images.unsplash.com/photo-1548013146-72479768bada?auto=format&fit=crop&w=800&q=80"); }
.tour-list-img-5 { background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=800&q=80"); }
.tour-list-img-6 { background-image: url("./img/d3ab8ebeeef14835016005831a8ff795.png"); }
.tour-list-img-7 { background-image: url("./img/Gemini_Generated_Image_3rafk73rafk73raf.png"); }
.tour-list-img-8 { background-image: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=800&q=80"); }

.tour-empty-message {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid #e4efe2;
  border-radius: 18px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.tour-list-cta {
  margin-bottom: 72px;
  padding: 32px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(8, 22, 24, 0.92), rgba(14, 33, 28, 0.9)),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.tour-list-cta .eyebrow {
  margin-bottom: 10px;
}

.tour-list-cta h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.tour-list-cta p:not(.eyebrow) {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .tours-list-hero-inner,
  .tours-list-container,
  .tour-list-cta {
    width: min(100% - 48px, 1080px);
  }

  .tour-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tours-list-heading,
  .tour-list-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .tour-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tours-list-page {
    padding-top: 68px;
    overflow-x: hidden;
  }

  .tours-list-page .site-header {
    min-height: 68px;
    padding: 10px 14px;
    display: flex;
    gap: 10px;
  }

  .tours-list-page .brand {
    min-width: 0;
    max-width: 100%;
    gap: 8px;
  }

  .tours-list-page .brand-mark {
    width: 40px;
    flex: 0 0 40px;
  }

  .tours-list-page .brand strong,
  .tours-list-page .brand small {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .tours-list-page .brand strong {
    font-size: 12px;
  }

  .tours-list-page .brand small {
    font-size: 8px;
  }

  .tours-list-page .header-actions {
    width: auto;
    margin-left: auto;
    gap: 0;
  }

  .tours-list-page .mobile-nav-toggle {
    order: 4;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border-radius: 8px;
  }

  .tours-list-page .mobile-nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .tours-list-page.nav-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .tours-list-page.nav-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .tours-list-page.nav-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .tours-list-page .quote-btn {
    display: none;
  }

  .tours-list-page .language {
    min-width: 48px;
    justify-content: flex-end;
    font-size: 11px;
  }

  .tours-list-page .language-icon {
    display: none;
  }

  .tours-list-page .language-menu {
    position: fixed;
    top: 57px;
    right: 12px;
    min-width: 150px;
  }

  .tours-list-page .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: auto;
    padding: 10px;
    border: 1px solid #e1ebe0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 30px rgba(22, 42, 31, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .tours-list-page.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .tours-list-page .nav-links a {
    min-width: 0;
    padding: 11px 5px;
    border-radius: 7px;
    background: #f4f7f3;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .tours-list-page .nav-links a.active {
    background: #e8f3e6;
    color: var(--green-dark);
  }

  .tours-list-hero-inner,
  .tours-list-container,
  .tour-list-cta {
    width: 100%;
  }

  .tours-list-hero {
    height: clamp(300px, 74vw, 410px);
    min-height: 0;
    padding: 0 18px;
    background-position: center;
    background-size: cover;
  }

  .tours-list-hero-inner {
    padding: 38px 0;
  }

  .tours-list-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.12;
  }

  .tours-list-hero p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.65;
  }

  .hero-stat-row {
    gap: 7px;
    margin-top: 20px;
  }

  .hero-stat-row span {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  .tours-list-section {
    padding: 32px 16px 44px;
  }

  .tours-list-heading {
    margin-bottom: 18px;
  }

  .tours-list-heading h2,
  .tour-list-cta h2 {
    font-size: 23px;
  }

  .tour-category-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
  }

  .tour-category-tab {
    min-height: 38px;
    padding: 8px 6px;
    font-size: 10px;
  }

  .tour-list-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tour-list-card .tour-img {
    height: 170px;
  }

  .tour-list-card .tour-body {
    min-height: 0;
    padding: 16px;
  }

  .tour-list-card .tour-body h3 {
    font-size: 15px;
  }

  .tour-list-card .tour-body p {
    font-size: 11px;
    line-height: 1.6;
  }

  .tour-list-cta {
    width: calc(100% - 32px);
    margin-bottom: 42px;
    padding: 24px 18px;
    gap: 18px;
    border-radius: 16px;
  }

  .tour-list-cta p:not(.eyebrow) {
    font-size: 11px;
    line-height: 1.65;
  }

  .tour-list-cta .contact-btn {
    width: 100%;
    justify-content: center;
  }
}
