:root { --green: #019662; --green-text: #00764d; --ink: #14251d; --muted: #54645b; --footer: #006b46; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.55; }
.wrap { width: min(1160px, calc(100% - 100px)); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
address { font-style: normal; }
p, h1, h2 { margin-top: 0; }
.masthead { display: flex; align-items: center; gap: 30px; min-height: 150px; padding-block: 18px; }
.logo { width: clamp(180px, 24vw, 280px); height: auto; display: block; }
.tagline { margin: 0; padding: 16px 0 16px 30px; border-left: 1px solid #a5b3ab; font-size: 1rem; line-height: 1.4; color: var(--muted); }
.top-contact { margin-left: auto; display: flex; flex-direction: column; gap: 3px; font-size: 1.15rem; white-space: nowrap; }
.top-contact a, .top-contact span { display: flex; align-items: center; gap: 16px; }
.top-contact a { min-height: 44px; }
.top-contact svg { width: 21px; height: 21px; flex: 0 0 21px; fill: var(--green); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #26382e; }
.hero-photo { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,20,12,.85) 0%, rgba(3,20,12,.62) 32%, rgba(3,20,12,.06) 72%); }
.hero-inner { min-height: clamp(440px, 46vw, 570px); display: flex; align-items: center; padding-block: 70px; }
.hero-copy { max-width: 460px; color: #fff; }
h1 { font-size: clamp(2.7rem, 4.8vw, 4rem); line-height: 1.07; letter-spacing: -.025em; margin-bottom: 22px; }
.hero-copy p { font-size: 1.125rem; line-height: 1.45; margin-bottom: 28px; }
.accent-rule { display: block; width: 54px; height: 4px; background: #019662; }
.service { padding-block: 38px; }
.service-tinted { background: #f5f8f6; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 46px; }
/* Fixed outer proportions match the previous single-photo areas. */
.photo-gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; width: 100%; min-width: 0; }
.machinery-gallery { aspect-ratio: 1.6; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
.machinery-gallery .gallery-main { grid-column: 1 / 3; }
.heating-gallery { aspect-ratio: 443 / 318; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.gallery-tile { display: block; position: relative; min-width: 0; min-height: 0; overflow: hidden; cursor: zoom-in; background: #dce6df; }
.gallery-main { grid-column: 1; grid-row: 1 / -1; }
.gallery-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.machinery-gallery .gallery-main img { object-position: left center; }
.gallery-tile:hover img { filter: brightness(1.06); }
.gallery-tile:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; z-index: 1; }
.heating-gallery .gallery-tile:not(.gallery-main) img { object-position: center 40%; }
.service-copy { padding-block: 10px; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; color: var(--green-text); font-size: .875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::after { content: ''; width: 48px; height: 1px; background: var(--green); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 18px; }
.service-copy > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.18rem; line-height: 1.5; }
.footer { margin-top: 2px; padding-block: 38px; background: var(--footer); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 35px; align-items: center; }
.footer h2 { font-size: 1.5rem; letter-spacing: -.015em; margin-bottom: 6px; }
.footer p { margin-bottom: 0; }
.footer-details { border-left: 1px solid #83b8a5; padding-left: 32px; }
.footer-details address { display: flex; flex-direction: column; align-items: flex-start; }
.footer-details address br { display: none; }
.footer-details address a { display: inline-flex; align-items: center; min-height: 44px; }
.registrations { margin-top: 10px; font-size: .875rem; }
.copyright { justify-self: end; font-size: .9375rem; }
.footer a:focus-visible { outline-color: white; }
@media (max-width: 1000px) { .masthead { gap: 22px; } .tagline { padding-left: 22px; font-size: .875rem; } .top-contact { font-size: 1rem; } .service-grid { gap: 32px; } }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .masthead { flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 20px; }
  .logo { width: 160px; }
  .tagline { order: 3; width: 100%; border: 0; border-top: 1px solid #dce6df; padding: 12px 0 0; }
  .tagline br { display: none; }
  .top-contact { font-size: .9375rem; gap: 5px; }
  .top-contact a, .top-contact span { gap: 8px; }
  .top-contact svg { width: 17px; height: 17px; flex-basis: 17px; }
  .hero-inner { min-height: 460px; padding-block: 52px; }
  .hero-photo { object-position: 56% center; }
  .hero-shade { background: linear-gradient(90deg,rgba(3,20,12,.85),rgba(3,20,12,.4)); }
  .hero-copy { max-width: 370px; }
  .service { padding-block: 30px; }
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-copy > p:last-child { font-size: 1.0625rem; }
  .service-copy { padding: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-details { padding-left: 20px; }
  .copyright { grid-column: 1 / -1; justify-self: start; border-top: 1px solid #83b8a5; width: 100%; padding-top: 20px; }
}
@media (max-width: 390px) { .logo { width: 130px; } .top-contact { font-size: .875rem; } .footer-grid { grid-template-columns: 1fr; } .footer-details { border: 0; padding: 0; } }

/* A native modal keeps focus inside the viewer and supports Escape. */
body.photo-open { overflow: hidden; }
.photo-viewer { border: 0; padding: 0; margin: auto; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: white; }
.photo-viewer::backdrop { background: rgba(0, 0, 0, .9); }
.photo-viewer[open] { display: grid; place-items: center; }
.photo-viewer-close { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; margin: 0; padding: 24px; border: 0; background: transparent; color: white; cursor: zoom-out; font: inherit; }
.photo-viewer-image { display: block; max-width: calc(100vw - 48px); max-height: calc(100dvh - 100px); width: auto; height: auto; object-fit: contain; }
.photo-viewer-hint { font-size: .875rem; text-align: center; }
.photo-viewer-close:focus-visible { outline: 2px solid white; outline-offset: -8px; }
.photo-viewer-nav { position: fixed; z-index: 1; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; background: rgba(0, 0, 0, .58); color: white; cursor: pointer; transform: translateY(-50%); }
.photo-viewer-nav svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.photo-viewer-nav:hover { background: rgba(0, 116, 78, .92); }
.photo-viewer-nav:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.photo-viewer-previous { left: 18px; }
.photo-viewer-next { right: 18px; }
@media (max-width: 640px) {
  .photo-viewer-close { padding: 16px; }
  .photo-viewer-image { max-width: calc(100vw - 32px); max-height: calc(100dvh - 92px); }
  .photo-viewer-hint { max-width: calc(100vw - 140px); }
  .photo-viewer-nav { top: auto; bottom: 14px; width: 48px; height: 48px; transform: none; }
  .photo-viewer-previous { left: 16px; }
  .photo-viewer-next { right: 16px; }
}
