@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Jost:wght@300;400;500&display=swap');

/* ============================================================
   SIGNATURE HABITAT — light edition · ivory body, gold × flame
   ============================================================ */
:root {
  --bg:      #fdfcf8;          /* warm white body */
  --bg-2:    #f6f1e6;          /* sand panel */
  --card:    #ffffff;
  --ink:     #17120b;          /* primary text */
  --muted:   #4f4638;          /* secondary text */
  --night:   #0c0a07;          /* dark bands: hero, awards, newsletter, footer */
  --night-2: #14110a;
  --ivory:   #f3ecdd;
  --gold:    #b8912a;          /* deep gold, readable on white */
  --gold-lt: #e9c75d;
  --gold-dk: #8a6a1c;
  --flame:   #eb6d12;
  --flame-lt:#ff8a3d;
  --line:    rgba(184,145,42,.32);
  --line-soft: rgba(33,28,18,.12);
  --line-dark: rgba(243,236,221,.10);
  --shadow:  0 24px 60px -22px rgba(33,28,18,.18);
  --serif:   'Marcellus', Georgia, 'Times New Roman', serif;
  --sans:    'Jost', 'Century Gothic', system-ui, sans-serif;
  --pad:     clamp(20px, 5vw, 80px);
  --maxw:    1480px;
}

/* Shared enquiry forms and contact actions */
.sh-contact-form {
  --sh-field-height: 52px;
  min-width: 0;
}

.theme-page-modern .sh-contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.theme-page-modern .sh-contact-form .input-field,
.theme-page-modern .sh-contact-form .form-group,
.theme-page-modern .sh-contact-form .custom-dropdown,
.theme-page-modern .sh-contact-form .iti {
  min-width: 0;
  width: 100%;
}

.theme-page-modern .sh-contact-form .form-group {
  margin-bottom: 16px;
}

.theme-page-modern .sh-contact-form label {
  display: block;
  margin: 0 0 8px;
  color: #a97708 !important;
  font-family: var(--sans) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.theme-page-modern .sh-contact-form input:not([type="checkbox"]),
.theme-page-modern .sh-contact-form select,
.theme-page-modern .sh-contact-form textarea {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  min-height: var(--sh-field-height) !important;
  margin: 0 !important;
  padding: 13px 15px !important;
  border: 1px solid rgba(33, 28, 18, .2) !important;
  border-radius: 3px !important;
  color: var(--ink) !important;
  background: #fff !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.theme-page-modern .sh-contact-form select {
  padding-right: 42px !important;
  appearance: auto;
}

.theme-page-modern .sh-contact-form textarea {
  min-height: 138px !important;
}

.theme-page-modern .sh-contact-form .custom-dropdown {
  position: relative;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  line-height: normal !important;
  box-shadow: none !important;
}

.theme-page-modern .sh-contact-form input:focus,
.theme-page-modern .sh-contact-form select:focus,
.theme-page-modern .sh-contact-form textarea:focus {
  border-color: var(--flame) !important;
  outline: 2px solid rgba(242, 106, 15, .08) !important;
  outline-offset: 0;
}

.sh-contact-form .iti {
  display: block !important;
  direction: ltr;
}

.sh-contact-form input#phone {
  padding-left: 62px !important;
}

.sh-contact-form .iti__flag-container {
  left: 0 !important;
  right: auto !important;
  padding: 0 !important;
}

.sh-contact-form .iti__selected-flag {
  min-width: 52px;
  padding: 0 10px !important;
  border-right: 1px solid rgba(33, 28, 18, .12);
  background: rgba(250, 247, 240, .92) !important;
}

.sh-contact-form .iti__country-list {
  z-index: 60 !important;
  width: min(340px, calc(100vw - 48px)) !important;
  max-width: none !important;
  max-height: 260px;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans) !important;
  white-space: normal !important;
}

.sh-contact-form .iti__country {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px !important;
  white-space: normal !important;
}

.sh-contact-form .iti__country-name,
.sh-contact-form .iti__dial-code {
  white-space: normal !important;
}

.theme-page-modern .sh-contact-form button[type="submit"] {
  min-height: 50px;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 3px !important;
  color: #fff !important;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  font-family: var(--sans) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
}

.theme-page-modern .sh-contact-form .g-recaptcha {
  min-height: 78px;
  margin-top: 10px;
  overflow: hidden;
}

.sh-contact-detail {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
}

.sh-contact-icon,
.sh-contact-detail > svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: var(--flame);
}

.sh-contact-detail a,
.sh-contact-detail span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sh-contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sh-contact-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  color: #fff !important;
  background: linear-gradient(105deg, var(--flame), var(--gold-lt));
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none !important;
  text-transform: uppercase;
}

.sh-contact-actions svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Replace legacy icon-font fallbacks with local vector masks. */
.theme-page-modern .fa-angle-right,
.theme-page-modern .fa-search,
.theme-page-modern .fa-clock-o,
.theme-page-modern .fa-eye,
.theme-page-modern .fa-bed,
.theme-page-modern .fa-bath,
.theme-page-modern .fa-shower,
.theme-page-modern .fa-share-square-o,
.theme-page-modern .fa-map-marker,
.theme-page-modern .fa-calendar,
.theme-page-modern .fa-check {
  display: inline-block !important;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: inherit;
  background-color: currentColor;
  font-size: 0 !important;
  line-height: 0 !important;
  vertical-align: -3px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.theme-page-modern .fa-angle-right {
  width: 12px;
  height: 12px;
  color: var(--gold);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}

.theme-page-modern .fa-search {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='2' d='m21 21-4.3-4.3M19 11a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='2' d='m21 21-4.3-4.3M19 11a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z'/%3E%3C/svg%3E");
}

.theme-page-modern .fa-clock-o,
.theme-page-modern .fa-calendar {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 7v5l3 2M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 7v5l3 2M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/%3E%3C/svg%3E");
}

.theme-page-modern .fa-eye {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Zm10 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Zm10 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.theme-page-modern .fa-bed {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 4v16M22 11v9M2 16h20M6 11V7h5a3 3 0 0 1 3 3v1M2 11h20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 4v16M22 11v9M2 16h20M6 11V7h5a3 3 0 0 1 3 3v1M2 11h20'/%3E%3C/svg%3E");
}

.theme-page-modern .fa-bath,
.theme-page-modern .fa-shower {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 12V6a2 2 0 0 1 4 0M2 12h20v2a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4v-2Zm4 6-1 3m13-3 1 3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 12V6a2 2 0 0 1 4 0M2 12h20v2a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4v-2Zm4 6-1 3m13-3 1 3'/%3E%3C/svg%3E");
}

.theme-page-modern .fa-share-square-o {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 3h9v9m0-9-11 11M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 3h9v9m0-9-11 11M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");
}

.theme-page-modern .fa-map-marker {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Zm-8 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Zm-8 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.theme-page-modern .fa-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

.theme-page-modern .fa-facebook::before,
.theme-page-modern .fa-twitter::before,
.theme-page-modern .fa-google::before {
  display: inline-grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
}

.theme-page-modern .fa-facebook::before { content: "f" !important; }
.theme-page-modern .fa-twitter::before { content: "X" !important; }
.theme-page-modern .fa-google::before { content: "G" !important; }

.menu-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.theme-contact-page .map-content-9 {
  align-items: stretch;
  overflow: hidden;
}

.theme-contact-page .cont-details {
  padding: clamp(28px, 4vw, 52px) !important;
}

.theme-contact-page .cont-details address {
  margin: 0;
}

.theme-contact-page .cont-details h5 {
  font-size: clamp(2rem, 3vw, 3.3rem) !important;
}

@media (max-width: 767px) {
  .menu-open .menu-close-btn {
    display: grid;
    place-items: center;
  }

  .theme-page-modern .featuredbtn > .row {
    width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .theme-page-modern .featuredbtn .owl-carousel,
  .theme-page-modern .featuredbtn .owl-stage-outer {
    max-width: 100%;
  }

  .theme-page-modern .sh-contact-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .theme-page-modern .sh-contact-form .g-recaptcha > div {
    transform: scale(.86);
    transform-origin: left top;
  }

  .sh-contact-form .iti__country-list {
    width: min(310px, calc(100vw - 64px)) !important;
  }

  .sh-contact-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-contact-page .cont-details {
    margin-top: 20px;
  }
}

/* Base override to apply the theme globally */
body, button, input, select, textarea, label, option, a, p, span, li {
  font-family: var(--sans) !important;
}

body {
  background: var(--bg) !important;
  color: var(--ink) !important;
  line-height: 1.72 !important;
  letter-spacing: .01em !important;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23b8912a' stroke-width='0.7'%3E%3Cpath d='M48 18 L57 39 L78 48 L57 57 L48 78 L39 57 L18 48 L39 39 Z'/%3E%3Cpath d='M48 0 L48 12 M48 84 L48 96 M0 48 L12 48 M84 48 L96 48'/%3E%3C/g%3E%3C/svg%3E");
}

/* Headlines */
h1, h2, h3, .serif-font, h1 *, h2 *, h3 *, .serif-font * {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: .01em !important;
  color: var(--ink);
}

.gold-text {
  background: linear-gradient(100deg, var(--gold-dk) 0%, var(--gold) 45%, var(--flame) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before, .eyebrow.center::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--flame), transparent);
}

.eyebrow.center::before {
  background: linear-gradient(90deg, transparent, var(--flame));
}

.lead {
  color: var(--muted) !important;
  font-weight: 400 !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 30px 15px;
  border: 1px solid var(--flame) !important;
  color: var(--flame) !important;
  position: relative;
  overflow: hidden;
  transition: color .45s, background-color .45s;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn:hover {
  color: #fff !important;
  text-decoration: none;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn.solid {
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
  border: none !important;
  padding: 17px 32px 16px;
}

.btn.solid:hover {
  color: var(--night) !important;
}

.btn.solid::before {
  background: linear-gradient(105deg, var(--gold-lt), #f59a2e, var(--flame));
}

.btn.ghost-light {
  border-color: rgba(243, 236, 221, 0.7) !important;
  color: var(--ivory) !important;
}

/* Modern Header / Navigation */
.nav-fixed-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  --nav-inline: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  padding: 12px var(--nav-inline);
  transition: background .5s, padding .5s, border-color .5s, backdrop-filter .5s, box-shadow .5s;
  border-bottom: 1px solid transparent;
}

.nav-fixed-modern > a {
  flex: 0 0 auto;
}

.nav-fixed-modern .logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.35));
  transition: filter .5s, height .5s;
}

.nav-fixed-modern.scrolled {
  background: rgba(253, 252, 248, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px var(--nav-inline);
  border-color: var(--line-soft);
  box-shadow: 0 10px 40px -20px rgba(33, 28, 18, 0.18);
}

.nav-fixed-modern.scrolled .logo-img {
  filter: none !important;
  height: 34px;
}

.nav-links-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: clamp(9px, 1vw, 18px);
  transform: translateY(3px);
}

.nav-links-modern a {
  font-size: 11.5px;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88) !important;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.3s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

.nav-fixed-modern.scrolled .nav-links-modern a {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.28);
}

.nav-links-modern a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: rgba(235, 109, 18, 0.42);
  transform: scaleX(1);
  transform-origin: left;
  opacity: 1;
  transition: background .35s, height .35s, transform .45s cubic-bezier(.22,1,.36,1);
}

.nav-links-modern a:hover {
  background: linear-gradient(100deg, #ffe28a 0%, #f5b942 42%, var(--flame) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-decoration: none;
}

.nav-fixed-modern.scrolled .nav-links-modern a:hover {
  color: transparent !important;
}

.nav-links-modern a:hover::after {
  height: 2px;
  background: linear-gradient(100deg, #ffe28a 0%, #f5b942 42%, var(--flame) 100%);
}

.nav-right-modern {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
}

.nav-phone-modern {
  font-size: 13px;
  letter-spacing: .12em;
  color: rgba(243, 236, 221, 0.85);
  transition: color .3s;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.nav-fixed-modern.scrolled .nav-phone-modern {
  color: var(--muted);
  text-shadow: none;
}

.nav-phone-modern:hover {
  color: var(--flame) !important;
  text-decoration: none;
}

.nav-cta-modern {
  min-height: 40px;
  padding: 8px 14px 7px;
  font-size: 10.5px;
  letter-spacing: .13em;
}

/* Modern Hero Section */
.hero-modern {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 70px;
  background: var(--night);
}

.hero-media-modern {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #241c10, #0c0a07);
  --hero-depth: 0;
  --hero-back-y: 0px;
  --hero-back-scale: 1;
  --hero-content-y: 0px;
  --hero-content-opacity: 1;
  --hero-left-cloud-x: 0px;
  --hero-right-cloud-x: 0px;
  --hero-smoke-y: 0px;
  --hero-smoke-opacity: .62;
  perspective: 1200px;
}

.hero-picture-modern {
  position: absolute;
  inset: -4%;
  display: block;
  transform: translate3d(0, var(--hero-back-y), 0) scale(var(--hero-back-scale));
  transform-origin: center bottom;
  will-change: transform;
}

.hero-media-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 16s ease-out forwards;
  transform-origin: center;
}

@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1.0); }
}

.hero-media-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,10,7,.72) 0%, rgba(12,10,7,.45) 42%, rgba(12,10,7,.18) 100%),
    linear-gradient(180deg, rgba(12,10,7,.5) 0%, rgba(12,10,7,.12) 45%, rgba(12,10,7,.6) 100%);
}

.hero-depth-gradient-modern,
.hero-cloud-modern,
.hero-smoke-modern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-depth-gradient-modern {
  z-index: 1;
  opacity: calc(.2 + (var(--hero-depth) * .3));
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 210, 128, .18), transparent 25%),
    radial-gradient(circle at 76% 48%, rgba(255, 111, 18, .12), transparent 30%);
  mix-blend-mode: screen;
  transform: translate3d(0, calc(var(--hero-back-y) * -.24), 0);
  will-change: opacity, transform;
}

.hero-cloud-modern {
  z-index: 2;
  height: 34%;
  top: auto;
  opacity: .34;
  filter: blur(18px);
  background:
    radial-gradient(ellipse at 12% 54%, rgba(255,255,255,.46), transparent 43%),
    radial-gradient(ellipse at 42% 66%, rgba(255,227,185,.27), transparent 42%),
    radial-gradient(ellipse at 72% 58%, rgba(255,255,255,.26), transparent 46%);
  transform: translate3d(var(--hero-left-cloud-x), 0, 0);
  will-change: transform;
}

.hero-cloud-modern-a {
  left: -14%;
  right: 46%;
  bottom: 15%;
}

.hero-cloud-modern-b {
  left: 48%;
  right: -16%;
  bottom: 26%;
  opacity: .24;
  transform: translate3d(var(--hero-right-cloud-x), 0, 0) scaleX(-1);
}

.hero-smoke-modern {
  z-index: 3;
  top: auto;
  height: 28%;
  bottom: -7%;
  opacity: var(--hero-smoke-opacity);
  filter: blur(14px);
  background:
    radial-gradient(ellipse at 18% 48%, rgba(255,255,255,.5), transparent 46%),
    radial-gradient(ellipse at 48% 56%, rgba(255,234,203,.35), transparent 48%),
    radial-gradient(ellipse at 78% 50%, rgba(255,255,255,.44), transparent 48%);
  transform: translate3d(0, var(--hero-smoke-y), 0);
  will-change: transform, opacity;
}

.hero-inner-modern {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
  z-index: 2;
  transform: translate3d(0, var(--hero-content-y, 0px), 0);
  opacity: var(--hero-content-opacity, 1);
  will-change: transform, opacity;
}

.hero-modern .eyebrow {
  margin-bottom: 28px;
  color: var(--gold-lt);
}

.hero-modern h1 {
  font-family: var(--sans) !important;
  font-weight: 300 !important;
  font-size: clamp(4rem, 7.3vw, 5.9rem) !important;
  max-width: 1320px;
  color: #fdfcf8 !important;
  text-shadow: 0 3px 26px rgba(0,0,0,.5);
}

.hero-modern h1 span {
  font-family: var(--sans) !important;
  font-weight: 300 !important;
  color: #fdfcf8 !important;
}

.hero-modern h1 .hl {
  display: block;
  overflow: hidden;
  font-size: inherit !important;
  line-height: inherit !important;
}

.hero-modern h1 .hl > span {
  display: inline-block;
  font-size: inherit !important;
  line-height: inherit !important;
  transform: translateY(112%);
  animation: slideUp 1.3s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-modern h1 .hl:nth-child(1) > span { animation-delay: 0.15s; }
.hero-modern h1 .hl:nth-child(2) > span { animation-delay: 0.3s; }

@keyframes slideUp {
  to { transform: translateY(0); }
}

.hero-modern h1 .brand {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(100deg, #ffe28a 0%, #f5b942 40%, var(--flame) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 18px rgba(0,0,0,.55));
}

.hero-modern .lead {
  max-width: 540px;
  margin-top: 24px;
  color: #e8e0cd !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(.22,1,.36,1) forwards 0.6s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Search Tabs & Fields */
.tabs-modern {
  display: flex;
  gap: 8px;
  margin-top: 44px;
}

.tab-modern {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #f0e6cf;
  padding: 13px 28px 12px;
  border: 1px solid rgba(243, 236, 221, 0.28);
  background: rgba(12, 10, 7, 0.5);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color .35s, background .35s, border-color .35s;
}

.tab-modern.active {
  background: linear-gradient(105deg, var(--flame), #f5a73a) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.search-modern-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr auto;
  align-items: stretch;
  background: rgba(12, 10, 7, 0.66);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(243, 236, 221, 0.22);
}

.search-modern-form .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 26px;
  border-right: 1px solid rgba(243, 236, 221, 0.12);
  justify-content: center;
}

.search-modern-form label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 0;
}

.search-modern-form select {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #fdfcf8 !important;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23eb6d12' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  padding-right: 22px !important;
  box-shadow: none !important;
}

.search-modern-form select option {
  background: var(--night-2) !important;
  color: var(--ivory) !important;
}

.search-modern-form .go {
  border: none;
  padding: 0;
}

.search-modern-form .go button {
  height: 100%;
  width: 100%;
  border: none !important;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
  min-height: 68px;
  padding: 0 42px;
  cursor: pointer;
}

/* Select2 integration styling */
.select2-container--default .select2-selection--multiple {
  background-color: transparent !important;
  border: none !important;
  color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--flame) !important;
  border: none !important;
  color: #fff !important;
  font-size: 12px !important;
  border-radius: 4px !important;
}

/* Partners Logo Rail */
.partners-modern {
  border-bottom: 1px solid var(--line-soft);
  padding: 48px 0;
  background: var(--card);
  overflow: hidden;
}

.partners-modern .row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  width: min(calc(100% - (2 * var(--pad))), calc(var(--maxw) - (2 * var(--pad))));
  max-width: calc(var(--maxw) - (2 * var(--pad)));
  margin: 0 auto;
  padding: 0;
}

.partners-modern small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}

.partners-modern .logo-rail {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-modern .logos {
  --partner-gap: clamp(42px, 6vw, 92px);
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--partner-gap);
  flex-wrap: nowrap;
  animation: partnerSlide 24s linear infinite;
}

.partners-modern .logos img {
  flex: 0 0 auto;
  height: clamp(60px, 6vw, 84px);
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.72);
  transition: filter .4s, transform .4s;
}

.partners-modern .logos img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.06);
}

@keyframes partnerSlide {
  to { transform: translate3d(calc(-50% - (var(--partner-gap) / 2)), 0, 0); }
}

/* Sections General */
.section-modern {
  padding: clamp(80px, 10vh, 130px) 0;
  position: relative;
  z-index: 1;
}

.sh-home .section-modern > .container {
  width: min(calc(100% - (2 * var(--pad))), calc(var(--maxw) - (2 * var(--pad)))) !important;
  max-width: calc(var(--maxw) - (2 * var(--pad))) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.section-modern.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.sec-head-modern {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 56px;
}

.sec-head-modern h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  max-width: 18ch;
  margin-top: 16px;
}

.sec-head-modern .side {
  max-width: 390px;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 400;
}

/* Property Listings Grid */
.list-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

#hot .list-grid-modern {
  gap: clamp(28px, 3vw, 42px);
}

.listing-card-modern {
  background: transparent;
  border: 0;
  transition: transform .5s;
  display: flex;
  flex-direction: column;
}

.listing-card-modern:hover {
  transform: translateY(-6px);
  text-decoration: none !important;
}

.listing-card-modern .ph {
  position: relative;
  aspect-ratio: 16/10.5;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
}

.listing-card-modern .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(.22,1,.36,1);
}

.listing-card-modern:hover .ph img {
  transform: scale(1.06);
}

.listing-card-modern .ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 9.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(105deg, var(--flame), var(--flame-lt));
  padding: 7px 14px 6px;
}

.listing-card-modern .body {
  padding: 22px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.listing-card-modern .price {
  font-family: var(--serif) !important;
  font-size: 1.4rem;
  color: var(--ink);
}

.listing-card-modern .price small {
  font-family: var(--sans) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--gold);
}

.listing-card-modern h3 {
  font-size: 1.2rem !important;
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  color: var(--ink);
}

.listing-card-modern .loc {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.listing-card-modern .loc::before {
  content: "◆ ";
  color: var(--flame);
  font-size: 8px;
  vertical-align: 2px;
}

.listing-card-modern .specs {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(33, 28, 18, 0.1);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
}

.listing-card-modern .specs b {
  color: var(--ink);
  font-weight: 400;
}

.listing-card-modern .dev {
  color: var(--flame);
}

/* Sell / Valuate Section */
.sell-modern {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.sell-modern .grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.sell-modern .eyebrow {
  margin-bottom: 18px;
}

.sell-modern h2 {
  margin-bottom: 18px;
  line-height: 1.12;
}

.sell-modern .lead {
  margin-top: 0;
  line-height: 1.55;
}

.betters-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.better-modern {
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color .5s, box-shadow .5s, transform .5s;
}

.better-modern:hover {
  border-color: rgba(184, 145, 42, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.better-modern b {
  display: block;
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem) !important;
  color: var(--ink);
  line-height: 1.15;
}

.better-modern b em {
  font-style: normal;
  color: var(--flame);
}

.better-modern h3 {
  font-size: 13px !important;
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin: 12px 0 8px !important;
}

.better-modern p {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}

/* Who We Are Section */
.who-modern {
  background:
    linear-gradient(180deg, rgba(253, 252, 248, 0.98), rgba(246, 241, 230, 0.94));
}

.who-shell-modern {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.04fr);
  align-items: stretch;
  gap: clamp(34px, 5vw, 72px);
}

.who-media-modern {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr minmax(140px, 0.3fr);
  grid-template-rows: minmax(320px, 1fr) auto;
  gap: 18px;
  align-content: start;
}

.who-hero-frame-modern,
.who-secondary-frame-modern {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
  box-shadow: var(--shadow);
}

.who-hero-frame-modern::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  z-index: -1;
}

.who-hero-frame-modern {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: 520px;
}

.who-secondary-frame-modern {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  min-height: 228px;
}

.who-hero-frame-modern::after,
.who-secondary-frame-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 7, 0) 38%, rgba(12, 10, 7, 0.54) 100%),
    linear-gradient(90deg, rgba(12, 10, 7, 0.14), rgba(12, 10, 7, 0));
  pointer-events: none;
}

.who-media-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.who-content-modern {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(8px, 1vw, 18px) 0;
}

.who-content-modern .eyebrow {
  margin-bottom: 18px;
}

.who-content-modern h2 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
}

.who-content-modern p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.78;
  margin-bottom: 20px;
}

.who-lead-modern {
  color: #2f281e !important;
  font-size: clamp(17px, 1.35vw, 20px) !important;
  line-height: 1.75 !important;
  margin-bottom: 16px !important;
}

.who-value-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 14px 0 30px;
}

.who-value-card-modern {
  min-height: 198px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px -34px rgba(33, 28, 18, 0.24);
}

.who-value-card-modern .k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--flame), var(--gold-lt));
  color: #fff;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.who-value-card-modern h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.16;
}

.who-value-card-modern p {
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}

.who-points-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 660px;
  margin-bottom: 38px;
}

.who-points-modern span {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 50px;
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  transition: border-color .4s, transform .4s, box-shadow .4s;
}

.who-points-modern span:hover {
  border-color: rgba(184, 145, 42, 0.28);
  box-shadow: 0 18px 42px -30px rgba(33, 28, 18, 0.32);
  transform: translateY(-2px);
}

.who-points-modern span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transform: translateY(-50%);
  background:
    linear-gradient(135deg, var(--flame), var(--gold-lt));
  box-shadow: 0 0 0 6px rgba(235, 109, 18, 0.08);
}

.who-points-modern b {
  font-weight: 500;
}

.who-proof-modern {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 3;
  padding: 22px 24px;
  border: 1px solid rgba(243, 236, 221, 0.24);
  background: rgba(12, 10, 7, 0.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ivory);
}

.who-proof-modern span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-lt);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.who-proof-modern b {
  display: block;
  font-family: var(--serif) !important;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.15;
}

.who-stats-modern {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: grid;
  gap: 14px;
}

.who-stats-modern article {
  padding: 18px 16px;
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  min-height: 110px;
}

.who-stats-modern strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif) !important;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}

.who-stats-modern span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.who-actions-modern {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.who-actions-modern p {
  margin: 0 !important;
  max-width: 420px;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* Reviews Ticker / Carousel */
.r-rail-modern {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 31vw, 430px);
  gap: 20px;
  max-width: 100%;
  overflow-x: auto;
  padding: 6px 6px 22px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.r-rail-modern::-webkit-scrollbar {
  height: 3px;
}

.r-rail-modern::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.review-card-modern {
  scroll-snap-align: start;
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .5s, box-shadow .5s;
}

.review-card-modern:hover {
  border-color: rgba(184, 145, 42, 0.24);
  box-shadow: var(--shadow);
}

.review-card-modern .stars {
  color: var(--flame);
  letter-spacing: .32em;
  font-size: 13px;
}

.review-card-modern blockquote {
  font-size: 15.5px;
  color: #2f281e;
  line-height: 1.8;
  flex: 1;
  font-weight: 400;
  margin: 0;
  border: none;
  padding: 0;
}

.review-card-modern .who {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.review-card-modern .who b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .06em;
}

.review-card-modern .who span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-card-modern .g {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.review-card-modern .g b {
  color: var(--flame);
  font-weight: 500;
}

.r-nav-modern {
  display: flex;
  gap: 10px;
}

.r-nav-modern button {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--gold-dk);
  font-size: 18px;
  cursor: pointer;
  transition: background .35s, color .35s, border-color .35s;
}

.r-nav-modern button:hover {
  background: linear-gradient(105deg, var(--flame), #f5a73a);
  color: #fff;
  border-color: transparent;
}

/* Google Reviews - sh-new-nu inspired rail */
.google-reviews-modern {
  overflow: hidden;
}

.google-icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.google-review-head {
  align-items: flex-end;
}

.google-review-head .side {
  margin-top: 16px;
  max-width: 560px;
  color: var(--muted);
}

.google-score-modern {
  min-width: 176px;
  border: 1px solid rgba(33, 28, 18, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  box-shadow: 0 18px 45px -34px rgba(33, 28, 18, .34);
}

.g-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(33, 28, 18, 0.1);
}

.google-g-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.google-score-modern strong {
  font-family: var(--serif) !important;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--ink);
}

.google-score-modern small {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.google-review-viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 8px 0 18px;
}

.google-review-rail {
  display: flex;
  width: max-content;
  gap: 18px;
  overflow: visible;
  padding: 0;
  scrollbar-width: none;
  animation: googleReviewSlide 24s linear infinite;
}

.google-review-rail:hover {
  animation-play-state: paused;
}

.google-review-rail::-webkit-scrollbar {
  display: none;
}

@keyframes googleReviewSlide {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

.google-review-rail .review-card-modern {
  width: clamp(310px, 28vw, 420px);
  min-height: 270px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(33, 28, 18, 0.09);
  padding: 24px;
  box-shadow: 0 24px 60px -44px rgba(33, 28, 18, .42);
}

.review-card-modern .review-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card-modern .review-top > div {
  min-width: 0;
  flex: 1;
}

.review-card-modern .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--flame), var(--gold-lt));
  color: #fff;
  font-weight: 500;
}

.review-card-modern .review-top b {
  display: block;
  font-family: var(--serif) !important;
  font-size: 1.05rem;
  color: var(--ink);
}

.review-card-modern .review-top span:not(.avatar):not(.g-mark) {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.review-card-modern .g {
  display: flex;
  align-items: center;
  gap: 7px;
}

.review-card-modern .g .google-g-icon-small {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.google-review-rail .review-card-modern .stars {
  color: #f6a400;
  letter-spacing: .18em;
  margin-top: 2px;
}

.google-review-rail .review-card-modern blockquote {
  font-size: 15px;
  line-height: 1.78;
}

/* Flying AML inspired management and group company cards */
.fc-management-section,
.fc-group-section {
  position: relative;
}

.fc-section-head h2 {
  max-width: 760px;
}

.fc-team-grid,
.fc-company-grid {
  gap: 24px;
}

.fc-member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(33, 28, 18, .08);
  box-shadow: 0 24px 70px -54px rgba(33, 28, 18, .55);
}

.fc-member-card .ph {
  border-radius: 0;
  aspect-ratio: 4 / 4.7;
  background: #d8dedc;
}

.fc-member-card .ph img {
  object-position: center 18%;
}

.fc-member-card .info {
  position: relative;
  flex: 1;
  min-height: 125px;
  padding: 24px 24px 26px;
  background: #fff;
}

.fc-member-card h3 {
  font-size: 1.55rem !important;
}

.fc-company-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(12, 10, 7, .92), rgba(32, 28, 22, .88)),
    radial-gradient(circle at 20% 15%, rgba(233,199,93,.2), transparent 28%);
  border: 1px solid rgba(243, 236, 221, .1);
  color: var(--ivory);
}

.fc-company-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.55) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.fc-company-card .glyph {
  position: absolute;
  top: 24px;
  left: 26px;
  margin: 0;
  font-family: var(--sans) !important;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--gold-lt);
}

.fc-company-card h3 {
  position: relative;
  color: #fff !important;
  font-size: 1.45rem !important;
  margin-bottom: 14px !important;
}

.fc-company-card p {
  position: relative;
  color: rgba(243,236,221,.78);
  line-height: 1.75;
}

.fc-company-card .company-arrow {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243,236,221,.2);
  color: var(--gold-lt);
  transition: transform .35s, background .35s, color .35s;
}

.fc-company-card:hover .company-arrow {
  transform: translate(4px, -4px);
  background: linear-gradient(135deg, var(--flame), var(--gold-lt));
  color: #fff;
}

/* Flyingcolour group companies */
.group-companies-live {
  padding-top: 100px;
  padding-bottom: 100px;
  color: #fff;
  background: radial-gradient(circle, #12141c 0%, #07080a 100%) !important;
}

.group-icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.group-companies-live .group-head-modern {
  max-width: 760px;
  margin-bottom: 54px;
}

.group-companies-live .group-head-modern .eyebrow {
  display: block;
  margin: 0 auto 12px;
  color: var(--flame);
}

.group-companies-live .group-head-modern h2 {
  margin-top: 0 !important;
  color: #fff !important;
  font-family: var(--serif) !important;
  font-size: clamp(2.35rem, 3.15vw, 2.95rem) !important;
  font-weight: 400 !important;
  line-height: 1.24;
}

.group-companies-live .group-head-modern p {
  max-width: 720px;
  margin: 18px auto 0 !important;
  color: rgba(255, 255, 255, .58);
  font-size: 16px;
  line-height: 1.7;
}

.group-companies-live .grp-grid-modern {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  padding-top: 0;
}

.group-company-card {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 40px 30px 35px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
  font-family: var(--sans) !important;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.group-company-card:hover {
  transform: translateY(-6px);
  border-color: rgba(235, 109, 18, .42);
  background: linear-gradient(180deg, rgba(235, 109, 18, .07), rgba(255, 255, 255, .01));
}

.group-company-card .card-header-group {
  min-height: 190px;
}

.group-company-card .card-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 50px;
  color: var(--flame);
  background: rgba(235, 109, 18, .1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.group-company-card h3 {
  min-height: 58px;
  margin-bottom: 12px !important;
  color: #fff !important;
  font-family: var(--serif) !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  line-height: 1.3;
}

.group-company-card .card-header-group p {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: 14.5px;
  line-height: 1.5;
}

.group-company-card .card-services-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.group-company-card .card-services-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14.5px;
  line-height: 1.4;
}

.group-company-card .card-services-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  color: var(--flame);
}

.group-company-card .card-footer-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
}

.group-company-card .btn-call-now,
.group-company-card .link-visit-website {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  font-family: var(--sans) !important;
  font-weight: 500;
  text-decoration: none !important;
}

.group-company-card .btn-call-now {
  padding: 14px 24px;
  color: #fff;
  background: linear-gradient(135deg, #fc7c38, var(--flame));
}

.group-company-card .link-visit-website {
  min-height: auto;
  color: rgba(255, 255, 255, .5);
  font-size: 13.5px;
}

.group-company-card .btn-call-now svg {
  width: 17px;
  height: 17px;
}

.group-company-card .link-visit-website svg {
  width: 16px;
  height: 16px;
  transition: transform .3s ease;
}

.group-company-card .link-visit-website:hover {
  color: #fff;
}

.group-company-card .link-visit-website:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .group-companies-live .grp-grid-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .group-companies-live {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .group-companies-live .group-head-modern {
    margin-bottom: 36px;
  }

  .group-companies-live .group-head-modern h2 {
    font-size: 2.2rem !important;
  }

  .group-companies-live .grp-grid-modern {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .group-company-card {
    min-height: 0;
    padding: 32px 24px 28px;
    border-radius: 18px;
  }

  .group-company-card .card-header-group,
  .group-company-card h3 {
    min-height: 0;
  }
}

/* Communities Grid */
.community-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.community-card-modern {
  display: block;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--night);
  color: var(--ivory);
  isolation: isolate;
}

.community-card-modern:hover {
  text-decoration: none !important;
}

.community-card-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.25s cubic-bezier(.22,1,.36,1), filter .7s;
  filter: saturate(0.95);
}

.community-card-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,10,7,.05) 22%, rgba(12,10,7,.82) 100%);
}

.community-card-modern .body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.community-card-modern h3 {
  font-size: 1.45rem !important;
  color: #fdfcf8 !important;
  margin: 0;
}

.community-card-modern p {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(243,236,221,.76);
  margin-bottom: 0;
}

.community-card-modern .arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243,236,221,.32);
  color: var(--gold-lt);
  transform: translate(-6px, 6px);
  opacity: 0;
  transition: opacity .35s, transform .35s, border-color .35s;
}

.community-card-modern:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.community-card-modern:hover .arrow {
  opacity: 1;
  transform: none;
  border-color: rgba(233,199,93,.7);
}

/* Management Team Grid */
.team-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.member-card-modern {
  background: transparent;
  border: 0;
  transition: transform .5s;
}

.member-card-modern:hover {
  transform: translateY(-6px);
}

.member-card-modern .ph {
  aspect-ratio: 3/3.4;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
}

.member-card-modern .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9);
  transition: filter .7s, transform 1.2s cubic-bezier(.22,1,.36,1);
}

.member-card-modern:hover .ph img {
  filter: saturate(1);
  transform: scale(1.04);
}

.member-card-modern .info {
  padding: 20px 22px 0px;
}

.member-card-modern .info h3 {
  font-size: 1.35rem !important;
  margin-bottom: 4px !important;
}

.member-card-modern .info .role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--flame);
  margin: 0;
}

.member-card-modern .info .org {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 7px;
}

/* Why Section Grid */
.why-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card-modern {
  overflow: hidden;
  border: 1px solid rgba(33, 28, 18, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 64px -48px rgba(33, 28, 18, .48);
  transition: transform .5s;
  display: flex;
  flex-direction: column;
}

.why-card-modern:hover {
  transform: translateY(-6px);
}

.why-card-modern .ph {
  aspect-ratio: 16/10;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
}

.why-card-modern .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform 1.3s cubic-bezier(.22,1,.36,1), filter .7s;
}

.why-card-modern:hover .ph img {
  transform: scale(1.06);
  filter: saturate(1);
}

.why-card-modern .body {
  flex: 1;
  min-height: 174px;
  padding: 22px 22px 24px;
  background: rgba(255, 255, 255, .96);
}

.why-card-modern h3 {
  font-size: 1.3rem !important;
  line-height: 1.2;
  margin-bottom: 12px !important;
}

.why-card-modern p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}

/* Recent blog cards */
.recent-blogs-modern {
  background:
    radial-gradient(circle at 12% 12%, rgba(235, 109, 18, .055), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .64), rgba(248, 245, 237, .78));
}

.recent-blogs-head {
  align-items: flex-end;
}

.recent-blogs-head .side {
  max-width: 650px;
  margin-top: 14px;
  color: var(--muted);
}

.recent-blogs-all {
  flex: 0 0 auto;
}

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

.recent-blog-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(33, 28, 18, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 30px 72px -54px rgba(33, 28, 18, .5);
  transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}

.recent-blog-card:hover {
  transform: translateY(-7px);
  border-color: rgba(235, 109, 18, .25);
  box-shadow: 0 38px 86px -52px rgba(33, 28, 18, .58);
}

.recent-blog-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ded8cb;
}

.recent-blog-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.recent-blog-card:hover .recent-blog-media img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.03);
}

.recent-blog-date {
  position: absolute;
  top: 18px;
  left: 18px;
  min-width: 68px;
  padding: 10px 12px;
  display: grid;
  text-align: center;
  border-top: 2px solid var(--flame);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 36px -24px rgba(12, 10, 7, .6);
  backdrop-filter: blur(8px);
}

.recent-blog-date strong {
  font-family: var(--serif) !important;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
}

.recent-blog-date span {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.recent-blog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.recent-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.recent-blog-meta span {
  color: var(--flame);
  font-weight: 500;
}

.recent-blog-card h3 {
  margin: 0 0 12px !important;
  font-family: var(--serif) !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  line-height: 1.32;
}

.recent-blog-card h3 a {
  color: var(--ink);
  text-decoration: none !important;
}

.recent-blog-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.recent-blog-link {
  width: fit-content;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--flame);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.recent-blog-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform .3s ease;
}

.recent-blog-link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .recent-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .recent-blogs-head {
    align-items: flex-start;
  }

  .recent-blogs-all {
    margin-top: 20px;
  }

  .recent-blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .recent-blog-body {
    padding: 22px 20px 24px;
  }
}

/* Group Grid */
.group-head-modern {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 46px;
  text-align: center;
}

.group-head-modern h2 {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.group-head-modern p {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

.FAQs-section .group-head-modern {
  margin-bottom: 34px;
}

.grp-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 14px;
}

.grp-card-modern {
  border: 1px solid rgba(33, 28, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 32px 28px;
  transition: border-color .5s, box-shadow .5s, transform .5s;
}

.grp-card-modern:hover {
  border-color: rgba(184, 145, 42, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.grp-card-modern .glyph {
  font-family: var(--serif) !important;
  font-size: 1.4rem;
  color: var(--flame);
  display: block;
  margin-bottom: 18px;
}

.grp-card-modern h3 {
  font-size: 1.2rem !important;
  margin-bottom: 10px !important;
}

.grp-card-modern p {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}

/* Careers Grid */
.careers-modern .grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.careers-modern .frame {
  position: relative;
  aspect-ratio: 4/3.4;
  background: linear-gradient(160deg, #e8dfc9, #f6f1e6);
  box-shadow: var(--shadow);
}

.careers-modern .frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  z-index: -1;
}

.careers-modern .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Homepage Contact Panel */
.newsletter-modern {
  padding: clamp(88px, 11vh, 140px) 0;
  background:
    linear-gradient(135deg, rgba(12, 10, 7, 0.94), rgba(20, 17, 10, 0.98)),
    radial-gradient(circle at 18% 18%, rgba(184, 145, 42, 0.16), transparent 32%);
}

.contact-panel-modern {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: stretch;
  background: rgba(253, 252, 248, 0.06);
  border: 1px solid rgba(243, 236, 221, 0.12);
  border-radius: 8px;
  box-shadow: 0 34px 90px -48px rgba(0, 0, 0, 0.72);
  padding: clamp(28px, 4vw, 58px);
  position: relative;
  overflow: hidden;
}

.contact-panel-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(235, 109, 18, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(253, 252, 248, 0.06), transparent);
  pointer-events: none;
}

.contact-intro-modern,
.home-contact-form-modern {
  position: relative;
  z-index: 1;
}

.contact-intro-modern {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: clamp(8px, 1vw, 16px) 0;
}

.contact-intro-modern .eyebrow {
  color: var(--gold-lt);
  margin-bottom: 24px;
}

.contact-intro-modern h2 {
  color: #fdfcf8 !important;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem) !important;
  max-width: 9ch;
  margin: 0 0 24px !important;
}

.contact-intro-modern p {
  max-width: 460px;
  margin: 0 0 36px;
  color: rgba(243, 236, 221, 0.82) !important;
  font-size: 17px;
  line-height: 1.75;
}

.contact-cues-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
}

.contact-cues-modern span {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(243, 236, 221, 0.12);
  border-radius: 8px;
  color: rgba(253, 252, 248, 0.9);
  font-size: 14px;
  line-height: 1.45;
  background: rgba(253, 252, 248, 0.05);
}

.contact-cues-modern b {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-lt);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.contact-cues-modern a {
  color: rgba(253, 252, 248, 0.94);
}

.contact-cues-modern a:hover {
  color: var(--gold-lt);
  text-decoration: none;
}

.contact-promise-modern {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-promise-card-modern {
  padding: 18px 20px;
  border: 1px solid rgba(243, 236, 221, 0.14);
  border-radius: 8px;
  background: rgba(253, 252, 248, 0.05);
}

.contact-promise-card-modern .mini {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-lt);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.contact-promise-card-modern strong {
  color: #fdfcf8;
  font-family: var(--serif) !important;
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 400;
}

.contact-promise-list-modern {
  display: grid;
  gap: 10px;
}

.contact-promise-list-modern span {
  position: relative;
  padding-left: 20px;
  color: rgba(243, 236, 221, 0.86);
  font-size: 14px;
  line-height: 1.55;
}

.contact-promise-list-modern span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--flame), var(--gold-lt));
}

.home-contact-form-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(243, 236, 221, 0.14);
  border-radius: 8px;
  background: rgba(253, 252, 248, 0.96);
  box-shadow: 0 24px 70px -42px rgba(0, 0, 0, 0.65);
}

.contact-form-head-modern {
  grid-column: 1 / -1;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(33, 28, 18, 0.08);
  margin-bottom: 4px;
}

.contact-form-head-modern .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.contact-form-head-modern p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.home-contact-form-modern .form-field {
  min-width: 0;
}

.home-contact-form-modern .form-field.span-2 {
  grid-column: 1 / -1;
}

.home-contact-form-modern label {
  display: block;
  margin: 0 0 8px;
  text-align: left;
  color: var(--gold-dk);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-contact-form-modern input,
.home-contact-form-modern select {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(33, 28, 18, 0.18) !important;
  border-radius: 6px;
  background: #fff !important;
  color: var(--ink) !important;
  font-size: 15px;
  padding: 0 16px;
  outline: none !important;
  box-shadow: none !important;
}

.home-contact-form-modern select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23b6b0a8' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 18px) center !important;
  padding-right: 44px;
}

.home-contact-form-modern input:focus,
.home-contact-form-modern select:focus {
  border-color: var(--flame) !important;
  box-shadow: 0 0 0 3px rgba(235, 109, 18, 0.12) !important;
}

.contact-captcha,
.contact-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

.contact-captcha {
  min-height: 78px;
  align-items: center;
}

.contact-submit {
  margin-top: 2px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-submit .btn {
  width: min(100%, 320px);
}

.contact-submit p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Modern Footer */
.footer-modern {
  background: var(--night);
  color: var(--ivory);
  padding: 80px 0 36px;
  position: relative;
  z-index: 1;
}

.footer-modern > .wrap {
  width: min(100% - 64px, 1240px);
  margin-inline: auto;
}

.footer-modern .logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.footer-modern .f-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
  gap: 42px;
  margin-bottom: 60px;
}

.footer-modern h4 {
  font-size: 10.5px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-modern a {
  color: #fdfcf8;
  transition: color 0.3s;
}

.footer-modern a:hover {
  color: var(--gold-lt);
  text-decoration: none;
}

.footer-modern .f-grid a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #fdfcf8;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-modern .f-grid a:hover {
  color: var(--gold-lt);
  padding-left: 8px;
  text-decoration: none;
}

.footer-modern .f-brand .c-item {
  display: block;
  font-size: 14px;
  color: #fdfcf8;
  padding: 4px 0;
}

.footer-modern .f-brand .c-item b {
  color: var(--gold-lt);
  font-weight: 400;
  letter-spacing: .1em;
  font-size: 10px;
  text-transform: uppercase;
  display: block;
  margin-top: 16px;
}

.footer-modern .f-license {
  font-size: 11.5px;
  line-height: 1.9;
  color: rgba(253, 252, 248, 0.86);
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  max-width: 920px;
}

.footer-modern .f-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(253, 252, 248, 0.86);
}

.footer-modern .f-social {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-modern .f-social a {
  color: #fdfcf8;
  transition: color .3s;
  display: inline;
  padding: 0;
}

.footer-modern .f-social a:hover {
  color: var(--gold-lt);
}

/* Veil Overlay */
.veil-modern {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 1s ease .25s, visibility 1s .25s;
}

.veil-modern.done {
  opacity: 0;
  visibility: hidden;
}

.veil-modern img {
  width: min(220px, 55vw);
  height: auto;
  object-fit: contain;
  opacity: 0;
  animation: veilFade 0.8s ease forwards 0.1s;
}

@keyframes veilFade { to { opacity: 1; } }

.veil-modern .rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--flame));
  animation: ruleGrow 1.2s cubic-bezier(.22,1,.36,1) forwards 0.15s;
}

@keyframes ruleGrow { to { width: 200px; } }

/* Scroll Reveal classes */
.rev-modern {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1);
}

.rev-modern.in {
  opacity: 1;
  transform: none;
}

.rev-modern.d1 { transition-delay: .12s; }
.rev-modern.d2 { transition-delay: .24s; }
.rev-modern.d3 { transition-delay: .36s; }

/* ============================================================
   CINEMATIC PAGE PASS — depth, atmosphere, restrained motion
   ============================================================ */
.sh-home {
  background:
    radial-gradient(circle at 16% 12%, rgba(235, 109, 18, .08), transparent 28%),
    radial-gradient(circle at 86% 32%, rgba(184, 145, 42, .09), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #f8f3e8 48%, var(--bg) 100%) !important;
}

.sh-home::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .62;
  background:
    radial-gradient(ellipse at center, transparent 44%, rgba(12, 10, 7, .075) 100%),
    linear-gradient(90deg, rgba(12, 10, 7, .035), transparent 18%, transparent 82%, rgba(12, 10, 7, .035));
}

.sh-home main {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.section-modern,
.partners-modern,
.footer-modern {
  --cinema-shift: 0px;
  --cinema-fade: .2;
}

.section-modern {
  isolation: isolate;
  overflow: hidden;
}

.section-modern:not(.newsletter-modern)::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  z-index: -1;
  pointer-events: none;
  opacity: var(--cinema-fade);
  transform: translate3d(var(--cinema-shift), 0, 0);
  background:
    radial-gradient(circle at 18% 26%, rgba(235, 109, 18, .13), transparent 28%),
    radial-gradient(circle at 78% 34%, rgba(233, 199, 93, .11), transparent 32%),
    linear-gradient(115deg, transparent 16%, rgba(255, 255, 255, .34) 49%, transparent 76%);
  filter: blur(.2px);
  transition: opacity .35s ease-out;
}

.section-modern.alt,
.sell-modern,
.grp-section-modern,
.fc-group-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(235, 109, 18, .08), transparent 30%),
    radial-gradient(circle at 84% 62%, rgba(184, 145, 42, .08), transparent 34%),
    linear-gradient(180deg, #f6f1e6 0%, #efe6d5 100%);
}

.sec-head-modern {
  position: relative;
}

.sec-head-modern::after,
.group-head-modern::after {
  content: "";
  display: block;
  width: clamp(90px, 12vw, 170px);
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, rgba(235, 109, 18, .95), rgba(233, 199, 93, .38), transparent);
  box-shadow: 0 0 24px rgba(235, 109, 18, .22);
}

.group-head-modern::after {
  margin-left: auto;
  margin-right: auto;
}

.listing-card-modern,
.community-card-modern,
.member-card-modern,
.why-card-modern,
.review-card-modern,
.grp-card-modern,
.better-modern,
.faq-item {
  transform-style: preserve-3d;
}

.listing-card-modern .ph,
.community-card-modern,
.member-card-modern .ph,
.why-card-modern .ph,
.who-hero-frame-modern,
.who-secondary-frame-modern,
.careers-modern .frame,
.award-card,
.fc-member-card,
.fc-company-card {
  box-shadow:
    0 38px 90px -58px rgba(12, 10, 7, .72),
    0 2px 0 rgba(255, 255, 255, .28) inset;
}

.listing-card-modern .ph::after,
.community-card-modern::before,
.member-card-modern .ph::after,
.why-card-modern .ph::after,
.who-hero-frame-modern::after,
.who-secondary-frame-modern::after,
.careers-modern .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), transparent 34%),
    radial-gradient(circle at 26% 18%, rgba(255, 228, 172, .24), transparent 32%),
    linear-gradient(0deg, rgba(12, 10, 7, .28), transparent 42%);
  opacity: .72;
  mix-blend-mode: soft-light;
}

.listing-card-modern:hover,
.community-card-modern:hover,
.member-card-modern:hover,
.why-card-modern:hover,
.better-modern:hover,
.grp-card-modern:hover,
.fc-member-card:hover,
.fc-company-card:hover {
  transform: translateY(-8px);
}

.listing-card-modern .ph img,
.community-card-modern img,
.member-card-modern .ph img,
.why-card-modern .ph img,
.who-media-modern img,
.careers-modern .frame img {
  filter: saturate(.96) contrast(1.04) brightness(.96);
}

.listing-card-modern:hover .ph img,
.community-card-modern:hover img,
.member-card-modern:hover .ph img,
.why-card-modern:hover .ph img {
  filter: saturate(1.08) contrast(1.08) brightness(1);
}

.reviews-modern,
.google-reviews-modern,
.fc-management-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(235, 109, 18, .07), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(184, 145, 42, .08), transparent 28%),
    linear-gradient(180deg, rgba(253, 252, 248, .96), rgba(246, 241, 230, .92));
}

.google-review-rail .review-card-modern,
.fc-member-card,
.faq-item,
.home-contact-form-modern {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.faq-item {
  background:
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.66)),
    radial-gradient(circle at 8% 0%, rgba(235,109,18,.08), transparent 30%);
  box-shadow: 0 24px 70px -58px rgba(33, 28, 18, .48);
}

.contact-panel-modern {
  box-shadow:
    0 48px 120px -62px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(255, 255, 255, .03) inset;
}

.footer-modern {
  background:
    radial-gradient(circle at 18% 22%, rgba(235, 109, 18, .13), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(233, 199, 93, .1), transparent 30%),
    linear-gradient(180deg, #080705 0%, #020201 100%) !important;
}

.rev-modern {
  filter: blur(8px);
  transform: translateY(34px) scale(.985);
  transition:
    opacity .95s cubic-bezier(.22,1,.36,1),
    transform .95s cubic-bezier(.22,1,.36,1),
    filter .95s cubic-bezier(.22,1,.36,1);
}

.rev-modern.in {
  filter: blur(0);
  transform: none;
}

/* Responsive Overrides */
@media (max-width: 1240px) {
  .community-grid-modern, .team-grid-modern, .why-grid-modern, .grp-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-modern .f-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .list-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-modern-form {
    grid-template-columns: 1fr 1fr;
  }
  .search-modern-form .field {
    border-right: none;
    border-bottom: 1px solid rgba(243,236,221,.12);
  }
  .search-modern-form .field:nth-child(odd) {
    border-right: 1px solid rgba(243,236,221,.12);
  }
  .search-modern-form .go {
    grid-column: 1 / -1;
  }
  .search-modern-form .go button {
    padding: 20px;
  }
  .sell-modern .grid, .careers-modern .grid {
    grid-template-columns: 1fr;
  }
  .who-shell-modern {
    grid-template-columns: 1fr;
  }
  .who-media-modern {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .who-hero-frame-modern {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 460px;
  }
  .who-secondary-frame-modern,
  .who-stats-modern {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .who-value-grid-modern {
    grid-template-columns: 1fr;
  }
  .home-contact-form-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .nav-links-modern {
    display: none !important;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .nav-cta-modern {
    display: none !important;
  }
  .nav-fixed-modern {
    gap: 14px;
  }
  .list-grid-modern, .community-grid-modern, .team-grid-modern, .why-grid-modern, .grp-grid-modern, .betters-modern {
    grid-template-columns: 1fr;
  }
  .who-media-modern {
    min-height: 280px;
  }
  .who-content-modern {
    padding: 32px 22px;
  }
  .who-points-modern {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-modern .f-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 42px;
  }
  .footer-modern {
    padding: 58px 0 32px;
  }
  .footer-modern > .wrap {
    width: min(100% - 32px, 1240px);
  }
  .footer-modern .f-bottom {
    display: grid;
    gap: 18px;
  }
  .footer-modern .f-social {
    gap: 14px 20px;
  }
  .partners-modern .row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .partners-modern .logos {
    --partner-gap: 36px;
    animation-duration: 18s;
  }
  .partners-modern .logos img {
    height: 60px;
    max-width: 122px;
  }
  .tabs-modern {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 6px;
  }
  .tab-modern {
    min-width: 0;
    padding: 13px 8px 12px;
    text-align: center;
    font-size: 11px;
    letter-spacing: .22em;
    white-space: nowrap;
  }
  .hero-modern h1 {
    font-size: clamp(3rem, 14vw, 4.4rem) !important;
    max-width: 100%;
  }
  .hero-inner-modern {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  .hero-modern h1 .brand {
    white-space: normal;
  }
  .hero-modern .lead {
    max-width: calc(100vw - 52px) !important;
  }
  .hero-depth-gradient-modern,
  .hero-cloud-modern,
  .hero-smoke-modern {
    display: none;
  }
  .hero-picture-modern,
  .hero-inner-modern {
    transform: none !important;
    will-change: auto;
  }
  .search-modern-form {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .search-modern-form .field, .search-modern-form .field:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid rgba(243,236,221,.12);
    padding: 22px 24px;
  }
  .search-modern-form .go button {
    min-height: 64px;
  }
  .contact-panel-modern {
    padding: 34px 18px;
  }
  .contact-cues-modern {
    grid-template-columns: 1fr;
  }
  .contact-promise-card-modern strong {
    font-size: 1.28rem;
  }
  .home-contact-form-modern {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home-contact-form-modern .form-field.span-2 {
    grid-column: auto;
  }
  .home-contact-form-modern label {
    text-align: left;
    font-size: 15px;
  }
  .home-contact-form-modern input,
  .home-contact-form-modern select {
    height: 52px;
  }
  .google-review-head {
    align-items: flex-start;
  }
  .google-score-modern {
    width: 100%;
    min-width: 0;
  }
  .google-review-rail {
    gap: 14px;
    animation-duration: 20s;
  }
  .google-review-rail .review-card-modern {
    width: min(82vw, 340px);
    min-height: 300px;
    padding: 22px;
  }
  .fc-team-grid,
  .fc-company-grid {
    gap: 18px !important;
  }
  .fc-member-card .ph {
    aspect-ratio: 4 / 4.35;
  }
  .fc-company-card {
    min-height: 250px;
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-modern,
  .partners-modern,
  .footer-modern {
    --cinema-shift: 0px !important;
    --cinema-fade: .16 !important;
  }

  .rev-modern,
  .rev-modern.in {
    filter: none !important;
    transform: none !important;
    transition: opacity .2s ease !important;
  }

  .hero-picture-modern,
  .hero-media-modern img,
  .hero-inner-modern,
  .hero-depth-gradient-modern,
  .hero-cloud-modern,
  .hero-smoke-modern {
    transform: none !important;
    animation: none !important;
    will-change: auto;
  }

  .hero-smoke-modern {
    opacity: .34;
  }

  .google-review-rail {
    width: auto;
    overflow-x: auto;
    animation: none;
    scroll-snap-type: x mandatory;
  }

  .google-review-rail .review-card-modern {
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .sh-home::after,
  .section-modern:not(.newsletter-modern)::before {
    display: none;
  }

  .listing-card-modern .ph,
  .community-card-modern,
  .member-card-modern .ph,
  .why-card-modern .ph,
  .who-hero-frame-modern,
  .who-secondary-frame-modern,
  .careers-modern .frame,
  .award-card,
  .fc-member-card,
  .fc-company-card {
    box-shadow: 0 20px 52px -42px rgba(12, 10, 7, .55);
  }

  .rev-modern {
    filter: none;
    transform: translateY(18px);
  }

  .hero-inner-modern .tabs-modern,
  .hero-inner-modern .search-modern-form {
    width: calc(100vw - 52px) !important;
    max-width: calc(100vw - 52px) !important;
  }

  .hero-inner-modern .tab-modern {
    padding-left: 2px !important;
    padding-right: 2px !important;
    font-size: 9px !important;
    letter-spacing: .12em !important;
  }
}

/* ============================================================
   SCROLLED NAV & OTHER FIXES
   ============================================================ */
.nav-fixed-modern.scrolled .btn.ghost-light {
  border-color: rgba(235, 109, 18, 0.55) !important;
  color: var(--flame) !important;
}

.nav-fixed-modern.scrolled .nav-phone-modern {
  color: var(--muted) !important;
  text-shadow: none !important;
}

.nav-fixed-modern.scrolled .nav-links-modern a {
  color: var(--muted) !important;
  text-shadow: none !important;
}

.nav-fixed-modern.scrolled .menu-btn span {
  background: var(--ink) !important;
}

/* Mobile Hamburger Menu */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 130;
}

.menu-btn span {
  width: 28px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform .4s, opacity .4s, background .4s;
}

.menu-open .menu-btn span {
  background: var(--ink) !important;
}

.menu-open .menu-btn span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .menu-btn {
    display: flex;
  }
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(253, 252, 248, 0.98);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.7s;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.menu-open .menu-overlay {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay a {
  font-family: var(--serif);
  font-size: clamp(26px, 6.5vw, 46px);
  padding: 13px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.3s, padding-left 0.3s;
}

.menu-overlay a:hover {
  color: var(--flame);
  padding-left: 16px;
  text-decoration: none;
}

/* Select2 dropdown positioning and width fixes */
.select2-container {
  width: 100% !important;
}

.search-modern-form .select2-container--default .select2-selection--multiple {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 24px !important;
  height: 24px !important;
}

.search-modern-form .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px;
  min-height: 24px !important;
  line-height: 24px !important;
}

.search-modern-form .select2-container--default .select2-selection--multiple .select2-search__field {
  color: #fdfcf8 !important;
  font-family: var(--sans) !important;
  font-size: 16px !important;
  line-height: 24px !important;
  height: 24px !important;
  margin-top: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.search-modern-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: var(--flame) !important;
  border: none !important;
  color: #fff !important;
  font-size: 13px !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
}

.select2-dropdown {
  background-color: var(--night-2) !important;
  border: 1px solid var(--line-dark) !important;
  border-radius: 8px !important;
  color: var(--ivory) !important;
}

.select2-results__option {
  padding: 8px 16px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--flame) !important;
  color: #fff !important;
}

/* FAQs Accordion Styling */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(184, 145, 42, 0.18);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(184, 145, 42, 0.45);
  box-shadow: var(--shadow);
}

.faq-question {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  color: var(--flame);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 22px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* ============================================================
   ADDITIONAL MODERN UI AND INTERACTION FIXES
   ============================================================ */

/* 1. Global Navigation Scrolled/Light styling on Non-Homepage pages */
body:not(.sh-home) .nav-fixed-modern {
  background: rgba(253, 252, 248, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px var(--nav-inline);
  border-color: var(--line-soft);
  box-shadow: 0 10px 40px -20px rgba(33, 28, 18, 0.18);
}

body:not(.sh-home) .container {
  width: min(calc(100% - (2 * var(--pad))), calc(var(--maxw) - (2 * var(--pad)))) !important;
  max-width: calc(var(--maxw) - (2 * var(--pad))) !important;
}

body:not(.sh-home) .nav-fixed-modern .logo-img {
  filter: none !important;
  height: 34px;
}

body:not(.sh-home) .nav-fixed-modern .nav-links-modern a {
  color: var(--muted) !important;
  text-shadow: none !important;
}

body:not(.sh-home) .nav-fixed-modern .nav-links-modern a:hover {
  color: var(--ink) !important;
}

body:not(.sh-home) .nav-fixed-modern .nav-phone-modern {
  color: var(--muted) !important;
  text-shadow: none !important;
}

body:not(.sh-home) .nav-fixed-modern .btn.ghost-light {
  border-color: rgba(235, 109, 18, 0.55) !important;
  color: var(--flame) !important;
}

body:not(.sh-home) .nav-fixed-modern .menu-btn span {
  background: var(--ink) !important;
}

/* 2. Select2 dropdown width calculation & clipping fixes */
.select2-container--open {
  min-width: 280px !important;
  z-index: 99999 !important;
}

.select2-dropdown {
  min-width: 280px !important;
  width: 100% !important;
  box-shadow: 0 10px 30px rgba(12, 10, 7, 0.15) !important;
}

/* 3. Hero Search Button Typography and Hover Matching */
.search-modern-form .go button {
  height: 100%;
  width: 100%;
  border: none !important;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
  min-height: 68px;
  padding: 0 42px;
  cursor: pointer;

  /* Make it match .btn in typography, spacing & transitions */
  font-family: var(--sans) !important;
  font-size: 12px !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  position: relative;
  overflow: hidden;
  transition: color .45s, background-color .45s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
}

.search-modern-form .go button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--gold-lt), #f59a2e, var(--flame));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}

.search-modern-form .go button span {
  position: relative;
  z-index: 1;
}

.search-modern-form .go button:hover::before {
  transform: scaleX(1);
}

.search-modern-form .go button:hover {
  color: #fff !important;
  text-decoration: none;
}

/* 4. Legacy and standard theme buttons override to support modern visual aesthetics */
.btn-primary,
.btn-style,
.btn-primary-custom,
.btn-primary.alyn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  padding: 16px 30px 15px !important;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
  border: none !important;
  position: relative !important;
  overflow: hidden !important;
  transition: color .45s, background-color .45s !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
}

.btn-primary::before,
.btn-style::before,
.btn-primary-custom::before,
.btn-primary.alyn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--gold-lt), #f59a2e, var(--flame)) !important;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}

.btn-primary:hover::before,
.btn-style:hover::before,
.btn-primary-custom:hover::before,
.btn-primary.alyn:hover::before {
  transform: scaleX(1) !important;
}

.btn-primary span,
.btn-style span,
.btn-primary-custom span,
.btn-primary.alyn span {
  position: relative !important;
  z-index: 1 !important;
}

.btn-primary:hover,
.btn-style:hover,
.btn-primary-custom:hover,
.btn-primary.alyn:hover {
  color: #fff !important;
  background: transparent !important;
  text-decoration: none !important;
}

/* Listing cards: keep Call / Email / WhatsApp actions inside each card. */
.listing-details > ul.mt-3:not(.estate-info) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.listing-details > ul.mt-3:not(.estate-info) li {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.listing-details > ul.mt-3:not(.estate-info) a,
.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style {
  width: 100% !important;
  min-width: 0 !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style {
  min-height: 44px !important;
  margin-top: 0 !important;
  padding: 10px 7px !important;
  gap: 5px !important;
  font-size: 10px !important;
  letter-spacing: .08em !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style .fa {
  font-family: FontAwesome !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: normal !important;
  line-height: 1 !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style .fa::before {
  font-family: FontAwesome !important;
  font-style: normal !important;
  font-weight: normal !important;
}

@media (max-width: 420px) {
  .listing-details > ul.mt-3:not(.estate-info) {
    gap: 8px !important;
  }

  .listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style {
    padding-inline: 6px !important;
    font-size: 9px !important;
    letter-spacing: .06em !important;
  }
}

/* Properties/search listing page refinements */
.w3l-cover-3 .searchbox {
  overflow: visible !important;
  position: relative !important;
  z-index: 20 !important;
  padding: 18px 22px 28px !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 50px rgba(33, 28, 18, 0.05) !important;
}

.w3l-cover-3 .tab-content,
.w3l-cover-3 .tab-pane,
.w3l-cover-3 form {
  overflow: visible !important;
}

.w3l-cover-3 #additionalOptions > .row,
.w3l-cover-3 #additionalOptionsProfile > .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 0 !important;
}

.w3l-cover-3 #additionalOptions > .row > .col-6,
.w3l-cover-3 #additionalOptionsProfile > .row > .col-6 {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.w3l-cover-3 .main-dropdown.customselect {
  position: relative;
  display: flex !important;
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  align-items: center;
  padding: 0 42px 0 14px !important;
  overflow: visible !important;
  border: 1px solid rgba(33, 28, 18, .75) !important;
  border-radius: 3px !important;
  background-color: rgba(255, 255, 255, .9) !important;
  background-image: url("../images/down.png") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 14px) 50% !important;
  cursor: pointer;
}

.w3l-cover-3 .main-dropdown.customselect > .dropdown-label {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--flame) !important;
  background: transparent !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.w3l-cover-3 .main-dropdown .sub-dropdown {
  position: absolute !important;
  z-index: 80;
  top: calc(100% - 1px) !important;
  right: -1px;
  left: -1px !important;
  display: none;
  width: auto !important;
  padding: 16px !important;
  overflow: visible !important;
  border: 1px solid rgba(33, 28, 18, .18) !important;
  border-radius: 0 0 4px 4px;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(33, 28, 18, .16);
}

.w3l-cover-3 .main-dropdown:hover .sub-dropdown,
.w3l-cover-3 .main-dropdown:focus-within .sub-dropdown {
  display: block !important;
}

.w3l-cover-3 .main-dropdown .sub-dropdown > .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 !important;
}

.w3l-cover-3 .main-dropdown .sub-dropdown .col-6 {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.w3l-cover-3 .main-dropdown .sub-dropdown label {
  display: block;
  margin: 0 0 7px;
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}

.w3l-cover-3 .main-dropdown .sub-dropdown select {
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 28px 0 10px !important;
  border: 1px solid rgba(33, 28, 18, .18) !important;
  border-radius: 3px !important;
  color: var(--ink) !important;
  background-color: #fff !important;
  background-image: url("../images/down.png") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 9px) 50% !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  appearance: none;
}

.w3l-cover-3 .w3l-cover-3-gd {
  display: grid !important;
  grid-template-columns: minmax(320px, 1fr) 170px 145px 132px 118px !important;
  gap: 4px !important;
  align-items: stretch !important;
  width: 100% !important;
}

.w3l-cover-3 .w3l-cover-3-gd-project {
  grid-template-columns: minmax(320px, 1fr) 118px !important;
}

.w3l-cover-3 .input-group-btn,
.w3l-cover-3 .search-width-pt,
.w3l-cover-3 .search-width-bd,
.w3l-cover-3 .search-width-pr,
.w3l-cover-3 .search-width-srbtn,
.w3l-cover-3 .button-container {
  width: auto !important;
  min-width: 0 !important;
}

.w3l-cover-3 .search-container {
  height: 54px !important;
  border: 1px solid rgba(33, 28, 18, 0.68) !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  display: block !important;
  margin: 0 !important;
}

.w3l-cover-3 .row2 {
  align-items: center !important;
  height: 100% !important;
  margin: 0 !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.w3l-cover-3 .row2 .inputsrcicon,
.w3l-cover-3 .inputsrcicon.col-1,
.w3l-cover-3 .inputsrcicon.col-1-mob {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 42px !important;
  max-width: 42px !important;
  width: 42px !important;
  position: static !important;
}

.w3l-cover-3 .row2 .src-svg,
.w3l-cover-3 .inputsrcicon .src-svg {
  width: 16px !important;
  height: 16px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: var(--ink) !important;
}

.w3l-cover-3 .row2 .src-select,
.w3l-cover-3 .row2 .inputsrc-com,
.w3l-cover-3 .src-select.col-11,
.w3l-cover-3 .inputsrc-com.col-11,
.w3l-cover-3 .src-select.col-11-mob,
.w3l-cover-3 .inputsrc-com.col-11-mob {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 12px 0 0 !important;
  margin: 0 !important;
  position: static !important;
  height: 100% !important;
  min-width: 0 !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple {
  min-height: 52px !important;
  height: 52px !important;
  border: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple .select2-search {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 28px !important;
  list-style: none !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple .select2-search__field {
  height: 28px !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  line-height: 28px !important;
}

.w3l-cover-3 .select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin: 0 6px 0 0 !important;
  padding: 4px 8px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: rgba(235, 109, 18, 0.12) !important;
  color: var(--ink) !important;
  font-size: 12px !important;
}

.w3l-cover-3 .btn-default,
.w3l-cover-3 .customselect,
.w3l-cover-3 .dropdown-label {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  border: 1px solid rgba(33, 28, 18, 0.75) !important;
  border-radius: 3px !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: var(--flame) !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .28em !important;
  line-height: 1.1 !important;
  text-align: left !important;
  text-transform: uppercase !important;
  padding: 0 30px 0 14px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.w3l-cover-3 select.btn-default {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("../images/down.png") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 12px) 50% !important;
}

.w3l-cover-3 .w3l-cover-3-gd select.btn.btn-default,
.w3l-cover-3 .w3l-cover-3-gd .customselect.btn.btn-default {
  display: block !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: top !important;
}

.w3l-cover-3 .w3l-cover-3-gd .search-width-pt,
.w3l-cover-3 .w3l-cover-3-gd .search-width-bd,
.w3l-cover-3 .w3l-cover-3-gd .search-width-pr {
  display: block !important;
  height: 54px !important;
  max-height: 54px !important;
  line-height: 0 !important;
  margin: 0 !important;
}

.w3l-cover-3 .btn-default:focus,
.w3l-cover-3 .search-container:focus-within {
  border-color: var(--flame) !important;
  box-shadow: 0 0 0 2px rgba(235, 109, 18, 0.1) !important;
  outline: none !important;
}

.w3l-cover-3 .btn-primary.alyn,
.w3l-cover-3 .search-width-srbtn,
.w3l-cover-3 .button-container .btn-primary {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  font-size: 10px !important;
  letter-spacing: .28em !important;
  border-radius: 0 !important;
}

.w3l-cover-3 #showMoreOptions,
.w3l-cover-3 #showMoreOptions2 {
  color: var(--flame) !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  letter-spacing: .02em !important;
}

body:not(.sh-home) .select2-container--open {
  z-index: 100000 !important;
}

body:not(.sh-home) .select2-container--open .select2-dropdown,
body:not(.sh-home) .select2-dropdown {
  background: #fff !important;
  border: 1px solid rgba(33, 28, 18, 0.18) !important;
  border-radius: 0 0 4px 4px !important;
  box-shadow: 0 18px 42px rgba(33, 28, 18, 0.18) !important;
  color: var(--ink) !important;
  min-width: 0 !important;
  max-width: min(620px, calc(100vw - 32px)) !important;
}

body:not(.sh-home) .select2-results__options {
  max-height: 240px !important;
}

body:not(.sh-home) .select2-results__option {
  color: var(--ink) !important;
  background: #fff !important;
  padding: 10px 14px !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
}

body:not(.sh-home) .select2-container--default .select2-results__option--highlighted[aria-selected],
body:not(.sh-home) .select2-container--default .select2-results__option[aria-selected=true] {
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt)) !important;
  color: #fff !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style .fa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 11px !important;
  min-width: 11px !important;
  font-size: 11px !important;
}

.listing-details > ul.mt-3:not(.estate-info) .btn.btn-primary.btn-style .texxt {
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: .06em !important;
  white-space: nowrap !important;
  min-width: 0 !important;
}

.locations-1 .row {
  align-items: stretch !important;
}

.locations-1 .listing-img {
  display: flex !important;
  flex-direction: column !important;
}

.locations-1 .listing-img > a {
  display: block !important;
  flex: 0 0 auto !important;
}

.locations-1 .listing-details {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  height: 310px !important;
  min-height: 310px !important;
  padding: 20px 14px 16px !important;
}

.locations-1 .listing-details h4.user_title {
  height: auto !important;
  min-height: 56px !important;
  margin-bottom: 12px !important;
}

.locations-1 .listing-details p.user_position {
  margin: 0 0 9px !important;
  min-height: 24px !important;
}

.locations-1 .listing-details p.user_position:nth-of-type(2) {
  min-height: 45px !important;
}

.locations-1 .listing-details .estate-info {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px 18px !important;
  min-height: 40px !important;
  height: auto !important;
  margin: 4px 0 0 !important;
}

.locations-1 .listing-details .estate-info li {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.locations-1 .listing-details .fa,
.locations-1 .listing-details .fa::before {
  font-family: FontAwesome !important;
  font-style: normal !important;
  font-weight: normal !important;
}

.locations-1 .listing-details p.user_position .fa,
.locations-1 .listing-details .estate-info .fa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15px !important;
  min-width: 15px !important;
  color: rgba(63, 58, 100, 0.58) !important;
  font-size: 14px !important;
  opacity: 1 !important;
}

.locations-1 .listing-details > ul.mt-3:not(.estate-info) {
  margin-top: auto !important;
  padding-top: 16px !important;
}

@media (max-width: 1199px) {
  .w3l-cover-3 .w3l-cover-3-gd,
  .w3l-cover-3 .w3l-cover-3-gd-project {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 767px) {
  .w3l-cover-3 .searchbox {
    padding: 16px !important;
  }

  .w3l-cover-3 .w3l-cover-3-gd,
  .w3l-cover-3 .w3l-cover-3-gd-project {
    grid-template-columns: 1fr !important;
  }

  .w3l-cover-3 #additionalOptions > .row,
  .w3l-cover-3 #additionalOptionsProfile > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .w3l-cover-3 .main-dropdown .sub-dropdown {
    right: 0;
    left: 0 !important;
  }

  .w3l-cover-3 .btn-primary.alyn,
  .w3l-cover-3 .search-width-srbtn,
  .w3l-cover-3 .button-container .btn-primary {
    width: 100% !important;
  }
}

/* ============================================================
   MODERN PROPERTIES LISTING PAGE
   ============================================================ */
.listing-page-modern {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--bg);
  background-image: var(--pattern);
  font-family: var(--sans) !important;
}

.listing-page-modern .w3l-about-breadcrumb {
  display: none;
}

.listing-page-modern .w3l-cover-3 {
  padding: 106px 0 28px !important;
  background: transparent !important;
}

.listing-page-modern .w3l-cover-3 .section-width {
  width: 100%;
}

.listing-page-modern .w3l-cover-3 .searchbox {
  margin: 0 !important;
  padding: 18px 22px 28px !important;
  border: 1px solid rgba(33, 28, 18, .07);
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 26px 70px -54px rgba(33, 28, 18, .54) !important;
}

.listing-page-modern .w3l-cover-3 .nav-pills {
  gap: 6px;
  margin-bottom: 16px !important;
}

.listing-page-modern .w3l-cover-3 .nav-pills .nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px !important;
  border: 1px solid transparent;
  border-radius: 4px !important;
  color: var(--flame) !important;
  background: transparent !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.listing-page-modern .w3l-cover-3 .nav-pills .nav-link.active {
  color: #fff !important;
  border-color: transparent;
  background: linear-gradient(105deg, var(--flame), #f59a2e) !important;
}

.listing-page-modern .w3l-cover-3 #showMoreOptions,
.listing-page-modern .w3l-cover-3 #showMoreOptions2 {
  display: inline-flex;
  float: none !important;
  margin: 9px 0 0 auto !important;
  text-decoration: none;
}

.listing-page-modern .w3l-cover-3 .tab-pane > div:last-child {
  text-align: right;
}

.listing-results-modern {
  position: relative;
  padding-bottom: 96px;
}

.listing-results-head {
  padding: 18px 0 42px;
}

.listing-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.listing-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.listing-breadcrumbs a:hover {
  color: var(--flame);
}

.listing-breadcrumbs svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.listing-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.listing-title-row .eyebrow {
  margin-bottom: 14px;
}

.listing-title-row h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif) !important;
  font-size: clamp(2.25rem, 4vw, 3.6rem) !important;
  font-weight: 400 !important;
  line-height: 1.08;
  color: var(--ink);
}

.listing-count {
  flex: 0 0 auto;
  min-width: 132px;
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line-soft);
}

.listing-count strong,
.listing-count span {
  display: block;
}

.listing-count strong {
  font-family: var(--serif) !important;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--flame);
}

.listing-count span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.property-results-section {
  padding: 0;
}

.property-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
  align-items: stretch;
}

.property-result-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(33, 28, 18, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 30px 72px -56px rgba(33, 28, 18, .55);
  transition: transform .45s ease, border-color .45s ease, box-shadow .45s ease;
}

.property-result-card:hover {
  transform: translateY(-7px);
  border-color: rgba(235, 109, 18, .24);
  box-shadow: 0 38px 84px -54px rgba(33, 28, 18, .62);
}

.property-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  color: #fff;
  background: #ded8cb;
}

.property-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 5, .72));
}

.property-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.property-result-card:hover .property-card-media img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.03);
}

.property-card-badges {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.property-card-badges > span {
  max-width: 58%;
  overflow: hidden;
  padding: 7px 10px 6px;
  border-radius: 3px;
  color: #fff;
  background: rgba(12, 10, 7, .68);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.property-card-badges > span:first-child {
  background: linear-gradient(105deg, var(--flame), #f59a2e);
}

.property-card-price {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 17px;
  font-family: var(--serif) !important;
  font-size: 1.55rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.property-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
}

.property-card-body h2 {
  min-height: 56px;
  margin: 0 0 10px !important;
  font-family: var(--serif) !important;
  font-size: 1.42rem !important;
  font-weight: 400 !important;
  line-height: 1.25;
}

.property-card-body h2 a {
  color: var(--ink);
  text-decoration: none !important;
}

.property-card-status {
  width: fit-content;
  margin: 0 0 13px;
  padding: 5px 8px;
  border-radius: 3px;
  color: var(--flame);
  background: rgba(235, 109, 18, .09);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.property-card-location {
  min-height: 45px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.property-card-location svg,
.property-card-specs svg,
.property-card-actions svg,
.property-empty-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-card-location svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  color: var(--flame);
}

.property-card-specs {
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  list-style: none;
}

.property-card-specs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.property-card-specs svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.property-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.property-card-actions a {
  min-width: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 6px;
  border: 1px solid rgba(235, 109, 18, .25);
  border-radius: 4px;
  color: var(--flame);
  background: rgba(255, 255, 255, .8);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color .3s ease, background .3s ease, border-color .3s ease;
}

.property-card-actions a:hover {
  border-color: transparent;
  color: #fff !important;
  background: linear-gradient(105deg, var(--flame), #f59a2e);
}

.property-card-actions svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.property-card-actions a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.property-empty-state {
  grid-column: 1 / -1;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 28px;
  border: 1px solid rgba(33, 28, 18, .09);
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 30px 72px -60px rgba(33, 28, 18, .5);
}

.property-empty-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(235, 109, 18, .22);
  border-radius: 50%;
  color: var(--flame);
  background: rgba(235, 109, 18, .07);
}

.property-empty-icon svg {
  width: 25px;
  height: 25px;
}

.property-empty-state h2 {
  max-width: 620px;
  margin: 15px 0 10px !important;
  font-family: var(--serif) !important;
  font-size: clamp(1.65rem, 3vw, 2.45rem) !important;
  font-weight: 400 !important;
}

.property-empty-state p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.listing-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.listing-pagination a,
.listing-pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, .75);
  font-size: 12px;
  text-decoration: none;
}

.listing-pagination span,
.listing-pagination a:hover {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(105deg, var(--flame), #f59a2e);
}

@media (max-width: 900px) {
  .property-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .listing-page-modern .w3l-cover-3 {
    padding-top: 82px !important;
  }

  .listing-page-modern .w3l-cover-3 .searchbox {
    padding: 14px !important;
  }

  .listing-page-modern .w3l-cover-3 .nav-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .listing-page-modern .w3l-cover-3 .nav-pills .nav-link {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 9px 4px !important;
    font-size: 11px !important;
  }

  .listing-results-modern {
    padding-bottom: 72px;
  }

  .listing-results-head {
    padding: 12px 0 32px;
  }

  .listing-breadcrumbs {
    margin-bottom: 24px;
  }

  .listing-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .listing-title-row h1 {
    font-size: 2.35rem !important;
  }

  .listing-count {
    min-width: 0;
    padding-left: 0;
    border-left: 0;
  }

  .listing-count strong,
  .listing-count span {
    display: inline;
  }

  .listing-count span {
    margin: 0 0 0 8px;
  }

  .property-results-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .property-card-body {
    padding: 20px 18px 16px;
  }

  .property-empty-state {
    min-height: 270px;
    padding: 42px 20px;
  }
}

/* ============================================================
   MODERN PUBLIC INNER PAGES
   ============================================================ */
.theme-page-modern {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  overflow-x: hidden;
}

.theme-page-modern::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background:
    radial-gradient(circle at 18% 12%, rgba(235, 109, 18, .09), transparent 30%),
    radial-gradient(circle at 88% 26%, rgba(232, 178, 58, .08), transparent 28%),
    var(--pattern-bg);
}

.theme-page-modern .container {
  max-width: 1320px;
}

.theme-page-modern .w3l-about-breadcrumb {
  display: none !important;
}

.theme-page-modern .w3l-breadcrumb {
  padding: 126px 0 16px !important;
  background: transparent !important;
}

.theme-page-modern .breadcrumbs-custom-path {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.theme-page-modern .breadcrumbs-custom-path li {
  list-style: none;
}

.theme-page-modern .breadcrumbs-custom-path a,
.theme-page-modern .breadcrumbs-custom-path span {
  color: inherit !important;
  text-decoration: none;
}

.theme-page-modern .breadcrumbs-custom-path a:hover {
  color: var(--flame) !important;
}

.theme-page-modern .title-small,
.theme-page-modern .category,
.theme-page-modern .user_position,
.theme-page-modern .sidebar-title h4,
.theme-page-modern label {
  color: var(--gold) !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
}

.theme-page-modern .title-big,
.theme-page-modern h1,
.theme-page-modern h2,
.theme-page-modern h3 {
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.theme-page-modern .title-big {
  font-size: clamp(2.4rem, 4.4vw, 4.8rem) !important;
  line-height: .98 !important;
}

.theme-page-modern p,
.theme-page-modern h5,
.theme-page-modern li {
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  line-height: 1.75;
}

.theme-page-modern .btn-style,
.theme-page-modern .btn-primary,
.theme-page-modern button[type="submit"] {
  min-height: 46px;
  border: 0 !important;
  border-radius: 4px !important;
  color: #fff !important;
  background: linear-gradient(105deg, var(--flame), #f4bd43) !important;
  box-shadow: 0 18px 38px -26px rgba(235, 109, 18, .75);
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.theme-page-modern .page-pagination,
.theme-page-modern .pagination-wrapper ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-page-modern .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--muted) !important;
  background: rgba(255, 255, 255, .78);
  font-size: 12px;
  text-decoration: none !important;
}

.theme-page-modern .page-numbers.current,
.theme-page-modern .page-numbers:hover {
  border-color: transparent;
  color: #fff !important;
  background: linear-gradient(105deg, var(--flame), #f4bd43);
}

.theme-page-modern .w3l-blogpost-content,
.theme-page-modern .locations-1,
.theme-page-modern .w3l-index3,
.theme-page-modern .w3l-contact-7,
.theme-page-modern .w3l-text-11 {
  padding: 52px 0 96px !important;
  background: transparent !important;
}

.theme-blog-page .w3l-blogpost-content .row.mt-md-5,
.theme-guide-page .w3l-blogpost-content .row.mt-md-5 {
  row-gap: 28px;
}

.theme-page-modern .grids5-info,
.theme-page-modern .locations-1 .listing-img,
.theme-page-modern .users_box,
.theme-page-modern .area-box,
.theme-page-modern .sidebar-widget,
.theme-page-modern .contact-form,
.theme-page-modern .map-content-9,
.theme-page-modern .top-map,
.theme-page-modern .blog-details,
.theme-page-modern .blog-list,
.theme-page-modern .comments,
.theme-page-modern .leave-comment-form {
  border: 1px solid rgba(33, 28, 18, .08) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 28px 74px -62px rgba(33, 28, 18, .55) !important;
}

.theme-page-modern .grids5-info {
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.theme-page-modern .grids5-info .zoom {
  overflow: hidden;
}

.theme-page-modern .grids5-info img,
.theme-page-modern .box16 img,
.theme-page-modern .news-image {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  border-radius: 8px 8px 0 0 !important;
  transition: transform .45s ease;
}

.theme-page-modern .grids5-info:hover img,
.theme-page-modern .box16:hover img {
  transform: scale(1.035);
}

.theme-page-modern .blog-info,
.theme-page-modern .listing-details,
.theme-page-modern .users_box_info {
  padding: 24px 24px 26px !important;
}

.theme-page-modern .blog-info h4,
.theme-page-modern .user_title,
.theme-page-modern .listing-details h4 {
  margin: 10px 0 0 !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(1.5rem, 2vw, 2rem) !important;
  line-height: 1.12 !important;
  font-weight: 400 !important;
}

.theme-page-modern .blog-info h4 a,
.theme-page-modern .user_title a,
.theme-page-modern .listing-details h4 a {
  color: inherit !important;
  text-decoration: none !important;
}

.theme-page-modern .blog-info h4 a:hover,
.theme-page-modern .user_title a:hover,
.theme-page-modern .listing-details h4 a:hover {
  color: var(--flame) !important;
}

.theme-page-modern .posted-date {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  z-index: 3;
}

.theme-page-modern .posted-date a {
  width: 78px;
  min-height: 86px;
  display: grid !important;
  place-items: center;
  padding: 9px 8px;
  border-top: 3px solid var(--flame);
  border-radius: 5px;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 18px 44px -30px rgba(33, 28, 18, .55);
  text-align: center;
  text-decoration: none !important;
}

.theme-page-modern .posted-date .big {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.theme-page-modern .posted-date .small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
}

.theme-page-modern .sidebar {
  position: sticky;
  top: 112px;
}

.theme-page-modern .sidebar-widget {
  margin-bottom: 22px;
  padding: 26px !important;
}

.theme-page-modern .blog-cat {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.theme-page-modern .blog-cat li + li {
  border-top: 1px solid var(--line-soft);
}

.theme-page-modern .blog-cat a {
  display: flex;
  padding: 13px 0;
  color: var(--ink) !important;
  text-decoration: none !important;
}

.theme-page-modern .blog-cat a:hover {
  color: var(--flame) !important;
}

.theme-page-modern input,
.theme-page-modern textarea,
.theme-page-modern select,
.theme-page-modern .custom-dropdown select {
  width: 100%;
  min-height: 48px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(33, 28, 18, .2) !important;
  border-radius: 4px !important;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, .9) !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

.theme-page-modern textarea {
  min-height: 138px !important;
  resize: vertical;
}

.theme-page-modern input:focus,
.theme-page-modern textarea:focus,
.theme-page-modern select:focus {
  border-color: var(--flame) !important;
  outline: none !important;
}

.theme-page-modern .contact-form {
  padding: clamp(24px, 4vw, 54px) !important;
}

.theme-page-modern .contact-form h5,
.theme-page-modern .cont-details h1,
.theme-page-modern .cont-details h5 {
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 3.4vw, 3.8rem) !important;
  line-height: 1.03 !important;
  font-weight: 400 !important;
}

.theme-page-modern .cont-details {
  color: var(--ink) !important;
}

.theme-page-modern .cont-details address,
.theme-page-modern .cont-details p {
  color: var(--muted) !important;
  font-style: normal;
}

.theme-page-modern .cont-details a {
  color: var(--ink) !important;
}

.theme-page-modern .map iframe {
  width: 100% !important;
  min-height: 360px;
  border-radius: 8px;
  filter: saturate(.85) contrast(.95);
}

.theme-offplan-page .locations-1 .row,
.theme-luxury-page .locations-1 .row {
  row-gap: 28px;
}

.theme-offplan-page .locations-1 .catalog-empty-state,
.theme-luxury-page .locations-1 .catalog-empty-state {
  flex: 0 0 calc(100% - 30px);
  width: calc(100% - 30px);
  max-width: none;
  margin: 28px 15px 0;
}

.theme-page-modern .catalog-empty-state .eyebrow {
  color: #a97708;
  font-family: var(--sans) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Homepage reveal animations are not initialized on standalone inner pages. */
.theme-about-page .fc-management-section .rev-modern,
.theme-about-page .group-companies-live .rev-modern {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

.theme-offplan-page .locations-1 .listing-img,
.theme-luxury-page .locations-1 .listing-img {
  padding: 0 15px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.theme-offplan-page .locations-1 .listing-img > a,
.theme-luxury-page .locations-1 .listing-img > a,
.theme-offplan-page .listing-details,
.theme-luxury-page .listing-details {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(33, 28, 18, .08);
  background: rgba(255, 255, 255, .82);
}

.theme-offplan-page .locations-1 .listing-img > a,
.theme-luxury-page .locations-1 .listing-img > a {
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.theme-offplan-page .listing-details,
.theme-luxury-page .listing-details {
  min-height: 132px !important;
  height: auto !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
}

.theme-page-modern .box16 {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.theme-page-modern .box16::before,
.theme-page-modern .box16::after {
  display: none !important;
}

.theme-page-modern .box-content {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .45)) !important;
}

.theme-page-modern .w3l-stats {
  background: #0d0c09 !important;
}

.theme-page-modern .w3l-stats .title-big,
.theme-page-modern .w3l-stats p,
.theme-page-modern .w3l-stats h3 {
  color: #fff !important;
}

.theme-page-modern .w3l-stats .counter,
.theme-page-modern .w3l-stats .plus {
  color: var(--gold) !important;
  font-family: var(--serif) !important;
}

.theme-page-modern .w3l-left-img2 {
  min-height: 560px;
  border-radius: 8px;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 34px 80px -58px rgba(33, 28, 18, .65);
}

.theme-page-modern .w3l-right-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 70px) !important;
  border: 1px solid rgba(33, 28, 18, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.theme-policy-page .w3l-text-11 .text11-content {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid rgba(33, 28, 18, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 30px 74px -64px rgba(33, 28, 18, .55);
}

.theme-page-modern .theme-page-intro {
  padding: 30px 0 26px;
}

.theme-page-modern .theme-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #a97708;
  font-family: var(--sans) !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.theme-page-modern .theme-eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: var(--flame);
}

.theme-page-modern .theme-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  align-items: end;
  gap: clamp(28px, 6vw, 84px);
  margin-top: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}

.theme-page-modern .theme-title-row h1 {
  max-width: 900px;
  margin: 0 !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(3rem, 5.8vw, 6rem) !important;
  font-weight: 400 !important;
  line-height: .94 !important;
  letter-spacing: 0 !important;
}

.theme-page-modern .theme-title-row p {
  max-width: 480px;
  margin: 0;
  color: var(--muted) !important;
  font-size: 15px;
  line-height: 1.75;
}

.theme-contact-page .w3l-contact-7 {
  margin-top: 0 !important;
  padding-top: 20px !important;
}

.theme-offplan-page .locations-1 .row,
.theme-luxury-page .locations-1 .row {
  margin-top: 0 !important;
}

/* Property registration / sell page */
.theme-sell-page .sell-modern {
  min-height: 100vh;
  color: var(--ink);
}

.theme-sell-page .sell-modern-intro {
  position: relative;
  isolation: isolate;
  padding: 142px 0 96px;
  background-image:
    linear-gradient(100deg, rgba(12, 10, 8, .88) 0%, rgba(16, 13, 10, .78) 43%, rgba(18, 16, 13, .58) 100%),
    image-set(
      url("../generated/register-dubai-desktop.avif") type("image/avif"),
      url("../generated/register-dubai-desktop.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
}

.theme-sell-page .sell-modern-intro::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), transparent 24%, rgba(0, 0, 0, .22));
  pointer-events: none;
}

.theme-sell-page .sell-modern-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: clamp(42px, 7vw, 108px);
}

.theme-sell-page .sell-modern-copy {
  position: sticky;
  top: 126px;
  padding: 34px 0;
}

.theme-sell-page .sell-modern-copy h1 {
  max-width: 680px;
  margin: 24px 0 28px !important;
  color: #fff !important;
  font-family: var(--serif) !important;
  font-size: clamp(3.5rem, 5.6vw, 6.3rem) !important;
  font-weight: 400 !important;
  line-height: .94 !important;
  letter-spacing: 0 !important;
}

.theme-sell-page .sell-modern-lead {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, .74) !important;
  font-size: 16px;
  line-height: 1.8;
}

.theme-sell-page .sell-modern-process {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.theme-sell-page .sell-process-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.theme-sell-page .sell-process-item > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(242, 106, 15, .34);
  border-radius: 50%;
  color: var(--flame);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1px;
}

.theme-sell-page .sell-process-item h2 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-family: var(--serif) !important;
  font-size: 1.35rem !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

.theme-sell-page .sell-process-item p {
  margin: 0;
  color: rgba(255, 255, 255, .68) !important;
  font-size: 13px;
  line-height: 1.6;
}

.theme-sell-page .sell-modern-form-shell {
  overflow: hidden;
  border: 1px solid rgba(33, 28, 18, .11);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 38px 100px -68px rgba(33, 28, 18, .6);
}

.theme-sell-page .sell-form-heading {
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 50px) 28px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(120deg, rgba(250, 247, 240, .95), rgba(255, 255, 255, .7));
}

.theme-sell-page .sell-form-heading > span {
  color: #a97708;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.theme-sell-page .sell-form-heading h2 {
  margin: 10px 0 8px !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2.3rem, 3.5vw, 4rem) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.theme-sell-page .sell-form-heading p {
  margin: 0;
  color: var(--muted) !important;
  font-size: 13px;
}

.theme-sell-page .sell-modern-form {
  padding: clamp(26px, 4vw, 50px);
}

.theme-sell-page .sell-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.theme-sell-page .sell-field-wide {
  grid-column: 1 / -1;
}

.theme-sell-page .sell-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.theme-sell-page .sell-modern-form input:not([type="checkbox"]),
.theme-sell-page .sell-modern-form select,
.theme-sell-page .sell-modern-form textarea {
  width: 100%;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 13px 15px !important;
  border: 1px solid rgba(33, 28, 18, .18) !important;
  border-radius: 3px !important;
  color: var(--ink) !important;
  background-color: #fff !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
}

.theme-sell-page .sell-modern-form textarea {
  min-height: 116px !important;
}

.theme-sell-page .sell-modern-form input:focus,
.theme-sell-page .sell-modern-form select:focus,
.theme-sell-page .sell-modern-form textarea:focus {
  border-color: var(--flame) !important;
  outline: 2px solid rgba(242, 106, 15, .08) !important;
  outline-offset: 0;
}

.theme-sell-page .sell-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin: 26px 0 20px;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.theme-sell-page .sell-modern-form .sell-consent input[type="checkbox"] {
  display: block;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 0 !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: initial !important;
  border-radius: 2px !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: var(--flame);
}

.theme-sell-page .sell-consent span {
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.theme-sell-page .sell-captcha {
  min-height: 78px;
  margin: 0 0 22px;
}

.theme-sell-page .sell-modern-form .iti {
  width: 100%;
}

.theme-sell-page .sell-modern-form input#phone {
  padding-left: 58px !important;
}

.theme-sell-page .sell-modern-form .iti__flag-container {
  left: 0;
  padding: 0;
}

.theme-sell-page .sell-modern-form .iti__selected-flag {
  min-width: 48px;
  padding: 0 10px !important;
  border-right: 1px solid rgba(33, 28, 18, .12);
  background: rgba(250, 247, 240, .85) !important;
}

.theme-sell-page .sell-modern-form .iti__country-list {
  z-index: 20;
  width: min(330px, calc(100vw - 80px));
  max-width: none;
  color: var(--ink);
  font-family: var(--sans);
  white-space: nowrap;
}

.theme-sell-page .sell-modern-form .iti__country {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  white-space: nowrap;
}

.theme-sell-page .sell-modern-form .iti__country-name,
.theme-sell-page .sell-modern-form .iti__dial-code {
  white-space: nowrap;
}

.theme-sell-page .sell-submit {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(105deg, var(--flame), #f59a2e, var(--gold-lt));
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  transition: filter .2s ease, transform .2s ease;
}

.theme-sell-page .sell-submit:hover {
  filter: brightness(.95) saturate(1.08);
  transform: translateY(-1px);
}

.theme-sell-page .sell-submit span {
  font-size: 18px;
}

@media (max-width: 991px) {
  .theme-page-modern .w3l-breadcrumb {
    padding-top: 96px !important;
  }

  .theme-page-modern .sidebar {
    position: static;
  }

  .theme-page-modern .map-content-9 {
    row-gap: 28px;
  }

  .theme-page-modern .contact-form {
    padding: 24px !important;
  }

  .theme-sell-page .sell-modern-intro {
    padding-top: 116px;
  }

  .theme-sell-page .sell-modern-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-sell-page .sell-modern-copy {
    position: static;
    padding-bottom: 0;
  }

  .theme-sell-page .sell-modern-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    border-top: 0;
  }

  .theme-sell-page .sell-process-item {
    display: block;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    background: rgba(16, 13, 10, .34);
  }

  .theme-sell-page .sell-process-item > span {
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .theme-page-modern .container {
    width: min(100% - 32px, 1320px);
  }

  .theme-page-modern .w3l-breadcrumb {
    padding: 86px 0 8px !important;
  }

  .theme-page-modern .w3l-blogpost-content,
  .theme-page-modern .locations-1,
  .theme-page-modern .w3l-index3,
  .theme-page-modern .w3l-contact-7,
  .theme-page-modern .w3l-text-11 {
    padding: 32px 0 66px !important;
  }

  .theme-page-modern .title-big {
    font-size: 2.45rem !important;
  }

  .theme-page-modern .theme-page-intro {
    padding: 20px 0 12px;
  }

  .theme-page-modern .theme-title-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 22px;
  }

  .theme-page-modern .theme-title-row h1 {
    font-size: clamp(2.7rem, 13vw, 4rem) !important;
    line-height: .98 !important;
  }

  .theme-page-modern .theme-title-row p {
    font-size: 14px;
  }

  .theme-page-modern .grids5-info img,
  .theme-page-modern .box16 img,
  .theme-page-modern .news-image {
    height: 220px !important;
  }

  .theme-page-modern .blog-info,
  .theme-page-modern .listing-details,
  .theme-page-modern .users_box_info {
    padding: 20px !important;
  }

  .theme-page-modern .posted-date a {
    width: 66px;
    min-height: 76px;
  }

  .theme-page-modern .contact-form h5,
  .theme-page-modern .cont-details h1,
  .theme-page-modern .cont-details h5 {
    font-size: 2.3rem !important;
  }

  .theme-page-modern .w3l-left-img2 {
    min-height: 340px;
  }

  .theme-page-modern .w3l-right-info {
    margin-top: 18px;
    padding: 24px !important;
  }

  .theme-sell-page .sell-modern-intro {
    padding: 100px 0 62px;
    background-image:
      linear-gradient(180deg, rgba(12, 10, 8, .76), rgba(12, 10, 8, .66)),
      image-set(
        url("../generated/register-dubai-mobile.avif") type("image/avif"),
        url("../generated/register-dubai-mobile.jpg") type("image/jpeg")
      );
    background-position: center top;
  }

  .theme-sell-page .sell-modern-copy {
    padding-top: 18px;
  }

  .theme-sell-page .sell-modern-copy h1 {
    margin: 20px 0 22px !important;
    font-size: clamp(3rem, 14vw, 4.2rem) !important;
    line-height: .97 !important;
  }

  .theme-sell-page .sell-modern-lead {
    font-size: 14px;
  }

  .theme-sell-page .sell-modern-process {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 34px;
  }

  .theme-sell-page .sell-process-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .theme-sell-page .sell-modern-form-shell {
    border-radius: 6px;
  }

  .theme-sell-page .sell-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-sell-page .sell-field-wide {
    grid-column: auto;
  }

  .theme-sell-page .sell-captcha {
    max-width: 100%;
    overflow: hidden;
  }

  .theme-sell-page .sell-captcha > div {
    transform: scale(.86);
    transform-origin: left top;
  }
}
