:root {
  --ink: #10212f;
  --ink-2: #1a3345;
  --steel: #4d6778;
  --mist: #eef3f5;
  --line: #d6e0e5;
  --white: #fff;
  --cyan: #13a9d3;
  --orange: #ef6c2f;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--white); padding: 12px 16px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background .25s, color .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 8px 28px rgba(20,40,55,.09); backdrop-filter: blur(14px); }
.header-inner { width: var(--container); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; font-weight: 800; font-size: 13px; letter-spacing: -.06em; }
.brand b { display: block; font-size: 20px; letter-spacing: .13em; line-height: 1; }
.brand small { display: block; margin-top: 5px; opacity: .72; font-size: 12px; letter-spacing: .03em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 650; }
.main-nav a:hover { color: var(--cyan); }
.main-nav .nav-contact { padding: 10px 15px; border: 1px solid currentColor; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 760px; color: var(--white); overflow: hidden; display: grid; align-items: center; }
.hero-image { position: absolute; inset: 0; background: url("assets/hero.jpg") 50% 50% / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,22,34,.95) 0%, rgba(8,31,47,.80) 46%, rgba(8,31,47,.2) 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.hero-content { position: relative; padding-top: 105px; padding-bottom: 64px; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--cyan); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; }
.eyebrow { color: #9cdef0; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 2px; background: var(--orange); }
h1 { max-width: 850px; margin: 0; font-size: clamp(46px, 6.3vw, 86px); line-height: .98; letter-spacing: -.045em; font-weight: 750; }
.hero-lead { max-width: 700px; margin: 30px 0 0; color: rgba(255,255,255,.84); font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 22px; text-decoration: none; font-weight: 750; font-size: 14px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary:hover { background: #ff7a39; }
.button-ghost { border: 1px solid rgba(255,255,255,.55); }
.button-ghost:hover { background: rgba(255,255,255,.09); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 205px)); gap: 0; margin: 62px 0 0; }
.hero-facts div { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.28); }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { font-size: 28px; font-weight: 800; line-height: 1.1; }
.hero-facts dd { margin: 7px 0 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.35; }

.section { padding: 112px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: end; gap: 70px; margin-bottom: 48px; }
.section-head h2, .service-intro h2, .company-layout h2, .contact-card h2 { margin: 0; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -.035em; }
.section-head > p { margin: 0 0 5px; color: var(--steel); font-size: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { min-width: 0; border: 1px solid var(--line); background: var(--white); }
.product-image { height: 250px; padding: 28px; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-copy { padding: 28px; }
.card-number { margin: 0 0 18px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.product-card h3 { margin: 0; font-size: 23px; line-height: 1.18; }
.product-card p:not(.card-number) { color: var(--steel); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { padding: 6px 10px; background: var(--mist); color: var(--ink-2); font-size: 12px; font-weight: 750; }
.card-link { display: inline-block; margin-top: 22px; color: var(--orange); text-decoration: none; font-size: 14px; font-weight: 800; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.service-section { background: var(--ink); color: var(--white); }
.service-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.service-intro { position: sticky; top: 118px; align-self: start; }
.service-intro > p:not(.section-kicker) { margin: 26px 0; color: rgba(255,255,255,.65); font-size: 18px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: #9cdef0; text-decoration: none; font-weight: 750; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.service-list article { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.18); }
.service-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.service-list article > span { color: var(--cyan); font-size: 12px; font-weight: 800; }
.service-list h3 { margin: 0; font-size: 24px; }
.service-list p { margin: 8px 0 0; color: rgba(255,255,255,.62); }

.production-section { background: #f4f7f8; }
.equipment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.equipment-grid figure { margin: 0; background: var(--white); border: 1px solid var(--line); }
.equipment-grid img { width: 100%; height: 230px; object-fit: cover; background: white; }
.equipment-grid figcaption { padding: 18px; }
.equipment-grid b, .equipment-grid span { display: block; }
.equipment-grid b { font-size: 15px; }
.equipment-grid span { margin-top: 4px; color: var(--steel); font-size: 13px; }

.company-section { border-top: 8px solid var(--orange); }
.company-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.company-copy { padding-top: 42px; }
.company-copy p { color: var(--steel); font-size: 18px; }
.company-copy .lead { margin-top: 0; color: var(--ink); font-size: 23px; line-height: 1.45; }

.news-section { background: var(--mist); }
.news-section .section-head { align-items: end; }
.news-all-link { justify-self: end; margin-bottom: 8px; color: var(--orange); text-decoration: none; font-weight: 800; }
.news-all-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-feature { display: grid; grid-template-columns: 190px 1fr; gap: 48px; padding: 42px 46px; border-top: 4px solid var(--cyan); background: var(--white); }
.news-feature time { color: var(--steel); font-size: 14px; font-weight: 700; }
.news-feature h3 { max-width: 760px; margin: 0; font-size: clamp(27px, 3vw, 40px); line-height: 1.12; letter-spacing: -.025em; }
.news-feature h3 a { text-decoration: none; }
.news-feature h3 a:hover { color: var(--cyan); }
.news-feature p { max-width: 780px; margin: 18px 0 0; color: var(--steel); font-size: 17px; }

.site-header.inner-header { background: rgba(255,255,255,.98); color: var(--ink); box-shadow: 0 8px 28px rgba(20,40,55,.09); }
.inner-main { padding-top: 78px; }
.page-intro { padding: 92px 0 66px; color: var(--white); background: var(--ink); }
.page-intro .section-kicker { color: #9cdef0; }
.page-intro h1 { max-width: none; font-size: clamp(42px, 6vw, 72px); }
.page-intro p:last-child { max-width: 680px; margin: 24px 0 0; color: rgba(255,255,255,.7); font-size: 19px; }
.news-list { display: grid; gap: 18px; }
.news-card { display: grid; grid-template-columns: 180px 1fr auto; gap: 36px; align-items: start; padding: 34px 38px; border: 1px solid var(--line); background: var(--white); }
.news-card time { color: var(--steel); font-size: 14px; font-weight: 700; }
.news-card h2 { margin: 0; font-size: 27px; line-height: 1.2; }
.news-card h2 a { text-decoration: none; }
.news-card h2 a:hover { color: var(--cyan); }
.news-card p { margin: 12px 0 0; color: var(--steel); }
.news-card .card-link { margin: 4px 0 0; white-space: nowrap; }
.article-wrap { max-width: 860px; }
.article-meta { margin: 0 0 22px; color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.article-title { max-width: 960px; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.04; }
.article-body { padding: 76px 0 104px; }
.article-body p { margin: 0 0 24px; color: var(--steel); font-size: 19px; line-height: 1.72; }
.article-body .lead { color: var(--ink); font-size: 23px; line-height: 1.55; }
.back-link { display: inline-block; margin-top: 26px; color: var(--orange); text-decoration: none; font-weight: 800; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-section { padding: 0 0 72px; }
.contact-card { display: grid; grid-template-columns: 1fr .72fr; gap: 80px; padding: 68px; color: var(--white); background: var(--ink-2); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 330px; height: 330px; right: -180px; top: -200px; border: 64px solid rgba(19,169,211,.16); border-radius: 50%; }
.section-kicker.light { color: #9cdef0; }
.contact-card > div > p:not(.section-kicker) { color: rgba(255,255,255,.68); font-size: 18px; }
.contact-actions { position: relative; z-index: 1; display: grid; gap: 15px; align-content: center; }
.contact-actions a { padding: 17px 20px; text-decoration: none; border: 1px solid rgba(255,255,255,.22); transition: border .2s, background .2s; }
.contact-actions a:hover { border-color: var(--cyan); background: rgba(19,169,211,.08); }
.contact-actions span, .contact-actions b { display: block; }
.contact-actions span { color: rgba(255,255,255,.56); font-size: 12px; }
.contact-actions b { margin-top: 4px; font-size: 20px; }
.contact-actions p { margin: 10px 0 0; color: rgba(255,255,255,.65); }

.site-footer { padding: 28px 0; color: #657b89; background: #e7edef; font-size: 13px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .main-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; padding: 22px 20px 26px; background: var(--white); color: var(--ink); box-shadow: 0 20px 28px rgba(20,40,55,.12); }
  .main-nav.open { display: grid; }
  .main-nav .nav-contact { margin-top: 6px; text-align: center; }
  .menu-button { display: block; }
  .site-header.menu-open { background: var(--white); color: var(--ink); }
  .hero { min-height: 720px; }
  .section-head, .company-layout { grid-template-columns: 1fr; gap: 28px; }
  .news-section .section-head { gap: 14px; }
  .news-all-link { justify-self: start; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card-main { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; gap: 56px; }
  .service-intro { position: static; }
  .equipment-grid { grid-template-columns: 1fr 1fr; }
  .company-copy { padding-top: 0; }
  .contact-card { grid-template-columns: 1fr; gap: 42px; padding: 48px; }
  .news-card { grid-template-columns: 150px 1fr; }
  .news-card .card-link { grid-column: 2; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .brand small { display: none; }
  .main-nav { top: 68px; }
  .hero { min-height: auto; }
  .hero-content { padding-top: 132px; padding-bottom: 46px; }
  h1 { font-size: clamp(42px, 13vw, 61px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-facts { grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
  .hero-facts div { padding: 0 0 0 18px; border-left: 1px solid rgba(255,255,255,.28); }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 32px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-main { display: block; grid-column: auto; }
  .product-image { height: 215px; }
  .equipment-grid { grid-template-columns: 1fr; }
  .equipment-grid img { height: 250px; }
  .news-feature { grid-template-columns: 1fr; gap: 16px; padding: 30px 24px; }
  .inner-main { padding-top: 68px; }
  .page-intro { padding: 70px 0 50px; }
  .news-card { grid-template-columns: 1fr; gap: 12px; padding: 28px 24px; }
  .news-card .card-link { grid-column: auto; }
  .article-body { padding: 54px 0 76px; }
  .article-body p { font-size: 17px; }
  .article-body .lead { font-size: 20px; }
  .contact-card { width: 100%; padding: 44px 24px; }
  .contact-card h2 { font-size: 36px; }
  .site-footer .container { display: grid; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
