:root {
  color-scheme: light;
  --red: #c71911;
  --red-dark: #a6120b;
  --ink: #202124;
  --muted: #54575b;
  --paper: #f4f4f3;
  --line: #dddeda;
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #2978bc; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1112px, 100% - 64px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; transform: translateY(-150%); padding: 8px 14px; background: white; }
.skip:focus { transform: none; }

.masthead { padding: 12px 16px; text-align: center; color: white; background: var(--red); font-size: .875rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.nav-bar { color: #fff; background: #232323; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 74px; }
.brand { flex: 0 0 auto; }
.brand img { width: 144px; height: auto; }
.nav-inner nav { display: flex; justify-content: center; gap: clamp(18px, 3.1vw, 52px); }
.nav-inner nav a { padding-block: 10px; text-decoration: none; text-transform: uppercase; white-space: nowrap; font-size: .875rem; font-weight: 700; }
.nav-inner nav a:hover { color: #ffa39d; }
.languages { display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #565656; border-radius: 3px; }
.languages button { min-width: 37px; min-height: 34px; padding: 0 5px; color: #f4f4f4; background: transparent; border: 0; border-radius: 2px; font-size: .81rem; font-weight: 700; }
.languages button:hover { background: #3b3b3b; }
.languages button[aria-pressed="true"] { background: var(--red); }
.contact-bar { background: #f5f5f3; }
.quick-contacts { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 84px; }
.quick-contacts > * { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 10px 8px; text-decoration: none; min-width: 0; }
.quick-contacts > * + * { border-inline-start: 1px solid #e4e4e1; }
.quick-contacts a:hover strong { text-decoration: underline; }
.quick-contacts small { display: block; color: var(--muted); font-size: .8rem; }
.quick-contacts strong { font-size: .97rem; }
.contact-icon { color: var(--red-dark); font-size: 1.2rem; }

.hero { display: grid; align-items: center; min-height: clamp(510px, 40vw, 640px); color: white; background: #3d4349 linear-gradient(180deg, #16191d7f, #101317d9) center 40%/cover; background-image: linear-gradient(180deg, #16191d7f, #101317d9), url("assets/hero.jpg"); text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; padding-block: 64px; }
.hero-brand { margin-bottom: 20px; font-size: .88rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
h1 { max-width: 940px; font-size: clamp(2.25rem, 4.6vw, 4.65rem); font-weight: 800; line-height: 1.02; letter-spacing: -.032em; text-wrap: balance; }
.hero-copy { max-width: 665px; margin-top: 25px; font-size: clamp(1rem, 1.55vw, 1.25rem); color: #f8f8f8; text-wrap: balance; }
.experience { margin-top: 11px; color: #f8f8f8; font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 23px; border: 1px solid var(--red); border-radius: 2px; background: var(--red); color: #fff; font-weight: 750; font-size: .875rem; line-height: 1.3; text-align: center; text-decoration: none; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.hero .button { margin-top: 29px; }
.outline { color: var(--red-dark); border-color: var(--red-dark); background: transparent; }
.outline:hover { color: #fff; }

.section { padding-block: 64px 70px; }
.section-title { margin: 0 auto 34px; text-align: center; font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1.16; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }
.section-title::after { content: ""; display: block; width: 66px; height: 3px; margin: 13px auto 0; background: var(--red); }
.feature { background: var(--paper); }
.feature-grid, .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.feature-grid h3 { font-size: clamp(1.45rem, 2.55vw, 2.22rem); font-weight: 800; line-height: 1.12; text-wrap: balance; }
.feature-grid p, .about-grid p { color: var(--muted); margin-top: 16px; }
.feature-grid button { margin-top: 23px; }
.feature-figure { margin: 0; padding: 14px; background: #fff; border: 1px solid var(--line); }
.feature-figure img { width: 100%; height: auto; max-height: 330px; object-fit: contain; }
.feature-figure figcaption { margin-top: 7px; color: var(--muted); font-size: .875rem; text-align: center; }
.about-grid img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; }
.products { --products-red: #ff4d43; display: grid; grid-template-columns: 41.4% 1fr; min-height: clamp(440px, 32.45vw, 590px); background: #050505; color: #fff; }
.products-photo { position: relative; }
.products-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.products-content { align-self: center; padding: clamp(34px, 5.2vw, 85px) clamp(24px, 2.15vw, 46px); }
.products-company { margin-bottom: 17px; color: var(--products-red); font-size: .875rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.products-content h2 { max-width: 950px; font-size: clamp(1.5rem, 1.9vw, 2.3rem); line-height: 1.22; font-weight: 800; text-transform: uppercase; }
.products-content h2::after { content: ""; display: block; width: 60px; height: 7px; margin: 25px 0 17px; background: #ed1c14; }
.products-copy { max-width: 940px; color: #c5c5c5; font-size: 1rem; line-height: 1.55; }
.products-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 17px; }
.products-link { display: flex; flex-direction: column; justify-content: center; min-height: 89px; gap: 5px; padding: 12px 16px; border-inline-start: 2px solid #ed1c14; color: var(--products-red); font-size: .875rem; text-decoration: none; }
.products-link strong { text-transform: uppercase; }
.products-link:hover { background: #171717; }
.products-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.services-grid article { background: #fff; border: 1px solid var(--line); }
.services-grid h3 { padding: 13px; background: var(--red-dark); color: white; text-align: center; font-size: 1.1rem; }
.services-grid img { width: 100%; height: auto; aspect-ratio: 1.57; object-fit: cover; }
.services-grid p { padding: 16px; color: var(--muted); }
.about .section-title { margin: 0; text-align: start; }
.about .section-title::after { margin-inline: 0; }
.text-link { display: inline-block; margin-top: 19px; color: var(--red-dark); font-weight: 700; text-underline-offset: 4px; }

footer { padding-block: 48px 20px; color: white; background: #232323; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.footer-inner h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.12; }
.footer-inner p { margin-top: 13px; color: #ddd; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 25px; margin-top: 12px; }
.footer-links a, .footer-bottom a { text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 17px; border-top: 1px solid #555; font-size: .875rem; color: #ddd; }
dialog { width: min(500px, 100% - 32px); padding: 0; border: 1px solid var(--line); color: var(--ink); background: white; }
dialog::backdrop { background: #111b; }
.dialog-content { position: relative; padding: 29px; }
.dialog-content h2 { padding-right: 35px; font-size: 1.55rem; line-height: 1.2; }
.dialog-content p { margin-top: 14px; color: var(--muted); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.close { position: absolute; top: 13px; right: 13px; display: grid; place-content: center; width: 38px; height: 38px; background: white; border: 1px solid var(--line); color: var(--ink); font-size: 1.65rem; }
.close:hover { background: var(--paper); }
section[id], footer[id] { scroll-margin-top: 15px; }

@media (max-width: 915px) {
  .nav-inner { display: grid; grid-template-columns: 1fr auto; column-gap: 15px; row-gap: 0; padding-top: 10px; }
  .nav-inner nav { grid-column: 1/-1; grid-row: 2; justify-content: start; flex-wrap: wrap; column-gap: 24px; }
  .wrap { width: calc(100% - 42px); }
}

@media (max-width: 760px) {
  .products { grid-template-columns: 1fr; }
  .products-photo { aspect-ratio: 662/519; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 30px); }
  .masthead { font-size: .75rem; letter-spacing: .07em; }
  .brand img { width: 113px; }
  .nav-inner nav { gap: 0 15px; }
  .nav-inner nav a { white-space: normal; font-size: .76rem; }
  .languages button { min-width: 33px; min-height: 36px; }
  .quick-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 62px; }
  .quick-contacts > div { display: none; }
  .quick-contacts > * { justify-content: start; gap: 5px; padding-inline: 4px; }
  .quick-contacts > a:last-child { justify-content: end; }
  .quick-contacts strong { font-size: .84rem; overflow-wrap: anywhere; }
  .quick-contacts small { font-size: .75rem; }
  .contact-icon { display: none; }
  .hero { min-height: 465px; }
  .section { padding-block: 44px 48px; }
  .section-title { margin-bottom: 25px; }
  .feature-grid, .about-grid, .services-grid { grid-template-columns: 1fr; gap: 22px; }
  .products-links { grid-template-columns: 1fr; gap: 10px; }
  .products-link { min-height: 64px; }
  .footer-inner { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
