:root {
  --ink: #535f65;
  --nav: #696868;
  --text: #535f65;
  --muted: #6a6a6a;
  --heading: #535f65;
  --contact: #7a7a7a;
  --line: rgba(255, 255, 255, 0.28);
  --max: 1180px;
  --header: 86px;
  --gutter: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
}
.header-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  min-height: var(--header);
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 64px; width: auto; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 2px;
  background: #333;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--nav);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.nav a:hover,
.nav a[aria-current="page"] { color: #222; }
.nav .lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #222;
}
.nav .lang img { width: 28px; height: 18px; object-fit: cover; }

.hero {
  position: relative;
  height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #f6f8f9;
  font-family: Roboto, Arial, sans-serif;
  font-size: 60px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  padding: 0 20px;
  animation: fadein 1.2s ease both;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.section-title {
  margin: 0;
  padding: 44px var(--gutter) 18px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: var(--heading);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 0 var(--gutter) 28px;
}
.intro-grid p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.mosaic { padding: 0 var(--gutter) 10px; }
.mrow { display: grid; }
.row-a { grid-template-columns: 1.5fr 1fr; }
.row-b { grid-template-columns: 1fr 1.5fr; }
.row-c { grid-template-columns: 1fr 1fr; }
.stack { display: grid; }
.row-a .stack { grid-template-rows: 170px 360px; }
.row-b .stack { grid-template-rows: 195px 335px; }
.row-c .stack { grid-template-rows: 265px 265px; }
.flip { height: 530px; position: relative; overflow: hidden; cursor: pointer; }
.row-a .stack .flip:first-child { height: 170px; }
.row-a .stack .flip:last-child { height: 360px; }
.row-b .stack .flip:first-child { height: 195px; }
.row-b .stack .flip:last-child { height: 335px; }
.row-c .stack .flip { height: 265px; }
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
}
.flip-front {
  background-size: cover;
  background-position: center;
}
.flip.sourcing .flip-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 1, 0.43);
}
.flip.shipping .flip-front {
  background-image: url("../images/services/shipping.jpg");
}
.flip-back {
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  background: rgba(2, 1, 1, 0.59);
  color: #fcfcfc;
  padding: 22px 26px;
  overflow: auto;
  text-align: left;
}
.flip:hover .flip-back,
.flip:focus-within .flip-back,
.flip.is-flipped .flip-back { transform: translateX(0); }
.flip-back h3 {
  margin: 0 0 10px;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #fcfcfc;
}
.flip-back p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #f3f3f3;
}

.about-home {
  display: grid;
  grid-template-columns: 30% 50% 20%;
  gap: 18px;
  padding: 10px var(--gutter) 40px;
  align-items: start;
}
.about-home h3 {
  margin: 0 0 8px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #535f65;
}
.about-home p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  text-align: justify;
  color: #6d6d6d;
}
.about-side { text-align: center; }
.about-side .brand {
  width: 70%;
  margin: 0 auto 16px;
}
.know-more {
  display: inline-block;
  background: #fff;
  color: #535f65;
  border: 1px solid #cfcfcf;
  padding: 10px 22px;
  font-size: 15px;
  margin-bottom: 16px;
}
.know-more:hover { color: #222; }
.about-side .iso { width: 70%; margin: 0 auto; }

.product-block { padding: 6px var(--gutter) 28px; }
.product-block h3 {
  margin: 0 0 14px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: var(--heading);
}
.carousel { position: relative; }
.car-viewport { overflow: hidden; }
.car-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s ease;
}
.car-slide {
  flex: 0 0 calc((100% - 66px) / 4);
  background: #f7f7f7;
}
.car-slide img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  background: #f7f7f7;
}
.car-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}
.car-btn.prev { left: 8px; }
.car-btn.next { right: 8px; }
.car-btn:hover { background: #fff; }
.car-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.car-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #c8c8c8;
  padding: 0;
  cursor: pointer;
}
.car-dots button.is-active { background: #4d4d4d; }

.contact {
  background: var(--contact);
  color: #fff;
  padding: 90px var(--gutter) 70px;
}
.contact-grid {
  max-width: 640px;
  margin: 0 auto;
}
.contact h2 {
  margin: 0 0 36px;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
}
.contact-details p {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.contact-details a:hover { text-decoration: underline; }
.contact-logo {
  display: inline-block;
  background: #fff;
  padding: 8px 14px;
  margin-top: 26px;
}
.contact-logo img { height: 92px; width: auto; }

.site-footer {
  background: #fff;
  text-align: center;
  padding: 22px 16px 28px;
  color: #8a8a8a;
  font-size: 14px;
}

.about-page { padding: 30px 24px 70px; color: #6a6a6a; }
.about-logo { width: 210px; margin: 10px auto 18px; }
.about-page > h1,
.about-lead {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
  color: #5c676d;
  font-family: Roboto, Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
}
.about-split {
  max-width: 1080px;
  margin: 0 auto 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
}
.about-page h2 {
  margin: 48px auto 18px;
  max-width: 980px;
  text-align: center;
  color: #4e585e;
  font-family: Roboto, Arial, sans-serif;
  font-size: 26px;
  font-weight: 600;
}
.about-page h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #3f3f3f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-page p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
}
.timeline {
  position: relative;
  max-width: 860px;
  margin: 10px auto 36px;
  padding: 8px 0 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #d0d0d0;
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 16px 36px;
}
.tl-item.left { text-align: right; }
.tl-item.right { margin-left: 50%; text-align: left; }
.tl-item .year {
  font-size: 22px;
  font-weight: 700;
  color: #535f65;
}
.tl-item .what {
  margin-top: 4px;
  font-size: 15px;
  color: #555;
}
.tl-item::after {
  content: "";
  position: absolute;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #535f65;
}
.tl-item.left::after { right: -8px; }
.tl-item.right::after { left: -8px; }
.company {
  max-width: 980px;
  margin: 26px auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 740px);
  justify-content: center;
  gap: 8px 16px;
  align-items: start;
}
.company.plain {
  grid-template-columns: minmax(0, 760px);
}
.company img { width: 170px; height: auto; margin-top: 4px; }
.company h3 { margin-top: 2px; }

@media (max-width: 1100px) {
  .car-slide { flex-basis: calc((100% - 22px) / 2); }
  .car-slide img { height: 260px; }
  .about-home { grid-template-columns: 1fr 1fr; }
  .about-side { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 860px) {
  :root { --gutter: 18px; }
  .nav-toggle { display: block; }
  .header-inner { min-height: 64px; padding: 8px var(--gutter); }
  .logo img { height: 46px; }
  .section-title { padding: 28px var(--gutter) 12px; font-size: 22px; }
  .intro-grid { padding: 0 var(--gutter) 16px; }
  .intro-grid p { margin-bottom: 12px; }
  .mosaic { padding: 0 var(--gutter) 6px; }
  .about-home { padding: 4px var(--gutter) 24px; }
  .about-home p,
  .about-page p { text-align: left; }
  .product-block { padding: 2px var(--gutter) 20px; }
  .product-block h3 { font-size: 22px; margin-bottom: 10px; }
  .contact { padding: 42px var(--gutter) 36px; }
  .contact h2 { margin-bottom: 18px; font-size: 28px; }
  .contact-logo img { height: 72px; }
  .about-page { padding: 20px var(--gutter) 40px; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px var(--gutter) 16px;
    gap: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  }
  .nav.open { display: flex; }
  .hero { height: 220px; }
  .hero h1 {
    font-size: 22px;
    line-height: 1.2;
    max-width: 100%;
    min-width: 0;
    padding: 0 16px;
  }
  .intro-grid,
  .about-split,
  .contact-grid,
  .about-home { display: block; }
  .about-home > div,
  .intro-grid > div { margin-bottom: 16px; }
  .mrow,
  .stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .flip,
  .row-a .stack .flip,
  .row-b .stack .flip,
  .row-c .stack .flip,
  .stack .flip { height: 220px; }
  .flip-back { padding: 14px 16px; }
  .flip-back h3 { font-size: 20px; margin-bottom: 6px; }
  .flip-back p { font-size: 13px; line-height: 1.4; }
  .car-slide { flex-basis: 100%; }
  .car-slide img { height: 220px; }
  .car-btn { width: 34px; height: 34px; font-size: 22px; }
  .company, .company.plain { grid-template-columns: 1fr; }
  .about-page > h1,
  .about-lead { font-size: 24px; }
  .timeline::before { left: 16px; }
  .tl-item, .tl-item.right, .tl-item.left {
    width: 100%;
    margin-left: 0;
    text-align: left;
    padding-left: 42px;
  }
  .tl-item.left::after, .tl-item.right::after { left: 9px; right: auto; }
}
