/* ---------- Home (index) — adaptive layout, rhythm aligned with about-us (fluid margins + breakpoints) ---------- */

.home-hero-title {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw + 0.85rem, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.page-layout #home .hero-grid {
  align-items: stretch;
}

body.page-layout #home .hero-content {
  min-width: 0;
  flex: 3 2 min(100%, 380px);
}

body.page-layout #home .hero-media {
  min-width: 0;
  flex: 1 1 260px;
}

body.page-layout #home .subtitle {
  max-width: min(56ch, 100%);
  font-size: clamp(0.875rem, 0.2vw + 0.82rem, 0.95rem);
}
.hero{
  background-image: url('./static/home/banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.image-hero img {
  width: 246px;
  height: 584px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 246 / 584;
  object-fit: contain;
}

.image-about img {
  width: 680px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

body.page-layout .vision .container {
  text-align: center;
}

.vision-subtitle {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: #000;
  line-height: 1.4;
  text-align: center;
}

.vision-desc {
  margin: 0 0 clamp(20px, 3vw, 36px);
  font-weight: 400;
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: #454f5e;
  line-height: 1.6;
  text-align: center;
}

.image-vision {
  display: flex;
  justify-content: center;
}

.image-vision img {
  width: min(1160px, calc(100% - 32px));
  max-width: 100%;
  height: auto;
  aspect-ratio: 1160 / 322;
  object-fit: contain;
}

@media (max-width: 1200px) {
  body.page-layout #home .product-grid {
    gap: clamp(36px, 5vw, 96px);
  }

  body.page-layout #home .operations-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 36px);
  }
}

@media (max-width: 980px) {
  .image-hero img {
    width: auto;
    max-width: 220px;
    max-height: 520px;
  }
}

@media (max-width: 520px) {
  body.page-layout #home .operations-machines {
    grid-template-columns: 1fr;
    max-width: min(280px, 100%);
    margin-inline: auto;
  }
}

.product-details{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- Reach cards (About-us style) ---------- */
body.page-layout #home .reach .about-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 1.8vw, 22px);
}

@media (min-width: 720px) {
  body.page-layout #home .reach .about-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.page-layout #home .reach a.about-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

body.page-layout #home .reach .about-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.page-layout #home .reach .about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

body.page-layout #home .reach .about-card img {
  display: block;
  width: 100%;
  height: 100%;
}

body.page-layout #home .reach .about-card-label {
  position: absolute;
  left: clamp(14px, 2vw, 22px);
  bottom: clamp(12px, 1.8vw, 20px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

body.page-layout #home .reach .about-card-eyebrow {
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

body.page-layout #home .reach .about-card-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}