/* ----- HEADER / BARRA SUPERIOR ----- */
/* Los estilos del header están en style.css para consistencia */
/*
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 100px;
    display: block;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 700;
    position: relative;
}

.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 100%;
    height: 4px;
    background-color: var(--primary-blue);
}

.header-cta .whatsapp-btn {
    background-color: #25D366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}
*/

/* MOBILE MENU */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* ======== ESTILOS GENERALES ======== */
/* Las variables principales están en style.css, estas son complementarias */
:root {
  --primary-blue: var(--color-primary); /* #2f2a60 */
  --accent-red: var(--color-secondary); /* #fab030 */
  --white: var(--color-background); /* #ffffff */
  --text-light: var(--color-text-muted); /* #636e72 */
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f8f9fa;
}

/* ======== SECCIÓN DE PROMOCIONES (VISTA DE CATÁLOGOS) ======== */
.promotions {
  padding: 60px 5%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.promotions::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(26, 58, 143, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.promotion-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  cursor: pointer;
}

.promotion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.promotion-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.promotion-card:hover::before {
  transform: scaleX(1);
}

.promotion-image {
  height: 280px;
  background-color: #e9ecef;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.promotion-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promotion-card:hover .promotion-image::after {
  opacity: 1;
}

.promotion-content {
  padding: 25px;
}

.promotion-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary-blue);
  line-height: 1.4;
}

.promotion-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.promotion-content a {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent-red);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.promotion-content a:hover {
  color: var(--primary-blue);
}
.promotion-content a::before {
  content: '→';
  margin-right: 5px;
  transition: transform 0.3s ease;
}
.promotion-content a:hover::before {
  transform: translateX(5px);
}
