:root {
  --navy: #071a3a;
  --blue: #0b3b82;
  --red: #d82b26;
  --ink: #142033;
  --muted: #64748b;
  --light: #f4f7fb;
  --line: #dce4ef;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(7, 26, 58, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(216, 43, 38, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(216, 43, 38, 0.26);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.catalogue-link {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 60;
  border-radius: 10px 0 0 10px;
  padding: 0.8rem 1rem;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  white-space: nowrap;
}

.catalogue-link:hover {
  transform: translateY(-50%) translateX(-4px);
}

.certificate-card {
  margin: 24px 0 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.certificate-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.certificate-card figcaption {
  padding: 10px 4px 2px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 228, 239, 0.9);
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
}

.topbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
}

.main-header {
  padding: 16px 0;
}

.nav-shell {
  background: rgba(255, 255, 255, 0.98);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--navy);
}

.brand-text small {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li.active > a, .nav-links > li.active > button {
  /* color: var(--blue); */
  color: var(--red);
}

.nav-links .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.25s ease;
}

.nav-links li.has-dropdown:hover .dropdown,
.nav-links li.has-dropdown:focus-within .dropdown,
.nav-links li.has-dropdown .dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.94rem;
}

.dropdown a:hover {
  background: var(--light);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 6px auto;
  transition: 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-slider {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.hero-slide {
  display: none;
  min-height: 680px;
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 58, 0.86), rgba(11, 59, 130, 0.72) 46%, rgba(7, 26, 58, 0.48));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 680px;
}

.hero-copy {
  max-width: 800px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.hero-copy h1 {
  margin: 20px 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-copy p {
  margin: 0 0 26px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-feature {
  min-width: 200px;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.hero-feature span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.83rem;
}

.hero-controls {
  position: absolute;
  right: 6%;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--red);
}

.stats-strip {
  position: relative;
  margin-top: -52px;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2rem);
  font-family: 'Space Grotesk', sans-serif;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-weight: 600;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 42px;
  align-items: center;
}

.about-image,
.image-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img,
.image-card img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
}

.feature-list .icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(11, 59, 130, 0.08);
  color: var(--blue);
  font-size: 0.95rem;
}

.product-grid,
.industry-grid,
.material-grid,
.quality-grid,
.value-grid,
.contact-grid,
.page-grid,
.info-grid {
  display: grid;
  gap: 24px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 1.3fr 0.7fr;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.04);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  transition: 0.25s ease;
}

.product-card:hover,
.industry-card:hover,
.material-card:hover,
.value-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 28px rgba(7, 26, 58, 0.08);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(11, 59, 130, 0.08);
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 18px;
}

.product-card h3,
.industry-card h3,
.material-card h3,
.value-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  color: var(--navy);
}

.product-card p,
.industry-card p,
.material-card p,
.value-card p,
.contact-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card-actions .btn {
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
}

.section-surface {
  background: var(--light);
}

.product-slider-wrap {
  position: relative;
}

.product-slider {
  overflow: hidden;
}

.product-track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
}

.product-slide {
  min-width: calc((100% - 32px) / 3);
  box-sizing: border-box;
}

.product-slide .product-card {
  min-height: 100%;
}

.slider-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.slider-nav button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  color: var(--navy);
}

.hero-bg-1 {
  background-image: url('https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=1400&q=80');
}

.hero-bg-2 {
  background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1400&q=80');
}

.hero-bg-3 {
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1400&q=80');
}

.mini-banner,
.cta-banner {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: 30px;
  padding: 42px 46px;
}

.cta-banner {
  margin-top: 30px;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-banner h3 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-family: 'Space Grotesk', sans-serif;
}

.material-card {
  padding: 22px;
}

.material-card h3 {
  font-size: 1.2rem;
}

.material-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.material-list li {
  display: inline-flex;
  align-items: center;
  background: var(--light);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: var(--light);
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
}

.spec-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
}

.spec-card h3 {
  margin: 0 0 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--navy);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.spec-pill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--light);
}

.spec-pill strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.spec-pill span {
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 700;
}

.spec-table-wrap {
  overflow-x: auto;
  margin-top: 22px;
}

.class-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.class-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.class-tab:hover,
.class-tab:focus-visible,
.class-tab.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.class-dimension-panel[hidden] {
  display: none;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table th {
  background: #f7faff;
  color: var(--navy);
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.industry-card {
  padding: 22px;
}

.industry-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(216, 43, 38, 0.09);
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.quality-visual {
  position: relative;
  padding: 30px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 26px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.badge i {
  color: var(--red);
  font-size: 1.5rem;
}

.quality-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.quality-points li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quality-points .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.value-card {
  padding: 22px 18px;
}

.value-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(11, 59, 130, 0.08);
  color: var(--blue);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.vision-box {
  padding: 40px 30px;
  background: linear-gradient(135deg, rgba(7, 26, 58, 0.96), rgba(11, 59, 130, 0.96));
  border-radius: 28px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.vision-box blockquote {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.contact-card {
  padding: 20px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-method .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(11, 59, 130, 0.08);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 1.2rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0.9rem 0.95rem;
  background: var(--white);
  color: var(--ink);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input.input-error,
.form-field textarea.input-error,
.form-field select.input-error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(216, 43, 38, 0.08);
}

.field-error {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
}

.form-status {
  margin-top: 16px;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.11);
  color: #0f7a52;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.form-status.error {
  background: rgba(216, 43, 38, 0.08);
  color: var(--red);
  border: 1px solid rgba(216, 43, 38, 0.2);
}

.map-box {
  background: linear-gradient(135deg, #eef5ff, #f7fafc);
  border: 1px solid var(--line);
  min-height: 240px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 700;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 66px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}

.footer h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.1rem;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-links,
.footer-products {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.topbar a i,
.footer-links a i,
.footer-products a i {
  margin-right: 8px;
  width: 14px;
  text-align: center;
}

.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-products a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.page-hero {
  position: relative;
  background: linear-gradient(0deg, rgba(7, 26, 58, 0.4), rgba(7, 26, 58, 0.4)), url('images/header.jpg') center/cover no-repeat;
  color: var(--white);
  min-height: 300px;
}

.page-hero-inner {
  display: flex;
  align-items: center;
  min-height: 300px;
}

.page-hero h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.page-hero p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.page-intro {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.page-intro p {
  color: var(--muted);
}

.value-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 26, 58, 0.62);
  z-index: 1000;
}

.modal.show,
.modal.active,
.modal.open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  animation: scaleIn 0.2s ease;
}

.modal-lg {
  width: min(900px, 100%);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px 10px;
}

.modal-header h3 {
  margin: 0;
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
}

.modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.modal-body {
  padding: 12px 24px 24px;
}

.product-modal-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.product-modal-body img {
  border-radius: 18px;
  min-height: 260px;
  object-fit: cover;
}

.modal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.modal-list li {
  display: flex;
  gap: 10px;
  color: var(--ink);
}

.modal-list li::before {
  content: "✓";
  color: var(--red);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .product-slide {
    min-width: calc((100% - 16px) / 2);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .contact-grid,
  .footer-grid,
  .product-modal-body {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 0;
  }

  .topbar-group {
    justify-content: center;
    width: 100%;
    gap: 6px 14px;
    line-height: 1.35;
  }

  .topbar a {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px;
    margin: 0 16px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links > li > a,
  .nav-links > li > button {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
  }

  .nav-links .dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    border: 0;
    background: var(--light);
    padding: 8px 0 0;
    border-radius: 12px;
  }

  .nav-links li.has-dropdown .dropdown.show {
    display: block;
  }

  .product-grid,
  .industry-grid,
  .material-grid,
  .value-grid,
  .spec-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-slide,
  .hero-content {
    min-height: 560px;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar {
    font-size: 0.72rem;
  }

  .topbar-inner {
    gap: 2px;
    padding: 7px 0;
  }

  .topbar-group {
    gap: 2px 10px;
  }

  .product-slide {
    min-width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .hero-features {
    flex-direction: column;
  }

  .hero-controls {
    right: 16px;
    bottom: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    letter-spacing: 0.02em;
  }

  .modal-dialog {
    max-height: 92vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
