.tours-page {
  width: 100%;
  min-height: 75vh;
  padding: 65px 0 80px;
  background: #f5f6f8;
  color: #111827;
}

.tours-page *,
.tours-page *::before,
.tours-page *::after {
  box-sizing: border-box;
}

.tours-container {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 0 auto;
}


.tours-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  color: #98a2b3;
  font-size: 13px;
  line-height: 1.5;
}

.tours-breadcrumb a {
  color: #082b55;
  font-weight: 500;
  text-decoration: none;
}

.tours-breadcrumb a:hover {
  color: #ff941b;
}

.tours-breadcrumb [aria-current="page"] {
  color: #ff941b;
  font-weight: 600;
}


.tours-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}

.tours-header-content {
  min-width: 0;
  max-width: none;
}

.tours-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #34445a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.7px;
}

.tours-page-header h1 {
  margin: 0 0 12px;
  color: #101010;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.tours-page-header h1 span {
  color: #ff991b;
}

.tours-page-header p {
  max-width: 700px;
  margin: 0;
  color: #485b75;
  font-size: 14px;
  line-height: 1.7;
}

.tours-back-home {
  display: inline-block;
  flex-shrink: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #174a91;
  color: #174a91;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.tours-back-home:hover {
  color: #ff991b;
  border-color: #ff991b;
}


.tours-orange-line {
  width: 100%;
  height: 2px;
  margin: 20px 0 0;
  background: #ff9c00;
}


.tours-filter-section {
  width: 100%;
  margin: 0 0 30px;
  padding: 25px 0 22px;
  border-bottom: 1px solid #dce2e9;
}

.tours-filter-section h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.tours-filter-section > p:not(.tours-result-count) {
  margin: 0 0 22px;
  color: #485b75;
  font-size: 13px;
  line-height: 1.7;
}


.tours-filter-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.tours-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 19px;
  border: 1px solid #d7dfe9;
  border-radius: 8px;
  background: #ffffff;
  color: #24364b;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.tours-filter-btn:hover {
  border-color: #ff991b;
  background: #fff6eb;
  color: #d87b00;
}

.tours-filter-btn.active,
.tours-filter-btn[aria-pressed="true"] {
  border-color: #ff991b;
  background: #ff991b;
  color: #111111;
  box-shadow: 0 4px 12px rgba(255, 153, 27, 0.18);
}

.tours-filter-btn.active:hover,
.tours-filter-btn[aria-pressed="true"]:hover {
  background: #ffad38;
  border-color: #ffad38;
  color: #111111;
}

.tours-filter-btn:focus-visible,
.tours-card-image:focus-visible,
.tours-card-link:focus-visible,
.tours-back-home:focus-visible,
.tours-cta-actions a:focus-visible {
  outline: 2px solid #174a91;
  outline-offset: 3px;
}


.tours-result-count {
  margin: 0;
  color: #52627b;
  font-size: 12px;
  font-weight: 600;
}


.tours-list-section {
  border: 0;
  padding: 0;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tours-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dce2e9;
  border-radius: 8px;
  background: #ffffff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.tours-card:hover {
  transform: translateY(-5px);
  border-color: #ffc875;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tours-card[hidden] {
  display: none !important;
}


.tours-card-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 2.8;
  overflow: hidden;
  background: #e8edf2;
}

.tours-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.tours-card:hover .tours-card-image img {
  transform: scale(1.06);
}


.tours-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 16px 14px 17px;
}

.tours-card-body h3 {
  margin: 0 0 10px;
  color: #101010;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.tours-card-body p {
  flex: 1;
  margin: 0;
  color: #45536b;
  font-size: 12px;
  line-height: 1.65;
}


.tours-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
  margin-bottom: 12px;
}

.tours-card-meta span {
  padding: 5px 7px;
  border: 1px solid #e5e9ef;
  border-radius: 4px;
  background: #f3f5f8;
  color: #435875;
  font-size: 10px;
  font-weight: 600;
}


.tours-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid #e1e5eb;
  color: #d57500;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.tours-card-link:hover {
  color: #a95900;
}

.tours-card-link span {
  font-size: 18px;
}


.tours-empty-message {
  padding: 55px 20px;
  border: 1px solid #dce2e9;
  border-radius: 10px;
  background: #ffffff;
  color: #52627b;
  font-size: 13px;
  text-align: center;
}

.tours-empty-message[hidden] {
  display: none !important;
}


.tours-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 50px;
  padding: 30px;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
}

.tours-cta-content {
  flex: 1;
  min-width: 0;
}

.tours-cta-content h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.tours-cta-content p {
  max-width: 550px;
  margin: 0;
  color: #c4c4c4;
  font-size: 13px;
  line-height: 1.7;
}

.tours-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.tours-cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}


.tours-cta-actions .tours-call-btn {
  background: #1685f9;
  color: #ffffff;
}

.tours-cta-actions .tours-call-btn:hover {
  background: #006bdc;
}


.tours-cta-actions .tours-whatsapp-btn {
  background: #ff991b;
  color: #111111;
}

.tours-cta-actions .tours-whatsapp-btn:hover {
  background: #ffb347;
}


@media (max-width: 1080px) {

  .tours-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tours-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .tours-filter-section h2 {
    font-size: 21px;
  }

  .tours-filter-buttons {
    gap: 10px;
  }

  .tours-filter-btn {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 12px;
  }
}


@media (max-width: 600px) {

  .tours-page {
    padding: 45px 0 60px;
  }

  .tours-container {
    width: calc(100% - 30px);
  }

  .tours-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .tours-page-header h1 {
    font-size: 27px;
  }

  .tours-page-header p {
    font-size: 12px;
  }

  .tours-back-home {
    font-size: 11px;
  }

  .tours-orange-line {
    margin-top: 20px;
  }

  .tours-filter-section {
    margin-bottom: 22px;
    padding: 18px 0;
  }

  .tours-filter-section h2 {
    font-size: 19px;
  }

  .tours-filter-section > p:not(.tours-result-count) {
    margin-bottom: 17px;
    font-size: 12px;
  }

  .tours-filter-buttons {
    gap: 8px;
    margin-bottom: 16px;
  }

  .tours-filter-btn {
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }

  .tours-result-count {
    font-size: 11px;
  }

  .tours-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tours-card-image {
    aspect-ratio: 4 / 3;
  }

  .tours-card-body {
    padding: 12px 10px;
  }

  .tours-card-body h3 {
    font-size: 13px;
  }

  .tours-card-body p {
    font-size: 11px;
    line-height: 1.55;
  }

  .tours-card-meta {
    margin-top: 12px;
    margin-bottom: 10px;
  }

  .tours-card-meta span {
    font-size: 9px;
  }

  .tours-card-link {
    font-size: 11px;
  }

  .tours-cta {
    margin-top: 35px;
    padding: 22px 18px;
  }

  .tours-cta-content h2 {
    font-size: 19px;
  }

  .tours-cta-actions {
    width: 100%;
  }

  .tours-empty-message {
    padding: 40px 15px;
  }
}


@media (max-width: 380px) {

  .tours-grid {
    gap: 10px;
  }

  .tours-card-body {
    padding: 11px 9px;
  }

  .tours-card-body h3 {
    font-size: 12px;
  }

  .tours-card-body p {
    font-size: 10px;
  }

  .tours-card-meta span {
    font-size: 8px;
  }

  .tours-cta-actions {
    flex-direction: column;
  }

  .tours-cta-actions a {
    width: 100%;
  }

  .tours-filter-buttons {
    gap: 7px;
  }

  .tours-filter-btn {
    padding: 8px 10px;
    font-size: 10px;
  }
}


@media (prefers-reduced-motion: reduce) {

  .tours-card,
  .tours-card-image img,
  .tours-filter-btn {
    transition: none;
  }

  .tours-card:hover,
  .tours-card:hover img {
    transform: none;
  }
}
