/* Home page sections — Classic Industry */

/* Home SEO H1 bar */
.home-seo-head {
  background: var(--first-theme-color);
  padding: 14px 0;
  text-align: center;
}

.home-seo-head__title {
  margin: 0;
  font-family: "Teko", sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.3;
}

/* Home slider — company brand */
.home-slider-brand .slider-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 6px 16px;
  background: rgba(255, 89, 12, 0.9);
  color: #fff;
  font-family: "Teko", sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: 4px;
}

.home-slider-brand .slider-slide-title {
  color: #fff;
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 1px;
  margin: 0 0 1rem;
}

.home-slider-brand .slider-content {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  max-width: 560px;
}

.home-slider-brand .slider-stats {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-slider-brand .slider-stats li {
  flex: 1 1 100px;
  min-width: 90px;
  text-align: center;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.home-slider-brand .slider-stats strong {
  display: block;
  font-family: "Teko", sans-serif;
  font-size: 1.75rem;
  color: var(--second-theme-color);
  line-height: 1;
  font-weight: 600;
}

.home-slider-brand .slider-stats span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
}

.home-slider-brand--text .home-slider-brand__content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.home-slider-brand--text .slider-badge {
  margin-left: auto;
  margin-right: auto;
}

.home-slider-brand .slider-logo {
  margin: 0 0 1rem;
}

.home-slider-brand .slider-logo img {
  max-width: min(420px, 90vw);
  height: auto;
  display: inline-block;
}

.home-slider-brand .slider-subtitle {
  margin: 0 0 1rem;
  font-family: "Teko", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.95);
}

.home-slider-brand--text .slider-content {
  margin-left: auto;
  margin-right: auto;
}

.home-slider-brand--text .slider-stats {
  justify-content: center;
}

.home-slider-brand--text .sliderbtn {
  text-align: center;
}

#slider-cat .slider-slide-title a {
  color: #fff;
  font-size: 45px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: capitalize;
  letter-spacing: 2px;
}

#slider-cat .slider-slide-title a:hover {
  color: var(--second-theme-color);
}

#slider-cat .slider-slide-title::after,
.home-slider-brand .slider-slide-title::after {
  content: "";
  display: block;
  width: 15%;
  height: 4px;
  background-color: var(--second-theme-color);
  margin-top: 0;
}

#home-products .home-products-lead {
  margin: 0;
}

#home-products .home-section-more {
  text-align: center;
  margin-top: 2rem;
}

/* Product center page */
.product-center-wrap {
  background: linear-gradient(180deg, #f3f0ec 0%, #faf9f7 120px, #fff 100%);
  padding-bottom: 3rem;
}

.product-center-page .contentsecwrap {
  padding-top: 1.5rem;
}

.product-center-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.product-center-hero__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(37, 13, 1, 0.06);
}

.product-center-hero__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 6px 16px;
  background: rgba(255, 89, 12, 0.12);
  color: var(--second-theme-color);
  font-family: "Teko", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border-radius: 4px;
}

.product-center-hero__title {
  font-size: 2rem;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.product-center-hero__intro {
  color: #555;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 1.5rem;
}

/* Product search */
.product-search {
  margin-top: 1.25rem;
  text-align: left;
}

.product-search__inner {
  display: flex;
  align-items: stretch;
  max-width: 560px;
  margin: 0 auto;
  background: #faf9f8;
  border: 1px solid #e0dbd6;
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-search:focus-within .product-search__inner {
  border-color: var(--second-theme-color);
  box-shadow: 0 0 0 3px rgba(255, 89, 12, 0.15);
}

.product-search__icon {
  display: flex;
  align-items: center;
  padding: 0 14px 0 18px;
  color: #999;
  flex-shrink: 0;
}

.product-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 8px;
  font-size: 15px;
  color: var(--first-theme-color);
  outline: none;
}

.product-search__input::placeholder {
  color: #aaa;
}

.product-search__submit {
  flex-shrink: 0;
  border: none;
  background: var(--second-theme-color);
  color: #fff;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}

.product-search__submit:hover {
  background: var(--first-theme-color);
}

.product-search__clear {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--second-theme-color);
  text-decoration: none;
}

.product-search__clear:hover {
  color: var(--first-theme-color);
  text-decoration: underline;
}

.product-search--compact {
  margin: 0;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}

.product-search--compact .product-search__inner {
  margin: 0;
  max-width: none;
}

.home-products-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.home-products-actions .home-section-more {
  margin-top: 0;
}

.product-search-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #666;
}

.product-search-empty i {
  font-size: 2.5rem;
  color: #ccc;
  margin-bottom: 1rem;
  display: block;
}

.product-search-empty p {
  margin: 0 0 1.25rem;
  font-size: 15px;
}

.product-search-empty .button {
  display: inline-block;
}

.product-center-catalog__panel {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.75rem 2.5rem;
  box-shadow: 0 8px 32px rgba(37, 13, 1, 0.06);
}

.product-center-catalog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 89, 12, 0.2);
}

.product-center-catalog__title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.3;
}

.product-center-page .product-card,
.product-center-grid .product-card {
  display: flex;
  flex-direction: column;
  background: #faf9f8;
  border: 1px solid #ebe6e1;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-center-grid .product-card--linked:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 89, 12, 0.35);
  box-shadow: 0 14px 32px rgba(255, 89, 12, 0.14);
}

.product-center-grid .product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-center-grid .product-card__img {
  aspect-ratio: 1 / 1;
  background: #fff;
  flex-shrink: 0;
}

.product-center-grid .product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.product-center-grid .product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.15rem 1rem 1.25rem;
}

.product-center-grid .product-card__body h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-center-grid .product-card__body p {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  margin: 0.5rem 0 0;
  flex: 1;
}

.product-center-grid .product-card__more {
  margin-top: auto;
  padding-top: 0.75rem;
}

.home-section {
  position: relative;
  padding: 4rem 0;
}

.home-section--alt {
  background: linear-gradient(180deg, #f8f6f4 0%, #fff 100%);
}

.home-section-head {
  margin-bottom: 2.5rem;
}

.home-section-head.blog_bx {
  position: relative;
}

/* Shared section heading accent */
#home-about .home-section-head h2::after,
#home-partners .home-section-head h2::after,
#home-certificates .home-section-head h2::after,
#home-products .home-section-head h2::after,
#home-news .home-section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--second-theme-color);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ========== About ========== */
#home-about.home-section--about {
  background: linear-gradient(165deg, #faf8f6 0%, #fff 45%, #f5f0eb 100%);
  padding: 4.5rem 0;
}

#home-about .about-layout {
  max-width: 1140px;
  margin: 0 auto;
}

#home-about .about-unified-panel {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 10px 40px rgba(37, 13, 1, 0.07);
  border: 1px solid rgba(37, 13, 1, 0.05);
}

#home-about .about-strength-block {
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(37, 13, 1, 0.12);
}

#home-about .about-strength-text {
  margin: 0 0 1rem;
  color: #555;
  font-size: 13px;
  line-height: 1.75;
}

#home-about .about-certs-inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#home-about .about-panel-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(37, 13, 1, 0.08);
}

#home-about .about-panel-footer .about-stats {
  margin-bottom: 1.25rem;
}

#home-about .about-panel-footer .about-stat-card {
  background: #faf8f6;
  border-color: transparent;
  box-shadow: none;
}

#home-about .about-visual {
  position: relative;
  padding: 0 0.5rem 0.5rem 0;
}

#home-about .about-visual--factory {
  padding-right: 1rem;
  padding-bottom: 0.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#home-about .about-visual__frame {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(37, 13, 1, 0.12);
  border: 4px solid #fff;
}

#home-about .about-visual__frame--wide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

#home-about .about-visual__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

#home-about .about-visual__caption {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 14px;
  background: var(--first-theme-color);
  color: #fff;
  font-size: 13px;
  border-radius: 6px;
}

#home-about .about-visual__caption i {
  color: var(--second-theme-color);
}

#home-about .about-cert-card {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  background: linear-gradient(145deg, #faf8f6, #fff);
  border: 1px solid #ebe6e1;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(37, 13, 1, 0.05);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

#home-about .about-cert-card:hover {
  box-shadow: 0 8px 24px rgba(255, 89, 12, 0.1);
  border-color: rgba(255, 89, 12, 0.25);
}

#home-about .about-cert-card__frame {
  flex: 0 0 42%;
  max-width: 200px;
  background: #fff;
  border: 1px solid #f0ebe6;
  border-radius: 8px;
  padding: 8px;
  overflow: hidden;
}

#home-about .about-cert-card__frame img {
  width: 100%;
  min-height: 72px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
  border-radius: 4px;
}

#home-about .about-cert-card figcaption {
  flex: 1;
  margin: 0;
  text-align: left;
  font-size: 13px;
  color: var(--first-theme-color);
  line-height: 1.5;
  font-weight: 600;
}

#home-about .about-visual__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  background: var(--second-theme-color);
  color: #fff;
  font-family: "Teko", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 500;
}

#home-about .about-visual__accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 75%;
  background: var(--first-theme-color);
  border-radius: 12px;
  z-index: 1;
  opacity: 0.08;
}

#home-about .about-content {
  padding-left: 0.5rem;
}

#home-about .about-lead {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 6px 16px;
  background: rgba(255, 89, 12, 0.1);
  color: var(--second-theme-color);
  font-family: "Teko", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 1px;
  border-left: 3px solid var(--second-theme-color);
  border-radius: 0 4px 4px 0;
}

#home-about .about-text {
  color: #444;
  line-height: 1.9;
  margin: 0 0 1rem;
  font-size: 15px;
  text-align: justify;
}

#home-about .about-text--muted {
  color: #666;
  font-size: 14px;
}

#home-about .about-values {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#home-about .about-values li span {
  display: inline-block;
  padding: 8px 16px;
  background: var(--first-theme-color);
  color: #fff;
  font-size: 13px;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

#home-about .about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 0;
}

#home-about .about-stat-card {
  text-align: center;
  padding: 1.1rem 0.5rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(37, 13, 1, 0.06);
  box-shadow: 0 4px 16px rgba(37, 13, 1, 0.05);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

#home-about .about-stat-card:hover {
  border-color: rgba(255, 89, 12, 0.35);
  transform: translateY(-3px);
}

#home-about .about-stat-card strong {
  display: block;
  font-family: "Teko", sans-serif;
  font-size: 2.1rem;
  color: var(--second-theme-color);
  line-height: 1;
  font-weight: 600;
}

#home-about .about-stat-card span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--first-theme-color);
  line-height: 1.3;
}

#home-about .about-cta .slide-btn a,
#home-about .about-cta a {
  margin-top: 0;
}

/* Products */
#home-products .product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(37, 13, 1, 0.1);
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#home-products .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(255, 89, 12, 0.18);
}

#home-products .product-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eee8e4;
}

#home-products .product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#home-products .product-card:hover .product-card__img img {
  transform: scale(1.05);
}

#home-products .product-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  text-align: center;
}

#home-products .product-card__body h3 {
  font-size: 1.15rem;
  margin: 0;
  text-transform: capitalize;
  color: var(--first-theme-color);
}

#home-products .product-card__body p {
  margin: 0.5rem 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

#home-products .product-placeholder-badge,
.product-card__img .product-placeholder-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--first-theme-color);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  opacity: 0.85;
  z-index: 2;
}

.product-card--linked .product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

#home-products .product-card--linked:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(255, 89, 12, 0.18);
}

.product-card__more {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--second-theme-color);
}

.product-center-catalog__count {
  font-size: 0.9rem;
  color: #fff;
  background: var(--second-theme-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.product-center-pagination {
  margin-top: 2.5rem;
  text-align: center;
}

.product-center-pagination .page-numbers {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-center-pagination a,
.product-center-pagination span {
  display: inline-block;
  min-width: 38px;
  padding: 8px 12px;
  border: 1px solid #e0dbd6;
  border-radius: 6px;
  color: var(--first-theme-color);
  text-decoration: none;
}

.product-center-pagination .current {
  background: var(--second-theme-color);
  border-color: var(--second-theme-color);
  color: #fff;
}

.product-center-empty {
  text-align: center;
  color: #666;
  padding: 2rem 0;
}

/* HCN product single */
.hcn-product-single__shell {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 10px 40px rgba(37, 13, 1, 0.08);
}

.hcn-product-single__back {
  margin-bottom: 1.25rem;
}

.hcn-product-single__back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--second-theme-color);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
}

.hcn-product-single__back a:hover {
  color: var(--first-theme-color);
}

.hcn-product-single__media-box {
  position: sticky;
  top: 100px;
}

.hcn-product-single__label {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 4px 14px;
  background: rgba(255, 89, 12, 0.12);
  color: var(--second-theme-color);
  font-family: "Teko", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 1px;
  border-radius: 4px;
}

.hcn-product-single__title {
  font-size: 1.85rem;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.hcn-product-panel {
  background: #faf9f8;
  border: 1px solid #ebe6e1;
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}

.hcn-product-panel__title {
  font-size: 1.2rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--second-theme-color);
  display: inline-block;
}

.hcn-product-panel__body {
  color: #444;
  line-height: 1.85;
  font-size: 15px;
}

/* Product gallery (native, no Owl) */
.hcn-gallery__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid #ebe6e1;
  border-radius: 12px;
  overflow: hidden;
}

.hcn-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.hcn-gallery__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hcn-gallery__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.hcn-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--first-theme-color);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: background 0.25s ease;
}

.hcn-gallery__nav:hover {
  background: var(--second-theme-color);
}

.hcn-gallery__prev {
  left: 12px;
}

.hcn-gallery__next {
  right: 12px;
}

.hcn-gallery__counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(37, 13, 1, 0.75);
  color: #fff;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 20px;
}

.hcn-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.hcn-gallery__thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid #e0dbd6;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hcn-gallery__thumb.is-active,
.hcn-gallery__thumb:hover {
  border-color: var(--second-theme-color);
  box-shadow: 0 4px 12px rgba(255, 89, 12, 0.2);
}

.hcn-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hcn-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hcn-spec-table th,
.hcn-spec-table td {
  border: 1px solid #e8e2dc;
  padding: 10px 12px;
  text-align: center;
}

.hcn-spec-table thead th,
.hcn-spec-table tbody th[scope="row"] {
  background: #faf8f6;
  color: var(--first-theme-color);
  font-weight: 600;
}

#home-products .home-section-more {
  text-align: center;
  margin-top: 2rem;
}

/* ========== Partners ========== */
#home-partners.home-section--partners {
  background: #fff;
  padding: 4.5rem 0;
  border-top: 1px solid rgba(37, 13, 1, 0.06);
  border-bottom: 1px solid rgba(37, 13, 1, 0.06);
}

#home-partners .partners-intro {
  max-width: 820px;
  margin: -1rem auto 2.5rem;
  text-align: center;
  color: #555;
  font-size: 15px;
  line-height: 1.85;
}

#home-partners .partners-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

#home-partners .partners-wall__item {
  min-width: 0;
}

#home-partners .partners-wall__card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 14px 18px;
  background: #fafafa;
  border: 1px solid #ebe6e1;
  border-radius: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

#home-partners .partners-wall__card:hover {
  background: #fff;
  border-color: var(--second-theme-color);
  box-shadow: 0 8px 28px rgba(255, 89, 12, 0.12);
}

#home-partners .partners-wall__card img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%) opacity(0.92);
  transition: filter 0.3s ease, transform 0.3s ease;
}

#home-partners .partners-wall__card:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.04);
}

/* ========== Certificates ========== */
#home-certificates.home-section--certs {
  background: linear-gradient(180deg, #f0ebe5 0%, #faf8f6 50%, #fff 100%);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

#home-certificates.home-section--certs::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 89, 12, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

#home-certificates .certs-intro {
  max-width: 780px;
  margin: -1rem auto 1.75rem;
  text-align: center;
  color: #555;
  font-size: 15px;
  line-height: 1.85;
}

#home-certificates .certs-tags {
  list-style: none;
  margin: 0 auto 2.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
}

#home-certificates .certs-tags li {
  padding: 8px 18px;
  font-size: 13px;
  color: var(--first-theme-color);
  background: #fff;
  border: 1px solid rgba(37, 13, 1, 0.1);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(37, 13, 1, 0.04);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

#home-certificates .certs-tags li:hover {
  color: #fff;
  background: var(--second-theme-color);
  border-color: var(--second-theme-color);
}

#home-certificates .certs-showcase {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 12px 40px rgba(37, 13, 1, 0.08);
  border: 1px solid rgba(37, 13, 1, 0.05);
  max-width: 1100px;
  margin: 0 auto;
}

#home-certificates .cert-carousel-wrap {
  padding: 0 2.5rem;
}

#home-certificates .cert-item {
  padding: 0 12px;
}

#home-certificates .cert-frame {
  margin: 0;
  padding: 0;
}

#home-certificates .cert-frame__inner {
  background: linear-gradient(145deg, #fff 0%, #f8f5f2 100%);
  border-radius: 10px;
  padding: 16px 20px 20px;
  border: 1px solid #e8e2dc;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 20px rgba(37, 13, 1, 0.08);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#home-certificates .cert-frame__inner::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed rgba(255, 89, 12, 0.2);
  border-radius: 6px;
  pointer-events: none;
}

#home-certificates .cert-frame__inner img {
  position: relative;
  z-index: 1;
  max-height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

#home-certificates .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--first-theme-color) !important;
  color: #fff !important;
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  font-size: 18px !important;
  border: 2px solid #fff !important;
  box-shadow: 0 4px 14px rgba(37, 13, 1, 0.2);
  line-height: 1;
  transition: background 0.25s ease;
}

#home-certificates .owl-nav button:hover {
  background: var(--second-theme-color) !important;
}

#home-certificates .owl-nav .owl-prev {
  left: 4px;
}

#home-certificates .owl-nav .owl-next {
  right: 4px;
}

#home-certificates .owl-dots {
  margin-top: 1.25rem;
  text-align: center;
}

#home-certificates .owl-dots .owl-dot {
  background: #d5d0cb !important;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin: 0 5px;
}

#home-certificates .owl-dots .owl-dot.active {
  background: var(--second-theme-color) !important;
  transform: scale(1.2);
}

/* News */
#home-news .news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(37, 13, 1, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

#home-news .news-card:hover {
  box-shadow: 0 10px 28px rgba(255, 89, 12, 0.15);
}

#home-news .news-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

#home-news .news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

#home-news .news-card:hover .news-card__thumb img {
  transform: scale(1.06);
}

#home-news .news-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#home-news .news-card__date {
  font-size: 12px;
  color: var(--second-theme-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#home-news .news-card__body h3 {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

#home-news .news-card__body h3 a {
  color: var(--first-theme-color);
  text-decoration: none;
}

#home-news .news-card__body h3 a:hover {
  color: var(--second-theme-color);
}

#home-news .news-card__excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}

#home-news .news-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--second-theme-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#home-news .news-card__link:hover {
  color: var(--first-theme-color);
}

#home-news .home-section-more {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 991px) {
  #home-about .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  #home-partners .partners-wall {
    grid-template-columns: repeat(4, 1fr);
  }

  #home-certificates .cert-carousel-wrap {
    padding: 0 1.5rem;
  }
}

@media (max-width: 767px) {
  .home-section {
    padding: 2.75rem 0;
  }

  #home-about.home-section--about,
  #home-partners.home-section--partners,
  #home-certificates.home-section--certs {
    padding: 2.75rem 0;
  }

  #home-about .about-visual {
    padding: 0 0 1rem;
    margin-bottom: 0.5rem;
  }

  #home-about .about-content {
    padding-left: 0;
  }

  #home-about .about-text {
    text-align: left;
  }

  #home-about .about-unified-panel {
    padding: 1.25rem 1rem 1rem;
    border-radius: 12px;
  }

  #home-about .about-certs-inline {
    gap: 10px;
  }

  #home-about .about-cert-card {
    gap: 10px;
    padding: 8px 10px;
  }

  #home-about .about-cert-card__frame {
    flex: 0 0 38%;
    max-width: 160px;
  }

  #home-about .about-cert-card__frame img {
    min-height: 60px;
  }

  #home-about .about-cert-card figcaption {
    font-size: 12px;
  }

  #home-partners .partners-wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  #home-partners .partners-wall__card {
    height: 72px;
    padding: 10px 12px;
  }

  #home-partners .partners-wall__card img {
    max-height: 40px;
  }

  #home-partners .partners-intro,
  #home-certificates .certs-intro {
    font-size: 14px;
    margin-bottom: 1.5rem;
  }

  #home-certificates .certs-showcase {
    padding: 1.25rem 0.5rem 1rem;
    border-radius: 12px;
  }

  #home-certificates .cert-carousel-wrap {
    padding: 0 2rem;
  }

  #home-certificates .cert-frame__inner {
    height: 200px;
    padding: 12px;
  }

  #home-certificates .cert-frame__inner img {
    max-height: 165px;
  }

  #home-certificates .certs-tags li {
    font-size: 12px;
    padding: 6px 12px;
  }

  .product-center-hero__inner {
    padding: 1.5rem 1rem;
  }

  .product-center-catalog__panel {
    padding: 1.25rem 1rem 1.5rem;
  }

  .product-center-catalog__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hcn-product-single__shell {
    padding: 1rem;
  }

  .hcn-product-single__media-box {
    position: static;
  }

  .hcn-product-single__title {
    font-size: 1.5rem;
  }

  .hcn-gallery__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }

  .product-search__inner {
    border-radius: 12px;
    flex-wrap: wrap;
  }

  .product-search__submit {
    width: 100%;
    padding: 12px;
    border-radius: 0 0 12px 12px;
  }

  .home-products-actions {
    flex-direction: column;
  }

  .product-search--compact {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  #home-partners .partners-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}
