/* Quicksand — toàn bộ web, hỗ trợ tiếng Việt */

:root {
  --style-font: var(--font-quicksand), "Quicksand", sans-serif;
  --title-font: var(--font-quicksand), "Quicksand", sans-serif;
  --body-font: var(--font-quicksand), "Quicksand", sans-serif;
  /* VinaStay — đồng bộ logo */
  --brand-primary: #0d4a78;
  --brand-accent: #2b9fd9;
  --brand-accent-hover: #2488be;
  --theme-color: var(--brand-accent);
  --primary-color: var(--brand-accent);
  --title-color: var(--brand-primary);
}

body.tourm-theme,
body.tourm-theme *:not(i):not([class*="fa-"]) {
  font-family: var(--font-quicksand), "Quicksand", sans-serif;
}

.sub-title {
  font-family: var(--font-quicksand), "Quicksand", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--theme-color, #1ca8cb) !important;
  margin-bottom: 10px !important;
}

.hero-style1 .sub-title {
  color: rgba(255, 255, 255, 0.95) !important;
  letter-spacing: 0.16em;
}

.sec-title,
.box-title,
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
textarea,
select {
  font-family: var(--font-quicksand), "Quicksand", sans-serif;
}

@media (max-width: 480px) {
  .sub-title {
    font-size: 13px !important;
  }
}

/* About section — fix overlapping images */
.img-box1 {
  min-height: 640px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.img-box1 .img1 {
  width: 56%;
  max-width: 312px;
}

.img-box1 .img1 img {
  width: 100%;
  height: 630px;
  max-height: min(630px, 70vw);
  object-fit: cover;
  display: block;
}

.img-box1 .img2 {
  width: 50%;
  max-width: 312px;
  z-index: 2;
}

.img-box1 .img2 img {
  width: 100%;
  height: 315px;
  max-height: 315px;
  object-fit: cover;
  display: block;
}

.img-box1 .img3 {
  width: 50%;
  max-width: 312px;
  bottom: 0;
  z-index: 3;
}

.img-box1 .img3 img {
  width: 100%;
  height: 315px;
  max-height: 315px;
  object-fit: cover;
  display: block;
}

@media (max-width: 1199px) {
  .img-box1 {
    min-height: 520px;
    max-width: 480px;
  }

  .img-box1 .img1 img {
    height: 500px;
    max-height: 500px;
  }

  .img-box1 .img2 img,
  .img-box1 .img3 img {
    height: 250px;
    max-height: 250px;
  }
}

/* Căn nổi bật — dòng mô tả thay cho widget sao bị lỗi */
.tour-box .tour-box_meta {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7884;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card căn cao bằng nhau dù ảnh khác tỉ lệ */
.tour-slider .swiper-slide {
  height: auto;
}

.tour-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tour-box .tour-box_img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tour-box .tour-box_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hàng action: thông tin lên trên, nút "Đặt ngay" xuống dưới cùng */
.tour-box .tour-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
}

.tour-box .tour-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: auto;
}

.tour-box .tour-action > span {
  width: 100%;
}

.tour-box .tour-action .th-btn {
  white-space: nowrap;
}

/* Mũi tên thống nhất (line arrow) cho tất cả nút .th-btn.th-icon */
.th-btn.th-icon::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2012h14M13%206l6%206-6%206'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2012h14M13%206l6%206-6%206'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  width: 19px;
  height: 19px;
}

/* Thư viện ảnh — mosaic ảnh to nhỏ xen kẽ */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 165px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-mosaic__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  background: #eef3f7;
}

.gallery-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-mosaic__item:hover img {
  transform: scale(1.08);
}

.gallery-mosaic__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 74, 120, 0) 35%, rgba(13, 74, 120, 0.5));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-mosaic__overlay svg {
  transform: translateY(10px) scale(0.9);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-mosaic__item:hover .gallery-mosaic__overlay {
  opacity: 1;
}

.gallery-mosaic__item:hover .gallery-mosaic__overlay svg {
  transform: translateY(0) scale(1);
}

.gallery-mosaic__item:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-mosaic__item:nth-child(7n + 4) {
  grid-column: span 2;
}

.gallery-mosaic__item:nth-child(7n + 6) {
  grid-row: span 2;
}

@media (max-width: 991px) {
  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 145px;
  }
}

@media (max-width: 575px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    gap: 10px;
  }

  .gallery-mosaic__item:nth-child(7n + 4),
  .gallery-mosaic__item:nth-child(7n + 6) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-mosaic__item img,
  .gallery-mosaic__overlay,
  .gallery-mosaic__overlay svg {
    transition: none !important;
  }
}

/* Lưới thương hiệu host — card click được, hiệu ứng hover mượt */
.host-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

@media (min-width: 992px) {
  .host-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .host-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.host-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand-primary, #0d4a78) 10%, #fff);
  box-shadow: 0 12px 30px -18px rgba(13, 74, 120, 0.35);
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(24px);
  animation: hostCardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  will-change: transform;
}

@keyframes hostCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.host-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 55px -22px rgba(13, 74, 120, 0.45);
  border-color: color-mix(in srgb, var(--brand-accent, #2b9fd9) 45%, #fff);
}

.host-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.host-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.host-card:hover .host-card__media img {
  transform: scale(1.08);
}

.host-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 74, 120, 0) 45%, rgba(13, 74, 120, 0.4));
  opacity: 0;
  transition: opacity 0.45s ease;
}

.host-card:hover .host-card__media::after {
  opacity: 1;
}

.host-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-primary, #0d4a78);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.3);
}

.host-card__logo {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  place-items: center;
  padding: 7px;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.4);
}

.host-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.host-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
}

.host-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-primary, #0d4a78);
  transition: color 0.3s ease;
}

.host-card:hover .host-card__title {
  color: var(--brand-accent, #2b9fd9);
}

.host-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5b6b78;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.host-card__cta {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-accent, #2b9fd9);
}

.host-card__cta svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.host-card:hover .host-card__cta svg {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
  .host-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .host-card,
  .host-card *,
  .host-card::after {
    transition: none !important;
  }
}

/* Section backgrounds — cover + center thay vì tile pattern xấu */
.team-section-bg,
.tour-area.bg-top-center {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 480px) {
  .img-box1 {
    min-height: auto;
  }

  .img-box1 .img1 {
    width: 100%;
    max-width: 100%;
  }

  .img-box1 .img1 img {
    height: auto;
    max-height: none;
    aspect-ratio: 312 / 630;
  }
}

/* Logo VinaStay — cân bằng với khối logo-bg (~92px), gần admin (h-16 ≈ 64px) */
.header-layout1 .header-logo .site-brand-logo {
  display: block;
  width: auto !important;
  max-width: 200px !important;
  height: auto !important;
  max-height: 58px !important;
  object-fit: contain;
  object-position: left center;
}

.header-layout1 .header-logo {
  line-height: 0;
}

.header-layout1 .header-logo a {
  display: inline-block;
}

.th-menu-wrapper .mobile-logo .site-brand-logo {
  display: block;
  width: auto !important;
  max-width: 180px !important;
  max-height: 52px !important;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.footer-layout1 .about-logo .site-brand-logo {
  display: block;
  width: auto !important;
  max-width: 180px !important;
  max-height: 48px !important;
  object-fit: contain;
}

/* Header gọn: không top bar, không nền logo-bg */
.header-layout1--minimal .logo-bg {
  display: none !important;
}

.header-layout1--minimal .main-menu {
  padding-left: 0 !important;
}

.header-layout1--minimal .menu-area {
  padding: 16px 0;
}

.host-branded-page .sub-title {
  color: var(--brand-accent, var(--theme-color, #2b9fd9)) !important;
}

.host-custom-html {
  line-height: 1.7;
}

.header-layout1--minimal .menu-area > .container {
  width: 100%;
  max-width: calc(var(--main-container) + var(--container-gutters));
  margin-left: auto;
  margin-right: auto;
}

.header-layout1--minimal .header-logo {
  position: relative;
  left: auto;
  margin: 0;
  padding: 0;
}

/* Header: logo trái — menu giữa — CTA phải */
.header-layout1--minimal .header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 1200px) {
  .header-layout1--minimal .header-nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .header-layout1--minimal .header-nav-logo {
    justify-self: start;
  }

  .header-layout1--minimal .header-nav-menu {
    justify-self: center;
  }

  .header-layout1--minimal .header-nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
  }
}

.header-layout1--minimal .header-nav-menu .main-menu > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: 0;
}

.header-layout1--minimal .main-menu > ul > li > a:hover,
.header-layout1--minimal .main-menu > ul > li > a.active {
  color: var(--brand-primary);
}

.header-layout1--minimal .main-menu > ul > li > a:before {
  background: var(--brand-accent);
}

/* Nút xanh — chỉ dùng MỘT màu xanh nhạt (accent); trắng/outline giữ nguyên.
   Hover làm đậm nhẹ cùng tông (accent-hover), không dùng navy. */
.th-btn {
  background-color: var(--brand-accent);
}

.th-btn:before {
  background-color: var(--brand-accent-hover);
}

/* style3: nút filled (trước là navy) -> xanh nhạt */
.th-btn.style3 {
  background-color: var(--brand-accent);
}

.th-btn.style3:before {
  background-color: var(--brand-accent-hover);
}

.th-btn.style3:hover {
  color: var(--white-color);
}

/* style4: nút outline (trước là navy) -> outline xanh nhạt */
.th-btn.style4 {
  color: var(--brand-accent);
  border-color: var(--brand-accent);
}

.th-btn.style4.th-icon:after {
  background-color: var(--brand-accent);
}

.th-btn.style4:before {
  background-color: var(--brand-accent);
}

.th-btn.style4:hover {
  color: var(--white-color);
  border-color: var(--brand-accent);
}

.th-btn.style4:hover.th-icon:after {
  background-color: var(--white-color);
}

/* Footer nền màu thương hiệu (navy) — chữ sáng */
.footer-wrapper.footer-layout1 .widget-area {
  background-color: var(--brand-primary);
}

.footer-wrapper.footer-layout1 .widget_title,
.footer-wrapper.footer-layout1 .footer-card .title {
  color: #fff;
}

.footer-wrapper.footer-layout1 .about-text,
.footer-wrapper.footer-layout1 .footer-widget .menu a,
.footer-wrapper.footer-layout1 .footer-widget li a,
.footer-wrapper.footer-layout1 .info-box_text,
.footer-wrapper.footer-layout1 .info-box_text a,
.footer-wrapper.footer-layout1 .info-box_text .details p,
.footer-wrapper.footer-layout1 .th-social a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-wrapper.footer-layout1 .footer-widget .menu a:hover,
.footer-wrapper.footer-layout1 .footer-widget li a:hover,
.footer-wrapper.footer-layout1 .info-box_text a:hover,
.footer-wrapper.footer-layout1 .th-social a:hover {
  color: var(--brand-accent);
}

.footer-wrapper.footer-layout1 .copyright-wrap {
  background-color: #08305a;
  background-image: none !important;
}

/* Marketplace homepage */
html {
  scroll-behavior: smooth;
}

.marketplace-home {
  overflow: clip;
  --marketplace-radius-card: 20px;
  --marketplace-shadow-card: 0 16px 40px -30px rgba(13, 74, 120, 0.45);
  color: #354554;
  background: #fff;
}

.marketplace-home section[id],
.marketplace-home div[id] {
  scroll-margin-top: 96px;
}

.marketplace-section {
  position: relative;
  padding: 120px 0;
}

.marketplace-heading {
  max-width: 690px;
  margin-bottom: 50px;
}

.marketplace-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.marketplace-heading .sec-title {
  margin-bottom: 16px;
  color: var(--brand-primary);
}

.marketplace-heading > p {
  margin: 0;
  color: #647481;
  font-size: 16px;
  line-height: 1.75;
}

.marketplace-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: marketplaceReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes marketplaceReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Homepage header links remain rooted at the public marketplace. */
.marketplace-home .header-layout1--minimal .main-menu > ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.marketplace-home .header-layout1--minimal .main-menu > ul > li > a {
  white-space: nowrap;
}

.marketplace-home .sticky-wrapper.sticky .menu-area {
  box-shadow: 0 12px 35px -22px rgba(13, 74, 120, 0.45);
}

/* Discovery */
.marketplace-discovery {
  padding-top: 130px;
  background:
    radial-gradient(circle at 8% 12%, rgba(43, 159, 217, 0.1), transparent 26%),
    url("/assets/img/bg/category_bg_1.png") top center / cover no-repeat,
    linear-gradient(180deg, #f7fbfe 0%, #fff 100%);
}

.marketplace-discovery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.marketplace-discovery__grid--1 {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.marketplace-discovery__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

.marketplace-discovery__card {
  padding: 30px;
  border: 1px solid rgba(13, 74, 120, 0.1);
  border-radius: var(--marketplace-radius-card);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--marketplace-shadow-card);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
}

.marketplace-discovery__card:hover {
  border-color: rgba(43, 159, 217, 0.35);
  box-shadow: 0 26px 54px -32px rgba(13, 74, 120, 0.4);
  transform: translateY(-6px);
}

.marketplace-discovery__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marketplace-discovery__card h3 {
  margin: 0 0 20px;
  color: var(--brand-primary);
  font-size: 21px;
  line-height: 1.35;
}

.marketplace-discovery__card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketplace-discovery__card li a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: 13px;
  color: var(--brand-primary);
  background: #f7fafc;
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.marketplace-discovery__card li a span {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-discovery__card li a small {
  grid-column: 1;
  color: #7a8995;
  font-size: 12px;
}

.marketplace-discovery__card li a > i {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--brand-accent);
  transition: transform 0.3s ease;
}

.marketplace-discovery__card li a:hover {
  color: var(--brand-accent);
  background: #edf8fd;
  transform: translateX(3px);
}

.marketplace-discovery__card li a:hover > i {
  transform: translateX(3px);
}

/* Offer cards */
.marketplace-offers {
  background:
    radial-gradient(circle at 92% 20%, rgba(43, 159, 217, 0.08), transparent 24%),
    #f7fafc;
}

.marketplace-offers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.marketplace-offer {
  display: flex;
  gap: 20px;
  min-height: 240px;
  padding: 30px;
  border: 1px solid rgba(13, 74, 120, 0.09);
  border-radius: var(--marketplace-radius-card);
  color: inherit;
  background: #fff;
  box-shadow: 0 20px 45px -38px rgba(13, 74, 120, 0.55);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}

.marketplace-offer:hover {
  color: inherit;
  border-color: rgba(43, 159, 217, 0.38);
  box-shadow: 0 26px 52px -34px rgba(13, 74, 120, 0.5);
  transform: translateY(-7px);
}

.marketplace-offer__icon,
.marketplace-process__icon,
.marketplace-contact__icon {
  display: grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-accent);
  font-size: 22px;
  background: rgba(43, 159, 217, 0.1);
}

.marketplace-offer__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.marketplace-offer__content strong {
  margin: 2px 0 10px;
  color: var(--brand-primary);
  font-size: 20px;
}

.marketplace-offer__content > span {
  color: #647481;
  font-size: 14px;
  line-height: 1.7;
}

.marketplace-offer__content small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-accent);
  font-size: 13px;
  font-weight: 700;
}

.marketplace-offer__content small i {
  transition: transform 0.3s ease;
}

.marketplace-offer:hover small i {
  transform: translateX(4px);
}

/* Booking process */
.marketplace-process {
  background:
    linear-gradient(110deg, rgba(8, 48, 90, 0.97), rgba(13, 74, 120, 0.88)),
    url("/assets/img/hero/hero_bg_1_2.jpg") center / cover;
  background-attachment: fixed;
}

.marketplace-process .sub-title {
  color: #77cdf0 !important;
}

.marketplace-process .sec-title,
.marketplace-process .marketplace-heading > p {
  color: #fff;
}

.marketplace-process .marketplace-heading > p {
  opacity: 0.78;
}

.marketplace-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.marketplace-process__step {
  position: relative;
  min-height: 260px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--marketplace-radius-card);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.marketplace-process__step:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
}

.marketplace-process__number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 30px;
  font-weight: 700;
}

.marketplace-process__icon {
  margin-bottom: 28px;
  color: #fff;
  background: var(--brand-accent);
}

.marketplace-process__step h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 21px;
}

.marketplace-process__step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

/* Sales callout */
.marketplace-sales {
  padding: 0 0 110px;
  background: #f7fafc;
}

.marketplace-sales__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  overflow: hidden;
  padding: 58px 64px;
  border-radius: var(--marketplace-radius-card);
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(119, 205, 240, 0.25), transparent 30%),
    linear-gradient(120deg, #0d4a78, #123b61);
  box-shadow: 0 30px 70px -40px rgba(13, 74, 120, 0.85);
}

.marketplace-sales__inner::after {
  position: absolute;
  right: -90px;
  bottom: -145px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.marketplace-sales__copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.marketplace-sales__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #77cdf0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marketplace-sales__copy h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.marketplace-sales__copy p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.marketplace-sales__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 12px;
  min-width: 205px;
}

.marketplace-sales__actions .th-btn {
  width: 100%;
}

/* Contact */
.marketplace-contact {
  background:
    radial-gradient(circle at 90% 15%, rgba(43, 159, 217, 0.1), transparent 24%),
    #fff;
}

.marketplace-contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  align-items: start;
  gap: 70px;
}

.marketplace-contact__layout .marketplace-heading {
  margin-bottom: 0;
}

.marketplace-contact__hours {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 700;
}

.marketplace-contact__hours i {
  color: var(--brand-accent);
}

.marketplace-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.marketplace-contact__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(13, 74, 120, 0.1);
  border-radius: var(--marketplace-radius-card);
  color: inherit;
  background: #fff;
  box-shadow: 0 18px 40px -34px rgba(13, 74, 120, 0.55);
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.marketplace-contact__card:hover {
  color: inherit;
  border-color: rgba(43, 159, 217, 0.4);
  box-shadow: 0 24px 45px -32px rgba(13, 74, 120, 0.5);
  transform: translateY(-5px);
}

.marketplace-contact__card small,
.marketplace-contact__card strong {
  display: block;
}

.marketplace-contact__card small {
  margin-bottom: 3px;
  color: #7a8995;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketplace-contact__card strong {
  overflow: hidden;
  color: var(--brand-primary);
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.marketplace-contact__card > i {
  color: var(--brand-accent);
  font-size: 13px;
}

/* Existing homepage cards: consistent image geometry and restrained lift. */
.marketplace-home .tour-box,
.marketplace-home .blog-box,
.marketplace-home .testi-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.marketplace-home .tour-box:hover,
.marketplace-home .blog-box:hover,
.marketplace-home .testi-card:hover {
  transform: translateY(-5px);
}

.marketplace-home .blog-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.marketplace-home .blog-img img,
.marketplace-home .testi-card_avater img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-home .testi-card_avater {
  overflow: hidden;
  aspect-ratio: 1;
}

.marketplace-home a:focus-visible,
.marketplace-home button:focus-visible,
.marketplace-home input:focus-visible,
.marketplace-home select:focus-visible,
.marketplace-home textarea:focus-visible {
  outline: 3px solid rgba(43, 159, 217, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .marketplace-section {
    padding: 90px 0;
  }

  .marketplace-discovery {
    padding-top: 110px;
  }

  .marketplace-discovery__grid,
  .marketplace-offers__grid,
  .marketplace-process__grid {
    gap: 18px;
  }

  .marketplace-offer {
    flex-direction: column;
    min-height: 275px;
    padding: 25px;
  }

  .marketplace-sales {
    padding-bottom: 90px;
  }

  .marketplace-sales__inner {
    padding: 48px;
  }

  .marketplace-contact__layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 991px) {
  .marketplace-discovery__grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }

  .marketplace-offers__grid,
  .marketplace-process__grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }

  .marketplace-offer {
    min-height: 0;
    flex-direction: row;
  }

  .marketplace-sales__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketplace-sales__actions {
    width: 100%;
    max-width: 420px;
    flex-direction: row;
  }

  .marketplace-sales__actions .marketplace-button {
    flex: 1;
  }
}

@media (max-width: 767px) {
  .marketplace-section {
    padding: 72px 0;
  }

  .marketplace-discovery {
    padding-top: 88px;
  }

  .marketplace-heading {
    margin-bottom: 30px;
  }

  .marketplace-discovery__card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .marketplace-process__step {
    min-height: 230px;
    padding: 28px 24px;
  }

  .marketplace-sales {
    padding-bottom: 72px;
  }

  .marketplace-sales__inner {
    gap: 30px;
    padding: 38px 28px;
    border-radius: 22px;
  }

  .marketplace-contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .marketplace-offer {
    flex-direction: column;
    padding: 24px;
  }

  .marketplace-offer__content small {
    margin-top: 8px;
  }

  .marketplace-sales__actions {
    flex-direction: column;
  }

  .marketplace-sales__copy h2 {
    font-size: 28px;
  }

  .marketplace-contact__card {
    min-height: 102px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marketplace-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .marketplace-home *,
  .marketplace-home *::before,
  .marketplace-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
