:root {
  --blue: #0878c9;
  --blue-dark: #075f9e;
  --ink: #10283a;
  --muted: #5d6d79;
  --line: #dce5eb;
  --pale: #f3f7f9;
  --white: #ffffff;
  --amber: #f5b63f;
  --green: #27a86e;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 92px 0; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, .26);
  color: var(--white);
}
.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; width: 128px; }
.brand img {
  width: 122px;
  filter: brightness(0) invert(1);
}
.header-contact { display: flex; flex-direction: column; align-items: flex-end; }
.header-contact span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.header-contact a { font-size: 20px; font-weight: 700; text-decoration: none; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .gallery-item:focus-visible, .lightbox-close:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.button-small { min-height: 42px; padding: 9px 18px; border-color: rgba(255,255,255,.55); }
.button-small:hover, .button-ghost:hover { background: rgba(255,255,255,.12); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-dark); }
.button-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #183c55; }

.hero {
  position: relative;
  min-height: min(840px, 92vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; object-position: 50% 56%; }
.hero-shade { background: rgba(5, 25, 40, .66); }
.hero-content { position: relative; z-index: 1; padding-top: 128px; padding-bottom: 58px; }
.status-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 24px auto;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.status-label span { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(39,168,110,.2); }
.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero .eyebrow { color: #abd9f8; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(46px, 6.4vw, 86px);
  line-height: .98;
  font-weight: 800;
}
.hero-lead { max-width: 720px; margin: 28px 0 0; font-size: 19px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.68); }

.incident { border-bottom: 1px solid var(--line); background: var(--pale); padding: 38px 0; }
.incident-grid { display: grid; grid-template-columns: 54px 1fr auto; gap: 24px; align-items: center; }
.incident-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--amber);
  border-radius: 50%;
  color: #4b3305;
  font-size: 28px;
  font-weight: 800;
}
.incident h2 { margin: 0 0 7px; font-size: 26px; line-height: 1.15; }
.incident p { max-width: 780px; margin: 0; color: var(--muted); }
.incident .section-kicker { margin-bottom: 8px; }
.incident-kicker { text-align: right; }
.text-link { color: var(--blue-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.process { background: var(--white); }
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}
.process-list li { border-top: 2px solid var(--blue); padding-top: 18px; }
.process-list span { display: block; color: var(--blue); font-size: 13px; font-weight: 700; }
.process-list h3 { margin: 24px 0 8px; font-size: 20px; line-height: 1.2; }
.process-list p { margin: 0; color: var(--muted); }
.process-photo { margin: 0; background: #edf2f5; }
.process-photo img { width: 100%; height: auto; }

.technology { background: var(--pale); }
.technology-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: center; }
.technology h2 { margin: 0 0 22px; font-size: 48px; line-height: 1.08; }
.technology-grid > div:first-child > p:not(.section-kicker) { color: var(--muted); font-size: 17px; }
.technology-visuals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.technology-visuals figure { margin: 0; }
.technology-visuals img { width: 100%; aspect-ratio: 1.1; object-fit: contain; background: var(--white); }
.technology-visuals figcaption { padding-top: 9px; color: var(--muted); font-size: 13px; }

.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; margin-bottom: 42px; }
.section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
.section-heading > p { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.service-number { display: block; margin-bottom: 45px; color: var(--blue); font-size: 13px; font-weight: 700; }
.service-card h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  padding-top: 34px;
  border-top: 3px solid var(--blue);
  gap: 30px;
}
.facts strong { display: block; margin-bottom: 5px; font-size: 29px; line-height: 1.1; }
.facts span { display: block; color: var(--muted); font-size: 14px; }

.about { background: var(--pale); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about-image { border-radius: 6px; background: #edf2f5; }
.about-image img { width: 100%; height: auto; }
.about-copy > p:not(.section-kicker) { color: var(--muted); font-size: 17px; }
.check-list { margin: 28px 0 34px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 13px 32px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 3px; color: var(--green); font-weight: 800; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 12px; }
.gallery-item {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #dbe6ec;
  cursor: zoom-in;
}
.gallery-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 11px;
  border-radius: 4px;
  background: rgba(8, 28, 42, .84);
  color: var(--white);
  font: 700 14px/1.2 Arial, sans-serif;
}

.contact { background: var(--blue-dark); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.section-kicker-light { color: #a8dbfa; }
.contact-lead { max-width: 600px; color: rgba(255,255,255,.78); font-size: 18px; }
.contact-phone { display: inline-block; margin-top: 32px; font-size: clamp(32px, 4.5vw, 62px); font-weight: 800; line-height: 1; text-decoration: none; }
.contact-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.contact-phone + p { color: rgba(255,255,255,.68); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-top: 12px; font-style: normal; }
.contact-details div { border-top: 1px solid rgba(255,255,255,.3); padding-top: 15px; }
.contact-details span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.62); font-size: 12px; text-transform: uppercase; }
.contact-details a, .contact-details p { display: block; margin: 3px 0; font-weight: 700; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

.site-footer { padding: 34px 0; background: #0b2030; color: rgba(255,255,255,.68); }
.footer-inner { display: grid; grid-template-columns: 140px 1fr 1fr; align-items: center; gap: 38px; }
.footer-inner img { width: 102px; filter: brightness(0) invert(1); opacity: .9; }
.footer-inner p { margin: 0; font-size: 13px; }
.footer-note { text-align: right; }
.mobile-call { display: none; }

.lightbox {
  width: min(1000px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #071722;
  color: var(--white);
}
.lightbox::backdrop { background: rgba(4, 16, 24, .86); }
.lightbox img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox p { margin: 0; padding: 14px 20px; }
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(4,16,24,.8);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .technology-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { padding-bottom: 66px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 66px 0; }
  .site-header { position: absolute; }
  .header-inner { min-height: 76px; grid-template-columns: 1fr auto; gap: 14px; }
  .brand { width: 92px; }
  .brand img { width: 86px; }
  .header-contact { display: none; }
  .button-small { min-height: 38px; padding: 8px 12px; font-size: 13px; }
  .hero { min-height: 760px; }
  .hero-media { object-position: 58% 50%; }
  .hero-content { padding-top: 116px; padding-bottom: 54px; }
  .status-label { font-size: 11px; }
  h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .incident-grid { grid-template-columns: 44px 1fr; gap: 16px; }
  .incident-mark { width: 44px; height: 44px; }
  .incident .text-link { grid-column: 2; white-space: normal; }
  .process-list { gap: 26px 18px; }
  .technology h2 { font-size: 36px; }
  .technology-visuals { gap: 8px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 24px; }
  .service-number { margin-bottom: 26px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .facts strong { font-size: 23px; }
  .about-grid { gap: 34px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; gap: 8px; }
  .gallery-wide { grid-column: span 2; }
  .contact-details { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-note { text-align: left; }
  .mobile-call {
    position: fixed;
    z-index: 30;
    left: 10px;
    right: 10px;
    bottom: 9px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(4, 26, 42, .32);
    font-weight: 800;
    text-decoration: none;
  }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-wide { grid-column: span 1; }
  .process-list { grid-template-columns: 1fr; }
  .technology-visuals { grid-template-columns: 1fr; }
}

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