/* MTS Eng Consultants: drawing-sheet inspired, concrete + membrane palette */
:root {
  --ink: #16252e;
  --ink-soft: #43535c;
  --paper: #f7f9f8;
  --concrete: #e6ebe9;
  --line: rgba(22, 37, 46, 0.18);
  --membrane: #0f6b6e;
  --amber: #d99a14;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--serif);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--membrane); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; font-family: var(--sans); }
.skip:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.page-hero .narrow, section > .wrap.narrow { margin-left: auto; margin-right: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.bar { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 16px 24px; }
.brand { font: 700 1.15rem/1 var(--sans); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-right: auto; }
.site-header nav a, .tel { font: 500 0.95rem var(--sans); color: var(--ink); text-decoration: none; }
.site-header nav a:hover, .tel:hover { text-decoration: underline; }
.tel { font-weight: 700; }

/* Type */
h1, h2, h3 { font-family: var(--sans); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
h3 a { color: var(--ink); }
h3 a:hover { color: var(--membrane); }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* Sections */
section { padding: 72px 0; }
.band { background: var(--concrete); }
.hero { padding: 56px 0 72px; }
.page-hero { padding: 64px 0 56px; }
.page-hero .wrap { max-width: 1120px; }
.page-hero .narrow { max-width: 1120px; }
.page-hero h1 { max-width: 20ch; }

/* Buttons */
.btn {
  display: inline-block;
  font: 600 1rem var(--sans);
  padding: 13px 22px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
}
.btn:hover { background: var(--membrane); border-color: var(--membrane); color: #fff; }
.btn.alt { background: transparent; color: var(--ink); }
.btn.alt:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.drawing { margin: 0; background: #fff; border: 1px solid var(--line); padding: 12px; }
.drawing svg { display: block; width: 100%; }

/* Drawing classes */
.dw-concrete { fill: url(#hatch); stroke: var(--ink); stroke-width: 1.5; }
.dw-topping { fill: #d3dcd9; stroke: var(--ink); stroke-width: 1; }
.dw-membrane { fill: none; stroke: var(--membrane); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.dw-gap { fill: none; stroke: var(--amber); stroke-width: 3.5; stroke-dasharray: 3 4; }
.dw-post { stroke: var(--ink); stroke-width: 2; fill: none; }
.dw-rebar { fill: var(--ink); }
.dw-rebar-hot { fill: var(--amber); stroke: var(--ink); stroke-width: 1; }
.dw-stain { fill: var(--amber); opacity: 0.35; }
.dw-drop { fill: var(--membrane); }
.dw-lead { stroke: var(--ink); stroke-width: 1; fill: none; }
.dw-title { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.dw-label { font: 500 13px var(--sans); fill: var(--ink); }
.dw-small { font: 500 11px var(--sans); fill: var(--ink-soft); }
.leak { fill: none; stroke: var(--membrane); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 5; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }

/* Service rows */
.rows { border-top: 1px solid var(--line); margin-top: 32px; }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row h3, .row p { margin: 0; }

/* Two-column blocks */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.case h3 { font-size: 1.35rem; }
.note { font: 500 0.9rem var(--sans); color: var(--ink-soft); border-left: 3px solid var(--amber); padding-left: 12px; margin-top: 16px; }

/* Process: a real sequence, so numbered */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; margin: 32px 0 0; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font: 700 1.6rem var(--sans); margin-bottom: 6px; }
.steps h3 { margin-bottom: 0.3em; }
.steps p { font-size: 0.98rem; }

/* About */
.about { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts strong { font-family: var(--sans); }

/* Lists */
.plain { padding-left: 1.2em; margin: 0; }
.plain li { margin-bottom: 0.7em; max-width: 56ch; }
.check { list-style: none; padding: 0; margin: 0 0 40px; border-top: 1px solid var(--line); }
.check li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line); max-width: none; }
.check li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 2px; }
.band-box { background: var(--concrete); padding: 28px; margin-top: 24px; }
.band-box p:last-child { margin-bottom: 0; }

/* FAQ */
#faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
#faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 28px; }
summary { font: 600 1.1rem var(--sans); cursor: pointer; }
details p { margin: 10px 0 0; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { font: 600 0.95rem var(--sans); display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font: 400 1rem var(--serif);
  padding: 11px 12px;
  border: 1px solid rgba(22, 37, 46, 0.5);
  background: #fff;
  border-radius: 2px;
  color: var(--ink);
  width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; font-family: var(--sans); font-size: 0.95rem; }
.site-footer p { max-width: 38ch; margin-bottom: 0.8em; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.brand-foot { font-weight: 700; font-size: 1.1rem; }
.legal { color: var(--ink-soft); margin-top: 24px; }

/* Responsive */
@media (max-width: 860px) {
  section { padding: 52px 0; }
  .hero-grid, .two, .about, .row, .foot-grid { grid-template-columns: 1fr; }
  .hero-grid, .two, .about { gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .leak { animation: none; }
}

@media print {
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  section { padding: 16px 0; }
  .band { background: none; }
}
