/* Gurgen Tour — desktop home UI (821px+) */
:root {
  --dhome-teal: #008080;
  --dhome-teal-dark: #006666;
  --dhome-bg: #f5f7f8;
  --dhome-surface: #ffffff;
  --dhome-text: #1a2b2b;
  --dhome-muted: #6b7c7c;
  --dhome-border: #e2eaea;
  --dhome-max: 1280px;
}

@media (min-width: 821px) {
  body.mobile-app-home-active .site-header {
    display: none !important;
  }

  body.mobile-app-home-active .desktop-home-header-wrap {
    display: block;
  }

  body.mobile-app-home-active .site-main {
    padding: 0;
    max-width: none;
  }

  body.mobile-app-home-active .site-footer {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .desktop-home-header-wrap,
  .desktop-home {
    display: none !important;
  }
}

.desktop-home-header-wrap {
  display: none;
  position: sticky;
  top: 0;
  z-index: 200;
}

.dhome {
  background: var(--dhome-bg);
  color: var(--dhome-text);
}

.dhome-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.dhome-hero__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-height: 520px;
}

.dhome-hero__track::-webkit-scrollbar {
  display: none;
}

.dhome-hero__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  min-height: 520px;
}

.dhome-hero__slide img,
.dhome-hero__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dhome-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 30, 30, 0.62) 0%, rgba(0, 30, 30, 0.25) 55%, rgba(0, 30, 30, 0.15) 100%);
}

.dhome-hero__copy {
  position: absolute;
  left: max(24px, calc((100% - var(--dhome-max)) / 2 + 24px));
  top: 50%;
  transform: translateY(-58%);
  max-width: 560px;
  z-index: 2;
  color: #fff;
}

.dhome-hero__copy h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.dhome-hero__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.95;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.dhome-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 118px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dhome-hero__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
}

.dhome-hero__dot.is-active {
  width: 22px;
  background: #fff;
}

.dhome-search-wrap {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(calc(100% - 48px), var(--dhome-max));
  z-index: 4;
}

.home-visitor-stats {
  background: var(--dhome-surface);
  border-bottom: 1px solid var(--dhome-border);
}

.home-visitor-stats__inner {
  max-width: var(--dhome-max);
  margin: 0 auto;
  padding: 10px 24px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.home-visitor-stats__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.home-visitor-stats__item strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dhome-teal);
}

.home-visitor-stats__item span {
  font-size: 12px;
  color: var(--dhome-muted);
  font-weight: 600;
}

.home-visitor-stats__sep {
  color: #c5d5d5;
  font-weight: 700;
}

.dhome-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  padding: 8px 8px 8px 4px;
  overflow: hidden;
}

.dhome-search__field {
  display: grid;
  gap: 2px;
  padding: 8px 14px;
  min-width: 0;
  border-right: 1px solid var(--dhome-border);
}

.dhome-search__field--grow {
  flex: 1.4;
  border-right: 1px solid var(--dhome-border);
}

.dhome-search__icon {
  font-size: 12px;
  line-height: 1;
}

.dhome-search__label {
  font-size: 11px;
  color: var(--dhome-muted);
  font-weight: 600;
}

.dhome-search__field input,
.dhome-search__field select {
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--dhome-text);
  outline: none;
  min-width: 0;
  width: 100%;
}

.dhome-search__btn {
  align-self: center;
  margin: 0 6px 0 8px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--dhome-teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.dhome-search__advanced {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dhome-teal);
  text-decoration: none;
  white-space: nowrap;
}

.dhome-cats {
  background: var(--dhome-bg);
  padding: 18px 24px 8px;
}

.dhome-cats__inner {
  max-width: var(--dhome-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dhome-cat {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--dhome-text);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.dhome-cat__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dhome-surface);
  border: 1px solid var(--dhome-border);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.dhome-section {
  max-width: var(--dhome-max);
  margin: 0 auto;
  padding: 28px 24px;
}

.dhome-section--muted {
  max-width: none;
  background: #eef2f2;
  padding-bottom: 40px;
}

.dhome-section--muted .dhome-section__head,
.dhome-section--muted .dhome-places {
  max-width: var(--dhome-max);
  margin-left: auto;
  margin-right: auto;
}

.dhome-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dhome-section__head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.dhome-section__head a {
  color: var(--dhome-teal);
  font-weight: 700;
  text-decoration: none;
}

.dhome-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.dhome-card {
  background: var(--dhome-surface);
  border: 1px solid var(--dhome-border);
  border-radius: 18px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dhome-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.dhome-card__img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}

.dhome-card__img img,
.dhome-card__img .gt-media-placeholder {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.dhome-card__heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.dhome-card__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--dhome-teal);
}

.dhome-card__badge--resort { background: #22a06b; }
.dhome-card__badge--homestay { background: #2f7dd1; }
.dhome-card__badge--driver { background: #e67e22; }
.dhome-card__badge--restaurant { background: #c0392b; }

.dhome-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dhome-card__meta,
.dhome-card__loc {
  font-size: 12px;
  color: var(--dhome-muted);
}

.dhome-card__price {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--dhome-teal);
}

.dhome-banners {
  max-width: var(--dhome-max);
  margin: 0 auto;
  padding: 0 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dhome-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
}

.dhome-banner--green { background: #e8f8f0; }
.dhome-banner--purple { background: #f0ebff; }

.dhome-banner__icon {
  font-size: 28px;
}

.dhome-banner strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.dhome-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--dhome-muted);
  line-height: 1.45;
}

.dhome-banner__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dhome-teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.dhome-banner__arrow--purple {
  background: #7c5cbf;
}

.dhome-places {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.dhome-place {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.dhome-place img,
.dhome-place .gt-media-placeholder {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 10px;
  display: block;
}

.dhome-place span {
  font-size: 13px;
  font-weight: 700;
}

.dhome-empty {
  grid-column: 1 / -1;
  color: var(--dhome-muted);
}

@media (max-width: 1180px) {
  .dhome-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dhome-places {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .dhome-search {
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 12px;
  }

  .dhome-search__field {
    flex: 1 1 140px;
    border-right: 0;
    border-bottom: 1px solid var(--dhome-border);
  }

  .dhome-search__advanced {
    width: 100%;
    justify-content: center;
    padding-top: 8px;
  }
}

.home-ent-preview {
  max-width: var(--dhome-max);
  margin: 0 auto;
  padding: 16px 24px 4px;
}

.home-ent-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.home-ent-preview__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dhome-text);
}

.home-ent-preview__head a {
  font-size: 13px;
  font-weight: 600;
  color: var(--dhome-teal);
  text-decoration: none;
  white-space: nowrap;
}

.home-ent-preview__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.home-ent-preview__track::-webkit-scrollbar {
  display: none;
}

.home-ent-preview__card {
  flex: 0 0 190px;
  scroll-snap-align: start;
  display: grid;
  text-decoration: none;
  color: inherit;
  background: var(--dhome-surface);
  border: 1px solid var(--dhome-border);
  border-radius: 14px;
  overflow: hidden;
}

.home-ent-preview__img {
  height: 84px;
  overflow: hidden;
}

.home-ent-preview__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-ent-preview__body {
  padding: 8px 10px 10px;
  display: grid;
  gap: 2px;
}

.home-ent-preview__body span {
  font-size: 10px;
  font-weight: 700;
  color: #0a8fbd;
}

.home-ent-preview__body strong {
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-ent-preview__body small {
  font-size: 10px;
  color: var(--dhome-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dhome .home-visitor-stats {
  border-bottom: 0;
  padding-bottom: 20px;
}
