:root {
  --ink: #172027;
  --muted: #61707b;
  --line: #dfe6ea;
  --paper: #fbfcfb;
  --soft: #eef3f1;
  --red: #b92f2f;
  --red-dark: #8f2428;
  --green: #427566;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 32, 39, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 251, 0.92);
  border-bottom: 1px solid rgba(223, 230, 234, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--green));
  border-radius: 7px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: #33424d;
  font-size: 0.94rem;
  font-weight: 650;
}

.main-nav a {
  padding: 10px 2px;
}

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

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.lang-button {
  min-width: 42px;
  min-height: 34px;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.lang-button.is-active {
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 76px));
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/hero-textiles.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.86) 0%, rgba(10, 14, 18, 0.58) 42%, rgba(10, 14, 18, 0.1) 100%),
    linear-gradient(0deg, rgba(10, 14, 18, 0.25), rgba(10, 14, 18, 0));
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin: auto auto 112px clamp(18px, 7vw, 96px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcdcd;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
}

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

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

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section,
.section-band {
  padding: clamp(72px, 9vw, 116px) clamp(18px, 4vw, 56px);
}

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

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

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

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.intro p,
.section-heading p,
.contact p,
.process-list p,
.offer-card p,
.technology-card p,
.product-detail-grid p,
.industry-card p,
.quote-box p,
.value-grid p,
.application-list p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.intro .split > p {
  margin: 0;
  font-size: 1.08rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.value-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.value-grid h3 {
  margin-top: 0;
}

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

.offer-card {
  min-height: 270px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 32, 39, 0.04);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  color: var(--red-dark);
  font-size: 0.8rem;
  font-weight: 900;
  background: #f8dddd;
  border-radius: 6px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.product-detail-grid article {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-detail-grid h3 {
  margin-top: 0;
}

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

.technology-card {
  min-height: 248px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 32, 39, 0.04);
}

.technology-card h3 {
  margin-top: 0;
}

.application-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  margin-top: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.application-panel h3 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.application-list {
  display: grid;
  gap: 12px;
}

.application-list p {
  margin: 0;
  padding: 16px 18px;
  background: var(--soft);
  border-left: 4px solid var(--red);
  border-radius: 8px;
}

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

.industry-card {
  min-height: 178px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
}

.industry-card strong {
  display: block;
  color: #24313a;
  font-size: 1.04rem;
  font-weight: 850;
}

.industry-card p {
  margin-bottom: 0;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 90px);
}

.sticky-copy {
  position: sticky;
  top: 112px;
  align-self: start;
  margin: 0;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list strong {
  display: block;
  font-size: 1.1rem;
}

.process-column {
  display: grid;
  gap: 14px;
}

.quote-box {
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #315f54);
  border-radius: 8px;
}

.quote-box h3 {
  margin-top: 0;
}

.quote-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-item {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-item strong {
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.25;
}

.contact-item:hover {
  border-color: rgba(185, 47, 47, 0.42);
}

.map-frame {
  height: 280px;
  margin-top: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #26343d;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #f8faf9;
  border: 1px solid #ccd6dc;
  border-radius: 6px;
}

.contact-form textarea {
  resize: vertical;
}

.captcha-field {
  padding: 14px;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.captcha-question {
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 850;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(66, 117, 102, 0.18);
  border-color: var(--green);
}

.contact-form .button {
  width: 100%;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--ink);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 18px;
    overflow: visible;
  }

  .split,
  .process-layout,
  .contact-layout,
  .application-panel {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .technology-grid,
  .product-detail-grid,
  .value-grid,
  .industry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: auto;
  }

  .main-nav {
    font-size: 0.9rem;
    gap: 6px 14px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: auto 16px 72px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 14, 18, 0.9), rgba(10, 14, 18, 0.52));
  }

  .offer-grid,
  .technology-grid,
  .product-detail-grid,
  .value-grid,
  .industry-list {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
