/* ════════════════════════════════════════════════════════════

   2. GLASSMORPHISM NAV — light (fondo de página claro)

   ════════════════════════════════════════════════════════════ */

/* Barra superior de contacto */

.mh-top-header.mh-top-header--default {
  background: rgba(18, 18, 18, 0.94) !important;

  backdrop-filter: blur(20px) !important;

  -webkit-backdrop-filter: blur(20px) !important;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Nav principal — glass blanco */

nav.navbar.navbar-inverse {
  background: rgba(255, 255, 255, 0.88) !important;

  backdrop-filter: blur(20px) !important;

  -webkit-backdrop-filter: blur(20px) !important;

  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08) !important;

  border: none !important;

  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;

  position: sticky !important;

  top: 0 !important;

  z-index: 1000 !important;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease !important;
}

nav.navbar.navbar-inverse.nav-scrolled {
  background: rgba(255, 255, 255, 0.97) !important;

  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Links de nav — texto oscuro sobre fondo blanco glass */

nav.navbar.navbar-inverse .navbar-nav > li > a {
  color: var(--text-primary) !important;

  font-size: 0.875rem !important;

  font-weight: 500 !important;

  letter-spacing: 0.02em !important;

  padding: 22px 16px !important;

  border-bottom: 2px solid transparent !important;

  transition:
    color 0.15s ease,
    border-color 0.15s ease !important;

  background: transparent !important;
}

nav.navbar.navbar-inverse .navbar-nav > li > a:hover,
nav.navbar.navbar-inverse .navbar-nav > li.active > a {
  color: var(--navy-deep, #000000) !important;

  background: transparent !important;

  border-bottom-color: var(--navy-deep, #000000) !important;
}

/* Neutralizar current-menu-item hardcodeado en el <li> de Inicio —
   solo .active (controlado por $seccion en PHP) marca la página actual */
nav.navbar.navbar-inverse .navbar-nav > li.current-menu-item:not(.active) > a,
nav.navbar.navbar-inverse .navbar-nav > li.current_page_item:not(.active) > a {
  color: var(--text-primary) !important;
  border-bottom-color: transparent !important;
}

/* Logo — sin inversión de color (fondo claro) */

.logo_link img,
.nav_logo img {
  filter: none !important;

  height: 48px !important;

  width: auto !important;

  max-width: 150px !important;

  object-fit: contain !important;

  transition: opacity 0.2s ease !important;
}

.logo_link:hover img {
  opacity: 0.8 !important;
}

/* Dropdown de nav */

nav.navbar.navbar-inverse .dropdown-menu {
  background: rgba(255, 255, 255, 0.97) !important;

  backdrop-filter: blur(20px) !important;

  border: 1px solid rgba(0, 0, 0, 0.08) !important;

  border-radius: 12px !important;

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;

  padding: 8px 0 !important;

  margin-top: 4px !important;
}

nav.navbar.navbar-inverse .dropdown-menu > li > a {
  color: var(--text-primary) !important;

  font-size: 0.875rem !important;

  padding: 10px 20px !important;

  transition:
    background 0.15s ease,
    color 0.15s ease !important;
}

nav.navbar.navbar-inverse .dropdown-menu > li > a:hover {
  background: rgba(0, 0, 0, 0.04) !important;

  color: var(--color-primary) !important;
}

/* ══ DESPLEGABLE SERVICIOS ══════════════════════════════════ */

/* Caret — transición compartida desktop + mobile */
nav.navbar.navbar-inverse .nav-servicios > a .fa-chevron-down {
  font-size: 0.62em;
  margin-left: 6px;
  opacity: 0.5;
  transition:
    transform 0.22s ease,
    opacity 0.2s;
  vertical-align: middle;
  display: inline-block;
}

/* Íconos dentro de los ítems del dropdown */
nav.navbar.navbar-inverse .dropdown-menu > li > a .fa {
  width: 16px;
  margin-right: 9px;
  opacity: 0.5;
  font-size: 0.85em;
}

/* Divisor */
nav.navbar.navbar-inverse .dropdown-menu > li.divider {
  margin: 4px 0;
  background-color: rgba(0, 0, 0, 0.07) !important;
  height: 1px;
}

/* ── Desktop: mostrar al hover / focus-within (sin JS) ── */
@media (min-width: 768px) {
  nav.navbar.navbar-inverse .nav-servicios {
    position: relative;
  }

  /* El .dropdown-menu de Bootstrap tiene display:none por defecto */
  nav.navbar.navbar-inverse .nav-servicios:hover > .dropdown-menu,
  nav.navbar.navbar-inverse .nav-servicios:focus-within > .dropdown-menu {
    display: block !important;
  }

  /* Rotar caret al hacer hover */
  nav.navbar.navbar-inverse .nav-servicios:hover > a .fa-chevron-down,
  nav.navbar.navbar-inverse .nav-servicios:focus-within > a .fa-chevron-down {
    transform: rotate(180deg);
    opacity: 0.75;
  }
}

/* ── Mobile: integrado en #nav_mobile ── */
@media (max-width: 767px) {
  /* El trigger hereda el estilo de los demás <li> del nav mobile,
       pero necesitamos flex para alinear texto y caret */
  #nav_mobile .nav-servicios > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    /* padding lo hereda del bloque #nav_mobile ul li a */
    cursor: pointer !important;
    user-select: none !important;
  }

  /* Sub-menú: inline, oculto por defecto */
  #nav_mobile .nav-servicios > .dropdown-menu {
    display: none !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.025) !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    margin: 0 !important;
    padding: 4px 0 !important;
  }

  /* Visible al abrir */
  #nav_mobile .nav-servicios.submenu-open > .dropdown-menu {
    display: block !important;
  }

  /* Ítems del sub-menú: indentados, tipografía secundaria */
  #nav_mobile .nav-servicios .dropdown-menu > li > a {
    padding: 12px 24px 12px 40px !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    color: var(--text-secondary, #555) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  #nav_mobile .nav-servicios .dropdown-menu > li > a:active,
  #nav_mobile .nav-servicios .dropdown-menu > li > a:focus {
    color: var(--color-primary) !important;
    background: rgba(0, 0, 0, 0.04) !important;
  }

  /* Ocultar divisor en mobile */
  #nav_mobile .nav-servicios .dropdown-menu > li.divider {
    display: none !important;
  }

  /* Caret girado cuando el submenu está abierto */
  #nav_mobile .nav-servicios.submenu-open > a .fa-chevron-down {
    transform: rotate(180deg) !important;
    opacity: 0.75 !important;
  }
}

/* Mobile toggle */

nav.navbar.navbar-inverse .navbar-toggle {
  border-color: rgba(0, 0, 0, 0.15) !important;
}

nav.navbar.navbar-inverse .icon-bar {
  background-color: var(--text-primary) !important;
}

/* Mobile menu desplegado */

@media (max-width: 767px) {
  nav.navbar.navbar-inverse .navbar-collapse {
    background: rgba(255, 255, 255, 0.97) !important;

    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  }

  nav.navbar.navbar-inverse .navbar-nav > li > a {
    padding: 14px 20px !important;

    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  }
}

/* ════════════════════════════════════════════════════════════

   9. SECCIÓN VALOR — "Por qué elegirnos" (Home)

   ════════════════════════════════════════════════════════════ */

.bento-values-section {
  background: var(--bg-base);

  padding: 80px 24px 72px;
}

.bento-values-header {
  text-align: center;

  max-width: 640px;

  margin: 0 auto 56px;
}

.bento-values-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 12px !important;
  line-height: 1.1 !important;
}

.bento-values-header p {
  color: var(--text-muted) !important;

  font-size: 1.0625rem !important;

  line-height: 1.6 !important;
}

.bento-values-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  max-width: 1400px;

  margin: 0 auto;
}

.bento-value-card {
  background: var(--bg-surface);

  border-radius: 24px;

  padding: 40px 32px 36px;

  border: 1px solid var(--border-light);

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);

  position: relative;

  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.bento-value-card::after {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 3px;

  background: var(--color-primary);

  transform: scaleX(0);

  transform-origin: left;

  transition: transform 0.3s ease;
}

.bento-value-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

.bento-value-card:hover::after {
  transform: scaleX(1);
}

.bento-value-icon {
  width: 52px;

  height: 52px;

  border-radius: 14px;

  background: var(--bg-muted);

  border: 1px solid var(--border-light);

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 24px;
}

.bento-value-icon .fa {
  color: var(--color-primary) !important;

  font-size: 20px !important;
}

.bento-value-tag {
  display: block;

  font-size: 14px !important;

  font-weight: 700 !important;

  letter-spacing: 0.1em !important;

  text-transform: uppercase !important;

  color: var(--color-primary) !important;

  margin-bottom: 10px !important;

  line-height: 1 !important;
}

.bento-value-card h3 {
  font-size: 1.25rem !important;

  font-weight: 800 !important;

  color: var(--text-primary) !important;

  letter-spacing: -0.03em !important;

  margin-bottom: 14px !important;

  line-height: 1.2 !important;
}

.bento-value-card p {
  color: var(--text-secondary) !important;

  font-size: 0.9375rem !important;

  line-height: 1.7 !important;

  margin: 0 !important;
}

@media (max-width: 900px) {
  .bento-values-grid {
    grid-template-columns: 1fr;
  }

  .bento-values-section {
    padding: 56px 20px;
  }
}

/* ════════════════════════════════════════════════════════════
   10. BENEFICIOS + CTA — Página Vender
   ════════════════════════════════════════════════════════════ */

.vender-content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.vender-intro {
  max-width: 740px;
  margin-bottom: 48px;
}

.vender-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 18px !important;
  line-height: 1.15 !important;
}

.vender-intro > p {
  font-size: 1rem !important;
  line-height: 1.75 !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
}

.vender-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.vender-benefit-card {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.vender-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.vender-benefit-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.vender-benefit-icon .fa {
  color: var(--color-primary) !important;
  font-size: 18px !important;
}

.vender-benefit-card h3 {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
}

.vender-benefit-card p {
  font-size: 0.875rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.vender-cta-block {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary, #5a0000) 100%
  );
  border-radius: 24px;
  padding: 48px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.vender-cta-block p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.0625rem !important;
  line-height: 1.65 !important;
  max-width: 580px;
  margin: 0 !important;
}

.vender-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff !important;
  color: var(--color-primary) !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  padding: 16px 32px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  white-space: nowrap;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.vender-cta-btn .fa {
  color: var(--color-primary) !important;
  font-size: 14px !important;
}

.vender-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  color: var(--color-primary) !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .vender-benefits-grid {
    grid-template-columns: 1fr;
  }
  .vender-cta-block {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
  .vender-content-section {
    padding: 48px 20px;
  }
}

/* ════════════════════════════════════════════════════════════
   11. SELECTOR DE NECESIDAD — Formularios
   ════════════════════════════════════════════════════════════ */

.necesidad-field-wrapper {
  margin-bottom: 20px;
}

.necesidad-field-wrapper label.wpforms-field-label {
  display: block;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  margin-bottom: 6px;
}

.necesidad-field-wrapper select {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.necesidad-field-wrapper select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.12);
}

/* ════════════════════════════════════════════════════════════
   REDISEÑO RADICAL — Sobreescritura total del tema base
   ════════════════════════════════════════════════════════════ */

/* ── 1. ESPACIO Y RESPIRACIÓN ── */

html,
body {
  background-color: #f5f3f5 !important;
  color: #1a1a1a !important;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif !important;
}

section,
.section,
[class*="section"],
.wpb_row,
.vc_row {
  /* padding-top: 80px !important; */
  /* padding-bottom: 80px !important; */
}

/* Excepciones — elementos que no deben heredar el padding de sección */
nav.navbar.navbar-inverse,
.mh-top-header,
.mh-top-header--default,
.mh-footer-top,
footer,
.bento-hero-section,
.bento-hero,
.bento-cell--headline,
.bento-cell--property,
.carousel-inner,
.item,
.mh-top-title {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Bento values y vender mantienen su propio padding */
.bento-values-section {
  padding: 80px 24px !important;
}
.vender-content-section {
  padding: 64px 24px !important;
}

/* Contenedor más estrecho */
.container {
  max-width: 1100px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── 2. TIPOGRAFÍA DE IMPACTO ── */

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  color: #0a0a0a !important;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
  color: #0a0a0a !important;
}

/* Normaliza base rem: Bootstrap 3 fija html a 10px, esto lo corrige */
html {
  font-size: 16px !important;
}

body {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

p {
  font-size: 18px !important;
  line-height: 1.6 !important;
  /*color: #444 !important; */
}

h3 {
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

li,
summary {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

/* a: 18px en contenido; selectores de nav más específicos lo sobrescriben */
a:not(nav a):not(.rk-btn):not(.rk-btn-premium):not([class*="btn"]):not(.whatsappme a):not(.rk-home a):not(.rk-footer a):not(.rk-page a) {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

strong,
b {
  font-size: inherit !important;
}

small {
  font-size: 14px !important; /* 14px — suelo de legibilidad senior */
  line-height: 1.6 !important;
}

/* Excluir plugin WhatsApp de la escala tipográfica */
.whatsappme *,
#whatsappme * {
  font-size: inherit !important;
}

/* Elementos donde max-width: 65ch rompe el layout */
.property-card p,
.bento-value-card p,
.vender-benefit-card p,
.bento-prop-info p,
.bento-prop-location,
.card-meta,
nav p,
footer p,
.mh-top-header p,
.card-footer p {
  max-width: none !important;
}

/* ── 3. TARJETAS DE INMUEBLE — eliminar ruido visual ── */

.property-card,
.inmueble-card {
  border: none !important;
  box-shadow: none !important;
  background: #fff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}

.property-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1) !important;
}

/* Las fotos de tarjeta ocupan todo el ancho */
.property-card .card-carousel {
  height: 220px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

/* Precio grande y prominente */
.property-card .card-price {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  letter-spacing: -0.03em !important;
}

/* Título de tarjeta sin peso innecesario */
.property-card .card-title {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  line-height: 1.4 !important;
}

.property-card .card-title a {
  color: #1a1a1a !important;
  text-decoration: none !important;
}

.property-card .card-title a:hover {
  color: var(--color-primary) !important;
}

.property-card .card-location {
  font-size: 14px !important;
  color: #888 !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.property-card .card-content {
  padding: 16px 20px 20px !important;
  gap: 8px !important;
}

.property-card .card-footer {
  padding-top: 12px !important;
  border-top: 1px solid #f0f0f0 !important;
  margin-top: auto !important;
}

.property-card .feature {
  font-size: 14px !important;
  color: #666 !important;
}

/* ── 4. GRID DE INMUEBLES — más aire entre tarjetas ── */

.bento-cards-grid,
[class*="listado"] .properties-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 32px !important;
  padding: 0 !important;
}

/* ── 5. HERO — pantalla completa con overlay ── */

.bento-hero-section {
  min-height: 90vh !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}

.bento-hero {
  min-height: 90vh !important;
  padding: 40px 24px !important;
  align-items: stretch !important;
}

.bento-cell--headline {
  min-height: 520px !important;
}

/* Overlay en celdas de propiedad del hero */
.bento-prop-overlay,
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.1) 100%
  ) !important;
}

/* Overlay en la celda headline */
.bento-cell--headline::before {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    rgba(26, 26, 26, 0.75) 60%
  ) !important;
  opacity: 1 !important;
}

/* ── 6. BUSCADOR — integrado y limpio ── */

#bloque_buscador,
.buscador-wrapper {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12) !important;
  border: none !important;
}

#bloque_buscador select,
#bloque_buscador input[type="text"],
#bloque_buscador input[type="number"],
#bloque_buscador input[type="tel"] {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  background: #fff !important;
  color: #1a1a1a !important;
  box-shadow: none !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

#bloque_buscador select:focus,
#bloque_buscador input:focus {
  border-color: var(--color-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1) !important;
}

#btn-buscar,
#bloque_buscador input[type="submit"],
#bloque_buscador button[type="submit"],
#bloque_buscador .btn-buscar {
  background: var(--ds-primary) !important;
  color: #fff !important;
  border: none !important;
  /* border-radius: 8px !important; */
  padding: 14px 32px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  letter-spacing: 0.01em !important;
  transition: opacity 0.2s ease !important;
  box-shadow: none !important;
}

#btn-buscar:hover,
#bloque_buscador input[type="submit"]:hover,
#bloque_buscador button[type="submit"]:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
}

/* Labels del buscador — legibles sobre fondo blanco */
#bloque_buscador label,
#bloque_buscador .label {
  color: #1a1a1a !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
}

/* ── 7. BOTONES GENERALES ── */

.btn,
button[type="submit"],
.wpforms-submit,
input[type="submit"] {
  /* border-radius: 8px !important; */
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease !important;
  box-shadow: none !important;
}

.btn:hover,
button[type="submit"]:hover,
.wpforms-submit:hover {
  transform: translateY(-2px) !important;
  opacity: 0.9 !important;
  box-shadow: none !important;
}

/* ── 8. ELIMINAR ORNAMENTOS DEL TEMA BASE ── */

hr,
.divider,
[class*="divider"],
.separator,
.vc_separator {
  display: none !important;
}

.bg-grey,
.bg-gray,
.section-grey,
.section-gray,
[class*="bg-light"],
.vc_custom_bg {
  background: transparent !important;
}

/* Quitar pseudo-elementos decorativos del tema */
.mh-heading--bottom-separator::after,
.mh-heading::after {
  display: none !important;
}

/* Quitar sombras heredadas de wrappers del tema */
.wpb_wrapper,
.vc_column-inner,
.wpb_column {
  box-shadow: none !important;
}

/* Quitar background gris de bloques internos del tema */
.vc_row-has-fill {
  background: #f5f3f5 !important;
}

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
  .container {
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 768px) {
  section,
  .section,
  [class*="section"],
  .wpb_row,
  .vc_row {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
  }
  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }

  .bento-hero-section,
  .bento-hero {
    min-height: auto !important;
  }

  .bento-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  p {
    max-width: none !important;
  }
}

/* ─── HERO: texto blanco sobre fondo oscuro ─── */
.bento-cell--headline *,
.bento-cell--headline .bento-headline__title,
.bento-cell--headline .bento-headline__subtitle,
.bento-cell--headline .bento-headline__tag {
  color: #ffffff !important;
}
.bento-cell--headline .bento-headline__tag {
  color: rgba(255, 255, 255, 0.75) !important;
}
/* Aplicar color blanco solo al botón CTA */
.bento-cell--headline .bento-headline__cta {
  color: #333 !important;
  display: inline-block; /* Crucial para que el margen funcione correctamente */
  margin-bottom: 20px; /* Ajusta los píxeles según necesites */
}

/* Opcional: Si quieres que la flecha también sea blanca */
.bento-cell--headline .bento-headline__cta i {
  color: #333 !important;
}

/* ════════════════════════════════════════════════════════════
   PASO 1 — CORRECCIONES GLOBALES
   ════════════════════════════════════════════════════════════ */

/* ── 1A. OVERFLOW-X — elimina el scroll horizontal fantasma ──
   style.css solo cubría <body>; el desborde ocurre a nivel <html>  */
html {
  overflow-x: hidden;
}
body {
  overflow-x: hidden !important;
}

/* ── 1B. OCULTAR .mh-top-title — banner azul heredado del tema ── */
.mh-top-title,
section.mh-top-title {
  display: none !important;
}

/* Excepción: gestionamos-su-inmueble usa .mh-top-title como wrapper del hero propio */
section.mh-top-title.gestionamos-hero {
  display: block !important;
}

/* ── 1C. FOOTER — contención de ancho y eliminación de margen negativo ──
   custom.css:1541 aplica margin-top: -150px a .div_logo_pie_gINMO en desktop;
   ese valor negativo sin compensar es la causa del desplazamiento lateral.     */
footer.mh-footer-top,
.mh-footer-top {
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mh-footer__inner {
  width: 100% !important;
  box-sizing: border-box !important;
}

.mh-footer__inner > .mh-layout {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 48px 40px 32px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Logo iAgestion: elimina el margen negativo y lo coloca como bloque normal */
.div_logo_pie_gINMO {
  width: 100% !important;
  box-sizing: border-box !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  margin-top: 24px !important; /* reemplaza el -150px de custom.css */
  margin-bottom: 16px !important;
  text-align: center !important;
}

/* ── 1D. SISTEMA DE BOTONES PREMIUM ──
   Dos variantes: sólido (primario) y outline (secundario).
   Los formularios .iag-* no se tocan; sus botones no usan estas clases. */

/* Botón primario — sólido */
.btn-primary,
a.btn-primary,
button.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  border: 2px solid var(--color-primary) !important;
  border-radius: 10px !important;
  padding: 13px 28px !important;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14) !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  opacity: 0.87 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22) !important;
  text-decoration: none !important;
}

.btn-primary:active,
a.btn-primary:active {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* Botón secundario — outline */
.btn-outline-primary,
a.btn-outline-primary,
button.btn-outline-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: transparent !important;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  border-radius: 10px !important;
  padding: 13px 28px !important;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease !important;
  white-space: nowrap !important;
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover,
button.btn-outline-primary:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}

/* Ajuste de radio en botones específicos para coherencia visual */
#btn-buscar,
#bloque_buscador input[type="submit"],
#bloque_buscador button[type="submit"],
.vender-cta-btn,
.bento-headline__cta {
  border-radius: 0px !important;
}

/* Mobile — botones a ancho completo en contextos de formulario y CTA */
@media (max-width: 600px) {
  .btn-primary,
  .btn-outline-primary,
  #btn-buscar,
  #bloque_buscador input[type="submit"],
  #bloque_buscador button[type="submit"] {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Footer layout en móvil */
  .mh-footer__inner > .mh-layout {
    padding: 32px 20px 24px !important;
  }
}

/* ════════════════════════════════════════════════════════════
   PASO 1 — MOBILE HEADER: Logo IZQ · Burger DER
   ════════════════════════════════════════════════════════════ */

/* Solo aplica en el breakpoint mobile de Bootstrap (< 768px) */
@media (max-width: 767px) {
  /* Resetear el centrado heredado de custom.css */
  .navbar-header {
    margin-top: 0 !important;
    text-align: left !important;
    padding: 0 !important;
  }

  /* Flex container sobre .nav_logo para controlar el orden visual */
  .nav_logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
  }

  /* Logo → izquierda (order: 1) */
  .nav_logo > .logo_link,
  .nav_logo .logo_link {
    order: 1 !important;
    flex-shrink: 0 !important;
  }

  .nav_logo .logo_link img {
    height: 40px !important;
    width: auto !important;
    filter: none !important; /* logo en color sobre fondo blanco */
    display: block !important;
  }

  /* Div que contiene el burger → derecha (order: 2) */
  .nav_logo > .navbar_mobile_video_top,
  .nav_logo .navbar_mobile_video_top {
    order: 2 !important;
    flex-shrink: 0 !important;
  }

  /* Burger icon — tamaño y color apropiados */
  .mobile_toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    cursor: pointer !important;
    color: var(--text-primary) !important;
  }

  .mobile_toggle .fa {
    font-size: 22px !important;
    color: var(--text-primary) !important;
  }

  /* #nav_mobile — estilos legacy eliminados: el overlay está gestionado
       íntegramente por premium.css (.rk-nav__menu / .menu-abierto) */
}

/* ════════════════════════════════════════════════════════════
   PASO 1 — FADE-IN DE PÁGINA (0.5s, sin dependencias JS)
   ════════════════════════════════════════════════════════════ */

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: pageIn 0.5s ease both;
}

/* Evitar que la animación afecte al sticky nav */
nav.navbar.navbar-inverse {
  animation: none !important;
}

/* Fix index.php — reseñas Google: margin vertical + desplazamiento lateral */
.another.row.centered-child {
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Contención de secciones en index.php para evitar desborde horizontal */
.bento-hero-section,
.bento-values-section,
.section-destacados {
  max-width: 100%;
  overflow-x: hidden;
}

/* ════════════════════════════════════════════════════════════
   PASO 4 — SEARCH-FORM-TOP.PHP: Hero buscador con degradado
   ════════════════════════════════════════════════════════════ */

/* ── 4A. HERO CONTENEDOR ── */

.buscador-page-hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #196bd8 100%);
  overflow: visible;
  padding: 0 0 56px;
}

/* Overlay: desactivado (era para la foto de fondo) */
.buscador-page-hero__overlay {
  display: none !important;
}

.buscador-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 4B. TITULAR ── */

.buscador-page-hero__headline {
  text-align: center;
  padding: 72px 0 44px;
}

.buscador-page-hero__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(25, 107, 216, 0.8);
  margin-bottom: 16px;
}

.buscador-page-hero__headline h1 {
  font-size: clamp(1.75rem, 3.5vw, 3rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.035em !important;
  line-height: 1.1 !important;
  margin-bottom: 14px !important;
  text-shadow: none !important;
}

.buscador-page-hero__headline p {
  font-size: 1rem !important;
  color: rgba(0, 0, 0, 0.55) !important;
  line-height: 1.6 !important;
  text-align: center !important;
  max-width: 520px !important;
  margin: 0 auto !important;
}

/* Margen entre el formulario buscador y el listado de resultados */
#listado-wrapper {
  margin-top: 36px !important;
}

/* ── 4C. BUSCADOR SOBRE EL HERO — estilo glass card ── */

/* Override del #buscador-wrapper heredado de buscador-listado.css */
.buscador-page-hero #buscador-wrapper {
  /* max-width: 1100px !important; */
  margin: 0 auto !important;
}

/* Override de #bloque_buscador — glass card con sombra profunda */
.buscador-page-hero #bloque_buscador {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-radius: 0px !important;
  padding: 36px 36px 32px !important;
  border: 0px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.22),
    0 32px 72px rgba(0, 0, 0, 0.18) !important;
}

/* Título interno del buscador — legible sobre fondo blanco */
.buscador-page-hero .buscador-titulo {
  color: var(--text-primary) !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 24px !important;
}

/* Inputs y selects del buscador en contexto dark hero */
.buscador-page-hero #bloque_buscador select,
.buscador-page-hero #bloque_buscador input[type="text"],
.buscador-page-hero #bloque_buscador input[type="number"] {
  border-color: rgba(0, 0, 0, 0.12) !important;
  background: #fafafa !important;
}

.buscador-page-hero #bloque_buscador select:focus,
.buscador-page-hero #bloque_buscador input:focus {
  border-color: var(--color-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1) !important;
}

/* ── 4D. RESPONSIVE ── */

@media (max-width: 767px) {
  .buscador-page-hero__headline {
    padding: 48px 0 32px;
  }

  .buscador-page-hero__headline h1 {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }

  .buscador-page-hero #bloque_buscador {
    border-radius: 16px !important;
    padding: 24px 20px 20px !important;
  }

  .buscador-page-hero {
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .buscador-page-hero__headline {
    padding: 36px 0 24px;
  }
}

/* ════════════════════════════════════════════════════════════
   PASO 3 — AGENCIA-INMOBILIARIA.PHP
   ════════════════════════════════════════════════════════════ */

/* ── 3A. HERO DE AGENCIA ── */

.agencia-hero {
  background: linear-gradient(
    145deg,
    rgba(10, 10, 10, 0.88) 0%,
    color-mix(in srgb, var(--color-primary) 72%, #000) 60%,
    rgba(10, 10, 10, 0.72) 100%
  );
  padding: 88px 40px 72px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

/* Textura sutil — idéntica al bento-cell--headline */
.agencia-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 70% 50%,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.agencia-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Tag de localización — idéntico al .bento-headline__tag */
.agencia-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.agencia-hero__tag .fa {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* .tipo_titulo hereda el estilo de .bento-headline__title */
.agencia-hero .tipo_titulo,
.agencia-hero .texto_blanco.tipo_titulo {
  font-size: clamp(1.75rem, 3.5vw, 3.25rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.035em !important;
  line-height: 1.12 !important;
  max-width: 680px !important;
  margin: 0 !important;
  font-style: normal !important;
}

/* Línea de acento — idéntica al ::after del bento title */
.agencia-hero__divider {
  width: 48px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-top: 22px;
  opacity: 0.75;
}

/* ── 3B. SECCIÓN DESCRIPCIÓN DE LA AGENCIA ── */

.agencia-about {
  background: #f2f1ee;
  padding: 88px 40px;
  border-bottom: 1px solid var(--border-light);
}

/* Layout editorial dos columnas */
.agencia-about__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* Columna de texto */
.agencia-about__text p {
  font-size: 1.0625rem !important;
  line-height: 1.82 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 22px !important;
  max-width: none !important;
}

/* Drop cap editorial — primera letra del primer párrafo */
.agencia-about__text p:first-of-type::first-letter {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-primary);
  float: left;
  line-height: 0.75;
  margin: 6px 12px 0 0;
  letter-spacing: -0.02em;
}

.agencia-about__text strong,
.agencia-about__text b {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

.agencia-about__text h2,
.agencia-about__text h3,
.agencia-about__text h4 {
  color: var(--text-primary) !important;
  letter-spacing: -0.025em !important;
  font-weight: 700 !important;
  margin-top: 40px !important;
  margin-bottom: 16px !important;
}

/* Columna de imagen — sticky */
.agencia-about__visual {
  position: sticky;
  top: 100px;
}

.agencia-about__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  filter: grayscale(12%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.13);
}

/* Fallback — si no hay imagen la columna colapsa */
.agencia-about__visual:empty {
  display: none;
}

/* Responsive — stack vertical */
@media (max-width: 900px) {
  .agencia-about__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .agencia-about__visual {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }

  .agencia-about__text p:first-of-type::first-letter {
    font-size: 3.5rem;
  }
}

/* ── 3C. ENCABEZADO SECCIÓN EQUIPO ── */

.agencia-team-section {
  background: var(--bg-base);
  padding-bottom: 0;
}

.agencia-team-header {
  text-align: center;
  padding: 80px 24px 52px;
  max-width: 580px;
  margin: 0 auto;
}

.agencia-team-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.agencia-team-header h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 14px !important;
  line-height: 1.15 !important;
}

.agencia-team-header p {
  font-size: 1rem !important;
  color: var(--text-muted) !important;
  line-height: 1.65 !important;
  max-width: none !important;
  margin: 0 !important;
}

/* ── 3D. TARJETAS DE EQUIPO — revertido al diseño original ── */
/* Los estilos de tarjetas de agentes viven en agencia-inmobiliaria.php <style>.
   No se añaden overrides aquí para respetar el diseño previo del usuario. */

/* ── 3E. RESPONSIVE ── */

@media (max-width: 767px) {
  .agencia-hero {
    padding: 64px 20px 52px;
    min-height: 220px;
  }

  .agencia-about {
    padding: 52px 20px;
  }

  .agencia-team-header {
    padding: 56px 20px 36px;
  }
}

/* ════════════════════════════════════════════════════════════
   PASO 2 — INDEX.PHP: Refinamiento visual
   Objetivo: proyectar "Vender requiere una estrategia"
   como el mensaje dominante de la marca.
   ════════════════════════════════════════════════════════════ */

/* ── 2A. HERO SECTION — más aire, más presencia ── */

.bento-hero-section {
  padding-top: 0 !important;
  background: var(--bg-base) !important;
}

.bento-hero {
  gap: 14px !important;
  padding: 28px 24px 32px !important;
}

/* ── 2B. CELDA HEADLINE — overlay y tipografía de impacto ── */

/* Overlay más sofisticado: menos rojo, más oscuridad atmosférica */
.bento-cell--headline::before {
  background: linear-gradient(
    145deg,
    rgba(10, 10, 10, 0.82) 0%,
    color-mix(in srgb, var(--color-primary) 70%, #000) 55%,
    rgba(10, 10, 10, 0.6) 100%
  ) !important;
}

/* Tag de ubicación */
.bento-headline__tag {
  font-size: 14px !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 20px !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Título principal — amplitud máxima */
.bento-headline__title {
  font-size: clamp(1.75rem, 3.2vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  margin-bottom: 20px !important;
  color: #fff !important;
}

/* "Requiere una estrategia." — diferenciado, no silenciado.
   El inline style tiene font-weight:300 e italic; lo mantenemos
   pero añadimos un color ligeramente más luminoso para que
   contraste con la primera línea en negrita.              */
.bento-headline__title em {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 300 !important;
  font-style: italic !important;
  display: block !important;
  margin-top: 6px !important;
  font-size: 0.92em !important;
  letter-spacing: -0.02em !important;
}

/* Línea divisoria sutil entre título y subtítulo */
.bento-headline__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-primary);
  margin-top: 20px;
  border-radius: 2px;
  opacity: 0.7;
}

/* Subtítulo — más visible, línea de texto controlada */
.bento-headline__subtitle {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.65 !important;
  max-width: 400px !important;
  margin-bottom: 28px !important;
  font-weight: 400 !important;
}

/* CTA — refinado para el contexto oscuro del hero */
.bento-headline__cta {
  background: #fff !important;
  color: var(--text-primary) !important;
  padding: 14px 26px !important;
  border-radius: 10px !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22) !important;
  gap: 10px !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease !important;
}

.bento-headline__cta:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  color: var(--color-primary) !important;
}

.bento-headline__cta .fa-arrow-right {
  color: var(--color-primary) !important;
  font-size: 14px !important;
  transition: transform 0.18s ease !important;
}

.bento-headline__cta:hover .fa-arrow-right {
  transform: translateX(4px) !important;
}

/* ── 2C. CELDAS DE PROPIEDAD — sombras más refinadas ── */

.bento-cell--property {
  border-radius: 18px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}

.bento-cell--property:hover {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
}

/* Precio — más prominente */
.bento-prop-price {
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}

/* ── 2D. SEPARADOR ENTRE HERO Y VALUES ── */

.bento-hero-section + section,
.bento-values-section {
  margin-top: 0 !important;
  border-top: 1px solid var(--border-light) !important;
}

/* ── 2E. VALUE CARDS — nivel premium ── */

.bento-values-section {
  padding: 88px 24px 80px !important;
  background: var(--bg-base) !important;
}

.bento-values-header {
  margin-bottom: 64px !important;
}

.bento-values-header h2 {
  font-size: clamp(1.625rem, 2.8vw, 2.375rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  color: var(--text-primary) !important;
  margin-bottom: 14px !important;
}

.bento-values-header p {
  font-size: 1.0625rem !important;
  color: var(--text-muted) !important;
  line-height: 1.65 !important;
  max-width: none !important;
}

.bento-value-card {
  padding: 40px 36px 36px !important;
  border-radius: 20px !important;
  border: 1px solid var(--border-light) !important;
  background: var(--bg-surface) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Acento lateral en hover — sutil y premium */
.bento-value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--color-primary);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    top 0.25s ease,
    bottom 0.25s ease;
}

.bento-value-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.09) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.bento-value-card:hover::before {
  opacity: 1;
  top: 10%;
  bottom: 10%;
}

/* Icono — más definición */
.bento-value-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: color-mix(
    in srgb,
    var(--color-primary) 8%,
    transparent
  ) !important;
  border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent) !important;
  margin-bottom: 22px !important;
}

.bento-value-icon .fa {
  font-size: 18px !important;
  color: var(--color-primary) !important;
}

.bento-value-tag {
  font-size: 14px !important;
  letter-spacing: 0.1em !important;
  color: var(--color-primary) !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
}

.bento-value-card h3 {
  font-size: 1.1875rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  color: var(--text-primary) !important;
  margin-bottom: 12px !important;
  line-height: 1.25 !important;
}

.bento-value-card p {
  font-size: 0.9375rem !important;
  line-height: 1.72 !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
  max-width: none !important;
}

/* ── 2F. MOBILE — legibilidad y aire en pantallas pequeñas ── */

@media (max-width: 767px) {
  .bento-hero {
    padding: 16px 16px 24px !important;
    gap: 10px !important;
  }

  .bento-cell--headline {
    padding: 36px 24px 32px !important;
    min-height: 320px !important;
  }

  .bento-headline__title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
    margin-bottom: 14px !important;
  }

  .bento-headline__title::after {
    margin-top: 14px;
    width: 36px;
  }

  .bento-headline__subtitle {
    font-size: 0.9375rem !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  .bento-headline__cta {
    padding: 13px 22px !important;
    font-size: 0.875rem !important;
    width: auto !important;
  }

  .bento-values-section {
    padding: 56px 20px 48px !important;
  }

  .bento-values-header {
    margin-bottom: 40px !important;
  }

  .bento-values-grid {
    gap: 14px !important;
  }

  .bento-value-card {
    padding: 28px 24px 24px !important;
  }
}

@media (max-width: 480px) {
  .bento-headline__title {
    font-size: 1.5rem !important;
  }

  .bento-headline__cta {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ── 2G. BANCA PRIVADA — neutralizar efectos decorativos heredados ──
   El ::after original del tema añade una barra superior de color al hover.
   Para el estilo "less is more", solo usamos el acento lateral (::before). */

.bento-value-card::after {
  display: none !important;
}

/* Sombras aún más tenues — estilo banca privada */
.bento-value-card {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.bento-value-card:hover {
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.07) !important;
}

/* Property cards — sombra igualmente contenida */
.bento-cell--property {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.bento-cell--property:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14) !important;
  transform: translateY(-4px) !important;
}

/* Más espacio encima de la sección de valores — air gap generoso */
.bento-values-section {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

/* Más espacio interno en la celda headline para que el texto respire */
.bento-cell--headline {
  padding: 56px 52px 52px !important;
  min-height: 480px !important;
}

@media (max-width: 1024px) {
  .bento-cell--headline {
    padding: 40px 36px 36px !important;
    min-height: 360px !important;
  }
}

@media (max-width: 767px) {
  .bento-cell--headline {
    padding: 36px 24px 32px !important;
    min-height: 300px !important;
  }
  .bento-values-section {
    padding-top: 64px !important;
    padding-bottom: 56px !important;
  }
}

/* ════════════════════════════════════════════════════════════
   PASO 5 — GESTIONAMOS-SU-INMUEBLE.PHP
   Objetivo: Visibilidad del hero, ACM como protagonista,
   formulario limpio estilo banca privada.
   ════════════════════════════════════════════════════════════ */

/* ── 5A. HERO "VENDER" ── */

.mh-top-title.gestionamos-hero {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(10, 10, 10, 0.92) 0%,
    color-mix(in srgb, var(--color-primary) 75%, #000) 55%,
    rgba(10, 10, 10, 0.8) 100%
  );
  padding: 80px 40px;
  overflow: hidden;
  min-height: 60vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mh-top-title.gestionamos-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 72% 46%,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 58%
  );
  pointer-events: none;
}

.gestionamos-hero__content {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.gestionamos-hero__title {
  font-size: clamp(1.625rem, 3.2vw, 3rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.035em !important;
  line-height: 1.12 !important;
  margin: 0 auto 22px !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32) !important;
  max-width: 720px !important;
}

.gestionamos-hero__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 2px;
  margin: 22px auto 0;
}

.gestionamos-hero__subtitle {
  font-size: 1.0625rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.72 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  font-weight: 400 !important;
  text-align: center !important;
}

/* ── 5B. CONTENEDOR PRINCIPAL ── */

.entry-content.mh-layout.position-relative {
  display: block !important;
  background: var(--bg-base) !important;
  padding: 0 !important;
  max-width: none !important;
}

.vender-content-section {
  display: block !important;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 40px 48px;
}

/* ── 5C. INTRO ── */

.vender-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.vender-intro h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 14px !important;
  line-height: 1.15 !important;
}

.vender-intro p {
  font-size: 1.0625rem !important;
  color: var(--text-muted) !important;
  line-height: 1.72 !important;
  max-width: none !important;
  margin: 0 !important;
}

/* ── 5D. BLOQUE ACM — panel oscuro de metodología propietaria ── */

.acm-highlight {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: linear-gradient(
    145deg,
    rgba(12, 12, 12, 0.97) 0%,
    color-mix(in srgb, var(--color-primary) 68%, #000) 100%
  );
  border-radius: 20px;
  padding: 44px 48px;
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.14),
    0 16px 48px rgba(0, 0, 0, 0.1);
}

.acm-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 80% 30%,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.acm-highlight__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.acm-highlight__icon .fa {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
}

.acm-highlight__body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.acm-highlight__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.acm-highlight__title {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.035em !important;
  line-height: 1.15 !important;
  margin-bottom: 16px !important;
}

.acm-highlight__text {
  font-size: 0.9375rem !important;
  color: rgba(255, 255, 255, 0.72) !important;
  line-height: 1.72 !important;
  margin-bottom: 24px !important;
  max-width: none !important;
}

.acm-highlight__text strong {
  color: rgba(255, 255, 255, 0.94) !important;
  font-weight: 700 !important;
}

.acm-highlight__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acm-highlight__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.acm-highlight__list li .fa-check {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  flex-shrink: 0;
}

/* ── 5E. GRID DE BENEFICIOS ── */

.vender-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.vender-benefit-card {
  background: var(--bg-surface, #fff);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 36px 28px 32px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.vender-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
}

.vender-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.vender-benefit-icon .fa {
  font-size: 18px;
  color: var(--color-primary);
}

.vender-benefit-card h3 {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 10px !important;
  line-height: 1.25 !important;
}

.vender-benefit-card p {
  font-size: 0.9rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.72 !important;
  margin: 0 !important;
}

/* ── 5F. CTA BLOCK ── */

.vender-cta-block {
  background: linear-gradient(
    145deg,
    rgba(12, 12, 12, 0.96) 0%,
    color-mix(in srgb, var(--color-primary) 80%, #000) 100%
  );
  border-radius: 20px;
  padding: 44px 48px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.vender-cta-block p {
  font-size: 1.125rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.65 !important;
  max-width: 540px !important;
  margin: 0 auto 28px !important;
}

.vender-cta-block p strong {
  color: #fff !important;
  font-weight: 700 !important;
}

.vender-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--text-primary) !important;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.vender-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  color: var(--color-primary) !important;
  text-decoration: none;
}

.vender-cta-btn .fa {
  color: var(--color-primary);
  font-size: 14px;
}

/* ── 5G. SECCIÓN DEL FORMULARIO ── */

.gestionamos-form-section {
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 72px 40px 80px;
}

.gestionamos-form-section .wpforms-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Título del formulario — anula inline style="font-size:18px" */
.gestionamos-form-section form h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem) !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 32px !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

/* Labels sobre fondo blanco — anular .texto_blanco (color:white) */
.gestionamos-form-section .texto_blanco,
.gestionamos-form-section .wpforms-field-label,
.gestionamos-form-section label {
  color: var(--text-primary) !important;
  font-weight: 500 !important;
}

.gestionamos-form-section .wpforms-field-description a,
.gestionamos-form-section .wpforms-field-label a {
  color: var(--color-primary) !important;
}

/* Inputs y selects */
.gestionamos-form-section input[type="text"],
.gestionamos-form-section input[type="email"],
.gestionamos-form-section input[type="number"],
.gestionamos-form-section select,
.gestionamos-form-section textarea {
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 10px !important;
  background: #fafafa !important;
  color: var(--text-primary) !important;
  font-size: 0.9375rem !important;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease !important;
}

.gestionamos-form-section input[type="text"]:focus,
.gestionamos-form-section input[type="email"]:focus,
.gestionamos-form-section input[type="number"]:focus,
.gestionamos-form-section select:focus,
.gestionamos-form-section textarea:focus {
  border-color: var(--color-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--color-primary) 12%, transparent) !important;
  outline: none !important;
}

/* Botón de envío */
.gestionamos-form-section .wpforms-submit {
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 32px !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(139, 0, 0, 0.22) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease !important;
}

.gestionamos-form-section .wpforms-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(139, 0, 0, 0.3) !important;
}

/* ── 5H. RESPONSIVE ── */

@media (max-width: 991px) {
  .vender-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .mh-top-title.gestionamos-hero {
    padding: 88px 20px 64px;
    min-height: 280px;
  }

  .vender-content-section {
    padding: 56px 20px 40px;
  }

  .acm-highlight {
    flex-direction: column;
    gap: 20px;
    padding: 32px 24px;
  }

  .vender-cta-block {
    padding: 36px 24px;
  }

  .vender-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .gestionamos-form-section {
    padding: 52px 20px 56px;
  }
}

@media (max-width: 480px) {
  .vender-benefits-grid {
    grid-template-columns: 1fr;
  }

  .acm-highlight {
    padding: 28px 16px;
  }

  .vender-cta-block {
    padding: 32px 20px;
  }
}

/* ═══════════════════════════════════════════════════
   PASO 6 — CONTACTO: Atelier Inmobiliario
   ═══════════════════════════════════════════════════ */

/* Hero — título centrado sobre fondo suave */
.contacto-hero {
  background: #f2f1ee;
  padding: 80px 40px 64px;
  text-align: center;
  border-bottom: 1px solid #e0ddd9;
}

.contacto-hero__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.contacto-hero__title {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.04em !important;
  line-height: 1.12 !important;
  margin: 0 auto 18px !important;
  max-width: 680px !important;
}

.contacto-hero__subtitle {
  font-size: 1.0625rem !important;
  color: var(--text-muted, #888) !important;
  line-height: 1.65 !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  font-weight: 400 !important;
}

/* Body — grid dos columnas */
.contacto-body {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 40px 88px;
  align-items: start;
}

/* Bloque de transparencia financiera */
.contacto-transparencia {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f2f1ee;
  border-left: 2px solid var(--color-primary);
  border-radius: 0 4px 4px 0;
  padding: 18px 20px;
  margin-bottom: 32px;
}

.contacto-transparencia__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: var(--color-primary);
  opacity: 0.8;
  margin-top: 1px;
}

.contacto-transparencia__icon svg {
  width: 100%;
  height: 100%;
}

.contacto-transparencia__text {
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
  font-style: italic !important;
  max-width: none !important;
}

/* Columna formulario */
.contacto-form-col h2 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 28px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e0ddd9 !important;
}

.contacto-form-col .wpforms-field-label label,
.contacto-form-col label.texto_blanco,
.contacto-form-col .wpforms-field-label {
  color: var(--text-primary) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.contacto-form-col input[type="text"],
.contacto-form-col input[type="email"],
.contacto-form-col input[type="tel"],
.contacto-form-col select,
.contacto-form-col textarea {
  background: #fff !important;
  border: 1px solid #d8d5d0 !important;
  border-radius: 3px !important;
  padding: 12px 14px !important;
  font-size: 0.9375rem !important;
  color: var(--text-primary) !important;
  width: 100% !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s !important;
  box-shadow: none !important;
  font-family: inherit !important;
}

.contacto-form-col input[type="text"]:focus,
.contacto-form-col input[type="email"]:focus,
.contacto-form-col input[type="tel"]:focus,
.contacto-form-col select:focus,
.contacto-form-col textarea:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--color-primary) 12%, transparent) !important;
}

.contacto-form-col textarea {
  min-height: 130px !important;
  resize: vertical !important;
}

.contacto-form-col .wpforms-submit {
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 14px 36px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition:
    opacity 0.2s,
    transform 0.2s !important;
  margin-top: 8px !important;
}

.contacto-form-col .wpforms-submit:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
}

/* Checkbox y texto legal */
.contacto-form-col input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 16px !important;
  height: 16px !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
}

.contacto-form-col .wpforms-field-label-inline label,
.contacto-form-col .wpforms-field-label-inline {
  font-size: 0.875rem !important;
  color: var(--text-secondary) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  display: inline !important;
}

.contacto-form-col .wpforms-field-label-inline a {
  color: var(--color-primary) !important;
}

/* Select estilo consistente */
.contacto-form-col select {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 36px !important;
}

/* Columna de información de oficina */
.contacto-info-col {
  position: sticky;
  top: 100px;
}

.contacto-info-col h2 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 28px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e0ddd9 !important;
}

.contacto-office-card {
  background: #fff;
  border: 1px solid #e0ddd9;
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contacto-office-card h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 12px !important;
}

.contacto-office-card p {
  font-size: 0.9375rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.65 !important;
  margin: 0 0 6px !important;
}

.contacto-office-card a {
  color: var(--color-primary) !important;
  text-decoration: none !important;
}

.contacto-map-wrapper {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e0ddd9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contacto-map-wrapper iframe {
  display: block;
  width: 100% !important;
  height: 320px !important;
  border: 0 !important;
}

/* Ocultar la presentación antigua del contacto */
.contacto-form-col > p,
.contacto-form-col > .texto_blanco {
  display: none !important;
}

/* Responsive contacto */
@media (max-width: 900px) {
  .contacto-body {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 52px 24px 64px;
  }

  .contacto-info-col {
    position: static;
  }

  .contacto-hero {
    padding: 60px 24px 48px;
  }
}

@media (max-width: 600px) {
  .contacto-hero {
    padding: 52px 20px 40px;
  }

  .contacto-body {
    padding: 40px 20px 56px;
    gap: 40px;
  }

  .contacto-office-card {
    padding: 20px;
  }

  .contacto-map-wrapper iframe {
    height: 260px !important;
  }
}

/* ═══════════════════════════════════════════════════
   HOME — sección heredada
   ═══════════════════════════════════════════════════ */

.excl-section {
  background: var(--bg-base);
  padding: 88px 40px;
  border-top: 1px solid var(--border-light, #e8e5e0);
}

.excl-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.excl-section__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.excl-section__titulo {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.04em !important;
  line-height: 1.15 !important;
  margin: 0 0 18px !important;
}

.excl-section__intro {
  font-size: 1rem !important;
  color: var(--text-muted, #888) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.excl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.excl-card {
  border-radius: 4px;
  padding: 36px 32px;
}

.excl-card--pasiva {
  background: #f7f6f3;
  border: 1px solid #e0ddd9;
}

.excl-card--activa {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.excl-card__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.excl-card--pasiva .excl-card__tag {
  color: #999;
}
.excl-card--activa .excl-card__tag {
  color: rgba(255, 255, 255, 0.65);
}

.excl-card__titulo {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 20px !important;
}

.excl-card--pasiva .excl-card__titulo {
  color: var(--text-primary) !important;
}
.excl-card--activa .excl-card__titulo {
  color: #fff !important;
}

.excl-card__lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.excl-card__lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
}

.excl-card--pasiva .excl-card__lista li {
  color: var(--text-secondary);
  border-bottom-color: #ebe8e4;
}

.excl-card--activa .excl-card__lista li {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.excl-card__lista li:last-child {
  border-bottom: none;
}

.excl-card__lista li::before {
  content: "—";
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

.excl-card--pasiva .excl-card__lista li::before {
  color: #ccc;
}
.excl-card--activa .excl-card__lista li::before {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 680px) {
  .excl-section {
    padding: 64px 20px;
  }
  .excl-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .excl-card {
    padding: 28px 22px;
  }
}

/* ═══════════════════════════════════════════════════
   HOME — Ecosistema: Analizar · Decidir · Actuar
   ═══════════════════════════════════════════════════ */

.ecosistema-section {
  background: #1a1a1a;
  padding: 88px 40px;
  text-align: center;
}

.ecosistema-section__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-primary) 80%, #fff);
  margin-bottom: 16px;
}

.ecosistema-section__titulo {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.04em !important;
  line-height: 1.12 !important;
  margin: 0 auto 14px !important;
  max-width: 640px !important;
}

.ecosistema-section__subtitulo {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
  line-height: 1.7 !important;
  max-width: 520px !important;
  margin: 0 auto 56px !important;
}

.ecosistema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.ecosistema-bloque {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 32px;
  text-align: left;
  transition: background 0.3s;
}

.ecosistema-bloque:hover {
  background: rgba(255, 255, 255, 0.07);
}

.ecosistema-bloque__rol {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-primary) 80%, #fff);
  margin-bottom: 10px;
}

.ecosistema-bloque__nombre {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 16px !important;
}

.ecosistema-bloque__texto {
  font-size: 0.9375rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.72 !important;
  margin: 0 !important;
}

.ecosistema-mantra {
  font-size: 1.0625rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.01em;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .ecosistema-section {
    padding: 64px 20px;
  }
  .ecosistema-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .ecosistema-bloque {
    padding: 28px 22px;
  }
}

/* ═══════════════════════════════════════════════════
   GESTIONAMOS — Gastos de venta (Papel en Blanco ampliado)
   ═══════════════════════════════════════════════════ */

.gastos-section {
  background: #fff;
  padding: 72px 40px;
  border-top: 1px solid var(--border-light, #e8e5e0);
  border-bottom: 1px solid var(--border-light, #e8e5e0);
}

.gastos-section__inner {
  max-width: 860px;
  margin: 0 auto;
}

.gastos-section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.gastos-section__titulo {
  font-size: clamp(1.375rem, 2.5vw, 2rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.04em !important;
  line-height: 1.15 !important;
  margin: 0 0 14px !important;
}

.gastos-section__intro {
  font-size: 1rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.72 !important;
  margin: 0 0 40px !important;
  max-width: 680px !important;
}

.gastos-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid #e8e5e0;
}

.gastos-lista li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #e8e5e0;
  align-items: start;
}

.gastos-lista__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.gastos-lista__texto {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.gastos-nota {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f2f1ee;
  border-left: 2px solid var(--color-primary);
  border-radius: 0 4px 4px 0;
  padding: 16px 20px;
}

.gastos-nota i {
  color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.gastos-nota p {
  font-size: 0.9rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  font-style: italic !important;
}

@media (max-width: 680px) {
  .gastos-section {
    padding: 52px 20px;
  }
  .gastos-lista li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .gastos-lista__label {
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════════════
   LANDINGS DE PERFIL — Herencias · Compradores · Inversores
   (clases compartidas .perfil-*)
   ═══════════════════════════════════════════════════ */

.perfil-hero {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(10, 10, 10, 0.94) 0%,
    color-mix(in srgb, var(--color-primary) 70%, #000) 60%,
    rgba(10, 10, 10, 0.82) 100%
  );
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  overflow: hidden;
}

.perfil-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 68% 40%,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.perfil-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.perfil-hero__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.perfil-hero__titulo {
  font-size: clamp(1.625rem, 3.2vw, 2.75rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.04em !important;
  line-height: 1.12 !important;
  margin: 0 auto 18px !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

.perfil-hero__subtitulo {
  font-size: 1.0625rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.7 !important;
  max-width: 560px !important;
  margin: 0 auto !important;
}

/* Secciones alternantes */
.perfil-section {
  padding: 72px 40px;
  max-width: 860px;
  margin: 0 auto;
}

.perfil-section--alt {
  background: #f2f1ee;
  max-width: none;
  padding: 72px 40px;
}

.perfil-section--alt .perfil-section__inner {
  max-width: 860px;
  margin: 0 auto;
}

.perfil-section__titulo {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 18px !important;
}

.perfil-section__texto {
  font-size: 1rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  max-width: 680px !important;
}

/* Grid de pasos (compradores) */
.perfil-pasos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.perfil-paso {
  background: #fff;
  border: 1px solid #e0ddd9;
  border-radius: 4px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.perfil-paso__num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.perfil-paso__titulo {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin: 0 0 10px !important;
}

.perfil-paso__texto {
  font-size: 0.9375rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Lista de activos (inversores) */
.perfil-activos {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border-top: 1px solid #e0ddd9;
}

.perfil-activos li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e0ddd9;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.perfil-activos li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* CTA de perfil */
.perfil-cta {
  background: var(--color-primary);
  padding: 64px 40px;
  text-align: center;
}

.perfil-cta__texto {
  font-size: 1.125rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.65 !important;
  max-width: 560px !important;
  margin: 0 auto 28px !important;
}

.perfil-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--color-primary) !important;
  text-decoration: none !important;
  padding: 14px 32px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.perfil-cta__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .perfil-hero {
    min-height: 44vh;
    padding: 64px 20px;
  }
  .perfil-section {
    padding: 52px 20px;
  }
  .perfil-section--alt {
    padding: 52px 20px;
  }
  .perfil-pasos {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .perfil-cta {
    padding: 48px 20px;
  }
  .gastos-section {
    padding: 48px 20px;
  }
}


.cv-section .ds-acm__title {
  color: #ffffff !important;
}

/* ══════════════════════════════════════════════════════════════
   TIPOGRAFÍA RESPONSIVA — Legibilidad Senior (< 768px)
   Suelo de 16px en cuerpo de texto en móviles.
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  body {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  p,
  li,
  summary {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  h3 {
    font-size: 20px !important;
  }
  small {
    font-size: 14px !important; /* 14px — suelo absoluto en móvil */
  }
}