/* ============================================================
   styles-blog-listing.css — extraído de styles.css (ver docs/audit-history)
   Cargado solo por: blog.html (ES/EN)
   ============================================================ */

/* ============================================================
   BLOG — HERO "NUESTROS ARTÍCULOS"
   ============================================================ */
.blog-hero-top {
  background: var(--navy);
  width: 100%;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}
.blog-hero-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(56px, 11vw, 140px);
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -2px;
  text-align: center;
  background-image: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 40%, var(--gold-light) 50%, #FFFFFF 60%, #FFFFFF 100%);
  background-size: 200% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: service-title-shine 1.8s ease-out 0.4s 1 forwards;
}
.blog-hero-bottom {
  background: var(--white);
  padding: 100px 24px 120px;
  text-align: center;
}
.blog-hero-desc {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 46px);
  color: #111111;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 40px;
  line-height: 1.4;
}
.blog-hero-line {
  width: 120px;
  height: 4px;
  border-radius: 100px;
  background: #F7941D;
  margin: 0 auto;
  transform: scaleX(0);
  transition: transform 0.7s ease;
}
.reveal-scalex.in-view { transform: scaleX(1) !important; }


/* ============================================================
   BLOG — CARRUSEL DE ARTÍCULOS
   ============================================================ */
.blog-carousel-section {
  position: relative;
  background: var(--white);
  padding: 40px 100px 100px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.carousel-track-wrap { overflow: hidden; flex: 1; }
.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.article-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 260px;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease, translate 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.article-card.in-view { opacity: 1; transform: translateY(0); }
.article-card:hover { transform: translateY(-8px); box-shadow: 0 8px 18px rgba(0,0,0,0.05); }
.article-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 12px 12px 0 0;
  background-size: cover;
  background-position: center;
}
.article-body { padding: 22px 22px 26px; }
.article-category {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: #F7941D;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.article-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
  min-height: 82px;
}
.article-excerpt {
  font-family: var(--font-sans);
  font-size: 15px;
  color: #4A4A4A;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-arrow {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.carousel-arrow:hover {
  transform: translateY(-3px);
  box-shadow: 0px 14px 30px rgba(0,0,0,0.16);
  color: #F7941D;
}

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #D9D9D9;
  cursor: pointer;
  transition: background 0.3s ease;
}
.carousel-dot.active { background: #F7941D; }

@media (max-width: 1100px) {
  .article-card { flex: 0 0 calc(50% - 15px); }
}
@media (max-width: 700px) {
  .blog-hero-top { height: 400px; }
  .blog-hero-bottom { padding: 80px 24px; }
  .blog-carousel-section { padding: 30px 20px 90px; gap: 10px; }
  .carousel-arrow { display: none; }
  .article-card { flex: 0 0 100%; min-width: 220px; }
}

