:root {
  --navy: #071d2b;
  --navy-2: #0d2e42;
  --blue: #155878;
  --accent: #e46f27;
  --accent-dark: #c95818;
  --rose: #c7264b;
  --cream: #f4f1eb;
  --mist: #f3f6f7;
  --ink: #12212b;
  --muted: #61717b;
  --line: #dce4e7;
  --white: #fff;
  --shadow: 0 24px 70px rgba(4, 25, 38, .12);
}

* { box-sizing: border-box; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; color: #fff; background: var(--navy); border-radius: 6px; }
.skip-link:focus { top: 16px; }

.topbar { color: #cad7dd; background: var(--navy); font-size: 12px; letter-spacing: .02em; }
.topbar-inner { height: 36px; display: flex; align-items: center; justify-content: space-between; }
.topbar-inner > span, .topbar-inner a, .topbar-inner > div { display: flex; align-items: center; gap: 7px; }
.topbar-inner > div { gap: 16px; }
.topbar-divider { width: 1px; height: 13px; background: rgba(255,255,255,.24); }
.topbar a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(4,25,38,.1); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: 174px; height: 65px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { position: relative; color: #263944; font-size: 13px; font-weight: 700; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--rose); transition: right .2s ease; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.header-phone { display: flex; align-items: center; gap: 10px; padding-left: 23px; border-left: 1px solid var(--line); color: var(--navy); font-size: 15px; font-weight: 800; line-height: 1.2; }
.header-phone svg { color: var(--rose); }
.header-phone span { display: flex; flex-direction: column; }
.header-phone small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.menu-toggle { display: none; width: 45px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 0; background: transparent; }
.menu-toggle span { width: 23px; height: 2px; background: var(--navy); }

.hero { position: relative; min-height: 710px; overflow: hidden; color: #fff; background: var(--navy); }
.hero-photo { position: absolute; inset: 0 0 0 42%; background: url('/assets/hero-vaillant-installation.webp') 50% 47% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(7,29,43,.54) 38%, rgba(7,29,43,.04) 100%); }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 42%, rgba(7,29,43,.84) 54%, transparent 80%); }
.hero-wash::before { content: ""; position: absolute; width: 680px; height: 680px; left: -250px; top: -470px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.015); }
.hero-content { position: relative; z-index: 2; min-height: 710px; display: flex; align-items: center; }
.hero-copy { width: 58%; padding: 84px 0 110px; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #d6e0e5; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.kicker span { width: 28px; height: 2px; background: var(--rose); }
.kicker.dark { color: var(--blue); }
.kicker.light { color: #b9cbd4; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(50px, 5.3vw, 76px); line-height: .99; letter-spacing: -.052em; }
.hero h1 em { color: #fff; font-weight: 400; font-style: normal; }
.hero h1 em::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 5px; background: var(--rose); }
.hero-copy > p { max-width: 620px; margin: 26px 0 0; color: #c4d0d6; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 23px; border: 0; border-radius: 3px; font-size: 12px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--rose); }
.button-primary:hover { background: #a91e3e; }
.button-quiet { color: #fff; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.04); }
.button-quiet:hover { background: #fff; color: var(--navy); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 34px; color: #e5ecef; font-size: 12px; font-weight: 700; }
.trust-strip span { display: flex; align-items: center; gap: 7px; }
.trust-strip i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(199,38,75,.25); }
.hero-note { position: absolute; z-index: 3; right: 0; bottom: 0; width: min(370px, 35%); min-height: 92px; display: flex; flex-direction: column; justify-content: center; padding: 18px 45px; color: var(--navy); background: var(--cream); }
.hero-note strong { font-size: 18px; }
.hero-note span { color: var(--muted); font-size: 12px; }

.credentials-bar { position: relative; z-index: 3; background: #fff; border-bottom: 1px solid var(--line); }
.credentials-inner { min-height: 112px; display: flex; align-items: center; gap: 22px; }
.credentials-inner img { width: 94px; height: 85px; flex: 0 0 auto; object-fit: contain; }
.credentials-copy { display: flex; flex-direction: column; gap: 2px; }
.credentials-copy small { color: var(--rose); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.credentials-copy strong { color: var(--navy); font-size: 17px; }
.credentials-inner a { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.credentials-inner a:hover { color: var(--rose); }

.section { padding: 110px 0; }
.section-heading h2, .about-copy h2, .areas-inner h2, .contact-copy h2, .review-intro h2 { margin: 0; color: var(--navy); font-size: clamp(38px, 4vw, 57px); line-height: 1.07; letter-spacing: -.045em; }
.split-heading { display: grid; grid-template-columns: 1.15fr .75fr; gap: 70px; align-items: end; margin-bottom: 55px; }
.split-heading > p, .split-heading > div:last-child > p { max-width: 480px; margin: 0 0 5px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.services-section { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 330px; padding: 38px 34px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.service-card:hover { z-index: 2; background: var(--mist); transform: translateY(-5px); box-shadow: var(--shadow); }
.service-number { position: absolute; right: 25px; top: 20px; color: #cdd7db; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 28px; color: var(--accent); background: #fff3ed; border-radius: 50%; }
.service-card h3 { margin: 0 0 11px; color: var(--navy); font-size: 20px; }
.service-card p { min-height: 74px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.service-card a, .text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 21px; color: var(--blue); font-size: 12px; font-weight: 800; }
.service-card a:hover, .text-link:hover { color: var(--rose); }

.gallery-section { background: var(--mist); }
.gallery-heading .text-link { margin-top: 17px; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; }
.work-card { position: relative; margin: 0; overflow: hidden; background: var(--navy); }
.work-card-tall { grid-row: span 2; }
.work-card-wide { grid-column: span 2; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .5s ease; }
.work-card:nth-child(1) img { object-position: 54% center; }
.work-card:nth-child(2) img { object-position: center 38%; }
.work-card:nth-child(3) img { object-position: center 44%; }
.work-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(4,20,30,.9)); }
.work-card:hover img { transform: scale(1.035); opacity: .88; }
.work-card figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 20px; color: #fff; }
.work-card figcaption strong { font-size: 15px; }
.work-card figcaption span { color: #c7d4da; font-size: 11px; }

.about-section { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.about-section::after { content: "EHS"; position: absolute; right: -70px; bottom: -130px; color: rgba(255,255,255,.025); font-size: 300px; font-weight: 900; letter-spacing: -.11em; }
.about-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .9fr; gap: 90px; align-items: center; }
.about-visual { position: relative; min-height: 560px; }
.about-visual img { width: 100%; height: 560px; object-fit: cover; object-position: center; }
.about-badge { position: absolute; right: -35px; bottom: 35px; min-width: 205px; display: flex; align-items: center; gap: 15px; padding: 22px; color: var(--navy); background: var(--cream); box-shadow: var(--shadow); }
.about-badge span { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--rose); font-size: 12px; font-weight: 900; letter-spacing: .03em; }
.about-badge strong { font-size: 14px; line-height: 1.35; }
.about-copy h2, .review-intro h2 { color: #fff; }
.about-lead { margin: 27px 0 15px; color: #fff !important; font-size: 19px !important; line-height: 1.7 !important; }
.about-copy > p { color: #afc1ca; font-size: 14px; line-height: 1.85; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; margin: 28px 0; color: #d9e4e9; font-size: 13px; font-weight: 700; }
.about-points span { display: flex; align-items: center; gap: 8px; }
.about-points svg { color: var(--accent); }
.about-copy .text-link { color: #fff; }
.about-copy .text-link:hover { color: var(--accent); }

.process-section { background: var(--cream); }
.centered { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.centered .kicker { justify-content: center; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.process-grid article { position: relative; padding: 20px 50px 0; text-align: center; }
.process-grid article:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -38px; width: 76px; border-top: 1px dashed #aebbc0; }
.process-grid b { position: absolute; top: -2px; left: 50%; color: rgba(7,29,43,.06); font-size: 80px; line-height: 1; transform: translateX(-50%); }
.process-icon { position: relative; z-index: 2; width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 23px; color: #fff; border: 7px solid var(--cream); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px #b7c4c9; }
.process-grid h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; }
.process-grid p { max-width: 260px; margin: auto; color: var(--muted); font-size: 14px; }

.reviews-section { color: #fff; background: var(--blue); }
.reviews-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 75px; align-items: center; }
.quote-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 32px; color: #fff; background: var(--rose); }
.review-intro > p { max-width: 440px; color: #c7d7de; font-size: 15px; line-height: 1.8; }
.button-white { margin-top: 18px; color: var(--navy); background: #fff; }
.reviews-widget { min-height: 300px; padding: 25px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.widget-label { margin: 0 0 14px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.areas-section { padding: 55px 0; background: var(--cream); border-bottom: 1px solid #ded9d0; }
.areas-inner { display: grid; grid-template-columns: auto 1.3fr .85fr auto; gap: 28px; align-items: center; }
.areas-mark { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--rose); }
.areas-inner .kicker { margin: 0 0 7px; }
.areas-inner h2 { font-size: 26px; letter-spacing: -.025em; }
.areas-inner > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.button-dark { color: #fff; background: var(--navy); white-space: nowrap; }

.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .7fr 1.1fr; gap: 100px; align-items: start; }
.contact-copy > p { max-width: 410px; margin: 25px 0 32px; color: var(--muted); }
.contact-list { display: grid; gap: 17px; }
.contact-list > a, .contact-list > div { display: flex; align-items: center; gap: 13px; }
.contact-list i { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; color: var(--rose); border: 1px solid var(--line); border-radius: 50%; }
.contact-list span { display: flex; flex-direction: column; }
.contact-list small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-list strong { color: var(--navy); font-size: 14px; }
.form-card { padding: 40px; background: var(--mist); border-top: 4px solid var(--rose); box-shadow: var(--shadow); }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.form-heading h3 { margin: 0; color: var(--navy); font-size: 24px; }
.form-heading span { padding: 5px 9px; color: var(--blue); background: #dce9ee; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card label:not(.privacy-check) { display: block; margin-bottom: 15px; color: var(--navy); font-size: 11px; font-weight: 800; }
.form-card input:not([type="checkbox"]), .form-card textarea { width: 100%; margin-top: 6px; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid #d7e0e3; border-radius: 1px; outline: 0; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,88,120,.09); }
.form-card textarea { min-height: 125px; resize: vertical; }
.privacy-check { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 20px; color: var(--muted); font-size: 11px; }
.privacy-check input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--rose); }
.form-submit { width: 100%; }
.form-note { display: block; margin-top: 11px; color: var(--muted); text-align: center; font-size: 10px; }
.form-feedback { margin-top: 15px; padding: 13px 15px; border: 1px solid; background: #fff; font-size: 12px; font-weight: 700; line-height: 1.55; }
.form-feedback.is-success { color: #1f684f; border-color: #9fcfbd; background: #edf8f3; }
.form-feedback.is-error { color: #8c203a; border-color: #e5a8b6; background: #fff1f4; }
.form-submit:disabled { cursor: wait; opacity: .72; }
.website-field { position: absolute !important; left: -9999px !important; }
.form-success { min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.form-success i { width: 60px; height: 60px; display: grid; place-items: center; color: #fff; background: #278060; border-radius: 50%; }
.form-success h3 { margin: 20px 0 8px; color: var(--navy); font-size: 26px; }
.form-success p { max-width: 430px; color: var(--muted); }
.form-success button { border: 0; color: var(--blue); background: transparent; font-weight: 800; cursor: pointer; }

.footer { color: #afc0c9; background: #051722; }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, .72fr); gap: 55px; padding: 70px 0 55px; }
.brand.inverse { padding: 8px; background: #fff; }
.brand.inverse img { width: 180px; height: auto; }
.footer-brand p { max-width: 330px; margin-top: 23px; font-size: 13px; line-height: 1.75; }
.footer-main h3 { margin: 4px 0 18px; color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-main > div:not(:first-child) a, .footer-main > div:not(:first-child) span { display: block; margin: 9px 0; font-size: 12px; }
.footer-main a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; letter-spacing: .04em; }

@media (max-width: 1040px) {
  .nav { gap: 18px; }
  .header-phone span { display: none; }
  .header-phone { width: 43px; height: 43px; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; }
  .hero-copy { width: 64%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 60px; }
  .areas-inner { grid-template-columns: auto 1fr auto; }
  .areas-inner > p { display: none; }
  .contact-grid { gap: 65px; }
  .footer-main { grid-template-columns: 1.2fr repeat(3, .8fr); gap: 30px; }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 34px, 680px); }
  .topbar-inner > div span:last-child, .topbar-divider { display: none; }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 150px; height: 58px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .header-phone { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 22px 22px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 15px 35px rgba(4,25,38,.12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .hero, .hero-content { min-height: 680px; }
  .hero-photo { inset: 0; opacity: .38; background-position: 50% 45%; }
  .hero-wash { background: linear-gradient(90deg, rgba(7,29,43,.98), rgba(7,29,43,.82)); }
  .hero-copy { width: 100%; padding: 80px 0 120px; }
  .hero h1 { font-size: clamp(45px, 10vw, 65px); }
  .hero-note { width: 280px; max-width: 80%; }
  .section { padding: 80px 0; }
  .split-heading, .about-grid, .reviews-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-heading { gap: 25px; margin-bottom: 40px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .work-card-tall { grid-row: span 1; }
  .work-card-wide { grid-column: span 2; }
  .about-grid { gap: 70px; }
  .about-visual { min-height: 470px; }
  .about-visual img { height: 470px; }
  .about-badge { right: 20px; bottom: -25px; }
  .process-grid { grid-template-columns: 1fr; gap: 44px; }
  .process-grid article:not(:last-child)::after { display: none; }
  .reviews-grid { gap: 45px; }
  .areas-inner { grid-template-columns: auto 1fr; }
  .areas-inner .button { grid-column: 1 / -1; }
  .contact-grid { gap: 50px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner > span { display: none; }
  .hero, .hero-content { min-height: 675px; }
  .hero-copy { padding-top: 65px; }
  .hero h1 { font-size: 44px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-strip { gap: 12px 18px; }
  .trust-strip span { width: calc(50% - 10px); }
  .hero-note { display: none; }
  .credentials-inner { min-height: 0; flex-wrap: wrap; gap: 14px 18px; padding: 19px 0; }
  .credentials-inner img { width: 75px; height: 68px; }
  .credentials-copy { flex: 1 1 calc(100% - 95px); }
  .credentials-copy strong { font-size: 15px; }
  .credentials-inner a { width: 100%; margin-left: 93px; }
  .section-heading h2, .about-copy h2, .areas-inner h2, .contact-copy h2, .review-intro h2 { font-size: 38px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 310px; }
  .work-card-wide { grid-column: span 1; }
  .about-points, .field-row { grid-template-columns: 1fr; }
  .about-visual, .about-visual img { height: 390px; min-height: 390px; }
  .about-badge { right: 10px; left: 25px; min-width: 0; }
  .areas-inner { grid-template-columns: 1fr; text-align: center; }
  .areas-mark { margin: auto; }
  .areas-inner .kicker { justify-content: center; }
  .form-card { padding: 28px 22px; }
  .form-heading { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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