/*
Theme Name: Home Premium Real Estate
Theme URI: https://homepremiumrealestate.com
Author: AEM
Author URI: https://antoniencarnacion.info
Description: Tema clásico personalizado para Home Premium Real Estate. Diseño premium luxury con estética negra y dorada.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homepremium-theme
Tags: real-estate, luxury, premium, black-gold

Este tema está diseñado para Home Premium Real Estate.
*/

/* ==========================================================================
   CSS IMPORT STATEMENTS (para desarrollo)
   ========================================================================== */
/*
@import url('../hpnew/assets/css/tokens.css');
@import url('../hpnew/assets/css/base.css');
@import url('../hpnew/assets/css/components.css');
@import url('../hpnew/assets/css/sections.css');
@import url('../hpnew/assets/css/responsive.css');
*/

/* ==========================================================================
   DESIGN TOKENS - Variables CSS Globales
   ========================================================================== */
:root {
  /* Primary - Dorado (Color Principal de Marca) */
  --color-primary: #c9a227;
  --color-primary-light: #d4b84a;
  --color-primary-dark: #a68520;
  --color-primary-rgb: 201, 162, 39;

  /* Secondary - Dorado Intenso (CTAs y Acentos) */
  --color-secondary: #d4af37;
  --color-secondary-light: #e5c158;
  --color-secondary-dark: #b8960c;

  /* Background - Fondos */
  --color-bg-dark: #0a0a0a;
  --color-bg-darker: #050505;
  --color-bg-light: #faf9f7;
  --color-bg-cream: #f5f3ef;
  --color-white: #ffffff;

  /* Aliases */
  --color-black: #000000;
  --color-charcoal: #1a1a1a;
  --color-gold: #c9a227;
  --color-gold-soft: #d4b84a;
  --color-offwhite: #faf9f7;
  --color-muted: #6b6b6b;

  /* Text - Textos */
  --color-text-main: #1a1a1a;
  --color-text-body: #3d3d3d;
  --color-text-muted: #6b6b6b;
  --color-text-light: #999999;
  --color-text-inverse: #ffffff;

  /* Semantic */
  --color-success: #2d7d46;
  --color-error: #c53030;

  /* Border */
  --color-border: #e5e5e5;
  --color-border-light: #f0f0f0;

  /* Premium Effects */
  --color-gold-gradient: linear-gradient(135deg, #c9a227 0%, #d4af37 50%, #e5c158 100%);

  /* Font Family */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Container Widths */
  --container-xl: 1280px;

  /* Border Radius */
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-floating: 0 10px 40px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-default: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index */
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  color: var(--color-text-main);
  background-color: var(--color-white);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
}

main {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-text-main);
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
  text-wrap: pretty;
}

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

:where(
  .section-subtitle,
  .hp-lead,
  .hp-kicker,
  .hero-badge-text,
  .hero-property-panel p,
  .hp-virtual-hero p,
  .hp-section-heading p,
  .hp-contact-cta__content p,
  .hp-properties-hero__description
) {
  text-wrap: balance;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

li {
  margin-bottom: var(--space-2);
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-6) 0;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.bg-white { background-color: var(--color-white); }
.bg-cream { background-color: var(--color-bg-cream); }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }
.shadow { box-shadow: var(--shadow-card); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.transition { transition: all var(--transition-default); }
.uppercase { text-transform: uppercase; }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }
.cursor-pointer { cursor: pointer; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Margin/Padding Utilities */
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-default);
  white-space: nowrap;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  border-radius: var(--radius-md);
}

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

.btn-primary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

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

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

.btn-light {
  background-color: var(--color-charcoal);
  color: var(--color-primary);
  border-color: var(--color-charcoal);
}

.btn-light:hover {
  background-color: var(--color-white);
  color: var(--color-text-main);
}

.btn-dark {
  background-color: var(--color-bg-darker);
  border-color: var(--color-bg-darker);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: var(--color-bg-dark);
  border-color: var(--color-bg-dark);
  color: var(--color-white);
}

/* ==========================================================================
   BADGES
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  line-height: 1;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-primary { background-color: var(--color-primary); color: var(--color-white); }
.badge-secondary { background-color: var(--color-secondary); color: var(--color-white); }
.badge-dark { background-color: var(--color-text-main); color: var(--color-white); }
.badge-gold { background-color: var(--color-primary); color: var(--color-text-main); border: 1px solid rgba(0,0,0,0.1); }
.badge-light { background-color: rgba(255, 255, 255, 0.95); color: var(--color-text-main); backdrop-filter: blur(8px); border: 1px solid rgba(0,0,0,0.06); }
.badge-soft { background-color: var(--color-gray-100, #f8f8f6); color: var(--color-text-secondary); }
.badge-new { background-color: var(--color-white); color: var(--color-text-main); border: 1px solid rgba(0,0,0,0.08); }

/* Property badges - unified style */
.property-card-badge .badge {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-text-main);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
:root {
  --reveal-duration: 600ms;
  --reveal-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--reveal-duration) var(--reveal-ease),
              transform var(--reveal-duration) var(--reveal-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

.card-hover-lift {
  transition: transform var(--transition-default), box-shadow var(--transition-default);
}

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

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(201, 162, 39, 0); }
}

.pulse-gold {
  animation: pulse-gold 2s infinite;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  height: 4.5rem;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header.header-static {
  position: absolute;
}

.header.scrolled {
  height: 3.75rem;
  background-color: rgba(255, 255, 255, 0.99);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 24px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2rem;
  max-width: 1280px;
  margin: 0 auto;
  min-width: 0;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-decoration: none;
  line-height: 1;
  gap: 0.15rem;
  transition: opacity 200ms ease;
}

.header-logo:hover {
  opacity: 0.85;
}

.header-logo-image {
  display: block;
  width: auto;
  height: 3rem;
  max-width: 220px;
  object-fit: contain;
}

.header-logo-text {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.header-logo-brand {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: 0.12em;
}

.header-logo-accent {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--color-primary);
  letter-spacing: 0.12em;
}

.header-logo-tagline {
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-link {
  position: relative;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-body);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-radius: 0.375rem;
  transition: color 200ms ease, background-color 200ms ease;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.75rem);
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav-link:hover {
  color: var(--color-text-main);
  background-color: rgba(201, 162, 39, 0.04);
}

.header-nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.header-nav-link.active {
  color: var(--color-text-main);
  font-weight: 600;
}

.header-nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-decoration: none;
  border-radius: 0.5rem;
  letter-spacing: 0.01em;
  transition: all 250ms ease;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.25);
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  color: var(--color-black);
}

.header-cta-btn svg {
  transition: transform 200ms ease;
}

.header-cta-btn:hover svg {
  transform: translateX(3px);
}

.header-menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 0.375rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background-color 200ms ease;
}

.header-menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: all 250ms ease;
}

.header-menu-toggle.active .menu-toggle-bar:nth-child(1) {
  transform: translateY(5.25px) rotate(45deg);
}

.header-menu-toggle.active .menu-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header-menu-toggle.active .menu-toggle-bar:nth-child(3) {
  transform: translateY(-5.25px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.mobile-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 22rem;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

.mobile-menu-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 200ms ease;
}

.mobile-menu-close:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.mobile-menu-close svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-text-main);
}

.mobile-menu-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-body);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 200ms ease;
}

.mobile-nav-link:hover {
  background-color: rgba(201, 162, 39, 0.06);
  color: var(--color-text-main);
}

.mobile-nav-link.active {
  background-color: rgba(201, 162, 39, 0.1);
  color: var(--color-primary);
  font-weight: 600;
}

.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 250ms ease;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.25);
}

.mobile-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.mobile-cta-btn svg {
  transition: transform 200ms ease;
}

.mobile-cta-btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

.mobile-bottom-nav__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  width: min(100%, 32rem);
  margin: 0 auto;
  padding: 0.45rem 0.55rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 17, 11, 0.08);
  border-bottom: 0;
  box-shadow: 0 -10px 30px rgba(20, 17, 11, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-bottom-nav__item {
  display: flex;
  min-width: 0;
  min-height: 3.15rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--color-text-muted);
  font-family: var(--font-primary);
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.mobile-bottom-nav__item span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-bottom-nav__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item:focus-visible,
.mobile-bottom-nav__item.is-active,
.mobile-bottom-nav__button.active {
  color: var(--color-text-main);
  background: rgba(var(--color-primary-rgb), 0.12);
}

.mobile-bottom-nav__item:active {
  transform: translateY(1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 42rem;
  align-items: flex-start;
  padding-top: var(--header-height, 4.5rem);
  background: linear-gradient(135deg, #050505 0%, #0a0a0a 50%, #050505 100%);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hero-with-search {
  min-height: auto;
  padding-bottom: clamp(5.5rem, 7vw, 7rem);
  margin-bottom: clamp(7rem, 8vw, 8.5rem);
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 16rem;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.12), transparent 68%);
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  filter: grayscale(1) saturate(0.65);
  transform: scale(1.04);
  transition: opacity 500ms ease, transform 700ms ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(5, 5, 5, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
}

.hero-with-search .hero-content {
  position: static;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-10);
  width: 100%;
}

.hero-inner {
  max-width: none;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background-color: rgba(201, 162, 39, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-full);
}

.hero-badge-icon {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(201, 162, 39, 0.1);
  border-radius: var(--radius-full);
  animation: pulse-gold 2s infinite;
}

.hero-badge-text {
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  max-width: 34rem;
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: var(--font-extrabold);
  line-height: 1.08;
  color: var(--color-white);
  letter-spacing: 0;
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

.hero-title > span {
  display: block;
}

.hero-title-display {
  position: relative;
  display: block;
  min-height: 1.08em;
  margin: 0.08em 0;
  color: var(--color-primary);
}

.hero-title-display__item {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 420ms ease, transform 420ms ease;
  white-space: nowrap;
}

.hero-title-display__item.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.hero-property-panel {
  display: grid;
  margin: var(--space-6) 0;
  padding: var(--space-6) var(--space-6);
  background: rgba(201, 162, 39, 0.04);
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-property-panel h2 {
  margin-bottom: var(--space-3);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
}

.hero-property-panel p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.hero-property-slide,
.hero-media-slide {
  display: block;
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity 420ms ease, transform 520ms ease, visibility 420ms ease;
}

.hero-property-slide.is-active,
.hero-media-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.hero-property-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
}

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

.hero-trust-strip span::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(201, 162, 39, 0.09);
}

.hero-media {
  display: grid;
  position: relative;
  margin-top: var(--space-8);
  isolation: isolate;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: -1.5rem;
  z-index: -1;
  border-radius: 2.25rem;
  background: radial-gradient(circle at 70% 20%, rgba(201, 162, 39, 0.24), transparent 42%);
  filter: blur(8px);
  opacity: 0.75;
}

.hero-media img {
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.7);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transform: scale(1.035);
  transition: opacity 620ms ease, transform 900ms ease, filter 500ms ease;
}

.hero-media img.is-active {
  transform: scale(1);
  filter: saturate(0.95) brightness(0.78);
}

.hero-media-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 1.5rem;
}

.hero-media-kicker {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.65rem 0.9rem;
  color: var(--color-white);
  background: rgba(5, 5, 5, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.hero-media-kicker span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-media-kicker strong {
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-extrabold);
}

.hero-slider-controls {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 5;
}

.hero-slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-white);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 300ms ease;
}

.hero-slider-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4);
}

.hero-slider-dots {
  position: absolute;
  left: var(--space-5);
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 50%;
}

.hero-slider-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 240ms ease, background 240ms ease, transform 240ms ease;
}

.hero-slider-dot:hover,
.hero-slider-dot.is-active {
  width: 1.8rem;
  background: var(--color-primary);
}

.hero-search-panel {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 0;
  width: min(calc(100% - 3rem), 1280px);
  max-width: 1280px;
  margin: 0;
  padding: 0;
  transform: translate(-50%, 50%);
  overflow: visible;
}

.hero-with-search + .listings-section {
  position: relative;
  z-index: 1;
  padding-top: clamp(5rem, 8vw, 7rem);
}

/* ==========================================================================
   SEARCH BOX
   ========================================================================== */
.search-box {
  padding: clamp(1.35rem, 2.2vw, 2rem);
  border-radius: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 46px rgba(20, 17, 11, 0.22),
    0 34px 86px rgba(20, 17, 11, 0.12);
  overflow: visible;
  background: var(--color-white);
  border: 1px solid rgba(201, 162, 39, 0.18);
  width: 100%;
  margin: 0 auto;
}

.search-box-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(20, 17, 11, 0.07);
}

.search-box-heading h2 {
  margin-bottom: var(--space-1);
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text-main);
}

.search-box-heading p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.search-box-form {
  display: grid;
  grid-template-columns: minmax(21rem, 1.8fr) minmax(17rem, 1.05fr) minmax(18rem, 1.15fr) minmax(11rem, 0.55fr);
  gap: var(--space-3);
  align-items: stretch;
}

.search-box-row {
  display: contents;
}

.search-box-group {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: var(--space-3);
  border: 1px solid rgba(20, 17, 11, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(250, 249, 247, 0.72), rgba(255, 255, 255, 0.88));
}

.search-box-group legend {
  float: none;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 var(--space-2);
  padding: 0;
  color: var(--color-primary-dark);
  font-family: var(--font-primary);
  font-size: 0.68rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.search-box-group-location {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.search-box-group-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-box-group-budget {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
}

.search-box-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  position: relative;
}

.search-box-label {
  font-size: 0.7rem;
  font-weight: var(--font-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-1);
  display: block;
}

.search-box-input {
  display: block;
  width: 100%;
  min-height: 3.05rem;
  padding: 0.78rem var(--space-4);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  color: #1a1a1a;
  line-height: 1.5;
  transition: all 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.search-box-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
  background-color: #ffffff;
}

.search-box-input::placeholder {
  color: #999999;
}

.search-box-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 1rem;
  padding-right: var(--space-10);
  cursor: pointer;
}

.search-box-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: 0;
  min-width: 0;
  align-self: stretch;
}

.search-box-actions .btn {
  width: 100%;
  min-height: 3.05rem;
  align-self: end;
  justify-content: center;
  border-radius: 1rem;
}

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.section-header-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--font-extrabold);
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 42rem;
  line-height: 1.6;
}

.cities-section .section-subtitle {
  text-wrap: balance;
}

.section-actions {
  display: flex;
  gap: var(--space-3);
}

/* ==========================================================================
   PROPERTY CARDS
   ========================================================================== */
.property-card {
  position: relative;
  background-color: var(--color-white);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(201, 162, 39, 0.25);
  border-color: rgba(201, 162, 39, 0.3);
}

.property-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.property-card-badge {
  position: absolute;
  z-index: 2;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.property-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 1.25rem;
}

.property-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
}

.property-card-link:focus {
  outline: none;
}

.property-card-link:focus-visible::after {
  box-shadow: inset 0 0 0 2px var(--color-primary), inset 0 0 0 4px var(--color-white);
}

.property-card-content {
  position: relative;
  padding: var(--space-4) var(--space-4) var(--space-3);
}

.property-card-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-1);
}

.property-card-price-value {
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  letter-spacing: -0.02em;
}

.property-card-title {
  font-family: var(--font-primary);
  color: var(--color-text-main);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin-top: 0;
  margin-bottom: var(--space-1);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-card-location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.4;
  margin-bottom: var(--space-3);
}

.property-card-location svg {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--color-primary);
  flex-shrink: 0;
  opacity: 0.8;
}

.property-card-location span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-card-features {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
  margin-top: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-light);
}

.property-card-feature {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-text-body);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.property-card-feature svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--color-primary);
  opacity: 0.7;
}

.property-card-feature-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 auto;
  opacity: 0.7;
  background-color: var(--color-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

/* ==========================================================================
   CITY CARDS
   ========================================================================== */
.city-card {
  flex: 0 0 15rem;
  height: 20rem;
  aspect-ratio: auto;
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 300ms ease, box-shadow 300ms ease;
  background: #0a0a0a;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  position: relative;
}

.city-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  transition: opacity 300ms ease;
}

.city-card:hover::before {
  opacity: 0.85;
}

.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.city-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 500ms ease;
}

.city-card:hover .city-card-img {
  transform: scale(1.04);
}

.city-card-content {
  position: relative;
  z-index: 2;
  padding: var(--space-5);
}

.city-card-name {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.city-card-count {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: var(--font-medium);
}

.city-card-arrow {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateX(-1rem);
  transition: opacity var(--transition-default), transform var(--transition-default);
}

.city-card:hover .city-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.city-card-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-text-main);
}

/* ==========================================================================
   AGENT CARDS
   ========================================================================== */
.agent-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
  background: var(--color-white);
}

.agent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
}

.agent-card-img {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(15, 23, 42, 0.08));
}

.agent-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

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

.agent-card-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-text-primary);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  letter-spacing: 0;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.agent-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-4) var(--space-3) var(--space-3);
  gap: var(--space-1);
}

.agent-card-name {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  line-height: 1.3;
}

.agent-card-name a {
  color: inherit;
  text-decoration: none;
}

.agent-card-name a:hover {
  color: var(--color-primary);
}

.agent-card-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
  font-weight: var(--font-normal);
}

.agent-card-contact {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  width: 100%;
}

.agent-card-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background-color: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-full);
  transition: all 250ms ease;
}

.agent-card-contact-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.3);
}

.agent-card-contact-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-primary);
  transition: color 250ms ease;
}

.agent-card-contact-btn:hover svg {
  color: var(--color-white);
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.blog-card {
  position: relative;
  background-color: var(--color-white);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(201, 162, 39, 0.08);
}

.blog-card-link {
  position: absolute;
  inset: -1px;
  z-index: 4;
  border-radius: inherit;
}

.blog-card-link:focus {
  outline: none;
}

.blog-card-link:focus-visible {
  box-shadow: inset 0 0 0 2px var(--color-primary), inset 0 0 0 5px var(--color-white);
}

.blog-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.blog-card-category {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  z-index: 2;
}

.blog-card-content {
  padding: var(--space-5);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.blog-card-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.blog-card-meta-item svg {
  width: 0.875rem;
  height: 0.875rem;
}

.blog-card-title {
  font-family: var(--font-primary);
  font-weight: var(--font-semibold);
  color: var(--color-text-main);
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title:hover {
  color: var(--color-primary);
}

.blog-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.blog-card-author-img {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.blog-card-author-name {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-primary);
}

.blog-card-readmore {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.blog-card:hover .blog-card-readmore {
  gap: var(--space-2);
}

.blog-card-readmore svg {
  width: 1rem;
  height: 1rem;
}

/* ==========================================================================
   ACCORDION / FAQ
   ========================================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-item {
  background: var(--color-white);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border-light);
  transition: box-shadow 250ms ease, border-color 250ms ease, transform 150ms ease;
  overflow: hidden;
  width: 100%;
}

.faq-section .accordion-item {
  position: relative;
}

.accordion-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 250ms ease;
}

.accordion-item.is-active {
  border-color: rgba(201, 162, 39, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.accordion-item.is-active::before {
  opacity: 1;
}

.accordion-item:hover:not(.is-active) {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: var(--color-border);
}

.accordion-header {
  width: 100%;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-primary);
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  color: var(--color-text-main);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 200ms ease;
  gap: var(--space-4);
}

.accordion-trigger:hover {
  color: var(--color-text-secondary);
}

.accordion-item.is-active .accordion-trigger {
  color: var(--color-text-main);
  font-weight: var(--font-semibold);
}

.accordion-trigger-text {
  flex: 1;
  line-height: 1.4;
}

.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: var(--color-gray-50, #f8f8f6);
  border: 1px solid var(--color-border-light);
  flex-shrink: 0;
  transition: all 250ms ease;
}

.accordion-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--color-text-muted);
  transition: transform 300ms ease, color 200ms ease;
}

.accordion-item.is-active .accordion-icon {
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.3);
}

.accordion-item.is-active .accordion-icon svg {
  color: var(--color-primary);
  transform: rotate(45deg);
}

.accordion-trigger:focus-visible {
  outline: none;
}

.accordion-trigger:focus-visible .accordion-trigger-text {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.accordion-trigger:active {
  transform: scale(0.995);
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.is-active .accordion-content {
  max-height: 400px;
}

.accordion-body {
  padding: 0 var(--space-6) var(--space-5);
}

.accordion-body p {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   LISTINGS / PROPERTIES GRID
   ========================================================================== */
.listings-section {
  padding: var(--space-16) 0;
  background-color: var(--color-white);
  position: relative;
  z-index: 5;
}

.listings-grid {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-4) var(--space-4);
  margin: var(--space-2) 0;
}

.listings-grid::-webkit-scrollbar {
  display: none;
}

.listings-grid .property-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .listings-grid .property-card {
    flex: 0 0 300px;
  }
}

@media (min-width: 1024px) {
  .listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    padding: 0;
    margin: 0;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .listings-grid .property-card {
    flex: unset;
    scroll-snap-align: unset;
    width: auto;
  }
}

/* ==========================================================================
   CITIES SECTION
   ========================================================================== */
.cities-section {
  padding: var(--space-20) 0;
  background-color: var(--color-bg-cream);
  position: relative;
  z-index: 5;
}

.cities-slider {
  display: flex;
  align-items: stretch;
  gap: var(--space-5);
  padding-bottom: var(--space-2);
}

/* ==========================================================================
   AGENTS SECTION
   ========================================================================== */
.agents-section {
  padding: var(--space-16) 0;
  background-color: var(--color-white);
  position: relative;
  z-index: 5;
}

.agents-grid {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-4) var(--space-4);
  margin: var(--space-2) 0;
}

.agents-grid::-webkit-scrollbar {
  display: none;
}

.agents-grid .agent-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .agents-grid .agent-card {
    flex: 0 0 280px;
  }
}

@media (min-width: 1024px) {
  .agents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    padding: 0;
    margin: 0;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .agents-grid .agent-card {
    flex: unset;
    scroll-snap-align: unset;
    width: auto;
  }
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.blog-section {
  padding: var(--space-20) 0;
  background-color: var(--color-bg-cream);
  position: relative;
  z-index: 5;
}

.blog-grid {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-4) var(--space-4);
  margin: var(--space-2) 0;
}

.blog-grid::-webkit-scrollbar {
  display: none;
}

.blog-grid .blog-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .blog-grid .blog-card {
    flex: 0 0 340px;
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    padding: 0;
    margin: 0;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .blog-grid .blog-card {
    flex: unset;
    scroll-snap-align: unset;
    width: auto;
  }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: var(--space-20) 0;
  background-color: var(--color-white);
  position: relative;
  z-index: 5;
}

.faq-section .section-header {
  max-width: 720px;
  margin: 0 auto var(--space-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-section .section-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.faq-section .section-title,
.faq-section .section-subtitle {
  text-align: center;
}

.faq-section .faq-container,
.faq-section .accordion {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
  background-color: var(--color-text-main);
  padding: var(--space-16) 0 var(--space-6);
}

.footer-section .footer-main {
  padding: 0 0 var(--space-8);
}

.footer-section .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .footer-section .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-section .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-section .footer-brand {
  max-width: 18rem;
}

.footer-section .footer-logo {
  margin-bottom: var(--space-5);
}

.footer-section .footer-logo-text {
  font-family: var(--font-secondary);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-white);
}

.footer-section .footer-description {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-gray-400, #9b978e);
  margin-bottom: var(--space-6);
}

.footer-section .footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-section .footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: background-color 250ms ease, transform 250ms ease;
}

.footer-section .footer-social-link:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  color: var(--color-white);
}

.footer-section .footer-social-link svg {
  width: 1rem;
  height: 1rem;
}

.footer-section .footer-column-title {
  font-size: 0.7rem;
  font-weight: var(--font-bold);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer-section .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section .footer-links li {
  margin-bottom: var(--space-3);
}

.footer-section .footer-links a {
  font-size: var(--text-sm);
  color: var(--color-gray-400, #9b978e);
  transition: color 250ms ease;
}

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

.footer-section .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-section .footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-primary);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-section .footer-contact-item span {
  font-size: var(--text-sm);
  color: var(--color-gray-400, #9b978e);
  line-height: 1.6;
}

.footer-section .footer-bottom {
  padding: var(--space-6) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-section .footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-section .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-section .footer-copyright {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-gray-500, #6b6b6b);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: wrap;
  justify-content: center;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .footer-section .footer-copyright {
    justify-content: flex-start;
  }
}

.footer-separator {
  color: var(--color-gray-500, #6b6b6b);
}

.footer-section .footer-copyright a {
  color: var(--color-gray-500, #6b6b6b);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-section .footer-copyright a:hover {
  color: var(--color-primary);
}

.footer-section .footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .footer-section .footer-legal {
    flex-wrap: nowrap;
    gap: var(--space-5);
  }
}

.footer-section .footer-legal a {
  font-size: var(--text-sm);
  color: var(--color-gray-500, #6b6b6b);
  line-height: inherit;
  transition: color 200ms ease;
}

.footer-section .footer-legal a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.floating-btn-back {
  position: fixed;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: var(--color-gray-900, #1a1a1a);
  color: var(--color-white);
  opacity: 0;
  transform: translateX(-50%) translateY(20px) scale(0.9);
  pointer-events: none;
  z-index: 9997;
}

.floating-btn-back.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  pointer-events: auto;
}

.floating-btn-back:hover {
  background-color: var(--color-gray-800, #2d2d2d);
  transform: translateX(-50%) translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.floating-btn-back:active {
  transform: translateX(-50%) translateY(-1px) scale(1.02);
}

.floating-btn-back:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.floating-btn-back svg {
  transition: transform 200ms ease;
}

.floating-btn-back:hover svg {
  transform: translateY(-2px);
}

/* ==========================================================================
   WHATSAPP ASSISTANT
   ========================================================================== */
.whatsapp-assistant {
  position: fixed;
  bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
  z-index: 9999;
}

.whatsapp-bubble {
  position: relative;
  max-width: 280px;
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-gray-900, #1a1a1a);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-bubble.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-bubble::before {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 24px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--color-gray-900, #1a1a1a);
}

.whatsapp-bubble-text {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.5;
  margin: 0;
  padding-right: var(--space-6);
}

.whatsapp-bubble-close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 200ms ease;
}

.whatsapp-bubble-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background-color: #075E54;
  color: var(--color-white);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--color-white);
}

.whatsapp-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.whatsapp-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.whatsapp-btn svg {
  transition: transform 200ms ease;
}

.whatsapp-btn:hover svg {
  transform: scale(1.1);
}

.whatsapp-btn_pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background-color: #075E54;
  opacity: 0;
  animation: whatsapp-pulse 2s ease-out infinite;
  z-index: -1;
}

.whatsapp-assistant[data-whatsapp-activar="false"] .whatsapp-btn_pulse {
  display: none;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1023px) {
  *,
  *::before,
  *::after {
    max-width: 100%;
  }

  html,
  body {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  body {
    touch-action: pan-y;
  }

  main,
  .header,
  .footer-section,
  section,
  .container {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  iframe,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .header-menu-toggle {
    display: flex;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
  }

  .header-logo {
    flex: 1 1 auto;
    max-width: calc(100vw - 5rem);
  }

  .header-logo-image {
    max-width: min(12rem, calc(100vw - 5rem));
    height: auto;
    max-height: 2.65rem;
  }

  .header-logo-text {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .header-logo-brand,
  .header-logo-accent {
    font-size: clamp(0.95rem, 4vw, 1.125rem);
  }

  .header-logo-tagline {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
    display: block;
    pointer-events: none;
  }

  .mobile-bottom-nav__inner {
    pointer-events: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    margin-top: 0;
  }

  .hero-search-panel {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    padding-right: var(--space-4);
    padding-left: var(--space-4);
    transform: translateY(45%);
  }

  .search-box {
    max-width: 100%;
    overflow: hidden;
  }

  .search-box-form,
  .search-box-group-location,
  .search-box-group-details,
  .search-box-group-budget {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-box-select,
  .search-box-input,
  .search-box-actions .btn {
    min-width: 0;
    max-width: 100%;
  }

  .search-box-form {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .search-box-group-location,
  .search-box-group-budget {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-box-group-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cities-slider {
    gap: var(--space-4);
  }

  .cities-slider .city-card {
    flex: 0 0 16rem;
    height: 22rem;
  }
}

@media (max-width: 767px) {
  .header {
    height: calc(3.5rem + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  .header-inner {
    gap: 0.75rem;
    padding: 0 0.875rem;
  }

  .header-menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: auto;
  }

  .hero-title {
    max-width: 11ch;
  }

  .hero-title-display__item {
    white-space: normal;
  }

  .hero {
    min-height: auto;
    padding-top: calc(3.5rem + env(safe-area-inset-top, 0px));
    padding-bottom: var(--space-6);
    margin-bottom: 0;
  }

  .hero-with-search {
    padding-bottom: var(--space-6);
    margin-bottom: 0;
  }

  .hero-content {
    padding: var(--space-6) var(--space-4);
  }

  .hero-layout {
    gap: var(--space-5);
  }

  .hero-media {
    margin-bottom: 0;
  }

  .hero-media img {
    border-radius: 1rem;
    aspect-ratio: 16 / 10;
  }

  .hero-slider-controls {
    right: var(--space-3);
    bottom: var(--space-3);
  }

  .hero-media-kicker {
    top: var(--space-3);
    left: var(--space-3);
    padding: 0.5rem 0.75rem;
  }

  .hero-slider-dots {
    left: var(--space-3);
    bottom: var(--space-4);
    max-width: 48%;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.1;
    max-width: none;
  }

  .hero-badge {
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-4);
  }

  .hero-badge-text {
    font-size: 0.65rem;
  }

  .hero-property-panel {
    padding: var(--space-4);
    margin: var(--space-4) 0;
    border-radius: 1rem;
  }

  .hero-property-meta {
    gap: var(--space-3);
    font-size: var(--text-xs);
  }

  .hero-search-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 1160px;
    margin: var(--space-6) auto 0;
    padding: 0 var(--space-4);
    transform: none;
  }

  .hero-with-search + .listings-section {
    padding-top: var(--space-12);
  }

  .search-box {
    margin-top: 0;
    border-radius: 1rem;
    padding: var(--space-4);
  }

  .search-box-heading {
    display: block;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
  }

  .search-box-form {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .search-box-group,
  .search-box-group-location,
  .search-box-group-details,
  .search-box-group-budget {
    grid-template-columns: 1fr;
  }

  .search-box-actions {
    margin-top: var(--space-2);
  }

  .search-box-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .listings-section {
    padding: var(--space-12) 0 var(--space-10);
  }

  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
  }

  .section-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .cities-slider {
    gap: var(--space-4);
  }

  .cities-slider .city-card {
    flex: 0 0 85%;
    height: 20rem;
  }

  .faq-section,
  .agents-section {
    padding: var(--space-12) 0;
  }

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

  .blog-grid {
    gap: var(--space-4);
  }

  .listings-grid,
  .agents-grid,
  .blog-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-4);
    margin: var(--space-2) 0;
    justify-content: flex-start;
  }

  .listings-grid::-webkit-scrollbar,
  .agents-grid::-webkit-scrollbar,
  .blog-grid::-webkit-scrollbar {
    display: none;
  }

  .listings-grid .property-card,
  .agents-grid .agent-card,
  .blog-grid .blog-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  .footer-section {
    padding: var(--space-12) 0 var(--space-6);
  }

  .footer-section .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-section .footer-brand {
    max-width: 100%;
  }

  .footer-section .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
  }

  .footer-section .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
  }

  .floating-btn-back {
    bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-assistant {
    display: none;
  }

  .whatsapp-btn {
    width: 3.25rem;
    height: 3.25rem;
  }

  .whatsapp-bubble {
    max-width: 240px;
    padding: var(--space-3) var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img,
  .hero-property-slide,
  .hero-media-slide,
  .hero-media img,
  .hero-slider-dot {
    transition: none;
  }

}

@media (min-width: 1024px) {
  .cities-slider {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-5);
    overflow: visible;
    scroll-snap-type: none;
  }

  .cities-slider.scroll-x {
    overflow-x: visible;
  }

  .cities-slider .city-card {
    flex: unset;
    width: 100%;
    height: 20rem;
    scroll-snap-align: unset;
  }
}

@media (max-width: 480px) {
  .whatsapp-bubble {
    max-width: 200px;
    right: 0;
  }

  .whatsapp-bubble-text {
    font-size: var(--text-xs);
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-fade,
  .reveal-scale,
  .reveal-slide-left,
  .reveal-slide-right {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  .header,
  .footer-section,
  .hero-actions,
  .floating-btn-back,
  .whatsapp-assistant,
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .property-card,
  .agent-card,
  .blog-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}

/* ==========================================================================
   PROPERTIES ARCHIVE
   ========================================================================== */
.properties-archive {
  background:
    radial-gradient(circle at top left, rgba(201, 162, 39, 0.12), transparent 30rem),
    var(--color-bg-cream);
}

.properties-archive-hero {
  padding: calc(var(--space-20) + 2rem) 0 var(--space-10);
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(26, 22, 14, 0.92));
  color: var(--color-white);
  overflow: hidden;
  position: relative;
}

.properties-archive-hero::after {
  content: '';
  position: absolute;
  right: -10rem;
  bottom: -14rem;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.16);
  filter: blur(10px);
}

.properties-archive-hero .container {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.properties-archive-title {
  margin: var(--space-3) 0 var(--space-4);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.properties-archive-description {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-lg);
  line-height: 1.75;
}

.properties-archive-section {
  padding: var(--space-12) 0 var(--space-20);
}

.properties-archive-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: var(--space-8);
  align-items: start;
  margin-bottom: var(--space-10);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.5rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.properties-archive-label {
  display: inline-flex;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.properties-archive-heading {
  margin: 0;
  color: var(--color-text-main);
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.city-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}

.city-filter-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.72rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text-main);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.city-filter-link small {
  display: inline-grid;
  min-width: 1.5rem;
  min-height: 1.5rem;
  place-items: center;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.14);
  color: var(--color-primary);
  font-size: 0.72rem;
  line-height: 1;
}

.city-filter-link:hover,
.city-filter-link:focus-visible,
.city-filter-link.is-active {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.45);
  background: var(--color-text-main);
  color: var(--color-white);
}

.city-filter-link.is-active small,
.city-filter-link:hover small,
.city-filter-link:focus-visible small {
  background: var(--color-primary);
  color: var(--color-text-main);
}

.properties-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.properties-archive-grid .property-card {
  height: 100%;
}

.properties-archive-grid .property-card-price::after {
  content: none;
}

.properties-pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--space-12);
}

.properties-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

.properties-pagination .page-numbers {
  display: inline-grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0 var(--space-3);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text-main);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.06);
}

.properties-pagination .page-numbers.current {
  background: var(--color-primary);
  color: var(--color-text-main);
}

.properties-empty-state {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-12);
  border-radius: 1.5rem;
  background: var(--color-white);
  text-align: center;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.08);
}

.properties-empty-state h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
}

.properties-empty-state p {
  margin: 0 0 var(--space-6);
  color: var(--color-text-muted);
}

@media (max-width: 1023px) {
  .properties-archive-toolbar {
    grid-template-columns: 1fr;
  }

  .city-filter-list {
    justify-content: flex-start;
  }

  .properties-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .properties-archive-hero {
    padding: calc(var(--space-16) + 1rem) 0 var(--space-8);
  }

  .properties-archive-section {
    padding: var(--space-8) 0 var(--space-12);
  }

  .properties-archive-toolbar {
    padding: var(--space-4);
    border-radius: 1.15rem;
  }

  .city-filter-list {
    flex-wrap: nowrap;
    margin: 0 calc(var(--space-4) * -1);
    padding: 0 var(--space-4) var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .city-filter-list::-webkit-scrollbar {
    display: none;
  }

  .city-filter-link {
    flex: 0 0 auto;
  }

  .properties-archive-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* ==========================================================================
   HOME PREMIUM PROPERTIES EXPERIENCE
   ========================================================================== */
.hp-properties-archive {
  background:
    radial-gradient(circle at 10% 12rem, rgba(201, 162, 39, 0.11), transparent 28rem),
    linear-gradient(180deg, #f8f5ef 0%, #fbfaf7 46%, #f3efe7 100%);
  color: var(--color-text-main);
}

.hp-properties-hero {
  min-height: clamp(26rem, 48vw, 34rem);
  padding: clamp(7rem, 10vw, 9rem) 0 clamp(4.25rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 78% 28%, rgba(242, 211, 107, 0.34), transparent 15rem),
    radial-gradient(circle at 96% 78%, rgba(201, 162, 39, 0.18), transparent 18rem),
    linear-gradient(135deg, #050505 0%, #10100f 46%, #211b10 100%);
  isolation: isolate;
}

.properties-archive-hero .hp-properties-hero__inner {
  max-width: var(--container-xl);
}

.hp-properties-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
  opacity: 0.45;
  pointer-events: none;
}

.hp-properties-hero::after {
  width: 42rem;
  height: 42rem;
  right: -12rem;
  bottom: -18rem;
  background: rgba(201, 162, 39, 0.22);
  filter: blur(24px);
}

.hp-properties-hero__inner {
  position: relative;
  z-index: 1;
}

.hp-properties-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(1.65rem, 3vw, 2.5rem);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-properties-breadcrumb a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hp-properties-breadcrumb a:hover,
.hp-properties-breadcrumb a:focus-visible {
  color: var(--color-primary-light);
}

.hp-properties-hero__content {
  display: grid;
  grid-template-columns: minmax(18rem, 32rem) minmax(15rem, 17rem);
  gap: clamp(2.25rem, 7vw, 6rem);
  align-items: center;
  max-width: 66rem;
  min-width: 0;
}

.hp-properties-hero__copy {
  min-width: 0;
}

.hp-properties-eyebrow {
  color: var(--color-primary-light);
}

.hp-properties-hero__title {
  max-width: 12ch;
  margin: 0.9rem 0 1.2rem;
  font-size: clamp(3.6rem, 7vw, 6.15rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.hp-properties-hero__description {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.hp-properties-hero__metric {
  justify-self: start;
  align-self: center;
  width: 100%;
  padding: 1.45rem 1.5rem 1.35rem;
  border: 1px solid rgba(242, 211, 107, 0.28);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.hp-properties-hero__metric strong {
  display: block;
  color: var(--color-primary-light);
  font-size: clamp(3rem, 5vw, 4.35rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.hp-properties-hero__metric span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hp-properties-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(5rem, 10vw, 8rem);
}

.hp-filter-panel {
  position: relative;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(-5.5rem, -7vw, -3rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid rgba(82, 67, 36, 0.09);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 238, 0.92)),
    var(--color-white);
  box-shadow:
    0 2rem 5rem rgba(55, 43, 22, 0.12),
    0 0.25rem 0.75rem rgba(55, 43, 22, 0.06);
}

.hp-filter-panel::before {
  content: '';
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 1.55rem;
  pointer-events: none;
}

.hp-filter-panel__summary {
  position: relative;
  z-index: 1;
}

.hp-filter-panel__label {
  margin-bottom: 0.7rem;
  color: #a7831f;
  letter-spacing: 0.16em;
}

.hp-filter-panel__title {
  max-width: 16rem;
  color: #14110b;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 0.98;
}

.hp-filter-panel__text {
  max-width: 22rem;
  margin: 1rem 0 0;
  color: rgba(20, 17, 11, 0.58);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hp-filter-chips {
  position: relative;
  z-index: 1;
  align-content: start;
  gap: 0.65rem;
}

.hp-filter-chip {
  min-height: 2.9rem;
  padding: 0.55rem 0.65rem 0.55rem 1rem;
  border-color: rgba(20, 17, 11, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: #17130d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hp-filter-chip small {
  min-width: 1.75rem;
  min-height: 1.75rem;
  padding: 0 0.5rem;
  background: rgba(20, 17, 11, 0.06);
  color: #9b7a1d;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.hp-filter-chip:hover,
.hp-filter-chip:focus-visible {
  border-color: rgba(201, 162, 39, 0.42);
  background: rgba(201, 162, 39, 0.12);
  color: #14110b;
}

.hp-filter-chip.is-active {
  border-color: rgba(20, 17, 11, 0.88);
  background: #11100d;
  color: var(--color-white);
  box-shadow: 0 0.8rem 1.9rem rgba(20, 17, 11, 0.16);
}

.hp-filter-chip.is-active small {
  background: var(--color-primary);
  color: #11100d;
}

.hp-properties-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.35rem, 3vw, 2rem);
}

.properties-pagination {
  margin-top: clamp(3rem, 6vw, 4.75rem);
}

.properties-pagination .nav-links {
  padding: 0.45rem;
  border: 1px solid rgba(20, 17, 11, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1.2rem 3rem rgba(26, 22, 14, 0.08);
}

.properties-pagination .page-numbers {
  min-width: 2.85rem;
  min-height: 2.85rem;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.properties-pagination a.page-numbers:hover,
.properties-pagination a.page-numbers:focus-visible {
  transform: translateY(-1px);
  background: #11100d;
  color: var(--color-white);
}

.properties-pagination .page-numbers.current {
  background: var(--color-primary);
  color: #11100d;
  box-shadow: 0 0.75rem 1.8rem rgba(201, 162, 39, 0.28);
}

@media (max-width: 1100px) {
  .hp-properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-filter-panel {
    grid-template-columns: 1fr;
  }

  .hp-filter-panel__title,
  .hp-filter-panel__text {
    max-width: 100%;
  }

  .hp-filter-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .hp-properties-hero {
    min-height: 0;
    padding: 6.5rem 0 4.75rem;
  }

  .hp-properties-hero__content {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .hp-properties-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.74rem;
  }

  .hp-properties-hero__title {
    margin-top: 0.8rem;
    font-size: clamp(3rem, 17vw, 4.45rem);
  }

  .hp-properties-hero__description {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hp-properties-hero__metric {
    justify-self: start;
    max-width: 13rem;
    padding: 1rem 1.1rem;
    border-radius: 1.15rem;
  }

  .hp-properties-section {
    padding-top: 0;
  }

  .hp-filter-panel {
    display: block;
    margin-top: -2.2rem;
    margin-bottom: 2rem;
    padding: 1.05rem;
    border-radius: 1.35rem;
  }

  .hp-filter-panel::before {
    inset: 0.38rem;
    border-radius: 1rem;
  }

  .hp-filter-panel__title {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .hp-filter-panel__text {
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }

  .hp-filter-chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.55rem;
    margin: 0 -1.05rem -0.25rem;
    padding: 0 1.05rem 0.3rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hp-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .hp-filter-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .hp-properties-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .properties-pagination .nav-links {
    border-radius: 1.25rem;
  }
}

/* ==========================================================================
   PROPERTIES ARCHIVE SURGICAL LAYOUT
   ========================================================================== */
.hp-properties-hero {
  min-height: 0;
  padding: clamp(6rem, 9vw, 7.5rem) 0 clamp(3.25rem, 6vw, 4.5rem);
  background:
    radial-gradient(circle at 78% 32%, rgba(201, 162, 39, 0.22), transparent 14rem),
    linear-gradient(135deg, #050505 0%, #11100d 56%, #1a150d 100%);
}

.hp-properties-hero::before {
  opacity: 0.22;
}

.hp-properties-hero::after {
  width: 30rem;
  height: 30rem;
  right: -10rem;
  bottom: -16rem;
  opacity: 0.72;
}

.hp-properties-breadcrumb {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  font-size: 0.76rem;
}

.hp-properties-hero__content {
  grid-template-columns: minmax(18rem, 32rem) minmax(15rem, 17rem);
  gap: clamp(2.25rem, 7vw, 6rem);
  max-width: 66rem;
  align-items: center;
  min-width: 0;
}

.hp-properties-hero__title {
  max-width: 12ch;
  margin: 0.9rem 0 1.2rem;
  font-size: clamp(3.6rem, 7vw, 6.15rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hp-properties-hero__description {
  max-width: 32rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
}

.hp-properties-hero__active-filter {
  display: inline-flex;
  margin: 1rem 0 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.1);
  color: var(--color-primary-light);
  font-size: 0.9rem;
  font-weight: 700;
}

.hp-properties-hero__metric {
  justify-self: start;
  align-self: center;
  max-width: 17rem;
  padding: 1.45rem 1.5rem 1.35rem;
  border-radius: 1.1rem;
}

.hp-properties-hero__metric strong {
  font-size: clamp(3rem, 5vw, 4.35rem);
  line-height: 0.82;
}

.hp-properties-hero__metric span {
  font-size: 0.78rem;
}

.hp-properties-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(5rem, 9vw, 7rem);
}

.hp-properties-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
}

.hp-properties-sidebar {
  position: sticky;
  top: 6rem;
}

.hp-property-filters {
  padding: 1.2rem;
  border: 1px solid rgba(20, 17, 11, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1.2rem 3rem rgba(31, 24, 12, 0.08);
}

.hp-property-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(20, 17, 11, 0.08);
}

.hp-property-filters__head span {
  color: #14110b;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.hp-property-filters__head a {
  color: #a7831f;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.hp-property-filter-group {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(20, 17, 11, 0.07);
}

.hp-property-filter-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hp-property-filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  color: #14110b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-property-filter-group summary::-webkit-details-marker {
  display: none;
}

.hp-property-filter-group summary::after {
  content: '+';
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 17, 11, 0.06);
  color: #14110b;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.hp-property-filter-group[open] summary::after {
  content: '–';
  background: #11100d;
  color: var(--color-white);
}

.hp-property-filter-group summary small {
  margin-left: auto;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.16);
  color: #9b7a1d;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hp-property-filter-options {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.75rem;
}

.hp-property-filter-options--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hp-property-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 2.35rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: rgba(20, 17, 11, 0.035);
  color: rgba(20, 17, 11, 0.76);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hp-property-filter-option small {
  display: inline-grid;
  min-width: 1.45rem;
  min-height: 1.45rem;
  place-items: center;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #a7831f;
  font-size: 0.68rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.hp-property-filter-option:hover,
.hp-property-filter-option:focus-visible {
  border-color: rgba(201, 162, 39, 0.24);
  background: rgba(201, 162, 39, 0.1);
  color: #14110b;
}

.hp-property-filter-option.is-active {
  border-color: rgba(20, 17, 11, 0.88);
  background: #11100d;
  color: var(--color-white);
}

.hp-property-filter-option.is-active small {
  background: var(--color-primary);
  color: #11100d;
}

.hp-properties-mobile-filters {
  display: none;
}

.hp-properties-results {
  min-width: 0;
}

.hp-properties-results__bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  color: rgba(20, 17, 11, 0.58);
  font-size: 0.92rem;
  font-weight: 750;
}

.hp-properties-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.15rem, 2vw, 1.6rem);
}

@media (max-width: 1023px) {
  .hp-properties-layout {
    grid-template-columns: 1fr;
  }

  .hp-properties-sidebar {
    display: none;
  }

  .hp-properties-mobile-filters {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(20, 17, 11, 0.08);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1rem 2.4rem rgba(31, 24, 12, 0.07);
    overflow: hidden;
  }

  .hp-properties-mobile-filters summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.4rem;
    padding: 0 1rem;
    color: #14110b;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
  }

  .hp-properties-mobile-filters summary::-webkit-details-marker {
    display: none;
  }

  .hp-properties-mobile-filters summary::after {
    content: '+';
    display: inline-grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 999px;
    background: #11100d;
    color: var(--color-white);
  }

  .hp-properties-mobile-filters[open] summary::after {
    content: '–';
  }

  .hp-properties-mobile-filters .hp-property-filters {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .hp-properties-hero {
    padding: 5.5rem 0 3rem;
  }

  .hp-properties-hero__content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hp-properties-hero__title {
    font-size: clamp(2rem, 10vw, 2.5rem);
    line-height: 1.05;
  }

  .hp-properties-hero__metric {
    display: none;
  }

  .hp-properties-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SINGLE PROPIEDAD
   ========================================================================== */
.hp-property-single {
  padding: calc(var(--space-12) + 1.5rem) 0 var(--space-16);
  background: linear-gradient(180deg, #fbfaf8 0%, #ffffff 42%, #fbfaf8 100%);
}

.hp-property-single .container {
  max-width: 1320px;
}

.hp-property-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 390px;
  justify-content: space-between;
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: var(--space-6);
}

.hp-property-panel {
  padding: var(--space-6);
  border: 1px solid rgba(20, 17, 11, 0.09);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 18px 50px rgba(34, 28, 16, 0.08);
}

.hp-property-single__main > .hp-property-panel {
  padding: var(--space-7) 0;
  border: 0;
  border-bottom: 1px solid rgba(20, 17, 11, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hp-property-single__main > .hp-property-panel:first-child {
  padding-top: 0;
}

.hp-property-single__main > .hp-property-panel:last-child {
  border-bottom: 0;
}

.hp-property-panel h1,
.hp-property-panel h2,
.hp-property-panel h3 {
  margin-bottom: var(--space-3);
}

.hp-property-single__main .hp-property-panel h1,
.hp-property-single__main .hp-property-panel h2 {
  font-family: var(--font-primary);
  font-weight: 400;
  letter-spacing: 0;
}

.hp-property-gallery__grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(150px, 250px));
}

.hp-property-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hp-property-gallery__item.is-main {
  grid-column: span 2;
  grid-row: span 2;
}

.hp-property-gallery__item:only-child {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  min-height: clamp(360px, 42vw, 520px);
}

.hp-property-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-default);
}

.hp-property-gallery__item:hover img {
  transform: scale(1.03);
}

.hp-property-gallery--single {
  margin-bottom: var(--space-6);
}

.hp-property-gallery__single {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 16 / 9;
  min-height: clamp(320px, 36vw, 500px);
  max-height: 520px;
}

.hp-property-gallery__single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition: transform var(--transition-default);
}

.hp-property-gallery__single:hover img {
  transform: scale(1.02);
}

.hp-property-gallery__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(300px, 34vw, 460px);
  border: 1px solid rgba(20, 17, 11, 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #f8f5ee 0%, #f1ece1 100%);
}

.hp-property-gallery__placeholder span {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #61533a;
  font-size: var(--text-sm);
  font-weight: 700;
}

.hp-property-gallery__action,
.hp-property-gallery__more {
  position: absolute;
  inset: auto var(--space-3) var(--space-3) var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-white);
  font-size: var(--text-xs);
}

.hp-property-gallery__action--single {
  inset: auto var(--space-4) var(--space-4) auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 var(--space-4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-text-main);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  box-shadow: 0 14px 34px rgba(15, 12, 8, 0.18);
  pointer-events: none;
}

.hp-property-gallery__action--mobile-all {
  display: none;
}

.hp-property-gallery.gallery-mostly-portrait .hp-property-gallery__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-property-gallery.gallery-mostly-portrait .hp-property-gallery__item.is-main {
  grid-column: span 1;
  grid-row: span 2;
}

.hp-property-gallery.gallery-mostly-portrait .hp-property-gallery__item img {
  object-position: center;
}

.hp-property-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--space-8);
  background: rgba(0, 0, 0, 0.92);
}

.hp-property-lightbox[hidden] {
  display: none;
}

.hp-property-lightbox__figure {
  width: min(100%, 1100px);
  height: min(80vh, 760px);
}

.hp-property-lightbox__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hp-property-lightbox__close,
.hp-property-lightbox__nav {
  position: absolute;
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.hp-property-lightbox__close { top: 1rem; right: 1rem; }
.hp-property-lightbox__nav.is-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.hp-property-lightbox__nav.is-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.hp-property-summary__title {
  max-width: 980px;
  margin-bottom: var(--space-4);
  font-size: clamp(2rem, 2.65vw, 2.8rem);
  line-height: 1.12;
  font-weight: 400;
  text-wrap: balance;
}

.hp-property-summary {
  display: block;
  margin-bottom: var(--space-7);
}

.hp-property-summary__title,
.hp-property-summary__location,
.hp-property-summary__address,
.hp-property-summary__badges {
  grid-column: 1;
}

.hp-property-summary__location,
.hp-property-summary__address {
  margin: 0 0 var(--space-2);
  color: var(--color-text);
}

.hp-property-summary__address {
  color: var(--color-text-muted);
}

.hp-property-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.hp-property-details h2,
.hp-property-description h2,
.hp-property-amenities h2 {
  margin-bottom: var(--space-5);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.hp-property-details__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(20, 17, 11, 0.1);
  border-bottom: 1px solid rgba(20, 17, 11, 0.1);
}

.hp-property-details__item {
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid rgba(20, 17, 11, 0.08);
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.hp-property-details__item:last-child {
  border-right: 0;
}

.hp-property-details__item strong {
  display: block;
  font-size: var(--text-lg);
}

.hp-property-richtext {
  max-width: 70ch;
  color: var(--color-text);
  line-height: 1.75;
}

.hp-property-amenities__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hp-property-amenity.is-hidden {
  display: none;
}

.hp-property-agent,
.hp-property-fiduciaria,
.hp-property-price-card,
.hp-property-trust,
.hp-loan-calculator {
  margin-bottom: var(--space-5);
}

.hp-property-price-card {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
}

.hp-property-price-card__label {
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1.25;
}

.hp-property-price-card__amount {
  color: var(--color-text-main);
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: var(--font-semibold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.hp-property-price-card__range {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
}

.hp-property-price-card__range-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: end;
  min-width: 0;
}

.hp-property-price-card__range-item span {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  line-height: 1.25;
  text-transform: uppercase;
}

.hp-property-price-card.has-price-range .hp-property-price-card__amount {
  font-size: 1.95rem;
  letter-spacing: 0;
}

.hp-property-price-card__amount--secondary {
  color: var(--color-primary-dark);
}

.hp-property-price-card__note {
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1.35;
}

.hp-property-agent__card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
}

.hp-property-agent__card img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.hp-property-fiduciaria {
  padding: var(--space-5);
  background: var(--color-white);
  border: 1px solid rgba(24, 21, 15, 0.08);
  box-shadow: 0 14px 36px rgba(16, 12, 6, 0.07);
}

.hp-property-fiduciaria__body {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
}

.hp-property-fiduciaria__body--no-logo {
  grid-template-columns: 1fr;
}

.hp-property-fiduciaria__logo {
  display: grid;
  place-items: center;
  width: 128px;
  min-height: 96px;
  padding: var(--space-4);
  border: 1px solid rgba(24, 21, 15, 0.08);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.04), rgba(255, 255, 255, 0.96));
}

.hp-property-fiduciaria__logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.hp-property-fiduciaria__content {
  display: grid;
  gap: var(--space-2);
  align-content: center;
  min-width: 0;
}

.hp-property-fiduciaria__name {
  color: var(--color-text-main);
  font-size: 1.05rem;
  font-weight: var(--font-bold);
  line-height: 1.3;
}

.hp-property-fiduciaria__number {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.hp-property-fiduciaria__link {
  width: fit-content;
  margin-top: var(--space-1);
  color: var(--color-primary-dark);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}

.hp-property-fiduciaria__link:hover,
.hp-property-fiduciaria__link:focus-visible {
  color: var(--color-primary);
}

.hp-property-agent__links {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.hp-property-agent__actions,
.hp-property-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hp-property-trust {
  position: relative;
  overflow: hidden;
}

.hp-property-trust::after {
  content: "";
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  width: 48px;
  height: 58px;
  border: 2px solid rgba(166, 133, 32, 0.78);
  border-radius: 24px 24px 10px 10px;
  opacity: 0.36;
}

.hp-property-trust__list {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}

.hp-property-trust__list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.hp-property-trust__list li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--color-primary) 2px, transparent 3px);
}

.hp-property-trust p {
  margin: 0;
  max-width: 250px;
  color: var(--color-text);
  font-size: var(--text-sm);
}

.hp-loan-calculator__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.hp-loan-calculator__grid label {
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hp-loan-calculator__grid input {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.hp-loan-calculator__result {
  margin-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hp-loan-calculator__result strong {
  color: var(--color-primary-dark);
  font-size: var(--text-xl);
}

.hp-loan-calculator__disclaimer {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.hp-similar-properties {
  margin-top: var(--space-8);
}

.hp-similar-properties__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.hp-similar-properties__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.hp-property-single__side {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

@media (max-width: 1023px) {
  .hp-property-single__layout {
    grid-template-columns: 1fr;
  }

  .hp-property-single__side {
    position: static;
    order: 1;
  }

  .hp-property-single__main {
    order: 2;
  }

  .hp-property-gallery__grid {
    display: flex;
    overflow-x: auto;
    gap: var(--space-3);
    scrollbar-width: none;
  }

  .hp-property-gallery__grid::-webkit-scrollbar {
    display: none;
  }

  .hp-property-gallery__item {
    flex: 0 0 84%;
    min-height: 260px;
  }

  .hp-property-details__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-similar-properties__grid {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hp-similar-properties__grid::-webkit-scrollbar {
    display: none;
  }

  .hp-similar-properties__grid > * {
    flex: 0 0 86%;
  }
}

/* ==========================================================================
   SINGLE PROPIEDAD - PREMIUM APPROVED LAYOUT OVERRIDES
   ========================================================================== */
.hp-property-single {
  padding: calc(var(--space-8) + 1rem) 0 var(--space-16);
  background: linear-gradient(180deg, #fbfaf7 0%, #ffffff 38%, #fbfaf7 100%);
}

.hp-property-single .container {
  max-width: 1200px;
}

.hp-property-single .reveal {
  opacity: 1;
  transform: none;
}

.hp-property-breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  min-height: 24px;
  margin: var(--space-8) 0 var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.hp-property-breadcrumb a {
  color: var(--color-text-body);
}

.hp-property-breadcrumb span:last-child {
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-property-gallery {
  margin-bottom: var(--space-8);
}

.hp-property-gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) repeat(2, minmax(0, 0.42fr));
  grid-template-rows: repeat(2, minmax(170px, 220px));
  gap: 12px;
}

.hp-property-gallery__item {
  min-height: 0;
  border-radius: 14px;
  background: var(--color-bg-cream);
  box-shadow: none;
}

.hp-property-gallery__item.is-main {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.hp-property-gallery__item:not(.is-main) {
  min-height: 170px;
}

.hp-property-gallery__item:only-child {
  min-height: clamp(360px, 45vw, 520px);
}

.hp-property-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-property-gallery__more {
  inset: auto var(--space-4) var(--space-4) auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 var(--space-4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-text-main);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  box-shadow: 0 14px 34px rgba(15, 12, 8, 0.18);
}

.hp-property-gallery.gallery-mostly-portrait .hp-property-gallery__grid {
  grid-template-columns: minmax(0, 1.16fr) repeat(2, minmax(0, 0.42fr));
}

.hp-property-gallery.gallery-mostly-portrait .hp-property-gallery__item.is-main {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.hp-property-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
  margin-top: 0;
}

.hp-property-single__main {
  min-width: 0;
}

.hp-property-panel {
  border: 1px solid rgba(24, 21, 15, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(25, 20, 12, 0.07);
}

.hp-property-single__main > .hp-property-panel {
  padding: var(--space-8) 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 21, 15, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hp-property-summary {
  display: block;
  margin: var(--space-7) 0 var(--space-7);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hp-property-summary__heading {
  display: block;
}

.hp-property-summary__copy {
  min-width: 0;
}

.hp-property-summary h1.hp-property-summary__title {
  max-width: none;
  margin: 0 0 var(--space-4);
  font-family: var(--font-primary);
  font-size: clamp(2rem, 2.8vw, 2.65rem);
  font-weight: var(--font-semibold);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.hp-property-summary__location,
.hp-property-summary__address {
  position: relative;
  margin: 0 0 var(--space-1);
  padding-left: 1.35rem;
  color: var(--color-text-body);
  font-size: var(--text-sm);
}

.hp-property-summary__location::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22rem;
  width: 0.82rem;
  height: 0.82rem;
  border: 1.5px solid var(--color-primary-dark);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.hp-property-summary__address {
  color: var(--color-text-muted);
}

.hp-property-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0 var(--space-4);
}

.hp-property-summary__badges .badge {
  border-radius: 7px;
  padding: 0.42rem 0.7rem;
  background: #f2f0eb;
  color: var(--color-text-main);
  font-size: 0.78rem;
  font-weight: var(--font-medium);
}

.hp-property-summary__badges .badge-gold {
  background: var(--color-primary);
  color: var(--color-white);
}

.hp-property-summary__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  max-width: 100%;
  color: var(--color-text-main);
}

.hp-property-summary__fact {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  text-align: center;
  min-width: 124px;
  min-height: 70px;
  padding: 0.88rem 1rem;
  border: 1px solid rgba(24, 21, 15, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-text-main);
  box-shadow: 0 10px 26px rgba(25, 20, 12, 0.055);
}

.hp-property-summary__fact-main {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hp-property-summary__fact-icon {
  display: inline-block;
  width: 1.12rem;
  height: 1.12rem;
  flex: 0 0 1.12rem;
  background: var(--color-primary-dark);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.hp-property-summary__fact-value {
  color: var(--color-text-main);
  font-family: var(--font-primary);
  font-size: clamp(1.45rem, 1.8vw, 1.75rem);
  font-weight: var(--font-semibold);
  line-height: 1.05;
}

.hp-property-summary__fact-label {
  padding-left: 0;
  color: var(--color-text-muted);
  font-size: 0.76rem;
  font-weight: var(--font-medium);
  line-height: 1.2;
  text-transform: none;
}

.hp-icon-bed {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11V6.8C4 5.8 4.8 5 5.8 5h4.4c1 0 1.8.8 1.8 1.8V11h8V8h2v11h-2v-3H4v3H2V5h2v6Zm2 0h4V7H6v4Zm-2 3h16v-1H4v1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11V6.8C4 5.8 4.8 5 5.8 5h4.4c1 0 1.8.8 1.8 1.8V11h8V8h2v11h-2v-3H4v3H2V5h2v6Zm2 0h4V7H6v4Zm-2 3h16v-1H4v1Z'/%3E%3C/svg%3E");
}

.hp-icon-bath {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4.5A2.5 2.5 0 0 1 9.5 2H12v2H9.5A.5.5 0 0 0 9 4.5V11h11v2h-1v2a5 5 0 0 1-3 4.58V22h-2v-2H8v2H6v-2.42A5 5 0 0 1 3 15v-2H2v-2h5V4.5ZM5 13v2a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3v-2H5Zm6-6h4v2h-4V7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4.5A2.5 2.5 0 0 1 9.5 2H12v2H9.5A.5.5 0 0 0 9 4.5V11h11v2h-1v2a5 5 0 0 1-3 4.58V22h-2v-2H8v2H6v-2.42A5 5 0 0 1 3 15v-2H2v-2h5V4.5ZM5 13v2a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3v-2H5Zm6-6h4v2h-4V7Z'/%3E%3C/svg%3E");
}

.hp-icon-parking {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3h7.2a5.8 5.8 0 0 1 0 11.6H9V21H6V3Zm3 3v5.6h4.2a2.8 2.8 0 0 0 0-5.6H9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3h7.2a5.8 5.8 0 0 1 0 11.6H9V21H6V3Zm3 3v5.6h4.2a2.8 2.8 0 0 0 0-5.6H9Z'/%3E%3C/svg%3E");
}

.hp-icon-car {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 12.5 4.7 7.7A3 3 0 0 1 7.5 5.7h9a3 3 0 0 1 2.8 2l1.7 4.8v5.8h-2v-1.6H5v1.6H3v-5.8Zm3.8-4.8L5.7 10.8h12.6l-1.1-3.1a1 1 0 0 0-.9-.6h-8.6a1 1 0 0 0-.9.6ZM6.5 15.5a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.6Zm11 0a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 12.5 4.7 7.7A3 3 0 0 1 7.5 5.7h9a3 3 0 0 1 2.8 2l1.7 4.8v5.8h-2v-1.6H5v1.6H3v-5.8Zm3.8-4.8L5.7 10.8h12.6l-1.1-3.1a1 1 0 0 0-.9-.6h-8.6a1 1 0 0 0-.9.6ZM6.5 15.5a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.6Zm11 0a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.6Z'/%3E%3C/svg%3E");
}

.hp-icon-area,
.hp-icon-lot {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h6v2H7.4l3.1 3.1-1.4 1.4L6 7.4V10H4V4Zm10 0h6v6h-2V7.4l-3.1 3.1-1.4-1.4L16.6 6H14V4ZM9.1 13.5l1.4 1.4L7.4 18H10v2H4v-6h2v2.6l3.1-3.1Zm5.8 0 3.1 3.1V14h2v6h-6v-2h2.6l-3.1-3.1 1.4-1.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h6v2H7.4l3.1 3.1-1.4 1.4L6 7.4V10H4V4Zm10 0h6v6h-2V7.4l-3.1 3.1-1.4-1.4L16.6 6H14V4ZM9.1 13.5l1.4 1.4L7.4 18H10v2H4v-6h2v2.6l3.1-3.1Zm5.8 0 3.1 3.1V14h2v6h-6v-2h2.6l-3.1-3.1 1.4-1.4Z'/%3E%3C/svg%3E");
}

.hp-property-description h2,
.hp-property-main-features h2,
.hp-property-units h2,
.hp-property-amenities h2,
.hp-property-terminations h2,
.hp-property-payment h2,
.hp-property-details h2,
.hp-similar-properties h2 {
  margin: 0 0 var(--space-5);
  font-family: var(--font-primary);
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
}

.hp-property-richtext {
  max-width: 76ch;
  color: var(--color-text-body);
  font-size: 1rem;
  line-height: 1.78;
}

.hp-property-richtext ul,
.hp-property-richtext ol {
  margin-top: var(--space-4);
  padding-left: 1.35rem;
}

.hp-property-payment .hp-property-richtext ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-property-payment .hp-property-richtext li {
  position: relative;
  display: block;
  min-height: 58px;
  margin: 0;
  padding: 1.05rem var(--space-4) 1.05rem 3.55rem;
  border: 1px solid rgba(24, 21, 15, 0.1);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.08), rgba(255, 255, 255, 0.88));
  color: var(--color-text-main);
  font-weight: var(--font-medium);
  line-height: 1.38;
}

.hp-property-payment .hp-property-richtext li::before {
  content: "";
  position: absolute;
  left: var(--space-4);
  top: 1.1rem;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(var(--color-primary-rgb), 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--color-primary-dark) 3px, transparent 4px),
    rgba(255, 255, 255, 0.85);
}

.hp-property-payment .hp-property-richtext li strong {
  display: inline;
  margin-right: 0.18rem;
  color: var(--color-text-main);
  font-weight: var(--font-semibold);
}

.hp-property-amenities__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-5);
}

.hp-property-amenity.badge {
  justify-content: flex-start;
  gap: var(--space-2);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-transform: none;
  white-space: normal;
}

.hp-property-amenity::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--color-primary) 2px, transparent 3px);
}

.hp-property-amenities__content {
  font-family: var(--font-secondary);
}

.hp-property-amenities__content ul,
.hp-property-amenities__content ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-5);
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-property-amenities__content li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--color-text-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1.35;
}

.hp-property-amenities__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--color-primary) 2px, transparent 3px);
}

.hp-property-units__table {
  overflow: hidden;
  border: 1px solid rgba(24, 21, 15, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.hp-property-units__head,
.hp-property-units__row {
  display: grid;
  grid-template-columns: minmax(170px, 1.25fr) 0.75fr 0.5fr 0.55fr 0.65fr 0.95fr 0.85fr 0.8fr;
  align-items: center;
}

.hp-property-units__head {
  min-height: 48px;
  padding: 0 var(--space-4);
  background: #f2f0eb;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: var(--font-bold);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hp-property-units__row {
  padding: var(--space-4);
  border-top: 1px solid rgba(24, 21, 15, 0.1);
  color: var(--color-text-body);
  font-size: var(--text-sm);
}

.hp-property-units__cell {
  min-width: 0;
  padding-right: var(--space-3);
}

.hp-property-units__cell--title strong,
.hp-property-units__cell--price {
  color: var(--color-text-main);
  font-weight: var(--font-semibold);
}

.hp-property-units__cell--title p {
  margin: var(--space-1) 0 0;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hp-property-units__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.55rem;
  border-radius: 7px;
  background: #eef2f4;
  color: #3f4a50;
  font-size: 0.76rem;
  font-weight: var(--font-medium);
  line-height: 1;
  white-space: nowrap;
}

.hp-property-units__status--disponible {
  background: #e8f4ea;
  color: #1f6b3a;
}

.hp-property-units__status--reservada {
  background: #fff3d6;
  color: #8b6100;
}

.hp-property-units__status--vendida {
  background: #f8e6e2;
  color: #9b3326;
}

.hp-property-units__plan {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(24, 21, 15, 0.14);
  border-radius: 7px;
  color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.82);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.hp-property-units__plan svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hp-property-units__plan:hover,
.hp-property-units__plan:focus-visible {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary-dark);
}

.hp-property-units__plan-count {
  position: absolute;
  right: -7px;
  bottom: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid rgba(24, 21, 15, 0.12);
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: var(--font-bold);
  line-height: 1;
}

.hp-property-units__lightbox .hp-property-lightbox__figure {
  display: grid;
  gap: var(--space-3);
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: center;
  width: min(78vw, 760px);
  height: min(68vh, 680px);
  max-width: calc(100vw - 7rem);
  max-height: calc(100vh - 8rem);
}

.hp-property-units__lightbox .hp-property-lightbox__figure img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hp-property-units__lightbox-caption {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-align: center;
}

.hp-property-units__empty {
  color: var(--color-text-muted);
}

.hp-property-terminations .hp-property-richtext ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-5);
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-property-terminations .hp-property-richtext li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin: 0;
  color: var(--color-text-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1.35;
}

.hp-property-terminations .hp-property-richtext li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--color-primary) 2px, transparent 3px);
}

.hp-property-details__table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-8);
}

.hp-property-details__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(24, 21, 15, 0.1);
}

.hp-property-details__row span {
  color: var(--color-text-body);
}

.hp-property-details__row strong {
  color: var(--color-text-main);
  font-weight: var(--font-medium);
  text-align: right;
}

.hp-property-single {
  font-weight: var(--font-normal);
}

.hp-property-single h1,
.hp-property-single h2,
.hp-property-single h3 {
  font-family: var(--font-primary);
  letter-spacing: 0;
}

.hp-property-summary h1.hp-property-summary__title {
  font-weight: var(--font-semibold);
}

.hp-property-description h2,
.hp-property-main-features h2,
.hp-property-units h2,
.hp-property-amenities h2,
.hp-property-terminations h2,
.hp-property-payment h2,
.hp-property-details h2,
.hp-similar-properties h2 {
  font-weight: var(--font-medium);
}

.hp-property-richtext,
.hp-property-summary__address,
.hp-property-summary__location,
.hp-property-details__row span {
  font-weight: var(--font-normal);
}

.hp-property-richtext strong,
.hp-property-details__row strong,
.hp-property-units__cell--title strong,
.hp-property-units__cell--price {
  font-weight: var(--font-semibold);
}

.hp-property-units__head,
.hp-property-units__cell::before,
.hp-property-summary__badges .badge,
.hp-property-units__status {
  font-weight: var(--font-semibold);
}

.hp-property-amenity.badge,
.hp-property-main-features .hp-property-richtext li,
.hp-property-amenities__content li,
.hp-property-terminations .hp-property-richtext li,
.hp-property-payment .hp-property-richtext li {
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  line-height: 1.35;
}

.hp-property-description h2,
.hp-property-main-features h2,
.hp-property-units h2,
.hp-property-amenities h2,
.hp-property-terminations h2,
.hp-property-payment h2,
.hp-property-details h2 {
  margin: 0 0 var(--space-5);
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: var(--font-medium);
  line-height: 1.2;
}

.hp-property-single__main .hp-property-richtext {
  max-width: 100%;
  color: var(--color-text-body);
  font-size: 1rem;
  font-weight: var(--font-normal);
  line-height: 1.72;
}

.hp-property-main-features .hp-property-richtext,
.hp-property-amenities__content,
.hp-property-terminations .hp-property-richtext,
.hp-property-payment .hp-property-richtext {
  max-width: 100%;
}

.hp-property-single__main .hp-property-richtext h3 {
  margin: var(--space-5) 0 var(--space-3);
  font-size: 1.05rem;
  font-weight: var(--font-semibold);
  line-height: 1.35;
}

.hp-property-main-features .hp-property-richtext ul,
.hp-property-main-features .hp-property-richtext ol,
.hp-property-amenities__content ul,
.hp-property-amenities__content ol,
.hp-property-terminations .hp-property-richtext ul,
.hp-property-terminations .hp-property-richtext ol,
.hp-property-payment .hp-property-richtext ul,
.hp-property-payment .hp-property-richtext ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-3);
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-property-main-features .hp-property-richtext li,
.hp-property-amenities__content li,
.hp-property-terminations .hp-property-richtext li,
.hp-property-payment .hp-property-richtext li {
  position: relative;
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0 0 0 1.85rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-body);
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  line-height: 1.45;
}

.hp-property-main-features .hp-property-richtext li strong,
.hp-property-amenities__content li strong,
.hp-property-terminations .hp-property-richtext li strong,
.hp-property-payment .hp-property-richtext li strong {
  color: var(--color-text-main);
  font-weight: var(--font-semibold);
}

.hp-property-main-features .hp-property-richtext li::before,
.hp-property-amenities__content li::before,
.hp-property-terminations .hp-property-richtext li::before,
.hp-property-payment .hp-property-richtext li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.14em;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--color-primary) 2px, transparent 3px);
}

.hp-property-single__side {
  position: sticky;
  top: 96px;
  height: fit-content;
  margin-top: var(--space-7);
}

.hp-property-agent,
.hp-property-fiduciaria,
.hp-property-trust,
.hp-loan-calculator {
  margin-bottom: var(--space-4);
  padding: var(--space-6);
  border-radius: 16px;
}

.hp-property-agent h3,
.hp-property-fiduciaria h3,
.hp-property-trust h3,
.hp-loan-calculator h2 {
  margin-bottom: var(--space-4);
  font-family: var(--font-primary);
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1.2;
}

.hp-property-agent {
  background: var(--color-white);
  border: 1px solid rgba(24, 21, 15, 0.08);
  box-shadow: 0 16px 42px rgba(16, 12, 6, 0.08);
}

.hp-property-agent h3 {
  margin-bottom: var(--space-5);
  color: var(--color-text-main);
  font-size: 1.38rem;
}

.hp-property-agent__identity {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-6);
}

.hp-property-agent__media,
.hp-property-agent__media img,
.hp-property-agent__avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
}

.hp-property-agent__media {
  position: relative;
  overflow: hidden;
  flex: 0 0 82px;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.16), rgba(245, 243, 239, 0.92));
  box-shadow: inset 0 0 0 1px rgba(var(--color-primary-rgb), 0.2);
}

.hp-property-agent__media img {
  display: block;
  object-fit: cover;
}

.hp-property-agent__avatar {
  display: grid;
  place-items: center;
  color: var(--color-primary-dark);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.04em;
}

.hp-property-agent__bio h4 {
  margin: 0 0 var(--space-1);
  color: var(--color-text-main);
  font-size: 1.08rem;
  font-weight: var(--font-bold);
  line-height: 1.25;
}

.hp-property-agent__bio p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.hp-property-agent__empty {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.hp-property-agent__links {
  display: grid;
  gap: var(--space-3);
  margin-top: 0;
}

.hp-property-agent__link {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  color: var(--color-text-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.hp-property-agent__link:hover,
.hp-property-agent__link:focus-visible {
  color: var(--color-primary-dark);
}

.hp-property-agent__icon,
.hp-property-agent__button-icon {
  display: inline-grid;
  place-items: center;
  color: var(--color-primary-dark);
}

.hp-property-agent__icon svg,
.hp-property-agent__button-icon svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-property-agent__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hp-property-agent__actions .btn,
.hp-loan-calculator .btn {
  width: 100%;
}

.hp-property-agent__button {
  min-height: 54px;
  justify-content: center;
  gap: var(--space-3);
  border-radius: 10px;
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  text-align: center;
}

.hp-property-agent__actions .btn-primary {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 48%, var(--color-secondary) 100%);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(var(--color-primary-rgb), 0.28);
}

.hp-property-agent__actions .btn-primary .hp-property-agent__button-icon {
  color: var(--color-white);
}

.hp-property-agent__actions .btn-outline {
  color: var(--color-primary-dark);
  border: 1.5px solid rgba(var(--color-primary-rgb), 0.72);
  background: var(--color-white);
}

.hp-property-agent__actions .btn-outline:hover,
.hp-property-agent__actions .btn-outline:focus-visible {
  color: var(--color-text-main);
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
}

@media (max-width: 480px) {
  .hp-property-agent {
    padding: var(--space-5);
  }

  .hp-property-agent__identity {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: var(--space-3);
  }

  .hp-property-agent__media,
  .hp-property-agent__media img,
  .hp-property-agent__avatar {
    width: 68px;
    height: 68px;
  }

  .hp-property-agent__button {
    min-height: 52px;
    white-space: normal;
  }

  .hp-property-fiduciaria__body {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hp-property-fiduciaria__body--no-logo {
    justify-items: stretch;
    text-align: left;
  }

  .hp-property-fiduciaria__logo {
    width: min(100%, 180px);
    min-height: 108px;
  }

  .hp-property-fiduciaria__logo-img {
    max-height: 76px;
  }

  .hp-property-fiduciaria__content {
    justify-items: center;
  }

  .hp-property-fiduciaria__body--no-logo .hp-property-fiduciaria__content {
    justify-items: start;
  }
}

.hp-property-fiduciaria {
  background: var(--color-white);
}

.hp-property-fiduciaria__body {
  grid-template-columns: 128px minmax(0, 1fr);
}

.hp-property-fiduciaria__logo {
  width: 128px;
  min-height: 96px;
  border-radius: 14px;
}

.hp-property-trust {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f0 100%);
}

.hp-loan-calculator__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.hp-loan-calculator__grid label {
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.hp-loan-calculator__grid input {
  min-height: 42px;
  border-radius: 9px;
  background: #fff;
  color: var(--color-text-main);
  font-size: var(--text-sm);
}

.hp-loan-calculator__result {
  display: grid;
  justify-content: center;
  gap: var(--space-1);
  margin-top: var(--space-4);
  padding: var(--space-4);
  border: 1px solid rgba(var(--color-primary-rgb), 0.18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.14), rgba(245, 243, 239, 0.95));
  text-align: center;
}

.hp-loan-calculator__result span {
  color: var(--color-text-body);
  font-size: var(--text-sm);
}

.hp-loan-calculator__result strong {
  color: var(--color-primary-dark);
  font-size: 1.55rem;
}

.hp-loan-calculator__disclaimer {
  text-align: center;
  line-height: 1.45;
}

.hp-property-agent h3,
.hp-property-fiduciaria h3,
.hp-property-trust h3,
.hp-loan-calculator h2 {
  font-weight: var(--font-medium);
}

.hp-property-agent__bio h4,
.hp-property-price-card__amount,
.hp-loan-calculator__result strong {
  font-weight: var(--font-semibold);
}

.hp-property-price-card__note,
.hp-property-agent__bio p,
.hp-property-agent__link,
.hp-property-trust__list li,
.hp-property-trust p,
.hp-loan-calculator__grid label,
.hp-loan-calculator__result span,
.hp-loan-calculator__disclaimer {
  font-weight: var(--font-normal);
}

.hp-similar-properties {
  margin-top: var(--space-12);
}

.hp-similar-properties__head {
  align-items: center;
  margin-bottom: var(--space-5);
}

.hp-similar-properties__link {
  color: var(--color-text-main);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.hp-similar-properties__link span {
  color: var(--color-primary-dark);
}

.hp-similar-properties__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.hp-similar-properties .property-card {
  border-radius: 14px;
}

.hp-similar-properties .property-card-img {
  aspect-ratio: 16 / 10;
}

.hp-similar-properties .property-card-price::after {
  content: "";
}

.hp-property-single .cities-section--property-detail {
  margin-top: var(--space-12);
  padding: var(--space-12) 0 0;
  background: transparent;
}

.hp-property-single .cities-section--property-detail .container {
  max-width: none;
  padding: 0;
}

.hp-property-single .cities-section--property-detail .section-header {
  margin-bottom: var(--space-6);
}

.hp-property-single .cities-section--property-detail .section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.hp-property-single .cities-section--property-detail .section-subtitle {
  text-wrap: balance;
}

.hp-property-single .cities-section--property-detail .city-card {
  flex-basis: 14rem;
  height: 18rem;
  border-radius: 14px;
}

@media (max-width: 1100px) {
  .hp-property-gallery__grid {
    grid-template-columns: minmax(0, 1.08fr) repeat(2, minmax(0, 0.46fr));
  }

  .hp-property-single__layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .hp-property-amenities__list,
  .hp-property-main-features .hp-property-richtext ul,
  .hp-property-main-features .hp-property-richtext ol,
  .hp-property-amenities__content ul,
  .hp-property-amenities__content ol,
  .hp-property-terminations .hp-property-richtext ul,
  .hp-property-terminations .hp-property-richtext ol,
  .hp-property-payment .hp-property-richtext ul,
  .hp-property-payment .hp-property-richtext ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .hp-property-single {
    padding-top: var(--space-6);
  }

  .hp-property-single .container {
    display: flex;
    flex-direction: column;
  }

  .hp-property-breadcrumb {
    display: none;
  }

  .hp-property-gallery {
    order: 1;
    margin-bottom: var(--space-6);
  }

  .hp-property-single__layout,
  .hp-property-single__main,
  .hp-property-single__side {
    display: contents;
  }

  .hp-property-summary { order: 2; }
  .hp-property-price-card { order: 3; }
  .hp-property-agent { order: 4; }
  .hp-property-fiduciaria { order: 5; }
  .hp-property-trust { order: 6; }
  .hp-property-description { order: 7; }
  .hp-property-main-features { order: 8; }
  .hp-property-units { order: 9; }
  .hp-property-amenities { order: 10; }
  .hp-property-terminations { order: 11; }
  .hp-property-payment { order: 12; }
  .hp-property-details { order: 13; }
  .hp-loan-calculator { order: 14; }
  .hp-similar-properties { order: 15; }
  .hp-property-single .cities-section--property-detail { order: 16; }

  .hp-property-gallery__grid {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hp-property-gallery__grid::-webkit-scrollbar {
    display: none;
  }

  .hp-property-gallery__item,
  .hp-property-gallery__item.is-main,
  .hp-property-gallery.gallery-mostly-portrait .hp-property-gallery__item.is-main {
    flex: 0 0 88%;
    min-height: clamp(280px, 72vw, 420px);
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }

  .hp-property-agent,
  .hp-property-fiduciaria,
  .hp-property-price-card,
  .hp-property-trust,
  .hp-loan-calculator {
    margin-bottom: var(--space-5);
  }

  .hp-property-single__main > .hp-property-panel,
  .hp-property-description,
  .hp-property-main-features,
  .hp-property-units,
  .hp-property-amenities,
  .hp-property-terminations,
  .hp-property-payment,
  .hp-property-details {
    width: 100%;
  }

  .hp-property-details__table {
    grid-template-columns: 1fr;
  }

  .hp-property-amenities__list,
  .hp-property-main-features .hp-property-richtext ul,
  .hp-property-main-features .hp-property-richtext ol,
  .hp-property-amenities__content ul,
  .hp-property-amenities__content ol,
  .hp-property-terminations .hp-property-richtext ul,
  .hp-property-terminations .hp-property-richtext ol,
  .hp-property-payment .hp-property-richtext ul,
  .hp-property-payment .hp-property-richtext ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-property-units__table {
    display: grid;
    gap: var(--space-3);
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .hp-property-units__head {
    display: none;
  }

  .hp-property-units__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title status"
      "price price"
      "meters bedrooms"
      "bathrooms parking"
      "plans plans";
    gap: 0.55rem 0.75rem;
    padding: var(--space-3);
    border: 1px solid rgba(24, 21, 15, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
  }

  .hp-property-units__cell {
    display: block;
    padding: 0;
  }

  .hp-property-units__cell::before {
    content: attr(data-label) ":";
    display: block;
    margin-bottom: 0.18rem;
    color: var(--color-text-muted);
    font-size: 0.66rem;
    font-weight: var(--font-bold);
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .hp-property-units__cell--title {
    grid-area: title;
  }

  .hp-property-units__cell--status {
    grid-area: status;
    justify-self: end;
    align-self: start;
  }

  .hp-property-units__cell--price {
    grid-area: price;
    padding: 0.58rem 0.7rem;
    border: 1px solid rgba(183, 137, 68, 0.24);
    border-radius: 10px;
    background: rgba(183, 137, 68, 0.08);
    font-size: clamp(1.05rem, 2.7vw, 1.2rem);
    line-height: 1.15;
  }

  .hp-property-units__cell--meters { grid-area: meters; }
  .hp-property-units__cell--bedrooms { grid-area: bedrooms; }
  .hp-property-units__cell--bathrooms { grid-area: bathrooms; }
  .hp-property-units__cell--parking { grid-area: parking; }

  .hp-property-units__cell--meters,
  .hp-property-units__cell--bedrooms,
  .hp-property-units__cell--bathrooms,
  .hp-property-units__cell--parking {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.42rem 0.55rem;
    border: 1px solid rgba(24, 21, 15, 0.1);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
  }

  .hp-property-units__cell--meters::before,
  .hp-property-units__cell--bedrooms::before,
  .hp-property-units__cell--bathrooms::before,
  .hp-property-units__cell--parking::before {
    display: inline;
    margin: 0;
    font-size: 0.62rem;
    line-height: 1;
  }

  .hp-property-units__cell--title::before,
  .hp-property-units__cell--price::before,
  .hp-property-units__cell--status::before,
  .hp-property-units__cell--plans::before {
    display: none;
  }

  .hp-property-units__cell--title strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
  }

  .hp-property-units__cell--title p {
    margin-top: 0.22rem;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .hp-property-units__cell--status .hp-property-units__status {
    min-height: 24px;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    line-height: 1;
  }

  .hp-property-units__cell--plans {
    grid-area: plans;
    margin-top: 0.1rem;
  }

  .hp-property-units__cell--plans.is-empty {
    display: none;
  }

  .hp-property-units__plan {
    width: 36px;
    height: 36px;
  }

  .hp-property-units__plan svg {
    width: 18px;
    height: 18px;
  }

  .hp-similar-properties {
    width: 100%;
    margin-top: var(--space-8);
  }

  .hp-similar-properties__grid {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hp-similar-properties__grid::-webkit-scrollbar {
    display: none;
  }

  .hp-similar-properties__grid > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .hp-property-gallery__single,
  .hp-property-gallery__placeholder {
    min-height: clamp(260px, 62vw, 400px);
    max-height: none;
  }

  .hp-property-gallery__single {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .hp-property-units__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem 0.6rem;
    padding: 0.75rem;
  }

  .hp-property-units__cell--price {
    font-size: 1rem;
  }

  .hp-property-units__cell--title strong {
    font-size: 0.95rem;
  }

  .hp-property-units__cell--title p {
    margin-top: 0.14rem;
    font-size: 0.7rem;
  }

  .hp-property-units__cell--meters,
  .hp-property-units__cell--bedrooms,
  .hp-property-units__cell--bathrooms,
  .hp-property-units__cell--parking {
    padding: 0.36rem 0.48rem;
    font-size: 0.82rem;
  }

  .hp-property-units__cell--meters::before,
  .hp-property-units__cell--bedrooms::before,
  .hp-property-units__cell--bathrooms::before,
  .hp-property-units__cell--parking::before {
    font-size: 0.6rem;
  }

  .hp-property-single .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .hp-property-gallery__item,
  .hp-property-gallery__item.is-main {
    flex-basis: 92%;
    min-height: 260px;
  }

  .hp-property-gallery__single,
  .hp-property-gallery__placeholder {
    min-height: clamp(230px, 64vw, 320px);
  }

  .hp-property-gallery__single {
    aspect-ratio: 4 / 3;
  }

  .hp-property-summary__title {
    font-size: clamp(1.8rem, 9vw, 2.3rem);
  }

  .hp-property-main-features .hp-property-richtext ul,
  .hp-property-main-features .hp-property-richtext ol,
  .hp-property-terminations .hp-property-richtext ul,
  .hp-property-terminations .hp-property-richtext ol,
  .hp-property-payment .hp-property-richtext ul,
  .hp-property-payment .hp-property-richtext ol,
  .hp-property-amenities__list,
  .hp-property-amenities__content ul,
  .hp-property-amenities__content ol,
  .hp-loan-calculator__grid {
    grid-template-columns: 1fr;
  }

  .hp-property-agent,
  .hp-property-fiduciaria,
  .hp-property-trust,
  .hp-loan-calculator {
    padding: var(--space-5);
  }

  .hp-similar-properties__head {
    align-items: flex-end;
  }

  .hp-similar-properties__grid > * {
    flex-basis: 88%;
  }
}
/* Virtual theme pages */
.hp-virtual-hero {
  position: relative;
  padding: 150px 0 90px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
  color: var(--color-white);
  overflow: hidden;
}

.hp-virtual-hero.has-image {
  background-size: cover;
  background-position: center;
}

.hp-virtual-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.68);
}

.hp-virtual-hero .container,
.hp-virtual-hero-content {
  position: relative;
  z-index: 1;
}

.hp-virtual-hero-content {
  max-width: 780px;
}

.hp-virtual-hero h1 {
  margin: 0 0 18px;
  color: inherit;
}

.hp-virtual-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hp-virtual-section {
  padding: 90px 0;
}

.hp-content-narrow {
  max-width: 920px;
}

.hp-lead {
  margin: 0 0 42px;
  color: var(--color-gray-700);
  font-size: 1.14rem;
  line-height: 1.8;
}

.hp-info-grid,
.hp-contact-layout,
.hp-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hp-info-panel,
.hp-contact-list,
.hp-contact-form,
.hp-sitemap-group,
.hp-company-legal,
.hp-experience-block,
.hp-thanks-card {
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.hp-info-panel,
.hp-contact-list,
.hp-contact-form,
.hp-sitemap-group,
.hp-company-legal,
.hp-experience-block {
  padding: 28px;
}

.hp-info-panel h2,
.hp-contact-list h2,
.hp-sitemap-group h2,
.hp-company-legal h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.hp-values-list,
.hp-action-row,
.hp-social-row,
.hp-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-values-list {
  margin: 34px 0;
}

.hp-values-list span {
  padding: 10px 14px;
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  background: var(--color-gray-50);
  color: var(--color-gray-800);
  font-weight: 600;
}

.hp-virtual-cta {
  padding: 58px 0;
  background: var(--color-gray-50);
}

.hp-contact-cta {
  padding: 86px 0;
  background:
    linear-gradient(90deg, rgba(201, 162, 39, 0.08), rgba(255, 255, 255, 0) 52%),
    var(--color-white);
}

.hp-contact-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 36px;
  align-items: stretch;
  padding: 42px;
  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 22px 70px rgba(20, 20, 20, 0.08);
}

.hp-contact-cta__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}

.hp-contact-cta__content h2 {
  max-width: 700px;
  margin: 10px 0 16px;
  color: var(--color-text-main);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.08;
}

.hp-contact-cta__content p {
  max-width: 650px;
  margin: 0;
  color: var(--color-gray-700);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hp-contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hp-contact-cta__panel {
  display: grid;
  align-content: center;
  gap: 0;
  padding: 28px;
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  background: var(--color-bg-light);
}

.hp-contact-cta__panel-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hp-contact-cta__panel a,
.hp-contact-cta__panel div {
  display: grid;
  gap: 5px;
  padding: 16px 0;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  color: inherit;
  text-decoration: none;
}

.hp-contact-cta__panel span {
  color: var(--color-gray-600);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
}

.hp-contact-cta__panel strong {
  color: var(--color-text-main);
  font-size: 1rem;
  line-height: 1.45;
}

.hp-about-hero {
  padding-bottom: 120px;
}

.hp-about-hero .hp-virtual-hero-content {
  max-width: 980px;
}

.hp-about-hero h1 {
  max-width: 980px;
  font-size: clamp(2.5rem, 4.6vw, 4.7rem);
  line-height: 1.02;
  text-wrap: balance;
}

.hp-about-intro {
  background: var(--color-white);
}

.hp-about-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: start;
}

.hp-about-intro__copy {
  position: sticky;
  top: 110px;
}

.hp-about-intro__copy p {
  margin: 14px 0 0;
  color: var(--color-gray-700);
  font-size: 1.16rem;
  line-height: 1.85;
}

.hp-about-services {
  display: grid;
  gap: 14px;
}

.hp-about-service {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.hp-about-service:first-child {
  border-top: 1px solid var(--color-gray-200);
}

.hp-about-service > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 999px;
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
}

.hp-about-service h2 {
  margin: 0 0 7px;
  font-size: 1.18rem;
}

.hp-about-service p {
  margin: 0;
  color: var(--color-gray-700);
  line-height: 1.65;
}

.hp-about-purpose {
  background: var(--color-bg-light);
}

.hp-about-purpose__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hp-about-purpose__card {
  min-height: 320px;
  padding: 38px;
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.hp-about-purpose__card .hp-kicker {
  margin-bottom: 28px;
}

.hp-about-purpose__card--dark {
  border-color: var(--color-bg-dark);
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.hp-about-purpose__card--dark .hp-kicker {
  color: var(--color-primary-light);
}

.hp-about-purpose__card h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.hp-about-purpose__card p {
  margin: 0;
  color: var(--color-gray-700);
  font-size: 1.12rem;
  line-height: 1.8;
}

.hp-about-purpose__card--dark p {
  color: rgba(255, 255, 255, 0.88);
}

.hp-about-values {
  background: var(--color-white);
}

.hp-about-values__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 42px;
  align-items: start;
}

.hp-about-values__layout h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
}

.hp-about-values__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hp-about-values__list article {
  padding: 20px;
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  background: var(--color-bg-light);
}

.hp-about-values__list h3 {
  margin: 0;
  font-size: 1rem;
}

.hp-about-values__list p {
  margin: 8px 0 0;
  color: var(--color-gray-700);
  line-height: 1.6;
}

.hp-about-testimonials {
  background: var(--color-white);
}

.hp-about-testimonials__head {
  max-width: 720px;
  margin-bottom: 30px;
}

.hp-about-testimonials__head h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
}

.hp-about-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hp-about-testimonial {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  background: var(--color-bg-light);
}

.hp-about-testimonial blockquote {
  position: relative;
  margin: 0;
  padding-top: 34px;
  color: var(--color-gray-800);
  line-height: 1.75;
}

.hp-about-testimonial blockquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--color-primary);
}

.hp-about-testimonial blockquote p {
  margin: 0;
}

.hp-about-testimonial footer {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.hp-about-testimonial strong,
.hp-about-testimonial span {
  display: block;
}

.hp-about-testimonial span {
  margin-top: 2px;
  color: var(--color-gray-600);
  font-size: var(--text-sm);
}

.hp-about-market {
  background: var(--color-bg-light);
}

.hp-about-proof {
  background: var(--color-bg-light);
}

.hp-about-proof__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 36px;
  align-items: center;
}

.hp-about-proof__layout h2 {
  max-width: 650px;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
}

.hp-about-proof__layout p {
  max-width: 680px;
  margin: 0;
  color: var(--color-gray-700);
  line-height: 1.8;
}

.hp-about-proof__note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 26px 28px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 8px;
  background: var(--color-white);
}

.hp-about-proof__note h3 {
  margin: 0 0 7px;
  font-size: 1.2rem;
}

.hp-about-proof__note p {
  margin: 0;
  color: var(--color-gray-700);
  line-height: 1.65;
}

.hp-about-market__head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 30px;
}

.hp-about-market__head h2 {
  max-width: 650px;
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
}

.hp-about-market__head p {
  max-width: 660px;
  margin: 0;
  color: var(--color-gray-700);
  line-height: 1.75;
}

.hp-about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.hp-about-stats div {
  padding: 22px;
  border: 1px solid rgba(201, 162, 39, 0.26);
  border-radius: 8px;
  background: var(--color-white);
}

.hp-about-stats strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
}

.hp-about-stats span {
  display: block;
  margin-top: 8px;
  color: var(--color-gray-700);
  font-weight: var(--font-semibold);
}

.hp-about-properties.property-grid {
  margin-top: 0;
}

.hp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hp-cta-inner h2 {
  margin: 0 0 8px;
}

.hp-cta-inner p {
  margin: 0;
  color: var(--color-gray-700);
}

.hp-contact-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.hp-contact-list p {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.hp-contact-list p:last-child {
  border-bottom: 0;
}

.hp-contact-form {
  display: grid;
  gap: 16px;
}

.hp-contact-form label {
  display: grid;
  gap: 8px;
  color: var(--color-gray-800);
  font-weight: 600;
}

.hp-contact-form input,
.hp-contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--color-gray-900);
  font: inherit;
}

.hp-map-embed {
  margin-top: 34px;
}

.hp-map-embed iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}

.hp-card-action {
  display: inline-flex;
  margin-top: -14px;
  color: var(--color-primary);
  font-weight: 700;
}

.hp-empty-state {
  padding: 28px;
  border: 1px dashed var(--color-gray-300);
  border-radius: 8px;
  color: var(--color-gray-700);
}

.hp-pagination {
  justify-content: center;
  margin-top: 44px;
}

.hp-pagination .page-numbers {
  padding: 10px 14px;
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
}

.hp-pagination .current {
  background: var(--color-primary);
  color: var(--color-white);
}

.hp-thanks-section {
  min-height: 70vh;
  display: grid;
  align-items: center;
  padding: 120px 0 70px;
  background: var(--color-gray-50);
}

.hp-thanks-card {
  max-width: 820px;
  padding: 52px;
  text-align: center;
}

.hp-thanks-card .hp-action-row {
  justify-content: center;
  margin-top: 28px;
}

.hp-legal-content {
  max-width: 880px;
}

.hp-legal-content p,
.hp-legal-content li {
  color: var(--color-gray-700);
  line-height: 1.8;
}

.hp-company-legal {
  margin-top: 34px;
}

.hp-sitemap-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-sitemap-group ul {
  margin: 0;
  padding-left: 18px;
}

.hp-sitemap-group li + li {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .hp-info-grid,
  .hp-contact-layout,
  .hp-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .hp-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-contact-cta {
    padding: 64px 0;
  }

  .hp-contact-cta__inner {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .hp-about-intro__layout,
  .hp-about-purpose__grid,
  .hp-about-values__layout,
  .hp-about-proof__layout,
  .hp-about-testimonials__grid,
  .hp-about-stats {
    grid-template-columns: 1fr;
  }

  .hp-about-intro__copy {
    position: static;
  }

  .hp-about-market__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-about-proof__note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hp-contact-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hp-contact-cta__actions .btn {
    width: 100%;
  }

  .hp-about-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .hp-about-service {
    grid-template-columns: 1fr;
  }

  .hp-about-purpose__card {
    min-height: 0;
    padding: 28px;
  }

  .hp-about-values__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hp-virtual-hero {
    padding: 120px 0 70px;
  }

  .hp-virtual-section {
    padding: 62px 0;
  }

  .hp-contact-list p {
    grid-template-columns: 1fr;
  }

  .hp-thanks-card {
    padding: 34px 22px;
  }
}

/* Root public page templates */
.hp-kicker {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--color-primary, #c9a24d);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-page-hero {
  min-height: clamp(20rem, 36vh, 28rem);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(9, 9, 10, 0.94), rgba(38, 34, 25, 0.86)), var(--color-dark, #0b0b0d);
}

.hp-virtual-hero.hp-page-hero {
  padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(4rem, 7vw, 6rem);
}

.hp-page-hero .hp-virtual-hero-content {
  max-width: 52rem;
}

.hp-page-hero h1 {
  max-width: 13ch;
}

.hp-section-heading {
  max-width: 54rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hp-section-heading h2,
.hp-experience-layout h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hp-soft-section {
  background: #f7f3ea;
}

.hp-info-grid-featured {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.hp-info-panel-large {
  grid-row: span 2;
}

.hp-card-grid {
  display: grid;
  gap: 1.25rem;
}

.hp-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hp-value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.hp-experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hp-stat-card {
  min-height: 9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  border-radius: 8px;
  background: #111;
  color: #fff;
}

.hp-stat-card strong {
  color: var(--color-primary, #c9a24d);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1;
}

.hp-stat-card span {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.78);
}

.hp-contact-layout-premium {
  align-items: stretch;
}

.hp-contact-layout-premium .hp-contact-list,
.hp-contact-layout-premium .hp-contact-form,
.hp-info-grid-featured .hp-info-panel,
.hp-card-grid .hp-info-panel,
.hp-legal-panel,
.hp-empty-card {
  border-radius: 8px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
}

.hp-info-grid-featured .hp-info-panel,
.hp-card-grid .hp-info-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.hp-contact-form form {
  display: grid;
  gap: 1rem;
}

.hp-map-panel {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.hp-blog-grid,
.hp-agents-grid {
  align-items: stretch;
}

.hp-empty-card {
  max-width: 42rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
  text-align: left;
}

.hp-faq-page .faq-container {
  max-width: 56rem;
}

.hp-thanks-premium {
  min-height: calc(100vh - var(--header-height, 4.5rem));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(12, 12, 14, 0.96), rgba(43, 36, 22, 0.86)), #111;
}

.hp-thanks-premium .hp-thanks-card {
  max-width: 48rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.hp-confirm-icon {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--color-primary, #c9a24d);
  color: #111;
  font-size: 2rem;
  font-weight: 800;
}

.hp-legal-hero h1 {
  max-width: 16ch;
}

.hp-legal-panel {
  max-width: 52rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: #fff;
}

.hp-company-legal {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.hp-sitemap-grid-premium {
  align-items: start;
}

@media (max-width: 1024px) {
  .hp-info-grid-featured,
  .hp-experience-layout {
    grid-template-columns: 1fr;
  }

  .hp-info-panel-large {
    grid-row: auto;
  }

  .hp-card-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hp-page-hero {
    min-height: 22rem;
  }

  .hp-card-grid-four,
  .hp-stats-grid {
    grid-template-columns: 1fr;
  }

  .hp-thanks-premium .hp-action-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Premium public page language */
.hp-page-hero {
  min-height: clamp(24rem, 44vh, 34rem);
  isolation: isolate;
  background:
    linear-gradient(112deg, rgba(5, 5, 6, 0.95) 0%, rgba(10, 10, 10, 0.9) 58%, rgba(40, 32, 16, 0.76) 100%),
    radial-gradient(circle at 76% 30%, rgba(201, 162, 39, 0.18), transparent 22rem),
    url("assets/images/internal-hero-bg.webp"),
    #080808;
  background-position: center;
  background-size: cover;
}

.hp-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 76% 24%, rgba(201, 162, 39, 0.14), transparent 24rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, 4.75rem 4.75rem, 4.75rem 4.75rem;
  opacity: 0.66;
}

.hp-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.72), transparent);
}

.hp-virtual-hero.hp-page-hero {
  padding: clamp(7rem, 10vw, 9rem) 0 clamp(4rem, 6vw, 5rem);
}

.hp-page-hero .container {
  position: relative;
  display: block;
}

.hp-page-hero .container::after {
  content: "";
  display: none;
}

.hp-page-hero .container::before {
  content: "";
  display: none;
}

.hp-page-hero .hp-virtual-hero-content,
.hp-page-hero .container.hp-virtual-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 46rem;
  gap: 0;
}

.hp-page-hero h1 {
  max-width: 13ch;
  margin: 0 0 clamp(0.85rem, 1.6vw, 1.15rem);
  color: #fff;
  font-family: var(--font-primary);
  font-size: clamp(2.45rem, 4.2vw, 4.1rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.hp-page-hero p {
  max-width: 39rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  line-height: 1.62;
}

.hp-page-hero .hp-kicker {
  margin-bottom: clamp(0.65rem, 1.2vw, 0.9rem);
  color: var(--color-primary, #c9a227);
  font-family: var(--font-primary);
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  letter-spacing: 0.08em;
}

@media (min-width: 900px) {
  .hp-about-hero.hp-page-hero .hp-virtual-hero-content,
  .hp-about-hero.hp-page-hero .container.hp-virtual-hero-content {
    max-width: 64rem;
  }

  .hp-about-hero.hp-page-hero h1 {
    max-width: 26ch;
    font-size: clamp(3.25rem, 4.05vw, 4.05rem);
    line-height: 0.98;
  }
}

.hp-page-hero.properties-archive-hero .hp-properties-hero__content {
  display: grid;
  grid-template-columns: minmax(18rem, 32rem) minmax(15rem, 17rem);
  align-items: center;
  gap: clamp(2.25rem, 7vw, 6rem);
  max-width: 66rem;
}

.hp-page-hero.properties-archive-hero .hp-properties-hero__title {
  max-width: 13ch;
  margin: 0.8rem 0 1.15rem;
  font-size: clamp(3.25rem, 5.6vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hp-page-hero.properties-archive-hero .hp-properties-hero__description {
  max-width: 32rem;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.72;
}

.hp-page-hero.properties-archive-hero .hp-properties-hero__metric {
  justify-self: start;
  align-self: center;
  width: 100%;
  max-width: 17rem;
  padding: 1.45rem 1.5rem 1.35rem;
  border-radius: 1.1rem;
}

.hp-page-hero.properties-archive-hero .hp-properties-hero__metric strong {
  font-size: clamp(3rem, 5vw, 4.35rem);
  line-height: 0.82;
}

.hp-page-hero.properties-archive-hero .hp-properties-hero__metric span {
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .hp-page-hero.properties-archive-hero .hp-properties-hero__content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 100%;
  }

  .hp-page-hero.properties-archive-hero .hp-properties-hero__title {
    font-size: clamp(2.65rem, 13vw, 3.55rem);
  }

  .hp-page-hero.properties-archive-hero .hp-properties-hero__metric {
    display: none;
  }
}

.hp-virtual-section {
  position: relative;
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}

.hp-virtual-section > .container {
  position: relative;
}

.hp-virtual-section > .container::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 0;
  width: 4.75rem;
  height: 2px;
  background: var(--color-primary, #c9a227);
}

.hp-legal-page > .container::before,
.hp-sitemap-page > .container::before,
.hp-faq-page > .container::before,
.hp-contact-page > .container::before {
  display: none;
}

.hp-section-heading {
  max-width: 68rem;
}

.hp-section-heading .hp-lead,
.hp-lead.hp-content-narrow {
  max-width: 58rem;
  color: #292929;
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  line-height: 1.46;
}

.hp-editorial-section {
  background:
    linear-gradient(90deg, #fff 0%, #fff 58%, #f5f1e7 58%, #f5f1e7 100%);
}

.hp-info-grid-featured {
  grid-template-columns: minmax(0, 1.18fr) minmax(17rem, 0.82fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.hp-info-grid-featured .hp-info-panel,
.hp-card-grid .hp-info-panel,
.hp-contact-layout-premium .hp-contact-list,
.hp-contact-layout-premium .hp-contact-form,
.hp-sitemap-group,
.hp-legal-panel,
.hp-empty-card {
  border-color: rgba(16, 16, 16, 0.08);
  box-shadow: 0 26px 70px rgba(16, 16, 16, 0.09);
}

.hp-info-grid-featured .hp-info-panel {
  min-height: 15rem;
}

.hp-info-panel-large {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4.25rem);
  background:
    linear-gradient(135deg, #111 0%, #1b1710 100%);
  color: #fff;
}

.hp-info-panel-large::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 50%;
}

.hp-info-panel-large h2,
.hp-info-panel-large p {
  color: inherit;
}

.hp-info-panel-large p {
  color: rgba(255, 255, 255, 0.78);
}

.hp-soft-section {
  background:
    linear-gradient(180deg, #f7f3ea 0%, #fff 100%);
}

.hp-card-grid-four {
  counter-reset: hp-values;
}

.hp-value-card {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
}

.hp-value-card::before {
  counter-increment: hp-values;
  content: "0" counter(hp-values);
  display: block;
  margin-bottom: 3rem;
  color: var(--color-primary, #c9a227);
  font-family: var(--font-heading, inherit);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.8;
}

.hp-value-card::after {
  content: "";
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.25rem);
  right: clamp(1.5rem, 3vw, 2.25rem);
  width: 3.8rem;
  height: 1px;
  background: rgba(201, 162, 39, 0.58);
}

.hp-value-card h3 {
  color: #111;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.hp-value-card p {
  color: #5b5b5b;
  line-height: 1.75;
}

.hp-experience-section {
  background:
    linear-gradient(120deg, #0a0a0a 0%, #121212 62%, #2c2415 100%);
  color: #fff;
}

.hp-experience-section h2,
.hp-experience-section p {
  color: inherit;
}

.hp-experience-section p {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hp-stats-grid {
  gap: 0;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 8px;
  overflow: hidden;
}

.hp-stat-card {
  min-height: clamp(10rem, 18vw, 14rem);
  border-radius: 0;
  border-right: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.hp-stat-card:last-child {
  border-right: 0;
}

.hp-virtual-cta {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #fff;
}

.hp-cta-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4rem);
  border-radius: 8px;
  background:
    linear-gradient(112deg, #0b0b0b 0%, #17140f 62%, #332814 100%);
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.16);
}

.hp-cta-inner::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 6px;
  pointer-events: none;
}

.hp-cta-inner h2,
.hp-cta-inner p {
  position: relative;
  color: inherit;
}

.hp-cta-inner p {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.72);
}

.hp-cta-inner .btn {
  position: relative;
  flex: 0 0 auto;
}

.hp-contact-layout-premium {
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hp-contact-layout-premium .hp-contact-list,
.hp-contact-layout-premium .hp-contact-form {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.hp-contact-layout-premium .hp-contact-list {
  background:
    linear-gradient(180deg, #111 0%, #1c1710 100%);
  color: #fff;
}

.hp-contact-layout-premium .hp-contact-list h2,
.hp-contact-layout-premium .hp-contact-list p {
  color: inherit;
}

.hp-contact-list > p {
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 1.25rem 0;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.hp-contact-list strong {
  color: var(--color-primary, #c9a227);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-contact-list a,
.hp-contact-list span {
  color: rgba(255, 255, 255, 0.84);
}

.hp-contact-form {
  background:
    linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
}

.hp-contact-form h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.hp-contact-form input,
.hp-contact-form textarea {
  border-color: rgba(17, 17, 17, 0.12);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

.hp-map-panel {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 0.75rem;
  background:
    linear-gradient(135deg, #111, #2b2314);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.hp-map-embed iframe {
  min-height: clamp(24rem, 44vw, 34rem);
}

.hp-blog-grid,
.hp-agents-grid {
  gap: clamp(1.25rem, 3vw, 2rem);
}

.hp-blog-grid .blog-card,
.hp-agents-grid .agent-card {
  border-radius: 8px;
  box-shadow: 0 24px 68px rgba(16, 16, 16, 0.08);
}

.hp-blog-hero.hp-page-hero {
  min-height: clamp(24rem, 46vh, 34rem);
  background:
    radial-gradient(circle at 78% 20%, rgba(201, 162, 39, 0.2), transparent 28rem),
    linear-gradient(105deg, rgba(8, 8, 9, 0.98) 0%, rgba(12, 11, 10, 0.9) 48%, rgba(65, 51, 22, 0.68) 100%),
    url("assets/images/internal-hero-bg.webp") center right / cover;
}

.hp-blog-hero.hp-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.72), transparent);
}

.hp-blog-hero.hp-page-hero .hp-virtual-hero-content {
  max-width: 54rem;
}

.hp-blog-page {
  background:
    linear-gradient(90deg, rgba(246, 241, 232, 0.72) 0 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf7 0%, #fff 34%, #f7f3ea 100%);
  background-size: 100% 100%, 100% 100%;
}

.hp-blog-page__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hp-blog-page__heading .hp-kicker {
  margin-bottom: var(--space-3);
}

.hp-blog-page__heading .hp-lead {
  max-width: 34rem;
  color: var(--color-text-body);
  font-size: clamp(1rem, 1.16vw, 1.12rem);
}

.hp-blog-page .hp-blog-grid {
  align-items: stretch;
}

.hp-blog-page .blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 26, 26, 0.06);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 58px rgba(31, 25, 13, 0.08);
}

.hp-blog-page .blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.hp-blog-page .blog-card-title {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.22;
}

.hp-blog-page .blog-card-footer {
  margin-top: auto;
}

.hp-blog-page .blog-card--featured {
  background: #11100d;
  color: var(--color-white);
  box-shadow: 0 30px 80px rgba(17, 16, 13, 0.22);
}

.hp-blog-page .blog-card--featured .blog-card-img {
  aspect-ratio: 16 / 11;
}

.hp-blog-page .blog-card--featured .blog-card-content {
  padding: clamp(1.5rem, 3vw, 2.15rem);
}

.hp-blog-page .blog-card--featured .blog-card-title {
  color: var(--color-white);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
  -webkit-line-clamp: 3;
}

.hp-blog-page .blog-card--featured .blog-card-excerpt,
.hp-blog-page .blog-card--featured .blog-card-meta,
.hp-blog-page .blog-card--featured .blog-card-author-name {
  color: rgba(255, 255, 255, 0.72);
}

.hp-blog-page .blog-card--featured .blog-card-footer {
  border-color: rgba(255, 255, 255, 0.14);
}

.hp-post-single {
  background: linear-gradient(180deg, #fbfaf7 0%, #fff 34%, #fbfaf7 100%);
}

.hp-post-hero {
  padding: calc(var(--header-height, 4.5rem) + var(--space-8)) 0 var(--space-10);
  color: var(--color-white);
  background:
    radial-gradient(circle at 76% 18%, rgba(201, 162, 39, 0.13), transparent 30rem),
    linear-gradient(112deg, rgba(9, 9, 10, 0.98) 0%, rgba(17, 15, 12, 0.95) 62%, rgba(55, 45, 21, 0.7) 100%);
}

.hp-post-hero__inner {
  max-width: 1040px;
}

.hp-post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  max-width: 52rem;
  margin-bottom: var(--space-5);
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--text-sm);
}

.hp-post-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.hp-post-breadcrumb a:hover,
.hp-post-breadcrumb a:focus-visible {
  color: var(--color-primary-light);
}

.hp-post-hero__copy {
  max-width: 58rem;
}

.hp-post-hero h1 {
  max-width: 26ch;
  margin: 0 0 var(--space-4);
  color: var(--color-white);
  font-size: clamp(2rem, 3.05vw, 3.1rem);
  line-height: 1.03;
  font-weight: 800;
}

.hp-post-hero p {
  max-width: 43rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.45vw, 1.24rem);
  line-height: 1.65;
}

.hp-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.hp-post-meta span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: var(--space-3);
  border-radius: 50%;
  background: var(--color-primary);
  vertical-align: middle;
}

.hp-post-featured {
  max-width: 1040px;
  margin-top: var(--space-8);
  position: relative;
  z-index: 2;
}

.hp-post-featured img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 22px 58px rgba(24, 19, 10, 0.14);
}

.hp-post-body-section {
  padding: var(--space-8) 0 var(--space-16);
}

.hp-post-layout {
  display: block;
  max-width: 820px;
}

.hp-post-article {
  min-width: 0;
}

.hp-post-content {
  color: #34312b;
  font-size: clamp(1.08rem, 1.18vw, 1.18rem);
  line-height: 1.82;
}

.hp-post-content > * {
  margin-bottom: var(--space-5);
}

.hp-post-content > p {
  max-width: 74ch;
}

.hp-post-content h2,
.hp-post-content h3,
.hp-post-content h4 {
  position: relative;
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  margin: var(--space-10) 0 var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(24, 21, 15, 0.1);
  color: var(--color-text-main);
  line-height: 1.16;
  font-weight: var(--font-bold);
}

.hp-post-content h2 {
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
}

.hp-post-content h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
}

.hp-post-content h2::before,
.hp-post-content h3::before,
.hp-post-content h4::before,
.hp-post-heading-mark {
  content: "";
  flex: 0 0 auto;
  width: 0.58rem;
  height: 0.58rem;
  margin-top: 0.38em;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(var(--color-primary-rgb), 0.12);
}

.hp-post-content h2:has(.hp-post-heading-mark)::before,
.hp-post-content h3:has(.hp-post-heading-mark)::before,
.hp-post-content h4:has(.hp-post-heading-mark)::before {
  display: none;
}

.hp-post-content a {
  color: var(--color-primary-dark);
  font-weight: var(--font-semibold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.hp-post-content ul,
.hp-post-content ol {
  max-width: 72ch;
  padding-left: 1.45rem;
}

.hp-post-content li + li {
  margin-top: var(--space-2);
}

.hp-post-content blockquote {
  margin: var(--space-10) 0;
  padding: var(--space-6) var(--space-7);
  border-left: 3px solid var(--color-primary);
  background: rgba(201, 162, 39, 0.08);
  color: var(--color-text-main);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.5;
}

.hp-post-content img {
  border-radius: 12px;
}

.hp-post-sidebar {
  display: none;
}

.hp-post-sidebar__panel {
  padding: var(--space-4);
  border: 1px solid rgba(24, 21, 15, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
}

.hp-post-sidebar__panel span {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.hp-post-sidebar__panel strong,
.hp-post-sidebar__panel a {
  color: var(--color-text-main);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

.hp-post-sidebar__back {
  display: inline-flex;
  justify-content: center;
  padding: 0.82rem 1rem;
  border: 1px solid rgba(24, 21, 15, 0.14);
  border-radius: 8px;
  color: var(--color-text-main);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

.hp-post-sidebar__back:hover,
.hp-post-sidebar__back:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.hp-post-related {
  padding: var(--space-12) 0 var(--space-16);
  background: #f6f1e8;
}

.hp-post-related .container {
  max-width: 860px;
}

.hp-post-related__head {
  max-width: 42rem;
  margin-bottom: var(--space-6);
}

.hp-post-related__head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  line-height: 1.12;
}

.hp-post-related__grid.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 360px));
  gap: var(--space-5);
  justify-content: start;
  overflow: visible;
  padding: 0;
  margin: 0;
  scroll-snap-type: none;
}

.hp-post-related__grid.blog-grid .blog-card {
  width: auto;
  flex: unset;
  scroll-snap-align: unset;
}

@media (max-width: 900px) {
  .hp-post-layout {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .hp-post-hero {
    padding-top: calc(var(--header-height, 4.5rem) + var(--space-6));
  }

  .hp-post-featured {
    margin-top: var(--space-6);
  }

  .hp-post-featured img {
    border-radius: 10px;
  }
}

@media (min-width: 1024px) {
  .hp-blog-page .hp-blog-grid {
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.8fr));
  }

  .hp-blog-page .blog-card--featured {
    grid-row: span 2;
  }
}

.hp-faq-page {
  background:
    linear-gradient(90deg, #fff 0%, #fff 54%, #f6f1e8 54%, #f6f1e8 100%);
}

.hp-faq-page .faq-container {
  max-width: 68rem;
  margin-left: auto;
}

.hp-faq-page .accordion {
  display: grid;
  gap: 0.85rem;
}

.hp-faq-page .accordion-item {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.06);
}

.hp-faq-page .accordion-trigger {
  min-height: 5rem;
  padding: 1.25rem 1.5rem;
}

.hp-thanks-premium {
  position: relative;
  overflow: hidden;
}

.hp-thanks-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(201, 162, 39, 0.22), transparent 23rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 5rem 5rem;
}

.hp-thanks-premium .hp-thanks-card {
  position: relative;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.hp-thanks-premium .hp-thanks-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 6px;
  pointer-events: none;
}

.hp-legal-panel {
  position: relative;
  margin-inline: auto;
  border-top: 4px solid var(--color-primary, #c9a227);
}

.hp-legal-panel::before {
  content: "";
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 5rem;
  height: 5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.36);
  border-right: 1px solid rgba(201, 162, 39, 0.36);
}

.hp-legal-content p,
.hp-legal-content li {
  font-size: 1.02rem;
}

.hp-sitemap-grid-premium {
  gap: clamp(1.25rem, 3vw, 2rem);
}

.hp-sitemap-group {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.hp-sitemap-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary, #c9a227), transparent);
}

.hp-sitemap-group h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.hp-sitemap-group ul {
  padding-left: 0;
  list-style: none;
}

.hp-sitemap-group li {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.hp-sitemap-group li:first-child {
  border-top: 0;
}

.hp-sitemap-group a {
  color: #111;
  font-weight: 700;
}

.hp-sitemap-page {
  background:
    radial-gradient(circle at 100% 0, rgba(201, 162, 39, 0.12), transparent 45%),
    linear-gradient(180deg, #fff8ea 0, #fff 35%);
}

.hp-sitemap-page > .container::before {
  display: none;
}

.hp-sitemap-intro {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.hp-sitemap-intro-text {
  margin: 0;
  color: #2e2e2e;
  line-height: 1.7;
}

.hp-sitemap-intro-meta {
  margin: 0.7rem 0 0;
  font-weight: 700;
}

.hp-sitemap-intro-meta a {
  color: var(--color-primary, #c9a227);
}

.hp-sitemap-page .hp-sitemap-group {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(1.1rem, 2vw, 1.5rem);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hp-sitemap-page .hp-sitemap-grid {
  display: block;
  columns: 2 320px;
  column-gap: clamp(1.25rem, 2.5vw, 2rem);
}

.hp-sitemap-page .hp-sitemap-group h2 {
  margin-bottom: 1rem;
}

.hp-sitemap-page .hp-sitemap-group li {
  padding: 0.68rem 0;
}

.hp-sitemap-page .hp-sitemap-group a {
  color: #1f1f1f;
  font-weight: 600;
  text-decoration: none;
}

.hp-sitemap-page .hp-sitemap-group a:hover,
.hp-sitemap-page .hp-sitemap-group a:focus-visible {
  color: var(--color-primary, #c9a227);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hp-sitemap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.8fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.hp-sitemap-layout__primary,
.hp-sitemap-layout__secondary {
  min-width: 0;
}

.hp-sitemap-layout__secondary {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.hp-sitemap-property-hub {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.hp-sitemap-property-hub::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary, #c9a227), rgba(201, 162, 39, 0));
}

.hp-sitemap-property-hub__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.hp-sitemap-eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-primary, #c9a227);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hp-sitemap-property-hub h2,
.hp-sitemap-property-hub h3 {
  margin-top: 0;
  color: #141414;
}

.hp-sitemap-property-hub h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
}

.hp-sitemap-property-hub p {
  margin: 0;
  color: #4b4b4b;
  line-height: 1.65;
}

.hp-sitemap-primary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 8px;
  color: #181818;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.hp-sitemap-primary-link:hover,
.hp-sitemap-primary-link:focus-visible {
  border-color: var(--color-primary, #c9a227);
  color: var(--color-primary, #c9a227);
}

.hp-sitemap-property-count {
  margin-top: 1rem;
  font-weight: 800;
}

.hp-sitemap-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.25rem);
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
}

.hp-sitemap-taxonomy-card {
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
}

.hp-sitemap-taxonomy-card h3,
.hp-sitemap-recent-properties h3 {
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

.hp-sitemap-taxonomy-card p {
  font-size: 0.94rem;
}

.hp-sitemap-taxonomy-card ul,
.hp-sitemap-recent-properties ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.hp-sitemap-taxonomy-card li + li,
.hp-sitemap-recent-properties li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.hp-sitemap-taxonomy-card a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #1f1f1f;
  font-weight: 700;
  text-decoration: none;
}

.hp-sitemap-taxonomy-card a:hover,
.hp-sitemap-taxonomy-card a:focus-visible,
.hp-sitemap-recent-properties a:hover,
.hp-sitemap-recent-properties a:focus-visible {
  color: var(--color-primary, #c9a227);
}

.hp-sitemap-taxonomy-card small {
  display: inline-flex;
  min-width: 2rem;
  min-height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.12);
  color: #5f4a00;
  font-size: 0.78rem;
  font-weight: 800;
}

.hp-sitemap-recent-properties {
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
  padding-top: clamp(1rem, 2vw, 1.35rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hp-sitemap-recent-properties ul {
  columns: 2 220px;
  column-gap: clamp(1rem, 2vw, 1.5rem);
}

.hp-sitemap-recent-properties li {
  break-inside: avoid;
  padding: 0.58rem 0;
}

.hp-sitemap-recent-properties a {
  color: #1f1f1f;
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .hp-page-hero .container {
    grid-template-columns: 1fr;
  }

  .hp-page-hero .container::after,
  .hp-page-hero .container::before {
    display: none;
  }

  .hp-page-hero h1 {
    max-width: 13ch;
  }

  .hp-contact-layout-premium,
  .hp-info-grid-featured {
    grid-template-columns: 1fr;
  }

  .hp-sitemap-page .hp-sitemap-group {
    padding: clamp(1.2rem, 2vw, 1.6rem);
  }

  .hp-sitemap-page .hp-sitemap-grid {
    columns: 1;
  }

  .hp-sitemap-layout {
    grid-template-columns: 1fr;
  }

  .hp-editorial-section,
  .hp-faq-page {
    background: #fff;
  }
}

@media (max-width: 700px) {
  .hp-virtual-hero.hp-page-hero {
    padding: 6.5rem 0 3.6rem;
  }

  .hp-page-hero {
    min-height: 0;
  }

  .hp-sitemap-property-hub__header,
  .hp-sitemap-taxonomy-grid {
    grid-template-columns: 1fr;
  }

  .hp-sitemap-primary-link {
    width: 100%;
    white-space: normal;
  }

  .hp-page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9.5vw, 3.05rem);
    line-height: 1;
  }

  .hp-page-hero p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hp-section-heading .hp-lead,
  .hp-lead.hp-content-narrow {
    font-size: 1.18rem;
  }

  .hp-cta-inner,
  .hp-contact-layout-premium .hp-contact-list,
  .hp-contact-layout-premium .hp-contact-form {
    padding: 2rem 1.25rem;
  }

  .hp-stat-card {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  }

  .hp-stat-card:last-child {
    border-bottom: 0;
  }
}

/* Agents archive page */
.hp-agents-page,
.post-type-archive-agente .hp-agents-page,
.post-type-archive-agente .hp-agents-page * {
  font-family: var(--font-primary);
}

.hp-agents-page .hp-page-hero h1,
.hp-agents-page .hp-page-hero p,
.hp-agents-page .hp-kicker,
.hp-agents-page .hp-lead,
.hp-agents-page .agent-card,
.hp-agents-page .btn,
.hp-agents-page .hp-empty-state,
.hp-agents-page .hp-cta-inner {
  font-family: var(--font-primary);
}

.hp-agents-page .hp-agents-hero__button {
  margin-top: clamp(1.1rem, 1.8vw, 1.45rem);
  min-height: 2.85rem;
  padding: 0.82rem 1.25rem;
  font-size: var(--text-sm);
}

.hp-agents-page .hp-agents-hero .hp-virtual-hero-content {
  max-width: 900px;
}

.hp-agents-page .hp-agents-hero h1 {
  max-width: 840px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
}

.hp-agents-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin-top: 30px;
}

.hp-agents-hero__meta span {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
}

.hp-agents-hero__meta strong {
  color: var(--color-white);
  font-size: 1.05rem;
}

.hp-agents-method {
  background: var(--color-white);
}

.hp-agents-method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 42px;
  align-items: center;
}

.hp-agents-method h2 {
  max-width: 720px;
  margin: 10px 0 16px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.06;
}

.hp-agents-method p {
  max-width: 700px;
  margin: 0;
  color: var(--color-gray-700);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hp-agents-steps {
  display: grid;
  gap: 12px;
}

.hp-agents-steps div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  background: var(--color-bg-light);
}

.hp-agents-steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 999px;
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
}

.hp-agents-page .hp-agents-list-section {
  background:
    linear-gradient(180deg, #fff 0%, #fbfaf7 52%, #fff 100%);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}

.hp-agents-page .hp-agents-list-section > .container::before {
  display: none;
}

.hp-agents-page .hp-agents-intro {
  max-width: 58rem;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.hp-agents-page .hp-agents-intro .hp-lead {
  margin-right: auto;
  margin-left: auto;
}

.hp-agents-page .hp-agents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  overflow: visible;
  padding: 0;
  margin: 0;
  scroll-snap-type: none;
}

.hp-agents-page .hp-agents-grid--count-1 {
  grid-template-columns: minmax(0, min(22rem, 100%));
}

.hp-agents-page .hp-agents-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, min(22rem, 100%)));
}

.post-type-archive-agente .agent-card,
.hp-agents-page .agent-card {
  width: auto;
  min-height: 100%;
  flex: none;
  scroll-snap-align: unset;
}

.hp-agents-page .agent-card-content {
  flex: 1;
}

.hp-agents-page .agent-card-name a {
  color: inherit;
  pointer-events: none;
  text-decoration: none;
}

.hp-agents-page .agent-card-bio {
  margin: 10px 0 0;
  color: var(--color-gray-700);
  line-height: 1.6;
}

.hp-agents-page .hp-agents-empty {
  position: relative;
  max-width: 48rem;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  border-style: solid;
  border-color: rgba(201, 162, 39, 0.22);
}

.hp-agents-page .hp-agents-empty::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.hp-agents-page .hp-agents-empty h2 {
  margin-top: 0;
}

.hp-agents-page .hp-agents-cta {
  padding: 0 0 clamp(4.5rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
}

.hp-agents-page .hp-agents-cta .hp-cta-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(16, 16, 16, 0.08);
}

.hp-agents-page .hp-agents-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(4.75rem, 7vw, 6.25rem);
  height: clamp(4.75rem, 7vw, 6.25rem);
  border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(255, 255, 255, 0.7));
  color: var(--color-primary);
}

.hp-agents-page .hp-agents-cta__icon svg {
  width: 48%;
  height: 48%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-agents-page .hp-agents-cta h2,
.hp-agents-page .hp-agents-cta p {
  color: var(--color-text-main);
}

.hp-agents-page .hp-agents-cta p {
  max-width: 42rem;
  color: var(--color-text-body);
}

.hp-agents-page .hp-agents-cta .btn {
  justify-self: end;
}

@media (max-width: 1024px) {
  .hp-agents-hero__meta,
  .hp-agents-method__grid {
    grid-template-columns: 1fr;
  }

  .hp-agents-page .hp-agents-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-agents-page .hp-agents-grid--count-1 {
    grid-template-columns: minmax(0, min(22rem, 100%));
  }
}

@media (max-width: 640px) {
  .hp-agents-hero__meta {
    grid-template-columns: 1fr;
  }

  .hp-agents-page .hp-agents-grid,
  .hp-agents-page .hp-agents-grid--count-2 {
    grid-template-columns: 1fr;
  }

  .hp-agents-page .hp-agents-cta .hp-cta-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
    text-align: center;
  }

  .hp-agents-page .hp-agents-cta__icon,
  .hp-agents-page .hp-agents-cta .btn {
    justify-self: center;
  }
}

/* ==========================================================================
   PROPERTY CARD SIZE NORMALIZATION
   ========================================================================== */
:root {
  --hp-property-card-max: 22rem;
}

.property-card {
  width: 100%;
  max-width: var(--hp-property-card-max);
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.property-card-img img {
  object-fit: cover;
  object-position: center;
}

.property-card-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.property-card-title {
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  min-height: calc(1.3em * 2);
}

.property-card-location span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  white-space: normal;
}

.property-card-price-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.property-card-features {
  margin-top: auto;
  min-width: 0;
  flex-wrap: wrap;
}

.properties-archive-grid.hp-properties-grid,
.listings-grid,
.hp-similar-properties__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, var(--hp-property-card-max)));
  justify-content: center;
  align-items: stretch;
}

.properties-archive-grid.hp-properties-grid > .property-card,
.listings-grid > .property-card,
.hp-similar-properties__grid > .property-card {
  max-width: var(--hp-property-card-max);
}

@media (max-width: 1100px) {
  .properties-archive-grid.hp-properties-grid,
  .listings-grid,
  .hp-similar-properties__grid {
    grid-template-columns: repeat(2, minmax(0, var(--hp-property-card-max)));
  }
}

@media (max-width: 760px) {
  .properties-archive-grid.hp-properties-grid,
  .listings-grid,
  .hp-similar-properties__grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    scroll-snap-type: none;
    padding-left: 0;
    padding-right: 0;
  }

  .properties-archive-grid.hp-properties-grid > .property-card,
  .listings-grid > .property-card,
  .hp-similar-properties__grid > .property-card {
    max-width: none;
    width: 100%;
    min-width: 0;
    scroll-snap-align: unset;
  }

  .property-card-price,
  .property-card-title,
  .property-card-location,
  .property-card-features {
    min-width: 0;
  }

  .property-card-features {
    gap: var(--space-2) var(--space-3);
  }

  .property-card-feature {
    min-width: 0;
  }
}

/* ==========================================================================
   SIMPLIFIED MOBILE FLOWS
   ========================================================================== */
@media (max-width: 1023px) {
  .listings-grid,
  .agents-grid,
  .blog-grid,
  .cities-slider,
  .cities-slider.scroll-x,
  .hp-post-related__grid.blog-grid,
  .hp-agents-page .hp-agents-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: var(--space-5);
    margin: 0;
    padding: 0;
    overflow-x: clip;
    overflow-y: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .listings-grid > .property-card,
  .agents-grid > .agent-card,
  .blog-grid > .blog-card,
  .cities-slider > .city-card,
  .hp-post-related__grid.blog-grid > .blog-card,
  .hp-agents-page .hp-agents-grid > .agent-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
    scroll-snap-align: unset;
  }

  .cities-slider > .city-card {
    height: clamp(16rem, 58vw, 21rem);
  }

  .city-filter-list,
  .hp-filter-chips {
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    overflow-x: clip;
    scroll-snap-type: none;
    overscroll-behavior-x: auto;
  }

  .city-filter-link,
  .hp-filter-chip {
    flex: 0 1 auto;
    scroll-snap-align: unset;
  }
}

@media (max-width: 1023px) {
  .hp-property-gallery__grid,
  .hp-similar-properties__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    gap: var(--space-4);
    overflow-x: clip;
    overflow-y: visible;
    scroll-snap-type: none;
  }

  .hp-property-gallery__item,
  .hp-property-gallery__item.is-main,
  .hp-property-gallery.gallery-mostly-portrait .hp-property-gallery__item.is-main,
  .hp-similar-properties__grid > * {
    width: 100%;
    min-width: 0;
    flex: none;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: unset;
  }

  .hp-property-single .hp-property-gallery--multiple .hp-property-gallery__grid {
    display: block;
    grid-template-rows: none;
    gap: var(--space-2);
  }

  .hp-property-single .hp-property-gallery--multiple .hp-property-gallery__item {
    display: none;
  }

  .hp-property-single .hp-property-gallery--multiple .hp-property-gallery__item.is-main {
    display: block;
    min-height: clamp(180px, 50vw, 260px);
  }

  .hp-property-single .hp-property-gallery--multiple .hp-property-gallery__more {
    display: none;
  }

  .hp-property-single .hp-property-gallery--multiple .hp-property-gallery__action--mobile-all {
    inset: auto var(--space-3) var(--space-3) auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 var(--space-3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-text-main);
    font-size: 0.76rem;
    font-weight: var(--font-semibold);
    box-shadow: 0 12px 28px rgba(15, 12, 8, 0.2);
    pointer-events: none;
  }
}

/* ==========================================================================
   MOBILE WIDTH GUARD
   ========================================================================== */
@media (max-width: 1023px) {
  html,
  body {
    inline-size: 100%;
    max-inline-size: 100%;
    overflow-x: hidden;
  }

  body {
    position: relative;
  }

  .site-wrapper,
  .header,
  .header-inner,
  main,
  main > *,
  section,
  .container,
  .hero,
  .hero-layout,
  .hero-content,
  .hero-media,
  .hero-search-panel,
  .search-box,
  .search-box-form,
  .listings-section,
  .listings-grid,
  .cities-section,
  .cities-slider,
  .agents-section,
  .agents-grid,
  .blog-section,
  .blog-grid,
  .footer-section,
  .mobile-bottom-nav,
  .mobile-bottom-nav__inner {
    max-inline-size: 100%;
  }

  .hero-search-panel,
  .search-box,
  .property-card,
  .city-card,
  .agent-card,
  .blog-card {
    overflow-x: clip;
  }

  img,
  video,
  iframe,
  canvas,
  svg,
  table,
  input,
  select,
  textarea,
  button {
    max-inline-size: 100%;
  }
}

@media (max-width: 767px) {
  .hero-search-panel {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--space-4);
    padding-left: var(--space-4);
    transform: none;
  }

  .search-box,
  .search-box-form,
  .search-box-group-location,
  .search-box-group-details,
  .search-box-group-budget,
  .search-box-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* ==========================================================================
   MOBILE UX TUNING (TARGETED)
   ========================================================================== */
@media (max-width: 767px) {
  .mobile-menu {
    width: 82%;
    max-width: 20rem;
  }

  .mobile-menu-header {
    padding: 0.9rem 1rem;
  }

  .mobile-menu-body {
    padding: 0.8rem 1rem 0.65rem;
  }

  .mobile-nav-list {
    gap: 0.15rem;
  }

  .mobile-nav-link {
    padding: 0.66rem 0.75rem;
    font-size: 0.89rem;
    border-radius: 0.45rem;
  }

  .mobile-nav-link--contact {
    margin-top: 0.35rem;
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--color-primary-dark);
    background: rgba(201, 162, 39, 0.08);
  }

  .mobile-menu-footer {
    padding: 0.65rem 1rem 0.95rem;
    border-top: 0;
  }

  .mobile-cta-btn {
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
    border-radius: 0.6rem;
    box-shadow: 0 2px 10px rgba(201, 162, 39, 0.22);
  }

  .hero {
    padding-top: calc(3.5rem + env(safe-area-inset-top, 0px));
    padding-bottom: var(--space-3);
  }

  .hero-with-search {
    padding-bottom: var(--space-3);
    margin-bottom: 0;
  }

  .hero-content {
    padding: var(--space-4) var(--space-4) var(--space-2);
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero-inner {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

  .hero-title {
    font-size: clamp(1.4rem, 4.9vw, 2rem);
    line-height: 1.08;
    margin-top: var(--space-3);
    margin-bottom: var(--space-3);
  }

  .hero-property-panel {
    margin: var(--space-2) 0;
    padding: 0.8rem 0.95rem;
  }

  .hero-property-panel h2 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .hero-property-panel p {
    font-size: 0.78rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-property-meta {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    gap: 0.55rem 0.8rem;
  }

  .hero-actions {
    gap: 0.55rem;
  }

  .hero-actions .btn {
    min-height: 2.6rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.82rem;
  }

  .hero-trust-strip {
    display: none;
  }

  .hero-media img {
    aspect-ratio: 16 / 9;
  }

  .hero-media-kicker,
  .hero-slider-controls,
  .hero-slider-dots {
    display: none;
  }

  .hero-search-panel {
    margin-top: var(--space-3);
    padding-right: var(--space-3);
    padding-left: var(--space-3);
  }

  .search-box {
    padding: 0.82rem;
    border-radius: 0.9rem;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.03),
      0 12px 30px rgba(20, 17, 11, 0.16);
  }

  .search-box-heading {
    margin-bottom: 0.65rem;
    padding-bottom: 0.5rem;
  }

  .search-box-heading h2 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .search-box-heading p {
    font-size: 0.74rem;
  }

  .search-box-form {
    gap: 0.55rem;
  }

  .search-box-group {
    gap: 0.45rem;
    padding: 0.58rem;
    border-radius: 0.72rem;
  }

  .search-box-group legend {
    margin-bottom: 0.35rem;
    font-size: 0.62rem;
  }

  .search-box-label {
    font-size: 0.61rem;
    margin-bottom: 0.12rem;
  }

  .search-box-input {
    min-height: 2.48rem;
    padding: 0.62rem 0.72rem;
    font-size: 0.83rem;
  }

  .search-box-actions {
    margin-top: 0.15rem;
    gap: 0.48rem;
  }

  .search-box-actions .btn {
    min-height: 2.5rem;
    font-size: 0.82rem;
  }

  .search-box-more-toggle {
    width: 100%;
    min-height: 2.3rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(20, 17, 11, 0.12);
    border-radius: 0.72rem;
    background: #fff;
    color: var(--color-text-body);
    font-family: var(--font-primary);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .search-box-form .search-box-group-details {
    display: none;
  }

  .search-box-form.is-expanded .search-box-group-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .property-card-img {
    aspect-ratio: 16 / 9;
  }

  .property-card-content {
    padding: 0.72rem 0.75rem 0.62rem;
  }

  .property-card-price {
    margin-bottom: 0.25rem;
  }

  .property-card-price-value {
    font-size: 1rem;
  }

  .property-card-title {
    font-size: 0.88rem;
    min-height: auto;
    margin-bottom: 0.28rem;
  }

  .property-card-location {
    margin-bottom: 0.45rem;
    font-size: 0.7rem;
  }

  .property-card-features {
    padding-top: 0.45rem;
    gap: 0.4rem 0.65rem;
  }

  .property-card-feature {
    font-size: 0.68rem;
  }

  .hp-property-single {
    padding-top: var(--space-3);
  }

  .hp-property-gallery {
    margin-bottom: var(--space-3);
  }

  .hp-property-gallery__item,
  .hp-property-gallery__item.is-main,
  .hp-property-gallery.gallery-mostly-portrait .hp-property-gallery__item.is-main {
    min-height: clamp(170px, 52vw, 240px);
  }

  .hp-property-panel {
    padding: 0.82rem;
    border-radius: 0.9rem;
  }

  .hp-property-summary {
    padding: 0.82rem;
    gap: 0.6rem;
  }

  .hp-property-summary h1.hp-property-summary__title {
    font-size: 1.22rem;
    line-height: 1.18;
    margin-bottom: 0.3rem;
  }

  .hp-property-summary__location,
  .hp-property-summary__address {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .hp-property-summary__badges {
    gap: 0.35rem;
  }

  .hp-property-summary__facts {
    gap: 0.45rem;
  }

  .hp-property-summary__fact {
    padding: 0.45rem 0.48rem;
    border-radius: 0.6rem;
  }

  .hp-property-summary__price-inline {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.45rem;
  }

  .hp-property-summary__price-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 700;
  }

  .hp-property-summary__price-value {
    color: var(--color-primary);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.05;
  }

  .hp-property-summary__price-note {
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 600;
  }

  .hp-property-agent,
  .hp-property-price-card,
  .hp-property-fiduciaria,
  .hp-property-trust,
  .hp-loan-calculator,
  .hp-property-single__main > .hp-property-panel {
    margin-bottom: 0.65rem;
  }

  .hp-property-agent__actions {
    gap: 0.45rem;
  }

  .hp-property-agent__button {
    min-height: 2.5rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
  }

  .hp-property-single .hp-loan-calculator {
    padding: 0.78rem;
  }

  .hp-property-single .hp-loan-calculator h2 {
    margin-bottom: 0.62rem;
    font-size: 1.1rem;
    line-height: 1.18;
  }

  .hp-property-single .hp-loan-calculator__grid {
    gap: 0.42rem;
  }

  .hp-property-single .hp-loan-calculator__grid label {
    gap: 0.2rem;
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .hp-property-single .hp-loan-calculator__grid input {
    min-height: 2.25rem;
    padding: 0.42rem 0.58rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .hp-property-single .hp-loan-calculator__grid input[readonly] {
    background: #f7f3e8;
    border-color: rgba(var(--color-primary-rgb), 0.28);
    font-weight: var(--font-semibold);
  }

  .hp-property-single .hp-loan-calculator__result {
    gap: 0.14rem;
    margin-top: 0.52rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
  }

  .hp-property-single .hp-loan-calculator__result span {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .hp-property-single .hp-loan-calculator__result strong {
    font-size: 1.75rem;
    line-height: 1.05;
  }

  .hp-property-single .hp-loan-calculator__disclaimer {
    margin-top: 0.42rem;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .footer-section {
    padding: var(--space-10) 0 calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  }

  .footer-section .footer-main {
    padding-bottom: var(--space-4);
  }

  .footer-section .footer-grid {
    gap: var(--space-5);
  }

  .footer-section .footer-logo {
    margin-bottom: var(--space-3);
  }

  .footer-section .footer-description {
    margin-bottom: var(--space-4);
    line-height: 1.5;
  }

  .footer-section .footer-column-title {
    margin-bottom: var(--space-3);
  }

  .footer-section .footer-links li {
    margin-bottom: 0.45rem;
  }

  .footer-section .footer-contact-item {
    margin-bottom: 0.65rem;
    gap: var(--space-2);
  }

  .footer-section .footer-bottom {
    padding-top: var(--space-3);
  }

  .footer-section .footer-bottom-inner {
    gap: var(--space-2);
  }

  .footer-section .footer-copyright,
  .footer-section .footer-legal a {
    font-size: 0.76rem;
  }
}

@media (max-width: 1023px) {
  .hp-property-price-card {
    order: 4;
  }

  .hp-property-agent {
    order: 3;
  }
}

@media (min-width: 768px) {
  .search-box-more-toggle {
    display: none;
  }

  .hp-property-summary__price-inline {
    display: none;
  }
}
