@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap");

:root {
  --gold: #ffcb05;
  --black: #0f1113;
  --dark: #151515;
  --text: #1d1d1d;
  --muted: #666666;
  --light: #ffffff;
  --soft-bg: #f8f8f8;
  --border: #e5e5e5;
  --shadow: 0 5px 14px rgba(15, 17, 19, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--light);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.img-cover,
.img-contain {
  display: block;
  width: 100%;
  height: 100%;
}

.img-cover {
  object-fit: cover;
}

.img-contain {
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 50px 0;
}

#products {
  padding-bottom: 25px;
}

#products + .section {
  padding-top: 25px;
}

.section-soft {
  background: var(--soft-bg);
}

.section-title {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

.title-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.title-kicker::before,
.title-kicker::after {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--gold);
  content: "";
}

h1,
h2,
h3 {
  color: var(--black);
  font-family: "Oswald", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.section-title h2,
.page-hero h1,
.hero h1,
.cta h2 {
  margin-bottom: 0;
}

.section-title h2 {
  font-size: clamp(34px, 3vw, 54px);
}

.section-title p {
  margin: 14px auto 0;
  color: var(--muted);
  max-width: 640px;
}

.gold-text {
  color: var(--gold);
}

.icon {
  color: var(--gold);
  flex: 0 0 auto;
  line-height: 1;
}

.top-bar .icon {
  color: var(--black);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--black);
  background: var(--gold);
  box-shadow: 0 5px 10px rgba(15, 17, 19, 0.14);
}

.btn-primary:hover {
  background: var(--gold);
  box-shadow: 0 7px 14px rgba(15, 17, 19, 0.16);
}

.btn-dark {
  color: #fff;
  background: var(--black);
}

.btn-ghost {
  color: var(--black);
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 5px 12px rgba(15, 17, 19, 0.1);
}

.top-bar {
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
}

.top-bar .container,
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-bar .container {
  min-height: 48px;
}

.top-group,
.socials,
.top-item,
.contact-line {
  display: flex;
  align-items: center;
}

.top-group {
  gap: 26px;
  flex-wrap: wrap;
}

.top-item,
.contact-line {
  gap: 9px;
}

.socials {
  gap: 8px;
}

.socials a {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--black);
  background: rgba(255, 255, 255, 0.34);
  transition: background 180ms ease, transform 180ms ease;
}

.socials a:hover {
  background: #fff;
  transform: translateY(-1px);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(15, 17, 19, 0.08);
  box-shadow: 0 3px 10px rgba(15, 17, 19, 0.06);
}

.main-header .container {
  min-height: 88px;
}

.brand img,
.footer-logo img {
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.55vw, 24px);
  flex: 1;
  color: #2b2b2b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 34px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-quote {
  min-width: 178px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
}

.hero {
  overflow: hidden;
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 12px 0 10px;
}

.hero h1 {
  display: grid;
  font-size: clamp(40px, 4.2vw, 72px);
  line-height: 0.98;
}

.hero h1 .hero-line1,
.hero h1 .hero-line2 {
  white-space: nowrap;
  display: block;
}

.hero-subtitle {
  margin: 10px 0 5px;
  color: var(--black);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 800;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.hero-media::before {
  display: none;
}

.hero-media>img {
  position: relative;
  width: min(680px, 100%);
  max-height: 500px;
  object-fit: contain;
  filter: none;
}

.hero-slider {
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
}

.hero-slider-viewport {
  position: relative;
  display: grid;
  place-items: center;
  width: min(680px, 100%);
  height: clamp(280px, 30vw, 430px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 420ms ease, transform 420ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.hero-slider-controls,
.hero-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider-controls {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  backdrop-filter: none;
}

.hero-slider-dots {
  gap: 8px;
}

.hero-slider-btn,
.hero-slider-dot {
  border: 1px solid rgba(15, 17, 19, 0.16);
  cursor: pointer;
}

.hero-slider-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--black);
  background: rgba(255, 255, 255, 0.9);
}

.hero-slider-btn:hover,
.hero-slider-btn:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(15, 17, 19, 0.34);
}

.hero-slider-dot.is-active {
  border-color: var(--gold);
  background: var(--gold);
}

.features-strip {
  margin-top: 0;
  position: relative;
  z-index: 3;
}

@media (min-width: 981px) {
  .features-strip {
    margin-top: 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.feature-card,
.product-card,
.panel,
.stat-card,
.info-card,
.contact-card,
.gallery-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 16px 14px;
}

.feature-icon {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
}

.feature-card .icon,
.stat-card .icon,
.process-step .icon,
.option-card .icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(255, 203, 5, 0.36);
  border-radius: 50%;
  background: rgba(255, 203, 5, 0.1);
  font-size: 18px;
}

.feature-card h3,
.product-card h3,
.process-step h3,
.info-card h3,
.contact-card h3,
.footer h3 {
  margin: 0;
  font-size: 15px;
  white-space: nowrap;
}

.feature-card p,
.process-step p,
.info-card p,
.contact-card p,
.footer p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  overflow: hidden;
  min-height: 196px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: rgba(255, 203, 5, 0.72);
  box-shadow: 0 8px 18px rgba(15, 17, 19, 0.14);
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.7;
  object-fit: contain;
  padding: 9px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.product-card-content {
  display: grid;
  gap: 6px;
  flex: 1;
  padding: 8px 9px 10px;
  text-align: center;
}

.product-card h3 {
  min-height: auto;
  align-content: center;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.products-catalog {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
  min-height: 52px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 5px 14px rgba(15, 17, 19, 0.08);
  color: var(--muted);
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.product-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.filter-btn span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--soft-bg);
  color: var(--muted);
  font-size: 11px;
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--gold);
  background: var(--black);
  color: #fff;
}

.filter-btn.is-active span,
.filter-btn:hover span {
  background: var(--gold);
  color: var(--black);
}

.products-catalog-results {
  display: grid;
  gap: 44px;
}

.product-category-section {
  scroll-margin-top: 110px;
}

.category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.category-heading .title-kicker {
  margin-bottom: 10px;
}

.category-heading .title-kicker::after {
  display: none;
}

.category-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 2.4vw, 42px);
}

.category-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.category-heading>span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.products-grid-detailed {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.products-grid-detailed .product-card {
  min-height: 378px;
}

.products-grid-detailed .product-card-content {
  align-content: start;
  text-align: left;
}

.products-grid-detailed .product-card h3 {
  min-height: auto;
  align-content: initial;
}

.product-category {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 203, 5, 0.12);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.products-grid-detailed .text-link {
  justify-content: flex-start;
  margin-top: auto;
}

.empty-products {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  box-shadow: var(--shadow);
  text-align: center;
}

.manufacturing-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.manufacturing-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.manufacturing-card-media {
  aspect-ratio: 4 / 3;
  background: var(--soft-bg);
}

.manufacturing-card-content {
  padding: 22px;
}

.manufacturing-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.manufacturing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.showcase-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.showcase-grid {
  grid-template-columns: 0.82fr 0.95fr 1.45fr;
}

.split-grid,
.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.panel,
.info-card,
.contact-card {
  padding: 22px;
}

.panel h2,
.info-card h3,
.contact-card h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 1.8vw, 30px);
}

.panel p,
.page-hero p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.panel p.eyebrow,
.panel p.why-heading {
  color: var(--gold);
  font-size: 13px;
}

.why-heading {
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.video-preview {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(rgba(15, 17, 19, 0.04), rgba(15, 17, 19, 0.34)), url("../images/manufacturing/factory-manufacturing-video-thumbnail.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

/* Why Choose Us: list left, image right on desktop */
.panel.why-panel {
  display: flex;
  flex-direction: column;
}

.why-inner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
  margin-top: 8px;
}

.why-inner .check-list {
  flex: 1 1 0;
  min-width: 0;
}

.why-image {
  flex: 0 0 38%;
  display: grid;
  place-items: center;
  height: auto;
  min-height: 120px;
  margin-top: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f5f5f5;
  align-self: stretch;
}

.why-image img {
  object-position: center;
  padding: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list li {
  padding: 3px 0;
}

.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-icon {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 7px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.play-icon path {
  fill: #fff;
}

.check-list,
.footer ul,
.page-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.page-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  color: #303030;
  font-size: 14px;
  font-weight: 600;
}

.check-list .icon,
.page-list .icon {
  margin-top: 2px;
  font-size: 12px;
}

.process {
  padding: 42px 0;
  color: #fff;
  background: var(--dark);
}

.process .section-title {
  margin-bottom: 22px;
}

.process .section-title h2,
.process .section-title p {
  color: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 18px 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.process-step {
  position: relative;
  min-height: 142px;
  padding: 0;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step:last-child {
  border-right: 0;
}

.process-step .icon {
  font-size: 16px;
}

.process-icon {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.process-step strong {
  display: block;
  margin: 0;
  color: var(--gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
}

/* Desktop process step inner layout */
.process-step-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}

.process-step-right {
  flex: 1;
}

.process-step h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Desktop process layout: large icon, divider, then number/title/text */
@media (min-width: 681px) {
  .process-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 0;
    padding: 0 12px 0 0;
  }

  .process-step + .process-step {
    padding-left: 12px;
  }

  .process-step-left {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    padding: 0;
  }

  .process-step-right {
    flex: 1;
    min-width: 0;
    display: block;
  }

  .process-title-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 6px;
    margin-top: 0;
  }

  .process-title-row strong {
    flex: 0 0 auto;
  }

  .process-title-row h3 {
    margin: 0;
  }
}

.stats-cta-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.stats-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 20px 12px;
  text-align: center;
}

.stat-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.stat-card strong {
  color: var(--black);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 36px;
  line-height: 1;
}

.stat-card span:last-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px 34px;
  border-radius: var(--radius);
  color: var(--black);
  background: var(--gold);
  box-shadow: var(--shadow);
}

.cta h2 {
  font-size: clamp(28px, 2.6vw, 46px);
}

.cta p {
  max-width: 520px;
  margin: 0;
  font-weight: 600;
}

.page-hero {
  padding: 92px 0;
  background: linear-gradient(rgba(15, 17, 19, 0.74), rgba(15, 17, 19, 0.74)), url("../images/backgrounds/reference-design.jpg") center 48% / cover no-repeat;
}

.page-hero h1 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(44px, 5vw, 76px);
}

.page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.cards-grid,
.gallery-grid,
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.option-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.option-card h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.option-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  background: #fff;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  box-shadow: none;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.28);
  font-size: 28px;
}

.footer {
  color: rgba(255, 255, 255, 0.76);
  background: #111;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr 1fr 1.05fr;
  gap: 34px;
  padding: 64px 0 42px;
}

.footer h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 20px;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer li+li {
  margin-top: 9px;
}

.footer-categories {
  display: block;
}

.footer .footer-categories li+li {
  margin-top: 9px;
}

.footer-categories a {
  line-height: 1.35;
}

.footer a:hover {
  color: var(--gold);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px;
  background: #fff;
  border-radius: 6px;
}

.footer .socials {
  margin-top: 22px;
}

.footer .socials a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.footer .socials a:hover {
  color: var(--black);
  background: var(--gold);
}

.market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-list span {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.export-map {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 18px;
  opacity: 0.96;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.policy-links {
  display: flex;
  gap: 18px;
}



@media (min-width: 981px) and (max-width: 1048px) {
  .showcase-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "about why"
      "video video";
    gap: 18px;
  }

  .showcase-grid .panel:first-child {
    grid-area: about;
  }

  .showcase-grid .video-preview {
    grid-area: video;
    min-height: 320px;
  }

  .showcase-grid .why-panel {
    grid-area: why;
  }
}

/* Use the desktop Why Choose Us card style above small mobile widths. */
@media (min-width: 481px) {
  .panel.why-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 38%);
    grid-template-rows: auto 1fr;
    padding: 0;
    overflow: hidden;
  }

  .panel.why-panel .why-heading {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding: 22px 22px 0;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .panel.why-panel .why-inner {
    display: contents;
    margin-top: 0;
  }

  .panel.why-panel .why-inner .check-list {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 0;
    padding: 18px 22px 22px;
  }

  .panel.why-panel .check-list li {
    gap: 8px;
    padding: 0;
    color: #303030;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
  }

  .panel.why-panel .check-list .icon {
    margin-top: 2px;
    font-size: 10px;
  }

  .panel.why-panel .why-image {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
  }

  .panel.why-panel .why-image img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
    transform: rotate(-3deg) scale(1.12);
    transform-origin: center;
  }
}

/* Desktop-only showcase refinements: keep mobile/tablet exactly as before */
@media (min-width: 1049px) {
  .showcase-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.15fr) minmax(420px, 1.25fr);
    gap: 24px;
    align-items: stretch;
  }

  .showcase-grid>* {
    min-width: 0;
  }

  .video-preview {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
}

@media (max-width: 1240px) {
  .header-quote {
    display: none;
  }

  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .products-grid-detailed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid,
  .manufacturing-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 681px) and (max-width: 1240px) {
  .process-grid {
    align-items: stretch;
    gap: 14px;
    padding: 18px 0;
  }

  .process-step,
  .process-step:last-child {
    min-height: 126px;
    height: 100%;
    padding: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .footer-main>div:nth-child(5) {
    display: grid;
    grid-column: 2 / 4;
    grid-template-columns: minmax(0, 0.9fr) minmax(160px, 1fr);
    grid-template-areas:
      "title title"
      "markets map";
    align-items: start;
    gap: 0 18px;
  }

  .footer-main>div:nth-child(5) h3 {
    grid-area: title;
  }

  .footer-main>div:nth-child(5) .market-list {
    grid-area: markets;
  }

  .footer-main>div:nth-child(5) .export-map {
    grid-area: map;
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, 1320px);
  }

  .top-bar .container {
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .top-group {
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 11px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .top-bar .socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .top-bar .socials a {
    width: 28px;
    height: 28px;
    color: var(--black);
    font-size: 13px;
  }

  .main-header .container {
    min-height: 76px;
  }

  .brand img,
  .footer-logo img {
    width: 158px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    gap: clamp(12px, 2vw, 18px);
    justify-content: center;
    min-width: 0;
    font-size: 11px;
  }

  .site-nav a {
    padding: 28px 0;
  }

  .site-nav a::after {
    bottom: 20px;
  }

  .site-nav a:nth-child(n+7) {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(15, 17, 19, 0.1);
  }

  .site-nav.is-open a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.is-open a::after {
    display: none;
  }

  .hero {
    background: transparent;
  }

  .hero-grid,
  .showcase-grid,
  .split-grid,
  .contact-grid,
  .stats-cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 12px;
    padding: 14px 0 12px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media::before {
    display: none;
  }

  .features-strip {
    margin-top: 0;
    padding-top: 8px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid,
  .gallery-grid,
  .options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid-detailed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-toolbar,
  .category-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .product-count {
    white-space: normal;
  }
}

@media (max-width: 920px) {
  .site-nav a:nth-child(n+6) {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-nav a:nth-child(n+5) {
    display: none;
  }
}

@media (max-width: 550px) {
  .site-nav a:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 12px;
    font-size: 10px;
  }

  .site-nav a:nth-child(n+3) {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(15, 17, 19, 0.1);
  }

  .site-nav.is-open a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 980px) {
  .site-nav.is-open a:nth-child(n) {
    display: block;
  }
}

@media (min-width: 824px) and (max-width: 980px) {
  .showcase-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "about why"
      "video video";
  }

  .showcase-grid .panel:first-child {
    grid-area: about;
  }

  .showcase-grid .video-preview {
    grid-area: video;
    min-height: 300px;
  }

  .showcase-grid .why-panel {
    grid-area: why;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .stat-card {
    padding: 18px 10px;
  }
}

/* ── Hero: compact tablet layout (681px - 980px) ───────────────────── */
@media (min-width: 681px) and (max-width: 980px) {
  .section {
    padding: 42px 0;
  }

  #products {
    padding-bottom: 21px;
  }

  #products + .section {
    padding-top: 21px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: 16px;
    padding: 10px 0 8px;
    text-align: left;
  }

  .hero .eyebrow {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(36px, 5vw, 54px);
  }

  .hero-copy {
    max-width: 480px;
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .hero-actions .btn {
    flex: 0 1 auto;
    white-space: nowrap;
  }

  .hero-media {
    width: 100%;
  }

  .hero-media>img {
    width: min(600px, 100%);
    max-height: 340px;
    margin-inline: auto;
  }

  .hero-slider-viewport {
    width: 100%;
    height: clamp(280px, 36vw, 360px);
  }

  .hero-slide {
    max-height: none;
  }

  .features-strip {
    padding-top: 6px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 34px 0;
  }

  #products {
    padding-bottom: 17px;
  }

  #products + .section {
    padding-top: 17px;
  }

  .top-item {
    gap: 6px;
  }

  .hero h1 {
    display: block;
    font-size: clamp(31px, 8.2vw, 38px);
  }

  .hero h1 .hero-line1,
  .hero h1 .hero-line2 {
    display: block;
    white-space: normal;
    overflow-wrap: normal;
  }

  /* Keep section-actions as grid but NOT hero-actions */
  .section-actions {
    display: grid;
  }

  .section-actions .btn {
    width: 100%;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 0 9px;
    font-size: 10px;
    min-height: 42px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-slider {
    width: 100%;
  }

  .hero-slider-viewport {
    height: min(74vw, 310px);
  }

  .hero-slide {
    max-height: none;
  }

  .hero-slider-btn {
    width: 32px;
    height: 32px;
  }

  .hero-slider-controls {
    bottom: 10px;
    padding: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  /* 2,2,1 layout - last card full width */
  .features-grid .feature-card:last-child {
    grid-column: 1 / -1;
  }

  /* Mobile feature cards: vertical layout (icon top, title, text) */
  .feature-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-height: 0;
    padding: 12px 10px;
  }

  /* Fifth feature card: horizontal row layout */
  .features-grid .feature-card:last-child {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
  }

  .features-grid .feature-card:last-child .icon {
    flex: 0 0 44px;
  }

  .features-grid .feature-card:last-child>div {
    flex: 1;
    min-width: 0;
  }

  .feature-card h3 {
    font-size: 13px;
    white-space: normal;
  }

  .feature-card p {
    font-size: 11px;
    margin-top: 2px;
  }

  /* Why Choose Us mobile: stack list then image */
  .why-inner {
    flex-direction: column;
  }

  .why-image {
    flex: none;
    width: 100%;
    height: 130px;
  }

  /* Mobile process: icon left, text right */
  .process-grid {
    grid-template-columns: 1fr;
    border: none;
    gap: 0;
    padding: 0;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 0;
    padding: 12px 0;
    background: transparent;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .process-step:last-child {
    border-bottom: none;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 0 0 38px;
    padding: 0;
  }

  .process-step-right {
    flex: 1;
    min-width: 0;
    display: block;
  }

  /* Mobile: number + title in one row */
  .process-title-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
  }

  .process-title-row h3 {
    margin: 0;
  }

  .process-step strong {
    margin: 0;
    font-size: 16px;
  }

  .process-step .icon {
    font-size: 14px;
  }

  .process-icon {
    width: 34px;
    height: 34px;
  }

  .process-step h3 {
    font-size: 13px;
    margin-bottom: 0;
  }

  .process-step p {
    font-size: 11px;
  }

  .process-grid,
  .manufacturing-image-grid,
  .stats-grid,
  .cards-grid,
  .gallery-grid,
  .options-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main>div:nth-child(5) {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .products-grid-detailed {
    grid-template-columns: 1fr;
  }

  .product-card img {
    padding: 10px;
  }

  .product-card-content {
    padding: 8px 8px 10px;
    gap: 6px;
  }

  .product-card h3 {
    font-size: 11px;
  }

  .products-grid-detailed .product-card h3 {
    font-size: 18px;
  }

  .category-filters {
    flex-wrap: nowrap;
    margin-inline: -16px;
    padding: 0 16px 8px;
    overflow-x: auto;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .panel,
  .info-card,
  .contact-card,
  .cta {
    padding: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 6px 0;
    font-weight: 500;
  }

  /* Two-row layout: info row + socials row */
  .top-bar .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-height: auto;
    padding-block: 4px;
  }

  /* Row 1: address, email, phone spread across the row */
  .top-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    font-size: 11px;
    padding-right: 0;
    overflow: hidden;
  }

  .top-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
    min-width: 0;
  }

  .top-item i {
    font-size: 11px;
    flex: 0 0 auto;
  }

  /* Row 2: socials centered */
  .top-bar .socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-left: 0;
  }

  .top-bar .socials a {
    width: 32px;
    height: 32px;
    color: var(--black);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.38);
  }

  .main-header {
    padding: 4px 0;
  }

  .main-header .container {
    min-height: 58px;
  }

  .brand img {
    width: auto;
    max-height: 50px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-grid {
    min-width: 0;
    gap: 12px;
    padding: 8px 0 8px;
  }

  .hero-grid>div {
    min-width: 0;
  }

  .hero .eyebrow {
    margin-top: 0;
    margin-bottom: 5px;
  }

  .hero h1 {
    line-height: 0.96;
    margin-bottom: 6px;
  }

  .hero-subtitle {
    margin: 0 0 4px;
    line-height: 1.25;
    overflow-wrap: break-word;
  }

  .hero-copy {
    margin-bottom: 8px;
    line-height: 1.4;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0;
    align-items: flex-start;
  }

  .btn {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 12px;
  }

  .hero-actions .btn {
    min-height: 40px;
    padding: 0 8px;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.035em;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  /* Hide address on narrow screens — email + phone are enough */
  .top-group .top-item:first-child {
    display: none;
  }

  .top-group {
    gap: 18px;
  }
}

/* Angled Why Choose Us image shape above small mobile widths. */
@media (min-width: 481px) {
  .panel.why-panel {
    overflow: hidden;
  }

  .panel.why-panel .why-image {
    position: relative;
    z-index: 1;
    width: calc(100% + 150px);
    max-width: none;
    height: 100%;
    margin-left: -150px;
    border-radius: 0 14px 14px 0;
    clip-path: polygon(63% 0, 100% 0, 100% 100%, 50% 100%, 0 60%, 63% 0);
    -webkit-clip-path: polygon(63% 0, 100% 0, 100% 100%, 50% 100%, 0 60%, 63% 0);
  }

  .panel.why-panel .why-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: rotate(-2deg) scale(1.12);
    transform-origin: center;
  }
}

/* Final adjustment: move angled Why Choose Us image right and soften inner corner. */
@media (min-width: 481px) {
  .panel.why-panel .why-inner .check-list {
    position: relative;
    z-index: 2;
  }

  .panel.why-panel .why-image {
    position: relative;
    z-index: 1;
    width: calc(100% + 85px);
    max-width: none;
    height: 100%;
    margin-left: -85px;
    border-radius: 0 14px 14px 0;
    clip-path: polygon(58% 0, 100% 0, 100% 100%, 46% 100%, 0 60%, 58% 0);
    -webkit-clip-path: polygon(58% 0, 100% 0, 100% 100%, 46% 100%, 0 60%, 58% 0);
  }

  .panel.why-panel .why-image::before {
    content: "";
    position: absolute;
    left: -18px;
    top: calc(60% - 18px);
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
  }

  .panel.why-panel .why-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: rotate(-2deg) scale(1.12);
    transform-origin: center;
  }
}
