*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.site-header {
  position: relative;
  z-index: 20;
}

.topbar {
  background: #fff;
  padding: 10px 0;
}

.topbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: start;
}

.top-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #000;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.25;
}

.top-item strong {
  display: block;
  font-weight: 400;
}

.top-item span:last-child {
  font-weight: 700;
  color: var(--red);
}

.top-item strong {
  color: #000;
  font-weight: 400;
}

.top-ico {
  color: var(--red);
  flex: 0 0 28px;
  margin-top: 2px;
}

.top-ico svg {
  width: 28px;
  height: 28px;
  display: block;
}

.brandbar {
  background: #000;
  padding: 1.6em 0;
}

.brandbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo img {
  display: block;
  width: 250px;
  height: auto;
  max-height: 78px;
}

.nav-desktop {
  flex: 1;
}

.nav-desktop > ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-desktop a:hover {
  color: #fff;
}

.has-sub {
  position: relative;
}

.caret {
  width: 10px;
  height: 10px;
}

.nav-desktop .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #000;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 40;
  flex-direction: column;
}

.nav-desktop .has-sub:hover > .sub-menu,
.nav-desktop .has-sub:focus-within > .sub-menu {
  display: block;
}

.nav-desktop .sub-menu a {
  display: block;
  padding: 15px 20px;
  border-bottom: 1px solid #c4c4c4;
}

.nav-desktop .sub-menu li:last-child a {
  border-bottom: 0;
}

.header-social {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.soc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: visible;
  transition: transform 0.2s;
}

.soc svg,
.foot-ico svg,
.top-ico svg,
.wa-float-btn svg {
  display: block;
  overflow: visible;
}

.soc:hover {
  transform: scale(1.12);
}

.soc.fb {
  background: var(--fb);
}

.soc.ig {
  background: var(--ig);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}

.mobile-panel {
  background: #000;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 8px 24px 24px;
}

.mobile-panel a {
  display: block;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}

.hero-slider {
  position: relative;
  height: min(487px, 56vw);
  overflow: hidden;
  background: #111;
}

.slide {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  opacity: 0;
  transition: opacity 0.6s;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}

.slide-heading {
  margin: 0 0 28px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.slide-arrow.prev {
  left: 16px;
}

.slide-arrow.next {
  right: 16px;
}

.about-home {
  padding: 50px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-copy h2 {
  margin: 0;
  font-size: 52px;
  letter-spacing: 0;
  color: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
}

.about-copy .sub {
  margin: 6px 0 18px;
  color: var(--orange);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0 0 24px;
  color: rgb(116, 115, 115);
  font-size: 16px;
  text-align: justify;
}

.products {
  background: var(--gray);
  padding: 112px 0;
}

.products .section-title {
  text-align: center;
  margin: 0 0 48px;
  font-size: 33px;
  color: var(--heading);
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 700;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.prod-card {
  background: #fff;
  border: 4px solid var(--card-border);
  box-shadow: none;
  padding: 40px 10px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.prod-photo {
  display: block;
  margin-bottom: 16px;
}

.prod-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #fff;
}

.prod-card h2,
.prod-card h3 {
  margin: 10px 12px 12px;
  font-size: 20px;
  color: var(--heading);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.176;
}

.prod-card hr {
  width: 70%;
  border: 0;
  border-top: 1px solid #ddd;
  margin: 0 auto 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  padding: 12px 28px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  border: 0;
  transition: transform 0.2s, filter 0.2s;
}

.btn:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.about-home .btn {
  padding: 0 55px;
  min-height: 64px;
  line-height: 64px;
  border: 2px solid #fff;
}

.btn-orange {
  background: var(--orange);
  border: 2px solid #ff482f;
  color: #fff;
}

.btn-green {
  background: var(--green);
  border: 2px solid var(--green);
  color: #fff;
  width: calc(100% - 20px);
  font-size: 16px;
}

.solutions {
  position: relative;
  min-height: 560px;
  background: #1b4b6b center / cover no-repeat;
  display: grid;
  grid-template-columns: 46.7% 1fr;
  align-items: stretch;
}

.solutions-box {
  width: 100%;
  margin: 0;
  background: linear-gradient(90deg, #46eeaa 0%, #2cbfc7 100%);
  color: #fff;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solutions-box h2 {
  margin: 0 0 12px;
  font-size: 31px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: none;
}

.solutions-box .kicker {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 500;
}

.solutions-box ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.solutions-box li {
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
}

.solutions-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
}

.quick-links {
  background-color: #f8f8f9;
  background-size: cover;
  background-position: center;
  padding: 100px 0 80px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quick-card {
  background: #fff;
  text-align: center;
  padding: 40px;
  box-shadow: 0 13px 36px rgba(61, 65, 84, 0.18);
  border-top: 3px solid var(--orange);
  border-radius: 5px;
}

.quick-card img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 12px;
}

.quick-card h3 {
  margin: 0;
  color: var(--orange);
  font-size: 38px;
  font-weight: 700;
}

.quick-card p {
  margin: 4px 0 18px;
  color: #000;
  font-size: 24px;
  font-weight: 500;
}

.site-footer {
  background: #000;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr 1.1fr;
  gap: 20px;
  padding: 50px 10px;
  align-items: start;
}

.footer-logo img {
  width: 64%;
  max-width: 160px;
  height: auto;
}

.foot-item {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.4;
}

.foot-item strong {
  display: block;
  font-weight: 400;
  font-size: 16px;
}

.foot-item span:last-child,
.foot-item a {
  font-weight: 700;
  color: #fff;
}

.foot-ico {
  color: var(--red);
  flex: 0 0 18px;
  margin-top: 3px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.copyright {
  background: var(--red);
  padding: 30px 20px;
  color: #dadadae0;
  font-size: 14px;
}

.copyright p {
  margin: 0;
}

.page-title-bar {
  background: var(--page-title);
  padding: 18px 0 10px;
}

.page-title-bar h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.interior {
  background: var(--gray);
  padding: 40px 0 80px;
}

.interior .prod-photo img {
  object-fit: contain;
  height: 200px;
}

.interior.white {
  background: #fff;
}

.about-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0 80px;
}

.about-page p {
  margin: 0 0 16px;
  color: #7a7a7a;
}

.contact-intro {
  padding: 40px 0 20px;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0 32px;
}

.channel {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.channel .foot-ico {
  color: var(--red);
}

.contact-copy {
  color: #7a7a7a;
  max-width: 980px;
}

.contact-cta {
  margin: 28px 0 60px;
  text-align: center;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.02em;
}

.map-wrap {
  margin: 20px 0 40px;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.loc-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  font-size: 16px;
}

.loc-line .foot-ico {
  color: var(--red);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 20px 0 60px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px double #b00a0a;
}

.gallery figcaption {
  font-size: 11px;
  text-transform: uppercase;
  color: #666;
  margin-top: 6px;
}

.back-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 50;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: #3d3d3d;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.back-top.is-on {
  opacity: 1;
  pointer-events: auto;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
}

.wa-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

@media (min-width: 1025px) {
  .quick-links {
    background-attachment: fixed;
  }
}

@media (max-width: 1024px) {
  .topbar-inner,
  .card-grid.cols-4,
  .quick-grid,
  .footer-grid,
  .about-grid,
  .about-page,
  .contact-channels,
  .solutions {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-desktop {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .header-social {
    margin-left: 8px;
  }

  .logo img {
    width: 180px;
  }
}

@media (max-width: 767px) {
  .topbar {
    display: none;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-social {
    margin-left: 8px;
  }

  .card-grid.cols-4,
  .card-grid.cols-3,
  .quick-grid,
  .footer-grid,
  .about-grid,
  .about-page,
  .contact-channels,
  .gallery,
  .solutions {
    grid-template-columns: 1fr;
  }

  .solutions {
    grid-template-columns: 1fr;
  }

  .solutions-box {
    margin: 0;
    padding: 30px 20px;
    text-align: center;
  }

  .about-copy h2,
  .about-copy .sub {
    font-size: 22px;
  }

  .hero-slider {
    height: 280px;
  }

  .slide-arrow {
    display: none;
  }

  .copyright {
    text-align: center;
  }
}
