/* ==========================================================================
   ASESORÍA INMOBILIARIA MORELIA — SISTEMA DE DISEÑO 2026
   Paleta Proptech / Lujo Accesible (4 HEX):
   - Fondo principal: #F8F7F4 (Piedra Alabastro)
   - Tarjetas:        #FFFFFF
   - Acento:          #B8292F (Carmesí Patrimonial)
   - CTA Conversión:  #15803D (Verde WhatsApp Editorial)
   - Texto / Oscuro:  #161618 (Obsidiana)
   ========================================================================== */

:root {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --accent: #B8292F;
  --accent-soft: rgba(184, 41, 47, 0.08);
  --cta: #15803D;
  --cta-hover: #166534;
  --ink: #161618;
  --ink-70: rgba(22, 22, 24, 0.72);
  --ink-60: rgba(22, 22, 24, 0.60);
  --border: rgba(22, 22, 24, 0.09);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 20px rgba(22, 22, 24, 0.05);
  --shadow-md: 0 12px 36px rgba(22, 22, 24, 0.08);
  --max-w: 1180px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.025em;
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   HEADER STICKY GLASSMORPHISM
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 144px;
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 22, 24, 0.07);
}

@media (min-width: 1060px) {
  .site-header { height: 164px; }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo {
  height: 130px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name-desktop {
  display: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-name-mobile {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

@media (min-width: 1060px) {
  .brand-logo { height: 150px; }
  .brand-name-desktop { display: inline; }
  .brand-name-mobile { display: none; }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-70);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.header-nav a:hover {
  color: var(--accent);
}

@media (min-width: 1060px) {
  .header-nav { display: flex; }
}

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

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cta);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.15s ease;
}

.btn-header-wa:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.btn-header-wa .wa-text-full { display: none; }
.btn-header-wa .wa-text-short { display: inline; }

@media (min-width: 640px) {
  .btn-header-wa {
    font-size: 0.9rem;
    padding: 10px 18px;
  }
  .btn-header-wa .wa-text-full { display: inline; }
  .btn-header-wa .wa-text-short { display: none; }
}

.menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (min-width: 1060px) {
  .menu-toggle-btn { display: none; }
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px 20px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.mobile-drawer.is-open { display: flex; }

.mobile-drawer a {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

.mobile-drawer a:hover {
  background: rgba(22, 22, 24, 0.05);
}

/* ==========================================================================
   BLOQUE 1: HERO SECTION (ABOVE THE FOLD)
   ========================================================================== */
.hero-section {
  padding: 32px 0 44px;
}

@media (min-width: 900px) {
  .hero-section { padding: 56px 0 64px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.18fr 1fr;
    gap: 48px;
  }
}

.hero-kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 16px;
  color: var(--ink);
}

@media (min-width: 900px) {
  .hero-h1 { font-size: 3rem; }
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-70);
  margin-bottom: 24px;
  max-width: 56ch;
}

@media (min-width: 900px) {
  .hero-subtitle { font-size: 1.08rem; }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 560px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.btn-primary-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cta);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 22px;
  border-radius: 12px;
  transition: background 0.18s ease, transform 0.15s ease;
  box-shadow: 0 8px 22px rgba(21, 128, 61, 0.22);
}

.btn-primary-wa:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 20px;
  border-radius: 12px;
  transition: background 0.18s ease, color 0.18s ease;
}

.btn-secondary-outline:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.hero-tertiary-link {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-70);
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(22, 22, 24, 0.25);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.hero-tertiary-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.85rem;
  color: var(--ink-60);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.hero-proof .stars {
  color: #D97706;
  letter-spacing: 1px;
  font-weight: 700;
}

.hero-media {
  position: relative;
}

.hero-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .hero-photo { height: 460px; }
}

/* ==========================================================================
   SECCIONES COMUNES
   ========================================================================== */
.section-block {
  padding: 52px 0;
}

@media (min-width: 900px) {
  .section-block { padding: 72px 0; }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (min-width: 900px) {
  .section-title { font-size: 2.15rem; }
}

.section-subtitle {
  color: var(--ink-70);
  font-size: 0.98rem;
  max-width: 60ch;
}

/* ==========================================================================
   BLOQUE 2: PROPIEDADES DESTACADAS + TABS + SWIPE MÓVIL
   ========================================================================== */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-70);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-tab.is-active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.props-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.props-track::-webkit-scrollbar { height: 6px; }
.props-track::-webkit-scrollbar-thumb {
  background: rgba(22, 22, 24, 0.18);
  border-radius: 999px;
}

@media (min-width: 900px) {
  .props-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    padding-bottom: 0;
  }
}

.prop-card {
  flex: 0 0 84%;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 600px) and (max-width: 899px) {
  .prop-card { flex: 0 0 48%; }
}

.prop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.prop-card.is-hidden { display: none; }

.prop-img-wrap {
  position: relative;
  height: 205px;
  background: #e5e7eb;
  overflow: hidden;
}

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

.prop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.prop-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prop-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.prop-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.prop-location {
  font-size: 0.86rem;
  color: var(--ink-60);
  margin-bottom: 12px;
}

.prop-specs {
  font-size: 0.84rem;
  color: var(--ink-70);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.prop-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.btn-prop-wa {
  flex: 1;
  text-align: center;
  background: var(--cta);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.16s ease;
}

.btn-prop-wa:hover { background: var(--cta-hover); }

.btn-prop-detail {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.16s ease;
}

.btn-prop-detail:hover { background: rgba(22,22,24,0.05); }

.props-footer-cta {
  margin-top: 28px;
  text-align: center;
}

/* ==========================================================================
   BLOQUE 3: SOLUCIONES INMOBILIARIAS (CUADRÍCULA 2x2 AÉREA)
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.solution-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.solution-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.solution-title {
  font-size: 1.18rem;
  font-weight: 700;
}

.solution-desc {
  color: var(--ink-70);
  font-size: 0.95rem;
  line-height: 1.55;
}

.solution-link {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
}

/* ==========================================================================
   BLOQUE 4: IMÁN DE LEADS INFONAVIT (OBSIDIANA #161618)
   ========================================================================== */
.lead-magnet {
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .lead-magnet {
    padding: 52px 56px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lead-magnet-kicker {
  color: #F87171;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.lead-magnet h2 {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

@media (min-width: 900px) {
  .lead-magnet h2 { font-size: 2rem; }
}

.lead-magnet p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  font-size: 0.98rem;
}

.lead-magnet-cta {
  flex-shrink: 0;
}

/* ==========================================================================
   BLOQUE 5: PRUEBA SOCIAL REAL (RESEÑAS)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 820px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars {
  color: #D97706;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-quote {
  color: var(--ink-70);
  font-size: 0.95rem;
  line-height: 1.6;
}

.review-author {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.review-name {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
}

.review-tag {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.reviews-micro-link {
  margin-top: 22px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-60);
}

.reviews-micro-link a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   BLOQUE 6: AUTORIDAD HUMANA ("DONDE VENDES SEGURO")
   ========================================================================== */
.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .authority-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 44px;
    padding: 40px;
  }
}

.authority-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

@media (min-width: 900px) {
  .authority-img { height: 340px; }
}

.authority-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.authority-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-70);
}

.authority-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 8px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ==========================================================================
   BLOQUE 7: CIERRE DE CONVERSIÓN + FOOTER ARQUITECTÓNICO (#161618)
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #FFFFFF;
  padding: 56px 0 44px;
  margin-top: 32px;
}

@media (min-width: 900px) {
  .site-footer { padding: 64px 0 40px; }
}

.footer-cta-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 900px) {
  .footer-cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-cta-box h2 {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 800;
}

.footer-cta-box p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 6px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 36px 0;
  align-items: center;
}

@media (min-width: 820px) {
  .footer-main {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}

.footer-emblem {
  max-width: 240px;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

.footer-col-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   ESTILOS INTERIORES 2026 (CATÁLOGO, FICHAS, SATÉLITES) — SIN COLISIONES
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.breadcrumbs {
  max-width: var(--max-w);
  margin: 16px auto 8px;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--ink-60);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumbs a {
  color: var(--ink-70);
  font-weight: 600;
  transition: color 0.16s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.ubicacion-actual {
  color: var(--ink);
  font-weight: 600;
}

/* Título de página interior (nunca colisiona con .site-header) */
main > header:not(.header-destacado):not(.header-servicios) {
  max-width: 900px;
  margin: 12px auto 18px;
  padding: 0 20px;
  text-align: center;
}

main > header:not(.header-destacado):not(.header-servicios) h1 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

/* Botones generales para interiores y fichas */
.btn,
.btn-filtrar,
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #FFFFFF;
  border: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.15s ease;
}

.btn:hover,
.btn-filtrar:hover,
.filter-btn:hover {
  background: #2C2C30;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  margin-top: 14px;
}

.btn-secondary:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-grande {
  display: inline-flex;
  padding: 13px 26px;
  margin: 6px;
  font-size: 1rem;
  border-radius: 12px;
}

/* Catálogo de Propiedades (Casas-en-venta-Morelia.html) */
.filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 20px 0 28px;
}

.price-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.price-filter input {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  width: 155px;
}

.price-filter input:focus {
  outline: none;
  border-color: var(--ink);
}

.price-disclaimer {
  text-align: center;
  color: var(--ink-60);
  font-style: italic;
  font-size: 0.88rem;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 8px 0 24px;
}

.property-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.property-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.property-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-info h3 {
  color: var(--ink);
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
}

.property-card:hover .property-info h3 {
  color: var(--accent);
}

.property-info p {
  font-size: 0.88rem;
  color: var(--ink-60);
  margin-bottom: 10px;
}

.property-price {
  margin-top: auto;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
}

.property-status {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

[data-status="Disponible"] { background: var(--cta); color: #FFFFFF; }
[data-status="En proceso de escrituración"],
[data-status="En trámite"] { background: #F59E0B; color: #161618; }
[data-status="Vendido"] { background: var(--accent); color: #FFFFFF; }
[data-status="No Disponible"] { background: #475569; color: #FFFFFF; }

/* Carrusel de Fichas */
.carousel {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 20px auto;
  overflow: hidden;
  background: var(--surface);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel img {
  width: 100%;
  height: 450px;
  object-fit: contain;
  background-color: #161618;
  border-radius: var(--radius-sm);
  margin: 0;
  flex-shrink: 0;
  min-width: 100%;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(22, 22, 24, 0.65);
  color: #FFFFFF;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: 8px;
  z-index: 2;
}

.carousel button:hover {
  background-color: rgba(22, 22, 24, 0.9);
}

#prev { left: 16px; }
#next { right: 16px; }

.carousel-counter {
  text-align: center;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-70);
}

/* Contenido principal de Fichas (.info) */
.info {
  max-width: 860px;
  margin: 20px auto;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  line-height: 1.65;
}

.info h2 {
  font-size: 1.38rem;
  font-weight: 800;
  margin: 22px 0 12px;
  color: var(--ink);
}

.info h2:first-child {
  margin-top: 0;
}

.info h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 18px 0 10px;
  color: var(--ink);
}

.info p {
  margin-bottom: 12px;
  color: var(--ink-70);
}

.info ul,
.info ol {
  margin: 10px 0 18px 22px;
  color: var(--ink-70);
}

.info li {
  margin-bottom: 6px;
}

.contacto-exclusivo {
  background: #F8F7F4;
  border: 1px solid var(--border);
  border-left: 4px solid var(--cta);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 20px 0;
}

.contacto-exclusivo a {
  color: var(--cta);
  font-weight: 700;
  text-decoration: underline;
}

/* Video responsive */
.video-responsive {
  position: relative;
  padding-bottom: 177.77%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #161618;
  border-radius: var(--radius-sm);
  margin: 20px auto;
  box-shadow: var(--shadow-sm);
}

.video-responsive.horizontal {
  padding-bottom: 56.25%;
}

.video-responsive iframe,
.video-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Vende tu casa */
.header-destacado {
  background: linear-gradient(rgba(22, 22, 24, 0.84), rgba(22, 22, 24, 0.78)),
              url('LogosEImagenes/vende_tu_casa_captacion.webp') center/cover no-repeat;
  color: #FFFFFF;
  padding: 56px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 16px auto;
  max-width: var(--max-w);
}

.header-destacado h1 {
  color: #FFFFFF;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
}

.subtitulo-destacado {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 16px auto 28px;
  max-width: 60ch;
}

.btn-destacado {
  background-color: var(--cta);
  color: #FFFFFF;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-destacado:hover {
  background-color: var(--cta-hover);
}

.beneficios {
  margin: 44px 0;
}

.titulo-seccion {
  text-align: center;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-bottom: 32px;
}

.tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.tarjeta {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tarjeta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tarjeta h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.tarjeta p {
  color: var(--ink-70);
  font-size: 0.94rem;
}

.cta {
  text-align: center;
  padding: 40px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 44px 0;
}

.cta h2 {
  font-size: 1.65rem;
  margin-bottom: 8px;
}

.cta p {
  color: var(--ink-70);
  margin-bottom: 20px;
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Servicios */
.header-servicios {
  text-align: center;
  margin: 16px 0 36px;
  padding: 44px 24px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #FFFFFF;
}

.header-servicios h1 {
  color: #FFFFFF;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 8px;
}

.header-servicios p {
  color: rgba(255, 255, 255, 0.8);
}

.grid-servicios {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin: 32px 0;
}

.tarjeta-servicio {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.tarjeta-servicio:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tarjeta-servicio h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.tarjeta-servicio p {
  color: var(--ink-70);
  font-size: 0.94rem;
}

.card-visual-img-wrap {
  width: 100%;
  overflow: hidden;
  background: #f1f5f9;
}

.btn-servicio {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  margin-top: 14px;
}

.btn-servicio:hover {
  text-decoration: underline;
}

.lista-servicio {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.lista-servicio li {
  margin: 8px 0;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.lista-servicio li a {
  font-weight: 600;
  color: var(--ink);
}

.lista-servicio li a:hover {
  color: var(--accent);
}

.recursos-adicionales {
  margin: 44px 0 24px;
}

.recursos-adicionales h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.grid-recursos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.recurso {
  text-align: center;
  padding: 26px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recurso:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.icono-recurso {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

/* Legal / Privacidad y Tutoriales */
.legal-card,
.tutorial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin: 16px auto 32px;
}

.legal-card h1,
.tutorial-card h1 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin-bottom: 16px;
}

.legal-card h2 {
  font-size: 1.15rem;
  margin: 22px 0 8px;
}

.legal-card p,
.legal-card li {
  color: var(--ink-70);
  margin-bottom: 10px;
}

.legal-card ul {
  margin: 8px 0 14px 22px;
}

.ParrafoLargo {
  text-align: justify;
}

@media (max-width: 768px) {
  .carousel img {
    height: 300px;
  }
  .grid-recursos {
    grid-template-columns: 1fr;
  }
  .info,
  .legal-card,
  .tutorial-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .price-filter input {
    width: 130px;
  }
  .property-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   FRANJA DE CRÉDITOS, RESUMEN DE PROCESO Y GUÍA DE COMPRA (2026_3)
   ========================================================================== */
.hero-credits-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 20px;
}
.credit-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1d3557;
    background: #eef4fb;
    border: 1px solid #d5e3f3;
    padding: 5px 11px;
    border-radius: 999px;
    line-height: 1.2;
}
.process-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 14px;
    margin-top: 22px;
}
.process-mini-card {
    background: #ffffff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    padding: 18px 16px;
}
.process-mini-num {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #1d3557;
    background: #eef4fb;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.process-mini-card h3 {
    font-size: 1rem;
    margin: 0 0 6px;
    color: #161618;
}
.process-mini-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.process-step-card {
    background: #ffffff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 14px;
    padding: 22px 20px;
}
.process-step-card h3 {
    font-size: 1.08rem;
    margin: 0 0 8px;
    color: #161618;
}
.process-step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    margin: 0;
}
.times-table-wrap {
    overflow-x: auto;
    margin-top: 16px;
}
.times-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}
.times-table th, .times-table td {
    border: 1px solid #e2e8f0;
    padding: 13px 15px;
    text-align: left;
    vertical-align: top;
}
.times-table th {
    background: #161618;
    color: #ffffff;
    font-weight: 700;
}
.times-table tr:nth-child(even) td {
    background: #f8fafc;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 880px;
    margin: 18px auto 0;
}
.faq-item {
    background: #ffffff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    padding: 16px 20px;
}
.faq-item[open] {
    border-color: #1d3557;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    color: #161618;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 700;
    color: #1d3557;
    line-height: 1;
}
.faq-item[open] summary::after {
    content: "−";
}
.faq-answer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    color: #334155;
    line-height: 1.65;
    font-size: 0.96rem;
}
