/* =========================================================
   KATHERINE REALTY — MAIN STYLESHEET
   Paleta: Blanco + Azul | Tipografía: Playfair + DM Sans
   ========================================================= */

/* ---- 1. CSS VARIABLES ------------------------------------------ */
:root {
  --color-bg:          #FFFFFF;
  --color-bg-alt:      #F0F5FC;
  --color-primary:     #1A56A0;
  --color-primary-lt:  #2E7DD6;
  --color-accent:      #0A3870;
  --color-text:        #0D1B2E;
  --color-text-muted:  #5A7494;
  --color-border:      #D0DFF0;
  --color-white:       #FFFFFF;
  --color-success:     #1A7A4A;
  --color-error:       #C0392B;
  --color-whatsapp:    #25D366;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --space-xs:  .5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  --container-max: 1280px;
  --container-pad: 1.5rem;
  --navbar-h:      80px;

  --shadow-sm:  0 1px 4px rgba(10,56,112,.08);
  --shadow-md:  0 4px 16px rgba(10,56,112,.12);
  --shadow-lg:  0 8px 32px rgba(10,56,112,.16);
  --shadow-xl:  0 16px 48px rgba(10,56,112,.20);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --t-fast:   .15s ease;
  --t-base:   .25s ease;
  --t-slow:   .4s ease;
}

/* ---- 2. RESET --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- 3. TYPOGRAPHY ---------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 600; }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.0625rem; font-weight: 500; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.125rem; line-height: 1.75; color: var(--color-text-muted); }

.section-label {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* ---- 4. LAYOUT -------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section        { padding: var(--space-2xl) 0; }
.section--alt   { background: var(--color-bg-alt); }
.section--dark  { background: var(--color-accent); }

.section__header {
  max-width: 620px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.section__header h2 { margin-bottom: .625rem; }

/* ---- 5. BUTTONS ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8125rem 1.875rem;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-lt);
  border-color: var(--color-primary-lt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.7);
}
.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline-blue {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline-blue:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--lg { padding: 1rem 2.375rem; font-size: 1rem; }
.btn--sm { padding: .5rem 1.25rem; font-size: .8125rem; }

.btn-group { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: center; }

/* ---- 6. NAVBAR -------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition:
    background    0.55s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-backdrop-filter 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow    0.55s cubic-bezier(0.4, 0, 0.2, 1),
    border-color  0.4s  ease;
}

.home .navbar:not(.is-scrolled) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.navbar.is-scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-color: rgba(208,223,240,.5);
  box-shadow:
    0 1px 0   rgba(26,86,160,.06),
    0 8px 40px rgba(26,86,160,.10);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  gap: 2px;
}

.navbar__logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: .06em;
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar__logo-sub {
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.home .navbar:not(.is-scrolled) .navbar__logo-name { color: #fff; }
.home .navbar:not(.is-scrolled) .navbar__logo-sub  { color: rgba(255,255,255,.55); }

/* Nav links pill capsule style */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.navbar__nav a {
  position: relative;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: .4375rem 1.0625rem;
  border-radius: var(--radius-full);
  transition:
    color      0.22s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar__nav a:hover {
  color: var(--color-primary);
  background: rgba(26, 86, 160, .08);
}

.navbar__nav a.active {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 2px 14px rgba(26,86,160,.3);
}

.home .navbar:not(.is-scrolled) .navbar__nav a { color: rgba(255,255,255,.85); }
.home .navbar:not(.is-scrolled) .navbar__nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.13);
}
.home .navbar:not(.is-scrolled) .navbar__nav a.active {
  color: #fff;
  background: rgba(255,255,255,.2);
  box-shadow: 0 2px 14px rgba(0,0,0,.18);
}

/* Fix: li bullets */
.navbar__nav li { list-style: none; display: contents; }

.navbar__nav .current-menu-item > a,
.navbar__nav .current-page-ancestor > a {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 2px 14px rgba(26,86,160,.3);
}

.home .navbar:not(.is-scrolled) .navbar__nav .current-menu-item > a,
.home .navbar:not(.is-scrolled) .navbar__nav .current-page-ancestor > a {
  color: #fff;
  background: rgba(255,255,255,.2);
  box-shadow: 0 2px 14px rgba(0,0,0,.18);
}

/* Actions */
.navbar__actions { display: flex; align-items: center; gap: .75rem; }

.navbar__whatsapp {
  position: relative;
  display: flex;
  align-items: center;
  gap: .4375rem;
  padding: .5625rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-lt) 100%);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: .8125rem;
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,86,160,.3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar__whatsapp::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.22) 50%, transparent 100%);
  transform: skewX(-15deg);
  transition: left 0.65s ease;
}

.navbar__whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(26,86,160,.38);
}
.navbar__whatsapp:hover::before { left: 130%; }
.navbar__whatsapp svg { width: 15px; height: 15px; fill: var(--color-white); flex-shrink: 0; }

.home .navbar:not(.is-scrolled) .navbar__whatsapp {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: none;
}
.home .navbar:not(.is-scrolled) .navbar__whatsapp:hover {
  background: rgba(255,255,255,.25);
  box-shadow: none;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 7px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--t-fast);
}

.navbar__hamburger:hover { background: var(--color-bg-alt); }

.navbar__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.25s ease,
    width     0.25s ease;
}

.navbar__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.navbar__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.home .navbar:not(.is-scrolled) .navbar__hamburger span { background: rgba(255,255,255,.9); }

/* ---- 7. HERO ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-accent);
  padding-top: var(--navbar-h);
}

.hero__bg {
  position: absolute;
  inset: -10% 0;
  overflow: hidden;
  background: linear-gradient(145deg, #050E1C 0%, #0A2540 40%, #143A70 100%);
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(26,86,160,.72) 0%,
    rgba(10,56,112,.84) 60%,
    rgba(10,56,112,.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
  padding: calc(var(--navbar-h) + 3rem) 0 calc(var(--space-xl) + 110px);
  width: 100%;
}

.hero__text { display: flex; flex-direction: column; }

.hero__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .5rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  padding: .4375rem 1.125rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.06);
}

.hero__eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  background: rgba(255,255,255,.8);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-style: italic;
  color: rgba(255,255,255,.75);
}

.hero__sub {
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  font-weight: 300;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.hero__ctas { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.hero__portrait {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero__portrait-frame {
  position: relative;
  width: 260px;
  aspect-ratio: 2/3;
  border-radius: 50% 50% 12px 12px / 25% 25% 12px 12px;
  overflow: hidden;
  outline: 2px solid rgba(255,255,255,.14);
  outline-offset: 10px;
  box-shadow:
    0  0  0  1px  rgba(255,255,255,.1),
    0 24px 80px  rgba(0,0,0,.35),
    inset 0 -1px 0 rgba(0,0,0,.15);
  transition: outline-offset 0.6s ease, box-shadow 0.6s ease;
  flex-shrink: 0;
}

.hero__portrait-frame:hover {
  outline-offset: 16px;
  box-shadow:
    0  0  0  1px  rgba(255,255,255,.15),
    0 32px 100px rgba(0,0,0,.40),
    inset 0 -1px 0 rgba(0,0,0,.15);
}

.hero__portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero__portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 100%);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 1.5rem;
}

.hero__portrait-placeholder svg { width: 64px; height: 64px; color: rgba(255,255,255,.35); }
.hero__portrait-placeholder span { font-size: .8125rem; color: rgba(255,255,255,.45); line-height: 1.5; }

.hero__scroll-hint {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-full);
  padding: .5625rem 1.25rem .5625rem 1rem;
  color: rgba(255,255,255,.82);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  animation: scrollHintFloat 2.6s ease-in-out infinite;
}

.hero__scroll-hint:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.38);
  color: #fff;
}

.hero__scroll-hint svg { width: 15px; height: 15px; flex-shrink: 0; }

@keyframes scrollHintFloat {
  0%,100% { transform: translateX(-50%) translateY(0);   }
  50%      { transform: translateX(-50%) translateY(6px); }
}

.hero__statsbar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(10,56,112,.65);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.375rem 0;
}

.hero__statsbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: var(--space-sm);
}

.hero__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.hero__stat-lbl {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  margin-top: .25rem;
}

/* ---- 7b. HERO VIDEO VARIANT ------------------------------------- */
.hero--video .hero__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.hero--video .hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(5,14,28,.50) 0%,
    rgba(10,38,80,.62) 60%,
    rgba(10,38,80,.80) 100%
  );
  z-index: 1;
}

#kat-particles-global {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

.hero__video-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--navbar-h) + 4rem) 0 calc(var(--space-xl) + 110px);
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.hero__video-content .hero__eyebrow { align-self: center; }
.hero__video-content .hero__sub { max-width: 580px; text-align: center; margin-left: auto; margin-right: auto; }
.hero__video-content .hero__ctas { justify-content: center; }

/* ---- 8. QUICK SEARCH -------------------------------------------- */
.quick-search { background: var(--color-bg-alt); padding: var(--space-xl) 0; }

.quick-search__title { text-align: center; margin-bottom: var(--space-lg); }
.quick-search__title h2 { margin-bottom: .375rem; }

.qsearch-form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: var(--space-sm);
  align-items: end;
}

.qsearch-group { display: flex; flex-direction: column; gap: 5px; }

.qsearch-group label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.qsearch-group input,
.qsearch-group select {
  height: 48px;
  padding: 0 .875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}

.qsearch-group input:focus,
.qsearch-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,86,160,.1);
}

/* ---- 9. PROPERTY CARDS ------------------------------------------ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.prop-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.prop-card:hover {
  border-color: rgba(26,86,160,.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.prop-card__img-wrap {
  position: relative;
  height: 218px;
  overflow: hidden;
  background: var(--color-bg-alt);
  flex-shrink: 0;
}

.prop-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.prop-card:hover .prop-card__img-wrap img { transform: scale(1.06); }

.prop-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EBF2FB 0%, #D0DFF0 100%);
}

.prop-card__img-placeholder svg { width: 48px; height: 48px; color: var(--color-border); }

.prop-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.prop-badge--mls       { background: var(--color-primary); color: var(--color-white); }
.prop-badge--exclusiva { background: var(--color-accent);  color: var(--color-white); }

.prop-badge--status {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  color: var(--color-text);
}

.prop-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prop-card__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .25rem;
}

.prop-card__operation {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-left: .5rem;
}

.prop-card__title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: .3125rem;
  line-height: 1.35;
}

.prop-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.prop-card__location svg { width: 13px; height: 13px; flex-shrink: 0; }

.prop-card__features {
  display: flex;
  gap: var(--space-md);
  padding: .75rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
}

.prop-feat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.prop-feat svg { width: 15px; height: 15px; color: var(--color-primary-lt); }

.prop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.prop-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: gap var(--t-fast), color var(--t-fast);
}

.prop-card__link:hover { color: var(--color-primary-lt); gap: 9px; }
.prop-card__link svg  { width: 15px; height: 15px; }

.properties-grid.--list { grid-template-columns: 1fr; }
.properties-grid.--list .prop-card { flex-direction: row; }
.properties-grid.--list .prop-card__img-wrap { width: 272px; height: auto; flex-shrink: 0; }

/* ---- 10. CATALOG PAGE ------------------------------------------- */
.catalog-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  position: sticky;
  top: var(--navbar-h);
  z-index: 200;
}

.catalog-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: flex-end;
  flex: 1;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 110px;
}

.f-group label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.f-group select,
.f-group input[type="number"] {
  height: 40px;
  padding: 0 .75rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: .875rem;
  color: var(--color-text);
  background: var(--color-white);
  appearance: none;
  transition: border-color var(--t-fast);
}

.f-group select:focus,
.f-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,86,160,.1);
}

.catalog-tools { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }

.source-tabs {
  display: flex;
  gap: 3px;
  background: var(--color-bg-alt);
  padding: 3px;
  border-radius: var(--radius-md);
}

.src-tab {
  padding: .4375rem .875rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
  cursor: pointer;
}

.src-tab.is-active {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.view-toggle {
  display: flex;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--color-white);
  border: none;
  color: var(--color-text-muted);
  transition: all var(--t-fast);
}

.view-btn.is-active,
.view-btn:hover { background: var(--color-primary); color: var(--color-white); }

.view-btn svg { width: 18px; height: 18px; }

.catalog-info { font-size: .8125rem; color: var(--color-text-muted); }

.catalog-section { padding: var(--space-xl) 0; }

.mls-iframe-section {
  width: 100%;
  min-height: calc(100vh - var(--navbar-h));
  display: flex;
  flex-direction: column;
  background: var(--color-bg-alt, #f8f9fb);
}
.mls-iframe-section__header {
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-sm);
}
.mls-iframe-section iframe {
  flex: 1;
  min-height: 780px;
  display: block;
  border: none;
}

.no-results {
  text-align: center;
  padding: var(--space-2xl) 0;
  color: var(--color-text-muted);
}

.no-results svg { width: 56px; height: 56px; margin: 0 auto var(--space-md); color: var(--color-border); }

.load-more-wrap { text-align: center; padding: var(--space-xl) 0 0; }

.api-notice {
  background: rgba(26,86,160,.06);
  border: 1px solid rgba(26,86,160,.18);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  color: var(--color-primary);
  font-size: .875rem;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.api-notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* ---- 11. SERVICES GRID ------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.svc-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  transition: all var(--t-base);
}

.svc-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.svc-card__icon {
  width: 56px; height: 56px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: background var(--t-base);
}

.svc-card__icon svg { width: 26px; height: 26px; color: var(--color-primary); transition: color var(--t-base); }

.svc-card:hover .svc-card__icon           { background: var(--color-primary); }
.svc-card:hover .svc-card__icon svg       { color: var(--color-white); }

.svc-card h4 { margin-bottom: .375rem; font-size: 1.0625rem; }
.svc-card p  { font-size: .9rem; color: var(--color-text-muted); line-height: 1.65; }

/* ---- 12. ABOUT SECTION ------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-img-wrap { position: relative; }

.about-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--color-primary-lt) 0%, var(--color-accent) 100%);
}

.about-img-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center center; }

.about-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: calc(-1.5rem);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-xl);
  text-align: center;
  min-width: 160px;
}

.about-badge__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.about-badge__lbl { font-size: .75rem; color: var(--color-text-muted); margin-top: 4px; }

.about-content h2 { margin-bottom: var(--space-md); }

.about-bio { color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-lg); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.about-stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.about-stat__lbl { font-size: .8125rem; color: var(--color-text-muted); }

/* ---- 13. TESTIMONIALS ------------------------------------------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testi-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: box-shadow var(--t-base);
}

.testi-card:hover { box-shadow: var(--shadow-md); }

.testi-stars { display: flex; gap: 3px; color: #F59E0B; margin-bottom: var(--space-sm); }
.testi-stars svg { width: 17px; height: 17px; fill: currentColor; }

.testi-text {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testi-author { display: flex; align-items: center; gap: .75rem; }

.testi-avatar {
  width: 44px; height: 44px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

.testi-name  { font-weight: 600; font-size: .9375rem; }
.testi-place { font-size: .8125rem; color: var(--color-text-muted); }

/* ---- 14. CTA SECTION -------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-section h2 { color: var(--color-white); margin-bottom: .625rem; }
.cta-section p  { color: rgba(255,255,255,.85); font-size: 1.125rem; max-width: 560px; margin: 0 auto var(--space-lg); }

/* ---- 15. CONTACT PAGE ------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-card {
  background: var(--color-accent);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--color-white);
  position: sticky;
  top: calc(var(--navbar-h) + 2rem);
}

.contact-info-card__photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.contact-info-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.contact-info-body { padding: var(--space-lg); }

.contact-info-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 2px;
}

.contact-info-role {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .8125rem;
  font-size: .9rem;
  color: rgba(255,255,255,.78);
}

.contact-info-item svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,.45); }
.contact-info-item a   { color: rgba(255,255,255,.78); transition: color var(--t-fast); }
.contact-info-item a:hover { color: var(--color-white); }

.contact-socials {
  display: flex;
  gap: .625rem;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,.12);
}

.contact-social { width: 36px; height: 36px; background: rgba(255,255,255,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--t-fast); }
.contact-social:hover { background: rgba(255,255,255,.25); }
.contact-social svg { width: 17px; height: 17px; color: var(--color-white); }

.contact-map { margin-top: var(--space-sm); border-radius: var(--radius-md); overflow: hidden; height: 180px; }
.contact-map iframe { width: 100%; height: 100%; border: none; }

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.contact-form-card h3 { margin-bottom: .375rem; }
.contact-form-card > .lead { margin-bottom: var(--space-lg); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

.form-group { margin-bottom: 1.125rem; }

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group .req { color: var(--color-primary); }

.form-ctrl {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}

.form-ctrl:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,86,160,.1);
}

.form-ctrl.--error { border-color: var(--color-error); }
.form-ctrl.--ok    { border-color: var(--color-success); }

textarea.form-ctrl { min-height: 130px; resize: vertical; }

.form-check { display: flex; align-items: flex-start; gap: .625rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; border: 2px solid var(--color-border); border-radius: 3px; margin-top: 2px; flex-shrink: 0; accent-color: var(--color-primary); cursor: pointer; }
.form-check label { font-size: .875rem; color: var(--color-text-muted); cursor: pointer; line-height: 1.5; }
.form-check label a { color: var(--color-primary); text-decoration: underline; }

.form-err { display: block; font-size: .8125rem; color: var(--color-error); margin-top: 4px; }

.form-success {
  background: rgba(26,122,74,.07);
  border: 1px solid rgba(26,122,74,.25);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--color-success);
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-success.is-visible { display: block; }

/* ---- 16. FOOTER ------------------------------------------------- */
.footer { background: var(--color-accent); padding-top: var(--space-2xl); }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: .1em;
}

.footer__brand-sub {
  font-size: .5625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
  margin-bottom: var(--space-md);
}

.footer__brand-desc {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  max-width: 270px;
  margin-bottom: var(--space-md);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { font-size: .9rem; color: rgba(255,255,255,.6); transition: color var(--t-fast), padding-left var(--t-fast); }
.footer__links a:hover { color: var(--color-white); padding-left: 4px; }

.footer__contact-item { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; font-size: .875rem; color: rgba(255,255,255,.6); }
.footer__contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,.35); }

.footer__socials { display: flex; gap: .5rem; margin-top: var(--space-md); }
.footer__social { width: 34px; height: 34px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--t-fast); }
.footer__social:hover { background: var(--color-primary); }
.footer__social svg { width: 15px; height: 15px; color: var(--color-white); }

.footer__bottom {
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copy  { font-size: .8125rem; color: rgba(255,255,255,.35); }
.footer__legal { display: flex; gap: var(--space-md); }
.footer__legal a { font-size: .8125rem; color: rgba(255,255,255,.35); transition: color var(--t-fast); }
.footer__legal a:hover { color: rgba(255,255,255,.7); }

/* ---- 17. WHATSAPP FLOAT ----------------------------------------- */
.wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; }

.wa-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
}

.wa-float__btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.65); }

.wa-float__btn::before {
  content: '';
  position: absolute;
  inset: -5px;
  background: rgba(37,211,102,.28);
  border-radius: 50%;
  animation: waPulse 2.8s ease-in-out infinite;
}

.wa-float__btn svg { width: 30px; height: 30px; fill: var(--color-white); position: relative; z-index: 1; }

@keyframes waPulse {
  0%,100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.35); opacity: 0; }
}

/* ---- 18. SINGLE PROPERTY ---------------------------------------- */
.prop-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4px;
  height: 52vh;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.prop-gallery__main { overflow: hidden; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.prop-gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.prop-gallery__thumbs { display: grid; grid-template-rows: repeat(3, 1fr); gap: 4px; }
.prop-gallery__thumb  { overflow: hidden; cursor: pointer; }
.prop-gallery__thumb:first-child { border-radius: 0 var(--radius-lg) 0 0; }
.prop-gallery__thumb:last-child  { border-radius: 0 0 var(--radius-lg) 0; position: relative; }
.prop-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-fast); }
.prop-gallery__thumb:hover img { opacity: .85; }

.prop-gallery__more {
  position: absolute; inset: 0;
  background: rgba(10,56,112,.55);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--color-white); font-size: .9375rem; font-weight: 600;
  cursor: pointer; border-radius: 0 0 var(--radius-lg) 0;
}

.prop-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  align-items: start;
}

.prop-detail-price { font-family: var(--font-heading); font-size: 2.375rem; font-weight: 700; color: var(--color-primary); }
.prop-detail-title { font-size: 1.5625rem; font-weight: 600; margin: .375rem 0; }

.prop-detail-addr { display: flex; align-items: center; gap: 5px; color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.prop-detail-addr svg { width: 16px; height: 16px; }

.prop-feats-bar { display: flex; gap: var(--space-lg); padding: var(--space-md) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-lg); flex-wrap: wrap; }

.prop-feat-lg { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.prop-feat-lg__val { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 600; }
.prop-feat-lg__lbl { font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); }

.prop-detail-desc h4 { margin-bottom: var(--space-sm); }
.prop-detail-desc p  { color: var(--color-text-muted); line-height: 1.8; }

.prop-sidebar { position: sticky; top: calc(var(--navbar-h) + 2rem); }

.prop-sidebar-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-lg); box-shadow: var(--shadow-md); }

.prop-sidebar-agent { display: flex; align-items: center; gap: var(--space-sm); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-md); }
.prop-sidebar-agent__img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--color-primary); }
.prop-sidebar-agent__name { font-weight: 700; font-size: 1rem; }
.prop-sidebar-agent__role { font-size: .8125rem; color: var(--color-text-muted); }

/* ---- 19. SERVICES PAGE ------------------------------------------ */
.svc-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  padding: calc(var(--navbar-h) + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
}

.svc-hero h1  { color: var(--color-white); }
.svc-hero .lead { color: rgba(255,255,255,.82); margin-top: var(--space-sm); }

.svc-full-list { padding: var(--space-xl) 0; }

.svc-full-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.svc-full-item:last-child { border-bottom: none; }
.svc-full-item:nth-child(even) .svc-full-item__img { order: -1; }

.svc-full-item__icon {
  width: 72px; height: 72px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.svc-full-item__icon svg { width: 36px; height: 36px; color: var(--color-primary); }
.svc-full-item h3 { margin-bottom: var(--space-sm); }
.svc-full-item__desc { color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-md); }

.svc-benefits { display: flex; flex-direction: column; gap: .5rem; margin-bottom: var(--space-lg); }

.svc-benefit { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; color: var(--color-text-muted); }

.svc-benefit__check { width: 20px; height: 20px; background: rgba(26,86,160,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.svc-benefit__check svg { width: 12px; height: 12px; color: var(--color-primary); }

.svc-full-item__img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--color-bg-alt) 0%, #D0DFF0 100%); }
.svc-full-item__img img { width: 100%; height: 100%; object-fit: cover; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

.why-card { text-align: center; padding: var(--space-lg) var(--space-md); }

.why-icon { width: 64px; height: 64px; background: var(--color-bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-md); }
.why-icon svg { width: 30px; height: 30px; color: var(--color-primary); }
.why-card h5  { margin-bottom: .375rem; }
.why-card p   { font-size: .875rem; color: var(--color-text-muted); }

.process-section { background: var(--color-bg-alt); padding: var(--space-2xl) 0; }

.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-sm); position: relative; }

.process-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-lt) 100%);
  z-index: 0;
}

.process-step { text-align: center; position: relative; z-index: 1; }

.process-step__num {
  width: 56px; height: 56px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto var(--space-sm);
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

.process-step h5 { margin-bottom: 4px; font-size: .9375rem; }
.process-step p  { font-size: .8125rem; color: var(--color-text-muted); }

/* ---- 20. 404 PAGE ----------------------------------------------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) 0;
}

.error-page__num { font-family: var(--font-heading); font-size: clamp(6rem, 18vw, 12rem); font-weight: 700; color: var(--color-primary); line-height: 1; opacity: .15; }
.error-page__title { font-size: 1.75rem; margin: var(--space-sm) 0 .375rem; }
.error-page__desc  { color: var(--color-text-muted); margin-bottom: var(--space-lg); }

/* ---- 21. ANIMATIONS --------------------------------------------- */
[data-anim] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-anim].is-shown { opacity: 1; transform: none; }
[data-anim="left"]  { transform: translateX(-22px); }
[data-anim="right"] { transform: translateX(22px); }
[data-anim="left"].is-shown,
[data-anim="right"].is-shown { transform: none; }

[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }
[data-delay="6"] { transition-delay: .6s; }

/* ---- 22. MISC --------------------------------------------------- */
.spinner { width: 40px; height: 40px; border: 3px solid var(--color-border); border-top-color: var(--color-primary); border-radius: 50%; animation: spin .75s linear infinite; margin: var(--space-xl) auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-mini-hero {
  padding: calc(var(--navbar-h) + var(--space-xl)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  text-align: center;
  color: var(--color-white);
}
.page-mini-hero h1 { color: var(--color-white); }
.page-mini-hero p  { color: rgba(255,255,255,.8); margin-top: var(--space-sm); }

/* ---- 23. WORDPRESS ADMIN BAR ------------------------------------ */
.admin-bar .navbar { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar .navbar { top: 46px; }
}

/* ---- 24. COLOMBIA CARD ------------------------------------------ */
.svc-colombia-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: var(--space-lg);
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #0F3060 60%, var(--color-primary) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--color-white);
}
.svc-colombia-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.svc-colombia-card__flag { position: absolute; top: 0; left: 0; right: 0; height: 5px; display: flex; }
.svc-colombia-card__flag span { flex: 1; }
.svc-colombia-card__left { position: relative; z-index: 1; }
.svc-colombia-card__left .svc-card__icon { width: 52px; height: 52px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); margin-bottom: 1rem; }
.svc-colombia-card__left .svc-card__icon svg { stroke: var(--color-white); }
.svc-colombia-card__left h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); color: var(--color-white); margin-bottom: .75rem; line-height: 1.2; }
.svc-colombia-card__left p { color: rgba(255,255,255,.75); font-size: .9375rem; line-height: 1.7; margin-bottom: 0; }
.svc-colombia-card__right { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .75rem; }
.svc-colombia-item { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; color: rgba(255,255,255,.88); }
.svc-colombia-item svg { width: 16px; height: 16px; stroke: #5edc8b; flex-shrink: 0; stroke-width: 3; }

/* ---- 25. FEATURED CAROUSEL -------------------------------------- */
.featured-section { overflow: hidden; }
.featured-carousel { position: relative; margin-top: var(--space-lg); padding: 0 calc(var(--container-pad) * 1.5); }
.featured-swiper { border-radius: var(--radius-xl); overflow: visible; }
.featured-swiper .swiper-slide { border-radius: var(--radius-xl); overflow: hidden; opacity: .6; transform: scale(.96); transition: opacity .6s ease, transform .6s ease; }
.featured-swiper .swiper-slide-active { opacity: 1; transform: scale(1); }

.feat-slide { position: relative; height: 500px; display: flex; align-items: flex-end; overflow: hidden; }
.feat-slide__bg { position: absolute; inset: 0; }
.feat-slide__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.4,0,0.2,1); }
.swiper-slide-active .feat-slide__bg img { transform: scale(1.04); }
.feat-slide__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,12,28,.96) 0%, rgba(5,12,28,.65) 40%, rgba(5,12,28,.12) 100%); }
.feat-slide__art { position: absolute; inset: 0; }
.feat-slide__art::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 44px 44px; }
.feat-slide__art::after { content: ''; position: absolute; width: 60%; aspect-ratio: 1; top: -20%; right: -8%; border-radius: 50%; border: 1px solid rgba(255,255,255,.05); background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%); }

.feat-slide__content { position: relative; z-index: 2; padding: 2rem 2.5rem 2.25rem; width: 100%; }
.feat-slide__top { display: flex; align-items: center; gap: .625rem; margin-bottom: 1rem; }
.feat-slide__badge { display: inline-flex; align-items: center; font-size: .625rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; padding: .3125rem .75rem; border-radius: var(--radius-full); }
.feat-slide__badge--available { background: rgba(26,122,74,.25); color: #5edc8b; border: 1px solid rgba(94,220,139,.22); }
.feat-slide__badge--soon { background: rgba(255,255,255,.1); color: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.16); }
.feat-slide__op { font-size: .625rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.feat-slide__title { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.8vw, 2rem); font-weight: 700; color: var(--color-white); line-height: 1.18; margin-bottom: .5rem; max-width: 640px; }
.feat-slide__city { display: flex; align-items: center; gap: .375rem; font-size: .875rem; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.feat-slide__city svg { width: 13px; height: 13px; stroke: rgba(255,255,255,.45); flex-shrink: 0; }
.feat-slide__stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.feat-slide__stats span { display: inline-flex; align-items: center; gap: .375rem; font-size: .8125rem; color: rgba(255,255,255,.6); }
.feat-slide__stats svg { width: 13px; height: 13px; stroke: rgba(255,255,255,.4); }
.feat-slide__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.feat-slide__price { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--color-white); line-height: 1; }

.featured-prev, .featured-next { position: absolute; top: 50%; z-index: 20; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); background: rgba(15,25,50,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s ease, border-color .25s ease; transform: translateY(-50%); }
.featured-prev { left: 0; }
.featured-next { right: 0; }
.featured-prev svg, .featured-next svg { width: 17px; height: 17px; stroke: rgba(255,255,255,.85); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.featured-prev svg { transform: rotate(180deg); }
.featured-prev:hover, .featured-next:hover { background: rgba(26,86,160,.75); border-color: rgba(255,255,255,.4); }

.featured-swiper .swiper-pagination { position: relative; bottom: unset; display: flex; align-items: center; justify-content: center; gap: .375rem; margin-top: 1.5rem; }
.featured-swiper .swiper-pagination-bullet { width: 6px; height: 6px; border-radius: 3px; background: var(--color-border); opacity: 1; transition: width .35s cubic-bezier(0.4,0,0.2,1), background .35s ease; margin: 0 !important; }
.featured-swiper .swiper-pagination-bullet-active { width: 28px; background: var(--color-primary); }

.featured-counter { display: flex; align-items: baseline; gap: .25rem; position: absolute; bottom: calc(1.5rem + 42px); right: calc(var(--container-pad) * 1.5 + 1.5rem); z-index: 10; pointer-events: none; }
.featured-counter__current { font-family: var(--font-heading); font-size: 1.625rem; font-weight: 700; color: var(--color-white); line-height: 1; min-width: 2ch; }
.featured-counter__sep, .featured-counter__total { font-size: .8125rem; color: rgba(255,255,255,.38); }

/* ================================================================
   26. RESPONSIVE — Sistema Completo
   Breakpoints: 1024 | 768 | 480 | 375
   ================================================================ */

/* ── Tablet landscape (≤1024px) ──────────────────────────────── */
@media (max-width: 1024px) {
  :root { --space-2xl: 5rem; --space-xl: 3.25rem; }

  .hero__content        { grid-template-columns: 1fr 300px; gap: 3rem; }
  .hero__portrait-frame { width: 240px; }
  .navbar__nav          { gap: .125rem; }

  .properties-grid    { grid-template-columns: repeat(2, 1fr); }
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .testi-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer__grid       { grid-template-columns: repeat(2, 1fr); }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .process-track      { grid-template-columns: repeat(3, 1fr); }
  .process-track::before { display: none; }
  .qsearch-form       { grid-template-columns: repeat(3, 1fr); }

  .contact-layout     { grid-template-columns: 1fr; }
  .prop-detail-layout { grid-template-columns: 1fr; }
  .prop-sidebar       { position: static; }
  .about-badge        { right: 0; }
  .svc-full-item      { grid-template-columns: 1fr; }
  .svc-full-item:nth-child(even) .svc-full-item__img { order: 0; }
}

/* ── Tablet portrait: stats 2×2 (769–1024px) ─────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero__statsbar-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm) var(--space-xl); }
  .hero__stat-num      { font-size: 1.625rem; }
}

/* ── Móvil (≤768px) ──────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --space-2xl:    4rem;
    --space-xl:     2.5rem;
    --container-pad: 1.125rem;
    --navbar-h:     68px;
  }

  /* Navbar */
  .navbar__nav, .navbar__actions { display: none; }
  .navbar__hamburger { display: flex; }

  .navbar__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--navbar-h);
    left: 0; right: 0; bottom: 0;
    background: var(--color-white);
    padding: var(--space-md) var(--container-pad) calc(var(--space-md) + 72px);
    gap: 0;
    align-items: stretch;
    border-top: 1px solid var(--color-border);
    overflow-y: auto;
    z-index: 999;
  }
  .navbar__nav.is-open li { display: block; }
  .navbar__nav.is-open a {
    display: block;
    font-size: 1.0625rem;
    font-weight: 500;
    padding: .9375rem 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text) !important;
    letter-spacing: 0;
    text-transform: none;
    width: 100%;
  }
  .navbar__nav.is-open a.active,
  .navbar__nav.is-open .current-menu-item > a {
    color: var(--color-primary) !important;
    font-weight: 700;
  }

  /* WhatsApp fijado al fondo del drawer */
  .navbar__nav.is-open ~ .navbar__actions {
    display: flex;
    position: fixed;
    bottom: 1rem;
    left: var(--container-pad);
    right: var(--container-pad);
    z-index: 1001;
    justify-content: center;
  }
  .navbar__nav.is-open ~ .navbar__actions .navbar__whatsapp {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
  }

  /* Hero */
  .hero__statsbar { display: none; }
  .hero__content {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: var(--space-xl);
    gap: 2rem;
    justify-items: center;
    text-align: center;
  }
  .hero__text         { align-items: center; }
  .hero__eyebrow      { align-self: center; }
  .hero__sub          { text-align: center; max-width: 100%; }
  .hero__ctas         { justify-content: center; flex-wrap: wrap; }
  .hero__portrait     { order: -1; }
  .hero__portrait-frame { width: 170px; }
  .hero__scroll-hint  { bottom: 1.5rem; }

  /* Secciones */
  .section__header { margin-bottom: var(--space-lg); }

  /* Quick search */
  .qsearch-form { grid-template-columns: 1fr 1fr; }

  /* Grids */
  .properties-grid { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: 1fr; }
  .testi-grid      { grid-template-columns: 1fr; }
  .footer__grid    { grid-template-columns: 1fr; gap: var(--space-lg); }
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
  .process-track   { grid-template-columns: 1fr 1fr; }

  /* About */
  .about-grid      { grid-template-columns: 1fr; }
  .about-img-frame { aspect-ratio: 3/2; }
  .about-badge     {
    position: static;
    margin-top: var(--space-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: unset;
    padding: var(--space-sm) var(--space-md);
  }
  .about-badge__num   { font-size: 1.75rem; }
  .about-content      { text-align: center; }
  .about-stats        { text-align: left; }
  .footer__brand-desc { max-width: 100%; }

  /* Forms */
  .form-row          { grid-template-columns: 1fr; }
  .contact-form-card { padding: var(--space-lg); }
  .contact-info-body { padding: var(--space-md); }

  /* Gallery */
  .prop-gallery         { grid-template-columns: 1fr; height: auto; }
  .prop-gallery__thumbs { grid-template-columns: repeat(3, 1fr); grid-template-rows: unset; padding-top: 4px; }
  .prop-gallery__main   { border-radius: var(--radius-lg) var(--radius-lg) 0 0; height: 240px; }

  /* Property list */
  .properties-grid.--list .prop-card        { flex-direction: column !important; }
  .properties-grid.--list .prop-card__img-wrap { width: 100% !important; height: 200px !important; }

  /* Colombia card */
  .svc-colombia-card { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 1.5rem; }
  .svc-colombia-card__left .btn { width: 100%; justify-content: center; }

  /* Featured carousel */
  .featured-carousel  { padding: 0; }
  .featured-prev, .featured-next { display: none; }
  .feat-slide         { height: 460px; }
  .feat-slide__content { padding: 1.5rem; }
  .feat-slide__stats  { gap: 1rem; }
  .feat-slide__footer { flex-direction: column; align-items: flex-start; gap: .875rem; }
  .featured-counter   { bottom: calc(1.25rem + 42px); right: 1.25rem; }

  /* CTA section */
  .cta-section .btn-group { flex-direction: column; align-items: center; }
  .cta-section .btn-group .btn { width: 100%; max-width: 360px; justify-content: center; }

  /* Services page */
  .svc-full-item { grid-template-columns: 1fr; }
  .svc-full-item:nth-child(even) .svc-full-item__img { order: 0; }
}

/* ── Móvil pequeño (≤480px) ──────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
    --space-xl:  2rem;
    --space-2xl: 3.5rem;
  }

  .section { padding: var(--space-xl) 0; }

  /* Navbar */
  .navbar__logo-name { font-size: 1.25rem; }
  .navbar__logo-sub  { display: none; }

  /* Hero */
  .hero__portrait-frame { width: 145px; }
  .hero__content { padding-top: 1.75rem; gap: 1.75rem; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero__ctas .btn { justify-content: center; width: 100%; }

  /* Quick search */
  .qsearch-form { grid-template-columns: 1fr; }
  .qsearch-form .btn { width: 100%; }

  /* Featured */
  .feat-slide          { height: 400px; }
  .feat-slide__content { padding: 1.25rem 1.25rem 1.5rem; }
  .feat-slide__stats   { display: none; }
  .featured-counter    { display: none; }

  /* Colombia */
  .svc-colombia-card { padding: 1.75rem 1.125rem; gap: 1.5rem; }

  /* Services */
  .svc-card { padding: var(--space-md) var(--space-sm); }

  /* Grids */
  .why-grid      { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }

  /* Footer */
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__grid   { gap: var(--space-md); }
  .footer__legal  { flex-direction: column; gap: .5rem; align-items: center; }

  /* Misc */
  .wa-float          { bottom: 1.25rem; right: 1.25rem; }
  .wa-float__btn     { width: 52px; height: 52px; }
  .contact-form-card { padding: var(--space-md); }
}

/* ── Móvil muy pequeño (≤375px) ──────────────────────────────── */
@media (max-width: 375px) {
  :root { --container-pad: .875rem; }

  .hero__portrait-frame { width: 125px; }
  .hero__content        { padding-top: 1.25rem; gap: 1.5rem; }
  .hero__title          { font-size: clamp(1.75rem, 9vw, 2.25rem); }
  .hero__eyebrow        { font-size: .6rem; padding: .375rem .875rem; }

  .btn--lg { padding: .875rem 1.5rem; font-size: .9375rem; }
  .feat-slide { height: 360px; }

  .navbar__logo-name { font-size: 1.125rem; }
  .wa-float__btn { width: 48px; height: 48px; }
  .wa-float__btn svg { width: 24px; height: 24px; }
}

/* ── Touch targets mínimo 44×44px ────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .navbar__hamburger { min-width: 44px; min-height: 44px; }
  .featured-prev, .featured-next { width: 44px; height: 44px; }
  .contact-social, .footer__social { width: 44px; height: 44px; }
  .wa-float__btn { min-width: 48px; min-height: 48px; }
  .btn { min-height: 44px; }
}
