/**
 * HD CLC Unified — shared Home / About / Contact presentation utilities.
 * Scoped component styles and shared CTA, section-heading, stats and process rules.
 */
.hdclc-home {
  --hd-green: #176b3a;
  --hd-green-dark: #0f4d29;
  --hd-dark: #22362a;
  --hd-muted: #53665a;
  --hd-line: #d9e3dc;
  --hd-bg: #f4f7f5;
  --hd-white: #fff;
  font-family: "Roboto", Arial, Helvetica, sans-serif !important;
  color: var(--hd-dark);
  line-height: 1.55;
  max-width: 100%;
  overflow-x: hidden;
}

.hdclc-home *,
.hdclc-home *::before,
.hdclc-home *::after {
  box-sizing: border-box;
}

.hdclc-home a {
  text-decoration: none;
  color: inherit;
}

.hdclc-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== HERO ========== */
.hdclc-home-hero {
  color: #103e27;
  background: #fff;
}

.hdclc-home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  background: #f8f5ed;
}

.hdclc-home-hero-copy {
  align-self: center;
  padding: clamp(24px, 4vw, 72px);
}

.hdclc-home-hero h1 {
  color: #103e27;
  font-size: clamp(30px, 4vw, 64px);
  line-height: 1.08;
  margin: 0 0 20px;
}

.hdclc-home-hero-lead {
  font-size: clamp(16px, 1.6vw, 23px);
  margin: 0 0 28px;
}

.hdclc-home-hero-copy .hdclc-home-btn-primary {
  background: #10552d;
  color: #fff !important;
}

.hdclc-home-hero-copy .hdclc-home-btn-primary:hover {
  background: #0b4023;
}

.hdclc-home-warehouse-strip {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 5vw, 72px);
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid #dce9e1;
}

@media (max-width: 767px) {
  .hdclc-home-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hdclc-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hdclc-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
  line-height: 1.2;
}

.hdclc-home-btn:hover {
  transform: translateY(-1px);
}

.hdclc-home-btn-primary {
  background: #fff;
  color: var(--hd-green-dark) !important;
}

.hdclc-home-btn-primary:hover {
  background: #f0faf4;
}

.hdclc-home-btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.45);
}

.hdclc-home-btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

/* ========== STATS ========== */
.hdclc-home-stats {
  background: var(--hd-white);
  border-bottom: 1px solid var(--hd-line);
  padding: 28px 24px;
}

.hdclc-home-stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}

@media (min-width: 700px) {
  .hdclc-home-stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hdclc-home-stat {
  text-align: center;
}

.hdclc-home-stat b {
  display: block;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--hd-green);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hdclc-home-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--hd-muted);
  font-weight: 500;
  line-height: 1.35;
}

/* ========== SECTION COMMON ========== */
.hdclc-home-section {
  padding: 56px 24px;
}

.hdclc-home-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hdclc-home-section-head {
  text-align: center;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hdclc-home-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hd-green);
  margin-bottom: 10px;
}

.hdclc-home-section-head h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--hd-dark) !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hdclc-home-section-head p {
  margin: 0;
  font-size: 16px;
  color: var(--hd-muted);
  line-height: 1.55;
}

/* ========== CATALOG TEASER ========== */
.hdclc-home-catalog {
  background: var(--hd-white);
}

.hdclc-home-catalog-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

@media (min-width: 700px) {
  .hdclc-home-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hdclc-home-cat-card {
  border: 1px solid var(--hd-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--hd-white);
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.hdclc-home-cat-card:hover {
  border-color: var(--hd-green);
  box-shadow: 0 10px 28px rgba(23, 107, 58, .12);
}

.hdclc-home-cat-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e8f0eb;
  overflow: hidden;
}

.hdclc-home-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.hdclc-home-cat-card:hover .hdclc-home-cat-media img {
  transform: scale(1.04);
}

.hdclc-home-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hd-green);
  background: rgba(255,255,255,.95);
  padding: 5px 12px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.hdclc-home-cat-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.hdclc-home-cat-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--hd-dark) !important;
}

.hdclc-home-cat-card p {
  margin: 0;
  font-size: 14px;
  color: var(--hd-muted);
  flex: 1;
}

.hdclc-home-cat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hd-dark);
}

.hdclc-home-cat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hdclc-home-btn-sm {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 7px;
}

.hdclc-home-btn-outline {
  background: transparent;
  color: var(--hd-green) !important;
  border: 1.5px solid var(--hd-green);
}

.hdclc-home-btn-outline:hover {
  background: #e8f5ee;
}

.hdclc-home-btn-solid {
  background: var(--hd-green);
  color: #fff !important;
  border: 1.5px solid var(--hd-green);
}

.hdclc-home-btn-solid:hover {
  background: var(--hd-green-dark);
  border-color: var(--hd-green-dark);
}

.hdclc-home-catalog-cta {
  text-align: center;
  padding-top: 8px;
}

/* ========== ADVANTAGES ========== */
.hdclc-home-adv {
  background: var(--hd-bg);
}

.hdclc-home-adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .hdclc-home-adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .hdclc-home-adv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hdclc-home-adv-card {
  background: var(--hd-white);
  border: 1px solid var(--hd-line);
  border-radius: 12px;
  padding: 24px 22px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.hdclc-home-adv-card:hover {
  border-color: #b8d4c4;
  box-shadow: 0 6px 20px rgba(23, 107, 58, .08);
}

.hdclc-home-adv-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f5ee;
  color: var(--hd-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hdclc-home-adv-icon svg {
  display: block;
}

.hdclc-home-adv-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--hd-dark) !important;
}

.hdclc-home-adv-card p {
  margin: 0;
  font-size: 14px;
  color: var(--hd-muted);
  line-height: 1.5;
}

/* ========== APPLICATIONS ========== */
.hdclc-home-apps {
  background: var(--hd-white);
}

.hdclc-home-apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .hdclc-home-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .hdclc-home-apps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hdclc-home-app-item {
  background: var(--hd-white);
  border: 1px solid var(--hd-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.hdclc-home-app-item:hover {
  border-color: var(--hd-green);
  box-shadow: 0 8px 22px rgba(23, 107, 58, .1);
}

.hdclc-home-app-media {
  aspect-ratio: 4 / 3;
  background: #e8f0eb;
  overflow: hidden;
}

.hdclc-home-app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.hdclc-home-app-item:hover .hdclc-home-app-media img {
  transform: scale(1.05);
}

.hdclc-home-app-body {
  padding: 14px 16px 16px;
  text-align: center;
}

.hdclc-home-app-body strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--hd-dark);
}

.hdclc-home-app-body span {
  font-size: 13px;
  color: var(--hd-muted);
}

/* ========== CTA BANNER ========== */
.hdclc-home-cta-banner {
  background: linear-gradient(135deg, #0f4d29 0%, #176b3a 100%);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}

.hdclc-home-cta-banner-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hdclc-home-cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #fff !important;
  line-height: 1.25;
}

.hdclc-home-cta-banner p {
  margin: 0 0 24px;
  font-size: 16px;
  opacity: .92;
  line-height: 1.5;
}

.hdclc-home-cta-banner .hdclc-home-hero-actions {
  justify-content: center;
}

/* ========== PROCESS ========== */
.hdclc-home-process {
  background: var(--hd-bg);
}

.hdclc-home-process-list {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .hdclc-home-process-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hdclc-home-step {
  position: relative;
  padding: 20px 16px 20px 20px;
  background: var(--hd-white);
  border-radius: 0 10px 10px 0;
  border: 1px solid var(--hd-line);
  border-left: 3px solid var(--hd-green);
}

@media (min-width: 700px) {
  .hdclc-home-step {
    border-left: 1px solid var(--hd-line);
    border-top: 3px solid var(--hd-green);
    border-radius: 0 0 10px 10px;
    padding: 24px 18px;
  }
}

.hdclc-home-step-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--hd-green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 6px;
  margin-bottom: 12px;
}

.hdclc-home-step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hd-dark) !important;
}

.hdclc-home-step p {
  margin: 0;
  font-size: 13px;
  color: var(--hd-muted);
  line-height: 1.45;
}

/* ========== FINAL CONTACT ========== */
.hdclc-home-contact {
  background: var(--hd-white);
  padding: 48px 24px 64px;
}

.hdclc-home-contact-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--hd-bg);
  border: 1px solid var(--hd-line);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}

.hdclc-home-contact-logo {
  margin-bottom: 16px;
}

.hdclc-home-contact-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(23, 107, 58, .1);
}

.hdclc-home-contact-box h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--hd-dark) !important;
}

.hdclc-home-contact-box > p {
  margin: 0 0 24px;
  color: var(--hd-muted);
  font-size: 15px;
}

.hdclc-home-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hdclc-home-contact-info {
  display: grid;
  gap: 12px;
  text-align: left;
  font-size: 14px;
  color: var(--hd-muted);
  border-top: 1px solid var(--hd-line);
  padding-top: 20px;
}

@media (min-width: 600px) {
  .hdclc-home-contact-info {
    grid-template-columns: 1fr 1fr;
  }
}

.hdclc-home-contact-info strong {
  display: block;
  color: var(--hd-dark);
  font-weight: 600;
  margin-bottom: 2px;
}

/* Responsive tweaks */
@media (max-width: 599px) {
  .hdclc-home-section {
    padding: 40px 18px;
  }
  .hdclc-home-contact-box {
    padding: 28px 18px;
  }
}

/* ========== HERO SLIDER ========== */
.hdclc-home-slide-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e6ebe6;
}

.hdclc-home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
}

.hdclc-home-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hdclc-home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hdclc-home-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: #fff;
}

.hdclc-home-slider-dots button {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #103e27;
  font-size: 26px;
  cursor: pointer;
}

.hdclc-home-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8c9890;
}

.hdclc-home-dot.is-active::before {
  background: #103e27;
}

@media (prefers-reduced-motion: reduce) {
  .hdclc-home-slide {
    transition: none;
  }
}

/* Optional administrator-uploaded advantage icons */
.hdclc-home-adv-custom-icon{display:block;width:34px;height:34px;object-fit:contain}
