/*=============================================================
  HOME.CSS
  Estilos exclusivos de la página principal (index.html):
  hero, sección "sobre nosotros", vigencia de avisos, categorías.
  Se carga SOLO en: index.html
=============================================================*/

   
  /* ====================================================== */
  /* ===================== NUEVO: HERO ===================== */
  /* ====================================================== */
  .hero {
    position: relative;
    background-color: var(--black-color); /*var(--black-color)*/
    color: var(--white-color);
    overflow: hidden;
    padding-block: 4rem 5rem;
  }
  
  .hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2.5rem;
    align-items: center;
  }
  
  @media screen and (min-width: 968px) {
    .hero__container {
      grid-template-columns: 1.1fr .9fr;
      gap: 3rem;
    }
  }
  
  .hero__title {
    font-family: var(--display-font);
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.1;
    max-width: 16ch;
  }
  
.hero__subtitle {
    margin-top: 1.25rem;
    color: hsl(220, 25%, 78%);
    max-width: 42ch;
    line-height: 1.6;
}

  .hero__subtitle em {
    font-style: normal;
    color: var(--accent-cyan);
    font-weight: var(--font-semi-bold);
  }
  
  .hero__text {
    margin-top: 1.25rem;
    color: hsl(220, 25%, 78%);
    max-width: 42ch;
    line-height: 1.6;
  }
  
  /* Placa/tarjeta ilustrativa: representa una publicación real dentro del hero */
  .hero__card {
    position: relative;
    justify-self: center;
    background-color: var(--white-color);
    color: var(--black-color);
    border-radius: 1.1rem;
    padding: 1.5rem;
    width: min(100%, 300px);
    box-shadow: 0 24px 48px hsla(220, 60%, 4%, .35);
    transform: rotate(-3deg);
  }
  
  .hero__card-tag {
    font-size: .7rem;
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent-cyan-dark);
    margin-bottom: .4rem;
    display: block;
  }
  
  .hero__card-title {
    font-family: var(--display-font);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: .5rem;
  }
  
  .hero__card-text {
    font-size: .85rem;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  .hero__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--border-soft);
    padding-top: .75rem;
    font-size: .8rem;
    color: var(--ink-soft);
  }
  
  .status-dot {
    width: .85rem; height: .85rem;
    border-radius: 50%;
    display: inline-block;
  }
  .status-dot--green  { background-color: hsl(142, 65%, 45%); }
  
  /* Montañas de fondo, sutil, referencia a Cusco/los Andes */
  .hero__mountains {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 140px;
    z-index: 1;
    opacity: .5;
  }
  

  
  /* ====================================================== */
  /* ================ NUEVO: SOBRE LA PÁGINA ================ */
  /* ====================================================== */
  .about {
    padding-block: 3.5rem;
  }
  
  .section__eyebrow {
    color: var(--accent-cyan-dark);
    font-weight: var(--font-semi-bold);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .5rem;
    display: block;
  }
  
  .section__title {
    font-family: var(--display-font);
    font-weight: 600;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--black-color);
    max-width: 30ch;
  }
  
  .about__text {
    color: var(--ink-soft);
    line-height: 1.7;
    /*max-width: 65ch;*/
    margin-top: 1.5rem;
  }
  .about__text p + p { margin-top: 1rem; }
  .about__text strong { color: var(--black-color); }

/* NUEVO: bloque de contacto para publicar */
.about__contacto {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--accent-gold-light);
  border-radius: .85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.about__contacto-texto {
  font-weight: var(--font-semi-bold);
  color: var(--black-color);
  font-size: .9rem;
  margin: 0;
}

.about__contacto-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.about__contacto-link {
  display: inline-flex;
  align-items: center;
  column-gap: .4rem;
  background-color: var(--card-color);
  color: var(--black-color);
  font-weight: var(--font-semi-bold);
  font-size: .85rem;
  padding: .55rem 1rem;
  border-radius: 2rem;
  border: 1px solid var(--border-soft);
  transition: transform .2s, background-color .2s;
}

.about__contacto-link:hover {
  transform: translateY(-2px);
}

.about__contacto-link i {
  font-size: 1.1rem;
  color: var(--accent-cyan-dark);
}

.about__contacto-link--whatsapp i {
  color: hsl(142, 60%, 42%); /* verde característico de WhatsApp, sirve como referencia visual rápida */
}

@media screen and (max-width: 480px) {
  .about__contacto {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .about__contacto {
    flex-direction: column;
    align-items: flex-start;
  }
}

  
  /* ====================================================== */
  /* ============== NUEVO: VIGENCIA DE AVISOS ============== */
  /* ====================================================== */
  .how {
    padding-block: 3.5rem;
  }
  
  /* Leyenda de vigencia (verde/amarillo/rojo/azul) */
  .freshness {
    background-color: var(--black-color); 
    border-radius: 1rem;
    padding: 1.5rem;
    color: var(--white-color);
  }
  
  .freshness__title {
    font-family: var(--display-font);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: .25rem;
  }
  
  .freshness__subtitle {
    font-size: .85rem;
    color: hsl(220, 20%, 70%);
    margin-bottom: 1.25rem;
  }
  
  .freshness__list {
    display: grid;
    gap: .9rem;
  }
  
  @media screen and (min-width: 768px) {
    .freshness__list { grid-template-columns: repeat(5, 1fr); gap: 1rem; } /* cambie el 4 por el 5*/
  }
  
  .freshness__item {
    display: flex;
    align-items: flex-start;
    column-gap: .6rem;
    background-color: hsl(219, 24%, 21%); /* hsl(220, 24%, 16%)*/ 
    border-radius: .6rem;
    padding: 0.6rem 0.7rem; /*Antes 0.85*/
  }
  
  .freshness__dot {
    width: .9rem; height: .9rem;
    border-radius: 50%;
    margin-top: .2rem;
    flex-shrink: 0;
  }
  .freshness__dot--green  { background-color: hsl(142, 65%, 45%); }
  .freshness__dot--yellow { background-color: hsl(45, 90%, 55%); }
  .freshness__dot--red    { background-color: hsl(0, 75%, 55%); }
  .freshness__dot--blue   { background-color: hsl(210, 80%, 58%); }
  /* ========== NUEVO: estilo de la estrella celeste ========== */
  .freshness__dot--star {
    background-color: transparent;          /* quitamos el fondo redondo */
    width: auto;
    height: auto;
    border-radius: 0;
    margin-top: 0;
    font-size: 1.75rem;                      
    color: hsl(312, 85%, 50%);              /* color celeste */
    line-height: 1;
    
    display: inline-flex; /* Por el cambio de la estrella Chin*/
    align-items: center; /* Por el cambio de la estrella*/
    justify-content: center; /* Por el cambio de la estrella*/
  
  }

  
  .freshness__item-title { font-size: .85rem; font-weight: var(--font-semi-bold); }
  .freshness__item-text { font-size: .78rem; color: hsl(220, 20%, 72%); margin-top: .15rem; line-height: 1.4; }

  /* ====================================================== */
  /* =================== NUEVO: CATEGORÍAS =================== */
  /* ====================================================== */
  .categories {
    padding-block: 3.5rem;
    background-color: var(--accent-gold-light);
  }
  
  .categories__header {
    max-width: 40ch;
  }
  
  .categories__groups {
    display: grid;
    gap: 2.5rem;
    margin-top: 2.5rem;
  }
  
  @media screen and (min-width: 968px) {
    .categories__groups {
      grid-template-columns: repeat(3, 1fr); /* NUEVO: 3 grupos (Empleos, Oportunidades, Inmuebles) */
      gap: 1.75rem;
    }
  }
  
  .categories__group-title {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-family: var(--display-font);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--black-color);
    margin-bottom: 1rem;
  }
  
  .categories__group-title i { color: var(--accent-cyan-dark); font-size: 1.4rem; }
  
  .card-list {
    display: grid;
    gap: 1rem;
  }
  
  /* Tarjeta estilo "volante pinchado" -> el elemento distintivo de esta sección */
  .pin-card {
    background-color: var(--card-color);
    border-radius: .85rem;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    column-gap: 1rem;
    box-shadow: 0 10px 24px hsla(220, 40%, 20%, .08);
    border: 1px solid var(--border-soft);
    transition: transform .25s, box-shadow .25s;
  }
  
  .pin-card:hover {
    transform: translateY(-4px) rotate(0deg) !important;
    box-shadow: 0 16px 30px hsla(220, 40%, 20%, .14);
  }
  
  /* leve rotación alternada, como avisos pinchados en una cartelera */
  .card-list .pin-card:nth-child(odd)  { transform: rotate(-.6deg); }
  .card-list .pin-card:nth-child(even) { transform: rotate(.6deg); }
  
  .pin-card__icon {
    flex-shrink: 0;
    width: 2.75rem; height: 2.75rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: var(--accent-gold-light);
    color: var(--accent-gold);
    font-size: 1.2rem;
  }
  
  .pin-card__title {
    font-weight: var(--font-semi-bold);
    color: var(--black-color);
  }
  
  .pin-card__text {
    font-size: .82rem;
    color: var(--ink-soft);
    margin-top: .1rem;
  }
  
