:root {
  --ink: #192026;
  --muted: #5b646b;
  --paper: #f7f7f4;
  --steel-0: #ffffff;
  --steel-1: #eef2f4;
  --steel-2: #b8c0c5;
  --steel-3: #737f87;
  --steel-4: #2b3339;
  --weld: #d88a2d;
  --rust: #9a4f25;
  --line: rgba(25, 32, 38, .16);
  --max: 1180px;
  --shadow: 0 18px 48px rgba(20, 25, 29, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .08) 34%, rgba(255, 255, 255, .7) 70%),
    repeating-linear-gradient(90deg, #e7ebee 0, #f9faf9 16px, #bac3c8 17px, #eef1f2 34px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(154, 79, 37, .34) 49% 51%, transparent 52%),
    linear-gradient(45deg, transparent 0 49%, rgba(25, 32, 38, .18) 50%, transparent 51%);
  background-size: 92px 92px, 68px 68px;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 99;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  background: rgba(247, 247, 244, .88);
  backdrop-filter: blur(18px);
}

.nav {
  width: calc(100% - 32px);
  max-width: var(--max);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brand-mark {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-links a {
  padding: 10px 13px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--line);
  background: rgba(255, 255, 255, .7);
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 280px;
  padding: 8px;
  border: 1px solid rgba(25, 32, 38, .14);
  border-radius: 8px;
  background: rgba(247, 247, 244, .96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.submenu a {
  display: block;
  padding: 10px 12px;
  background: transparent;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--steel-4), #101418);
  text-decoration: none;
  font-weight: 900;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 86px 0 76px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .52));
}

.hero-inner {
  width: calc(100% - 32px);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
  align-content: center;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  justify-self: end;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(25, 32, 38, .12));
}

.kicker {
  width: fit-content;
  padding: 8px 12px;
  color: var(--ink);
  border-left: 5px solid var(--weld);
  background: rgba(255, 255, 255, .7);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  max-width: 860px;
  font-size: clamp(40px, 5vw, 68px);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(32px, 4vw, 58px);
}

h3 {
  font-size: 24px;
}

p {
  margin: 0;
  overflow-wrap: anywhere;
}

li {
  overflow-wrap: anywhere;
}

.lead {
  max-width: 720px;
  color: #313a41;
  font-size: clamp(18px, 2vw, 23px);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 9px 12px;
  border: 1px solid rgba(25, 32, 38, .14);
  background: rgba(255, 255, 255, .72);
  color: #263039;
  font-size: 14px;
  font-weight: 800;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--rust);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section {
  padding: 88px 0;
}

.section.steel {
  color: #f8fafb;
  background:
    linear-gradient(135deg, rgba(216, 138, 45, .12), transparent 38%),
    linear-gradient(120deg, #171d22, #2f383f 54%, #14191d);
}

.section.white {
  background: rgba(255, 255, 255, .82);
}

.value-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(238, 242, 244, .74)),
    linear-gradient(90deg, rgba(216, 138, 45, .12), transparent 48%);
}

.wrap {
  width: calc(100% - 32px);
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
}

.benefit-grid {
  display: grid;
  gap: 16px;
}

.check-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow);
}

.check-panel h3 {
  margin-bottom: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.service-card,
.info-card,
.gallery-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 30px rgba(20, 25, 29, .08);
}

.service-card {
  min-height: 288px;
  padding: 28px;
  display: grid;
  align-content: space-between;
  gap: 22px;
}

.service-card h2,
.gallery-caption h2 {
  font-size: 30px;
  line-height: 1.12;
}

.service-card strong,
.info-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-card ul,
.check-list {
  margin: 0;
  padding-left: 20px;
}

.service-card li,
.check-list li {
  margin: 7px 0;
}

.profile-line {
  height: 22px;
  width: 180px;
  background: linear-gradient(90deg, #59636b, #f8fbfd 45%, #8f9aa1 70%, #303940);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.info-card {
  padding: 28px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.metric {
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #222a30, #58646d);
  border-radius: 8px;
}

.metric b {
  display: block;
  margin-bottom: 4px;
  color: #f1c17c;
  font-size: 30px;
  line-height: 1;
}

.metric span {
  display: block;
  font-weight: 900;
}

.metric small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.45;
}

.gallery-card {
  overflow: hidden;
}

.gallery-visual {
  min-height: 230px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .2), transparent 34%, rgba(255, 255, 255, .45) 49%, transparent 62%),
    repeating-linear-gradient(0deg, rgba(24, 30, 35, .12) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, #6e7981, #e8ecef 45%, #737d84 72%, #263039);
  position: relative;
}

.gallery-visual::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 12px solid rgba(25, 32, 38, .45);
  transform: skewX(-18deg);
}

.gallery-card:nth-child(2) .gallery-visual::after {
  border-width: 0 12px 12px 0;
  inset: 14% 20%;
}

.gallery-card:nth-child(3) .gallery-visual::after {
  inset: 26% 12%;
  border-width: 10px;
  transform: skewX(14deg);
}

.gallery-caption {
  padding: 18px;
  background: rgba(255, 255, 255, .86);
}

.faq-section {
  border-top: 1px solid rgba(25, 32, 38, .08);
}

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

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 10px 24px rgba(20, 25, 29, .06);
}

.faq-grid summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
}

.faq-grid details p {
  padding: 0 20px 20px;
  color: #384047;
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

.contact-panel {
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, #151a1f, #404b53);
  border-radius: 8px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.contact-list a {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-decoration-color: rgba(216, 138, 45, .8);
}

.map {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  filter: saturate(.85) contrast(1.08);
}

.site-footer {
  color: #fff;
  background: #11161a;
}

.footer-inner {
  width: calc(100% - 32px);
  max-width: var(--max);
  min-height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-links button {
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(216, 138, 45, .75);
}

.footer-links a,
.footer-phone {
  color: #fff;
  text-decoration-color: rgba(216, 138, 45, .75);
}

.footer-phone {
  justify-self: end;
  font-weight: 800;
}

.page-hero {
  padding: 74px 0 54px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .54)),
    url("metal-korekt-logo-520.webp") right 12% center / min(520px, 56vw) auto no-repeat;
}

.page-hero p {
  max-width: 760px;
  margin-top: 18px;
  font-size: 20px;
  color: #384047;
}

.content {
  padding: 72px 0;
  background: rgba(255, 255, 255, .84);
}

.content article {
  max-width: 900px;
}

.content article p,
.content article li {
  font-size: 18px;
}

.content article h2 {
  margin-top: 32px;
  margin-bottom: 14px;
  font-size: 34px;
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(430px, calc(100vw - 32px));
}

.cookie-panel {
  max-height: min(720px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(25, 32, 38, .18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(238, 242, 244, .94)),
    repeating-linear-gradient(90deg, rgba(184, 192, 197, .28) 0 1px, transparent 1px 18px);
  box-shadow: 0 22px 58px rgba(20, 25, 29, .24);
}

.cookie-intro {
  display: grid;
  gap: 10px;
  padding: 22px 22px 14px;
}

.cookie-intro h2 {
  font-size: 26px;
}

.cookie-intro p {
  color: #384047;
  font-size: 15px;
}

.cookie-kicker {
  width: fit-content;
  padding: 6px 10px;
  border-left: 4px solid var(--weld);
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cookie-settings {
  display: none;
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 22px 2px;
}

.cookie-consent.is-customizing .cookie-settings {
  display: grid;
  gap: 10px;
}

.cookie-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(25, 32, 38, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}

.cookie-toggle-copy {
  display: grid;
  gap: 4px;
}

.cookie-toggle-copy strong {
  font-size: 15px;
}

.cookie-toggle-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #aeb8be;
  box-shadow: inset 0 0 0 1px rgba(25, 32, 38, .16);
  transition: background .2s ease;
}

.cookie-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 25, 29, .22);
  transition: transform .2s ease;
}

.cookie-toggle input:checked + .cookie-switch {
  background: linear-gradient(135deg, var(--steel-4), #101418);
}

.cookie-toggle input:checked + .cookie-switch::after {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-switch {
  opacity: .8;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 22px 22px;
}

.cookie-btn {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

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

.cookie-btn-light,
.cookie-btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .78);
}

.cookie-save {
  display: none;
}

.cookie-consent.is-customizing .cookie-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
  }

  .nav-item,
  .has-submenu {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
  }

  .submenu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    min-width: 0;
    margin-top: 4px;
    padding: 8px 0 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu a {
    min-height: 42px;
    border-color: rgba(25, 32, 38, .1);
    background: rgba(255, 255, 255, .5);
    font-size: 13px;
  }

  .phone-pill {
    justify-content: center;
    width: max-content;
    min-width: 190px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-logo {
    max-width: 620px;
    justify-self: start;
  }

  .page-hero {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .62));
  }

  .grid.three,
  .grid.two,
  .split-layout,
  .split-layout.reverse,
  .faq-grid,
  .contact-layout,
  .metric-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-phone {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .brand span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 52px;
  }

  .hero-logo {
    width: min(100%, 430px);
    justify-self: center;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .service-card h2,
  .gallery-caption h2 {
    font-size: 27px;
  }

  .page-hero h1 {
    font-size: 29px;
    line-height: 1.1;
  }

  .page-hero p {
    font-size: 17px;
  }

  .service-card {
    padding: 22px;
  }

  .service-card p,
  .service-card li,
  .trust-list li,
  .gallery-caption p {
    font-size: 15px;
  }

  .section {
    padding: 62px 0;
  }

  .split-layout {
    gap: 22px;
  }

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

  .faq-grid summary {
    padding: 16px;
  }

  .faq-grid details p {
    padding: 0 16px 16px;
  }

  .nav-links a,
  .phone-pill {
    font-size: 14px;
  }

  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
  }

  .cookie-panel {
    max-height: calc(100vh - 20px);
  }

  .cookie-intro {
    padding: 18px 16px 10px;
  }

  .cookie-intro h2 {
    font-size: 22px;
  }

  .cookie-settings {
    max-height: min(360px, 46vh);
    padding: 8px 16px 0;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
    padding: 14px 16px 16px;
  }

  .cookie-btn {
    min-height: 42px;
  }
}

