/* ==========================================================================
   Colours/fonts from
   css/directhomes-theme.css. All classes start with "h2-" so nothing here
   ========================================================================== */

.dh-home2 {
  --h2-radius: 20px;
  --h2-radius-lg: 28px;
  --h2-sand-soft: #F1EADF;
  background: var(--dh-bg);
}

/* --------------------------------------------------------------------------
   0. Shared building blocks
   -------------------------------------------------------------------------- */
.h2-container {
  width: 100%;
  max-width: var(--dh-container, 1560px);
  margin: 0 auto;
  padding: 0 var(--dh-gutter, 15px);
}

.h2-section {
  padding: var(--dh-section-y, 88px) 0;
  background: var(--dh-bg);
}

.h2-section--sand {
  background: var(--h2-sand-soft);
}

/* small spaced label above headings ("OUR PACKAGES") */
.h2-eyebrow {
  margin: 0 0 12px;
  font-family: var(--dh-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dh-accent);
}

.h2-title {
  margin: 0;
  font-family: var(--dh-font-heading);
  font-size: clamp(36px, calc(20px + 2vw), 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--dh-primary);
}

.h2-title--xl {
  font-size: clamp(34px, calc(22px + 2.4vw), 56px);
}

.h2-title .dh-hl {
  color: var(--dh-accent);
}

.h2-subtitle {
  margin: 10px 0 12px;
  font-family: var(--dh-font-heading);
  font-size: clamp(20px, calc(16px + 0.8vw), 28px);
  font-weight: 600;
  color: var(--dh-accent);
}

/* Heading row: title left, text (+ link/arrows) right */
.h2-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 60px;
  align-items: end;
  margin-bottom: clamp(32px, 3vw, 52px);
}

@media (min-width: 992px) {
  .h2-head {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}

.h2-head__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.h2-head__text {
  max-width: 560px;
  margin: 0;
  font-size: clamp(15px, calc(14px + 0.2vw), 17px);
  line-height: 1.65;
  color: #666;
}

.h2-arrows {
  display: flex;
  gap: 12px;
}

/* Buttons (hover fill comes from css/directhomes-buttons.css) */
.h2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1.5px solid;
  border-radius: 999px;
  font-family: var(--dh-font-body);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.h2-btn--block {
  width: 100%;
}

/* Outline button on the green card: white text/border */
.h2-btn--on-dark.dh-btn.dh-btn--outline {
  border-color: #fff;
  background: #fff;
  color: var(--dh-primary);
}

/* Text link with arrow */
.h2-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--dh-primary);
  text-decoration: none;
  text-underline-offset: 4px;
}

.h2-link svg {
  transition: transform 0.25s ease;
}

.h2-link:hover {
  color: var(--dh-primary);
  text-decoration: underline;
}

.h2-link:hover svg {
  transform: translateX(3px);
}

/* Round icon on a sand circle */
.h2-icon-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #E9DFCE;
  color: var(--dh-primary);
}

/* Photo with one big curved corner */
.h2-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: clamp(36px, 4vw, 60px);
}

@media (min-width: 992px) {
  .h2-intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.h2-intro__img {
  overflow: hidden;
  height: clamp(220px, 26vw, 315px);
  border-radius: 12px 12px 12px 160px;
}

.h2-intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h2-vat {
  margin: 14px 0 0;
  font-size: 13px;
  color: #888;
  text-align: right;
}

/* --------------------------------------------------------------------------
   1. Light header on this page (same look as the sticky header)
   -------------------------------------------------------------------------- */
.dh-header-light #header:not(.cloned) {
  background-color: rgba(var(--dh-bg-rgb), 0.82) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(var(--dh-primary-rgb), 0.08);
}

.dh-header-light #header:not(.cloned) .dh-nav-pill > li > a {
  color: var(--dh-primary) !important;
}

.dh-header-light #header:not(.cloned) .dh-nav-pill > li.is-active > a,
.dh-header-light #header:not(.cloned) .dh-nav-pill > li.is-hovered > a,
.dh-header-light #header:not(.cloned) .dh-nav-pill > li > a:hover {
  color: #fff !important;
}

.dh-header-light #header:not(.cloned) .dh-nav-pill.is-hovering > li.is-active:not(.is-hovered) > a {
  color: var(--dh-primary) !important;
}

.dh-header-light #header:not(.cloned) .dh-nav-pill > li.dh-nav-indicator {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 55%),
    rgba(var(--dh-primary-rgb), 0.86) !important;
}

.dh-header-light #header:not(.cloned) .dh-wordmark {
  color: var(--dh-primary);
}

.dh-header-light #header:not(.cloned) .dh-wordmark span {
  color: var(--dh-accent);
}

.dh-header-light #header:not(.cloned) .dh-lang__toggle {
  color: var(--dh-primary);
}

/* --------------------------------------------------------------------------
   2. Hero
      .h2h         text left, photo right fading into the page colour,
                   "Your sale at a glance" card
      .h2h-search  search bar on the bottom edge of the hero
      .h2h-strip   sand feature strip under the search
   -------------------------------------------------------------------------- */

/* Header on this page: transparent, nav in a white glass pill */
.dh-header-light #header:not(.cloned) {
  background-color: transparent !important;
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (min-width: 993px) {
  .dh-header-light #header:not(.cloned) .dh-nav-pill {
    padding: 5px !important;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.h2h {
  position: relative;
  overflow: hidden;
  background: var(--dh-bg);
}

/* Photo: right 64%, fades into the page colour on the left and top */
.h2h__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
}

.h2h__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.h2h__photo::before,
.h2h__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.h2h__photo::before {
  /* eased fade (many stops) so the photo blends in without a visible edge */
  background: linear-gradient(90deg,
    rgb(246, 244, 238) 0%,
    rgba(246, 244, 238, 0.86) 6%,
    rgba(246, 244, 238, 0.66) 12%,
    rgba(246, 244, 238, 0.46) 18%,
    rgba(246, 244, 238, 0.28) 24%,
    rgba(246, 244, 238, 0.14) 30%,
    rgba(246, 244, 238, 0.05) 36%,
    rgba(246, 244, 238, 0) 42%);
}

.h2h__photo::after {
  background: linear-gradient(180deg, rgba(246, 244, 238, 0.3) 0%, rgba(246, 244, 238, 0) 18%);
}

.h2h__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: min(100vh, 820px);
  padding-top: 120px;
  padding-bottom: 120px;
}

.h2h__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--dh-sand);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--dh-primary);
}

.h2h__badge b {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--dh-accent);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #fff;
}

.dh-home2 .h2h__title {
  margin: 0 0 22px;
  font-family: var(--dh-font-heading);
  font-size: clamp(46px, calc(24px + 4vw), 80px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--dh-primary);
  text-transform: none;
}

.h2h__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--dh-accent);
}

.h2h__lead {
  max-width: 500px;
  margin: 0 0 30px;
  font-size: clamp(16px, calc(14px + 0.35vw), 19px);
  line-height: 1.6;
  color: #5f6b67;
}

.h2h__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.h2h__btn-light.dh-btn--outline {
  background: rgba(255, 255, 255, 0.6);
}

.h2h__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #5f6b67;
}

.h2h__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.h2h__trust span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dh-accent);
  color: #fff;
}

.h2h__trust svg {
  width: 11px;
  height: 11px;
}

/* "Your sale at a glance" card */
.h2h__glance {
  align-self: start;
  justify-self: end;
  width: 330px;
  margin-top: 10px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(var(--dh-primary-rgb), 0.22);
  font-size: 13px;
}

.h2h__glance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.h2h__glance-head p {
  margin: 0;
  font-family: var(--dh-font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--dh-primary);
}

.h2h__glance-head span {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--dh-bg);
  font-size: 11px;
  font-weight: 600;
  color: var(--dh-accent);
}

.h2h__glance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: var(--dh-bg);
}

.h2h__glance-item img {
  width: 62px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
}

.h2h__glance-item strong {
  display: block;
  font-size: 13px;
  color: #333;
}

.h2h__glance-item small {
  font-size: 12px;
  color: #888;
}

.h2h__glance-item i {
  margin-left: auto;
  font-style: normal;
  color: var(--dh-primary);
}

.h2h__glance-tabs {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  color: #888;
}

.h2h__glance-tabs li {
  padding: 6px 2px;
}

.h2h__glance-tabs .is-active {
  border-bottom: 2px solid var(--dh-primary);
  font-weight: 600;
  color: var(--dh-primary);
}

.h2h__glance-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.h2h__glance-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: #444;
}

.h2h__glance-steps li > span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e6e6e6;
  color: #fff;
}

.h2h__glance-steps li > span.is-done {
  background: var(--dh-primary);
}

.h2h__glance-steps svg {
  width: 12px;
  height: 12px;
}

.h2h__glance-steps em {
  margin-left: auto;
  font-size: 12px;
  font-style: normal;
  color: #888;
}

.h2h__glance-steps i {
  position: relative;
  width: 96px;
  height: 4px;
  margin-left: auto;
  border-radius: 4px;
  background: #ececec;
}

.h2h__glance-steps i b {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 4px;
  background: var(--dh-primary);
}

.h2h__glance-steps i.is-muted b {
  background: #9aa7a3;
}

/* Search bar */
.h2h-search {
  position: relative;
  z-index: 3;
  margin-top: -62px;
}

.h2h-search__form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--dh-sand);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(var(--dh-primary-rgb), 0.16);
}

.h2h-search__seg {
  display: flex;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 14px;
  background: var(--dh-bg);
}

.h2h-search__seg label {
  position: relative;
  display: flex;
  margin: 0;
  cursor: pointer;
}

.h2h-search__seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.h2h-search__seg span {
  display: grid;
  place-items: center;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #5f6b67;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.h2h-search__seg input:checked + span {
  background: var(--dh-primary);
  color: #fff;
}

.h2h-search__seg input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(var(--dh-accent-rgb), 0.35);
}

.h2h-search__field {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--dh-sand);
  border-radius: 14px;
  cursor: text;
  transition: border-color 0.2s ease;
}

.h2h-search__field:focus-within {
  border-color: var(--dh-primary);
}

.h2h-search__field small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
}

.h2h-search__field input,
.h2h-search__field select {
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--dh-font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: #333;
  box-shadow: none;
}

.h2h-search__field select {
  cursor: pointer;
}

.h2h-search__field.h2h-search__field--select {
  padding: 0;
  border: 0;
  background: transparent;
}

.h2h-search__field--select .nice-select {
  float: none;
  width: 100%;
  height: 52px;
  padding-left: 18px;
  border: 1px solid var(--dh-sand);
  border-radius: 10px;
  font-family: var(--dh-font-body);
  font-size: 15px;
  line-height: 50px;
  color: #555;
}

.h2h-search__field--select .nice-select:hover,
.h2h-search__field--select .nice-select.open,
.h2h-search__field--select .nice-select:focus {
  border-color: var(--dh-primary);
}

.h2h-search__field--select .nice-select .list {
  z-index: 20;
  width: 100%;
  margin-top: 6px;
  border-radius: 10px;
}

.h2h-search__adv,
.h2h-search__go {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border: 1.5px solid var(--dh-primary);
  border-radius: 14px;
  font-family: var(--dh-font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.h2h-search__adv .dh-advanced-count:empty {
  display: none;
}

.h2h-search__adv .dh-advanced-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--dh-accent);
  font-size: 11px;
  color: #fff;
}

/* Feature strip */
.h2h-strip {
  margin-top: -46px;
  padding: 86px 0 44px;
  background: var(--dh-sand);
}

.h2h-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.h2h-strip__item {
  display: flex;
  gap: 14px;
  padding: 0 24px;
}

.h2h-strip__item:first-child {
  padding-left: 0;
}

.h2h-strip__item + .h2h-strip__item {
  border-left: 1px solid rgba(var(--dh-primary-rgb), 0.15);
}

.h2h-strip__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  color: var(--dh-primary);
}

.dh-home2 .h2h-strip h3 {
  margin: 0 0 2px;
  font-family: var(--dh-font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--dh-primary);
  text-transform: none;
}

.h2h-strip p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #5f6b67;
}

/* ---- Tablet ---- */
@media (max-width: 1199px) {
  .h2h-search__form {
    flex-wrap: wrap;
  }

  .h2h-search__field {
    flex: 1 1 calc(33.333% - 10px);
  }

  .h2h-search__seg {
    flex: 1 1 100%;
  }

  .h2h-search__seg label {
    flex: 1;
  }

  .h2h-search__seg span {
    width: 100%;
    padding: 12px;
  }

  .h2h-search__adv,
  .h2h-search__go {
    flex: 1 1 calc(50% - 5px);
  }

  .h2h-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .h2h-strip__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---- Tablet + mobile: text, then photo with the card, then search ---- */
@media (max-width: 991px) {
  .h2h {
    display: flex;
    flex-direction: column;
    padding: 110px var(--dh-gutter, 15px) 0;
  }

  .h2h__grid {
    display: contents;
  }

  .h2h__text {
    order: 1;
  }

  .h2h__photo {
    position: relative;
    order: 2;
    width: auto;
    height: clamp(260px, 55vw, 420px);
    margin-top: 32px;
    overflow: hidden;
    border-radius: 20px;
  }

  .h2h__photo::before,
  .h2h__photo::after {
    display: none;
  }

  .h2h__glance {
    position: relative;
    z-index: 2;
    order: 3;
    align-self: center;
    width: calc(100% - 28px);
    max-width: 380px;
    margin: -70px 0 0;
  }

  .h2h-search {
    margin-top: 24px;
  }

  .h2h-strip {
    margin-top: -30px;
    padding-top: 64px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 575px) {
  .h2h__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .h2h__actions .h2-btn {
    justify-content: center;
  }

  .h2h__trust {
    flex-direction: column;
    gap: 8px;
  }

  .h2h-search__form {
    flex-direction: column;
    padding: 14px;
  }

  .h2h-search__field {
    flex: 1 1 auto;
    padding: 10px 14px;
  }

  .h2h-search__adv,
  .h2h-search__go {
    flex: 1 1 auto;
    min-height: 52px;
  }

  .h2h-strip {
    padding-bottom: 32px;
  }

  .h2h-strip__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .h2h-strip__item {
    padding: 0;
    border-left: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   4. Two ways to sell – wide image cards
   -------------------------------------------------------------------------- */
.h2-paths__row {
  row-gap: 24px;
}

.h2-path {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--h2-radius);
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.h2-path:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(var(--dh-primary-rgb), 0.18);
  text-decoration: none;
}

.h2-path--light {
  border: 1px solid var(--dh-sand);
  background: #fff;
  color: var(--dh-primary);
}

.h2-path--dark {
  background: var(--dh-primary);
  color: #fff;
}

.h2-path__body {
  position: relative;
  z-index: 1;
  padding: 34px 30px;
}

.h2-path__label {
  margin: 0 0 18px;
  padding-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  background: linear-gradient(var(--dh-accent), var(--dh-accent)) left bottom / 36px 2px no-repeat;
}

.h2-path__price {
  margin: 0 0 12px;
  font-family: var(--dh-font-heading);
  font-size: clamp(30px, calc(20px + 1.4vw), 42px);
  font-weight: 600;
  line-height: 1.1;
}

.h2-path__price small {
  font-family: var(--dh-font-body);
  font-size: 15px;
  font-weight: 400;
  opacity: 0.75;
}

.h2-path__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

.h2-path__img {
  position: relative;
}

.h2-path__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.h2-path:hover .h2-path__img img {
  transform: scale(1.05);
}

/* soft fade from the card colour into the photo */
.h2-path--light .h2-path__img::before,
.h2-path--dark .h2-path__img::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 40%;
}

.h2-path--light .h2-path__img::before { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.h2-path--dark  .h2-path__img::before { background: linear-gradient(90deg, var(--dh-primary), rgba(19, 75, 62, 0)); }

.h2-path__more {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-weight: 600;
  color: #fff;
}

.h2-path__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.h2-path:hover .h2-path__circle {
  background: #fff;
  color: var(--dh-primary);
}

@media (max-width: 575px) {
  .h2-path {
    grid-template-columns: 1fr;
  }

  .h2-path__img {
    height: 200px;
  }
}

/* --------------------------------------------------------------------------
   5. Popular places – mosaic with one big tile
   -------------------------------------------------------------------------- */
.h2-places__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}

@media (min-width: 992px) {
  .h2-places__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
  }
}

.h2-place {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--h2-radius);
  color: #fff;
}

.h2-place--big {
  grid-column: span 2;
  grid-row: span 2;
}

.h2-place img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.h2-place::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%);
}

.h2-place:hover img {
  transform: scale(1.06);
}

.h2-place__info {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.h2-place__info strong {
  font-family: var(--dh-font-heading);
  font-size: 22px;
  font-weight: 600;
}

.h2-place--big .h2-place__info strong {
  font-size: 34px;
}

.h2-place__info span {
  font-size: 14px;
  opacity: 0.9;
}

.h2-place:hover {
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   6. Property sliders (cards from css/directhomes-cards.css)
   -------------------------------------------------------------------------- */
body.dh-home2 section.h2-props.dh-featured,
body.dh-home2 section.h2-props.dh-discover {
  padding: var(--dh-section-y, 88px) 0;
  background: var(--dh-bg);
  background-image: none;
}

.h2-props .dh-card-slider {
  margin: 0 -15px;
}

/* --------------------------------------------------------------------------
   7. Package cards + add-ons
   -------------------------------------------------------------------------- */
.h2-plans {
  row-gap: 30px;
  padding-top: 16px;
}

.h2-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 36px 34px 34px;
  border: 1px solid var(--dh-sand);
  border-radius: var(--h2-radius);
  background: #fff;
  color: var(--dh-primary);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.h2-plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(var(--dh-primary-rgb), 0.14);
}

.h2-plan--premium {
  border-color: var(--dh-primary);
  background: var(--dh-primary);
  color: #fff;
}

.h2-plan--profi {
  border-color: #E9DFCE;
  background: #F3E9DA;
}

.h2-plan__badge {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--dh-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transform: translate(-50%, -50%);
}

.h2-plan__name {
  margin: 0 0 4px;
  font-family: var(--dh-font-heading);
  font-size: clamp(28px, calc(20px + 0.8vw), 36px);
  font-weight: 600;
  color: inherit;
}

.h2-plan__tagline {
  margin: 0 0 22px;
  font-family: var(--dh-font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--dh-accent);
}

.h2-plan--premium .h2-plan__tagline,
.h2-plan--premium .h2-plan__note {
  color: #D9B77A;
}

.h2-plan__price {
  margin: 0 0 4px;
  font-family: var(--dh-font-heading);
  font-size: clamp(34px, calc(24px + 1vw), 44px);
  font-weight: 600;
  line-height: 1.1;
  color: inherit;
}

.h2-plan__price small {
  font-family: var(--dh-font-body);
  font-size: 15px;
  font-weight: 400;
  opacity: 0.75;
}

.h2-plan__note {
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dh-accent);
}

.h2-plan__list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.h2-plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.h2-plan__list svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--dh-accent);
}

.h2-plan__list .is-lead {
  font-weight: 700;
}

.h2-plan .h2-btn {
  margin-top: auto;
}

/* Add-on strip */
.h2-addons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 36px;
  padding: 26px 30px;
  border: 1px solid var(--dh-sand);
  border-radius: var(--h2-radius);
  background: #fff;
}

@media (min-width: 1200px) {
  .h2-addons {
    grid-template-columns: 220px 1fr;
  }
}

.h2-addons__title {
  margin: 0;
  font-family: var(--dh-font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--dh-primary);
}

.h2-addons__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .h2-addons__list { grid-template-columns: repeat(5, 1fr); }

  .h2-addons__list li { border-left: 1px solid var(--dh-sand); }
}

.h2-addons__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 10px;
  text-align: center;
}

.h2-addons__name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.h2-addons__old {
  font-size: 13px;
  color: #999;
}

.h2-addons__price {
  font-family: var(--dh-font-heading);
  font-size: 20px;
  color: var(--dh-primary);
}

/* --------------------------------------------------------------------------
   8. SELF vs PREMIUM table
   -------------------------------------------------------------------------- */
.h2-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--dh-sand);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--dh-primary);
}

.h2-chip svg {
  color: var(--dh-accent);
}

.h2-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--dh-sand);
  border-radius: var(--h2-radius);
  background: #fff;
}

.h2-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.h2-table th,
.h2-table td {
  padding: 14px 24px;
  border-bottom: 1px solid #F1EADF;
  font-weight: 400;
  text-align: center;
  color: #444;
}

.h2-table tbody th {
  text-align: left;
}

.h2-table thead th {
  padding: 20px 24px;
  font-family: var(--dh-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--dh-primary);
}

.h2-table thead th small {
  display: block;
  margin-top: 2px;
  font-family: var(--dh-font-body);
  font-size: 13px;
  font-weight: 400;
  color: #777;
}

.h2-table .h2-table__first {
  text-align: left;
}

.h2-table .h2-table__self {
  width: 24%;
  background: #F3E9DA;
}

.h2-table .h2-table__premium {
  width: 24%;
  background: var(--dh-primary);
  color: #fff;
}

.h2-table .h2-table__premium small {
  color: #D9B77A;
}

.h2-table td.is-premium {
  background: #EEF3F1;
  color: var(--dh-primary);
}

.h2-table__group th {
  padding: 12px 24px;
  background: #FAF6EF;
  font-family: var(--dh-font-heading);
  font-size: 17px;
  font-weight: 600 !important;
  text-align: left !important;
  color: var(--dh-accent) !important;
}

.h2-table__tick {
  display: inline-flex;
  color: var(--dh-primary);
}

.h2-table tbody tr:last-child th,
.h2-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Highlight banners */
.h2-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 26px;
  padding: 24px 30px;
  border-radius: var(--h2-radius);
  background: #F3E9DA;
}

.h2-banner__icon {
  display: inline-flex;
  color: var(--dh-accent);
}

.h2-banner__title {
  margin: 0 0 2px;
  font-family: var(--dh-font-heading);
  font-size: clamp(19px, calc(16px + 0.6vw), 26px);
  font-weight: 600;
  color: var(--dh-primary);
}

.h2-banner__text {
  margin: 0;
  font-size: 15px;
  color: #666;
}

.h2-banner--profi {
  background: #E9DFCE;
}

.h2-banner--profi .h2-btn {
  margin-left: auto;
}

.h2-banner__big {
  font-family: var(--dh-font-heading);
  font-size: clamp(40px, calc(28px + 1.6vw), 60px);
  font-weight: 600;
  line-height: 1;
  color: var(--dh-primary);
}

/* --------------------------------------------------------------------------
   9. PROFI service cards
   -------------------------------------------------------------------------- */
.h2-profi__grid {
  row-gap: 20px;
}

.h2-service {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 24px 26px;
  border: 1px solid var(--dh-sand);
  border-radius: var(--h2-radius);
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.h2-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(var(--dh-primary-rgb), 0.1);
}

.h2-service .h2-icon-badge {
  color: var(--dh-accent);
}

.h2-service__title {
  margin: 0 0 4px;
  font-family: var(--dh-font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--dh-primary);
}

.h2-service__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #666;
}

/* --------------------------------------------------------------------------
   10. Testimonials + FAQ + blog
   -------------------------------------------------------------------------- */
body.dh-home2 section.testimonials.dh-testimonials.h2-reviews {
  padding: var(--dh-section-y, 88px) 0;
  background: var(--h2-sand-soft);
}

body.dh-home2 section.dh-faq.h2-faq {
  padding: var(--dh-section-y, 88px) 0;
  background: var(--dh-bg);
}

.h2-faq .h2-head__text {
  margin-top: 16px;
}

.h2-faq__cta {
  margin: 24px 0 32px;
}

.h2-blog__row {
  row-gap: 30px;
}

.h2-post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  border-radius: var(--h2-radius);
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.h2-post:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(var(--dh-primary-rgb), 0.12);
}

.h2-post__img {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 0 0 0 80px;
}

.h2-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.h2-post:hover .h2-post__img img {
  transform: scale(1.06);
}

.h2-post__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 26px 26px;
}

.h2-post__time {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dh-accent);
}

.h2-post__title {
  margin: 0 0 10px;
  font-family: var(--dh-font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.h2-post__title a {
  color: var(--dh-primary);
}

.h2-post__text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

.h2-post .h2-link {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   11. Contact band
   -------------------------------------------------------------------------- */
.h2-contact {
  padding: 30px 0;
  background: #0F3F34;
  color: #fff;
}

.h2-contact__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
}

.h2-contact__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #D9B77A;
}

.h2-contact__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h2-contact__list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #D9B77A;
}

.h2-contact__list a {
  font-size: 17px;
  color: #fff;
}

.h2-contact__list a:hover {
  color: #D9B77A;
}

.h2-contact__vat {
  margin: 0 0 0 auto;
  font-size: 13px;
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .h2-path, .h2-path__img img, .h2-place img, .h2-plan,
  .h2-service, .h2-post, .h2-post__img img {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   12. Fixes
   -------------------------------------------------------------------------- */
.dh-home2 .h2-title,
.dh-home2 .h2-plan__name,
.dh-home2 .h2-service__title,
.dh-home2 .h2-post__title,
.dh-home2 .h2-addons__title,
.dh-home2 .h2-banner__title,
.dh-home2 .h2-table thead th {
  text-transform: none;
}

/* Last city tile spans 2 columns so the mosaic has no gap on desktop */
@media (min-width: 992px) {
  .h2-places__grid .h2-place:last-child {
    grid-column: span 2;
  }
}

.h2-places__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .h2-places__layout {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 48px;
  }
}

.h2-places__text .h2-title {
  margin-bottom: 16px;
}

.h2-places__text .h2-head__text {
  margin-bottom: 26px;
}

.h2-places__arrows {
  margin-top: 30px;
}

/* the carousel runs to the right edge of the screen */
.h2-places__slider-wrap {
  min-width: 0;
  margin-right: calc(-1 * var(--dh-gutter, 15px));
  overflow: hidden;
}

@media (min-width: 1600px) {
  .h2-places__slider-wrap {
    margin-right: calc((1560px - 100vw) / 2 - var(--dh-gutter, 15px));
  }
}

.h2-places__slider {
  margin: 0 -10px;
}

/* space on the right shows part of the next city ("peek") */
.h2-places__slider .slick-list {
  padding-right: 16%;
}

@media (max-width: 575px) {
  .h2-places__slider .slick-list {
    padding-right: 22%;
  }
}

.h2-places__slide {
  padding: 0 10px;
}

/* before Slick starts: simple row, no jump */
.h2-places__slider:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}

.h2-places__slider:not(.slick-initialized) .h2-places__slide {
  flex: 0 0 290px;
}

.h2-city {
  position: relative;
  display: block;
  overflow: hidden;
  height: 440px;
  border-radius: 22px;
  color: #fff;
}

.h2-city img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.h2-city::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65) 100%);
}

.h2-city:hover {
  color: #fff;
  text-decoration: none;
}

.h2-city:hover img {
  transform: scale(1.06);
}

.h2-city__go {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dh-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.h2-city:hover .h2-city__go {
  background: var(--dh-accent);
  color: #fff;
}

.h2-city__info {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.h2-city__info strong {
  font-family: var(--dh-font-heading);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.h2-city__info span {
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 575px) {
  .h2-city {
    height: 380px;
  }
}

/* --------------------------------------------------------------------------
   Hero – fixes
   1. Cockpit card vertically centred next to the text
   2. Search bar: simple fields on one line
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .h2h__glance {
    align-self: center;
    margin-top: 0;
  }
}

.h2h-search__form {
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
}

.h2h-search__field {
  flex: 1 1 0;
  height: 52px;
  padding: 0 18px;
  border-radius: 10px;
  background: #fff;
}

.h2h-search__field--keyword {
  flex-grow: 1.4;
}

.h2h-search__field input,
.h2h-search__field select {
  height: 100%;
  font-size: 15px;
  font-weight: 400;
  color: #555;
}

.h2h-search__field input::placeholder {
  color: #777;
}

.h2h-search__adv,
.h2h-search__go {
  min-height: 52px;
  height: 52px;
  border-radius: 10px;
}

@media (max-width: 1199px) {
  .h2h-search__field {
    flex: 1 1 calc(33.333% - 12px);
  }

  .h2h-search__adv,
  .h2h-search__go {
    flex: 1 1 calc(50% - 6px);
  }
}

@media (max-width: 575px) {
  .h2h-search__field {
    flex: 1 1 auto;
    padding: 0 16px;
  }
}

/* --------------------------------------------------------------------------
   Hero search bar: white card with soft ring, Advanced Search button
   -------------------------------------------------------------------------- */
.h2h-search .h2h-search__form {
  max-width: 1320px;
  margin: 0 auto;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--dh-sand);
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.45),
    0 24px 50px rgba(var(--dh-primary-rgb), 0.14);
}

.h2h-search .h2h-search__field {
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--dh-sand);
  border-radius: 10px;
}

.h2h-search .h2h-search__field input {
  font-size: 15px;
  color: var(--dh-primary);
}

.h2h-search .h2h-search__field input::placeholder {
  color: #666;
}

/* select fields: the nice-select box itself carries the border */
.h2h-search .h2h-search__field.h2h-search__field--select {
  padding: 0;
  border: 0;
}

.h2h-search .h2h-search__field--select .nice-select {
  margin: 0 !important;
  padding: 0 34px 0 20px;
  line-height: 50px;
  color: #666;
}

/* Advanced Search: white button with sand border (css/directhomes-hero.css) */
.h2h-search .h2h-search__adv.dh-advanced-btn {
  flex: 0 0 auto;
  height: 52px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--dh-sand);
  border-radius: 10px;
  background: #fff;
  color: var(--dh-primary);
  font-weight: 500;
}

.h2h-search .h2h-search__adv.dh-advanced-btn:hover,
.h2h-search .h2h-search__adv.dh-advanced-btn:focus {
  border-color: var(--dh-primary);
  background: var(--dh-bg);
}

.h2h-search .h2h-search__go {
  height: 52px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(var(--dh-primary-rgb), 0.3);
}

@media (max-width: 1199px) {
  .h2h-search .h2h-search__adv.dh-advanced-btn,
  .h2h-search .h2h-search__go {
    flex: 1 1 calc(50% - 6px);
  }
}

@media (max-width: 575px) {
  .h2h-search .h2h-search__form {
    padding: 14px;
  }

  .h2h-search .h2h-search__adv.dh-advanced-btn,
  .h2h-search .h2h-search__go {
    flex: 1 1 auto;
  }
}

/* --------------------------------------------------------------------------
   Hero – bigger Cockpit card on large screens
   -------------------------------------------------------------------------- */
@media (min-width: 1400px) {
  .h2h__glance {
    width: 380px;
    padding: 24px;
    font-size: 14px;
  }

  .h2h__glance-head p { font-size: 18px; }
  .h2h__glance-item img { width: 72px; height: 54px; }
  .h2h__glance-item strong { font-size: 14px; }
  .h2h__glance-tabs { font-size: 13px; }
  .h2h__glance-steps li { padding: 8px 0; }
  .h2h__glance-steps i { width: 110px; }
}

@media (min-width: 1700px) {
  .h2h__glance {
    width: 430px;
    padding: 28px;
    border-radius: 22px;
    font-size: 15px;
  }

  .h2h__glance-head p { font-size: 20px; }
  .h2h__glance-item img { width: 84px; height: 62px; }
  .h2h__glance-item strong { font-size: 15px; }
  .h2h__glance-item small { font-size: 13px; }
  .h2h__glance-tabs { font-size: 14px; }
  .h2h__glance-steps li > span { width: 26px; height: 26px; }
  .h2h__glance-steps i { width: 130px; height: 5px; }
}

/* --------------------------------------------------------------------------
   Photo property cards
   -------------------------------------------------------------------------- */
.h2-props .dh-featured__slide {
  padding: 14px 12px 24px;
}

.h2-pcard {
  position: relative;
  height: 470px;
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.h2-pcard__img {
  position: absolute;
  inset: 0;
  display: block;
}

.h2-pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* soft dark top so the tags stay readable */
.h2-pcard::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.h2-pcard__tags {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.h2-pcard__tags span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  color: var(--dh-primary);
}

.h2-pcard__tags .is-featured {
  background: var(--dh-accent);
  color: #fff;
}

.h2-pcard__actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.h2-pcard__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.h2-pcard__icon:hover,
.h2-pcard__icon:focus-visible {
  background: #fff;
  color: var(--dh-primary);
  outline: none;
}

.h2-pcard__icon.dh-action--fav.is-active {
  background: #fff;
  color: #c0392b;
}

.h2-pcard__icon.dh-action--fav.is-active .dh-icon-heart {
  fill: currentColor;
}

/* Floating info panel */
.h2-pcard__panel {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color 0.35s ease;
}

.h2-pcard__city {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 13.5px;
  color: #5f6b67;
  transition: color 0.35s ease;
}

.h2-pcard__city svg {
  flex: 0 0 auto;
  color: var(--dh-accent);
}

.dh-home2 .h2-pcard__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 10px;
  font-family: var(--dh-font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

.h2-pcard__title a {
  color: var(--dh-primary);
  text-decoration: none;
  transition: color 0.35s ease;
}

.h2-pcard__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: #5f6b67;
  transition: color 0.35s ease;
}

.h2-pcard__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--dh-sand);
  transition: border-color 0.35s ease;
}

.h2-pcard__price {
  font-family: var(--dh-font-heading);
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--dh-primary);
  transition: color 0.35s ease;
}

.h2-pcard__go {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dh-primary);
  color: #fff;
  transition: background-color 0.35s ease, transform 0.35s ease;
}

.h2-pcard__go:hover {
  color: #fff;
}

/* Hover: card lifts, panel turns green */
.h2-pcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(var(--dh-primary-rgb), 0.25);
}

.h2-pcard:hover .h2-pcard__img img {
  transform: scale(1.06);
}

.h2-pcard:hover .h2-pcard__panel {
  background: var(--dh-primary);
}

.h2-pcard:hover .h2-pcard__title a,
.h2-pcard:hover .h2-pcard__price {
  color: #fff;
}

.h2-pcard:hover .h2-pcard__city,
.h2-pcard:hover .h2-pcard__facts {
  color: #c9d6d1;
}

.h2-pcard:hover .h2-pcard__city svg {
  color: #D9B77A;
}

.h2-pcard:hover .h2-pcard__row {
  border-color: rgba(255, 255, 255, 0.2);
}

.h2-pcard:hover .h2-pcard__go {
  background: var(--dh-accent);
  transform: translateX(3px);
}

/* Popular section: sand background like the design */
body.dh-home2 section.h2-props.dh-discover {
  background: #EFE8DC;
}

/* "Looking for something specific?" strip */
.h2-find {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  margin-top: 30px;
  padding: 22px 28px;
  border: 1px solid var(--dh-sand);
  border-radius: 18px;
  background: #fff;
}

.h2-find__title {
  margin: 0 0 2px;
  font-family: var(--dh-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--dh-primary);
}

.h2-find__text {
  margin: 0;
  font-size: 14px;
  color: #5f6b67;
}

.h2-find__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 575px) {
  .h2-pcard {
    height: 430px;
  }

  .h2-find__btns,
  .h2-find__btns .h2-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .h2-pcard,
  .h2-pcard__img img {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Property sections – heading + description left,
   arrows right, aligned to the bottom of the text
   -------------------------------------------------------------------------- */
.h2-head.h2-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}

.h2-head--split .h2-head__main {
  max-width: 680px;
}

.h2-head--split .h2-title {
  margin-bottom: 14px;
}

.h2-head--split .h2-arrows {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .h2-head.h2-head--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Photo property cards – taller, real glass panel, icons, 1-line clamps
   -------------------------------------------------------------------------- */
.h2-pcard {
  height: 540px;
}

.h2-pcard__panel {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.h2-pcard:hover .h2-pcard__panel {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(var(--dh-primary-rgb), 0.88);
}

/* Title + description: one line each */
.dh-home2 .h2-pcard__title {
  display: block;
  -webkit-line-clamp: unset;
  overflow: hidden;
  margin-bottom: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.h2-pcard__desc {
  overflow: hidden;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #4f5a56;
  transition: color 0.35s ease;
}

.h2-pcard:hover .h2-pcard__desc {
  color: #d5e0dc;
}

/* Facts with icons */
.h2-pcard__facts {
  gap: 6px 16px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.h2-pcard__facts li {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.h2-pcard__facts svg {
  flex: 0 0 auto;
  color: var(--dh-primary);
  transition: color 0.35s ease;
}

.h2-pcard:hover .h2-pcard__facts svg {
  color: #D9B77A;
}

.h2-pcard__row {
  border-top-color: rgba(var(--dh-primary-rgb), 0.15);
}

@media (max-width: 575px) {
  .h2-pcard {
    height: 480px;
  }
}

/* --------------------------------------------------------------------------
   Testimonials: light cards
   -------------------------------------------------------------------------- */
.h2-rcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.35s ease, transform 0.35s ease;
}

.h2-rcard:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.h2-rcard__quote {
  display: block;
  height: 34px;
  margin-bottom: 14px;
  font-family: var(--dh-font-heading);
  font-size: 70px;
  line-height: 0.9;
  color: #D9B77A;
}

.h2-rcard__text {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.7;
  color: #e8eeec;
}

.h2-rcard__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.dh-testi-slider .owl-item .h2-rcard__who img {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.dh-home2 .h2-rcard__who h3 {
  margin: 0;
  font-family: var(--dh-font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-transform: none;
}

.h2-rcard__who span {
  font-size: 13px;
  color: #9fb3ad;
}

.h2-rcard__who .h2-rcard__pack {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid rgba(217, 183, 122, 0.5);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #D9B77A;
}

@media (max-width: 575px) {
  .h2-rcard {
    padding: 24px 22px;
  }
}

/* Narrower cards (4 per row on laptops): smaller facts so all three fit */
@media (max-width: 1599px) {
  .h2-pcard__panel {
    padding-right: 14px;
    padding-left: 14px;
  }

  .h2-pcard__facts {
    gap: 10px;
    font-size: 12.5px;
  }

  .h2-pcard__facts li {
    gap: 4px;
  }

  .h2-pcard__facts svg {
    width: 14px;
    height: 14px;
  }
}

/* --------------------------------------------------------------------------
   "The right way for your sale" cards – hover fixes
   - keep the text colours (the global a:hover turned everything gold)
   - zoom the photo inside its box, so no strip appears at its left edge
   -------------------------------------------------------------------------- */
.h2-path--light:hover,
.h2-path--light:focus {
  color: var(--dh-primary);
}

.h2-path--dark:hover,
.h2-path--dark:focus {
  color: #fff;
}

.h2-path__img {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Popular places – below 1700px exactly 4 cards (no half card at the end)
   -------------------------------------------------------------------------- */
/* removed: the carousel runs to the right screen edge again at all widths */

/* --------------------------------------------------------------------------
   -------------------------------------------------------------------------- */
.h2-props .dh-featured__slide {
  padding: 12px 15px 20px;
}

/* --------------------------------------------------------------------------
   Blog cards – photo with glass panel (same look as the photo property card)
   -------------------------------------------------------------------------- */
.h2-bcard {
  height: 460px;
}

.dh-home2 .h2-bcard__title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.h2-bcard__text {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.h2-bcard__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--dh-primary);
  transition: color 0.35s ease;
}

.h2-bcard:hover .h2-bcard__more {
  color: #fff;
}

.h2-blog__row {
  row-gap: 30px;
}

/* Header on this page: active/hovered link stays green (underline style) */
.dh-header-light #header:not(.cloned) .dh-nav-pill > li.is-active > a,
.dh-header-light #header:not(.cloned) .dh-nav-pill > li.is-hovered > a,
.dh-header-light #header:not(.cloned) .dh-nav-pill > li > a:hover {
  color: var(--dh-primary) !important;
}

/* --------------------------------------------------------------------------
   Space between big intro headings and their text (Packages, PROFI)
   -------------------------------------------------------------------------- */
.h2-intro__text .h2-title {
  margin-bottom: 18px;
}

.h2-intro__text .h2-subtitle {
  margin-top: -6px;
}

.h2-packages .dh-pricing__row {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Hero Cockpit preview – working tabs (Listing / Inquiries / Viewings)
   -------------------------------------------------------------------------- */
.h2h__glance-head small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a948f;
}

.h2h__glance-tabs {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  padding: 0;
  border-bottom: 1px solid #eee;
}

.h2h__glance-tabs button {
  flex: 1 1 0;
  padding: 7px 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  font-family: var(--dh-font-body);
  font-size: inherit;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.h2h__glance-tabs button:hover {
  color: var(--dh-primary);
}

.h2h__glance-tabs button.is-active {
  border-bottom-color: var(--dh-primary);
  font-weight: 600;
  color: var(--dh-primary);
}

.h2h__glance-tabs button:focus {
  outline: none;
  box-shadow: none;
}

.h2h__glance-tabs button:focus-visible {
  outline: 2px solid var(--dh-accent);
  outline-offset: 2px;
}

.h2h__glance-panel {
  min-height: 150px;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: h2h-fade 0.3s ease;
}

.h2h__glance-panel[hidden] {
  display: none;
}

@keyframes h2h-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

.h2h__glance-steps em {
  padding: 1px 8px;
  border-radius: 999px;
  background: #EEF3F1;
  font-size: 11px;
  font-weight: 600;
  color: var(--dh-primary);
}

/* Inquiries + Viewings rows */
.h2h__glance-msgs li,
.h2h__glance-dates li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #f1f1f1;
}

.h2h__glance-msgs li:last-child,
.h2h__glance-dates li:last-child {
  border-bottom: 0;
}

.h2h__glance-msgs li > b {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--dh-sand);
  font-size: 11px;
  color: var(--dh-primary);
}

.h2h__glance-msgs div,
.h2h__glance-dates div {
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.3;
}

.h2h__glance-msgs strong,
.h2h__glance-dates strong {
  display: block;
  font-size: 13px;
  color: #333;
}

.h2h__glance-msgs small,
.h2h__glance-dates small {
  display: block;
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #888;
}

.h2h__glance-msgs em,
.h2h__glance-dates em {
  flex: 0 0 auto;
  font-size: 11px;
  font-style: normal;
  color: #999;
}

.h2h__glance-day {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 38px;
  border-radius: 8px;
  background: var(--dh-bg);
  font-size: 10px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #888;
}

.h2h__glance-day b {
  font-family: var(--dh-font-heading);
  font-size: 15px;
  color: var(--dh-primary);
}

.h2h__glance-dates em.is-ok {
  font-weight: 600;
  color: var(--dh-primary);
}

/* --------------------------------------------------------------------------
   Popular places – 1300–1699px: 3 full cards + 0.7 of the next (3.7)
   padding = 0.7/3.7 of the visible width; JS shows 3 slides below 1700px
   -------------------------------------------------------------------------- */
@media (min-width: 1300px) and (max-width: 1699px) {
  .h2-places__slider .slick-list {
    padding-right: 18.92%;
  }
}

/* --------------------------------------------------------------------------
   Testimonial cards – more content (title, text, property)
   -------------------------------------------------------------------------- */
.h2-rcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.h2-rcard__top .h2-rcard__quote {
  margin-bottom: 0;
}

.h2-rcard__top .h2-rcard__pack {
  padding: 4px 10px;
  border: 1px solid rgba(217, 183, 122, 0.5);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #D9B77A;
}

.h2-rcard__title {
  margin: 0 0 10px;
  font-family: var(--dh-font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.h2-rcard__text {
  margin-bottom: 20px;
}

.h2-rcard__home {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 13.5px;
  color: #b9c9c4;
}

.h2-rcard__home svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #D9B77A;
}

.h2-rcard__who {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* FAQ – a bit more space above the Contact us button */
.h2-faq .h2-faq__cta {
  margin-top: 36px;
}

.h2-rcard__quote {
  margin-bottom: 14px;
}

.h2-rcard__stars {
  margin: 0 0 22px;
  color: #D9B77A;
}

/* --------------------------------------------------------------------------
   Section backgrounds: white sections alternate with warm cream sections
   with the dot pattern.
   .h2-bg-white  → plain white
   .h2-bg-dots   → cream (--dh-bg) + dots
   Order: hero (cream) · paths white · places dots · featured white ·
          packages dots · PROFI white · discover dots · reviews green ·
          FAQ white · blog dots · footer
   -------------------------------------------------------------------------- */
body.dh-home2 section.h2-section.h2-bg-white {
  background: #fff;
  background-image: none;
}

body.dh-home2 section.h2-section.h2-bg-dots {
  background-color: var(--dh-bg);
  background-image: radial-gradient(rgba(var(--dh-primary-rgb), 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Search bar: top half sits on the cream hero, bottom half on the white
   "paths" section – so the white starts right under the hero */
.h2h-search {
  background: linear-gradient(180deg, transparent 0, transparent 62px, #fff 62px);
}

/* Packages + PROFI intro: no photo – heading (2 lines) left, CTA right,
   aligned to the bottom of the text (same as the other section heads) */
.h2-head--split.h2-intro .h2-head__main {
  max-width: 820px;
}

.h2-intro__cta {
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   -------------------------------------------------------------------------- */
.dh-home2 .h2-rcard {
  border: 1px solid var(--dh-sand);
  background: var(--dh-bg);
}

.dh-home2 .h2-rcard:hover {
  background: var(--dh-bg);
  box-shadow: 0 16px 36px rgba(var(--dh-primary-rgb), 0.1);
}

.dh-home2 .h2-rcard__quote,
.dh-home2 .h2-rcard__stars {
  color: var(--dh-accent);
}

.dh-home2 .h2-rcard__title,
.dh-home2 .h2-rcard__who h3 {
  color: var(--dh-primary);
}

.dh-home2 .h2-rcard__text {
  color: #555;
}

.dh-home2 .h2-rcard__who {
  border-top-color: var(--dh-sand);
}

.dh-home2 .h2-rcard__who span {
  color: #777;
}

/* Packages: less space between the heading and the package cards */
.h2-packages .h2-intro {
  margin-bottom: clamp(16px, 1.6vw, 28px);
}

/* testimonials: the older sand rule above is more specific – force white */
body.dh-home2 section.testimonials.dh-testimonials.h2-reviews.h2-bg-white {
  background: #fff;
}

.h2-packages .dh-pricing .dh-pricing__row {
  margin-top: 0;
  padding-top: 20px; /* room for the "Bestseller" badge */
}

/* Search bar: no white outer ring, only the soft drop shadow */
.h2h-search .h2h-search__form {
  box-shadow: 0 24px 50px rgba(var(--dh-primary-rgb), 0.14);
}

/* Packages + PROFI intro headings (2 lines): tighter line height */
.h2-intro .h2-title {
  line-height: 1.04;
}

/* Packages: a bit more space between the heading and the cards */
.h2-packages .h2-intro {
  margin-bottom: clamp(28px, 2.6vw, 44px);
}
