:root {
  --green: #3cab3b;
  --green-dark: #0b9760;
  --text: #333333;
  --muted: #777777;
  --paper: #ffffff;
  --light: #f6f6f6;
  --footer: #e6e6e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed; top: -60px; left: 20px; z-index: 1000;
  background: #fff; color: #111; padding: 10px 15px;
}
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 20; background: #fff; }
.topbar { height: 40px; background: var(--green); color: #fff; font-size: 14px; }
.topbar-inner, .nav-shell { width: min(100% - 64px, 2050px); margin: 0 auto; }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.contact-links, .social-links { display: flex; gap: 34px; align-items: center; }
.social-links { gap: 24px; font-weight: 700; }
.social-links button { border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; }
.nav-shell { position: relative; height: 88px; display: flex; align-items: center; gap: 38px; }
.brand { width: 245px; flex: 0 0 auto; }
.brand img { width: 226px; }
.main-nav { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; gap: clamp(25px, 2.5vw, 54px); }
.main-nav > a, .nav-products > a { display: flex; align-items: center; height: 100%; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s ease; }
.main-nav a:hover, .main-nav .active { color: var(--green); }
.nav-products { position: relative; height: 100%; display: flex; align-items: center; }
.nav-products small { margin-left: 5px; }
.mega-menu {
  position: absolute; left: -25px; top: 75px; width: 330px; padding: 12px 0;
  background: #fff; border-top: 3px solid var(--green); box-shadow: 0 10px 25px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease;
}
.mega-menu a { display: block; padding: 10px 22px; color: #555; font-size: 14px; }
.nav-products:hover .mega-menu, .nav-products:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.catalog-button {
  display: inline-flex; align-items: center; justify-content: center; width: 150px; height: 39px;
  background: var(--green); color: #fff; font-weight: 600; border-radius: 24px; font-size: 14px;
}
.menu-toggle { display: none; }

.hero { position: relative; width: 100%; height: min(39.7vw, 866px); min-height: 430px; overflow: hidden; background: #eee; }
.hero-track { display: flex; height: 100%; transition: transform .65s cubic-bezier(.62,.01,.38,.99); }
.hero-slide { min-width: 100%; height: 100%; overflow: hidden; }
.hero-slide span { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 6.4s linear; }
.hero-arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  border: 0; background: transparent; color: var(--green); font-size: 70px; font-weight: 200; opacity: .9;
}
.hero-arrow.previous { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-dots { position: absolute; left: 50%; bottom: 25px; translate: -50% 0; display: flex; gap: 12px; }
.hero-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #c8c8c8; }
.hero-dots .current { background: #555; }

.solutions { min-height: 610px; padding: 72px 40px 82px; text-align: center; }
.solutions h1, section > h2 { margin: 0; font-weight: 600; letter-spacing: .3px; }
.solutions h1 { font-size: 40px; line-height: 1.15; }
.section-intro { margin: 20px auto 50px; color: #505050; }
.stats-grid { width: min(1380px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat-icon { height: 68px; color: #303030; font-size: 51px; line-height: 1; font-family: "Arial Black", Arial, sans-serif; }
.stat h3 { margin: 15px 0 8px; font-size: 20px; font-weight: 600; }
.stat p { margin: 0 auto; max-width: 195px; color: #787878; line-height: 1.65; }

.company {
  position: relative; min-height: 940px; padding: 76px 30px 110px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 40px; background: #d4d4d4;
  clip-path: polygon(0 3%, 25% 4.5%, 54% 2.5%, 75% 4%, 100% 2.8%, 100% 97%, 72% 99%, 50% 97%, 24% 99%, 0 97.5%);
}
.company-copy { width: min(1080px, 90%); padding: 19px 28px; background: rgba(55,55,55,.58); color: #fff; text-align: center; line-height: 1.45; }
.video-frame { position: relative; width: min(760px, 88%); aspect-ratio: 16 / 9; overflow: hidden; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.play-button {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center;
  width: 92px; height: 92px; border: 5px solid rgba(255,255,255,.8); border-radius: 50%; color: #fff; font-size: 42px; padding-left: 8px;
}

.products-section { min-height: 1150px; padding: 92px 40px 80px; background: #f8f8f8; }
.products-section > h2, .certifications > h2, .exhibitions > h2, .news > h2, .contact > h2 { font-size: 32px; text-align: center; }
.products-grid { width: min(1400px, 100%); margin: 75px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 70px 40px; }
.product-card { display: block; text-align: center; }
.product-image { aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-card h3 { margin: 24px auto 0; max-width: 310px; font-size: 16px; line-height: 1.25; font-weight: 400; }

.certifications { min-height: 575px; padding: 72px 34px 50px; text-align: center; background: #fff; }
.certifications > p { margin: 16px auto 45px; }
.certificate-row { margin: 0 auto; display: flex; gap: 36px; justify-content: center; align-items: center; width: min(2050px, 100%); overflow: hidden; }
.certificate-row a { flex: 0 0 calc((100% - 216px) / 7); height: 300px; display: grid; place-items: center; }
.certificate-row img { width: 100%; height: 100%; object-fit: contain; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 21px; }
.carousel-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d1d1d1; }
.carousel-dots .current { background: #333; }

.exhibitions { height: 1015px; padding: 55px 0 0; overflow: hidden; text-align: center; background: #fff; }
.short-rule { width: 210px; height: 1px; background: #ececec; margin: 27px auto 40px; }
.exhibitions img { width: 100%; height: 850px; object-fit: cover; object-position: center; }

.news { min-height: 1390px; padding: 74px 40px 90px; }
.news-intro { text-align: center; margin: 18px 0 42px; }
.news-grid { width: min(1360px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 110px 50px; }
.news-image { display: block; width: 100%; height: 320px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.news-card:hover .news-image img { transform: scale(1.025); }
.news-card h3 { margin: 20px 0 0; font-size: 18px; line-height: 1.24; font-weight: 600; color: #54595f; }
.news-date { color: #a0a0a0; font-size: 12px; }
.news-card p { color: #777; line-height: 1.6; margin: 17px 0; }
.read-more { font-size: 13px; font-weight: 600; color: #333; }

.contact { position: relative; min-height: 455px; padding: 64px 40px; background: #f3f3f3; text-align: center; }
.contact > p { margin: 17px 0 23px; }
.contact form { width: min(1000px, 100%); margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.contact input, .contact textarea { width: 100%; border: 1px solid #ddd; background: #fff; padding: 12px 16px; color: #555; outline-color: var(--green); }
.contact input { height: 42px; }
.contact textarea { height: 120px; resize: vertical; margin: 10px 0; }
.contact form button { width: 330px; height: 42px; border: 0; color: #fff; background: var(--green); font-weight: 600; }
.form-toast { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; padding: 10px 20px; background: #222; color: #fff; }

footer { min-height: 666px; background: var(--footer); padding: 80px 40px 0; }
.footer-grid { width: min(1380px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1.25fr 1.1fr .75fr; }
.footer-column { padding: 0 22px; }
.footer-column h3 { margin: 0 0 25px; font-size: 20px; color: #111; }
.footer-column > a { display: block; margin-bottom: 12px; color: #757575; line-height: 1.3; }
.footer-column > a:hover { color: var(--green); }
.contact-column > a { padding-left: 0; }
.footer-social { display: flex; gap: 8px; margin-top: 35px; }
.footer-social a { display: grid; place-items: center; width: 32px; height: 32px; background: var(--green); color: #fff; border-radius: 50%; font-weight: 700; }
.whatsapp .green { color: var(--green); }
.whatsapp img { width: 127px; margin-top: 8px; }
.copyright {
  width: min(1380px, 100%); margin: 100px auto 0; border-top: 1px solid #d9d9d9; min-height: 62px;
  display: flex; justify-content: center; align-items: center; gap: 32px; color: #777; font-size: 13px;
}
.language {
  position: fixed; right: 24px; bottom: 18px; z-index: 30; min-width: 120px; height: 42px;
  display: flex; align-items: center; gap: 9px; padding: 0 17px; background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,.12); font-size: 13px;
}
.language img { width: 18px; }

@media (max-width: 1100px) {
  .topbar-inner, .nav-shell { width: calc(100% - 34px); }
  .main-nav { gap: 16px; }
  .main-nav > a, .nav-products > a { font-size: 12px; }
  .brand { width: 175px; }
  .brand img { width: 165px; }
  .catalog-button { width: 120px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 55px; }
  .solutions { min-height: 760px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .certificate-row a { flex-basis: 24%; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 55px 0; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .topbar { height: 30px; font-size: 10px; }
  .topbar-inner { width: calc(100% - 24px); }
  .contact-links { gap: 13px; }
  .social-links { display: none; }
  .nav-shell { height: 60px; width: calc(100% - 24px); justify-content: space-between; }
  .brand, .brand img { width: 154px; }
  .menu-toggle { display: flex; width: 38px; height: 38px; padding: 8px; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; }
  .menu-toggle span { width: 100%; height: 2px; background: #333; }
  .catalog-button { display: none; }
  .main-nav {
    position: absolute; left: -12px; right: -12px; top: 60px; height: auto; padding: 10px 22px 20px;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 12px 20px rgba(0,0,0,.15);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > a, .nav-products > a { height: auto; padding: 10px 0; font-size: 13px; }
  .nav-products { display: block; height: auto; }
  .mega-menu { position: static; display: none; width: auto; padding: 0 0 8px 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-products:hover .mega-menu, .nav-products:focus-within .mega-menu { display: block; }
  .mega-menu a { padding: 7px 0; }
  .hero { height: 158px; min-height: 0; }
  .hero-slide span { background-size: cover; }
  .hero-arrow { font-size: 42px; }
  .hero-arrow.previous { left: 6px; }
  .hero-arrow.next { right: 6px; }
  .hero-dots { bottom: 8px; gap: 7px; }
  .hero-dots button { width: 5px; height: 5px; }
  .solutions { min-height: 0; padding: 42px 20px 55px; }
  .solutions h1 { font-size: 27px; }
  .section-intro { margin: 15px auto 40px; }
  .desktop-only { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 46px 10px; }
  .stat-icon { height: 48px; font-size: 39px; }
  .stat h3 { font-size: 17px; margin-top: 10px; }
  .stat p { font-size: 12px; }
  .company { min-height: 570px; padding: 58px 16px 70px; gap: 30px; clip-path: polygon(0 2%, 50% 4%, 100% 2%, 100% 98%, 50% 96%, 0 98%); }
  .company-copy { width: 100%; padding: 15px; font-size: 11px; }
  .video-frame { width: 100%; }
  .play-button { width: 58px; height: 58px; border-width: 3px; font-size: 25px; }
  .products-section { min-height: 0; padding: 60px 16px 65px; }
  .products-section > h2, .certifications > h2, .exhibitions > h2, .news > h2, .contact > h2 { font-size: 25px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); margin-top: 38px; gap: 43px 16px; }
  .product-card h3 { margin-top: 13px; font-size: 13px; }
  .certifications { min-height: 0; padding: 55px 16px 45px; }
  .certifications > p { font-size: 12px; margin-bottom: 30px; }
  .certificate-row { justify-content: flex-start; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .certificate-row a { flex-basis: 43%; height: 210px; scroll-snap-align: start; }
  .exhibitions { height: auto; padding-top: 48px; }
  .short-rule { margin-bottom: 25px; }
  .exhibitions img { height: auto; min-height: 280px; object-fit: cover; }
  .news { min-height: 0; padding: 58px 16px 65px; }
  .news-intro { font-size: 12px; }
  .news-grid { grid-template-columns: 1fr; gap: 55px; }
  .news-image { height: 280px; }
  .news-card h3 { font-size: 17px; }
  .contact { min-height: 0; padding: 55px 16px 65px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact textarea { height: 110px; }
  .contact form button { width: 100%; }
  footer { min-height: 0; padding: 58px 20px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px 8px; }
  .footer-column { padding: 0 8px; }
  .footer-column h3 { font-size: 16px; margin-bottom: 18px; }
  .footer-column > a { font-size: 12px; }
  .copyright { margin-top: 60px; padding: 22px 0 65px; min-height: 0; flex-direction: column; gap: 7px; text-align: center; }
  .language { right: 10px; bottom: 10px; min-width: 100px; height: 36px; padding: 0 12px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
