/* ============================================================
   HOME MARKETING — Mi Gente en Texas
   Prefijo: hm-
   Respeta la línea gráfica existente: Inter, #eab70d, #000
   ============================================================ */

/* ── Variables (espejo del sitio) ── */
:root {
  --hm-gold: #eab70d;
  --hm-gold-lt: #ffc100;
  --hm-black: #000000;
  --hm-dark: #111111;
  --hm-offwhite: #f9f9f9;
  --hm-muted: #555555;
  --hm-radius: 20px;
  --hm-ease: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ══════════════════════════════════════════════
   HERO — Influencer header
══════════════════════════════════════════════ */
.hm-hero {
  position: relative;
  min-height: 85vh;
  background-image:
    linear-gradient(
      120deg,
      rgb(0 0 0) 0%,
      rgb(0 0 0 / 34%) 60%,
      rgb(0 0 0 / 0%) 100%
    ),
    url(../img/hero.jpg);
  background-position: center;
  background-size: cover;
  /* background-attachment: fixed; */
  display: flex;
  align-items: center;
  padding: 120px 10% 100px;
  overflow: hidden;
}

/* línea dorada izquierda */
.hm-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--hm-gold),
    transparent
  );
}

/* badge pill */
.hm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 183, 13, 0.12);
  border: 1px solid rgba(234, 183, 13, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-family: "Inter-Medium", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hm-gold);
}

.hm-badge__dot {
  width: 6px;
  height: 6px;
  background: var(--hm-gold);
  border-radius: 50%;
  animation: hm-pulse 2s ease infinite;
}

/* headline hero */
.hm-hero__title {
  font-family: "Inter-Black", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 22px;
}

.hm-hero__title em {
  font-style: normal;
  color: var(--hm-gold);
}

.hm-hero__sub {
  font-family: "Inter-Regular", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.68);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
}

/* CTAs */
.hm-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hm-btn-gold {
  font-family: "Inter-Medium", sans-serif;
  font-size: 0.95rem;
  background: var(--hm-gold);
  color: var(--hm-black);
  padding: 13px 32px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--hm-ease);
}
.hm-btn-gold:hover {
  background: var(--hm-gold-lt);
  color: var(--hm-black);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(234, 183, 13, 0.3);
}

.hm-btn-ghost {
  font-family: "Inter-Medium", sans-serif;
  font-size: 0.95rem;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 12px 28px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--hm-ease);
}
.hm-btn-ghost:hover {
  border-color: var(--hm-gold);
  color: var(--hm-gold);
  transform: translateY(-2px);
}

/* stats row en hero */
.hm-hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hm-stat__num {
  font-family: "Inter-Bold", sans-serif;
  font-size: 2rem;
  color: var(--hm-gold);
  display: block;
  line-height: 1;
}
.hm-stat__label {
  font-family: "Inter-Regular", sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  display: block;
}

/* ══════════════════════════════════════════════
   SECCIÓN GENÉRICA helper (reutilizable)
══════════════════════════════════════════════ */
.hm-section {
  padding: 90px 0;
}

.hm-section-eyebrow {
  font-family: "Inter-Medium", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hm-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hm-section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--hm-gold);
}

/* ══════════════════════════════════════════════
   MARKETING HERO-CONTENT
   (la gran sección que viene después del header)
══════════════════════════════════════════════ */
.hm-mkt {
  background: #ffffff;
  padding: 90px 0;
  overflow: hidden;
  position: relative;
}

/* watermark decorativo */
.hm-mkt::before {
  content: "MARKETING";
  position: absolute;
  bottom: -30px;
  left: -20px;
  font-family: "Inter-Black", sans-serif;
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

/* cards de pilares */
.hm-pillar-card {
  background: #000000c9;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--hm-radius);
  padding: 32px 24px;
  position: relative;
  transition: var(--hm-ease);
  height: 100%;
}
.hm-pillar-card:hover {
  border-color: rgba(234, 183, 13, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.hm-pillar-card__icon {
  font-size: 1.8rem;
  color: var(--hm-gold);
  margin-bottom: 16px;
}
.hm-pillar-card__title {
  font-family: "Inter-Bold", sans-serif;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 8px;
}
.hm-pillar-card__text {
  font-family: "Inter-Light", sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
}
.hm-pillar-card__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: "Inter-Black", sans-serif;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

/* misión/visión split */
.hm-mv-box {
  border-radius: var(--hm-radius);
  padding: 40px 36px;
  height: 100%;
}
.hm-mv-box--dark {
  background: var(--hm-black);
}
.hm-mv-box--gold {
  background: var(--hm-gold);
}

.hm-mv-box__title {
  font-family: "Inter-Bold", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.hm-mv-box--dark .hm-mv-box__title {
  color: #ffffff;
}
.hm-mv-box--gold .hm-mv-box__title {
  color: var(--hm-black);
}

.hm-mv-box__text {
  font-family: "Inter-Regular", sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
}
.hm-mv-box--dark .hm-mv-box__text {
  color: rgba(255, 255, 255, 0.6);
}
.hm-mv-box--gold .hm-mv-box__text {
  color: rgba(0, 0, 0, 0.65);
}

/* valores */
.hm-valor-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.hm-valor-item:last-child {
  border-bottom: none;
}

.hm-valor-item__icon {
  width: 42px;
  height: 42px;
  background: rgba(234, 183, 13, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--hm-ease);
}
.hm-valor-item:hover .hm-valor-item__icon {
  background: var(--hm-gold);
  color: var(--hm-black);
}

.hm-valor-item__title {
  font-family: "Inter-Bold", sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 4px;
}
.hm-valor-item__text {
  font-family: "Inter-Light", sans-serif;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* CTA quote box */
.hm-cta-quote {
  background: var(--hm-gold);
  border-radius: 30px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hm-cta-quote::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.hm-cta-quote__headline {
  font-family: "Inter-Bold", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--hm-black);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.hm-cta-quote__sub {
  font-family: "Inter-Regular", sans-serif;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.6);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════
   DIRECTORIO — sección secundaria
══════════════════════════════════════════════ */
.hm-dir {
  background: var(--hm-offwhite);
  padding: 80px 0;
}

.hm-dir-intro {
  max-width: 600px;
}

/* ══════════════════════════════════════════════
   EVENTOS
══════════════════════════════════════════════ */
.hm-events-section {
  background: var(--hm-black);
  padding: 80px 0;
}

/* ══════════════════════════════════════════════
   SPLIT sections (Empleos / Marketplace)
══════════════════════════════════════════════ */
.hm-split-img {
  width: 100%;
  border-radius: var(--hm-radius);
  display: block;
}

.hm-split-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hm-gold);
  color: var(--hm-black);
  font-family: "Inter-Bold", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.hm-split-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.hm-split-list li {
  font-family: "Inter-Regular", sans-serif;
  font-size: 0.95rem;
  color: #333;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid #e8e5e0;
  position: relative;
}
.hm-split-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--hm-gold);
  border-radius: 50%;
}

/* ══════════════════════════════════════════════
   COUNTERS
══════════════════════════════════════════════ */
.hm-counters-wrap {
  /* border-top: 1px solid #e5e2dc;
  border-bottom: 1px solid #e5e2dc; */
  padding: 60px 0;
  background: #efefef;
}
.hm-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hm-counter-cell {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid #e5e2dc;
}
.hm-counter-cell:last-child {
  border-right: none;
}

/* ══════════════════════════════════════════════
   ANIMACIONES
══════════════════════════════════════════════ */
@keyframes hm-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 991px) {
  .hm-hero {
    padding: 100px 6% 80px;
    min-height: auto;
  }
  .hm-counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-counter-cell:nth-child(2) {
    border-right: none;
  }
  .hm-counter-cell {
    border-bottom: 1px solid #e5e2dc;
  }
  .hm-counter-cell:nth-child(3),
  .hm-counter-cell:nth-child(4) {
    border-bottom: none;
  }
  .hm-hero__stats {
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .hm-hero {
    padding: 90px 5% 70px;
    background-attachment: scroll;
  }
  .hm-hero__stats {
    display: none;
  }
  .hm-mkt,
  .hm-dir,
  .hm-events-section {
    padding: 60px 0;
  }
  .hm-cta-quote {
    padding: 40px 20px;
    border-radius: 20px;
  }
  .hm-counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
