/* Coyav Travel — site-specific overrides */

.cy-reviews-section {
  position: relative;
  overflow: hidden;
}

.cy-reviews-section .dot-overlay {
  opacity: 0.55;
}

.cy-reviews-section .section-title {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cy-reviews-section .section-title p {
  opacity: 0.9;
  line-height: 1.7;
}

.cy-review-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  padding: 1rem 1rem 0.9rem;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cy-review-card--sm {
  padding: 0.85rem 0.9rem 0.8rem;
}

.cy-review-card--md {
  padding: 1.1rem 1.05rem 1rem;
}

.cy-review-card--lg {
  padding: 1.25rem 1.15rem 1.1rem;
}

.cy-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.cy-review-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}

.cy-review-stars i {
  color: #fdc703;
  font-size: 0.8rem;
}

.cy-review-quote {
  color: #029e9d;
  font-size: 1.15rem;
  line-height: 1;
  margin-bottom: 0.45rem;
  opacity: 0.85;
}

.cy-review-card--lg .cy-review-quote {
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
}

.cy-review-text {
  color: #4b5563;
  font-size: 0.86rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.cy-review-card--md .cy-review-text {
  font-size: 0.9rem;
  line-height: 1.65;
}

.cy-review-card--lg .cy-review-text {
  font-size: 0.94rem;
  line-height: 1.7;
}

.cy-review-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.7rem;
  margin-top: auto;
  border-top: 1px solid #eef2f6;
}

.cy-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #029e9d 0%, #027d7c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.cy-review-card--lg .cy-review-avatar {
  width: 40px;
  height: 40px;
  font-size: 0.82rem;
}

.cy-review-author h6 {
  margin: 0 0 0.1rem;
  color: #17233e;
  font-size: 0.84rem;
  font-weight: 700;
}

.cy-review-tour {
  display: block;
  color: #029e9d;
  font-size: 0.75rem;
  line-height: 1.35;
  text-decoration: none;
}

.cy-review-tour:hover {
  color: #027d7c;
  text-decoration: underline;
}

.featured-reviews-slider {
  position: relative;
  padding: 0 2.5rem 2rem;
}

.featured-reviews-slider .slick-track {
  display: flex !important;
  align-items: flex-start;
}

.featured-reviews-slider .slick-slide {
  padding: 0.4rem 0.35rem;
  height: auto;
}

.featured-reviews-slider .slick-slide > div {
  height: auto;
}

.featured-reviews-slider .slick-dots {
  bottom: 0;
}

.featured-reviews-slider .slick-dots li button:before {
  color: #fff;
  opacity: 0.45;
  font-size: 10px;
}

.featured-reviews-slider .slick-dots li.slick-active button:before {
  color: #fdc703;
  opacity: 1;
}

.featured-reviews-slider .cy-review-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #029e9d;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  transition: background 0.2s ease, color 0.2s ease;
}

.featured-reviews-slider .cy-review-arrow:hover,
.featured-reviews-slider .cy-review-arrow:focus {
  background: #029e9d;
  color: #fff;
  outline: none;
}

.featured-reviews-slider .slick-prev.cy-review-arrow {
  left: 0;
}

.featured-reviews-slider .slick-next.cy-review-arrow {
  right: 0;
}

@media (max-width: 991px) {
  .featured-reviews-slider {
    padding: 0 0 2rem;
  }

  .featured-reviews-slider .cy-review-arrow {
    display: none !important;
  }
}

/* Transfer page */
.transfer-page-hero {
  background: #fff !important;
  background-image: none !important;
}

.transfer-page-hero h1,
.transfer-page-hero .transfer-page-hero__sub {
  color: #17233e !important;
}

.transfer-page-hero .transfer-page-hero__sub {
  opacity: 0.85;
}

.transfer-vehicle-card--clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transfer-vehicle-card--clickable:hover,
.transfer-vehicle-card--clickable:focus {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(23, 35, 62, 0.12);
  outline: none;
}

.transfer-vehicle-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #f0f4f8 0%, #e8edf2 100%);
  box-shadow: inset 0 0 0 1px rgba(23, 35, 62, 0.05);
}

.transfer-vehicle-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease, filter 0.35s ease;
  filter: saturate(0.93) contrast(0.97) brightness(1.03);
}

.transfer-vehicle-card--clickable:hover .transfer-vehicle-card__media img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1) brightness(1.05);
}

/* Transfer vehicle modal — override theme .modal-open rules that freeze the page */
#transferVehicleModal.transfer-vehicle-modal-wrap {
  background: transparent !important;
}

.modal-open #transferVehicleModal.transfer-vehicle-modal-wrap {
  background: transparent !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 !important;
}

.modal-open #transferVehicleModal .modal-dialog {
  top: auto !important;
  max-width: min(720px, calc(100vw - 2rem)) !important;
  margin: 1.25rem auto !important;
}

.modal-open #transferVehicleModal .modal-content {
  border-radius: 22px !important;
}

body.transfer-vehicle-modal-open {
  overflow: auto !important;
  padding-right: 0 !important;
}

body.transfer-vehicle-modal-open .modal-backdrop.show {
  background: rgba(23, 35, 62, 0.32);
}

.transfer-vehicle-modal .modal-content {
  position: relative;
  border: none;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow:
    0 24px 80px rgba(23, 35, 62, 0.16),
    0 0 0 1px rgba(23, 35, 62, 0.04);
  overflow: hidden;
}

.transfer-vehicle-modal-wrap .modal-dialog {
  margin: 1.25rem auto;
  max-width: min(720px, calc(100vw - 2rem));
}

.transfer-vehicle-modal-wrap.show .modal-dialog {
  animation: transferModalIn 0.35s ease;
}

@keyframes transferModalIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.transfer-vehicle-modal .modal-header {
  align-items: flex-start;
  padding: 1.35rem 1.5rem 0.75rem;
  border-bottom: none;
  background: transparent;
}

.transfer-vehicle-modal .modal-title {
  color: #17233e;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.35;
  padding-right: 2.5rem;
}

.transfer-vehicle-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #f1f5f9;
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(23, 35, 62, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}

.transfer-vehicle-modal__close:hover {
  background: #e8eef4;
  transform: scale(1.05);
}

.transfer-vehicle-modal .modal-body {
  padding: 0 1.5rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 35, 62, 0.2) transparent;
}

.transfer-vehicle-modal .modal-body::-webkit-scrollbar {
  width: 6px;
}

.transfer-vehicle-modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(23, 35, 62, 0.18);
  border-radius: 999px;
}

.transfer-modal-section {
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(23, 35, 62, 0.06);
}

.transfer-modal-section--plain {
  padding: 0;
  margin-bottom: 1rem;
  background: transparent;
  box-shadow: none;
}

.transfer-modal-section--reviews {
  margin-top: 0.25rem;
}

.transfer-modal-section__title {
  color: #17233e;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.transfer-modal-section__text {
  color: #5a6578;
  line-height: 1.7;
  margin-bottom: 0;
}

.transfer-modal-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.transfer-modal-spec {
  padding: 0.75rem 0.65rem;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  box-shadow: inset 0 0 0 1px rgba(23, 35, 62, 0.05);
}

.transfer-modal-spec__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7a8699;
  margin-bottom: 0.35rem;
}

.transfer-modal-spec__value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #17233e;
  line-height: 1.2;
}

.transfer-modal-specs-note {
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-size: 0.82rem;
  color: #8a94a6;
}

.transfer-modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.transfer-modal-feature {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #3d4f66;
  background: linear-gradient(145deg, #f8fafc 0%, #eef3f8 100%);
  box-shadow: inset 0 0 0 1px rgba(8, 141, 209, 0.12);
}

.transfer-modal-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 35, 62, 0.06);
  text-align: center;
}

.transfer-modal-footer .nir-btn {
  min-width: 180px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(8, 141, 209, 0.22);
}

.transfer-vehicle-modal .modal-body h6 {
  color: #17233e;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.transfer-vehicle-modal .modal-body > p,
.transfer-vehicle-modal .table {
  color: #4a5568;
}

.transfer-modal-gallery {
  margin-bottom: 1.25rem;
}

.transfer-modal-gallery__hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #f0f4f8 0%, #e8edf2 100%);
  box-shadow: 0 8px 28px rgba(23, 35, 62, 0.08);
}

.transfer-modal-gallery__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(23, 35, 62, 0.06) 100%);
  pointer-events: none;
}

.transfer-modal-gallery__hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(0.97) brightness(1.02);
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.transfer-modal-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.transfer-modal-gallery__thumb {
  flex: 0 0 76px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.7;
  cursor: pointer;
  background: #eef2f6;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.transfer-modal-gallery__thumb:hover {
  opacity: 0.9;
}

.transfer-modal-gallery__thumb.is-active {
  opacity: 1;
  border-color: #088dd1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 141, 209, 0.2);
}

.transfer-modal-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
}

.transfer-vehicle-modal .comment-content {
  background: #f8fafc !important;
  border: 1px solid rgba(23, 35, 62, 0.06);
  border-radius: 12px !important;
  box-shadow: none;
}

.transfer-vehicle-modal .comment-box:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 575.98px) {
  .transfer-vehicle-modal-wrap .modal-dialog {
    margin: 0.75rem auto;
    max-width: calc(100vw - 1rem);
  }

  .transfer-vehicle-modal .modal-content {
    border-radius: 18px;
  }

  .transfer-vehicle-modal .modal-header,
  .transfer-vehicle-modal .modal-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .transfer-modal-specs {
    grid-template-columns: 1fr;
  }

  .transfer-modal-gallery__hero {
    border-radius: 12px;
  }
}

.transfer-reviews-section .comment-content {
  background: #f8fafc;
}

.transfer-review-stars .fa-star.checked,
.transfer-review-stars .far.fa-star.checked {
  color: #fdc703;
  cursor: pointer;
}
