/* Ivan How | CBD Properties
   Visual style inspired by a contemporary luxury-property look:
   navy + gold palette, light blue-grey ground, uppercase headings,
   pill filters, rounded white cards. Original layout and copy. */

@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ih-navy: #102668;
  --ih-navy-2: #16317f;
  --ih-navy-deep: #0b1c4d;
  --ih-gold-1: #e1c683;
  --ih-gold-2: #c9a24b;
  --ih-gold-3: #d2a047;
  --ih-gold: #c9a24b;
  --ih-bg: #f0f4fb;
  --ih-text: #677596;
  --ih-heading: #102668;
  --ih-white: #ffffff;
  --ih-line: #e1e8f4;
  --ih-accent: #3a63d6;
  --ih-wa: #25d366;
  --ih-card-shadow: 0 18px 48px rgba(16, 38, 104, 0.10);
  --ih-radius: 18px;
  --ih-radius-sm: 12px;
  --ih-container: 1320px;
  --ih-gold-gradient: linear-gradient(135deg, var(--ih-gold-1) 0%, var(--ih-gold-2) 52%, var(--ih-gold-3) 100%);
  --ih-header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ih-text);
  background: var(--ih-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ih-heading);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 0.5em;
}

.ih-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ih-navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}
.ih-skip:focus {
  left: 16px;
  top: 16px;
}

.ih-container {
  width: 100%;
  max-width: var(--ih-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.ih-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  white-space: nowrap;
}
.ih-btn .ih-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.ih-btn-gold {
  background: var(--ih-gold-gradient);
  color: #fff;
}
.ih-btn-gold:hover {
  color: var(--ih-navy);
  transform: translateY(-2px);
}
.ih-btn-ghost {
  background: transparent;
  color: var(--ih-navy);
  border: 1.5px solid rgba(16, 38, 104, 0.25);
}
.ih-btn-ghost:hover {
  background: var(--ih-navy);
  color: #fff;
  border-color: var(--ih-navy);
}
.ih-btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.ih-btn-ghost-light:hover {
  background: #fff;
  color: var(--ih-navy);
  border-color: #fff;
}
.ih-btn-sm {
  padding: 11px 18px;
  font-size: 16px;
}
.ih-btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.ih-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--ih-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ih-line);
  transition: box-shadow 0.25s;
}
.ih-header.is-stuck {
  box-shadow: 0 8px 30px rgba(16, 38, 104, 0.10);
}
.ih-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--ih-header-h);
  gap: 16px;
}

.ih-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ih-navy);
  flex-shrink: 0;
}
.ih-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--ih-navy);
  color: var(--ih-gold-1);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(16, 38, 104, 0.18);
}
.ih-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.ih-logo-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ih-navy);
}
.ih-logo-sub {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ih-gold-2);
  margin-top: 3px;
}

.ih-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ih-menu {
  display: flex;
  align-items: center;
}
.ih-menu a {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ih-navy);
  border-radius: 10px;
}
.ih-menu a:hover,
.ih-menu a:focus-visible {
  color: var(--ih-gold-3);
}

.ih-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.ih-burger span {
  width: 26px;
  height: 2.5px;
  background: var(--ih-navy);
  border-radius: 2px;
  transition: 0.25s;
}

/* ---------- Hero ---------- */
.ih-hero {
  padding: 48px 0 64px;
  background: var(--ih-bg);
}
.ih-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}
.ih-hero-copy {
  padding: 36px 32px 32px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
}
.ih-hero-copy h1 {
  font-size: clamp(36px, 3.5vw, 56px);
  letter-spacing: -1px;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.ih-hero-copy p {
  font-size: 18px;
  max-width: 550px;
  margin: 0 0 28px;
}
.ih-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ih-hero-image {
  border-radius: 24px;
  min-height: 430px;
  background: var(--ih-navy) center / cover no-repeat;
  box-shadow: var(--ih-card-shadow);
  position: relative;
  overflow: hidden;
}
.ih-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.ih-hero-chip {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(16, 38, 104, 0.88);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  backdrop-filter: blur(8px);
}
.ih-hero-chip strong {
  display: block;
  color: var(--ih-gold-1);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

/* ---------- Hero listing slider ---------- */
.ih-hero-slider {
  isolation: isolate;
  height: 100%;
  min-height: 430px;
}
.ih-hero-slides,
.ih-hero-slide,
.ih-hero-slide-open,
.ih-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ih-hero-slides {
  z-index: 0;
}
.ih-hero-slide {
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 0;
  pointer-events: none;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ih-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.ih-hero-slide img {
  object-fit: cover;
  object-position: center;
  max-width: none;
  max-height: none;
  display: block;
  border: 0;
  z-index: 0;
}
.ih-hero-slide-open {
  display: block;
  padding: 0;
  border: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  z-index: 2;
  font: inherit;
}
.ih-hero-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 72px 22px 48px;
  background: linear-gradient(to top, rgba(11, 28, 77, 0.94) 0%, rgba(11, 28, 77, 0.72) 42%, rgba(11, 28, 77, 0) 100%);
  color: #fff;
  pointer-events: none;
}
.ih-hero-slide-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ih-gold-gradient);
  color: var(--ih-navy);
  margin-bottom: 8px;
}
.ih-hero-slide-tag.is-rent {
  background: rgba(37, 211, 102, 0.92);
  color: #063;
}
.ih-hero-slide-overlay h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
}
.ih-hero-slide-price {
  margin: 0 0 4px;
  color: var(--ih-gold-1);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.3;
}
.ih-hero-slide-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
}
.ih-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 28, 77, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}
.ih-hero-nav:hover,
.ih-hero-nav:focus-visible {
  background: var(--ih-navy);
  outline: none;
}
.ih-hero-nav:focus-visible {
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.7);
}
.ih-hero-nav svg {
  width: 18px;
  height: 18px;
  display: block;
}
.ih-hero-nav-prev { left: 12px; }
.ih-hero-nav-next { right: 12px; }
.ih-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.ih-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, width 0.2s;
}
.ih-hero-dot.is-active {
  background: var(--ih-gold-1);
  width: 18px;
  border-radius: 999px;
}
.ih-hero-dot:focus-visible {
  outline: 2px solid var(--ih-gold-1);
  outline-offset: 2px;
}
@media (max-width: 991px) {
  .ih-hero-slide-overlay {
    padding: 64px 18px 44px;
  }
}
@media (max-width: 600px) {
  .ih-hero-image.ih-hero-slider {
    min-height: 360px;
  }
  .ih-hero-nav {
    width: 36px;
    height: 36px;
  }
  .ih-hero-nav-prev { left: 8px; }
  .ih-hero-nav-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ih-hero-slide {
    transition: none;
  }
}

/* ---------- Eyebrows & sections ---------- */
.ih-section {
  padding: 84px 0;
}
.ih-eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ih-text);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.ih-eyebrow-gold {
  color: var(--ih-gold-3) !important;
  font-weight: 700;
}
.ih-section-title {
  font-size: clamp(32px, 3vw, 48px);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.ih-section-sub {
  max-width: 680px;
  margin: 0 auto 8px;
}
.ih-center {
  text-align: center;
}
.ih-center .ih-section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Listings ---------- */
.ih-listings-head {
  text-align: center;
  margin-bottom: 28px;
}
.ih-sample-note {
  display: inline-block;
  margin: 16px auto 0;
  background: #fff;
  border: 1.5px dashed #cdd8ee;
  color: var(--ih-navy);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}
.ih-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 28px 0 42px;
}
.ih-filter-tab {
  font-size: 16px;
  font-weight: 600;
  color: var(--ih-navy);
  background: #fff;
  border: 1.5px solid var(--ih-line);
  border-radius: 999px;
  padding: 11px 24px;
  transition: 0.2s;
}
.ih-filter-tab:hover {
  border-color: var(--ih-gold-2);
  color: var(--ih-gold-3);
}
.ih-filter-tab.is-active {
  background: var(--ih-navy);
  color: #fff;
  border-color: var(--ih-navy);
}

.ih-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
.ih-count {
  text-align: center;
  font-size: 16px;
  color: var(--ih-text);
  margin: 0 0 22px;
}
.ih-count strong {
  color: var(--ih-navy);
  font-size: 19px;
}

.ih-card {
  background: #fff;
  border-radius: var(--ih-radius);
  overflow: hidden;
  box-shadow: var(--ih-card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.ih-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(16, 38, 104, 0.16);
}
.ih-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--ih-navy) center / cover no-repeat;
}
.ih-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.ih-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 38, 104, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 1;
}
.ih-card-tag.is-rent {
  background: rgba(37, 211, 102, 0.92);
  color: #063;
}
.ih-example-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ih-gold-gradient);
  color: var(--ih-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 1;
}
.ih-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}
.ih-card-eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: var(--ih-accent);
  margin: 0;
}
.ih-card-title {
  font-size: 22px;
  margin: 0;
  line-height: 1.32;
}
.ih-card-title a {
  color: var(--ih-navy);
}
.ih-card-title a:hover {
  color: var(--ih-gold-3);
}
.ih-card-title button {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 800;
  color: var(--ih-navy);
  text-align: left;
  cursor: pointer;
}
.ih-card-title button:hover {
  color: var(--ih-gold-3);
}
.ih-card-media {
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
}

.ih-card-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--ih-navy);
  margin: 0;
}
.ih-card-desc {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: var(--ih-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ih-card-facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 6px;
}
.ih-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  margin: 0;
  color: var(--ih-text);
}
.ih-card-meta .ih-icon {
  width: 16px;
  height: 16px;
  color: var(--ih-gold-3);
  flex-shrink: 0;
}
.ih-empty {
  grid-column: 1 / -1;
  text-align: center;
  background: #fff;
  border-radius: var(--ih-radius);
  padding: 48px 24px;
  box-shadow: var(--ih-card-shadow);
}

/* ---------- About ---------- */
.ih-about {
  background: var(--ih-bg);
}
.ih-about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.ih-about-photo {
  position: relative;
  border-radius: var(--ih-radius);
  overflow: hidden;
  min-height: 460px;
  background: var(--ih-navy) center / cover no-repeat;
  box-shadow: var(--ih-card-shadow);
}
.ih-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.ih-about-photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(11, 28, 77, 0.82);
  color: var(--ih-gold-1);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px 14px;
  border-radius: 12px;
}
.ih-about-copy p {
  margin: 0 0 18px;
}
.ih-about-list {
  list-style: none;
  display: grid;
  gap: 10px;
  background: #fff;
  border: 1px dashed #cdd8ee;
  border-radius: var(--ih-radius);
  padding: 22px 26px;
  margin: 0 0 22px;
}
.ih-about-list li {
  display: flex;
  gap: 12px;
  color: var(--ih-text);
  line-height: 1.4;
  font-size: 16px;
}
.ih-about-list li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--ih-gold-gradient);
}
.ih-about-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ---------- Contact ---------- */
.ih-contact {
  position: relative;
  background: var(--ih-navy);
  background-image: linear-gradient(135deg, rgba(16, 38, 104, 0.92), rgba(11, 28, 77, 0.88));
  overflow: hidden;
  padding: 96px 0;
}
.ih-contact::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.22), transparent 70%);
}
.ih-contact-inner {
  position: relative;
  z-index: 2;
}
.ih-contact .ih-eyebrow-gold {
  color: var(--ih-gold-1) !important;
}
.ih-contact .ih-section-title,
.ih-contact .ih-section-sub {
  color: #fff;
}
.ih-contact .ih-section-sub {
  margin: 0 0 36px;
  max-width: 640px;
}
.ih-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.ih-contact-card {
  background: #fff;
  border-radius: var(--ih-radius);
  padding: 32px 28px;
  box-shadow: var(--ih-card-shadow);
  display: flex;
  flex-direction: column;
}
.ih-contact-card .ih-btn {
  margin-top: auto;
}
.ih-contact-card h3 {
  font-size: 22px;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: -0.3px;
}
.ih-contact-card p {
  margin: 0 0 18px;
  font-size: 16px;
}
.ih-todo {
  display: inline-block;
  background: #fff6d8;
  color: #7a5a00;
  border: 1px dashed #d2a047;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.ih-contact-email {
  display: inline-block;
  color: var(--ih-navy);
  font-weight: 700;
  margin-bottom: 16px;
}
.ih-contact-email:hover {
  color: var(--ih-gold-3);
}


/* ---------- Areas ---------- */
.ih-areas-grid {
  margin-top: 36px;
}
.ih-area-card {
  background: #fff;
  border-radius: var(--ih-radius);
  box-shadow: var(--ih-card-shadow);
  padding: 34px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.ih-area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(16, 38, 104, 0.16);
}
.ih-area-num {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ih-gold-3);
  text-transform: uppercase;
}
.ih-area-card h3 {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ih-line);
}
.ih-area-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ih-text);
}

/* ---------- Footer ---------- */
.ih-footer {
  background: var(--ih-navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 72px;
}
.ih-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 50px;
}
.ih-footer-brand .ih-logo-name {
  color: #fff;
}
.ih-footer-brand .ih-logo-mark {
  background: #fff;
  color: var(--ih-navy);
}
.ih-footer-brand p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 420px;
  margin: 18px 0 0;
}
.ih-footer-col h4 {
  color: var(--ih-gold-1);
  font-size: 18px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.ih-footer-col li {
  margin-bottom: 11px;
}
.ih-footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}
.ih-footer-col a:hover {
  color: var(--ih-gold-1);
}
.ih-footer-bottom {
  padding-top: 0;
}
.ih-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 26px;
  padding-bottom: 26px;
}
.ih-footer-legal a:hover {
  color: var(--ih-gold-1);
}
.ih-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ---------- Floating WhatsApp ---------- */
.ih-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--ih-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  animation: ih-pulse 2.4s infinite;
}
.ih-whatsapp .ih-icon {
  width: 32px;
  height: 32px;
}
.ih-whatsapp.is-todo {
  animation: none;
  opacity: 0.95;
}
@keyframes ih-pulse {
  0% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ih-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ih-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .ih-footer-grid .ih-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .ih-burger {
    display: flex;
  }
  .ih-header .ih-btn-join {
    display: none;
  }
  .ih-nav {
    position: fixed;
    inset: var(--ih-header-h) 0 auto 0;
    background: var(--ih-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 26px;
    box-shadow: 0 20px 40px rgba(16, 38, 104, 0.16);
    transform: translateY(-130%);
    transition: transform 0.3s;
    max-height: calc(100vh - var(--ih-header-h));
    overflow: auto;
  }
  body.ih-nav-open .ih-nav {
    transform: translateY(0);
  }
  body.ih-nav-open .ih-burger span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  body.ih-nav-open .ih-burger span:nth-child(2) {
    opacity: 0;
  }
  body.ih-nav-open .ih-burger span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
  .ih-menu {
    flex-direction: column;
    align-items: stretch;
  }
  .ih-menu a {
    padding: 14px 6px;
    border-bottom: 1px solid var(--ih-line);
    border-radius: 0;
  }
  .ih-nav .ih-btn {
    margin-top: 16px;
    width: 100%;
  }
  .ih-hero-grid,
  .ih-about-grid,
  .ih-contact-grid {
    grid-template-columns: 1fr;
  }
  .ih-hero-copy {
    min-height: 0;
    padding: 28px 22px;
  }
  .ih-hero-image,
  .ih-about-photo {
    min-height: 320px;
  }
  .ih-section {
    padding: 64px 0;
  }
}

@media (max-width: 600px) {
  .ih-container {
    padding: 0 16px;
  }
  .ih-hero {
    padding: 24px 0 40px;
  }
  .ih-section {
    padding: 40px 0;
  }
  .ih-grid,
  .ih-footer-grid {
    grid-template-columns: 1fr;
  }
  .ih-eyebrow {
    font-size: 14px !important;
  }
  .ih-hero-copy h1 {
    font-size: 34px;
  }
  .ih-logo-name {
    font-size: 16px;
  }
  .ih-contact {
    padding: 64px 0;
  }
  .ih-footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    align-items: flex-start;
  }
  .ih-whatsapp {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
  .ih-card-title {
    font-size: 20px;
  }
  .ih-hero-actions {
    flex-direction: column;
  }
  .ih-hero-actions .ih-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ih-card, .ih-btn, .ih-nav, .ih-header, .ih-whatsapp {
    transition: none;
    animation: none;
  }
}

/* ---------- Hero stats, toolbar, load more, modal, placeholder ---------- */
.ih-hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ih-text);
}
.ih-hero-stats strong {
  color: var(--ih-navy);
  font-size: 22px;
  font-weight: 800;
  margin-right: 4px;
}
.ih-stat-dot {
  color: var(--ih-gold-2);
  font-weight: 800;
}

.ih-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: flex-end;
  margin: 0 0 28px;
}
.ih-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}
.ih-field span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ih-navy);
}
.ih-select {
  appearance: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ih-navy);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23102668' stroke-width='2'><path d='m6 8 4 4 4-4'/></svg>") no-repeat right 12px center;
  border: 1.5px solid var(--ih-line);
  border-radius: 12px;
  padding: 12px 40px 12px 16px;
  min-height: 48px;
  box-shadow: var(--ih-card-shadow);
  cursor: pointer;
}
.ih-select:hover,
.ih-select:focus {
  border-color: var(--ih-gold-2);
  outline: none;
}

.ih-load-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.ih-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at 80% 10%, rgba(225, 198, 131, 0.28), transparent 46%),
    linear-gradient(160deg, #16317f 0%, #102668 52%, #0b1c4d 100%);
  color: var(--ih-gold-1);
  padding: 24px;
  text-align: center;
}
.ih-placeholder-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--ih-gold-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ih-placeholder-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.25;
}

body.ih-modal-open {
  overflow: hidden;
}
.ih-modal[hidden] {
  display: none !important;
}
.ih-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ih-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 77, 0.72);
}
.ih-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(11, 28, 77, 0.35);
}
.ih-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1400;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 38, 104, 0.9);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.ih-modal-stage {
  position: relative;
  background: var(--ih-navy-deep);
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
}
.ih-modal-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
  cursor: zoom-in;
}
.ih-modal-track::-webkit-scrollbar {
  display: none;
}
.ih-modal-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
}
.ih-modal-slide img,
.ih-modal-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}
.ih-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ih-navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.ih-modal-prev { left: 14px; }
.ih-modal-next { right: 14px; }
.ih-modal-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(11, 28, 77, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.ih-modal-thumbs {
  position: static;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 10px 12px;
  background: #0b1c4d;
  scrollbar-width: thin;
}
.ih-modal-thumbs[hidden] {
  display: none !important;
}
.ih-modal-thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 46px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.75;
}
.ih-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}
.ih-modal-thumb.is-active {
  border-color: var(--ih-gold-1);
  opacity: 1;
}
.ih-modal-stage.is-full {
  position: fixed;
  inset: 0;
  z-index: 1300;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  background: #000;
  border-radius: 0;
}
body.ih-lightbox-open .ih-modal-thumbs {
  display: none !important;
}
body.ih-lightbox-open .ih-modal-stage.is-full .ih-modal-slide img {
  object-fit: contain;
  background: #000;
}
body.ih-lightbox-open .ih-modal-track {
  cursor: zoom-out;
}
@media (max-width: 768px) {
  .ih-modal-nav {
    display: none;
  }
  .ih-modal-stage {
    aspect-ratio: 4 / 3;
  }
}
@media (min-width: 769px) {
  .ih-modal-stage {
    aspect-ratio: 4 / 3;
  }
}
.ih-modal-body {
  padding: 28px 32px 32px;
}
.ih-modal-body h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
}
.ih-modal-meta {
  font-size: 15px;
  margin: 0 0 16px;
}
.ih-modal-desc {
  font-size: 16px;
  margin: 0 0 22px;
  white-space: pre-wrap;
}
.ih-placeholder-lg {
  position: absolute;
  inset: 0;
}

@media (max-width: 600px) {
  .ih-field {
    min-width: 100%;
  }
}
@media (max-width: 768px) {
  .ih-modal {
    padding: 0;
    align-items: stretch;
  }
  .ih-modal-dialog {
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
    width: 100%;
  }
  .ih-modal-body {
    padding: 22px 18px 28px;
  }
}


/* CBD Properties logo badge */
.ih-logo-badge{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:10px;padding:6px 8px;box-shadow:0 2px 8px rgba(16,38,104,.12);flex-shrink:0}
.ih-logo-badge img{height:34px;width:auto;display:block}


/* ---------- Enquiry form (contact + assistant) ---------- */
.ih-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}
.ih-contact-form-card {
  grid-column: 1 / -1;
}
.ih-enquiry-form,
.ih-assistant-enquiry {
  display: grid;
  gap: 14px;
  position: relative;
}
.ih-enquiry-form {
  grid-template-columns: 1fr 1fr;
  margin-top: 4px;
}
.ih-enquiry-form > input[type="hidden"] {
  display: none;
}
.ih-enquiry-span,
.ih-enquiry-form button,
.ih-enquiry-form .ih-enquiry-status {
  grid-column: 1 / -1;
}
.ih-enquiry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ih-enquiry-field span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ih-navy);
}
.ih-enquiry-field em {
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ih-text);
}
.ih-enquiry-field input,
.ih-enquiry-field textarea {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ih-navy);
  background: #fff;
  border: 1.5px solid var(--ih-line);
  border-radius: 12px;
  padding: 11px 14px;
  width: 100%;
  min-height: 46px;
  box-shadow: none;
}
.ih-enquiry-field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.ih-enquiry-field input:focus,
.ih-enquiry-field textarea:focus {
  outline: none;
  border-color: var(--ih-gold-2);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.22);
}
.ih-enquiry-status {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.ih-enquiry-status.is-ok {
  color: #0b6a38;
}
.ih-enquiry-status.is-error {
  color: #9b1c1c;
}

/* ---------- Chat assistant ---------- */
.ih-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ih-assistant-launch {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 850;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: var(--ih-navy);
  color: var(--ih-gold-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(16, 38, 104, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.ih-assistant-launch svg {
  width: 28px;
  height: 28px;
}
.ih-assistant-launch-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ih-assistant-launch:hover,
.ih-assistant-launch:focus-visible {
  background: var(--ih-navy-2);
  transform: translateY(-1px);
  outline: 2px solid var(--ih-gold-2);
  outline-offset: 3px;
}
body.ih-assistant-open .ih-assistant-launch {
  display: none;
}

.ih-assistant-panel {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 1100;
  width: min(400px, calc(100vw - 24px));
  max-height: min(640px, calc(100vh - 130px));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(16, 38, 104, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.ih-assistant-panel[hidden] {
  display: none !important;
}

.ih-assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--ih-navy);
  color: #fff;
}
.ih-assistant-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ih-assistant-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ih-gold-gradient);
  color: var(--ih-navy);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ih-assistant-head h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  line-height: 1.25;
}
.ih-assistant-head p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}
.ih-assistant-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ih-assistant-close svg {
  width: 18px;
  height: 18px;
}
.ih-assistant-close:hover,
.ih-assistant-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: 2px solid var(--ih-gold-1);
  outline-offset: 2px;
}

.ih-assistant-log {
  flex: 1;
  overflow: auto;
  padding: 16px 14px 10px;
  background: var(--ih-bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
}
.ih-msg {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ih-msg p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ih-navy);
}
.ih-msg p:last-child {
  margin-bottom: 0;
}
.ih-msg-bot > p,
.ih-msg-bot > .ih-assistant-cards,
.ih-msg-bot > form,
.ih-msg-bot > .ih-assistant-fallback {
  /* grouping only */
}
.ih-msg-bot > p {
  background: #fff;
  border-radius: 16px 16px 16px 6px;
  padding: 10px 13px;
  box-shadow: 0 8px 20px rgba(16, 38, 104, 0.06);
  width: fit-content;
  max-width: 100%;
}
.ih-msg-user {
  align-items: flex-end;
}
.ih-msg-user p {
  background: var(--ih-navy);
  color: #fff;
  border-radius: 16px 16px 6px 16px;
  padding: 10px 13px;
  max-width: 90%;
}

.ih-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ih-chip {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ih-navy);
  background: #fff;
  border: 1.5px solid var(--ih-gold-1);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  line-height: 1.2;
}
.ih-chip:hover,
.ih-chip:focus-visible {
  background: rgba(225, 198, 131, 0.28);
  border-color: var(--ih-gold-2);
  outline: none;
}
.ih-chip-more {
  margin-top: 4px;
}

.ih-assistant-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.ih-assistant-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(16, 38, 104, 0.08);
  border: 1px solid var(--ih-line);
}
.ih-assistant-card-open {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}
.ih-assistant-card-open:hover,
.ih-assistant-card-open:focus-visible {
  background: #f7f9fd;
  outline: 2px solid var(--ih-gold-2);
  outline-offset: -2px;
}
.ih-assistant-card-media {
  position: relative;
  height: 108px;
  background: var(--ih-navy);
  overflow: hidden;
}
.ih-assistant-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ih-assistant-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ih-gold-1);
  font-weight: 800;
  background: var(--ih-navy);
}
.ih-assistant-card-tag {
  position: absolute;
  left: 6px;
  top: 6px;
  background: var(--ih-gold-gradient);
  color: var(--ih-navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
}
.ih-assistant-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 8px 12px;
  min-width: 0;
}
.ih-assistant-card-eyebrow,
.ih-assistant-card-title,
.ih-assistant-card-price,
.ih-assistant-card-meta {
  display: block;
}
.ih-assistant-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ih-gold-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ih-assistant-card-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--ih-navy);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ih-assistant-card-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--ih-navy);
  margin-top: 2px;
}
.ih-assistant-card-meta {
  font-size: 12px;
  color: var(--ih-text);
}
.ih-assistant-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 10px 10px;
  align-items: center;
}

.ih-assistant-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 12px;
  line-height: 1;
}
.ih-assistant-wa:hover {
  color: #fff;
  filter: brightness(1.05);
}
.ih-assistant-wa svg {
  width: 16px;
  height: 16px;
}
.ih-assistant-wa-sm {
  padding: 6px 10px;
  font-size: 12px;
}

.ih-assistant-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ih-assistant-enquiry {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid var(--ih-line);
  grid-template-columns: 1fr;
}
.ih-assistant-enquiry .ih-enquiry-field textarea {
  min-height: 80px;
}
.ih-assistant-enquiry .ih-btn {
  margin-top: 2px;
}

.ih-assistant-composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid var(--ih-line);
}
.ih-assistant-composer textarea {
  flex: 1;
  resize: none;
  border: 1.5px solid var(--ih-line);
  border-radius: 14px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ih-navy);
  max-height: 120px;
  min-height: 44px;
}
.ih-assistant-composer textarea:focus {
  outline: none;
  border-color: var(--ih-gold-2);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.2);
}
.ih-assistant-send {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ih-gold-gradient);
  color: var(--ih-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ih-assistant-send svg {
  width: 18px;
  height: 18px;
}
.ih-assistant-send:hover,
.ih-assistant-send:focus-visible {
  outline: 2px solid var(--ih-navy);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .ih-assistant-launch {
    right: 16px;
    bottom: 82px;
    width: 54px;
    height: 54px;
  }
  .ih-assistant-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 82px;
    max-height: calc(100vh - 100px);
    border-radius: 16px;
  }
  .ih-enquiry-form {
    grid-template-columns: 1fr;
  }
  .ih-enquiry-span,
  .ih-enquiry-form button,
  .ih-enquiry-form .ih-enquiry-status {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ih-assistant-launch,
  .ih-chip,
  .ih-assistant-card-open {
    transition: none;
  }
}

/* ---------- Fee calculator ---------- */
.ih-calc {
  padding-top: 88px;
}
.ih-calc .ih-listings-head {
  margin-bottom: 8px;
}
.ih-calc-tabs {
  margin: 28px 0 8px;
}
.ih-calc-panel {
  margin-top: 8px;
}
.ih-calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1.5px solid var(--ih-line);
  border-radius: var(--ih-radius);
  box-shadow: var(--ih-card-shadow);
  padding: 32px;
}
.ih-calc-form {
  display: grid;
  gap: 16px;
}
.ih-calc-form .ih-select {
  width: 100%;
  box-shadow: none;
  min-width: 0;
}
.ih-calc-loan-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ih-calc-loan-fields[hidden],
#calc-property-field[hidden],
.ih-calc-panel[hidden] {
  display: none !important;
}
.ih-calc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ih-navy);
  cursor: pointer;
  line-height: 1.4;
}
.ih-calc-check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--ih-navy);
  flex-shrink: 0;
}
.ih-calc-hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ih-text);
}
.ih-calc-result {
  background: var(--ih-bg);
  border: 1.5px solid var(--ih-line);
  border-radius: var(--ih-radius-sm);
  padding: 24px 26px 26px;
}
.ih-calc-result h3 {
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.ih-calc-breakdown {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.ih-calc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ih-line);
  align-items: start;
}
.ih-calc-row dt {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ih-navy);
}
.ih-calc-row dd {
  margin: 0;
  text-align: right;
}
.ih-calc-row dd strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ih-navy);
}
.ih-calc-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ih-text);
  text-align: right;
}
.ih-calc-flag {
  text-align: left;
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px dashed #cdd8ee;
}
.ih-calc-empty {
  margin: 0;
  font-size: 15px;
  color: var(--ih-text);
}
.ih-calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 4px 0 20px;
  padding: 14px 0 0;
  border-top: 2px solid var(--ih-navy);
}
.ih-calc-total span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ih-navy);
}
.ih-calc-total strong {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--ih-navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: right;
}
.ih-calc-disclaimer {
  max-width: 860px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ih-text);
}
@media (max-width: 900px) {
  .ih-calc-grid,
  .ih-calc-loan-fields {
    grid-template-columns: 1fr;
  }
  .ih-calc-grid {
    padding: 22px 18px;
  }
  .ih-calc-row {
    grid-template-columns: 1fr;
  }
  .ih-calc-row dd,
  .ih-calc-note {
    text-align: left;
  }
  .ih-calc-total {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .ih-calc-total strong {
    text-align: left;
  }
}
@media (max-width: 600px) {
  .ih-calc {
    padding-top: 64px;
  }
}

/* ---------- Language switch ---------- */
.ih-lang {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin: 0 4px 0 10px;
}
.ih-lang a {
  color: var(--ih-navy);
  padding: 0.25rem 0.2rem;
}
.ih-lang a:hover,
.ih-lang a:focus-visible {
  color: var(--ih-gold-2);
}
.ih-lang a[aria-current="page"] {
  color: var(--ih-gold-2);
  pointer-events: none;
}

/* ---------- Chinese typography: no forced uppercase ---------- */
html[lang="zh-Hans"] {
  font-family: "Poppins", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}
html[lang="zh-Hans"] .ih-hero-copy h1,
html[lang="zh-Hans"] .ih-section-title,
html[lang="zh-Hans"] .ih-logo-name,
html[lang="zh-Hans"] .ih-logo-sub,
html[lang="zh-Hans"] .ih-eyebrow,
html[lang="zh-Hans"] .ih-hero-chip strong,
html[lang="zh-Hans"] .ih-enquiry-field span,
html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3,
html[lang="zh-Hans"] h4,
html[lang="zh-Hans"] .ih-lang {
  text-transform: none;
  letter-spacing: 0;
}
html[lang="zh-Hans"] .ih-hero-copy h1,
html[lang="zh-Hans"] .ih-section-title,
html[lang="zh-Hans"] .ih-page-hero h1 {
  line-height: 1.25;
}

/* ---------- Browse by building ---------- */
.ih-browse {
  margin-top: 48px;
}
.ih-browse-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
}
.ih-browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.ih-browse-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ih-line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ih-browse-card:hover,
.ih-browse-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 38, 104, 0.1);
}
.ih-browse-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--ih-navy);
  overflow: hidden;
}
.ih-browse-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ih-browse-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
}
.ih-browse-body strong {
  color: var(--ih-navy);
  font-weight: 700;
}
.ih-browse-body span {
  font-size: 0.85rem;
  color: var(--ih-text);
}

/* ---------- FAQ ---------- */
.ih-faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.ih-faq-item {
  background: #fff;
  border: 1px solid var(--ih-line);
  border-radius: 16px;
  padding: 4px 18px 4px;
}
.ih-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ih-navy);
  padding: 14px 0;
}
.ih-faq-item summary::-webkit-details-marker { display: none; }
.ih-faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 500;
  color: var(--ih-gold-2);
}
.ih-faq-item[open] summary::after { content: "–"; }
.ih-faq-item p {
  margin: 0 0 16px;
  color: var(--ih-text);
}

/* ---------- Owners ---------- */
.ih-owners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.ih-owners-form-wrap {
  background: #fff;
  border: 1px solid var(--ih-line);
  border-radius: 20px;
  padding: 28px 24px;
}
.ih-owners-form-wrap h3 {
  margin: 0 0 8px;
  color: var(--ih-navy);
}
.ih-owners-copy .ih-btn { margin-top: 12px; }

/* ---------- Inner pages ---------- */
.ih-page-hero {
  padding: calc(var(--ih-header-h) + 36px) 0 12px;
}
.ih-page-hero h1 {
  margin: 8px 0 16px;
  color: var(--ih-navy);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}
.ih-page-lead {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.ih-crumbs {
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--ih-text);
}
.ih-crumbs a { color: var(--ih-navy); font-weight: 600; }
.ih-crumbs a:hover { color: var(--ih-gold-2); }
.ih-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}
.ih-fact {
  background: #fff;
  border: 1px solid var(--ih-line);
  border-radius: 14px;
  padding: 12px 14px;
}
.ih-fact span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ih-text);
  margin-bottom: 4px;
}
html[lang="zh-Hans"] .ih-fact span {
  text-transform: none;
  letter-spacing: 0;
}
.ih-fact strong { color: var(--ih-navy); font-weight: 700; }
.ih-page-back { margin-top: 28px; }
.ih-page-back a { font-weight: 700; color: var(--ih-navy); }
.ih-page-enquire-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.ih-related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.ih-related-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--ih-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  color: var(--ih-navy);
}
.ih-related-link:hover { border-color: var(--ih-gold-2); }
.ih-text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--ih-navy);
}
.ih-text-link:hover { color: var(--ih-gold-2); }
.ih-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.ih-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.ih-enquiry-listing-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 12px;
  background: rgba(16, 38, 104, 0.06);
  border-radius: 10px;
  font-weight: 600;
  color: var(--ih-navy);
}
.ih-enquiry-field .ih-select {
  width: 100%;
}
.ih-noscript {
  margin-top: 24px;
  padding: 16px 0;
}
.ih-noscript ol { padding-left: 1.2em; }

@media (max-width: 900px) {
  .ih-owners-grid,
  .ih-page-enquire-grid {
    grid-template-columns: 1fr;
  }
  .ih-lang {
    margin: 8px 0 4px;
  }
}

body.ih-lightbox-open .ih-modal-dialog {
  overflow: visible;
}
body.ih-lightbox-open .ih-modal-close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1400;
}
