:root {
  --navy: #102b4e;
  --navy-deep: #0b203b;
  --blue: #176c9c;
  --red: #d84046;
  --ink: #152238;
  --muted: #647184;
  --line: #dfe5eb;
  --soft: #f4f6f8;
  --paper: #fff;
  --header-bg: #f4f6f8;
  --sand: #f3f0eb;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; left: 14px; top: 14px; padding: 12px 18px; color: #fff; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden, .sr-anchor { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.topline { background: var(--navy-deep); color: #c9d3e0; font-size: 12px; letter-spacing: .04em; }
.topline-inner { min-height: 35px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topline a { color: #fff; }
.topline a strong { color: #fff; margin-left: 7px; font-weight: 700; }
.site-header-slot { position: sticky; z-index: 50; top: 0; }
.site-header { position: relative; background: var(--header-bg); border-bottom: 1px solid rgba(16,43,78,.09); backdrop-filter: blur(14px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { position: relative; display: flex; align-items: center; width: 342px; min-width: 317px; overflow: hidden; padding: 4px; border: 1px solid rgba(16,43,78,.08); border-radius: 9px; background: linear-gradient(90deg, #fff 0%, var(--header-bg) 100%); box-shadow: 0 3px 12px rgba(16,43,78,.06); }
.brand img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 4px; }
.header-inner > .brand { border-color: rgba(16,43,78,.08); background: linear-gradient(90deg, #fff 0%, #fff 22%, var(--header-bg) 68%, var(--header-bg) 100%) padding-box; box-shadow: 0 3px 12px rgba(16,43,78,.04); }
.header-inner > .brand::after { position: absolute; inset: 4px 4px 4px auto; width: 3%; border-radius: 0; background: linear-gradient(90deg, rgba(244,246,248,0) 0%, var(--header-bg) 100%); content: ''; pointer-events: none; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 25px); font-size: 13px; font-weight: 600; color: #33455d; }
.main-nav > a:not(.nav-contact) { position: relative; padding-block: 8px; }
.main-nav > a:not(.nav-contact)::after { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; content: ''; background: var(--red); transition: width .2s ease; }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { width: 100%; }
.main-nav > a[aria-current="page"] { color: var(--navy); }
.nav-contact { display: inline-flex; align-items: center; gap: 10px; padding: 12px 17px; color: #fff; background: var(--navy); transition: background .2s ease; }
.nav-contact:hover { background: var(--red); }
.nav-contact span { color: #ff7c7f; font-size: 16px; }
.menu-toggle { display: none; border: 0; padding: 9px; background: transparent; cursor: pointer; }
.menu-toggle span:not(.visually-hidden) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero-home { min-height: 620px; display: flex; align-items: center; color: var(--navy); background: #f4f6f8; }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { left: 31%; background-image: url('../images/hero-impianti-illustrativo.jpg'); background-position: right center; background-size: auto 100%; background-repeat: no-repeat; }
.hero-shade { background: linear-gradient(90deg, #f4f6f8 0%, rgba(244,246,248,.98) 31%, rgba(244,246,248,.91) 44%, rgba(244,246,248,.45) 59%, rgba(244,246,248,.04) 77%); }
.hero-inner { position: relative; z-index: 1; padding-block: 96px 92px; }
.eyebrow { margin: 0 0 17px; color: var(--blue); font-size: 11px; line-height: 1.4; letter-spacing: .19em; font-weight: 700; text-transform: uppercase; }
.eyebrow-light { color: #b5cfe2; }
.hero-home .eyebrow-light { color: var(--blue); }
.eyebrow-dot, .caption-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.045em; }
h1 { max-width: 800px; margin-bottom: 22px; font-size: clamp(48px, 6vw, 78px); line-height: 1.01; font-weight: 700; }
h1 em, h2 em { font-weight: 500; font-style: normal; }
.hero-lead { max-width: 590px; margin-bottom: 31px; color: #e2e8ee; font-size: 17px; line-height: 1.7; }
.hero-home .hero-lead { max-width: 560px; color: #44576d; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 13px 19px; border: 1px solid transparent; font-size: 13px; font-weight: 700; line-height: 1.2; transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 17px; }
.button-red { color: #fff; background: var(--red); }
.button-red:hover { background: #b72f37; }
.button-glass { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.08); }
.button-glass:hover { background: rgba(255,255,255,.18); }
.button-outline { color: var(--navy); border-color: #cbd4df; background: transparent; }
.button-outline:hover { border-color: var(--navy); background: #edf2f6; }
.button-white { color: var(--navy); background: #fff; }
.button-white:hover { color: #fff; background: var(--red); }
.hero-footnote { display: flex; align-items: center; gap: 12px; margin-top: 54px; color: #44576d; font-size: 12px; letter-spacing: .03em; }
.hero-rule { width: 37px; height: 1px; background: var(--red); }
.hero-index { position: absolute; z-index: 1; right: 32px; bottom: 26px; color: rgba(255,255,255,.68); font-size: 11px; letter-spacing: .15em; writing-mode: vertical-rl; }
.hero-index span { margin-top: 12px; color: rgba(255,255,255,.42); }
.hero-credit { position: absolute; z-index: 1; right: 22px; bottom: 18px; padding: 7px 10px; border: 1px solid rgba(16,43,78,.12); color: #46586c; background: rgba(255,255,255,.82); font-size: 10px; letter-spacing: .03em; }

.trust-strip { background: var(--navy); color: #fff; }
.trust-grid { min-height: 118px; display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr; align-items: center; }
.trust-item { min-height: 63px; display: flex; flex-direction: column; justify-content: center; padding: 4px 27px; border-right: 1px solid rgba(255,255,255,.18); }
.trust-item:first-child { padding-left: 0; }
.trust-number { font-family: var(--font-display); font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -.04em; }
.trust-number small { font-size: 15px; }
.trust-label { margin-top: 5px; color: #b8c6d5; font-size: 11px; }
.trust-cta { padding-left: 32px; border: 0; font-size: 12px; }
.trust-cta a { width: fit-content; margin-top: 5px; color: #fff; font-weight: 700; }
.trust-cta a span { padding-left: 8px; color: #ff777b; }

.section { padding-block: 105px; }
.section-heading { margin-bottom: 42px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
h2 { margin-bottom: 17px; color: var(--navy); font-size: clamp(35px, 4vw, 50px); line-height: 1.08; font-weight: 700; }
h3 { color: var(--navy); font-size: 19px; line-height: 1.25; }
.section-intro { max-width: 405px; margin-bottom: 6px; color: var(--muted); font-size: 15px; }
.section-intro p { margin-bottom: 19px; }
.service-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; isolation: isolate; overflow: hidden; min-height: 237px; padding: 26px 29px 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fff 20%, var(--service-tint, #f5f7fa) 100%); transition: transform .2s ease, box-shadow .2s ease; }
.service-card::before { position: absolute; z-index: -1; right: -70px; bottom: -132px; width: 285px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--service-glow, rgba(216,64,70,.16)) 0, transparent 69%); content: ''; transition: transform .35s ease; }
.service-card:hover { z-index: 2; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13,38,65,.1); }
.service-card:hover::before { transform: scale(1.14); }
.service-no { position: absolute; top: 26px; right: 28px; color: #9ba6b2; font-size: 10px; letter-spacing: .1em; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 16px; border: 1px solid rgba(16,43,78,.08); border-radius: 13px; color: var(--service-accent, var(--red)); background: rgba(255,255,255,.74); }
.service-icon svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 9px; }
.service-card p { max-width: 285px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.card-arrow { position: absolute; right: 27px; bottom: 22px; color: #a0abb7; font-size: 17px; }
.service-card-climate { --service-accent: #237ba5; --service-tint: #edf6fb; --service-glow: rgba(60,153,204,.2); }
.service-card-heating { --service-accent: #bd6b30; --service-tint: #fff5e9; --service-glow: rgba(227,151,70,.22); }
.service-card-water { --service-accent: #288d84; --service-tint: #eff8f6; --service-glow: rgba(73,175,159,.2); }
.service-card-ventilation { --service-accent: #397fa4; --service-tint: #f0f6fa; --service-glow: rgba(88,159,194,.2); }
.service-card-fire { --service-accent: #c94d43; --service-tint: #fff3f0; --service-glow: rgba(220,91,70,.18); }
.service-card-dark { color: #fff; border-color: var(--navy); background: linear-gradient(135deg, #102b4e 12%, #173b63 100%); }
.service-card-ducts { --service-accent: #ff8583; --service-tint: #173b63; --service-glow: rgba(86,162,214,.26); }
.service-card-dark .service-icon { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.08); }
.service-card-dark h3, .service-card-dark .service-no { color: #fff; }
.service-card-dark .service-no { opacity: .58; }
.service-card-dark p { color: #c5d1df; }
.service-card-dark .card-arrow { color: #b7c8d8; }
.section-link { margin-top: 30px; text-align: right; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-size: 13px; font-weight: 700; }
.text-link span { color: var(--red); font-size: 18px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.about-band { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 105px); align-items: center; }
.about-image-wrap { position: relative; aspect-ratio: 1.5; }
.about-image { width: 100%; height: 100%; aspect-ratio: 1.5; object-fit: cover; filter: contrast(1.04) saturate(1.04); }
.image-caption { position: absolute; left: 0; bottom: 0; padding: 13px 16px; color: #fff; background: var(--navy); font-size: 11px; letter-spacing: .04em; }
.image-caption .caption-dot { width: 6px; height: 6px; margin-right: 7px; }
.image-stamp { position: absolute; right: -23px; top: 24px; display: flex; flex-direction: column; width: 104px; height: 104px; align-items: center; justify-content: center; border: 5px solid var(--sand); border-radius: 50%; color: #fff; background: var(--red); transform: rotate(7deg); }
.image-stamp strong { font-family: var(--font-display); font-size: 16px; line-height: 1.1; }
.image-stamp span { font-size: 9px; }
.about-copy { max-width: 495px; }
.about-copy h2 { margin-bottom: 23px; }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.about-copy .button { margin-top: 15px; }

.section-projects { padding-bottom: 118px; }
.project-preview { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 16px; align-items: stretch; }
.project-photo { position: relative; min-width: 0; min-height: 0; aspect-ratio: 1.42; overflow: hidden; background: var(--navy-deep); }
.project-photo-large { min-height: 0; }
.project-photo img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; filter: contrast(1.04) saturate(1.06); transition: transform .5s ease, filter .3s ease; }
.project-photo:hover img { transform: scale(1.045); }
.project-photo::after { position: absolute; inset: 35% 0 0; content: ''; background: linear-gradient(0deg, rgba(9,27,49,.84), transparent); pointer-events: none; }
.project-label { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; color: #fff; font-size: 13px; font-weight: 600; }
.project-label b { color: #ff7b80; font-size: 17px; }

.quality-callout { padding-block: 80px; color: #fff; background: var(--navy); }
.quality-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.quality-inner h2 { margin-bottom: 15px; color: #fff; }
.quality-inner p:not(.eyebrow) { max-width: 550px; margin-bottom: 0; color: #c6d2df; font-size: 14px; }
.quality-inner .button { flex-shrink: 0; }
.contact-ribbon { padding-block: 65px; background: #f4f6f8; }
.contact-ribbon-inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.contact-ribbon h2 { margin: 0; font-size: clamp(29px, 3vw, 39px); }
.contact-ribbon-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.contact-ribbon-actions .text-link { color: var(--muted); font-weight: 500; }

.page-hero { position: relative; min-height: 435px; display: flex; align-items: end; overflow: hidden; color: #fff; background: var(--navy-deep); }
.page-hero::before, .page-hero::after { position: absolute; inset: 0; content: ''; }
.page-hero::before { background-position: center; background-size: cover; opacity: .5; }
.page-hero::after { background: linear-gradient(90deg, rgba(8,25,48,.95), rgba(8,25,48,.43)), linear-gradient(0deg, rgba(8,25,48,.45), transparent 50%); }
.page-hero-inner { position: relative; z-index: 1; padding-block: 44px 67px; }
.page-hero h1 { font-size: clamp(43px, 5.5vw, 68px); }
.page-hero .hero-lead { max-width: 600px; margin-bottom: 0; font-size: 15px; }
.page-hero-company::before { background-image: url('../images/azienda-esterno-illustrativo.jpg'); background-position: center 53%; }
.page-hero-services::before { background-image: url('../images/servizi/climatizzazione.jpg'); background-position: center 43%; }
.page-hero-gallery::before { background-image: url('../gallery/558.jpg'); background-position: center 46%; }
.page-hero-quality::before { background-position: center; }
.page-hero-contact::before { background-position: center 35%; }
.page-hero-small { min-height: 350px; }
.page-hero-quality::before, .page-hero-contact::before, .page-hero-small::before { background-image: radial-gradient(circle at 78% 26%, rgba(64,119,166,.56), transparent 34%), linear-gradient(120deg, #0b203b 5%, #12385e 65%, #1a466f); opacity: 1; }
.page-hero-credit { position: absolute; z-index: 2; right: 28px; bottom: 18px; padding: 6px 9px; color: #e5edf4; background: rgba(9,27,49,.62); font-size: 9px; letter-spacing: .04em; }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 38px; color: #c4d0dc; font-size: 11px; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span:nth-child(2) { color: var(--red); }

.company-intro { padding-block: 100px 70px; }
.company-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.company-intro h2 { font-size: 44px; }
.body-copy { max-width: 590px; }
.body-copy p { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.section-facility { padding-top: 54px; background: #f4f6f8; }
.facility-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 80px; align-items: center; }
.facility-photo { position: relative; }
.facility-photo img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; filter: contrast(1.04) saturate(1.04); }
.facility-tag { position: absolute; left: 0; bottom: 0; padding: 12px 17px; color: #fff; background: var(--navy); font-size: 12px; }
.facility-copy p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.facility-facts { display: flex; gap: 35px; margin-top: 30px; padding-top: 23px; border-top: 1px solid #d5dce4; }
.facility-facts div { display: flex; flex-direction: column; }
.facility-facts strong { color: var(--navy); font-family: var(--font-display); font-size: 21px; }
.facility-facts span { max-width: 190px; color: var(--muted); font-size: 11px; }
.company-values { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.process-grid article { padding: 24px 24px 4px 0; }
.process-grid article + article { padding-left: 22px; border-left: 1px solid var(--line); }
.process-grid article > span { color: var(--red); font-size: 11px; letter-spacing: .1em; }
.process-grid h3 { margin: 18px 0 9px; }
.process-grid p { max-width: 230px; margin: 0; color: var(--muted); font-size: 13px; }

.service-detail-list { padding-block: 60px 100px; }
.service-detail { display: grid; grid-template-columns: 70px 1fr .9fr; gap: 36px; align-items: center; padding-block: 54px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.service-detail-number { align-self: start; padding-top: 5px; color: #abb6c2; font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; }
.service-detail-copy { max-width: 500px; }
.service-detail-copy h2 { font-size: clamp(31px, 3.2vw, 42px); }
.service-detail-copy p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.service-detail-copy .text-link { margin-top: 6px; }
.service-detail-image { position: relative; display: block; height: 310px; overflow: hidden; background: var(--navy); }
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.04) saturate(1.04); transition: transform .4s ease; }
.service-detail-image:hover img { transform: scale(1.04); }
.service-detail-image::after { position: absolute; inset: 55% 0 0; content: ''; background: linear-gradient(0deg, rgba(9,27,49,.75), transparent); }
.service-detail-image > .service-image-tag { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 6px 9px; color: #fff; background: rgba(9,27,49,.76); font-size: 9px; letter-spacing: .04em; }
.service-detail-image > .service-image-link { position: absolute; z-index: 1; right: 16px; bottom: 13px; color: #fff; font-size: 11px; font-weight: 600; }
.service-detail-reverse { grid-template-columns: 70px .9fr 1fr; }
.service-detail-reverse .service-detail-number { order: 0; }
.service-detail-reverse .service-detail-copy { order: 1; }
.service-detail-reverse .service-detail-image { order: 2; }

.gallery-section { padding-block: 84px 110px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-heading .section-intro { max-width: 350px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.filter-button { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #d9e0e7; color: var(--navy); background: #fff; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease, border .15s ease; }
.filter-button small { color: #8b98a6; font-size: 10px; }
.filter-button[aria-pressed="true"], .filter-button:hover { border-color: var(--navy); color: #fff; background: var(--navy); }
.filter-button[aria-pressed="true"] small, .filter-button:hover small { color: #bfcbd8; }
.gallery-count { margin: 21px 0; color: var(--muted); font-size: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card { display: block; padding: 0; overflow: hidden; border: 1px solid #e3e7eb; text-align: left; background: #fff; cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.gallery-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(17,39,65,.12); }
.gallery-card img { width: 100%; aspect-ratio: 1.5; object-fit: cover; background: #e8edf1; filter: contrast(1.04) saturate(1.05); transition: transform .4s ease, filter .3s ease; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card-meta { position: relative; display: flex; min-height: 74px; flex-direction: column; justify-content: center; padding: 12px 43px 13px 14px; }
.gallery-card-meta small { margin-bottom: 3px; color: var(--blue); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.gallery-card-meta strong { color: var(--navy); font-size: 12px; font-weight: 600; line-height: 1.4; }
.gallery-card-meta i { position: absolute; right: 13px; top: 50%; color: var(--red); font-size: 17px; font-style: normal; transform: translateY(-50%); }
.gallery-error { padding: 24px; color: #84343a; background: #fff0f0; }
.photo-dialog, .cert-dialog { width: min(1050px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); padding: 18px; border: 0; color: #fff; background: #091a2d; box-shadow: 0 25px 90px rgba(0,0,0,.42); }
.photo-dialog::backdrop, .cert-dialog::backdrop { background: rgba(4,14,27,.82); backdrop-filter: blur(4px); }
.photo-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 0 13px; }
.photo-dialog-top p { margin: 0; color: #e3eaf0; font-size: 13px; }
.icon-button { width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; background: transparent; font-size: 25px; line-height: 1; cursor: pointer; }
.icon-button:hover { border-color: var(--red); background: var(--red); }
.photo-dialog-image-wrap { position: relative; display: grid; min-height: 300px; max-height: 76vh; place-items: center; background: #06111f; }
.photo-dialog-image-wrap img { max-width: 100%; max-height: 76vh; object-fit: contain; }
.gallery-nav { position: absolute; z-index: 1; top: 50%; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(9,26,45,.72); font-size: 19px; cursor: pointer; transform: translateY(-50%); }
.gallery-nav:hover { background: var(--red); }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.photo-dialog-hint { margin: 13px 0 0; color: #97a7b7; text-align: right; font-size: 10px; }

.cert-notice-section { padding-block: 44px 20px; }
.notice-card { display: flex; gap: 18px; padding: 23px 25px; border-left: 4px solid #e59a3b; background: #fff7eb; }
.notice-icon { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 50%; color: #fff; background: #d78b2f; font-family: var(--font-display); font-weight: 800; }
.notice-card strong { display: block; margin: 1px 0 5px; color: #744913; font-size: 14px; }
.notice-card p { margin: 0; color: #745f43; font-size: 13px; }
.cert-list { padding-block: 65px 95px; }
.cert-list .section-heading { max-width: 710px; }
.cert-list .section-intro { max-width: 620px; margin-top: 12px; }
.cert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.cert-card { min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid var(--line); background: #fff; }
.cert-card-top { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.cert-status { padding: 4px 8px; color: #79552d; background: #f8eddb; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cert-code { color: #a8b2bd; font-size: 11px; }
.cert-card h3 { margin-bottom: 9px; font-size: 18px; }
.cert-card p { color: var(--muted); font-size: 12px; }
.cert-card .cert-view { margin-top: auto; padding: 0; border: 0; background: transparent; cursor: pointer; }
.cert-dialog { width: min(900px, calc(100% - 30px)); }
.cert-dialog-image-wrap { display: grid; max-height: 78vh; place-items: center; overflow: auto; background: #152238; }
.cert-dialog-image-wrap img { max-width: 100%; max-height: 76vh; object-fit: contain; }
.qualifications-band { padding-block: 82px; background: var(--sand); }
.qualifications-grid { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.qualifications-grid > div { max-width: 740px; }
.qualifications-grid h2 { font-size: 40px; }
.qualifications-grid p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.qualifications-grid .button { flex-shrink: 0; }

.contact-main { padding-block: 84px 110px; }
.contact-main-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: 70px; }
.contact-details { padding-top: 12px; }
.contact-details h2 { font-size: 42px; }
.contact-address { margin: 23px 0 18px; color: var(--ink); font-size: 15px; line-height: 1.75; }
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 34px; padding-block: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-methods div { display: flex; flex-direction: column; }
.contact-methods span { margin-bottom: 3px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.contact-methods a, .contact-methods p { margin: 0; color: var(--navy); font-size: 13px; font-weight: 600; }
.contact-methods a:hover { color: var(--red); }
.contact-download { display: flex; align-items: center; gap: 14px; margin-top: 23px; padding: 15px; border: 1px solid var(--line); background: #fff; }
.contact-download:hover { border-color: var(--navy); }
.contact-download > span:last-child { margin-left: auto; color: var(--red); }
.download-icon { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--navy); font-size: 20px; }
.contact-download strong, .contact-download small { display: block; }
.contact-download strong { color: var(--navy); font-size: 12px; }
.contact-download small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.contact-form-card { padding: 34px; border: 1px solid #e3e7eb; background: #f8f9fa; box-shadow: 0 12px 38px rgba(19,39,62,.045); }
.form-heading { margin-bottom: 25px; }
.form-heading .eyebrow { margin-bottom: 9px; }
.form-heading h2 { margin-bottom: 8px; font-size: 30px; }
.form-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; color: #3d4b5e; font-size: 11px; font-weight: 700; }
.form-grid .form-wide { grid-column: 1/-1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #d7dfe7; border-radius: 0; outline: none; color: var(--ink); background: #fff; font-size: 13px; font-weight: 400; }
.form-grid textarea { min-height: 125px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,108,156,.12); }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #a2acb7; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 19px 0; color: var(--muted); font-size: 11px; }
.consent-row input { width: 15px; height: 15px; flex: 0 0 15px; margin: 2px 0 0; accent-color: var(--navy); }
.consent-row a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.form-submit { min-width: 185px; border: 0; }
.form-submit:disabled { opacity: .65; cursor: wait; }
.form-status { min-height: 23px; margin: 13px 0 0; font-size: 12px; }
.form-status-success { color: #18673b; }
.form-status-error { color: #a4242d; }
.form-status-info { color: #234e75; }
.form-note { margin: 7px 0 0; color: #8995a2; font-size: 10px; }
.privacy-draft { padding-block: 70px 110px; }
.cookie-disclosure { margin-bottom: 34px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.cookie-disclosure h2 { margin-bottom: 18px; font-size: clamp(30px, 3.5vw, 40px); }
.cookie-disclosure p:not(.eyebrow) { margin-bottom: 15px; color: var(--muted); font-size: 14px; }
.narrow-container { max-width: 790px; }
.privacy-draft > .container > p { margin: 25px 0; color: var(--muted); font-size: 14px; }

.site-footer { color: #d2dbe5; background: #091c33; }
.footer-main { display: grid; grid-template-columns: 1.25fr .75fr .95fr 1fr; gap: 48px; padding-block: 67px 50px; }
.footer-brand .brand { width: min(342px,100%); min-width: 0; margin-bottom: 15px; background: #fff; }
.footer-brand p, .footer-note p:not(.footer-title) { max-width: 230px; margin: 0; color: #aebdcd; font-size: 12px; }
.footer-title { margin: 4px 0 15px; color: #879cb2; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; }
.footer-col a:hover, .footer-bottom a:hover { color: #fff; }
.footer-col span { color: #aebdcd; line-height: 1.6; }
.footer-cta { display: inline-flex; gap: 10px; margin-top: 17px; padding: 10px 13px; color: #fff; background: var(--red); font-size: 11px; font-weight: 700; }
.footer-cta span { color: #ffd3d4; }
.footer-bottom { min-height: 54px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid rgba(255,255,255,.15); color: #8fa2b5; font-size: 10px; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-credits { padding-bottom: 18px; color: #8fa2b5; font-size: 10px; line-height: 1.5; }

:focus-visible { outline: 3px solid #e9585e; outline-offset: 3px; }
@media (max-width: 1050px) {
  .header-inner { min-height: 78px; gap: 20px; }
  .brand { width: 342px; min-width: 317px; }
  .main-nav { gap: 13px; font-size: 12px; }
  .main-nav > a:not(.nav-contact) { white-space: nowrap; }
  .nav-contact { padding: 11px 12px; }
  .container { width: min(var(--container), calc(100% - 48px)); }
  .service-detail { grid-template-columns: 45px 1fr .9fr; gap: 23px; }
  .service-detail-reverse { grid-template-columns: 45px .9fr 1fr; }
  .footer-main { gap: 28px; }
}
@media (max-width: 820px) {
  .hero-home { min-height: 590px; }
  .hero-photo { left: 18%; background-size: auto 94%; }
  .hero-shade { background: linear-gradient(90deg, #f4f6f8 0%, rgba(244,246,248,.97) 35%, rgba(244,246,248,.84) 53%, rgba(244,246,248,.28) 75%, rgba(244,246,248,.03) 100%); }
  .hero-inner { padding-block: 78px 80px; }
  .header-inner { min-height: 74px; gap: 12px; }
  .brand { width: min(342px, calc(100vw - 93px)); min-width: min(244px, calc(100vw - 93px)); }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 24px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 16px 22px rgba(14,37,62,.09); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.nav-contact) { padding: 11px 0; border-bottom: 1px solid #eef1f4; }
  .main-nav > a:not(.nav-contact)::after { display: none; }
  .nav-contact { justify-content: center; margin-top: 12px; }
  .trust-grid { grid-template-columns: repeat(3,1fr); padding-block: 15px; }
  .trust-item { padding-inline: 14px; }
  .trust-item:first-child { padding-left: 0; }
  .trust-cta { grid-column: 1/-1; align-items: center; padding: 18px 0 8px; border-top: 1px solid rgba(255,255,255,.18); text-align: center; }
  .section { padding-block: 80px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .section-intro { max-width: 580px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid, .facility-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-copy { max-width: 650px; }
  .about-image-wrap { min-height: 0; }
  .about-image { height: 100%; }
  .image-stamp { right: 15px; }
  .project-preview { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .project-photo, .project-photo-large { aspect-ratio: auto; }
  .project-photo-large { grid-row: span 2; }
  .project-photo:not(.project-photo-large) { min-height: 190px; }
  .quality-inner, .contact-ribbon-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
  .quality-inner .button { align-self: flex-start; }
  .contact-ribbon-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .company-intro-grid { grid-template-columns: 1fr; gap: 12px; }
  .company-intro-grid .body-copy { max-width: 740px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .process-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-detail, .service-detail-reverse { grid-template-columns: 44px 1fr 1fr; gap: 19px; }
  .service-detail-image { height: 255px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .cert-grid { grid-template-columns: repeat(2,1fr); }
  .contact-main-grid { grid-template-columns: 1fr; gap: 45px; }
  .contact-details { max-width: 650px; }
  .footer-main { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 38px); }
  .topline-inner { min-height: 32px; font-size: 10px; }
  .topline-inner > span { max-width: 55%; }
  .topline a { white-space: nowrap; }
  .header-inner { min-height: 68px; }
  .brand { width: min(342px, calc(100vw - 93px)); min-width: min(244px, calc(100vw - 93px)); }
  .hero-home { min-height: 760px; align-items: end; }
  .hero-photo { inset: 0; background-position: right top; background-size: 100% auto; }
  .hero-shade { background: linear-gradient(180deg, rgba(244,246,248,0) 0%, rgba(244,246,248,.05) 25%, rgba(244,246,248,.88) 39%, #f4f6f8 48%); }
  .hero-inner { padding-block: 300px 68px; }
  h1 { font-size: clamp(43px, 12vw, 58px); }
  .hero-lead { font-size: 15px; }
  .hero-footnote { margin-top: 39px; font-size: 10px; }
  .hero-credit { right: 10px; bottom: 10px; font-size: 8px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding-block: 10px; }
  .trust-item { min-height: 74px; padding: 8px 12px; border-right: 0; }
  .trust-item:nth-child(2) { border-left: 1px solid rgba(255,255,255,.18); }
  .trust-item:nth-child(3) { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.18); }
  .trust-cta { grid-column: 1/-1; }
  .section { padding-block: 67px; }
  h2 { font-size: 36px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 200px; }
  .about-image-wrap { min-height: 0; }
  .about-image { height: 100%; }
  .image-stamp { width: 82px; height: 82px; right: 12px; top: 13px; }
  .image-stamp strong { font-size: 13px; }
  .image-stamp span { font-size: 8px; }
  .project-preview { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .project-photo-large { grid-column: 1/-1; grid-row: auto; min-height: 260px; }
  .project-photo:not(.project-photo-large) { min-height: 157px; }
  .project-label { left: 12px; right: 12px; bottom: 12px; font-size: 11px; }
  .quality-callout { padding-block: 65px; }
  .contact-ribbon { padding-block: 50px; }
  .contact-ribbon-actions { align-items: flex-start; flex-direction: column; }
  .page-hero { min-height: 385px; }
  .page-hero-inner { padding-block: 35px 47px; }
  .page-hero h1 { font-size: 43px; }
  .page-hero-credit { right: 12px; bottom: 10px; }
  .breadcrumbs { margin-bottom: 35px; }
  .company-intro { padding-block: 64px 36px; }
  .company-intro h2 { font-size: 37px; }
  .facility-photo img { height: auto; }
  .facility-facts { gap: 20px; }
  .facility-facts strong { font-size: 17px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article + article { padding: 19px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .process-grid article:nth-child(3) { border-top: 0; }
  .service-detail, .service-detail-reverse { grid-template-columns: 32px 1fr; gap: 10px 12px; padding-block: 39px; }
  .service-detail-number { grid-row: span 2; }
  .service-detail-copy { grid-column: 2; }
  .service-detail-image { grid-column: 2; height: 220px; }
  .service-detail-copy h2 { font-size: 32px; }
  .gallery-section { padding-block: 64px 78px; }
  .gallery-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .gallery-filters { gap: 6px; }
  .filter-button { padding: 8px 10px; gap: 7px; font-size: 10px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 9px; }
  .gallery-card-meta { min-height: 65px; padding: 9px 30px 9px 9px; }
  .gallery-card-meta small { font-size: 8px; }
  .gallery-card-meta strong { font-size: 10px; }
  .gallery-card-meta i { right: 8px; font-size: 14px; }
  .photo-dialog { padding: 10px; }
  .gallery-nav { width: 35px; height: 35px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .photo-dialog-hint { font-size: 9px; }
  .cert-notice-section { padding-top: 28px; }
  .notice-card { gap: 12px; padding: 17px 15px; }
  .cert-list { padding-block: 45px 68px; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-card { min-height: 220px; }
  .qualifications-grid { align-items: flex-start; flex-direction: column; gap: 27px; }
  .qualifications-grid h2 { font-size: 34px; }
  .contact-main { padding-block: 60px 75px; }
  .contact-details h2 { font-size: 37px; }
  .contact-methods { gap: 15px; }
  .contact-form-card { padding: 23px 17px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-grid .form-wide { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 21px; padding-block: 51px 35px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand .brand { width: min(342px, calc(100vw - 38px)); }
  .footer-note { grid-column: 1/-1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
