* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100%;
  font-family: "Open Sans", sans-serif;
}

/* ===== HERO ===== */
.hero {
  width: 100%;
  height: 70vh;
  min-height: 380px;                    /* fallback razonable en pantallas pequeñas */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;

  /* uso de propiedades separadas por claridad y compatibilidad */
  background-image: url('../img/cafecito.jpg'); /* <-- revisa la ruta (ver más abajo) */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #222;                /* color de respaldo si la imagen falla */
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;                             /* se asegura que esté entre fondo y contenido */
}

.hero-content {
  position: relative;
  z-index: 2;                             /* arriba del overlay */
  max-width: 700px;
  padding: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.3rem;
}


/* ===== CABECERA DE AUDITORÍAS ===== */
.auditoria-header {
  text-align: center;
  background: #fff;
  padding: 40px 20px;
  border-radius: 15px 15px 0 0;
  margin-top: -40px;
}

.auditoria-header h2 {
  font-size: 2rem;
  color: #4e342e;
  margin-bottom: 10px;
}

.auditoria-header p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.imagenes-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

/* 🔹 Aumentadas +50px */
.imagenes-header img {
  width: 350px; /* antes 300px */
  height: 230px; /* antes 180px */
  object-fit: contain;
  border-radius: 12px;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.imagenes-header img:hover {
  transform: scale(1.05);
}

/* ===== SECCIONES DE AUDITORÍAS ===== */
.auditoria-box {
  background: white;
  padding: 50px 20px;
  border-bottom: 5px solid #6d4c41;
}

.auditoria-box h3 {
  text-align: center;
  color: #4e342e;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

/* ===== ARTÍCULOS ===== */
.articulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}

.articulo h4 {
  color: #6d4c41;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.articulo-imgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

/* 🔹 Aumentadas +50px */
.articulo-imgs img {
  width: 350px; /* antes 300px */
  height: 270px; /* antes 220px */
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s;
}

.articulo-imgs img:hover {
  transform: scale(1.05);
}

.articulo-desc {
  max-width: 800px;
  font-size: 1rem;
  text-align: justify;
  margin-top: 10px;
  line-height: 1.6;
}


  /* Imágenes */
  .imagenes-header img,
  .articulo-imgs img {
    width: 90%;
    height: auto;
  }
