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

/* ============================================= */
/* Homepage — Cabecera de servicios              */
/* ============================================= */
.services-header {
  background: #fff;
  border-radius: 20px;
  padding: 40px 48px;
  margin-bottom: 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-header-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', 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;
  max-width: 600px;
}

/* ============================================= */
/* 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: 'Playfair Display', Georgia, 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: 'Playfair Display', Georgia, 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: #e07830;
  box-shadow: 0 4px 20px rgba(224,120,48,0.12);
}

.all-services .category-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.all-services .category-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
  box-sizing: border-box;
}

.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: 'Playfair Display', Georgia, 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: 999px !important;
  background: linear-gradient(135deg, #2db84b, #34c759, #28a745) !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: #e07830 !important;
  box-shadow: 0 2px 12px rgba(224,120,48,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;
}

.project-details .details-content {
  background: #fff;
  border-radius: 20px;
  padding: 40px 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.project-details .details-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
}

.project-details .details-content h3,
.project-details .details-content h4,
.project-details .details-content h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 20px;
}

.project-details .details-content h3 { font-size: 22px; }
.project-details .details-content h4 { font-size: 20px; }
.project-details .details-content h5 { font-size: 18px; }

.project-details .details-content p {
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}

.project-details .details-content ul {
  color: #555;
  line-height: 1.8;
  font-size: 15px;
  padding-left: 20px;
}

.project-details .details-content .tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #555;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #ddd;
}

.project-details .details-content .tag:hover {
  background: #e07830;
  color: #fff;
  border-color: #e07830;
}


/* ============================================= */
/* Responsive                                    */
/* ============================================= */
@media (max-width: 768px) {
  .services-header {
    padding: 28px 24px;
    border-radius: 16px;
    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; }

  .project-details .details-content { padding: 24px 20px; border-radius: 16px; }
  .project-details .details-content h2 { font-size: 22px; }
  .project-details .details-content h3 { font-size: 18px; }

  .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; }
}
