
body {
    background: linear-gradient(
        180deg,
        #f8f7f3 0%,
        #f2f1eb 100%
    );
}
.blog-hall {
  padding: 2rem 0 3rem;
}

/* Encabezado */
.blog-hall__header {
  margin-bottom: 2.5rem;
}
.blog-hall__title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(220, 20%, 18%);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.blog-hall__frase {
  font-size: 1.2rem;
  color: hsl(0, 0%, 45%);
  line-height: 1.75;
  font-style: italic;
  max-width: 600px;
  padding-left: 1rem;
  border-left: 3px solid hsl(44, 100%, 50%);
  margin: 0;
}

/* Grilla de portones */
.blog-hall__portones {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

/* Portón base */
.blog-porton {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid hsl(0, 0%, 88%);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-porton:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  text-decoration: none;
  color: inherit;
}

/* Visual superior */
.blog-porton__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.blog-porton--hogar   .blog-porton__visual { height: 200px; background: linear-gradient(150deg, #FAEEDA, #FAC775); }
.blog-porton--empresa .blog-porton__visual { height: 240px; background: linear-gradient(150deg, #E6F1FB, #B5D4F4); }
.blog-porton--renov   .blog-porton__visual { height: 200px; background: linear-gradient(150deg, #EAF3DE, #C0DD97); }

/* Imagen de fondo */
.blog-porton__picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.blog-porton__picture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay de color por universo — encima de la foto, debajo del texto */
.blog-porton--hogar .blog-porton__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(250,238,218,0.82), rgba(250,199,117,0.82));
  z-index: 1;
}
.blog-porton--empresa .blog-porton__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(230,241,251,0.82), rgba(181,212,244,0.90));
  z-index: 1;
}
.blog-porton--renov .blog-porton__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(234,243,222,0.82), rgba(192,221,151,0.82));
  z-index: 1;
}

/* Ícono de fondo decorativo */
.blog-porton__icon-bg {
  position: absolute;
  bottom: -12px;
  right: -8px;
  font-size: 5rem;
  opacity: 0.18;
  z-index: 2;
}
.blog-porton--hogar   .blog-porton__icon-bg { color: #854F0B; }
.blog-porton--empresa .blog-porton__icon-bg { color: #0C447C; }
.blog-porton--renov   .blog-porton__icon-bg { color: #27500A; }

/* Todo el contenido encima del overlay */
.blog-porton__numero,
.blog-porton__icon-main,
.blog-porton__nombre,
.blog-porton__articulos {
  position: relative;
  z-index: 2;
}

/* Número */
.blog-porton__numero {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.55;
  margin-bottom: 0.5rem;
}
.blog-porton--hogar   .blog-porton__numero { color: #854F0B; }
.blog-porton--empresa .blog-porton__numero { color: #0C447C; }
.blog-porton--renov   .blog-porton__numero { color: #27500A; }

/* Ícono principal */
.blog-porton__icon-main {
  margin-bottom: 0.6rem;
}
.blog-porton--hogar   .blog-porton__icon-main { font-size: 2rem;    color: #854F0B; }
.blog-porton--empresa .blog-porton__icon-main { font-size: 2.5rem;  color: #185FA5; }
.blog-porton--renov   .blog-porton__icon-main { font-size: 2rem;    color: #3B6D11; }

/* Nombre */
.blog-porton__nombre {
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}
.blog-porton--hogar   .blog-porton__nombre { font-size: 1rem;     color: #633806; }
.blog-porton--empresa .blog-porton__nombre { font-size: 1.125rem; color: #0C447C; }
.blog-porton--renov   .blog-porton__nombre { font-size: 1rem;     color: #173404; }

/* Cantidad de artículos */
.blog-porton__articulos {
  font-size: 0.7rem;
  margin-top: 0.3rem;
  opacity: 0.65;
}
.blog-porton--hogar   .blog-porton__articulos { color: #854F0B; }
.blog-porton--empresa .blog-porton__articulos { color: #185FA5; }
.blog-porton--renov   .blog-porton__articulos { color: #3B6D11; }

/* Cuerpo inferior */
.blog-porton__body {
  padding: 1.25rem;
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-porton__frase {
  font-size: 0.825rem;
  color: hsl(0, 0%, 40%);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}

/* Botón */
.blog-porton__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
  width: fit-content;
}
.blog-porton--hogar   .blog-porton__btn { color: #854F0B; border-color: #EF9F27; }
.blog-porton--empresa .blog-porton__btn { color: #185FA5; border-color: #378ADD; }
.blog-porton--renov   .blog-porton__btn { color: #3B6D11; border-color: #639922; }

.blog-porton--hogar:hover   .blog-porton__btn { background: #FAEEDA; }
.blog-porton--empresa:hover .blog-porton__btn { background: #E6F1FB; }
.blog-porton--renov:hover   .blog-porton__btn { background: #EAF3DE; }

/* Destacado — empresa */
.blog-porton--destacado {
  border-color: #378ADD;
}

/* Pie del hall */
.blog-hall__footer {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: hsl(0, 0%, 55%);
}
.blog-hall__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.blog-hall__dot--hogar   { background: #BA7517; }
.blog-hall__dot--empresa { background: #185FA5; }
.blog-hall__dot--renov   { background: #3B6D11; }
.blog-hall__sep {
  opacity: 0.3;
  margin: 0 4px;
}

/* ── MOBILE ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .blog-hall__portones {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .blog-porton--hogar   .blog-porton__visual,
  .blog-porton--empresa .blog-porton__visual,
  .blog-porton--renov   .blog-porton__visual {
    height: 120px;
  }
  .blog-hall__title {
    font-size: 1.5rem;
  }
  .blog-hall__frase {
    font-size: 0.875rem;
  }
}
/* ************************************************** */

  /* inicio BLOG-FOOTER */
.blog-footer {
  border-top: 1px solid #ccc;  
  padding: 1rem 0;
  width: fit-content;
  min-width: 30%;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.blog-footer p {
  font-size: 0.9rem;
  line-height: 1.53;
  margin-bottom: 0.25rem;
  color: #666;
}

.blog-footer p:last-child {
  margin-bottom: 0;
}
/* fin BLOG-FOOTER */

.breadcrumb-item {
  font-size: 85%;
}

.text-small {
  font-size: 81%;
}

.table {
  text-align: center;
}

.spa {
  padding-right: 5px;
}
.spa2 {
  display: inline-block;
  padding-right: 18px;
}

.som { text-shadow: 2px 2px #d4d2d1;
} 

/* inicio definicion colores */
.am {
  color: #ffbb00;
}
.gr {
  color: #a7a7a7;
}
.gr2 {
  color: #c9c7c7;
}
.az {
  color: #0f3560;
}
.az2 {
  color: #0d6efd;
}
.az3 {
  color: #1a73e8;
}
.ro {
  color: #DA5D5D;
}
.ve {
  color: #21C029;
}
.ve2 {
  color: #166d1a;
}
.vw {
  color: #25d366;
}
.na {
  color: #faab44;
}
.vi {
  color: #7200f5;
}
/* fin definicion colores */

/* inicio personalizacion FOOTER */
.footer {
  color: #ffffff;
  padding: 10px 10px 10px 10px;
  background-color: #1f1f1f;
  margin-bottom: 0px;
  margin-top: 18px;
  width: 100%;
  max-width: 100%;
  margin-left: 0px;
  margin-right: 0px;
  margin:0px;
}

/* inicio Foot-Link */
.foot-link {
  color: #ffffff; 
  font-size: 1em
}
.foot-link:link {
  text-decoration: none; 
  color: #ffffff; 
  font-size: 1em
}
.foot-link:active {
  text-decoration: none; 
  color: #ffffff; 
  font-size: 1em
}
.foot-link:visited {
  text-decoration: none; 
  color: #ffffff; 
  font-size: 1em
}
.foot-link:hover {
  text-decoration: none;
  color: #ffbb00;
  font-weight: bold 
}
/* fin Foot-Link */
/* fin personalizacion FOOTER */

/* Animacion boton WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #29ad19;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  animation: bounce 2s infinite;
}
.whatsapp-float img {
  width: 40px;
  height: 40px;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
.whatsapp-float {
  animation: bounce 1.5s infinite;
}
 
/*****************************************/