:root {
  --paper:#0c1421; --white:#141f30; --ink:#f5f8fd; --body:#c5d1e0;
  --teal:#55b7ff; --mint:#132f50; --line:#2b3d54; --soft:#0e1a2a;
  color-scheme:dark;
}
body { background:var(--paper); color:var(--body); }
.site-header,.site-footer { background:#101a29; }
.site-header { border-bottom:1px solid var(--line); }
.brand-mark,.button-primary { color:#fff; background:#0062df; }
.header-call { background:#0062df; color:#fff; border-color:transparent; }
.button-primary:hover,.header-call:hover { background:#004eb8; color:#fff; }
.button-outline { color:var(--ink); border-color:#7290af; }
.nav-link[aria-current="page"] { color:var(--teal); text-decoration:underline; text-underline-offset:8px; }
.section { padding-block:66px; }
.page-intro { background:linear-gradient(115deg,#101c2f 45%,#102b50); padding-block:65px 56px; }
.page-intro h1 { font-size:clamp(2.6rem,5.4vw,4.7rem); }
.hero { position:relative; isolation:isolate; background:#101b2b; overflow:hidden; padding-block:84px 76px; }
.hero-grid { align-items:center; }
.hero h1 { font-size:clamp(2.65rem,5.5vw,5.15rem); line-height:1.02; letter-spacing:-.045em; }
.hero-copy { position:relative; z-index:1; }
.hero-intro { color:#d9e4f1; }
.hero-photo { position:absolute; z-index:-2; inset:0 0 0 auto; width:63%; overflow:hidden; container-type:inline-size; }
.hero-photo::before { content:""; position:absolute; inset:0; background:var(--mockup-reference) no-repeat; background-size:188cqw auto; background-position:right -10cqw; }
.hero::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#0c1421 25%,#0c1421ee 40%,#0c142144 73%,#0c142100); }
.pipe-artwork { border-radius:0; min-height:0; background:none; box-shadow:none; align-self:end; color:#fff; text-shadow:0 1px 8px #000; }
.pipe-artwork .pipe-drawing { display:none; }
.artwork-top,.artwork-bottom { background:#101b2bdf; padding:10px 14px; color:#e9f3ff; }
.artwork-dot { background:var(--teal); }
.services-overview,.process-section,.principles-section,.pricing-section,.home-work,.contact-callout { background:var(--soft); }
.service-card,.work-card,.principles-section article,.advice-article,.contact-note,.contact-cards > div,.pricing-section .container,.contact-callout .container {
  background:var(--white); border-color:var(--line); color:var(--body);
}
.service-card p,.work-card p,.contact-note p,.pricing-section p,.advice-article p { color:var(--body); }
.service-icon,.note-icon,.principle-number,.card-number { color:var(--teal); background:var(--mint); }
.services-overview .service-card { overflow:hidden; }
@media (min-width:1200px) {
  .services-overview .service-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
.services-overview .service-card::before {
  content:""; display:block; aspect-ratio:2.5; margin:-27px -24px 20px;
  background-image:var(--mockup-reference); background-repeat:no-repeat; background-size:331% auto;
  background-position:96% 83.1%;
}
.services-overview .service-card:nth-child(2)::before { background-position:50% 83.1%; }
.services-overview .service-card:nth-child(4)::before { background-position:4% 83.1%; }

.work-card img { background:#0a1320; }
.contact-note a,.text-link,.work-back { color:var(--teal); }
@media (max-width:760px) {
  .section { padding-block:42px; }
  .hero { padding-block:42px 23px; }
  .hero-photo { position:relative; z-index:0; width:auto; aspect-ratio:1.65; margin:0 -12px; border-radius:12px; }
  .hero::after { background:linear-gradient(160deg,#142943,#0c1421 65%); }
  .hero-copy { padding-bottom:12px; }
  .pipe-artwork { align-self:stretch; }
  .artwork-top,.artwork-bottom { padding:6px 12px; }
  .page-intro { padding-block:36px; }
  .header-navigation { background:#101a29; }
}
.button-outline:hover { background:#21374f; color:var(--ink); }
.button-light { background:#0062df; color:#fff; }
.button-light:hover { background:#004eb8; color:#fff; }
.work-gallery button,.gallery-dialog button { background:var(--white); color:var(--ink); }


@media (max-width:760px) { .header-navigation.preview-open { display:flex; visibility:visible; opacity:1; transform:none; } }

.header-navigation[hidden], .menu-toggle[hidden] { display:none; }

.services-overview .service-card:nth-child(3)::before {
  background: url("assets/sanitary-installation.png") center 43% / cover no-repeat;
}
.process-grid li { border-color:var(--line); }
.process-icon {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:18px;
  border-radius:10px;
  background:var(--mint);
  color:var(--teal);
}
.process-icon svg { width:24px; height:24px; }
.about-photo {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3 / 2;
  object-fit:cover;
  border-radius:16px;
}
@media (max-width:760px) {
  .services-overview .service-card::before { margin:-24px -20px 18px; }
  .process-icon { grid-row:1 / 3; margin-bottom:0; }
}

.section-icon {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:10px;
  background:var(--mint);
  color:var(--teal);
}
.section-icon svg { width:24px; height:24px; }
.principles-list article {
  padding-inline:clamp(14px,3vw,32px);
  border:1px solid var(--line);
  border-radius:14px;
}
.principles-list article + article { margin-top:12px; }
.advice-articles { display:grid; gap:16px; }
.advice-articles .advice-article {
  border:1px solid var(--line);
  border-radius:14px;
  padding:clamp(20px,3vw,34px);
}
.advice-article h2 { margin-block:14px 16px; }
.footer-identity p { max-width:350px; margin-top:14px; font-size:.87rem; }
.site-footer .footer-main {
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) max-content;
  gap:clamp(24px,5vw,70px);
}
.site-footer .footer-main nav,.site-footer .footer-contacts {
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:flex-start;
  gap:10px;
  grid-column:auto;
}
.site-footer .footer-bottom { border-color:var(--line); }
@media (max-width:760px) {
  .principles-list article { grid-template-columns:42px minmax(0,1fr); }
  .principles-list .section-icon { grid-row:1 / 3; }
  .site-footer .footer-main { grid-template-columns:1fr; }
}

.hero-photo::before { background: url('../images/dark/hero.jpg') center / cover no-repeat; }
.services-overview .service-card::before { background: url('../images/dark/pipes.jpg') center / cover no-repeat; }
.services-overview .service-card:nth-child(2)::before { background: url('../images/dark/drain.jpg') center / cover no-repeat; }
.services-overview .service-card:nth-child(3)::before { background: url('../images/dark/sanitary-installation.png') center / cover no-repeat; }
.services-overview .service-card:nth-child(4)::before { background: url('../images/dark/leak.jpg') center / cover no-repeat; }
.services-overview .service-card:nth-child(5)::before { background: url('../images/dark/heating.png') center / cover no-repeat; }
.language-switch a[aria-current] { background:#21374f; color:#fff; }
