:root {
  --ink: #15202b;
  --muted: #64707d;
  --line: #d8dee5;
  --paper: #f6f7f8;
  --white: #ffffff;
  --red: #cf2c34;
  --red-dark: #9f1f26;
  --gold: #c79a3b;
  --steel: #27333f;
  --shadow: 0 18px 45px rgba(21, 32, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(216, 222, 229, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img,
.site-footer img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #303b46;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--red);
}

.nav-quote {
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--white) !important;
  background: var(--red);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  display: none;
  width: 360px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav-dropdown-menu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 16px;
  content: "";
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px;
  border-radius: 5px;
}

.nav-dropdown-menu a:hover {
  background: var(--paper);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  background: var(--white);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
  padding: clamp(22px, 2.5vw, 38px) clamp(18px, 5vw, 78px) 34px;
  background: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 3.8vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.85rem, 2.7vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: #475563;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  width: max-content;
  max-width: 100%;
  margin: 0;
}

.hero-stats div {
  padding: 0 20px;
  margin: 0;
  border-right: 1px solid var(--line);
}

.hero-stats div:first-child {
  padding-left: 0;
}

.hero-stats div:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 0;
}

.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 650ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--steel);
  color: var(--white);
}

.trust-strip a {
  padding: 18px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-weight: 800;
  text-decoration: none;
}

.trust-strip a:hover {
  background: rgba(255, 255, 255, 0.09);
}

.section {
  padding: clamp(54px, 6vw, 78px) clamp(18px, 5vw, 78px);
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--white);
}

.section.intro {
  padding-top: clamp(44px, 5vw, 68px);
  padding-bottom: clamp(44px, 5vw, 68px);
}

#products {
  padding-top: clamp(50px, 5vw, 68px);
  padding-bottom: clamp(54px, 6vw, 78px);
  background: var(--paper);
}

#products .section-heading {
  max-width: none;
  margin-bottom: 28px;
}

#products .section-heading h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
  white-space: nowrap;
}

.intro p:last-child,
.section-heading > p:last-child {
  color: #50606f;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.applications .section-heading,
.custom-section .section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.applications .section-heading h2,
.custom-section .section-heading h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.55rem);
}

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

.product-family-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #aab5c0;
  box-shadow: 0 15px 30px rgba(21, 32, 43, 0.09);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: contain;
  padding: 18px;
  background: var(--paper);
}

.product-family-grid .product-card img,
.product-family-grid .category-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0;
  background: #f3f3f3;
}

.product-card h3,
.product-card p,
.product-card .label {
  margin-left: 18px;
  margin-right: 18px;
}

.product-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;
}

.product-card p {
  margin-bottom: 20px;
  color: #50606f;
}

.feature-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  background: #fdf7f2;
}

.feature-card img {
  height: 100%;
  aspect-ratio: auto;
  padding: 20px;
}

.label {
  margin-top: 0;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.applications {
  padding-top: clamp(54px, 6vw, 78px);
  padding-bottom: clamp(54px, 6vw, 78px);
  background: var(--white);
}

.custom-section {
  padding-top: clamp(54px, 6vw, 78px);
  padding-bottom: clamp(54px, 6vw, 78px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.application-layout,
.factory {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.factory {
  background: var(--white);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #33414f;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "✓";
  font-weight: 900;
}

.check-list.muted li::before {
  color: var(--gold);
}

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

.application-gallery img {
  width: 100%;
  height: 230px;
  border-radius: 8px;
  object-fit: cover;
}

.application-gallery img:first-child {
  grid-row: auto;
  height: 230px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid var(--line);
}

.spec-grid div {
  min-height: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.spec-grid span,
.spec-grid small {
  display: block;
}

.spec-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.spec-grid strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 1.05rem;
}

.spec-grid small {
  color: #65727f;
}

.factory-images {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.factory-images img {
  width: 100%;
  height: 420px;
  border-radius: 8px;
  object-fit: cover;
}

.factory-images img:last-child {
  height: 320px;
  margin-top: 70px;
}

.text-link {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 78px);
  background: var(--paper);
}

.page-hero-copy {
  max-width: 760px;
}

.page-hero-copy h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
}

.page-hero-copy > p:not(.eyebrow) {
  color: #50606f;
  font-size: 1.1rem;
}

.page-hero img {
  width: 100%;
  height: 520px;
  border-radius: 8px;
  object-fit: cover;
}

.category-grid,
.factory-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.category-card img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: contain;
  padding: 18px;
  background: var(--paper);
}

.category-card div {
  padding: 20px;
}

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

.factory-gallery img {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.factory-gallery img:first-child {
  grid-column: span 2;
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: start;
}

.detail-intro h2 {
  margin-bottom: 0;
}

.detail-points {
  color: var(--muted);
  font-size: 1.08rem;
}

.benefit-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.benefit-grid div,
.process-grid div {
  padding: 28px;
  background: var(--white);
}

.benefit-grid strong,
.process-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.benefit-grid p,
.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 900;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.detail-gallery img {
  width: 100%;
  height: 360px;
  border-radius: 8px;
  object-fit: contain;
  padding: 18px;
  background: var(--paper);
}

.product-detail-hero img {
  object-fit: contain;
  padding: clamp(18px, 3vw, 42px);
  background: var(--paper);
}

.detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(52px, 7vw, 90px) clamp(18px, 5vw, 78px);
  background: var(--steel);
  color: var(--white);
}

.detail-cta div {
  max-width: 900px;
}

.detail-cta h2 {
  margin-bottom: 0;
  color: var(--white);
}

.quote-section {
  display: block;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 78px);
  background: var(--steel);
  color: var(--white);
}

.quote-copy {
  max-width: 820px;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-box {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-box a {
  color: var(--white);
  text-decoration: none;
}

.contact-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  max-width: 470px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-row span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-row strong {
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: background 160ms ease, border-color 160ms ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 26px clamp(18px, 5vw, 78px);
  border-top: 1px solid var(--line);
  color: #50606f;
}

.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
}

.success-page {
  display: grid;
  place-items: start;
  align-content: center;
  min-height: 100vh;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.success-page img {
  width: 76px;
  height: 76px;
  margin-bottom: 32px;
  object-fit: contain;
}

.success-page h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.success-page > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 1100px) {
  .hero,
  .intro,
  .application-layout,
  .factory,
  .detail-intro,
  .page-hero,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    width: min(100%, 680px);
    min-height: 0;
    margin: 0 auto;
  }

  .product-grid,
  .spec-grid,
  .category-grid,
  .factory-gallery,
  .benefit-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section,
  .applications,
  .custom-section,
  .factory,
  .quote-section,
  .page-hero,
  .detail-cta {
    padding: 42px 18px;
  }

  .site-header {
    align-items: center;
    min-height: 68px;
    padding: 9px 14px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    overflow: hidden;
    max-width: 185px;
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 67px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-dropdown-menu {
    position: static;
    display: block;
    width: auto;
    margin: 0 0 4px 12px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 1px solid var(--line);
    box-shadow: none;
  }

  .nav-dropdown-menu a {
    color: var(--muted);
    font-size: 0.9rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  h3 {
    font-size: 1.08rem;
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 0.7rem;
  }

  #products .section-heading h2 {
    white-space: normal;
  }

  .hero {
    gap: 30px;
    padding: 32px 18px 42px;
  }

  .hero-copy > p:not(.eyebrow),
  .page-hero-copy > p:not(.eyebrow),
  .detail-points {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin: 20px 0 24px;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .hero-stats div {
    min-width: 0;
    padding: 0 10px;
  }

  .hero-stats dt {
    font-size: 0.65rem;
  }

  .hero-stats dd {
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .hero-media {
    min-height: auto;
    display: block;
  }

  .hero-carousel {
    aspect-ratio: 1.32 / 1;
    border-radius: 6px;
  }

  .hero-stats,
  .trust-strip,
  .product-grid,
  .spec-grid,
  .category-grid,
    .factory-gallery,
    .benefit-grid,
    .process-grid,
    .detail-gallery,
    .factory-images,
    .site-footer {
    grid-template-columns: 1fr;
  }

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

  .trust-strip {
    display: grid;
  }

  .page-hero img,
  .detail-gallery img,
  .factory-gallery img,
  .factory-gallery img:first-child {
    grid-column: auto;
    height: auto;
  }

  .feature-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

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

  .application-gallery img,
  .application-gallery img:first-child {
    height: 112px;
  }

  .factory-images img,
  .factory-images img:last-child {
    height: auto;
    margin-top: 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  #products .section-heading {
    margin-bottom: 22px;
  }

  .product-grid,
  .category-grid {
    gap: 14px;
  }

  .product-card h3,
  .product-card p,
  .product-card .label {
    margin-left: 16px;
    margin-right: 16px;
  }

  .product-card h3 {
    margin-top: 16px;
  }

  .spec-grid {
    border-top: 1px solid var(--line);
  }

  .spec-grid div {
    padding: 16px 0;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-row strong {
    overflow-wrap: anywhere;
  }

  .quote-copy h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .detail-cta {
    display: grid;
  }

  .site-footer {
    display: grid;
    gap: 16px;
    padding: 24px 18px;
  }

  .site-footer p {
    font-size: 0.9rem;
  }
}
