/* ============================================
   Escuela DUX - Landing Page (nexthm style)
   Sección independiente del sistema SPA
   ============================================ */

:root {
  /* Paleta Compañía JP INMOBILIARIA */
  --brand-primary: #FFB300;
  --brand-light: #F5F0E1;
  --brand-dark: #1A1A1A;

  --theme-color: var(--brand-primary);
  --theme-color2: var(--brand-light);
  --sec-color: var(--brand-primary);
  --title-color: var(--brand-dark);
  --body-color: var(--brand-dark);
  --dark-color: var(--brand-dark);
  --light-color: var(--brand-light);
  --white-color: #ffffff;
  --border-color: #D4C9A8;
  --title-font: "Playfair Display", serif;
  --body-font: "Poppins", sans-serif;
  --main-container: 1300px;
  --section-space: 120px;
  --section-space-mobile: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--body-color);
  line-height: 26px;
  overflow-x: hidden;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--body-color);
  text-decoration: none;
  transition: all 0.4s ease;
}

a:hover { color: var(--sec-color); }

ul { list-style: none; margin: 0; padding: 0; }

.container-custom {
  max-width: var(--main-container);
  margin: 0 auto;
  padding: 0 15px;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--brand-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.preloader-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.22) 0%, rgba(255, 179, 0, 0.06) 42%, transparent 72%);
  animation: preloaderGlow 2.4s ease-in-out infinite;
  pointer-events: none;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader.is-exiting .preloader-inner {
  opacity: 0;
  transform: scale(0.92);
}

.preloader-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  transition: opacity 0.45s ease, transform 0.45s ease;
  animation: preloaderEnter 0.7s ease both;
}

.preloader-orbit {
  position: relative;
  width: 156px;
  height: 156px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--sec-color);
  border-right-color: rgba(255, 179, 0, 0.35);
  animation: preloaderSpin 1.1s linear infinite;
}

.preloader-orbit__ring--reverse {
  inset: 10px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: rgba(255, 179, 0, 0.55);
  border-left-color: transparent;
  animation: preloaderSpinReverse 1.6s linear infinite;
}

.preloader-logo {
  position: relative;
  z-index: 2;
  height: 78px;
  width: auto;
  max-width: 72vw;
  background: transparent;
  animation: preloaderLogoIn 0.8s ease 0.15s both;
}

.preloader-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.preloader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sec-color);
  animation: preloaderDot 1.2s ease-in-out infinite;
}

.preloader-dots span:nth-child(2) { animation-delay: 0.15s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.3s; }

.preloader-text {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes preloaderGlow {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes preloaderEnter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes preloaderLogoIn {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes preloaderDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-7px); opacity: 1; }
}

/* Buttons */
.vs-btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--theme-color);
  color: var(--white-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--theme-color);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s ease;
  line-height: 1;
}

.vs-btn:hover {
  background: transparent;
  color: var(--theme-color);
}

.vs-btn.style2 {
  background: var(--sec-color);
  border-color: var(--sec-color);
  color: var(--white-color);
}

.vs-btn.style2:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white-color);
}

.vs-btn.style3 {
  background: transparent;
  border-color: var(--white-color);
  color: var(--white-color);
}

.vs-btn.style3:hover {
  background: var(--white-color);
  color: var(--theme-color);
}

.vs-btn.btn-login {
  padding: 12px 28px;
  font-size: 13px;
}

/* Section Titles */
.sec-title {
  text-align: center;
  margin-bottom: 60px;
}

.sec-title .sec-subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sec-color);
  margin-bottom: 12px;
  position: relative;
}

.sec-title .sec-subtitle::before,
.sec-title .sec-subtitle::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--sec-color);
  vertical-align: middle;
  margin: 0 15px;
}

.sec-title h2 {
  font-family: var(--title-font);
  font-size: 42px;
  font-weight: 600;
  color: var(--title-color);
  text-transform: capitalize;
  margin: 0;
  line-height: 1.2;
}

.sec-title p {
  max-width: 600px;
  margin: 15px auto 0;
  color: var(--body-color);
}

/* Header */
.header-layout1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: var(--brand-dark);
}

.header-layout1.sticky {
  position: fixed;
  background: var(--brand-dark);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  height: 68px;
  width: auto;
  max-width: min(42vw, 340px);
  object-fit: contain;
  background: transparent;
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: 35px;
}

.main-menu a {
  color: var(--white-color);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.main-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sec-color);
  transition: width 0.3s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after { width: 100%; }

.main-menu a:hover { color: var(--sec-color); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white-color);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* Hero */
.hero-layout2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 26, 26,0.88) 0%, rgba(26, 26, 26,0.45) 60%, transparent 100%);
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  padding: 170px 0 120px;
}

.hero-title {
  font-family: var(--title-font);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 600;
  color: var(--white-color);
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease;
}

.hero-text {
  color: var(--white-color);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white-color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active { background: var(--sec-color); border-color: var(--sec-color); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Category */
.category-section {
  padding: var(--section-space) 0;
  background: var(--light-color);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.category-style1 {
  text-align: center;
  border: 1px dotted var(--title-color);
  padding: 22px 20px;
  border-radius: 109px;
  transition: all 0.5s ease;
  background: var(--white-color);
}

.category-style1 .category-icon {
  width: 90px;
  height: 90px;
  line-height: 90px;
  background: var(--title-color);
  border-radius: 50%;
  margin: 10px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.category-style1 .category-icon i {
  font-size: 32px;
  color: var(--white-color);
  transition: all 0.5s ease;
}

.category-style1 .category-title {
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 8px;
}

.category-style1 .category-text {
  font-size: 13px;
  color: var(--sec-color);
  font-weight: 500;
}

.category-style1:hover {
  border-color: var(--sec-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.category-style1:hover .category-icon {
  background: var(--sec-color);
  transform: scaleX(-1);
}

/* ILERCO - Inscríbete, publica y vende */
.ilerco-steps-section .sec-lead {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-color);
}

.ilerco-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.ilerco-step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 32px;
  background: var(--white-color);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  overflow: hidden;
}

.ilerco-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--theme-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ilerco-step-card:hover {
  border-color: var(--theme-color);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 179, 0, 0.18);
}

.ilerco-step-card:hover::before {
  transform: scaleX(1);
}

.ilerco-step-number {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--theme-color);
  opacity: 0.7;
}

.ilerco-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(255, 179, 0, 0.12);
  color: var(--theme-color);
  font-size: 28px;
  transition: all 0.3s ease;
}

.ilerco-step-card:hover .ilerco-step-icon {
  background: var(--theme-color);
  color: var(--white-color);
}

.ilerco-step-title {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 600;
  color: var(--title-color);
  margin: 0 0 12px;
}

.ilerco-step-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--body-color);
  margin: 0;
}

.ilerco-steps-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* About / Apartments */
.about-section {
  padding: var(--section-space) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.img-box1 .img-1 {
  position: relative;
  margin-bottom: 30px;
}

.img-box1 .img-1 img {
  border-radius: 8px;
  width: 85%;
  margin-left: auto;
}

.img-box1 .img-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
}

.img-box1 .img-2 img { border-radius: 8px; border: 5px solid var(--white-color); }

.about-content h2 {
  font-family: var(--title-font);
  font-size: 36px;
  color: var(--title-color);
  margin-bottom: 20px;
  line-height: 1.5;
}

.about-content p { margin-bottom: 20px; }

.about-list {
  margin: 25px 0;
}

.about-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-weight: 500;
}

.about-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--theme-color);
}

/* Counter */
.counter-section {
  padding: 80px 0;
  background: var(--brand-dark);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.counter-item h3 {
  font-family: var(--title-font);
  font-size: 48px;
  font-weight: 700;
  color: var(--sec-color);
  margin: 0 0 8px;
}

.counter-item p {
  color: var(--white-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Services / Accommodation */
.service-section {
  padding: var(--section-space) 0;
  background: var(--light-color);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white-color);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-bottom-color: var(--sec-color);
}

.service-card .icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  background: var(--light-color);
  border-radius: 50%;
  margin: 0 auto 25px;
  font-size: 28px;
  color: var(--theme-color);
  transition: all 0.4s ease;
}

.service-card:hover .icon {
  background: var(--theme-color);
  color: var(--white-color);
}

.service-card h4 {
  font-family: var(--title-font);
  font-size: 20px;
  color: var(--title-color);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  margin: 0;
}

/* Properties / Courses */
.properties-section {
  padding: var(--section-space) 0;
}

.properties-section--featured {
  background: #f8f9f7;
}

.properties-section--explore {
  background: var(--white-color);
}

.featured-section-footer {
  margin-top: 48px;
}

/* Tarjetas destacadas - estilo catálogo premium */
.property-grid--featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.property-card-featured {
  background: var(--white-color);
  border-radius: 4px;
  border: 4px solid var(--brand-primary);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.property-card-featured:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: 0 16px 40px rgba(255, 179, 0, 0.2);
}

.property-card-featured__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.property-card-featured__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ebe6;
}

.property-card-featured__image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.property-card-featured:hover .property-card-featured__image > img:first-child {
  transform: scale(1.04);
}

.property-card-featured__price {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #e87722;
  color: var(--white-color);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 4px;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(232, 119, 34, 0.35);
  z-index: 2;
}

.property-card-featured__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(26, 26, 26, 0.88);
  color: var(--white-color);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.property-card-featured__tag--business {
  background: var(--theme-color);
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.35);
}

.property-card-featured__brand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 52px;
  height: auto;
  background: var(--white-color);
  padding: 4px 6px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.property-card-featured__body {
  padding: 18px 18px 20px;
}

.property-card-featured__title {
  margin: 0 0 10px;
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #e87722;
  letter-spacing: 0.3px;
}

.property-card-featured__address {
  margin: 0 0 14px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.property-card-featured__address i {
  color: #999;
  margin-top: 3px;
  flex-shrink: 0;
}

.property-card-featured__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #444;
  font-weight: 500;
}

.property-card-featured__specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.property-card-featured__specs i {
  color: #888;
  font-size: 14px;
}

.property-empty--featured {
  grid-column: 1 / -1;
}

/* Explorar propiedades - botones tipo de negocio */
.explore-business-nav {
  margin-bottom: 36px;
}

.explore-business-nav__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.explore-business-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--white-color);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--title-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 150px;
  justify-content: center;
}

.explore-business-btn i {
  color: var(--theme-color);
  font-size: 16px;
}

.explore-business-btn:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 179, 0, 0.3);
}

.explore-business-btn:hover i {
  color: var(--white-color);
}

.property-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.property-tab {
  padding: 12px 28px;
  background: transparent;
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--body-color);
}

.property-tab.active,
.property-tab:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: var(--white-color);
}

.property-tab--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.property-tab--business {
  font-size: 12px;
}

.property-nav-group {
  margin-bottom: 28px;
}

.property-nav-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sec-color);
  margin: 0 0 12px;
  text-align: center;
}

.catalog-type-nav {
  margin-bottom: 40px;
}

.property-card .badge-tag--business {
  left: auto;
  right: 15px;
  background: var(--brand-dark);
  color: var(--white-color);
}

.property-card .property-type-label {
  font-size: 13px;
  color: var(--sec-color);
  margin: 0 0 10px;
}

.property-card .property-type-label i {
  margin-right: 6px;
}

/* Catálogo - página de listado */
.catalog-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 170px 0 110px;
  color: var(--white-color);
  background: var(--brand-dark);
}

.catalog-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.catalog-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  transition: transform 10s ease, opacity 0.5s ease;
}

.catalog-hero:hover .catalog-hero__bg img {
  transform: scale(1.1);
}

.catalog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 26, 26, 0.84) 0%,
    rgba(26, 26, 26, 0.48) 52%,
    rgba(26, 26, 26, 0.12) 100%
  );
  z-index: 1;
}

.catalog-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.catalog-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.catalog-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 179, 0, 0.22);
  color: var(--brand-light);
  font-size: 18px;
  border: 1px solid rgba(214, 210, 196, 0.35);
}

.catalog-hero h1 {
  font-family: var(--title-font);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 12px 0 16px;
  color: var(--white-color);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  max-width: 900px;
}

.catalog-hero .sec-subtitle {
  color: var(--brand-light);
  margin: 0;
}

.catalog-hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  opacity: 0.95;
  margin: 0;
  max-width: 720px;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.catalog-hero-count {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 179, 0, 0.22);
  border: 1px solid rgba(214, 210, 196, 0.35);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.catalog-hero[data-theme="arriendo"] .catalog-hero__overlay {
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.82) 0%, rgba(26, 26, 26, 0.44) 55%, rgba(26, 26, 26, 0.1) 100%);
}

.catalog-hero[data-theme="venta"] .catalog-hero__overlay {
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.84) 0%, rgba(13, 13, 13, 0.46) 55%, rgba(13, 13, 13, 0.1) 100%);
}

.catalog-hero[data-theme="apartamento"] .catalog-hero__overlay,
.catalog-hero[data-theme="casa"] .catalog-hero__overlay,
.catalog-hero[data-theme="finca"] .catalog-hero__overlay,
.catalog-hero[data-theme="lote"] .catalog-hero__overlay,
.catalog-hero[data-theme="oficina"] .catalog-hero__overlay,
.catalog-hero[data-theme="local-comercial"] .catalog-hero__overlay,
.catalog-hero[data-theme="bodega"] .catalog-hero__overlay,
.catalog-hero[data-theme="consultorio"] .catalog-hero__overlay,
.catalog-hero[data-theme="destacadas"] .catalog-hero__overlay,
.catalog-hero[data-theme="permuta"] .catalog-hero__overlay,
.catalog-hero[data-theme="proyecto-nuevo"] .catalog-hero__overlay {
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.42) 55%, rgba(26, 26, 26, 0.08) 100%);
}

.catalog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.catalog-back-link:hover {
  color: var(--white-color);
}

.properties-section--catalog {
  padding-top: 48px;
  background: #f4f3ef;
}

.catalog-search-wrap {
  margin-bottom: 36px;
}

/* Búsqueda avanzada - barra horizontal */
.catalog-advanced-search {
  background: var(--brand-dark);
  border-radius: 4px;
  padding: 22px 24px 20px;
  box-shadow: 0 8px 28px rgba(26, 26, 26, 0.18);
}

.catalog-advanced-search__title {
  margin: 0 0 18px;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--white-color);
}

.catalog-advanced-search__row {
  display: grid;
  gap: 14px 16px;
  align-items: end;
}

.catalog-advanced-search__row--primary {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: 14px;
}

.catalog-advanced-search__row--secondary {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1fr) auto;
}

.catalog-advanced-search__row--more {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.catalog-advanced-search__field {
  min-width: 0;
}

.catalog-advanced-search__field--submit {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.catalog-advanced-search__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

.catalog-advanced-search__label--hidden {
  visibility: hidden;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.catalog-advanced-search__input {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 4px;
  padding: 0 12px;
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--body-color);
  background: var(--white-color);
  appearance: none;
}

select.catalog-advanced-search__input {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%233F4F3C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.catalog-advanced-search__input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.35);
}

.catalog-advanced-search__input::placeholder {
  color: rgba(26, 26, 26, 0.45);
}

.catalog-advanced-search__submit {
  height: 42px;
  min-width: 118px;
  border: none;
  border-radius: 4px;
  padding: 0 22px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white-color);
  background: #2a2a2a;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.catalog-advanced-search__submit:hover {
  background: #1f1f1f;
}

.catalog-advanced-search__more {
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 10px;
}

.catalog-advanced-search__more summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-light);
  user-select: none;
}

.catalog-advanced-search__more summary::-webkit-details-marker {
  display: none;
}

.catalog-advanced-search__more summary::after {
  content: ' +';
  font-weight: 700;
}

.catalog-advanced-search__more[open] summary::after {
  content: ' −';
}

.catalog-advanced-search__more-body {
  padding-top: 16px;
}

.catalog-advanced-search__amenities {
  margin-top: 4px;
}

.catalog-advanced-search__checks {
  margin-top: 8px;
}

.catalog-advanced-search .catalog-filter-check {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.catalog-advanced-search .catalog-filter-check input {
  accent-color: var(--brand-primary);
}

.catalog-advanced-search__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.catalog-advanced-search__featured {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.catalog-advanced-search__reset {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 8px 16px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--white-color);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.catalog-advanced-search__reset:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.catalog-results-head {
  margin-bottom: 28px;
}

.catalog-results-section-title {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--body-font);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: center;
  color: var(--brand-dark);
}

.catalog-results-section-title::before,
.catalog-results-section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: min(28%, 180px);
  height: 1px;
  background: rgba(26, 26, 26, 0.22);
}

.catalog-results-section-title::before {
  right: calc(50% + 140px);
}

.catalog-results-section-title::after {
  left: calc(50% + 140px);
}

.catalog-results .catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.catalog-results-head .catalog-toolbar {
  margin-bottom: 0;
}

.catalog-results .catalog-count-inline {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--sec-color);
}

/* Catálogo - filtros avanzados (layout inmobiliario) */
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(400px, 460px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.catalog-layout--home {
  margin-top: 10px;
}

.catalog-filters-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.catalog-filters-sidebar-head {
  margin-bottom: 10px;
}

.catalog-filters-sidebar-head--compact h3 {
  font-size: 18px;
}

.catalog-filters-sidebar-head h3 {
  font-family: var(--title-font);
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--title-color);
}

.catalog-filters-sidebar-head h3:only-child {
  margin-bottom: 0;
}

.catalog-filters-sidebar-head p {
  margin: 0;
  font-size: 14px;
  color: var(--sec-color);
}

.catalog-filters {
  background: var(--white-color);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  padding: 16px;
  width: 100%;
  max-height: min(480px, 62vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.catalog-filters--compact {
  padding: 14px 16px;
  max-height: min(420px, 58vh);
}

.catalog-filters--compact .catalog-filter-group {
  margin-bottom: 6px;
  padding-bottom: 6px;
}

.catalog-filters--compact .catalog-filter-group summary {
  padding: 6px 0;
  font-size: 13px;
}

.catalog-filters--compact .catalog-filter-field {
  margin-bottom: 10px;
}

.catalog-filters--compact .catalog-filter-field--compact-last {
  margin-bottom: 0;
}

.catalog-filters--compact .catalog-filter-input {
  padding: 8px 10px;
  font-size: 13px;
}

.catalog-filters--compact .catalog-filter-label {
  font-size: 11px;
  margin-bottom: 4px;
}

.catalog-filters--compact .catalog-filter-check {
  font-size: 12px;
}

.catalog-filters--compact .catalog-filter-checks--inline {
  gap: 6px 10px;
}

.catalog-filters--compact .catalog-filter-checks--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
}

.catalog-filters--compact .catalog-filter-row {
  gap: 8px;
}

.catalog-filters--compact .catalog-filter-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.catalog-filters--compact .catalog-filter-submit {
  padding: 10px 16px;
  font-size: 13px;
}

.catalog-filters--compact .catalog-filter-check--featured {
  margin: 0 0 8px;
  font-size: 12px;
}

.catalog-filters::-webkit-scrollbar {
  width: 6px;
}

.catalog-filters::-webkit-scrollbar-thumb {
  background: rgba(26, 26, 26, 0.25);
  border-radius: 999px;
}

.catalog-results {
  min-width: 0;
}

.catalog-results .property-grid--catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.catalog-results .property-grid--catalog .property-card-featured {
  height: 100%;
}

.catalog-results-footer,
.catalog-page-footer {
  margin-top: 32px;
  text-align: center;
}

.catalog-page-footer {
  margin-top: 50px;
}

.catalog-filter-group {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.catalog-filter-group:last-of-type {
  border-bottom: none;
}

.catalog-filter-group summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--title-color);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.catalog-filter-group summary::-webkit-details-marker {
  display: none;
}

.catalog-filter-group summary::after {
  content: '+';
  font-size: 18px;
  color: var(--theme-color);
}

.catalog-filter-group[open] summary::after {
  content: '−';
}

.catalog-filter-group-body {
  padding-top: 8px;
}

.catalog-filter-field {
  margin-bottom: 14px;
}

.catalog-filter-field--sort {
  margin-top: 8px;
}

.catalog-filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sec-color);
  margin-bottom: 6px;
}

.catalog-filter-input {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--body-color);
  background: var(--white-color);
}

.catalog-filter-input:focus {
  outline: none;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.15);
}

.catalog-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.catalog-filter-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.catalog-filter-checks--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.catalog-filter-checks--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.catalog-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--body-color);
  cursor: pointer;
}

.catalog-filter-check input {
  accent-color: var(--theme-color);
}

.catalog-filter-check--featured {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 12px;
}

.catalog-filter-footer {
  margin-top: 12px;
}

.catalog-filter-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 0;
}

.catalog-filter-submit {
  flex: 1;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 14px;
}

.catalog-filter-reset {
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--sec-color);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 11px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.catalog-filter-reset:hover {
  color: var(--theme-color);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.catalog-sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--body-color);
}

.catalog-sort-bar select {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  min-width: 180px;
}

.catalog-count-inline {
  margin: 0;
  font-size: 14px;
  color: var(--sec-color);
  font-weight: 600;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-grid--empty {
  display: block;
}

.property-loading,
.property-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--body-color);
  background: var(--white-color);
  border-radius: 16px;
  border: 1px dashed var(--border-color);
}

.property-empty p {
  margin-bottom: 16px;
  font-size: 16px;
}

.property-empty .view-property {
  display: inline-block;
}

.property-card {
  background: var(--white-color);
  border: 4px solid var(--brand-primary);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.property-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
  box-shadow: 0 15px 40px rgba(255, 179, 0, 0.18);
}

.property-card .img-wrap {
  position: relative;
  overflow: hidden;
}

.property-card .img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .img-wrap img { transform: scale(1.08); }

.property-card .badge-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--sec-color);
  color: var(--title-color);
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.property-card .content {
  padding: 25px;
}

.property-card h4 {
  font-family: var(--title-font);
  font-size: 20px;
  color: var(--title-color);
  margin: 0 0 12px;
}

.property-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: var(--body-color);
}

.property-card .meta i { color: var(--theme-color); margin-right: 5px; }

.property-panel { display: none; }
.property-panel.active { display: block; }

/* Testimonials */
.testimonial-section {
  padding: var(--section-space) 0;
  background: var(--dark-color);
  position: relative;
  overflow: hidden;
}

.testimonial-section .sec-title h2,
.testimonial-section .sec-title .sec-subtitle { color: var(--white-color); }

.testimonial-section .sec-title .sec-subtitle::before,
.testimonial-section .sec-title .sec-subtitle::after { background: var(--sec-color); }

.testimonial-slider { position: relative; max-width: 800px; margin: 0 auto; }

.testimonial-item {
  text-align: center;
  padding: 20px;
  display: none;
}

.testimonial-item.active { display: block; animation: fadeInUp 0.6s ease; }

.testimonial-item .quote-icon {
  font-size: 40px;
  color: var(--sec-color);
  margin-bottom: 20px;
}

.testimonial-item blockquote {
  font-size: 18px;
  line-height: 32px;
  color: var(--white-color);
  font-style: italic;
  margin: 0 0 30px;
}

.testimonial-item .author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
}

.testimonial-item .author h5 {
  color: var(--white-color);
  margin: 0 0 4px;
  font-size: 16px;
}

.testimonial-item .author span {
  color: var(--sec-color);
  font-size: 13px;
  display: block;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-nav button {
  width: 40px;
  height: 40px;
  border: 2px solid var(--white-color);
  background: transparent;
  color: var(--white-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav button:hover {
  background: var(--sec-color);
  border-color: var(--sec-color);
  color: var(--title-color);
}

/* Team */
.team-section { padding: var(--section-space) 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover { transform: translateY(-8px); }

.team-card .img-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.team-card .img-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .img-wrap img { transform: scale(1.05); }

.team-card .social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: rgba(26, 26, 26,0.92);
  transition: bottom 0.4s ease;
}

.team-card:hover .social { bottom: 0; }

.team-card .social a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  background: var(--white-color);
  color: var(--theme-color);
  border-radius: 50%;
  font-size: 14px;
  transition: all 0.3s ease;
}

.team-card .social a:hover {
  background: var(--sec-color);
  color: var(--title-color);
}

.team-card h4 {
  font-family: var(--title-font);
  font-size: 20px;
  color: var(--title-color);
  margin: 0 0 5px;
}

.team-card span {
  font-size: 13px;
  color: var(--sec-color);
  font-weight: 500;
  text-transform: uppercase;
}

/* CTA / Quote */
.cta-section {
  padding: var(--section-space) 0;
  background: var(--light-color);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-form {
  background: var(--white-color);
  padding: 50px 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.cta-form h3 {
  font-family: var(--title-font);
  font-size: 32px;
  color: var(--title-color);
  margin-bottom: 30px;
}

.cta-form .vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-group { margin-bottom: 20px; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border-color);
  font-family: var(--body-font);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--theme-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cta-info h3 {
  font-family: var(--title-font);
  font-size: 36px;
  color: var(--title-color);
  margin-bottom: 20px;
}

.cta-info p { margin-bottom: 25px; }

.cta-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.cta-contact-item i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: var(--theme-color);
  color: var(--white-color);
  font-size: 18px;
  flex-shrink: 0;
}

/* Blog */
.blog-section { padding: var(--section-space) 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white-color);
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-card .img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .content { padding: 25px; }

.blog-card .meta {
  font-size: 12px;
  color: var(--sec-color);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card h4 {
  font-family: var(--title-font);
  font-size: 18px;
  color: var(--title-color);
  margin: 0 0 12px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  margin: 0;
}

/* Newsletter */
.newsletter-section {
  padding: 80px 0;
  background: var(--title-color);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-family: var(--title-font);
  font-size: 32px;
  color: var(--white-color);
  margin: 0 0 8px;
}

.newsletter-text p {
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex: 1;
  max-width: 500px;
  min-width: 280px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  font-size: 14px;
}

.newsletter-form button {
  padding: 16px 30px;
  background: var(--sec-color);
  border: none;
  color: var(--title-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.newsletter-form button:hover { background: var(--brand-light); color: var(--brand-dark); }

/* Footer */
.footer-layout1 {
  background: var(--dark-color);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget--brand {
  display: flex;
  align-items: flex-start;
}

.footer-brand {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.footer-brand img {
  height: 96px;
  width: auto;
  max-width: min(100%, 280px);
}

.footer-about .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-about .logo img { height: 45px; }

.footer-about .logo span {
  font-family: var(--title-font);
  font-size: 22px;
  color: var(--white-color);
  font-weight: 600;
}

.footer-about p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 26px;
}

.footer-widget h4 {
  color: var(--white-color);
  font-family: var(--title-font);
  font-size: 20px;
  margin-bottom: 25px;
}

.footer-widget ul li { margin-bottom: 10px; }

.footer-widget ul a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.footer-widget ul a:hover { color: var(--sec-color); }

.footer-contact p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-contact p i {
  color: var(--sec-color);
  margin-right: 10px;
  width: 20px;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin: 0;
}

.footer-bottom a { color: var(--sec-color); }

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26,0.98);
  z-index: 9999;
  padding: 80px 30px 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--white-color);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  color: var(--white-color);
  font-size: 28px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1199px) {
  .service-grid,
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .property-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-results .property-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1199px) {
  .header-logo img { height: 60px; max-width: 45vw; }
  .hero-brand-logo { height: 130px; max-width: min(88vw, 560px); }
}

@media (max-width: 991px) {
  .main-menu { display: none; }
  .menu-toggle { display: block; }
  .header-logo img { height: 54px; }
  .about-grid,
  .cta-grid { grid-template-columns: 1fr; }
  .sec-title h2 { font-size: 32px; }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .catalog-filters-sidebar {
    position: static;
  }
  .catalog-filters {
    max-height: none;
    overflow: visible;
  }
  .catalog-advanced-search__row--primary,
  .catalog-advanced-search__row--secondary,
  .catalog-advanced-search__row--more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-advanced-search__field--location {
    grid-column: 1 / -1;
  }
  .catalog-advanced-search__field--submit {
    grid-column: 1 / -1;
  }
  .catalog-advanced-search__submit {
    width: 100%;
  }
  .catalog-results .property-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-results-section-title::before,
  .catalog-results-section-title::after {
    width: min(18%, 80px);
  }
  .catalog-results-section-title::before {
    right: calc(50% + 110px);
  }
  .catalog-results-section-title::after {
    left: calc(50% + 110px);
  }
}

@media (max-width: 767px) {
  :root { --section-space: 80px; }
  .hero-content-wrap { padding: 140px 0 100px; }
  .catalog-hero {
    min-height: 68vh;
    padding: 150px 0 90px;
  }
  .property-grid,
  .property-grid--featured,
  .service-grid,
  .team-grid,
  .blog-grid,
  .counter-grid { grid-template-columns: 1fr; }
  .catalog-results .property-grid--catalog {
    grid-template-columns: 1fr;
  }
  .property-type-tab {
    flex: 0 1 calc(33.333% - 14px);
    min-width: 190px;
    max-width: none;
    min-height: 132px;
    padding: 20px 14px;
    font-size: 14px;
  }

  .property-type-tab i {
    width: 50px;
    height: 50px;
    font-size: 21px;
  }

  .property-type-showcase__media,
  .property-type-showcase__media img {
    min-height: 280px;
  }

  .property-type-showcase__caption-inner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .property-type-showcase__link {
    justify-self: start;
  }
  .explore-business-nav__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .explore-business-btn {
    width: 100%;
    min-width: 0;
  }

  .catalog-filter-row,
  .catalog-filter-checks--grid {
    grid-template-columns: 1fr;
  }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-style1 { border-radius: 20px; }
  .ilerco-steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .ilerco-steps-cta { flex-direction: column; align-items: stretch; }
  .ilerco-steps-cta .vs-btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-widget--brand {
    justify-content: center;
  }
  .footer-brand img {
    height: 80px;
  }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; max-width: 100%; }
  .cta-form { padding: 30px 20px; }
}

/* ===== Nuevos estilos - contenido template nexthm ===== */

.header-call {
  color: var(--white-color);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.header-call:hover { color: var(--sec-color); border-bottom-color: var(--sec-color); }

.d-none { display: none !important; }

@media (min-width: 992px) {
  .d-lg-inline-flex { display: inline-flex !important; }
}

.hero-brand-logo {
  height: 160px;
  width: auto;
  max-width: min(90vw, 640px);
  margin-bottom: 28px;
  object-fit: contain;
  background: transparent;
}

.hero-search-box {
  background: rgba(255,255,255,0.95);
  padding: 30px;
  max-width: 700px;
  margin-top: 30px;
}

.search-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}

.search-tab {
  flex: 1;
  padding: 12px 20px;
  background: var(--light-color);
  border: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  color: var(--body-color);
  transition: all 0.3s ease;
}

.search-tab.active {
  background: var(--theme-color);
  color: var(--white-color);
}

.hero-search-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 15px;
  align-items: end;
}

.search-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--title-color);
  margin-bottom: 8px;
}

.search-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  font-family: var(--body-font);
  font-size: 14px;
  background: var(--white-color);
  appearance: auto;
}

.search-btn { white-space: nowrap; padding: 16px 30px !important; }

/* 3 imágenes about */
.img-box3 { position: relative; min-height: 450px; }

.img-box3 .img-1 img { width: 75%; margin-left: auto; }

.img-box3 .img-2 { width: 50%; bottom: 80px; }

.img-box3 .img-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
}

.img-box3 .img-3 img { border-radius: 8px; border: 5px solid var(--white-color); }

/* Counters inline con iconos */
.counter-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border-color);
}

.counter-item-icon { text-align: center; }

.counter-item-icon .c-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  background: var(--light-color);
  border-radius: 50%;
  margin: 0 auto 15px;
  font-size: 24px;
  color: var(--theme-color);
}

.counter-item-icon h3 {
  font-family: var(--title-font);
  font-size: 36px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 5px;
}

.counter-item-icon p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--body-color);
  margin: 0;
}

/* Explorar propiedades por tipo */
.accommodation-section {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, var(--light-color) 0%, #fff 100%);
}

.property-type-explorer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.property-type-tabs {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.property-type-tabs__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 8px 0 0;
}

.property-type-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 0 1 calc(25% - 15px);
  min-width: 220px;
  max-width: 260px;
  min-height: 148px;
  padding: 24px 18px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--white-color);
  color: var(--title-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.property-type-tab span {
  display: block;
  width: 100%;
}

.property-type-tab i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 179, 0, 0.16);
  color: var(--theme-color);
  font-size: 24px;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.property-type-tab:hover,
.property-type-tab:focus-visible {
  border-color: var(--title-color);
  background: var(--title-color);
  color: var(--white-color);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26, 26, 26, 0.2);
}

.property-type-tab:hover i,
.property-type-tab:focus-visible i {
  background: rgba(255, 179, 0, 0.22);
  color: var(--sec-color);
  transform: scale(1.06);
}

.property-type-showcase {
  display: block;
  text-decoration: none;
  color: inherit;
}

.property-type-showcase__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  min-height: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.property-type-showcase__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.08) 0%, rgba(13, 13, 13, 0.72) 68%, rgba(13, 13, 13, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.property-type-showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.45s ease, transform 0.7s ease;
}

.property-type-showcase:hover .property-type-showcase__media img {
  transform: scale(1.04);
}

.property-type-showcase__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.property-type-showcase__caption-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px 24px;
  padding: 32px 36px;
  border-top: 3px solid var(--sec-color);
}

.property-type-showcase__tag {
  display: block;
  grid-column: 1 / -1;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: var(--sec-color);
}

.property-type-showcase__title {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--white-color);
  text-transform: capitalize;
}

.property-type-showcase__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--sec-color);
  color: var(--title-color);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-type-showcase__link i {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.property-type-showcase:hover .property-type-showcase__link {
  box-shadow: 0 8px 20px rgba(255, 179, 0, 0.35);
}

.property-type-showcase:hover .property-type-showcase__link i {
  transform: translateX(4px);
}

/* View Property */
.view-property {
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--theme-color);
  border-bottom: 2px solid var(--theme-color);
  padding-bottom: 3px;
}

.view-property:hover { color: var(--sec-color); border-color: var(--sec-color); }

/* Testimonial layout con imágenes laterales */
.testimonial-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.testimonial-layout .testimonial-slider { max-width: 100%; }

.testimonial-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.testimonial-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.testimonial-images img.active {
  opacity: 1;
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Team carousel */
.team-carousel-wrap {
  position: relative;
  padding: 0 50px;
}

.team-carousel {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}

.team-carousel::-webkit-scrollbar { display: none; }

.team-carousel .team-card {
  flex: 0 0 calc(25% - 19px);
  min-width: 220px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--theme-color);
  border: none;
  color: var(--white-color);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.carousel-btn:hover { background: var(--sec-color); color: var(--title-color); }

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* Blog date badge */
.blog-card .img-wrap { position: relative; }

.blog-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--sec-color);
  color: var(--title-color);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
}

.blog-card .meta span + span::before {
  content: '•';
  margin: 0 8px;
}

/* Footer template */
.footer-top-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-top-info p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin: 0;
}

.footer-top-info i { color: var(--sec-color); margin-right: 10px; }

.footer-top-info__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-top-info__contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-top-info__contact a:hover {
  color: var(--sec-color);
}

.footer-top-info__divider {
  color: rgba(255, 255, 255, 0.35);
}

.footer-post {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.footer-post img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer-post h5 {
  color: var(--white-color);
  font-size: 14px;
  margin: 0 0 4px;
  line-height: 1.3;
}

.footer-post span {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

.footer-form input {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white-color);
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-form input::placeholder { color: rgba(255,255,255,0.4); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.payment-cards {
  display: flex;
  gap: 15px;
  font-size: 28px;
  color: rgba(255,255,255,0.5);
}

.text-center { text-align: center; }

@media (max-width: 1199px) {
  .counter-inline { grid-template-columns: repeat(2, 1fr); }
  .team-carousel .team-card { flex: 0 0 calc(33.33% - 17px); }
  .property-type-tabs {
    max-width: 900px;
  }
  .property-type-showcase__media,
  .property-type-showcase__media img {
    min-height: 320px;
  }
}

@media (max-width: 991px) {
  .hero-search-form { grid-template-columns: 1fr; }
  .testimonial-layout { grid-template-columns: 1fr; }
  .testimonial-images { order: -1; }
  .property-type-tabs {
    max-width: 720px;
  }
  .property-type-tab {
    flex: 0 1 calc(50% - 10px);
    min-width: 160px;
    min-height: 124px;
  }
}

@media (max-width: 767px) {
  .counter-inline { grid-template-columns: 1fr; }
  .team-carousel .team-card { flex: 0 0 80%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .img-box3 { min-height: 300px; }
  .header-logo img { height: 48px; max-width: 75vw; }
  .hero-brand-logo { height: 100px; max-width: 90vw; }
  .preloader-logo { height: 72px; }
  .catalog-hero {
    min-height: 58vh;
    padding: 130px 0 72px;
  }
  .catalog-advanced-search {
    padding: 18px 16px 16px;
  }
  .catalog-advanced-search__row--primary,
  .catalog-advanced-search__row--secondary,
  .catalog-advanced-search__row--more {
    grid-template-columns: 1fr;
  }
  .catalog-results .property-grid--catalog {
    grid-template-columns: 1fr;
  }
  .catalog-results-section-title::before,
  .catalog-results-section-title::after {
    display: none;
  }
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover {
  color: #fff;
  background: #1ebe57;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

@media (max-width: 767px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}

/* Detalle de propiedad */
body.page-property-detail {
  background: #f4f3ef;
}

.property-detail-page {
  padding: 120px 0 80px;
}

.property-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: rgba(26, 26, 26, 0.75);
}

.property-detail-breadcrumb a {
  color: var(--brand-dark);
}

.property-detail-breadcrumb a:hover {
  color: var(--brand-primary);
}

.property-detail-breadcrumb span:last-child {
  color: var(--sec-color);
  font-weight: 600;
}

.property-detail-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--white-color);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.property-detail-empty h1 {
  font-family: var(--title-font);
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.property-detail {
  background: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.property-detail__gallery {
  background: #eceae4;
}

.property-detail__main-image {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.property-detail__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail__badge {
  position: absolute;
  top: 18px;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--white-color);
  z-index: 2;
}

.property-detail__badge--featured {
  left: 18px;
  background: var(--brand-primary);
}

.property-detail__badge--business {
  right: 18px;
  background: rgba(42, 42, 42, 0.88);
}

.property-detail__thumbs {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  overflow-x: auto;
}

.property-detail__thumb {
  flex: 0 0 92px;
  height: 68px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: transparent;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.property-detail__thumb.active,
.property-detail__thumb:hover {
  opacity: 1;
  border-color: var(--brand-primary);
}

.property-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 32px;
  padding: 32px;
}

.property-detail__type {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 179, 0, 0.14);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.property-detail__title {
  font-family: var(--title-font);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--brand-dark);
  margin: 14px 0 10px;
}

.property-detail__location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  color: rgba(26, 26, 26, 0.78);
  font-size: 15px;
}

.property-detail__location i {
  color: var(--brand-primary);
  margin-top: 3px;
}

.property-detail__price {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 18px;
}

.property-detail__quick-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 16px 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark);
}

.property-detail__quick-specs i {
  color: var(--brand-primary);
  margin-right: 6px;
}

.property-detail__section h2 {
  font-family: var(--title-font);
  font-size: 24px;
  color: var(--brand-dark);
  margin: 0 0 14px;
}

.property-detail__description {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(26, 26, 26, 0.88);
}

.property-detail__empty {
  margin: 0;
  color: rgba(26, 26, 26, 0.7);
}

.property-detail__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-detail__feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f4f3ef;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
}

.property-detail__feature i {
  color: var(--brand-primary);
}

.property-detail__extras {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.property-detail__extra-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.08);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
}

.property-detail__extra-link:hover {
  background: rgba(255, 179, 0, 0.18);
  color: var(--brand-dark);
}

.property-detail__sidebar {
  align-self: start;
  position: sticky;
  top: 100px;
}

.property-detail__card {
  padding: 24px;
  border-radius: 12px;
  background: #f8f7f3;
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.property-detail__card h3 {
  margin: 0 0 16px;
  font-family: var(--title-font);
  font-size: 22px;
  color: var(--brand-dark);
}

.property-detail__specs {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.property-detail__spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.12);
  font-size: 14px;
}

.property-detail__spec-label {
  color: rgba(26, 26, 26, 0.72);
}

.property-detail__spec-value {
  color: var(--brand-dark);
  text-align: right;
}

.property-detail__published {
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(26, 26, 26, 0.7);
}

.property-detail__published i {
  margin-right: 6px;
  color: var(--brand-primary);
}

.property-detail__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.property-detail__cta--whatsapp {
  background: #25d366;
  color: var(--white-color);
}

.property-detail__cta--whatsapp:hover {
  background: #1ebe57;
  color: var(--white-color);
}

.property-detail__cta--contact {
  background: var(--brand-dark);
  color: var(--white-color);
}

.property-detail__cta--contact:hover {
  background: #0D0D0D;
  color: var(--white-color);
}

.property-detail__back {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
}

.property-detail__back:hover {
  color: var(--brand-dark);
}

.property-detail__qr {
  margin: 20px 0;
  padding: 18px;
  border-radius: 12px;
  background: var(--white-color);
  border: 1px solid rgba(26, 26, 26, 0.1);
  text-align: center;
}

.property-detail__qr h4 {
  margin: 0 0 6px;
  font-family: var(--title-font);
  font-size: 18px;
  color: var(--brand-dark);
}

.property-detail__qr-text {
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(26, 26, 26, 0.72);
}

.property-detail__qr-image {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.property-detail__qr-link {
  display: block;
  font-size: 12px;
  color: var(--brand-primary);
  word-break: break-all;
  margin-bottom: 10px;
}

.property-detail__qr-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
}

.property-detail__qr-download:hover {
  color: var(--brand-primary);
}

@media (max-width: 991px) {
  .property-detail__layout {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .property-detail__sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .property-detail-page {
    padding: 108px 0 60px;
  }

  .property-detail__main-image {
    aspect-ratio: 4 / 3;
  }

  .property-detail__layout {
    padding: 20px 16px;
  }
}

/* Blog - tarjetas y páginas */
.blog-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-loading,
.blog-empty,
.blog-article-empty {
  text-align: center;
  padding: 48px 20px;
  color: rgba(26, 26, 26, 0.72);
}

.blog-section--page {
  padding-top: 40px;
}

.catalog-hero--blog .catalog-hero__content h1 {
  color: #fff;
}

.blog-article-page {
  padding: 120px 0 80px;
}

.blog-article-detail__hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.blog-article-detail__content {
  max-width: 820px;
  margin: 28px auto 0;
}

.blog-article-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 13px;
  color: rgba(26, 26, 26, 0.72);
  margin-bottom: 14px;
}

.blog-article-detail__meta i {
  color: var(--brand-primary);
  margin-right: 6px;
}

.blog-article-detail__content h1 {
  font-family: var(--title-font);
  color: var(--brand-dark);
  margin: 0 0 16px;
}

.blog-article-detail__excerpt {
  font-size: 18px;
  color: rgba(26, 26, 26, 0.78);
  margin-bottom: 24px;
}

.blog-article-detail__body {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(26, 26, 26, 0.9);
  margin-bottom: 32px;
}

.blog-article-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
