/* ============================================= */
/* Homepage — Global highlights                  */
/* ============================================= */
.highlight {
  font-weight: 700;
  color: #039939;
}

/* ============================================= */
/* Página de Contacto — menos espacio arriba de   */
/* las columnas de mapa/info + formulario         */
/* ============================================= */
.contact-page-tight {
  padding-top: 130px !important;
}

/* ============================================= */
/* Homepage — Cabecera de servicios              */
/* ============================================= */
.services-panel {
  background: #fff;
  border-radius: 20px;
  padding: 40px 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.services-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.services-header-title {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.services-header-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin: 0 auto;
  width: 80%;
}

/* ============================================= */
/* Homepage — Tarjetas de categorías             */
/* ============================================= */
/* ============================================= */
/* Breadcrumb + Page title (categorías/subs)     */
/* ============================================= */
.bg1 .list-unstyled {
  margin-bottom: 20px !important;
  padding: 12px 15px;
  border-bottom: 1px solid #e9ecef;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 10;
  border-radius: 8px;
  margin-top: 20px;
}

.bg1 .list-unstyled li a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.bg1 .list-unstyled li a:hover {
  color: #e07830 !important;
}

.bg1 h1 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.3px;
  margin-bottom: 0;
}

.products-page .list-unstyled {
  margin-bottom: 20px !important;
  padding: 12px 15px;
  border-bottom: 1px solid #e9ecef;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 10;
  border-radius: 8px;
  margin-top: 20px;
}

.products-page .list-unstyled li a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.products-page .list-unstyled li a:hover {
  color: #e07830 !important;
}

.products-page h1 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.3px;
  margin-bottom: 0;
}

.all-services { padding: 40px 0; }

.all-services .row > div {
  display: flex;
}

.all-services .category-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.all-services .category-card:hover {
  border-color: #039939;
  box-shadow: 0 4px 20px rgba(3,153,57,0.12);
}

.all-services .category-img {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #fafafa;
}

.all-services .category-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.all-services .category-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.all-services .category-title,
.all-services .category-content h3,
.all-services .category-content h4 {
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1em;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.all-services .category-content .description {
  color: #777;
  margin-bottom: 12px;
  flex: 1;
  line-height: 1.5;
  font-size: 0.85em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.all-services .category-content .buttons {
  margin-top: auto;
  padding-top: 8px;
}

.all-services .category-content .buttons .primary-btn {
  font-size: 0.85em;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #039939, #039939, #039939) !important;
  color: #fff !important;
  border: 1px solid rgba(0,0,0,0.2) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  gap: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.all-services .category-content .buttons .primary-btn i {
  color: #fff !important;
}

.all-services .category-content .buttons .primary-btn:hover {
  background: #fff !important;
  color: #1a1a1a !important;
  border-color: #039939 !important;
  box-shadow: 0 2px 12px rgba(3,153,57,0.3);
  text-shadow: none;
}

.all-services .category-content .buttons .primary-btn:hover i {
  color: #1a1a1a !important;
}

/* ============================================= */
/* Homepage — Sección About / Detalles           */
/* ============================================= */
.project-details {
  background: #f8f8f8;
}

.home-contact-form-box,
.home-contact-info {
  background: #fff;
  border-radius: 20px;
  padding: 40px 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  height: 100%;
}

.home-contact-info h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
}

.home-contact-info p {
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}

.home-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-contact-list a,
.home-contact-list span {
  color: #10271D;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
}

.home-contact-list a:hover {
  color: #039939;
}

.home-contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(48,88,76,.2);
  color: #039939;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-contact-map {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  aspect-ratio: 1 / 1;
}

.home-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================= */
/* Homepage — Etiquetas populares (estilo ficha)  */
/* ============================================= */
.home-tags-section {
  width: 100%;
  margin: 40px auto 0;
  padding: 28px 0 10px;
  border-top: 1px solid #e0e0e0;
}

.home-tags-section h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 18px;
}

.home-tags-section .product-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-tags-section .tag {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid #dedede;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  background: #fafafa;
  text-decoration: none;
  transition: all 0.2s;
}

.home-tags-section .tag:hover {
  color: #02672a;
  border-color: #039939;
  background: #f2faf4;
}


/* ============================================= */
/* Responsive                                    */
/* ============================================= */
@media (max-width: 768px) {
  .services-panel {
    padding: 28px 24px;
    border-radius: 16px;
  }
  .services-header { margin-bottom: 28px; }
  .services-header-title { font-size: 24px; }
  .services-header-desc { font-size: 14px; }

  .all-services .category-img { height: 140px; }
  .all-services .category-content { padding: 12px; }
  .all-services .category-title,
  .all-services .category-content h3 { font-size: 1em; }
  .all-services .category-content .description { font-size: 0.8em; }
  .all-services .category-content .buttons .primary-btn { font-size: 0.8em; padding: 8px 16px; }

  .home-contact-form-box,
  .home-contact-info { padding: 24px 20px; border-radius: 16px; }
  .home-contact-info h2 { font-size: 22px; }

  .bg1 .list-unstyled { margin-top: 70px !important; }
  .bg1 h1 { font-size: 24px; }
  .products-page .list-unstyled { margin-top: 70px !important; }
  .products-page h1 { font-size: 24px; }
  .all-services .category-content .buttons { flex-direction: column; gap: 8px; }
  .all-services .category-content .buttons .primary-btn { width: 100%; justify-content: center; }
}

@media (max-width: 1199px) {
  .bg1 .list-unstyled { margin-top: 80px !important; z-index: 100; }
  .products-page .list-unstyled { margin-top: 80px !important; z-index: 100; }
}

@media (max-width: 576px) {
  .bg1 .list-unstyled { display: none !important; }
  .bg1 { padding-top: 100px !important; }
  .products-page .list-unstyled { display: none !important; }
}
