:root {
  --green: #ff5a14;
  --green-dark: #d8440b;
  --ink: #121619;
  --muted: #6b7073;
  --line: #dedede;
  --soft: #f3f3f1;
  --white: #ffffff;
  --footer: #121619;
  --shadow: 0 8px 20px rgba(18, 22, 25, 0.08);
  --section-space: 100px;
  --section-space-mobile: 64px;
  --flow-space: 50px;
  --flow-space-mobile: 32px;
  --content-gap: 100px;
  --title-gap: 14px;
  --anchor-gap: 74px;
  --anchor-gap-mobile: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #15191c;
  font-family: Arial, "Helvetica Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
section[id] { scroll-margin-top: var(--anchor-gap); }
.container { width: min(1120px, calc(100% - clamp(24px, 5vw, 80px))); margin: 0 auto; }
.narrow { width: min(840px, calc(100% - clamp(24px, 5vw, 80px))); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner { height: 70px; display: flex; align-items: center; gap: 0; }
.logo {
  display: flex;
  align-items: center;
  width: 92px;
}
.logo img { width: 92px; height: auto; filter: none; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: 116px; font-weight: 800; font-size: 12px; min-width: 0; }
.main-nav a { padding: 27px 0 23px; border-bottom: 3px solid transparent; color: #121619; text-transform: uppercase; letter-spacing: .04em; min-width: 0; }
.main-nav a:hover, .main-nav a.active { color: var(--green); border-color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; min-width: 0; }
.header-actions .btn { min-height: 44px; padding: 0 30px; }
.language-switcher { position: relative; }
.language-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
}
.language-button::after { content: "⌄"; margin-left: 5px; }
.language-button svg { width: 14px; height: 14px; color: var(--muted); }
.language-menu {
  position: absolute;
  top: 30px;
  right: 0;
  display: none;
  min-width: 88px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.language-switcher.open .language-menu { display: grid; }
.language-menu button { border: 0; background: var(--white); padding: 9px 14px; text-align: left; cursor: pointer; }
.language-menu button:hover { background: var(--soft); color: var(--green); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 32px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:focus-visible,
.menu-toggle:focus-visible,
.language-button:focus-visible,
.language-menu button:focus-visible,
.pill-group button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 90, 20, .32);
  outline-offset: 3px;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost, .btn-outline { background: var(--white); border-color: var(--line); color: var(--ink); }

.hero {
  width: min(1120px, calc(100% - clamp(24px, 5vw, 80px)));
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 50.06% 49.94%;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}
.hero-image {
  min-height: auto;
  background-image: url("assets/hero-warehouse.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-image-placeholder {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Crect width='120' height='120' fill='white'/%3E%3Cg fill='none' stroke='%23121619' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M29 42h17l6-9h16l6 9h17c5 0 9 4 9 9v29c0 5-4 9-9 9H29c-5 0-9-4-9-9V51c0-5 4-9 9-9Z'/%3E%3Ccircle cx='60' cy='65' r='18'/%3E%3Cpath d='M85 53h.1'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-gallery {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
}
.hero-gallery-track {
  position: absolute;
  inset: 0;
}
.hero-gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}
.hero-gallery-slide.active {
  opacity: 1;
}
.gallery-arrow,
.gallery-modal-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(18,22,25,.52);
  color: var(--white);
  cursor: pointer;
  padding: 0 0 5px;
  transition: background .18s ease, transform .18s ease;
}
.gallery-arrow:hover,
.gallery-modal-arrow:hover {
  background: rgba(18,22,25,.76);
  transform: translateY(-50%) scale(1.04);
}
.gallery-arrow {
  top: 50%;
  width: 42px;
  height: 42px;
  font-size: 34px;
  line-height: .8;
  transform: translateY(-50%);
}
.gallery-arrow-prev { left: 18px; }
.gallery-arrow-next { right: 18px; }
.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.gallery-dots button,
.gallery-modal-thumbs button {
  padding: 0;
  border: 0;
  cursor: pointer;
}
.gallery-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
}
.gallery-dots button.active {
  background: var(--green);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 650px;
  min-width: 0;
  padding: var(--section-space) 44px 60px 34px;
  color: var(--ink);
  background: var(--white);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 31px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(18, 22, 25, 0.02);
}
.badge svg {
  width: 13px;
  height: 13px;
  color: #f1c40f;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-family: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif;
  max-width: 100%;
  font-size: clamp(40px, 4.5vw, 82px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
h1 span, .eyebrow { color: var(--green); }
h2 { margin-bottom: 18px; font-family: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; font-weight: 900; letter-spacing: .015em; text-transform: uppercase; }
h3 { margin-bottom: 9px; font-size: 14px; line-height: 1.25; font-weight: 900; }
.hero-content p { max-width: 575px; color: #3f464b; font-size: 16px; line-height: 1.58; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }
.check-list { list-style: none; padding: 0; margin: 25px 0 36px; color: #242a2e; font-weight: 700; font-size: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; margin: 11px 0; }
.check-list li svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--green); stroke-width: 2.4; }
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-buttons .btn { min-width: 184px; }
.hero-buttons .btn-ghost { min-width: 176px; }

.section { padding: 0; }
.muted { background: var(--soft); }
.eyebrow {
  margin-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  color: var(--green);
}
.product-section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  background: #15191c;
  color: var(--white);
}
.product-grid {
  display: grid;
  grid-template-columns: 495px 1fr;
  gap: 102px;
  align-items: start;
}
.product-grid > div,
.section-heading,
.feature-card,
.image-card div,
.cert-grid article,
.contact-grid > div,
.quote-form { min-width: 0; }
.product-grid h2 {
  max-width: 430px;
  margin-bottom: 20px;
  font-size: 40px;
  color: var(--white);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.product-grid p {
  max-width: 520px;
  margin-bottom: 20px;
  color: #d7d9da;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.product-grid .btn {
  margin-top: 12px;
  min-height: 44px;
  padding: 0 28px;
  font-size: 12px;
}
.composition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.composition-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.composition-image img {
  display: block;
  width: min(430px, 100%);
  height: auto;
}
.mini-card, .feature-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid #dedede;
  box-shadow: 0 3px 12px rgba(18,22,25,.04);
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mini-card:hover, .feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-card {
  min-height: 138px;
}
.line-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  background: #fff0e8;
  color: var(--green);
  font-weight: 900;
  font-size: 21px;
}
.line-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.7;
}
.mini-card h3 { margin-bottom: 13px; }
.mini-card p, .feature-card p { margin: 0; color: #59687b; font-size: 12px; line-height: 1.55; }
.section-heading { margin-bottom: var(--content-gap); }
.centered { text-align: center; max-width: 610px; margin-left: auto; margin-right: auto; }
.centered h2 {
  margin-bottom: var(--title-gap);
  font-size: 40px;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.centered p { color: var(--muted); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefits-container {
  width: min(1120px, calc(100% - 40px));
}
.feature-card {
  min-height: 250px;
  padding: 26px 24px 24px;
}
.feature-card h3 { margin-bottom: 11px; }
.feature-card .line-icon { margin-bottom: 24px; }
.feature-card h3,
.feature-card p,
.image-card h3,
.image-card p,
.cert-grid h3,
.cert-grid p,
.contact-grid h2,
.contact-grid > div > p,
.contact-list p,
label,
.btn {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.muted {
  padding-top: var(--section-space);
  padding-bottom: var(--flow-space);
  background: #f3f3f1;
  color: var(--ink);
}
.muted .section-heading { margin-bottom: var(--content-gap); }
.muted .centered h2 { margin-bottom: var(--title-gap); }
.muted .section-heading p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.6;
}
.applications-section {
  padding-top: var(--flow-space);
  padding-bottom: var(--section-space);
  background: #f3f3f1;
  color: var(--ink);
}
.applications-section .section-heading {
  margin-bottom: var(--content-gap);
}
.applications-section .centered h2 {
  margin-bottom: var(--title-gap);
}
.applications-section .section-heading p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.6;
}
.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.image-card {
  height: 250px;
  min-height: 250px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.image-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.82) 100%);
}
.image-card div {
  position: relative;
  z-index: 2;
  padding: 0 22px 24px;
}
.gallery-card {
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  outline: none;
}
.image-card h3 {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.2;
}
.image-card p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}
.app-1 { background-image: url("assets/application-exterior.jpg"); }
.app-2 { background-image: url("assets/application-fire.jpg"); }
.app-3 { background-image: url("assets/application-wet.jpg"); }
.app-4 { background-image: url("assets/application-floor.jpg"); }
.app-5, .app-6, .app-7, .app-8 { background-image: none; background-color: #15191c; }

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.gallery-modal.open {
  display: flex;
}
.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18,22,25,.78);
}
.gallery-modal-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 56px);
  padding: 18px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.gallery-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(18,22,25,.72);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.gallery-modal-stage {
  position: relative;
  height: min(66vh, 620px);
  min-height: 320px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef0f0;
}
.gallery-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-modal-arrow {
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 38px;
  line-height: .8;
  transform: translateY(-50%);
}
.gallery-modal-prev { left: 16px; }
.gallery-modal-next { right: 16px; }
.gallery-modal-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.gallery-modal-thumbs button {
  width: 72px;
  height: 54px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #e9ecef;
}
.gallery-modal-thumbs button.active {
  border-color: var(--green);
}
.gallery-modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specs-section {
  padding-top: var(--section-space);
  padding-bottom: var(--flow-space);
  background: var(--white);
  color: var(--ink);
}
.specs-section h2 {
  margin-bottom: var(--content-gap);
  font-size: 40px;
  text-align: center;
}
.table-block { margin-top: 0; }
.table-block + .table-block { margin-top: var(--content-gap); }
.table-block h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  color: #2f3437;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  line-height: 1.2;
}
.table-block h3 svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  stroke-width: 1.7;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}
table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
  line-height: 1.35;
}
th {
  height: 46px;
  background: var(--green);
  color: var(--white);
  text-align: left;
  padding: 0 20px;
  font-weight: 900;
}
td {
  height: 46px;
  padding: 0 20px;
  border-bottom: 1px solid #edf1f5;
  color: #172339;
  vertical-align: middle;
}
tbody tr:nth-child(even) td { background: #f3f6fa; }
.sizes-table th:nth-child(1), .sizes-table td:nth-child(1) { width: 16%; }
.sizes-table th:nth-child(2), .sizes-table td:nth-child(2) { width: 16%; }
.sizes-table th:nth-child(3), .sizes-table td:nth-child(3) { width: 17%; }
.sizes-table th:nth-child(4), .sizes-table td:nth-child(4) { width: 18%; }
.sizes-table th:nth-child(5), .sizes-table td:nth-child(5) { width: 33%; }
.sizes-table td:nth-child(2) {
  color: var(--green);
  font-weight: 900;
}
.properties-table th:nth-child(1), .properties-table td:nth-child(1) { width: 58%; }
.properties-table th:nth-child(2), .properties-table td:nth-child(2) { width: 42%; }
.properties-table td:nth-child(2) {
  color: #172339;
  font-weight: 700;
}
.note { margin-top: var(--content-gap); color: var(--muted); font-size: 12px; }

.certifications-section {
  padding-top: var(--flow-space);
  padding-bottom: var(--section-space);
  background: var(--white);
  color: var(--ink);
}
.certifications-section .section-heading { margin-bottom: var(--content-gap); }
.certifications-section .centered h2 { margin-bottom: var(--title-gap); }
.certifications-section .section-heading > p:last-child {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.6;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
  text-align: center;
  align-items: start;
}
.cert-grid article {
  display: grid;
  grid-template-rows: 76px 42px auto;
  align-items: start;
}
.cert-grid article div {
  width: 100%;
  height: 76px;
  margin: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
  color: #263448;
}
.cert-grid article div svg {
  width: 46px;
  height: 42px;
  stroke-width: 1.9;
}
.cert-grid article div .cert-mark {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.cert-grid article div svg text {
  stroke: none;
}
.cert-grid h3 {
  margin: 0;
  align-self: start;
  font-size: 13px;
  line-height: 1.25;
}
.cert-grid p {
  max-width: 190px;
  margin: 0 auto;
  color: #637083;
  font-size: 11px;
  line-height: 1.45;
}

.contact-section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  background: var(--white);
  border-top: 1px solid var(--line);
}
.contact-grid { display: grid; grid-template-columns: 450px 1fr; gap: 80px; align-items: start; }
.contact-grid h2 {
  max-width: 430px;
  margin-bottom: 24px;
  font-size: 40px;
  line-height: 1.12;
}
.contact-grid > div > p {
  max-width: 440px;
  color: #55657a;
  font-size: 15px;
  line-height: 1.65;
}
.contact-list { display: grid; gap: 22px; margin-top: var(--content-gap); }
.contact-list div { display: flex; gap: 20px; align-items: flex-start; }
.contact-list span {
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  background: #fff0e8;
  color: var(--green);
  font-size: 22px;
}
.contact-list span svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}
.contact-list p { margin: 0; color: #172339; font-size: 15px; line-height: 1.45; font-weight: 900; }
.contact-list strong { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
.quote-form { display: grid; gap: 17px; max-width: 590px; padding-top: 2px; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label, legend { display: grid; gap: 7px; color: #2d3c51; font-size: 13px; font-weight: 900; }
fieldset { border: 0; padding: 0; margin: 0; }
input, textarea {
  width: 100%;
  border: 1px solid #dfe5ed;
  background: var(--white);
  padding: 0 17px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
input { height: 48px; }
textarea {
  min-height: 108px;
  padding-top: 16px;
  resize: vertical;
}
input:focus, textarea:focus { outline: 2px solid rgba(255,90,20,.18); border-color: var(--green); }
.field-error { border-color: #c93434; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-group button {
  min-height: 40px;
  border: 1px solid #dfe5ed;
  background: var(--white);
  padding: 0 16px;
  color: #2e3f55;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.pill-group button:hover, .pill-group button.selected { border-color: var(--green); color: var(--green); background: #fff0e8; }
.thickness-group button {
  width: 40px;
  padding: 0;
}
.form-status { min-height: 20px; margin: 0; color: var(--green); font-weight: 800; }
.btn[disabled] {
  cursor: wait;
  opacity: 0.8;
}
.quote-form > .btn {
  width: 202px;
  min-height: 54px;
  margin-top: 2px;
}

.site-footer {
  background: var(--footer);
  color: #d1dae5;
  padding: 66px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 170px 170px 1fr;
  gap: 88px;
  align-items: start;
}
.footer-grid h3 {
  margin-bottom: 28px;
  color: #7f8587;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 900;
}
.footer-grid a, .footer-grid p {
  display: block;
  margin: 0 0 16px;
  color: #b1b7b8;
  font-size: 13px;
  line-height: 1.55;
}
.footer-language {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b1b7b8;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}
.footer-language:hover,
.footer-language.active { color: var(--white); }
.footer-grid p svg {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  color: var(--green);
  vertical-align: -2px;
}
.footer-grid > div:first-child p {
  max-width: 230px;
}
.footer-grid a:hover { color: var(--white); }
.footer-badge {
  width: 158px;
  height: 158px;
  margin-bottom: 0;
  border-radius: 50%;
}

@media (max-width: 1220px) {
  .main-nav { gap: 22px; margin-left: 72px; }
  .header-actions { gap: 16px; }
  .header-actions .btn { padding: 0 24px; }
  .hero-content { padding-right: 34px; }
  .benefit-grid { gap: 18px; }
  .footer-grid { grid-template-columns: 230px 150px 150px 1fr; gap: 56px; }
}

@media (max-width: 1050px) {
  .header-inner { height: auto; min-height: 76px; flex-wrap: wrap; gap: 18px; padding: 14px 0; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav, .header-actions { display: none; width: 100%; }
  .site-header.open .main-nav, .site-header.open .header-actions { display: flex; }
  .main-nav { order: 3; flex-wrap: wrap; margin-left: 0; gap: 16px 24px; padding-top: 6px; border-top: 1px solid var(--line); }
  .main-nav a { padding: 8px 0; }
  .header-actions { order: 4; justify-content: space-between; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 440px; background-size: cover; }
  .hero-content { max-width: none; padding: var(--section-space-mobile) 40px; }
  .product-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .centered h2,
  .product-grid h2,
  .specs-section h2,
  .contact-grid h2 { font-size: 36px; }
  .composition-grid { max-width: 680px; }
  .quote-form { max-width: none; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 760px) {
  .hero-image { min-height: 360px; }
  .hero-content { padding: var(--section-space-mobile) 30px; }
  .badge { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form > .btn { width: 100%; }
  .certifications-section .section-heading { margin-bottom: var(--content-gap); }
  .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .contact-list { gap: 18px; }
  .gallery-modal { padding: 14px; }
  .gallery-modal-panel { max-height: calc(100vh - 28px); padding: 12px; border-radius: 12px; }
  .gallery-modal-stage { height: 68vh; min-height: 280px; border-radius: 10px; }
  .gallery-modal-arrow { width: 44px; height: 44px; }
  .gallery-modal-prev { left: 10px; }
  .gallery-modal-next { right: 10px; }
}

@media (max-width: 640px) {
  section[id] { scroll-margin-top: var(--anchor-gap-mobile); }
  .container, .narrow { width: min(100% - 24px, 1140px); }
  .logo, .logo img { width: 56px; }
  .site-header.open .main-nav { display: grid; gap: 0; }
  .main-nav a { padding: 12px 0; border-bottom-width: 0; }
  .site-header.open .header-actions { display: grid; gap: 14px; }
  .hero-image { min-height: 310px; }
  .hero-content { padding: var(--section-space-mobile) 22px; }
  .badge { margin-bottom: 22px; font-size: 11px; }
  h1 { font-size: clamp(34px, 10vw, 38px); }
  h2, .centered h2, .product-grid h2, .specs-section h2, .contact-grid h2 { font-size: 30px; }
  .product-grid h2 { max-width: 100%; line-height: 1.05; }
  .section { padding: 0; }
  .composition-grid, .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .muted .section-heading p,
  .applications-section .section-heading p,
  .certifications-section .section-heading > p:last-child { font-size: 14px; }
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .form-row, .footer-grid { grid-template-columns: 1fr; }
  .feature-card,
  .image-card { min-height: 250px; height: 250px; }
  .hero-buttons, .header-actions { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  table { min-width: 600px; font-size: 11px; }
  th, td { height: 40px; padding: 0 12px; }
}

@media (max-width: 480px) {
  .container, .narrow { width: min(100% - 20px, 1140px); }
  .header-inner { min-height: 68px; padding: 12px 0; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero-image { min-height: 260px; }
  .hero-content { padding: var(--section-space-mobile) 18px; }
  .gallery-arrow { width: 38px; height: 38px; font-size: 30px; }
  .gallery-arrow-prev { left: 12px; }
  .gallery-arrow-next { right: 12px; }
  .gallery-dots { bottom: 12px; }
  .badge { padding: 8px 12px; line-height: 1.35; }
  h1 { margin-bottom: 18px; line-height: 1.08; }
  .hero-content p { font-size: 14px; }
  .check-list { font-size: 13px; margin-bottom: 28px; }
  .btn { min-height: 50px; padding: 0 20px; }
  .product-section,
  .contact-section { padding-top: var(--section-space-mobile); padding-bottom: var(--section-space-mobile); }
  .muted,
  .specs-section { padding-top: var(--section-space-mobile); padding-bottom: var(--flow-space-mobile); }
  .applications-section,
  .certifications-section { padding-top: var(--flow-space-mobile); padding-bottom: var(--section-space-mobile); }
  .mini-card,
  .feature-card { padding: 16px; }
  .mini-card { min-height: 172px; }
  .feature-card,
  .image-card { min-height: 235px; height: 235px; }
  .line-icon { width: 34px; height: 34px; margin-bottom: 14px; }
  .line-icon svg { width: 22px; height: 22px; }
  .mini-card h3,
  .feature-card h3 { font-size: 12px; line-height: 1.25; margin-bottom: 10px; }
  .mini-card p,
  .feature-card p { font-size: 10.5px; line-height: 1.45; }
  .image-card div { padding: 0 10px 12px; }
  .image-card h3 { font-size: 11px; }
  .image-card p { font-size: 9px; line-height: 1.25; }
  .cert-grid h3 { font-size: 11px; }
  .cert-grid p { font-size: 9.5px; }
  .cert-grid article { grid-template-rows: 60px 36px auto; }
  .cert-grid article div { height: 60px; }
  .cert-grid article div .cert-mark { width: 44px; height: 44px; }
  .contact-list span { width: 42px; height: 42px; flex-basis: 42px; }
  .footer-badge { width: 132px; height: 132px; }
  .site-footer { padding-top: 48px; }
  .gallery-modal-stage { height: 64vh; min-height: 240px; }
  .gallery-modal-thumbs button { width: 58px; height: 44px; }
}

@media (max-width: 360px) {
  .logo, .logo img { width: 51px; }
  h1 { font-size: 31px; }
  h2, .centered h2, .product-grid h2, .specs-section h2, .contact-grid h2 { font-size: 27px; }
  .composition-grid, .benefit-grid { gap: 10px; }
  .application-grid { gap: 10px; }
  .cert-grid { gap: 14px; }
  .mini-card,
  .feature-card { padding: 14px; }
  .mini-card { min-height: 168px; }
  .feature-card,
  .image-card { min-height: 238px; height: 238px; }
  .pill-group button { width: 100%; }
  .thickness-group button { width: 38px; }
}


/* FBC responsive typography and alignment fix — 2026-10-23 */
html body :is(h1, h2, h3, p, label, .btn) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.contact-list a, .site-footer a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

#dimensions h2 {
  margin-bottom: clamp(28px, 5vw, 48px);
  text-wrap: balance;
}

#dimensions .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

#dimensions .sizes-table {
  min-width: 820px;
  table-layout: auto;
  font-size: 14px;
  line-height: 1.5;
}

#dimensions .sizes-table th,
#dimensions .sizes-table td {
  width: auto;
  height: auto;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

#dimensions :is(th, td):nth-child(-n + 4) {
  white-space: nowrap;
}

#dimensions :is(th, td):last-child {
  white-space: normal;
}

@media (max-width: 640px) {
  .benefit-grid .feature-card {
    height: auto;
    min-height: 235px;
  }

  .cert-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cert-grid article {
    grid-template-rows: auto auto auto;
    gap: 12px;
  }

  .cert-grid h3 { font-size: 14px; }
  .cert-grid p { font-size: 13px; max-width: 300px; }
}


/* Keep long translated benefit titles readable on phones. */
@media (max-width: 480px) {
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit-grid .feature-card {
    height: auto;
    min-height: 0;
    padding: 20px;
  }
  .benefit-grid .feature-card h3 {
    font-size: 16px;
    line-height: 1.3;
  }
  .benefit-grid .feature-card p {
    font-size: 14px;
    line-height: 1.55;
  }
}


/* Consistent section and heading spacing at every breakpoint — 2026-10-23. */
:root {
  --section-space: clamp(64px, 7.5vw, 96px);
  --flow-space: clamp(32px, 3.75vw, 48px);
  --content-gap: clamp(28px, 4vw, 48px);
}

/* Keep these after the mobile .section reset. */
.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

/* Adjacent sections sharing a background use two half-gaps. */
.muted,
.specs-section {
  padding-bottom: var(--flow-space);
}

.applications-section,
.certifications-section {
  padding-top: var(--flow-space);
}

.section-heading > :last-child {
  margin-bottom: 0;
}

#dimensions h2 {
  margin-bottom: var(--content-gap);
}

/* Fit the long Estonian hero title without splitting words. */
html[lang="et"] .hero-content h1 {
  font-size: clamp(28px, 4vw, 60px);
}

/* Responsive hero and touch controls - 2026-10-23. */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-content { container-type: inline-size; max-width: none; padding: 48px 34px; justify-content: center; }
html .hero-content h1, html[lang="et"] .hero-content h1 { font-size: clamp(26px, 3.5vw, 50px); line-height: 1.06; margin-bottom: 20px; text-wrap: balance; }
@supports (font-size: 1cqw) {
  html .hero-content h1, html[lang="et"] .hero-content h1 { font-size: clamp(25px, 10.5cqw, 50px); }
}
.hero-content p { margin: 0; }
.hero-content .check-list { margin: 24px 0 0; line-height: 1.45; }
.hero-content .check-list li { align-items: flex-start; }
.hero-content .check-list svg { margin-top: 3px; }
.hero-buttons:empty { display: none; }
.gallery-arrow { min-width: 44px; min-height: 44px; }
@media (min-width: 901px) and (max-width: 1050px) {
  .hero-image { min-height: 0; }
  .hero-content { padding: 36px 28px; }
  .hero-content p { font-size: 15px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .hero-image { min-height: 0; height: clamp(220px, 40vw, 340px); }
  .hero-content { padding: 36px 30px 40px; justify-content: flex-start; }
  html .hero-content h1, html[lang="et"] .hero-content h1 { font-size: clamp(25px, 6.4vw, 42px); }
  .hero-content input, .hero-content textarea { font-size: 16px; }
  .site-header.open { max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
  .contact-form input, .contact-form textarea { font-size: 16px; }
}
@media (max-width: 480px) {
  .hero-content { padding: 30px 18px 34px; }
  html .hero-content h1, html[lang="et"] .hero-content h1 { font-size: clamp(25px, 8.3vw, 36px); }
  .hero-content .check-list { margin-top: 20px; }
}

/* Readable form fields and anchor offsets below the tablet header. */
.quote-form input, .quote-form textarea { font-size: 16px; }
@media (max-width: 1050px) {
  .site-header.open { max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
  section.section[id] { scroll-margin-top: 128px; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 640px) {
  section.section[id] { scroll-margin-top: 90px; }
}

/* Wide desktop layout - 2026-10-26. */
@media (min-width: 1100px) {
  :root { --desktop-width: min(1680px, calc(100% - clamp(64px, 6vw, 120px))); }
  .container, .container.narrow { width: var(--desktop-width); }
  .hero { width: 100%; max-width: none; border-left: 0; border-right: 0; }
  .hero-content { padding: clamp(44px, 4vw, 80px); }
  html .hero-content h1, html[lang="et"] .hero-content h1 { font-size: clamp(38px, 4vw, 64px); max-width: 760px; }
  @supports (font-size: 1cqw) {
    html .hero-content h1, html[lang="et"] .hero-content h1 { font-size: clamp(38px, 10cqw, 64px); }
  }
  .hero-content p { max-width: 65ch; font-size: 17px; line-height: 1.6; }
  .hero-content .check-list { font-size: 15px; }
  .main-nav { margin-left: clamp(32px, 4vw, 80px); gap: clamp(20px, 2vw, 32px); }
  .product-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 112px); align-items: center; }
  .product-grid h2, .contact-grid h2 { max-width: 650px; font-size: clamp(40px, 3.3vw, 56px); line-height: 1.08; }
  .product-grid p { max-width: 65ch; font-size: 16px; line-height: 1.7; }
  .composition-image img { width: min(560px, 100%); }
  .centered { max-width: 900px; }
  .centered h2, .specs-section h2 { font-size: clamp(40px, 3.3vw, 56px); line-height: 1.08; }
  .benefit-grid, .application-grid { gap: clamp(20px, 2vw, 32px); }
  .benefit-grid { align-items: stretch; }
  .benefit-grid .feature-card { height: auto; min-height: 280px; padding: clamp(24px, 2vw, 32px); }
  .benefit-grid .feature-card h3 { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.3; }
  .benefit-grid .feature-card p { font-size: 15px; line-height: 1.6; }
  .application-grid .image-card { height: clamp(280px, 24vw, 380px); min-height: 280px; }
  .application-grid .image-card h3 { font-size: 18px; line-height: 1.3; }
  #dimensions .sizes-table { width: 100%; font-size: 15px; }
  #dimensions .sizes-table th, #dimensions .sizes-table td { padding: 17px 20px; }
  .cert-grid { gap: clamp(36px, 5vw, 88px); }
  .cert-grid h3 { font-size: 16px; }
  .cert-grid p { max-width: 32ch; font-size: 14px; line-height: 1.6; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 112px); }
  .contact-grid > div > p { max-width: 60ch; font-size: 16px; }
  .footer-grid { grid-template-columns: minmax(200px, 1.3fr) minmax(130px, .8fr) minmax(130px, .8fr) minmax(240px, 1.4fr); gap: clamp(32px, 4vw, 80px); }
  .footer-grid a, .footer-grid p { font-size: 14px; }
}

/* Crawlable language links and accessible galleries. */
.language-menu a { display:block; padding:9px 14px; text-align:left; font-size:14px; background:var(--white); }
.language-menu a:hover, .language-menu a:focus-visible { background:var(--soft); color:var(--green); }
.footer-language[aria-current="page"] { color:var(--white); }
.gallery-modal-image:not([src]) { visibility:hidden; }
.quote-form .btn { min-width:220px; white-space:nowrap; }
.btn-primary, .sizes-table th { background:#c94008; }
.btn-primary:hover { background:#a83205; }
.sizes-table td:nth-child(2) { color:#b63b09; }
.gallery-dots { gap:0; bottom:0; }
.gallery-dots button, .gallery-dots button.active { width:44px; height:44px; background:transparent; display:grid; place-items:center; }
.gallery-dots button::before { content:""; width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.8); }
.gallery-dots button.active::before { background:var(--green); }
@media (min-width:1051px) and (max-width:1220px) {
 .main-nav { margin-left:24px; gap:16px; font-size:11px; }
 .header-actions { gap:12px; }
 .header-actions .btn { padding-left:18px; padding-right:18px; }
}
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *, *::before, *::after { transition-duration:0.01ms!important; animation-duration:0.01ms!important; }
}
