:root{--ink:#17212a;--paper:#f7f6f2;--amber:#ffbd50}body{background:var(--paper);color:var(--ink);font-family:"Inter",Arial,sans-serif}header,main,footer{max-width:none}.brand{letter-spacing:-1.1px;gap:11px}.brand i{font-style:normal;font-weight:400}.mark{background:var(--ink);border-radius:2px;color:var(--amber);font:italic 800 25px Arial;box-shadow:inset -4px -3px var(--amber)}header{background:#fff;border:0}.btn,button{background:var(--amber);color:var(--ink);border:0;border-radius:3px}nav .btn{background:var(--ink);color:white}.hero{isolation:isolate;position:relative;display:flex;overflow:hidden;min-height:clamp(470px,42vw,660px);margin:0 -5vw;padding:68px 5vw;color:#fff;background:var(--ink)}.hero .cover{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 46%;z-index:-2}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,21,29,.96),rgba(14,24,34,.86) 33%,rgba(14,24,34,.36) 62%,transparent);z-index:-1}.hero-copy{width:min(700px,70%)}.hero h1{font-size:clamp(56px,6vw,96px);line-height:.98;letter-spacing:-.065em}.hero h1 span{color:var(--amber)}.hero p{color:#f1f3f4;line-height:1.55;max-width:475px}.alt{background:#202b35d9;color:white;border:1px solid #c4cbd0}.section{padding:64px 0;border:0}.offer-grid{display:grid;grid-template-columns:.62fr 1.4fr;gap:4vw}.work-photo{width:100%;height:100%;max-height:410px;object-fit:cover;border-radius:4px}.services{grid-template-columns:1fr 1fr;gap:24px}article{border-top:1px solid #adb1b4}article h3{font-size:24px}article p{font-size:15px;color:#45505a;margin:7px 0}article a{font-weight:600}.contact{border-radius:5px;padding:clamp(24px,4vw,60px);background:#1d2933;color:#fff}.contact p,.contact small{color:#dce1e5}.contact input,.contact select,.contact textarea{background:white;color:var(--ink);border-radius:3px}.contact button{padding-block:14px}footer{border-color:#b9bfc4}@media(max-width:840px){.offer-grid{grid-template-columns:1fr}.work-photo{display:none}.hero-copy{width:90%}}@media(max-width:540px){.hero{align-items:flex-end;min-height:550px;padding-bottom:32px}.hero:after{background:linear-gradient(0deg,#101c27 0%,#13202ce8 40%,#13202c12 92%)}.hero-copy{width:100%}.hero h1{font-size:clamp(43px,10.8vw,59px)}.hero p{font-size:16px}.hero .cover{object-position:75% center}.services{grid-template-columns:1fr}.section{padding:36px 0}.actions .btn{font-size:13px}.brand{font-size:19px}}
:root{--ink:#072038;--paper:#f6f9fa;--amber:#ffca08;--cyan:#10d9eb}header{background:#071e32;color:white}.mark{background:#10d9eb;color:#071e32;box-shadow:3px 3px 0 #287080}.brand i{color:#a6c5ce}nav .btn{background:var(--cyan);color:#071e32}.hero{min-height:530px;padding-block:76px}.hero:after{display:none}.hero-copy{width:64%;z-index:1}.hero h1{font-size:clamp(44px,5.6vw,92px)}.hero h1 span,.intro span{color:var(--cyan)}.hero p{color:#c7d8e0;max-width:540px}.hero .alt{background:#0a253e;border-color:#587887}.product{position:absolute;right:0;top:0;bottom:0;width:40%;background:#061e36;clip-path:polygon(13% 0,100% 0,100% 100%,0 100%)}.product img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 46%}.directory{display:flex;justify-content:space-between;gap:12px;background:#0c314b;color:white;margin:0 -5vw;padding:18px 5vw}.directory a{text-decoration:none;font-size:14px}.directory a:after{content:' +';color:var(--cyan);margin-left:8px}.section{padding-block:60px}.process,.knowledge,.showcase{display:grid;grid-template-columns:1fr 1.12fr;gap:6vw;align-items:center;padding:54px 0;border-top:1px solid #b7cbd3}.process{background:#e7f1f4;margin:0 -5vw;padding-inline:5vw}.process ol{counter-reset:steps;list-style:none;margin:0;padding:0}.process li{counter-increment:steps;position:relative;padding:15px 0 12px 48px;border-bottom:1px solid #bbccd4}.process li:before{content:'0' counter(steps);position:absolute;left:0;font:16px monospace;color:#156275}.process strong{font-size:21px}.process p,.showcase p,.knowledge p{max-width:560px}.process li p{margin:5px 0}.showcase{display:flex;justify-content:space-between}.knowledge{grid-template-columns:1.1fr 1fr}.thumbnail img{display:block;width:100%;border-radius:5px}.knowledge details,.project details{padding:14px 0;border-bottom:1px solid #b7cbd3}.knowledge details:first-of-type{margin-top:18px}summary{cursor:pointer;font-weight:bold}.contact{background:#08243c}.portfolio{padding-bottom:68px}.intro{padding:55px 5vw;margin:0 -5vw;color:#fff}.intro h1{font-size:clamp(52px,7vw,106px);letter-spacing:-.065em;line-height:1;margin:26px 0 12px}.intro p{max-width:550px}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:42px 0}.project{border:1px solid #ccdae0;background:white;border-radius:6px;overflow:hidden;padding:0}.project>div+div{padding:22px}.project h2{font-size:26px;margin:0}.placeholder{display:grid;place-items:center;aspect-ratio:1.7;color:#a4dce5;background-color:#0e344b;background-image:linear-gradient(#38596a55 1px,transparent 1px),linear-gradient(90deg,#38596a55 1px,transparent 1px);background-size:22px 22px}.placeholder span{padding:8px 13px;border:1px dashed #6da1b1;background:#102f43;font:12px monospace}.project small{color:#356172}nav a[aria-current]{text-decoration:underline;text-decoration-color:var(--cyan);text-underline-offset:8px}a:focus-visible,summary:focus-visible{outline:3px solid #0194a6;outline-offset:4px}
@media(max-width:840px){header{flex-wrap:wrap;gap:8px;padding-block:12px}nav a:first-child{display:inline}nav{gap:15px}.hero-copy{width:64%}.projects{grid-template-columns:1fr}.project{display:grid;grid-template-columns:.8fr 1fr}.hero{min-height:420px}.process,.knowledge{gap:25px}}
@media(max-width:620px){header{display:grid;justify-content:stretch;gap:12px}nav{justify-content:space-between}nav .btn{padding:6px 12px}.hero{align-items:start;display:block;padding:28px 5vw 0}.hero-copy{width:100%}.hero h1{font-size:clamp(36px,10vw,58px)}.hero p{margin:14px 0 20px}.product{position:relative;float:right;clip-path:none;width:35%;height:160px;margin:0 -5vw 10px 8px;border-radius:4px 0 0 4px}.product img{object-position:50% 44%}.actions{clear:both;padding:8px 0 28px}.directory{display:grid;grid-template-columns:1fr 1fr}.process,.knowledge,.project{grid-template-columns:1fr}.showcase{display:block}.showcase .btn{display:inline-block}.project .placeholder{aspect-ratio:2.5}.projects{margin-block:26px}.process,.knowledge,.showcase{padding-block:32px}}
.hero h1 span{color:#fff}nav .btn{background:#143a50;color:white}.bundle,.faq{display:grid;grid-template-columns:1fr 1.1fr;gap:6vw;padding:45px 0;border-bottom:1px solid #becdd4}.bundle h2{font-size:clamp(30px,3.2vw,50px);max-width:550px}.bundle:target,.project:target{outline:2px solid #138999;outline-offset:4px}.bundle h3{margin-top:0}.bundle p,.reader p,.guidegrid p{color:#395265}.bundle dl{border-block:1px solid #c9d6db;padding:12px 0}.bundle dt{font-size:14px;font-weight:bold}.bundle dd{margin:0 0 9px}.bundle .btn,.reader .btn{display:inline-block}.secondary{display:block;margin:15px 0}.faq details{padding:16px 0;border-top:1px solid #bfccd1}.guidegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:45px 0}.guidegrid h2{font-size:27px}.guidegrid h2 a{text-decoration-thickness:1px}.reader{max-width:760px;margin:auto;padding:50px 0}.reader h1{font-size:clamp(36px,4.5vw,66px);line-height:1.06;letter-spacing:-.055em}.reader h2{font-size:28px;margin:32px 0 12px}.reader p{font-size:18px}.reader .lead{font-size:21px}.reader .btn{margin-top:20px}@media(max-width:720px){.bundle,.faq,.guidegrid{grid-template-columns:1fr;gap:12px}.guidegrid{gap:24px}nav{flex-wrap:wrap;justify-content:flex-start;gap:10px 15px}}
.example,.profile{display:grid;grid-template-columns:1.35fr 1fr;gap:5vw;align-items:center;padding:48px 0;border-top:1px solid #b7cbd3}.eyebrow{font-size:.8rem;letter-spacing:.09em;text-transform:uppercase;color:#166578;font-weight:700}.test-metrics,.profile dl{background:#e7f1f4;padding:24px 28px;border-left:3px solid #167e8e;display:grid;gap:4px}.test-metrics strong,.profile dt{font-size:clamp(25px,3vw,43px);letter-spacing:-.04em}.test-metrics span,.profile dd{margin:0 0 12px;color:#395265}.profile p{max-width:65ch}#estimate{display:block;font-weight:700;color:#103c50}#quote-status{margin:0;color:white}#quote button:disabled{opacity:.65;cursor:wait}.inbox article{border-top:1px solid #b7cbd3;margin:15px 0;padding:17px 0}.inbox p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:720px){.example,.profile{grid-template-columns:1fr;gap:12px}}
.service-action{display:inline-block;margin-top:8px}.service-grid article{scroll-margin-top:24px}.service-grid article:target{border-color:#167e8e}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 30px 4vw;
  padding: 42px 5vw;
  border: 0;
  background: #071e32;
  color: #edf5fa;
  font-size: 15px;
}
.site-footer h2 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -.02em;
}
.site-footer p {
  margin: 0 0 8px;
  color: #c7d8e0;
}
.site-footer .brand { margin-bottom: 12px; }
.footer-email {
  display: block;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.footer-contact .btn { display: inline-block; }
@media (max-width: 800px) {
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer { grid-template-columns: 1fr; gap: 22px; }
}

.hero-service-link {
  display: inline-block;
  margin-top: 19px;
  color: #d3edf3;
  font-size: 15px;
}
.hero-service-link:hover { color: #55e0ee; }
.service-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-cards .service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(17px, 2.5vw, 30px);
  border: 1px solid #cfdee3;
  border-radius: 12px;
  background: #fff;
}
.service-card .service-icon { object-fit: contain; }
.service-icon {
  box-sizing: content-box;
  display: block;
  padding: 8px;
  margin-bottom: 15px;
  background: #e4f2f5;
  border-radius: 12px;
}
.service-card p { margin-bottom: 18px; }
.service-card a { margin-top: auto; color: #125d70; }
.service-visit {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 26px 6vw;
  align-items: start;
  padding: 36px 0;
  margin-bottom: 28px;
  border-top: 1px solid #becdd4;
}
.service-scenario {
  padding: 22px;
  border-radius: 12px;
  background: #e8f2f5;
}
.service-scenario h3 { margin-top: 0; }
.service-scenario p { margin-bottom: 0; }
@media (max-width: 830px) {
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hero-service-link { margin: 0 0 21px; }
  .service-visit { grid-template-columns: 1fr; }
}
@media (max-width: 490px) {
  .service-cards { grid-template-columns: 1fr; }
}

html { scroll-padding-top: 98px; }
body > header {
  position: sticky;
  z-index: 10;
  top: 0;
  box-shadow: 0 1px 0 #365267;
}
body > header .brand {
  color: #fff;
  font-size: 22px;
  letter-spacing: -.03em;
}
body > header .brand i {
  color: #f0f8ff;
  font-weight: 500;
}
body > header nav a {
  color: #f0f8ff;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}
body > header nav .btn {
  background: #a9f5ff;
  color: #071e32;
  font-weight: 700;
}
body > header nav a[aria-current="page"] { color: #a9f5ff; }
body > header nav a:not(.btn):hover {
  color: var(--cyan);
  filter: none;
}
body > header a:focus-visible {
  outline-color: var(--cyan);
}
@media (max-width: 840px) {
  html { scroll-padding-top: 132px; }
}
@media (max-width: 520px) {
  html { scroll-padding-top: 156px; }
  body > header { display: grid; justify-content: stretch; gap: 8px; }
  body > header nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 8px;
  }
  body > header .brand { font-size: 20px; }
  body > header nav a { font-size: 14px; padding: 4px 0; }
  body > header nav .btn { justify-self: start; padding: 4px 10px; }
}

#service-history {
  min-width: 0;
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid #42627c;
  border-radius: 6px;
}
#service-history legend { padding: 0 4px; font-size: 14px; }
#service-history label + label { margin-top: 8px; }

.featured-video { display: block; }
.featured-video span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.home-page .hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.4vw, 86px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.home-page .hero p {
  color: #edf6fc;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
}
.home-page .hero .actions .btn {
  font-size: 15px;
  line-height: 1.4;
}
.home-page .hero .alt { border-color: #9ab8c9; }
.home-page .hero-service-link {
  color: #a9f5ff;
  font-weight: 600;
  text-decoration-thickness: 1px;
}
.home-page .directory a {
  font-size: 15px;
  font-weight: 600;
}
.home-page .service-card p {
  color: #293e4e;
  font-size: 16px;
  line-height: 1.6;
}
.home-page .featured-video img { height: auto; }

@media (max-width: 680px) {
  .home-page .hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-block: 32px 20px;
  }
  .home-page .hero h1 { font-size: clamp(32px, 8.3vw, 50px); }
  .home-page .hero .actions { padding-bottom: 16px; }
  .home-page .hero-service-link { margin-bottom: 0; }
  .home-page .hero-copy { width: 100%; }
  .home-page .hero .product {
    order: 1;
    float: none;
    position: static;
    align-self: center;
    clip-path: none;
    width: min(56%, 208px);
    height: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
  }
  .home-page .hero .product img {
    display: block;
    height: auto;
    max-height: none;
  }
  .home-page .knowledge {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

.mobile-header-actions { display: none; }
.form-data-note {
  padding: 12px 0;
  border-top: 1px solid #42627c;
  font-size: 14px;
}
.form-data-note p {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 680px) {
  html:has(.compact-menu) { scroll-padding-top: 82px; }
  body > header.compact-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    padding: 8px 4vw;
  }
  body > header.compact-menu .brand {
    font-size: clamp(15px, 4.7vw, 21px);
    gap: 7px;
  }
  .compact-menu .mark {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    font-size: 21px;
  }
  .compact-menu .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: clamp(7px, 2vw, 16px);
    flex-shrink: 0;
  }
  .compact-menu .mobile-service {
    font-size: 14px;
    font-weight: 650;
    color: #a9f5ff;
  }
  .compact-menu .menu-toggle {
    min-height: 42px;
    padding: 6px 10px;
    background: #153b52;
    color: #f0f8ff;
  }
  body > header.compact-menu nav { display: none; }
  body > header.compact-menu.menu-open nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    padding: 14px 4vw;
    background: #071e32;
    border-top: 1px solid #365267;
    box-shadow: 0 10px 15px #071e3240;
  }
  body > header.compact-menu nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

.variant-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  border-bottom: 1px solid #cfdee3;
}
.variant-jump a {
  padding: 9px 13px;
  border: 1px solid #aec7d2;
  border-radius: 6px;
  background: #e7f2f5;
  color: #0e3a50;
  font-weight: 650;
}
.clean-variant {
  gap: 16px 5vw;
  padding: 30px 0;
}
.clean-variant h2 {
  margin: 0 0 16px;
  font-size: clamp(27px, 3vw, 43px);
}
.clean-variant h3 {
  margin: 0 0 5px;
  font-size: 17px;
}
.clean-variant p { margin: 0 0 15px; }
.variant-scope ul { margin: 0 0 16px; padding-left: 20px; }
.variant-scope li + li { margin-top: 4px; }
.variant-scope .btn { margin-top: 2px; }

.process-demo { align-items: start; }
.process-controls:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; }
.process-controls button {
  background: #fff;
  color: #153e55;
  border: 1px solid #a9c4d2;
}
.process-controls button[aria-pressed="true"] {
  background: #0e4058;
  border-color: #0e4058;
  color: #fff;
}
.process-stage {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #c5d9e1;
  border-radius: 12px;
  background: #fff;
}
.process-stage:not([hidden]) + .process-stage:not([hidden]) { margin-top: 12px; }
.process-stage h3 { margin: 18px 0 6px; }
.process-stage p { margin: 0; }
.stage-photo { display: block; width: 100%; height: clamp(140px, 17vw, 196px); object-fit: cover; border-radius: 8px; }
.profile dl > div { position: relative; padding-left: clamp(80px, 8vw, 118px); min-height: 84px; }
.profile dl > div + div { border-top: 1px solid #bed4dc; padding-top: 12px; }
.experience-photo { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: clamp(68px, 7vw, 100px); height: 68px; border-radius: 6px; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .process-stage:not([hidden]) { animation: slide-appear 240ms ease-out; }
  @keyframes slide-appear { from { opacity: .45; transform: translateY(5px); } }
}

.battery-calc {
  padding: 45px 0;
  border-bottom: 1px solid #becdd4;
}
.calc-heading p { max-width: 65ch; }
.calc-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 15px;
}
.calc-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.calc-example { background: #e7f2f5; border: 1px solid #a9c4d2; }
.battery-calc small { display: block; margin: 14px 0 8px; }
.calc-scroll { overflow-x: auto; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.calc-table th, .calc-table td { padding: 9px; text-align: left; border-bottom: 1px solid #cfdee3; }
.calc-table thead { background: #e7f2f5; }
.calc-table caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
#capacity-gain { color: #103c50; font-weight: 650; }
@media (max-width: 580px) {
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-table { font-size: 14px; }
  .calc-table th, .calc-table td { padding: 8px 5px; }
}

.contact-next { margin: 22px 0; }
.contact-next h3 { margin: 0 0 8px; font-size: 17px; }
.contact-next ol { margin: 0; padding-left: 22px; color: #dce1e5; }
.contact-next li + li { margin-top: 7px; }
#quote-tip { margin: 0; font-size: 14px; color: #a9f5ff; }
.variant-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }

.service-intro, .calc-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  align-items: center;
  gap: 24px 5vw;
}
.service-intro h1 { font-size: clamp(44px, 6vw, 91px); }
.service-intro p { max-width: 57ch; }
.context-photo {
  position: relative;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  background: #122b3f;
}
.context-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  height: auto;
  object-fit: cover;
}
.service-grid article {
  padding: clamp(16px, 2.3vw, 25px);
  border: 1px solid #cfdee3;
  border-radius: 12px;
  background: #fff;
}
.service-grid article h2 { margin-bottom: 12px; }


.calc-intro { margin-bottom: 22px; }
.calc-photo img { aspect-ratio: 2.25/1; }
@media (max-width: 720px) {
  .service-intro, .calc-intro { grid-template-columns: 1fr; gap: 17px; }
  .service-photo img { aspect-ratio: 1.9/1; }

}

.section-cover img { aspect-ratio: 1.9/1; }
.reader-cover { margin: 24px 0 32px; }
.reader-cover img { aspect-ratio: 2.25/1; }
@media (max-width: 720px) {
  .section-cover img, .reader-cover img { aspect-ratio: 1.9/1; }
}

.hero, .intro {
  background-color: #071e32;
  background-image: linear-gradient(90deg, #14324755 1px, transparent 1px),
                    linear-gradient(#14324755 1px, transparent 1px);
  background-size: 42px 42px;
}

@media (min-width: 681px) and (max-width: 1050px) {
  body > header nav { gap: 12px; }
}

.installation-intro { grid-template-columns: 1fr; }
.installation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.installation-card {
  background: white;
  border: 1px solid #ccdae0;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
}
.installation-image {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  background: #e7eef1;
}
.installation-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.installation-copy { padding: 16px 18px 18px; }
.installation-copy h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.installation-copy p {
  color: #344f60;
  font-size: .95rem;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: anywhere;
}
.installation-copy .installation-spec { margin-top: 6px; }
.installation-preview > .btn,
.installation-actions { margin-top: 24px; }
.installation-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.installation-image:focus-visible { outline-offset: -4px; }
@media (max-width: 860px) {
  .installation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .installation-grid { grid-template-columns: 1fr; }
}
.installation-models { margin-top: 12px; }
.installation-models summary {
  color: #344f60;
  cursor: pointer;
  font-size: .875rem;
  text-underline-offset: 3px;
}
.installation-models summary:hover { text-decoration: underline; }
.installation-models p { margin-top: 8px; }

.guide-thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 6px;
}

.installation-thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; margin-top: 10px; }
.installation-thumbnails img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

body > header #main-menu > a.btn {
  background: #ffca08;
  border-color: #ffca08;
  color: #071e32;
}
body > header #main-menu > a.btn:hover {
  background: #ffdb55;
  border-color: #ffdb55;
  color: #071e32;
}
body > header #main-menu > a.btn:focus-visible {
  outline: 2px solid #ffdb55;
  outline-offset: 3px;
}

.process-demo .process-autoplay {
  margin-top: 8px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  color: #155871;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calc-contact { display: inline-block; margin-top: 8px; }
.knowledge-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.knowledge-links a { font-weight: 600; }
.quote-calc { border-inline-start: 2px solid var(--cyan); padding-inline-start: 12px; }
.quote-calc p { margin-block: 0 8px; }
.quote-calc button { font-size: .875rem; }

.service-card-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.portfolio :is(#bateria, #fotowoltaika, #modernizacje) { scroll-margin-top: 110px; }
.modernization-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.modernization-card .installation-image img { object-fit: contain; background: #e7eef0; }
.modernization-card .modernization-stage { color: #166578; font-weight: 700; }
.modernization-photos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.modernization-photos a { width: min(140px, 45%); font-size: .875rem; }
.modernization-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 4px; border-radius: 4px; }
@media (max-width: 660px) {
  .modernization-grid { grid-template-columns: 1fr; }
}

.profile { grid-template-areas: "heading photo" "copy stats"; align-items: start; row-gap: 0; }
.profile-heading { grid-area: heading; }
.profile-heading h2 { margin-bottom: 12px; }
.profile-copy { grid-area: copy; }
.profile-photo { grid-area: photo; display: block; width: min(100%, 280px); max-height: 360px; object-fit: contain; margin-bottom: 16px; border-radius: 8px; }
.profile:has(.profile-photo) { grid-template-areas: "heading photo" "copy photo" "copy stats"; }
.profile dl { grid-area: stats; margin-top: 0; }
@media (max-width: 720px) {
  .profile, .profile:has(.profile-photo) { grid-template-areas: "heading" "photo" "copy" "stats"; }
  .profile-photo { width: min(80%, 240px); }
}

.hero-signature { display: inline-block; margin: 0 0 16px; font-size: 1rem; color: #b7f1f5; }
.business-link { margin-block: .6rem; }
@media (max-width: 680px) {
  .home-page .hero .product { width: 100%; height: clamp(100px, 28vw, 168px); }
  .home-page .hero .product img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
  .compact-menu .mobile-contact { display: inline-flex; align-items: center; min-height: 42px; background: #ffca08; color: #091f30; padding: 0 10px; border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; }
  .compact-menu .mobile-service { display: none; }
}

.photo-viewer { width: min(94vw, 900px); max-height: 95vh; max-height: 95dvh; padding: 12px; border: 0; border-radius: 12px; background: #071e32; color: white; }
.photo-viewer::backdrop { background: rgb(4 16 25 / 85%); }
.photo-bar, .photo-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.photo-controls[hidden] { display: none; }
.photo-full { display: block; width: 100%; height: min(65vh, 650px); object-fit: contain; margin: 8px 0; }
.photo-viewer button { min-height: 44px; padding: 6px 14px; border: 0; border-radius: 6px; color: #072038; background: white; cursor: pointer; }

.home-page .hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: clamp(480px, 39vw, 650px);
  padding-block: clamp(48px, 6vw, 92px);
  background: #101b24;
}
.home-page .hero .hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 72% center;
  z-index: -2;
}
.home-page .hero::after {
  display: block;
  background: linear-gradient(90deg, #071725e8, #071725a8 46%, transparent 77%);
  pointer-events: none;
}
.home-page .hero-copy { width: min(65%, 800px); }
.home-page .hero .actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; }
.home-page .hero .actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; text-align: center; }
@media (max-width: 680px) {
  .home-page .hero { min-height: 0; padding: clamp(148px, 40vw, 230px) 5vw 24px; }
  .home-page .hero-copy { width: 100%; }
  .home-page .hero .hero-background { object-position: 82% top; }
  .home-page .hero::after { background: linear-gradient(180deg, #07172505, #07172538 17%, #071725ed 47%, #071725fa); }
  .home-page .hero p { margin: 12px 0 16px; }
  .home-page .hero .actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
}

.review-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 260px),1fr)); gap: 16px; margin: 20px 0; align-items: start; }
.review-card { min-width: 0; margin: 0; padding: 20px; border: 1px solid #ccd9df; background: white; border-radius: 18px 18px 18px 4px; color: #132c3c; overflow-wrap: anywhere; }
.review-card figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-weight: 700; }
.review-stars { color: #915c00; letter-spacing: .08em; }
.review-card blockquote { margin: 0; white-space: pre-line; }
.review-card blockquote + a { display: inline-block; margin-top: 12px; }
.review-original img { width: 100%; height: auto; display: block; }

.brand .modulx-logo {
  display: block;
  width: clamp(9.4rem, 14vw, 11.5rem);
  height: auto;
}
@media (max-width: 680px) {
  .brand .modulx-logo { width: clamp(7.7rem, 34vw, 9.3rem); }
}

.home-page .hero h1 { text-wrap: balance; }


body > header .brand { display: flex; flex-direction: column; align-items: flex-start; gap: .18rem; }
.brand-tagline { font-size: clamp(.56rem, 1vw, .73rem); font-weight: 600; letter-spacing: 0; line-height: 1.2; color: #b2e6e7; }
@media (max-width: 680px) {
  body > header.compact-menu .brand { gap: .12rem; }
  body > header.compact-menu .brand-tagline { font-size: clamp(.5rem, 2.2vw, .63rem); white-space: nowrap; }
}
.privacy-page { max-width: 78ch; margin: 0 auto; padding: 2rem 5vw 3rem; }
.cookie-settings { background: none; border: 0; color: inherit; padding: 0; text-decoration: underline; }
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  z-index: 200;
  bottom: max(1rem, env(safe-area-inset-bottom));
  right: 1rem;
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  box-sizing: border-box;
  padding: 1.25rem;
  border: 1px solid #2e818e;
  border-radius: 1rem;
  background: #071e32;
  color: #edfaff;
  box-shadow: 0 12px 40px #00142266;
}
.cookie-banner h2 { margin: 0 0 .4rem; color: inherit; font-size: 1.25rem; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner a { color: #a9f5ff; text-decoration: underline; }
.cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.cookie-actions button { min-height: 44px; padding: .5rem; border: 1px solid #78eeef; border-radius: .5rem; background: #153b52; color: white; font-size: .9rem; font-weight: 650; line-height: 1.2; }
.cookie-actions button[data-cookie-accept] { background: #78eeef; color: #071e32; }

.svc-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,32%);gap:clamp(20px,4vw,54px);align-items:center;margin:2rem 0}.svc-intro img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:16px}.svc-next{display:flex;align-items:center;flex-wrap:wrap;gap:1.25rem;margin:2rem 0}@media(max-width:650px){.svc-intro{display:flex;flex-direction:column;align-items:stretch}.svc-intro img{width:min(100%,320px);align-self:center}}
