/* ==========================================================================
   KEY GROUP Real Estate (keygroup.ge) — Visual Design System
   Modeled faithfully on the clean rounded card & petrol-coral aesthetic
   Typography: Archivo (headings) + Manrope (body/UI)
   ========================================================================== */

:root {
  --navy: #002A3A;
  --navy-deep: #001B26;
  --coral: #E74C3C;
  --coral-hover: #CF3B2B;
  --coral-soft: rgba(231, 76, 60, 0.10);
  --coral-grad: linear-gradient(90deg, #FF6B52 0%, #E74C3C 100%);
  --white: #FFFFFF;
  --bg-soft: #F8F9FB;
  --bg-ice: #F4F8FD;
  --bg-grid: #ECF3FE;
  --bg-bento-cta: #EDF3FB;
  --footer-bg: #050709;
  --ink: #0D1C24;
  --ink-soft: #243742;
  --muted: #556672;
  --border: #E4EAF0;
  --whatsapp: #25D366;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-header: 0 10px 34px rgba(0, 28, 42, 0.08);
  --shadow-card: 0 8px 26px rgba(0, 28, 42, 0.06);
  --shadow-card-hover: 0 16px 38px rgba(0, 28, 42, 0.12);
  --container: 1260px;
  --font-heading: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
}

/* ==========================================================================
   FLOATING PILL HEADER (Matches reference white floating bar)
   ========================================================================== */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 14px 0 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.82) 75%, rgba(255,255,255,0) 100%);
  backdrop-filter: blur(8px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border: 1px solid rgba(0, 42, 58, 0.08);
  border-radius: 16px;
  padding: 12px 22px;
  box-shadow: var(--shadow-header);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--coral);
  background: rgba(231, 76, 60, 0.06);
}

.nav-caret {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 215px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 28, 42, 0.13);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 950;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 9px;
}

.dropdown-menu a:hover {
  background: var(--bg-ice);
  color: var(--coral);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--bg-ice);
  border: 1px solid rgba(0, 42, 58, 0.1);
  padding: 6px 10px;
  border-radius: 999px;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-call-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-call:hover .header-call-icon {
  background: var(--coral);
  color: var(--white);
}

.header-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-call-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.header-call-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 22, 32, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--white);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-links a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--bg-ice);
  color: var(--coral);
}

.mobile-sub-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px 0 10px;
}

.mobile-sub-links a {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 11px;
  background: var(--bg-soft);
  border-radius: 8px;
  color: var(--ink-soft);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-align: center;
  line-height: 1.2;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(231, 76, 60, 0.28);
}

.btn-coral:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(231, 76, 60, 0.36);
}

.btn-coral-grad {
  background: var(--coral-grad);
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 13.5px;
  padding: 15px 30px;
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.34);
}

.btn-coral-grad:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--bg-ice);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 13.5px;
  border-radius: 10px;
}

/* ==========================================================================
   CONTAINED ROUNDED HERO CARD (Exact reference hero layout)
   ========================================================================== */
.hero-section {
  padding: 8px 0 36px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 28px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(0, 32, 46, 0.16);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 34, 48, 0.72) 0%,
    rgba(0, 42, 58, 0.76) 55%,
    rgba(0, 26, 38, 0.86) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.90);
  max-width: 690px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-trust-strip {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.hero-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Subpage Compact Hero */
.page-hero {
  padding: 8px 0 28px;
}

.page-hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 52px 24px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
}

.page-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 32, 46, 0.86) 0%, rgba(0, 42, 58, 0.74) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: var(--white);
}

.page-hero-inner h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero-inner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin: 0 auto;
}

/* ==========================================================================
   SECTION HEADINGS & UNDERLINE ACCENT
   ========================================================================== */
.section {
  padding: 76px 0;
}

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

.section-ice {
  background: var(--bg-ice);
}

.section-grid-bg {
  background-color: var(--bg-grid);
  background-image:
    linear-gradient(to right, rgba(0, 42, 58, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 42, 58, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
}

.section-header-left {
  text-align: left;
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

/* Signature Coral Curved Underline (from reference sections 5 & 6) */
.coral-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.coral-underline::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -7px;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14' fill='none'%3E%3Cpath d='M3 10.5C58 3.2 152 1.8 217 9.5' stroke='%23E74C3C' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
}

/* ==========================================================================
   SECTION 2: ASYMMETRICAL 4-COL BENTO MOSAIC ("Find Your Ideal Property")
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr 1.08fr;
  grid-template-rows: 225px 225px;
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 24, 36, 0.68) 0%, rgba(0, 24, 36, 0.20) 55%, rgba(0, 24, 36, 0.72) 100%);
  transition: opacity 0.25s ease;
}

.bento-tall-left {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.bento-col2-top {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.bento-col2-bot {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.bento-col3-top {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.bento-col3-bot {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.bento-tall-right {
  grid-column: 4 / 5;
  grid-row: 1 / 3;
}

.bento-top-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bento-title {
  color: var(--white);
  font-size: 1.32rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.bento-sub {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
}

.bento-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover .bento-arrow {
  background: var(--coral);
  color: var(--white);
  transform: rotate(12deg);
}

/* 6th Bento Promo Card (Light Lavender/Ice Blue card on far right) */
.bento-promo {
  background-color: var(--bg-bento-cta);
  background-image: radial-gradient(circle at 90% 10%, rgba(231, 76, 60, 0.09) 0%, transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(0, 42, 58, 0.08) 0%, transparent 55%);
  border: 1px solid rgba(0, 42, 58, 0.08);
  color: var(--ink);
  justify-content: center;
  text-align: left;
  padding: 32px 26px;
}

.bento-promo::before {
  display: none;
}

.bento-promo-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
  background: rgba(231, 76, 60, 0.11);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.bento-promo h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.22;
}

.bento-promo p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 3: PROPERTY CARDS GRID ("Popular Tours" exact look)
   ========================================================================== */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-pill {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.filter-pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.listing-media {
  position: relative;
  height: 232px;
  overflow: hidden;
  background: var(--navy);
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.listing-card:hover .listing-media img {
  transform: scale(1.05);
}

.listing-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--coral);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 7px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.32);
}

.listing-id-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 26, 38, 0.78);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

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

.listing-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.32;
}

.listing-address {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.listing-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.listing-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.listing-spec svg {
  color: var(--coral);
  flex-shrink: 0;
}

.listing-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.listing-price-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.listing-price-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.listing-price {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ink);
}

.listing-price small {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* ==========================================================================
   SECTION 4: DARK PETROL TEAL BAND ("Why Choose KEY GROUP")
   ========================================================================== */
.why-band {
  position: relative;
  padding: 88px 0;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.why-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 42, 58, 0.90) 0%, rgba(0, 32, 46, 0.92) 100%);
}

.why-band .container {
  position: relative;
  z-index: 2;
}

.why-band .section-title {
  color: var(--white);
}

.why-band .section-subtitle {
  color: rgba(255, 255, 255, 0.84);
}

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

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 38px 28px;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.why-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 5: SPLIT COLLAGE + CHECKLIST ("Your Trusted ... Experts")
   ========================================================================== */
.trusted-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
}

.collage-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.collage-col:first-child {
  margin-top: 28px;
}

.collage-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.collage-img img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.collage-img.tall img {
  height: 255px;
}

.trusted-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
}

.trusted-copy p {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 24px;
}

.checklist-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}

.check-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 6: LOCAL SPECIALISTS CARDS (Replaces travel reviews w/ 8 real agents)
   ========================================================================== */
.agents-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agents-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.agent-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.agent-top {
  display: flex;
  align-items: center;
  gap: 15px;
}

.agent-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #0A4A63 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid #D9ECFF;
}

.agent-avatar.accent-coral {
  background: linear-gradient(135deg, var(--coral) 0%, #FF785A 100%);
  border-color: #FFE2DC;
}

.agent-meta h3 {
  font-size: 1.14rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.agent-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--coral);
}

.agent-langs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-ice);
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 5px;
}

.agent-bio {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.agent-contact-link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.agent-contact-link:hover {
  color: var(--coral);
}

/* ==========================================================================
   SECTION 7: DISTRICTS PHOTO GRID ("Exciting Activities You Will Love" look)
   ========================================================================== */
.district-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.district-card {
  position: relative;
  height: 246px;
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.district-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 24, 36, 0.72) 0%, rgba(0, 24, 36, 0.18) 50%, rgba(0, 24, 36, 0.74) 100%);
  transition: background 0.25s ease;
}

.district-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.district-card-top {
  position: relative;
  z-index: 2;
}

.district-card h3 {
  color: var(--white);
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.district-card span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.district-card-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.pill-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(12, 26, 36, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(5px);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.district-card:hover .pill-ghost-btn {
  background: var(--coral);
  border-color: var(--coral);
}

/* ==========================================================================
   SECTION 8: CONTAINED BOTTOM CTA BANNER ("Plan Your Perfect Trip" look)
   ========================================================================== */
.cta-banner-section {
  padding: 20px 0 78px;
}

.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 350px;
  padding: 56px 54px;
  display: flex;
  align-items: center;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 48px rgba(0, 24, 36, 0.18);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 10, 16, 0.94) 0%, rgba(0, 28, 40, 0.82) 48%, rgba(0, 28, 40, 0.22) 100%);
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: var(--white);
}

.cta-banner-inner h2 {
  color: var(--white);
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cta-banner-inner p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  margin-bottom: 26px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   PROPERTIES SEARCH / FILTER BAR & QUICK-VIEW MODAL
   ========================================================================== */
.search-bar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-header);
  margin-top: -54px;
  position: relative;
  z-index: 10;
  margin-bottom: 36px;
}

.search-bar-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr 1fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.field-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.field-control:focus {
  outline: 2px solid var(--coral);
  background: var(--white);
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.results-count {
  font-weight: 700;
  color: var(--ink-soft);
}

/* Property Detail Modal */
.prop-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 18, 28, 0.72);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.prop-modal[hidden] {
  display: none !important;
}

.prop-modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  position: relative;
}

.prop-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 24, 36, 0.78);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.prop-modal-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
}

.prop-modal-img {
  min-height: 360px;
  background: var(--navy);
}

.prop-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prop-modal-body {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prop-modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-ice);
  padding: 14px;
  border-radius: 12px;
  font-size: 13.5px;
}

.prop-modal-specs div strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
}

/* ==========================================================================
   PROJECTS / DEVELOPERS, SELL STEPS & CONTACT CARDS
   ========================================================================== */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.dev-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dev-badge {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-ice);
  color: var(--navy);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

textarea.field-control {
  min-height: 120px;
  resize: vertical;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 12px;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  font-weight: 600;
  font-size: 14.5px;
}

/* ==========================================================================
   PURE BLACK TOPOGRAPHIC FOOTER + FLOATING WHATSAPP
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 45%),
    repeating-radial-gradient(circle at 85% 30%, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 28px);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 32px;
}

.footer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  margin-bottom: 42px;
}

.footer-logo img {
  height: 52px;
  width: auto;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-socials-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-right: 6px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--footer-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.35fr;
  gap: 34px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact-icon {
  color: var(--coral);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-portals {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-portals a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.footer-portals a:hover {
  color: var(--coral);
}

/* Floating Green WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 880;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

/* Legal Content Styling */
.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
  max-width: 920px;
  margin: 0 auto;
}

.legal-card h2 {
  font-size: 1.35rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-card ul {
  padding-left: 20px;
  color: var(--ink-soft);
}

.legal-card li {
  margin-bottom: 6px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1024px / 768px / 375px)
   ========================================================================== */
@media (max-width: 1120px) {
  .main-nav,
  .lang-pill {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bento-tall-left,
  .bento-col2-top,
  .bento-col2-bot,
  .bento-col3-top,
  .bento-col3-bot,
  .bento-tall-right {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }
  .listing-grid,
  .district-grid,
  .why-grid,
  .agents-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .agents-grid-4,
  .steps-grid,
  .dev-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-bar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trusted-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 10px 14px;
  }
  .header-call-text {
    display: none;
  }
  .hero-card {
    min-height: 460px;
    padding: 52px 20px;
  }
  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-btn-group .btn {
    width: 100%;
  }
  .bento-grid,
  .listing-grid,
  .district-grid,
  .why-grid,
  .agents-grid-3,
  .agents-grid-4,
  .steps-grid,
  .dev-grid,
  .search-bar-grid,
  .form-row-2,
  .checklist-box,
  .footer-cols,
  .prop-modal-grid {
    grid-template-columns: 1fr;
  }
  .collage-grid {
    grid-template-columns: 1fr 1fr;
  }
  .collage-col:first-child {
    margin-top: 14px;
  }
  .collage-img img,
  .collage-img.tall img {
    height: 165px;
  }
  .cta-banner {
    padding: 40px 24px;
    min-height: 300px;
  }
  .search-bar-card {
    margin-top: 0;
  }
  .form-card,
  .legal-card {
    padding: 24px 20px;
  }
  .section {
    padding: 56px 0;
  }
}
