:root {
  --navy: #123b69;
  --navy-deep: #08294d;
  --blue: #1976c9;
  --sky: #eaf5ff;
  --orange: #f58220;
  --orange-deep: #d9650b;
  --ink: #17283b;
  --muted: #5e6b78;
  --line: #dce6ef;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --radius: 22px;
  --shadow: 0 20px 55px rgba(8, 41, 77, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 1000; background: #fff; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(18,59,105,.09); }
.nav-wrap { min-height: 124px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 8px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 350px; height: 108px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 5px; }
.nav a { padding: 10px 11px; border-radius: 9px; text-decoration: none; color: #31475e; font-weight: 700; font-size: .91rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--sky); }
.nav .nav-cta { color: #fff; background: var(--orange); margin-left: 8px; padding-inline: 16px; }
.nav .nav-cta:hover { color: #fff; background: var(--orange-deep); }
.menu-toggle { display: none; border: 0; background: var(--sky); color: var(--navy); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: .2s; }

.hero { min-height: 680px; display: grid; align-items: center; position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,28,55,.95) 0%, rgba(8,41,77,.83) 50%, rgba(8,41,77,.25) 100%), url('/assets/isolation-combles.webp') center/cover; }
.hero::after { content: ""; position: absolute; right: -110px; bottom: -150px; width: 430px; height: 430px; border: 70px solid rgba(245,130,32,.22); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; padding-block: 90px; max-width: 770px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); letter-spacing: .13em; text-transform: uppercase; font-size: .76rem; font-weight: 900; }
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); max-width: 850px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); color: var(--navy-deep); }
h3 { font-size: 1.35rem; color: var(--navy-deep); }
.hero p { max-width: 670px; font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: #e9f3fb; margin: 24px 0 30px; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 22px; border: 2px solid transparent; border-radius: 12px; text-decoration: none; font-weight: 850; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 24px rgba(245,130,32,.24); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-light { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); }
.btn-light:hover { background: rgba(255,255,255,.15); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.trust-strip { position: relative; z-index: 2; margin-top: -54px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.trust-item { padding: 24px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: 1rem; }
.trust-item span { display: block; color: var(--muted); font-size: .9rem; margin-top: 3px; }

.section { padding: 105px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-deep); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #c6d7e8; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px rgba(8,41,77,.06); }
.card-accent { border-top: 5px solid var(--orange); }
.card-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--navy); font-weight: 900; margin-bottom: 20px; }
.card p { margin: 13px 0 0; color: var(--muted); }
.card-link { display: inline-block; margin-top: 20px; color: var(--blue); font-weight: 850; text-decoration: none; }

.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.feature-image { position: relative; min-height: 560px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.feature-image::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(8,41,77,.6)); }
.feature-badge { position: absolute; z-index: 2; bottom: 24px; left: 24px; right: 24px; background: #fff; color: var(--navy); padding: 18px 20px; border-radius: 14px; font-weight: 850; box-shadow: var(--shadow); }
.feature-copy > p { color: var(--muted); font-size: 1.08rem; }
.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 32px; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 950; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.mini { padding: 17px; background: var(--sky); border-radius: 13px; color: var(--navy); font-weight: 800; }

.album-heading { align-items: center; }
.work-album { position: relative; }
.album-track { display: flex; gap: 18px; overflow-x: auto; padding: 8px 2px 24px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.album-track::-webkit-scrollbar { display: none; }
.album-card { position: relative; flex: 0 0 clamp(250px, 27vw, 320px); height: 470px; padding: 0; overflow: hidden; scroll-snap-align: start; border: 0; border-radius: 19px; background: #dae4ed; color: #fff; text-align: left; cursor: zoom-in; box-shadow: 0 12px 34px rgba(8,41,77,.12); isolation: isolate; }
.album-card-wide { flex-basis: clamp(330px, 42vw, 500px); }
.album-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 42%, rgba(5,28,55,.88) 100%); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album-card:hover img, .album-card:focus-visible img { transform: scale(1.035); }
.album-card:focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; }
.album-card-copy { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 21px; display: grid; gap: 4px; }
.album-card-copy small { color: #ffb06a; font-size: .73rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.album-card-copy strong { color: #fff; font-size: 1.05rem; line-height: 1.25; }
.album-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.album-controls p { margin: 0; color: var(--navy); font-size: .95rem; font-weight: 900; }
.album-controls p small { margin-left: 12px; color: var(--muted); font-size: .83rem; font-weight: 650; }
.album-controls > div { display: flex; gap: 9px; }
.album-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: #fff; font-size: 1.35rem; font-weight: 900; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.album-arrow:hover { color: #fff; background: var(--navy); transform: translateY(-2px); }
.album-lightbox { width: min(920px, calc(100% - 30px)); max-width: none; height: min(90vh, 880px); padding: 0; overflow: hidden; border: 0; border-radius: 20px; background: #061d37; color: #fff; box-shadow: 0 35px 90px rgba(0,0,0,.45); }
.album-lightbox::backdrop { background: rgba(3,16,30,.86); backdrop-filter: blur(7px); }
.album-lightbox[open] { display: grid; grid-template-columns: 70px minmax(0, 1fr) 70px; align-items: center; }
.album-lightbox figure { min-width: 0; height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.album-lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.album-lightbox figcaption { padding: 15px 20px 17px; color: #fff; background: #061d37; text-align: center; font-weight: 750; }
.lightbox-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: rgba(8,41,77,.82); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox-nav { width: 48px; height: 48px; margin: auto; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 1.3rem; cursor: pointer; }
.lightbox-nav:hover, .lightbox-close:hover { background: var(--orange); }

.grant-card { display: grid; grid-template-columns: 1fr 1.08fr; min-height: 480px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #161274 0%, #0d2964 100%); color: #fff; box-shadow: var(--shadow); }
.grant-media { min-width: 0; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 58px); background: radial-gradient(circle at 45% 45%, rgba(46,118,210,.3), transparent 62%), #15116d; border-right: 1px solid rgba(255,255,255,.13); }
.grant-media img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: contain; }
.grant-copy { padding: 64px 58px; display: flex; flex-direction: column; justify-content: center; }
.grant-copy h2 { color: #fff; }
.grant-copy p { color: #dbe0ff; }
.grant-amount { color: #ffad1d; font-size: clamp(2.7rem, 5vw, 4.8rem); font-weight: 950; line-height: 1; margin: 22px 0 6px; }
.fine { font-size: .82rem; color: var(--muted); }
.grant-copy .fine { color: #b8c0ec; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: steps; }
.step { counter-increment: steps; position: relative; padding: 30px 28px 28px; border-top: 2px solid var(--line); }
.step::before { content: counter(steps); position: absolute; top: -20px; left: 28px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; }
.step p { color: var(--muted); }

.cta-band { background: linear-gradient(120deg, var(--orange) 0%, #ff9b42 100%); color: #fff; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 48px 0; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band .btn { background: #fff; color: var(--navy); flex: 0 0 auto; }

.page-hero { position: relative; padding: 100px 0 90px; overflow: hidden; background: var(--navy-deep); color: #fff; }
.page-hero::after { content: ""; position: absolute; right: 4%; top: -130px; width: 370px; height: 370px; border: 64px solid rgba(245,130,32,.18); border-radius: 50%; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 5.4vw, 5rem); }
.page-hero p { max-width: 720px; color: #ccdaea; font-size: 1.18rem; margin: 20px 0 0; }
.service-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.service-detail:nth-child(even) .service-photo { order: 2; }
.service-photo { align-self: start; min-height: 0; border-radius: 20px; overflow: hidden; }
.service-photo img { width: 100%; height: auto; border-radius: inherit; object-fit: cover; }
.service-photo-decontamination { aspect-ratio: 707 / 1250; }
.service-photo-decontamination img { height: 100%; object-position: center; }
.service-copy p { color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.pill { padding: 8px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 750; font-size: .87rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.about-copy p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 45px; }
.value { padding: 25px; background: var(--soft); border-radius: 16px; }
.value strong { color: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.stat { padding: 22px; background: var(--navy); color: #fff; border-radius: 15px; }
.stat strong { display: block; color: #fff; font-size: 1.8rem; }

.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; }
.contact-panel { background: var(--navy-deep); color: #fff; border-radius: 20px; padding: 38px; position: sticky; top: 130px; }
.contact-panel h2 { color: #fff; font-size: 2.2rem; }
.contact-panel p { color: #c9d8e6; }
.contact-item { display: block; text-decoration: none; border-top: 1px solid rgba(255,255,255,.16); padding: 18px 0; font-weight: 800; }
.contact-item span { display: block; color: #9fb3c8; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.form-card { padding: 40px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 42px rgba(8,41,77,.08); }
.form-card h2 { font-size: 2.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; color: var(--navy); font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #c9d6e1; border-radius: 10px; padding: 13px 14px; color: var(--ink); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(25,118,201,.16); border-color: var(--blue); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.checkbox input { margin-top: 5px; }
.form-status { min-height: 24px; color: var(--navy); font-weight: 700; margin-top: 12px; }

.legal { max-width: 880px; }
.legal h2 { font-size: 1.7rem; margin-top: 42px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--blue); }

.site-footer { background: #061f3b; color: #fff; padding: 68px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 60px; }
.footer-logo {
  width: 100%;
  max-width: 520px;
  height: auto;
  aspect-ratio: 1320 / 689;
  object-fit: cover;
  background: #eef0f1;
  border: 0;
  border-bottom: 5px solid var(--orange);
  border-radius: 0;
  padding: 0;
  margin-bottom: 24px;
  box-shadow: 0 22px 48px rgba(0,0,0,.24);
}
.footer-about { color: #aebed0; max-width: 420px; }
.footer-title { font-weight: 900; margin-bottom: 17px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #bdcadd; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact-list { gap: 14px; }
.footer-contact { display: flex; align-items: flex-start; gap: 11px; min-width: 0; color: #bdcadd; }
.footer-contact svg { flex: 0 0 21px; width: 21px; height: 21px; margin-top: 2px; fill: none; stroke: var(--orange); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact span { min-width: 0; overflow-wrap: anywhere; }
.social-links { display: flex; gap: 11px; margin-top: 23px; }
.social-links a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.07); transition: color .2s, background .2s, border-color .2s, transform .2s; }
.social-links a:hover { color: #fff; background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.social-links svg { width: 23px; height: 23px; fill: currentColor; stroke: currentColor; stroke-width: 1.7; }
.social-links a:last-child svg { fill: none; }
.social-links .social-dot { fill: currentColor; stroke: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; color: #8fa3b7; font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-wrap { position: relative; min-height: 132px; }
  .brand img { width: 340px; height: 116px; }
  .nav { display: none; position: absolute; top: 132px; left: 20px; right: 20px; padding: 15px; background: #fff; box-shadow: var(--shadow); border-radius: 16px; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 13px; }
  .nav .nav-cta { margin: 5px 0 0; text-align: center; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .feature-grid, .about-grid, .contact-grid, .grant-card { grid-template-columns: 1fr; }
  .grant-media { min-height: 390px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .feature-image { min-height: 460px; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 35px; }
  .service-detail { grid-template-columns: 1fr; gap: 28px; }
  .service-detail:nth-child(even) .service-photo { order: 0; }
  .service-photo { min-height: 0; }
  .contact-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 138px; padding-block: 0; justify-content: flex-start; }
  .brand { width: calc(100% - 58px); }
  .brand img { width: 100%; height: 132px; object-position: left center; }
  .menu-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .nav { top: 138px; left: 14px; right: 14px; }
  .hero { min-height: 650px; }
  .hero::before { background: linear-gradient(rgba(5,28,55,.84), rgba(5,28,55,.93)), url('/assets/isolation-combles.webp') center/cover; }
  .hero-inner { padding-block: 70px 100px; }
  h1 { font-size: 2.85rem; }
  .hero-actions .btn { width: 100%; }
  .trust-strip { margin-top: -35px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .section { padding: 76px 0; }
  .cards, .values, .stats, .mini-grid, .form-grid, .process { grid-template-columns: 1fr; }
  .album-card { flex-basis: min(78vw, 300px); height: 430px; }
  .album-card-wide { flex-basis: min(84vw, 390px); }
  .album-controls p small { display: none; }
  .album-lightbox[open] { grid-template-columns: 50px minmax(0, 1fr) 50px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .feature-image { min-height: 430px; }
  .grant-media { min-height: 0; padding: 28px 20px; }
  .grant-media img { max-height: none; }
  .grant-copy { padding: 38px 25px; }
  .cta-band-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 72px 0; }
  .service-photo { min-height: 0; }
  .form-card { padding: 26px 20px; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
