/* ════════════════════════════════
   ASESORES INMOBILIARIOS — CSS
   Extiende el mismo sistema visual
   de las demás subpáginas
   ════════════════════════════════ */

body {
  font-weight: 500;
}
body::before {
  background: #0d1b2e url('../imagenes/home/bannerfondo.jpg') center/cover;
  opacity: 1;
}

/* ══ HERO ══ */
.enf-hero {
  position: relative;
  background: transparent;
  padding: 40px 120px 70px;
  text-align: center;
}
.enf-hero__gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(13,27,46,0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.enf-hero__content { position: relative; z-index: 1; }
.enf-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.2;
}

/* ══ INTRO ══ */
.enf-intro {
  background: linear-gradient(to bottom, transparent 0%, rgba(227,228,241,0.75) 25%);
  padding: 120px 220px;
}
.enf-intro__texto {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(26,26,46,0.80);
  line-height: 1.9;
  text-align: justify;
}

/* ══ SECCIONES BASE ══ */
.enf-sec {
  padding: 100px 160px;
}
.enf-sec--azul           { background: rgba(25,33,54,0.75); }
.enf-sec--blanco         { background: rgba(227,228,241,0.75); }
.enf-sec--azul-first     { background: linear-gradient(to bottom, rgba(227,228,241,0.75) 0%, rgba(25,33,54,0.75) 25%) !important; }
.enf-sec--blanco-first   { background: rgba(227,228,241,0.75) !important; }

.enf-sec__content {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.enf-sec__img {
  width: 320px;
  height: 320px;
  min-width: 320px;
  object-fit: contain;
  border-radius: 16px;
}

/* ══ TÍTULO CENTRADO ══ */
.enf-sec__titulo {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}
.enf-sec__titulo--centrado {
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-align: center;
  text-decoration: none;
  margin-bottom: 56px;
  color: #192136;
}

/* ══ GRID DE CARDS ══ */
.ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.ai-card {
  background: rgba(255,255,255,0.80);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(25,33,54,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(25,33,54,0.13);
}
.ai-card__check {
  font-size: 16px;
  color: #D1A146;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-card__titulo {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #192136;
  margin-bottom: 8px;
  line-height: 1.3;
}
.ai-card__texto {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(25,33,54,0.60);
  line-height: 1.7;
}

/* ══ CTA ══ */
.enf-cta {
  padding: 140px 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.enf-cta__bold {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
}
.enf-cta__normal {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
}
.enf-cta__btn {
  margin-top: 60px;
  display: inline-block;
  background: rgba(25,33,54,1);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding: 48px 80px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.enf-cta__btn:hover {
  transform: scale(0.93);
  background: #D1A146;
}

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */

@media (max-width: 1280px) {
  .enf-intro { padding: 100px 140px; }
  .enf-sec   { padding: 80px 100px; }
  .ai-cards  { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .enf-cta   { padding: 100px 80px; }
}

@media (max-width: 1024px) {
  .enf-hero  { padding: 40px 60px 60px; }
  .enf-intro { padding: 80px 80px; }
  .enf-intro__texto { font-size: 14px; }
  .enf-sec   { padding: 80px 60px; }
  .ai-cards  { grid-template-columns: repeat(2, 1fr); }
  .enf-cta   { padding: 80px 60px; }
  .enf-cta__btn { padding: 36px 60px; font-size: 18px; }
}

@media (max-width: 768px) {
  .enf-hero  { padding: 60px 20px 48px; }
  .enf-hero__gradient { height: 90px; }
  .enf-hero__title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .enf-intro { padding: 48px 24px; }
  .enf-intro__texto { font-size: 14px; }
  .enf-sec   { padding: 48px 24px; }
  .enf-sec__content { flex-direction: column; }
  .enf-sec__img { width: 100%; height: auto; min-width: unset; max-width: 260px; margin: 0 auto; }
  .enf-sec__titulo--centrado { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 32px; }
  .ai-cards  { grid-template-columns: 1fr; }
  .ai-card   { padding: 22px 18px; }
  .enf-cta   { padding: 60px 24px; gap: 12px; }
  .enf-cta__bold   { font-size: 18px; }
  .enf-cta__normal { font-size: 14px; }
  .enf-cta__btn    { margin-top: 40px; padding: 20px 36px; font-size: 16px; }
}

@media (max-width: 480px) {
  .enf-hero__title { font-size: 1.4rem; }
  .enf-intro { padding: 36px 16px; }
  .enf-sec   { padding: 36px 16px; }
  .enf-cta   { padding: 48px 16px; }
  .enf-cta__bold   { font-size: 15px; }
  .enf-cta__normal { font-size: 13px; }
  .enf-cta__btn    { padding: 16px 28px; font-size: 15px; margin-top: 28px; }
}
.enf-intro__texto:first-child {
  margin-top: 120px !important;
}
