:root {
  --navy-950: #061d30;
  --navy-900: #082a46;
  --navy-800: #0b3d63;
  --navy-700: #155d95;
  --teal-700: #0d7d77;
  --teal-600: #168f87;
  --teal-100: #ddf3f1;
  --blue-50: #f3f7fa;
  --ink: #102332;
  --muted: #607180;
  --line: #dbe4ea;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(6, 29, 48, .12);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 8px;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,.96);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(7,36,58,.08); }
.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { flex: 0 0 auto; }
.brand img { width: 270px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 750; }
.main-nav a { position: relative; padding: 10px 0; color: #314858; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--teal-600);
  transition: right .2s ease;
}
.main-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  padding: 11px 16px !important;
  color: #fff !important;
  background: var(--navy-800);
  border-radius: 9px;
}
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--navy-900); transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  min-height: 780px;
  padding-top: 84px;
  color: #fff;
  background: var(--navy-950);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 84px 0 0;
  background-image: linear-gradient(90deg, rgba(5,27,45,.88) 0%, rgba(5,27,45,.70) 44%, rgba(5,27,45,.20) 100%), url("assets/hero-industrial.jpg");
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,27,45,.90) 0%, transparent 42%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  min-height: 590px;
  margin: 0 auto;
  padding: 95px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr);
  align-items: center;
  gap: 70px;
}
.hero-copy { max-width: 760px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8fe3dc;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker.dark { color: var(--teal-700); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 850px;
  margin: 20px 0 24px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-copy > p { max-width: 700px; margin-bottom: 34px; color: rgba(255,255,255,.82); font-size: clamp(1.04rem, 1.8vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--teal-600); box-shadow: 0 12px 30px rgba(22,143,135,.24); }
.button-primary:hover { background: #0e7e78; }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); backdrop-filter: blur(7px); }
.button-secondary:hover { background: rgba(255,255,255,.13); }
.button-full { width: 100%; border: 0; }

.hero-card {
  align-self: end;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: rgba(5,27,45,.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.hero-card-label { display: block; margin-bottom: 7px; color: #8fe3dc; font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.hero-card strong { display: block; font-size: 1.4rem; }
.hero-card p { margin: 8px 0 18px; color: rgba(255,255,255,.72); font-size: .94rem; }
.hero-card-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-card-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .76rem; font-weight: 750; }
.hero-strip {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-strip div { min-height: 106px; padding: 25px 24px; border-right: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; gap: 14px; }
.hero-strip div:last-child { border-right: 0; }
.hero-strip span { color: #7ed7d0; font-size: .78rem; font-weight: 900; }
.hero-strip strong { font-size: .95rem; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 110px 0; }
.section-heading { max-width: 890px; margin-bottom: 56px; }
.section-heading h2, .quality-inner h2, .contact-copy h2 {
  margin: 16px 0 0;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); align-items: end; gap: 70px; }
.split-heading p { margin: 0 0 7px; color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.intro-copy { color: #435868; font-size: 1.08rem; }
.intro-copy p + p { margin-top: 20px; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--blue-50); }
.value-icon { width: 32px; height: 32px; margin-bottom: 16px; display: grid; place-items: center; color: #fff; background: var(--teal-600); border-radius: 50%; font-weight: 900; }
.value-grid h3 { margin-bottom: 8px; font-size: 1.08rem; }
.value-grid p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.services { padding-top: 100px; }
.service-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.service-tab {
  min-height: 92px;
  padding: 17px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.service-tab:hover { transform: translateY(-2px); border-color: #9bb8ca; }
.service-tab span { color: var(--teal-700); font-size: .75rem; font-weight: 900; }
.service-tab strong { line-height: 1.25; }
.service-tab.active { color: #fff; border-color: var(--navy-800); background: var(--navy-800); box-shadow: 0 14px 30px rgba(11,61,99,.16); }
.service-tab.active span { color: #9be8e2; }
.service-panel {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.service-image-wrap { position: relative; min-height: 480px; background: var(--navy-900); overflow: hidden; }
.service-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,29,48,.48), transparent 45%); }
.service-image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: opacity .18s ease, transform .5s ease; }
.service-panel.changing .service-image-wrap img, .service-panel.changing .service-content { opacity: .35; }
.service-number { position: absolute; z-index: 2; left: 28px; bottom: 20px; color: #fff; font-size: 4.2rem; font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.service-content { padding: clamp(34px, 5vw, 65px); align-self: center; transition: opacity .18s ease; }
.service-content h3 { margin: 16px 0 16px; font-size: clamp(2rem, 3vw, 3.15rem); line-height: 1; letter-spacing: -.04em; }
.service-description { color: #486071; font-size: 1.04rem; }
.service-content ul { margin: 25px 0 28px; padding: 0; list-style: none; }
.service-content li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); color: #2f4656; }
.service-content li:last-child { border-bottom: 1px solid var(--line); }
.service-content li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-700); font-weight: 850; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }

.quality-band { color: #fff; background: var(--navy-900); }
.quality-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 90px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.quality-inner h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); }
.quality-inner p { color: rgba(255,255,255,.76); }
.standard-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.standard-tags span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; color: #b9f0ec; font-size: .78rem; font-weight: 850; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps article { position: relative; padding: 30px 25px 34px; border-right: 1px solid var(--line); }
.steps article:last-child { border-right: 0; }
.steps span { color: var(--teal-700); font-size: .78rem; font-weight: 900; }
.steps h3 { margin: 30px 0 10px; font-size: 1.22rem; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }

.gallery-section { padding-top: 90px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: var(--navy-900); }
.gallery-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .45s ease, filter .3s ease; }
.gallery figure:hover img { transform: scale(1.04); filter: grayscale(.3); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 30px 18px 16px; color: #fff; font-weight: 800; background: linear-gradient(transparent, rgba(5,27,45,.82)); }

.contact-section { color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.contact-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 105px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.contact-copy > p { max-width: 560px; color: rgba(255,255,255,.72); }
.contact-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 35px; }
.contact-options a { min-height: 96px; padding: 18px; display: grid; align-content: center; gap: 3px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.05); transition: background .18s ease, border-color .18s ease; }
.contact-options a:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.09); }
.contact-options span { color: #8fe3dc; font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contact-options strong { font-size: .9rem; word-break: break-word; }
.contact-form { padding: clamp(24px, 4vw, 38px); border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 25px 65px rgba(0,0,0,.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 14px; color: #435869; font-size: .78rem; font-weight: 850; letter-spacing: .04em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 49px; padding: 12px 13px; border: 1px solid #ccd8df; border-radius: 8px; color: var(--ink); background: #fff; outline: none; }
.contact-form textarea { min-height: 135px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(22,143,135,.11); }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }

.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { width: min(calc(100% - 40px), var(--max)); min-height: 125px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.footer-inner img { width: 210px; }
.footer-inner > div { display: grid; }
.footer-inner > div span, .footer-inner p { color: var(--muted); font-size: .82rem; }
.footer-inner p { margin: 0; }

@media (max-width: 1040px) {
  .main-nav { gap: 18px; }
  .brand img { width: 235px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 80px; }
  .hero-card { width: min(100%, 520px); align-self: auto; }
  .intro-grid, .contact-inner { grid-template-columns: 1fr; }
  .quality-inner { gap: 50px; }
  .service-tabs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps article:nth-child(2) { border-right: 0; }
  .steps article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .header-inner { min-height: 74px; }
  .brand img { width: 205px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    padding: 12px 20px 20px;
    display: grid;
    gap: 3px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 35px rgba(6,29,48,.12);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 13px 4px; }
  .nav-cta { text-align: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 74px; }
  .hero-bg { inset: 74px 0 0; }
  .hero-inner { min-height: auto; padding: 78px 0 55px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip div:nth-child(2) { border-right: 0; }
  .hero-strip div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .section { padding: 85px 0; }
  .split-heading, .quality-inner { grid-template-columns: 1fr; gap: 22px; }
  .value-grid { grid-template-columns: 1fr; }
  .service-panel { grid-template-columns: 1fr; }
  .service-image-wrap { min-height: 330px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; text-align: center; justify-items: center; }
}

@media (max-width: 560px) {
  .header-inner, .hero-inner, .hero-strip, .section, .quality-inner, .contact-inner, .footer-inner { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 185px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.1rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-card { padding: 22px; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip div { min-height: 74px; padding: 18px 6px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .hero-strip div:last-child { border-bottom: 0; }
  .section-heading { margin-bottom: 38px; }
  .intro-grid { gap: 35px; }
  .service-tabs { grid-template-columns: 1fr; }
  .service-tab { min-height: 70px; }
  .service-image-wrap { min-height: 270px; }
  .service-content { padding: 30px 22px; }
  .service-number { font-size: 3.2rem; }
  .steps { grid-template-columns: 1fr; }
  .steps article { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps article:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 235px; }
  .gallery-wide { grid-column: span 1; }
  .contact-inner { gap: 45px; }
  .contact-options, .form-row { grid-template-columns: 1fr; }
  .contact-options a { min-height: 84px; }
}

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