/* Homepage presentation; existing section order and grids are preserved. */
body.home-page.home-refined {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #292e2e;
  background: #f6f5f2;
}

body.home-refined::before {
  background-image:
    linear-gradient(180deg, rgb(13 17 19 / 40%), rgb(13 17 19 / 56%)),
    url('/images/indexbg.png');
}

.home-refined main {
  background: transparent;
}
.home-refined .sec1 {
  height: 90svh;
  min-height: 680px;
  padding: 172px 24px 76px;
  gap: 0;
}
.home-refined .sec1::before {
  content: 'BERAT KABLO';
  color: #e1e3df;
  letter-spacing: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 26px;
}
.home-refined .hero-sec-text {
  max-width: 850px;
  font-size: clamp(42px, 5.5vw, 76px) !important;
  font-weight: 600;
  line-height: 1.08 !important;
  letter-spacing: -2.8px;
  margin-bottom: 26px;
  text-wrap: balance;
}
.home-refined .sec1 p {
  max-width: 570px;
  color: #dedfdd !important;
  font-size: 17px !important;
  line-height: 1.85;
  margin-bottom: 34px;
}
.home-refined main .metal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 11px 20px !important;
  min-height: 46px;
  border: 1px solid #b21e27;
  border-radius: 4px;
  color: #fff !important;
  background: #b21e27;
  box-shadow: none;
  font-size: 14px !important;
  font-weight: 600;
}
.home-refined main .metal-btn::after {
  content: '↗';
  font-size: 18px;
  font-weight: 400;
}
.home-refined main .metal-btn:hover {
  background: #971b22;
  border-color: #971b22;
  transform: translateY(-2px);
}
.home-refined main :is(a, button, [tabindex]):focus-visible {
  outline: 2px solid #b21e27;
  outline-offset: 5px;
}
.home-refined main :is(h2, .sectors-heading h3, .cta-box h3) {
  font-size: clamp(28px, 3vw, 38px) !important;
  font-weight: 600;
  line-height: 1.25 !important;
  letter-spacing: -1.1px;
  text-wrap: balance;
}
.home-refined .section-silver {
  background: #f6f5f2;
  padding: 88px 24px;
}
.home-refined .section-silver h2 {
  margin-bottom: 42px;
}
.home-refined .section-silver .grid {
  gap: 20px;
  counter-reset: category;
}
.home-refined .product-index {
  position: relative;
  background: #fff !important;
  border: 1px solid #dedfda !important;
  border-radius: 8px;
  padding: 28px;
  box-shadow: none;
  counter-increment: category;
}
.home-refined .product-index::before {
  content: counter(category, decimal-leading-zero);
  display: block;
  color: #9caaa7;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.home-refined .product-index h3 {
  font-size: 20px !important;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}
.home-refined .product-index p {
  color: #747b77 !important;
  font-size: 14px !important;
  line-height: 1.85;
}
.home-refined .product-index:hover {
  border-color: #b7bdb7 !important;
  box-shadow: 0 10px 30px rgb(32 41 34 / 4%);
}
.home-refined .stats-dark {
  background: #222827;
  padding: 46px 0;
}
.home-refined .stats-dark .grid > div + div {
  border-left: 1px solid #444d49;
}
.home-refined .stats-dark .text-4xl {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -1.7px;
  margin-bottom: 10px;
  color: #f6f6f1 !important;
}
.home-refined .stats-dark .text-gray-600 {
  font-size: 13px;
  color: #a8b1ad !important;
}
.home-refined .about-grid {
  max-width: none;
  background:
    linear-gradient(90deg, rgb(14 19 21 / 83%), rgb(14 19 21 / 58%)),
    url('/images/indexbg.png') center 55% / cover no-repeat;
  padding: 88px 24px;
}
.home-refined .about-grid > div {
  max-width: 1104px;
  margin: 0 auto;
}
.home-refined .about-grid .info-text {
  color: #fff !important;
  max-width: 700px;
  margin-bottom: 22px;
}
.home-refined .about-grid .info-text2 {
  color: #e0e3e1 !important;
  max-width: 820px;
  font-size: 16px !important;
  line-height: 1.95;
}
.home-refined .about-grid .metal-btn {
  color: #fff !important;
  background: rgb(255 255 255 / 7%);
  border-color: rgb(255 255 255 / 42%);
  margin-top: 28px;
}
.home-refined .about-grid .metal-btn:hover {
  background: rgb(255 255 255 / 16%);
}
.home-refined .machines-gallery-section {
  padding: 70px 24px 80px;
  background: #eeefeb;
  border: 0;
  border-top: 1px solid #dde0d8;
}
.home-refined .machines-gallery-inner {
  width: min(100%, 900px);
}
.home-refined .machines-gallery-heading {
  margin-bottom: 36px;
}
.home-refined .machine-showcase {
  border: 1px solid #d8ded5;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgb(40 50 40 / 4%);
}
.home-refined .machine-showcase-info {
  background: linear-gradient(125deg, #e2e5df, #f7f8f5);
  padding: 30px 40px;
}
.home-refined .machine-showcase-info h3 {
  color: #303931 !important;
  font-size: clamp(20px, 2vw, 28px) !important;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.6px;
  max-width: 100%;
}
.home-refined .machine-showcase-info span {
  color: #758173;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.home-refined .machine-nav {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #d4d9d0;
  color: #424d40;
  font-size: 0 !important;
}
.home-refined .machine-nav:hover {
  background: #344131;
  border-color: #344131;
}
.home-refined .machine-dots button {
  background: #acb6a8;
}
.home-refined .machine-dots button.active {
  background: #af2026;
}
.home-refined .sectors-section {
  padding: 88px 0;
  background: #202625 !important;
}
.home-refined .sectors-section::before {
  background: none;
}
.home-refined .sectors-heading {
  margin-bottom: 40px;
  row-gap: 18px;
}
.home-refined .sectors-heading > span {
  padding: 0;
  background: none;
  border: 0;
  color: #aab3ae;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
}
.home-refined .sectors-heading p {
  color: #b2bab5 !important;
  line-height: 1.85;
  font-size: 14px !important;
}
.home-refined .sectors-grid {
  gap: 20px;
}
.home-refined .sector-logo {
  border: 1px solid #4c5550 !important;
  border-radius: 6px;
  box-shadow: none;
}
.home-refined .sector-content {
  left: 22px;
  right: 22px;
  bottom: 22px;
}
.home-refined .sector-content small {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #d5dcd5;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.home-refined .sector-content span {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  text-shadow: none;
}
.home-refined .sector-logo:hover {
  box-shadow: none;
  border-color: #959f97 !important;
}
.home-refined .featured-products-section {
  max-width: none;
  padding: 88px 24px;
  background: #f6f5f2;
}
.home-refined .text-highlights {
  max-width: 1104px;
  margin: 0 auto 40px;
  color: #2b302d !important;
}
.home-refined .featured-products-grid {
  max-width: 1104px;
  margin: 0 auto;
  gap: 24px;
}
.home-refined .featured-product-card.highlights-box-index {
  border: 1px solid #dcdfd7 !important;
  border-radius: 8px !important;
  box-shadow: none;
}
.home-refined .featured-product-media {
  height: 210px;
  padding: 26px;
  border-bottom-color: #eeefeb;
}
.home-refined .featured-product-body {
  padding: 24px;
  background: #fff;
}
.home-refined .featured-product-body span {
  color: #8b9488;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: none;
}
.home-refined .featured-product-body h3 {
  margin: 12px 0 10px;
  font-size: 18px !important;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.3px;
}
.home-refined .featured-product-body p {
  color: #7c867a !important;
  font-size: 12px !important;
  font-weight: 400;
}
.home-refined .featured-product-card:hover {
  border-color: #aab3a4 !important;
  box-shadow: 0 10px 24px rgb(38 50 36 / 5%);
  transform: translateY(-3px);
}
.home-refined main > section:last-of-type {
  background: #e9ece6;
  border-top: 1px solid #d7ddd1;
}
.home-refined .cta-box {
  padding-top: 64px;
  padding-bottom: 64px;
}
.home-refined main .cta-box h3 {
  max-width: 650px;
  color: #2f382e !important;
  font-size: 30px !important;
}
.home-refined .cta-box p {
  color: #74806f !important;
  font-size: 14px !important;
  margin-top: 14px;
}
.home-refined .cta-box .metal-btn {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .home-refined .sec1 {
    padding-top: 184px;
  }
}
@media (max-width: 820px) {
  .home-refined .machine-showcase-info {
    height: auto;
    min-height: 180px;
    padding: 28px 32px 50px;
  }
}
@media (max-width: 768px) {
  .home-refined .sec1 {
    min-height: 620px;
    height: 85svh !important;
    padding-top: 152px !important;
    padding-bottom: 64px;
  }
  .home-refined .hero-sec-text {
    max-width: 680px;
    font-size: clamp(38px, 7vw, 54px) !important;
    letter-spacing: -1.6px;
  }
  .home-refined .stats-dark .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .home-refined .stats-dark .grid > div:nth-child(3) {
    border-left: 0;
  }
  .home-refined .section-silver,
  .home-refined .about-grid,
  .home-refined .featured-products-section {
    padding: 56px 24px;
  }
  .home-refined .machines-gallery-section {
    padding: 56px 24px;
  }
  .home-refined .sectors-section {
    padding: 56px 0;
  }
  .home-refined .cta-box {
    align-items: flex-start;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
@media (max-width: 480px) {
  .home-refined .sec1 {
    min-height: 590px;
  }
  .home-refined .sec1 p {
    font-size: 15px !important;
    max-width: 310px;
  }
  .home-refined .section-silver,
  .home-refined .about-grid,
  .home-refined .featured-products-section,
  .home-refined .machines-gallery-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .home-refined .product-index {
    padding: 24px;
  }
  .home-refined .section-silver h2 {
    margin-bottom: 30px;
  }
  .home-refined .stats-dark .text-4xl {
    font-size: 34px;
  }
  .home-refined .stats-dark .text-gray-600 {
    font-size: 12px;
  }
  .home-refined main .metal-btn {
    font-size: 13px !important;
  }
  .home-refined .machine-showcase-info h3 {
    font-size: 22px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home-refined::before {
    animation: none;
  }
  .home-refined main * {
    transition: none !important;
  }
}
