/* ==========================================================================
   EESRS Private Limited — site styles
   Concept: the repair bench. Solder-mask green, copper, silkscreen white,
   and a calm paper background so the work itself stands out.
   ========================================================================== */


:root {
  --paper: #f3f5f3;
  --surface: #ffffff;
  --surface-2: #e9eeeb;
  --ink: #12201c;
  --ink-2: #4a5b55;
  --ink-3: #6d7d77;
  --line: #d6ded9;
  --line-strong: #b9c6c0;

  --mask: #0f5a45;          /* solder-mask green: primary */
  --mask-deep: #0a3d30;
  --mask-tint: #e0ede8;
  --copper: #c07a33;        /* copper pads & traces */
  --amber: #f2b31f;         /* call-to-action */
  --amber-deep: #d99a06;
  --wa: #1ea952;            /* WhatsApp */

  --on-mask: #f3f8f6;
  --focus: #1a73e8;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --shadow: 0 1px 2px rgba(18, 32, 28, .06), 0 8px 24px -12px rgba(18, 32, 28, .18);

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wide: 118%;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0a1613;
  --surface: #0f201b;
  --surface-2: #132923;
  --ink: #e6eeea;
  --ink-2: #a5b7b0;
  --ink-3: #7f938b;
  --line: #1f3830;
  --line-strong: #2d4d43;
  --mask: #3fb68d;
  --mask-deep: #0d4c3a;
  --mask-tint: #133129;
  --copper: #d99050;
  --on-mask: #06120f;
  --focus: #8ab4f8;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-stretch: var(--wide); line-height: 1.1; letter-spacing: -0.015em; font-weight: 760; }
.display { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 820; letter-spacing: -0.03em; line-height: 1.02; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
p + p { margin-top: .9em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.25rem; border-radius: var(--r-md);
  font-weight: 650; font-size: .98rem; line-height: 1.2; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--amber); color: #1b1300; }
.btn-primary:hover { background: var(--amber-deep); }
.btn-mask { background: var(--mask); color: var(--on-mask); }
.btn-mask:hover { background: var(--mask-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a42; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link { color: var(--mask); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 52px; height: 52px; border-radius: 50%; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-size: 1.35rem; font-weight: 850; font-stretch: 125%; letter-spacing: .02em; }
.brand-name span { font-size: .72rem; color: var(--ink-3); margin-top: .3rem; font-weight: 500; letter-spacing: .01em; }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-link { display: block; padding: .5rem .8rem; border-radius: var(--r-sm); text-decoration: none; font-weight: 550; font-size: .95rem; color: var(--ink-2); }
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--mask); border-radius: 0; }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-md);
  background: transparent; border: 1.5px solid var(--line); color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-strong); background: var(--surface-2); }
.theme-dark-icon { display: none; }
:root[data-theme="dark"] .theme-dark-icon { display: block; }
:root[data-theme="dark"] .theme-light-icon { display: none; }
.menu-btn { display: none; }
.mobile-menu { display: none; }

/* ---------- Status pill ---------- */
.status { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 550; color: var(--ink-2); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink-3) 20%, transparent); }
.status.is-open .status-dot { background: #22a565; box-shadow: 0 0 0 4px rgba(34, 165, 101, .2); }
.status.is-closed .status-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 179, 31, .22); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lead { margin-top: 1rem; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .status { margin-bottom: 1.4rem; }
.hero .display { margin-bottom: 1.4rem; max-width: 14ch; }
.hero .lead { margin-bottom: 2rem; }
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 2.2rem; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.fact b { display: block; font-size: 1.7rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.1; }
.fact span { font-size: .86rem; color: var(--ink-2); }

.board-figure { position: relative; }
.board-svg { width: 100%; height: auto; overflow: visible; }
.board-svg .ring { fill: none; stroke: var(--amber); stroke-width: 3; }
.fault-legend { list-style: none; counter-reset: f; display: grid; gap: .55rem; margin-top: 1.1rem; }
.fault-legend li { counter-increment: f; display: grid; grid-template-columns: 26px 1fr; gap: .7rem; font-size: .92rem; color: var(--ink-2); }
.fault-legend li::before { content: counter(f); width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: #1b1300; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.fault-legend b { color: var(--ink); font-weight: 650; }
.fig-note { display: block; margin-top: .9rem; font-size: .82rem; color: var(--ink-3); }
.facts dd { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .board-svg .callout { opacity: 0; transform-box: fill-box; transform-origin: center; animation: calloutIn .45s cubic-bezier(.2,.8,.2,1) forwards; }
  .board-svg .callout:nth-of-type(1) { animation-delay: .4s; }
  .board-svg .callout:nth-of-type(2) { animation-delay: .8s; }
  .board-svg .callout:nth-of-type(3) { animation-delay: 1.2s; }
  .fault-legend li { opacity: 0; animation: legendIn .4s ease-out forwards; }
  .fault-legend li:nth-child(1) { animation-delay: .5s; }
  .fault-legend li:nth-child(2) { animation-delay: .9s; }
  .fault-legend li:nth-child(3) { animation-delay: 1.3s; }
  @keyframes calloutIn { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: scale(1); } }
  @keyframes legendIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

/* ---------- Trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: .6rem 2rem; padding: 1.1rem 0; border-block: 1px solid var(--line); background: var(--surface); }
.trust-item { display: flex; align-items: center; gap: .55rem; font-size: .93rem; font-weight: 550; color: var(--ink-2); }
.trust-item .icon { color: var(--mask); }

/* ---------- Repair catalogue (index list) ---------- */
.catalog { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.catalog-item {
  display: grid; grid-template-columns: 44px 1fr; gap: .2rem 1rem; align-items: start;
  padding: 1.4rem 1.2rem 1.4rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.catalog-item:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--line); }
.catalog-item:nth-child(even) { padding-left: 2rem; }
.catalog-item .icon { width: 30px; height: 30px; color: var(--mask); grid-row: span 2; margin-top: .1rem; }
.catalog-item h3 { font-size: 1.12rem; }
.catalog-item p { font-size: .92rem; color: var(--ink-2); }
.catalog-item:hover h3 { color: var(--mask); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* ---------- Brands ---------- */
.brand-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.brand-group h3 { font-size: .95rem; font-stretch: 100%; font-weight: 650; color: var(--ink-3); letter-spacing: 0; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.brand-list { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.brand-list li { font-size: 1.35rem; font-weight: 760; font-stretch: 116%; letter-spacing: -0.01em; }
.brand-list li span { display: block; font-size: .86rem; font-weight: 400; font-stretch: 100%; color: var(--ink-2); letter-spacing: 0; margin-bottom: .5rem; }
.brand-more { margin-top: 2.5rem; font-size: .95rem; color: var(--ink-2); max-width: 80ch; }

/* ---------- Process (real sequence) ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; position: relative; counter-reset: step; }
.process::before { content: ''; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--copper); opacity: .55; }
.process li { position: relative; counter-increment: step; }
.step-node {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--copper); color: var(--ink); position: relative; z-index: 1; margin-bottom: 1rem;
}
.section-alt .step-node { background: var(--surface); }
.step-node .icon { width: 22px; height: 22px; }
.process h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.process h3::before { content: counter(step) '. '; color: var(--copper); }
.process p { font-size: .9rem; color: var(--ink-2); }

/* status variant used on track page */
.process.is-status li.done .step-node { background: var(--mask); border-color: var(--mask); color: var(--on-mask); }

/* ---------- Estimator ---------- */
.estimator { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.estimator-form { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; align-content: start; }
.estimator-result { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--mask-deep); color: #eaf4f0; display: flex; flex-direction: column; }
:root[data-theme="dark"] .estimator-result { background: #0c3a2e; }
.estimator-result h3 { font-size: 1.05rem; font-weight: 600; font-stretch: 100%; color: #b7d3c8; margin-bottom: .5rem; letter-spacing: 0; }
.price { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 820; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.05; color: #fff; }
.result-rows { list-style: none; margin: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.result-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: .95rem; }
.result-rows li span:first-child { color: #b7d3c8; }
.result-rows li span:last-child { font-weight: 650; text-align: right; }
.result-rows .rr-cond { display: block; margin-top: .2rem; font-size: .76rem; font-weight: 500; color: #b7d3c8; line-height: 1.35; }
.estimator-result .note { font-size: .82rem; color: #b7d3c8; margin-top: auto; padding-top: 1rem; }
.estimator-result .btn { margin-top: 1rem; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--ink-3); }
.control {
  width: 100%; padding: .75rem .9rem; border-radius: var(--r-md);
  background: var(--paper); border: 1.5px solid var(--line-strong); color: var(--ink); font-size: 1rem;
}
.section-alt .control, .panel .control { background: var(--paper); }
.control:focus { outline: none; border-color: var(--mask); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mask) 25%, transparent); }
select.control { appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236d7d77' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; }
textarea.control { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-note { font-size: .85rem; color: var(--ink-2); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.industry { background: var(--surface); padding: 1.6rem 1.4rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .6rem; }
.section-alt .industry { background: var(--paper); }
.industry .icon { width: 28px; height: 28px; color: var(--mask); }
.industry h3 { font-size: 1.05rem; }
.industry p { font-size: .9rem; color: var(--ink-2); }
a.industry:hover h3 { color: var(--mask); }

/* industries page — detailed */
.sector-list { display: flex; flex-direction: column; }
.sector { display: grid; grid-template-columns: 280px 1fr 1fr; gap: 2.5rem; padding: 2.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.sector:last-child { border-bottom: 1px solid var(--line); }
.sector-name { display: flex; flex-direction: column; gap: .8rem; }
.sector-name .icon { width: 34px; height: 34px; color: var(--mask); }
.sector-name h2 { font-size: 1.45rem; }
.sector-name .kicker { font-size: .9rem; color: var(--ink-2); }
.sector-body p { color: var(--ink-2); }
.note-box { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--copper); border-radius: var(--r-md); padding: 1.2rem 1.3rem; font-size: .93rem; }
.note-box h3 { font-size: 1rem; margin-bottom: .5rem; }
.note-box p { color: var(--ink-2); }
.note-box ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; color: var(--ink-2); }
.note-box strong { color: var(--ink); }

/* ---------- Services page ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-row:last-of-type { border-bottom: 1px solid var(--line); }
.service-row .icon-lg { width: 40px; height: 40px; color: var(--mask); margin-bottom: 1rem; }
.service-row h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .8rem; }
.service-row > div > p { color: var(--ink-2); max-width: 55ch; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; list-style: none; }
.tags li { font-size: .85rem; font-weight: 550; padding: .3rem .7rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); }
.checklist { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; font-size: .95rem; color: var(--ink-2); }
.checklist li .icon { color: var(--mask); width: 20px; height: 20px; margin-top: .15rem; }
.checklist strong { color: var(--ink); font-weight: 650; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.panel h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.panel .btn { margin-top: 1.5rem; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 2rem; }
.toc a { display: inline-block; font-size: .9rem; font-weight: 550; padding: .45rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); border-color: var(--line-strong); }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .display { font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 18ch; margin-bottom: 1.2rem; }
.page-head .trace { position: absolute; right: -40px; top: 0; height: 100%; width: 420px; color: var(--copper); opacity: .35; pointer-events: none; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.story-text p { color: var(--ink-2); font-size: 1.05rem; max-width: 62ch; }
.story-text p strong { color: var(--ink); }
.timeline { list-style: none; border-left: 2px solid var(--copper); padding-left: 1.6rem; display: flex; flex-direction: column; gap: 1.6rem; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.6rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--copper); }
.timeline b { display: block; font-size: 1.4rem; font-weight: 800; font-stretch: 112%; }
.timeline span { font-size: .95rem; color: var(--ink-2); }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.figure { padding: 1.5rem 1.5rem 0 0; }
.figure + .figure { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.figure b { display: block; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 820; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.05; }
.figure span { font-size: .92rem; color: var(--ink-2); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature .icon { width: 28px; height: 28px; color: var(--mask); margin-bottom: .8rem; }
.feature h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.feature p { font-size: .93rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--ink-2); max-width: 70ch; }

/* ---------- Contact / CTA band ---------- */
.cta-band { background: var(--mask-deep); color: #eaf4f0; }
:root[data-theme="dark"] .cta-band { background: #0c3a2e; }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cta-band .h2 { color: #fff; }
.cta-band .lead { color: #c3dad1; }
.contact-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: .9rem; }
.contact-list .icon { width: 22px; height: 22px; margin-top: .15rem; }
.contact-list small { display: block; font-size: .82rem; opacity: .75; }
.contact-list a { color: inherit; font-weight: 650; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.cta-band .form-card { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 20px 50px -20px rgba(0,0,0,.45); }
.form-card h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.form-card > p { color: var(--ink-2); font-size: .93rem; margin-bottom: 1.4rem; }
.form-card .btn { margin-top: 1.25rem; }
.form-card .form-note { margin-top: .8rem; }

/* contact page */
.contact-page { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { list-style: none; display: flex; flex-direction: column; }
.info-list li { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { border-top: 1.5px solid var(--ink); }
.info-list .icon { width: 22px; height: 22px; color: var(--mask); margin-top: .2rem; }
.info-list small { display: block; font-size: .85rem; color: var(--ink-3); margin-bottom: .15rem; }
.info-list a { font-weight: 650; text-decoration: none; color: var(--ink); }
.info-list a:hover { color: var(--mask); text-decoration: underline; }
.map-frame { width: 100%; height: 380px; border: 1px solid var(--line); border-radius: var(--r-lg); display: block; }
.careers { margin-top: 2rem; }

/* track page */
.track-card { max-width: 760px; }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-grid h2 { font-size: .95rem; font-stretch: 100%; letter-spacing: 0; font-weight: 650; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-about p { color: var(--ink-2); margin: 1rem 0; max-width: 38ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .86rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 96px; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 650;
  padding: .8rem 1.1rem; border-radius: 999px; box-shadow: 0 10px 25px -8px rgba(30, 169, 82, .6);
}
.wa-float:hover { background: #178a42; }
.wa-float .icon { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .header-call { display: none; }
  .mobile-menu {
    position: fixed; inset: 72px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem; flex-direction: column; gap: .25rem; box-shadow: var(--shadow);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu .nav-link { font-size: 1.05rem; padding: .8rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mobile-menu .btn-row { margin-top: 1rem; }
  .hero-grid, .cta-grid, .contact-page, .story { grid-template-columns: 1fr; }
  .board-figure { max-width: 620px; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .process::before { display: none; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .estimator { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 1fr 1fr; }
  .sector-name { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .feature-grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; }
  .catalog { grid-template-columns: 1fr; }
  .catalog-item:nth-child(odd), .catalog-item:nth-child(even) { padding: 1.2rem 0; border-right: 0; }
  .brand-groups { grid-template-columns: 1fr; gap: 2rem; }
  .process { grid-template-columns: 1fr; row-gap: 1.6rem; }
  .process li { display: grid; grid-template-columns: 46px 1fr; gap: 0 1rem; }
  .process li .step-node { grid-row: span 2; margin: 0; }
  .estimator-form, .form-grid, .track-form { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-row { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature-grid, .feature-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
  .brand-name span { display: none; }
  .page-head .trace { display: none; }
}

@media print {
  .site-header, .wa-float, .site-footer, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}

/* Social links (footer) */
.social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social a.soc { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s, filter .2s; }
.social a.soc svg { width: 20px; height: 20px; }
.social a.soc:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -10px rgba(0,0,0,.6); filter: brightness(1.08); }
.social a.soc:focus-visible { outline: 3px solid #4fc3f7; outline-offset: 2px; }
.soc-g { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.soc-li { background: #0a66c2; }
.soc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.soc-fb { background: #1877f2; }

/* ---------- Repair catalogue ---------- */
.cat-controls { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1.5px solid var(--ink); font-size: .92rem; color: var(--ink-2); }
.cat-bar button { background: none; border: 0; color: var(--mask); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cat-list { list-style: none; }
.cat-item { display: grid; grid-template-columns: 128px 1fr auto; gap: 1.25rem; align-items: start; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.cat-item.has-photo { grid-template-columns: 72px 1fr auto; }
.cat-photo { width: 72px; height: 72px; border-radius: var(--r-md); object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); }
.cat-photo-empty { display: block; background:
  linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
  repeating-linear-gradient(45deg, var(--line) 0 6px, transparent 6px 12px); }
.cat-main h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.cat-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; font-size: .93rem; font-weight: 600; }
.cat-meta small { display: inline; font-weight: 400; color: var(--ink-3); margin-right: .4rem; font-size: .85rem; }
.cat-desc { margin-top: .4rem; font-size: .93rem; color: var(--ink-2); max-width: 75ch; }
.cat-quote { white-space: nowrap; padding: .55rem .9rem; font-size: .9rem; }
.cat-empty { padding: 2rem 0; color: var(--ink-2); }
.cat-more { margin-top: 1.5rem; }
.cat-link { display: inline-block; margin-top: 1rem; }
.ind-cat { margin-top: 1.25rem; font-size: .92rem; }
.ind-cat h3 { font-size: .95rem; font-stretch: 100%; letter-spacing: 0; color: var(--ink-3); font-weight: 600; margin-bottom: .5rem; }
.ind-cat ul { list-style: none; display: flex; flex-direction: column; gap: .3rem; margin-bottom: .6rem; color: var(--ink-2); }
.ind-cat strong { color: var(--ink); font-weight: 650; margin-right: .3rem; }
@media (max-width: 1080px) { .cat-controls { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .cat-controls { grid-template-columns: 1fr; }
  .cat-item { grid-template-columns: 1fr; gap: .8rem; }
  .cat-item.has-photo { grid-template-columns: 56px 1fr; }
  .cat-photo { width: 56px; height: 56px; }
  .cat-quote { justify-self: start; }
  .cat-item.has-photo .cat-quote { grid-column: 2; }
}

/* ---------- Catalogue highlights ---------- */
.nav-link.nav-cat { color: var(--mask); background: var(--mask-tint); font-weight: 650; border-radius: 999px; padding: .45rem .9rem; }
.nav-link.nav-cat:hover { background: var(--mask); color: var(--on-mask); }
.mobile-menu .nav-link.nav-cat { border-radius: var(--r-md); margin: .4rem 0; border-bottom: 0; padding: .8rem .9rem; }
.nav-link, .brand-name span, .header-call { white-space: nowrap; }
@media (max-width: 1520px) and (min-width: 1081px) {
  .header-call { width: 42px; height: 42px; padding: 0; }
  .header-call span { display: none; }
  .nav-links { gap: 0; }
  .nav-link { padding: .5rem .6rem; }
}

.cat-promo { background: var(--mask-deep); color: #e7f2ee; padding: clamp(2.2rem, 5vw, 3.2rem) 0; }
:root[data-theme="dark"] .cat-promo { background: #0c3a2e; }
.cat-promo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem 3rem; align-items: center; }
.cat-promo .h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .6rem; }
.cat-promo p { color: #bcd6cc; }
.cat-promo-form { display: flex; gap: .6rem; }
.cat-promo-form .control { flex: 1; background: #fff; color: #12201c; border-color: transparent; font-size: 1.05rem; padding: .9rem 1rem; }
.cat-promo-form .btn { padding: .9rem 1.3rem; }
.cat-promo-makes { margin-top: .9rem; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.cat-promo-makes a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .25rem .75rem; }
.cat-promo-makes a:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.catalog-section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.cat-strip { background: var(--mask-tint); border-bottom: 1px solid var(--line); }
.cat-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .9rem; padding-bottom: .9rem; font-weight: 600; }
.btn-small { padding: .55rem 1rem; font-size: .92rem; }
@media (max-width: 720px) {
  .cat-promo-grid { grid-template-columns: 1fr; }
  .cat-promo-form { flex-direction: column; }
}

/* Catalogue photos */
.cat-media { position: relative; width: 128px; height: 104px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); padding: 0; display: block; }
button.cat-media { cursor: zoom-in; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
button.cat-media:hover img { transform: scale(1.05); }
.cat-media-empty { display: grid; place-items: center; color: var(--mask); opacity: .55; }
.cat-media-empty .icon { width: 36px; height: 36px; }
.cat-count { position: absolute; right: 6px; bottom: 6px; background: rgba(10, 22, 19, .78); color: #fff; font-size: .72rem; font-weight: 600; padding: .15rem .45rem; border-radius: 999px; }
.ind-cat li { display: flex; gap: .6rem; align-items: center; }
.ind-cat li img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(6, 14, 12, .88); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { max-width: min(1000px, 92vw); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--r-md); background: #fff; margin: 0 auto; }
.lightbox figcaption { color: #e7f2ee; margin-top: .8rem; font-size: .95rem; white-space: pre; }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 720px) {
  .cat-item, .cat-item.has-photo { grid-template-columns: 88px 1fr; }
  .cat-media { width: 88px; height: 72px; }
  .cat-quote, .cat-item.has-photo .cat-quote { grid-column: 2; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}
section[id], [id="catalog"] { scroll-margin-top: 72px; }

/* ==========================================================================
   Header: sky-blue bar, full-height tabs with an amber line for the current page
   ========================================================================== */
.site-header { background: linear-gradient(90deg, #0270b0 0%, #0288d1 60%, #039be5 100%); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 6px 18px -12px rgba(2, 112, 176, .8); }
:root[data-theme="dark"] .site-header { background: linear-gradient(90deg, #014b7a 0%, #01579b 100%); }
.site-header .brand { color: #fff; }
.site-header .brand-name span { color: #d6efff; }
.site-header .brand-mark { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }

.site-header nav, .nav-links, .nav-links li { height: 100%; }
.nav-links { gap: 0; align-items: stretch; }
.nav-links li { display: flex; }
.nav-link { display: flex; align-items: center; position: relative; padding: 0 1.05rem; border-radius: 0; color: #eaf7ff; font-weight: 560;
  transition: background-color .18s ease, color .18s ease; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--amber);
  border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .22s ease; }
.nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-link:hover::after { transform: scaleX(.6); }
.nav-link[aria-current="page"] { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; box-shadow: none; border-radius: 0; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link.nav-cat { background: transparent; color: #ffe08a; font-weight: 650; padding: 0 1.05rem; border-radius: 0; }
.nav-link.nav-cat:hover { background: rgba(255, 255, 255, .08); color: #fff1c4; }

.site-header .icon-btn, .site-header .header-call { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .45); }
.site-header .icon-btn:hover, .site-header .header-call:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
section[id], [id="catalog"] { scroll-margin-top: 84px; }
@media (max-width: 1520px) and (min-width: 1081px) {
  .nav-link, .nav-link.nav-cat { padding: 0 .75rem; }
}
@media (max-width: 1080px) {
  .site-header nav { height: auto; }
  .mobile-menu { background: #0277bd; border-bottom: 3px solid var(--amber); inset: 72px 0 auto 0; }
  :root[data-theme="dark"] .mobile-menu { background: #01579b; }
  .mobile-menu .nav-link { height: auto; padding: .85rem .8rem; border-bottom: 1px solid rgba(255,255,255,.14); }
  .mobile-menu .nav-link::after { left: 0; right: auto; top: 0; bottom: 0; width: 4px; height: auto; border-radius: 0 3px 3px 0; transform: scaleY(0); }
  .mobile-menu .nav-link[aria-current="page"]::after { transform: scaleY(1); }
  .mobile-menu .nav-link:hover::after { transform: scaleY(.6); }
  .mobile-menu .nav-link.nav-cat { padding: .85rem .8rem; margin: 0; }
  .mobile-menu .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
}

/* ---------- Header finishing touches ---------- */
/* faint circuit traces across the blue bar */
.site-header {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='80' fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1.5'%3E%3Cpath d='M0 18h90l14 14h120l12-12h70M40 62h110l16-16h96l18 18h120M300 8v14l10 10h80l14 14h116M180 80V66l8-8h60'/%3E%3Cg fill='%23ffffff' fill-opacity='.14' stroke='none'%3E%3Ccircle cx='90' cy='18' r='3'/%3E%3Ccircle cx='236' cy='20' r='3'/%3E%3Ccircle cx='166' cy='46' r='3'/%3E%3Ccircle cx='390' cy='32' r='3'/%3E%3Ccircle cx='248' cy='58' r='3'/%3E%3C/g%3E%3C/svg%3E") right center / auto 100% repeat-x,
    linear-gradient(90deg, #0270b0 0%, #0288d1 60%, #039be5 100%);
  transition: box-shadow .25s ease;
}
:root[data-theme="dark"] .site-header {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='80' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.5'%3E%3Cpath d='M0 18h90l14 14h120l12-12h70M40 62h110l16-16h96l18 18h120M300 8v14l10 10h80l14 14h116M180 80V66l8-8h60'/%3E%3C/svg%3E") right center / auto 100% repeat-x,
    linear-gradient(90deg, #014b7a 0%, #01579b 100%);
}
.nav-inner { transition: height .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 28px -14px rgba(1, 60, 100, .75); }
.site-header.scrolled .nav-inner { height: 60px; }
.brand-mark { transition: transform .3s ease, width .25s ease, height .25s ease; }
.site-header.scrolled .brand-mark { width: 44px; height: 44px; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }

/* glowing amber line under the current page */
.nav-link[aria-current="page"]::after { box-shadow: 0 0 12px 1px rgba(242, 179, 31, .75); }

/* live lab status dot on the phone button */
.header-call { position: relative; }
.call-dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 2px #0288d1; }
.call-dot.is-open { background: #2ee08a; }
@media (prefers-reduced-motion: no-preference) {
  .call-dot.is-open::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #2ee08a; animation: callPing 1.8s ease-out infinite; }
  @keyframes callPing { from { transform: scale(1); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
}

/* Announcement bar */
.announce { font-size: .93rem; font-weight: 600; text-align: center; padding: .6rem 0; }
.announce-info { background: #fff4d6; color: #5c3d00; border-bottom: 1px solid #f2d27a; }
.announce-alert { background: #b42318; color: #fff; }
.announce-success { background: #0f5a45; color: #fff; }

/* ---------- Hero board v2: as received / after repair ---------- */
.board-figure { position: relative; }
.board-toggle { display: inline-flex; gap: 3px; padding: 4px; margin-bottom: .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.board-toggle button { border: 0; background: none; padding: .45rem 1rem; border-radius: 999px; font-weight: 650; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
.board-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.board-figure[data-state="fixed"] .board-toggle button[aria-pressed="true"] { background: #16a065; color: #fff; }
.board-svg .st-faulty, .board-svg .st-fixed { transition: opacity .9s ease; }
.board-svg .st-fixed { opacity: 0; }
.board-figure[data-state="fixed"] .st-faulty { opacity: 0; }
.board-figure[data-state="fixed"] .st-fixed { opacity: 1; }
.board-svg .mk .ring { fill: none; stroke: var(--amber); stroke-width: 3; transition: stroke .6s, stroke-width .2s; }
.board-svg .mk .pin circle { fill: var(--amber); transition: fill .6s; }
.board-svg .mk .pin text { font: 800 14px Archivo, Arial, sans-serif; fill: #1b1300; text-anchor: middle; transition: opacity .4s; }
.board-svg .mk .tick { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .4s; }
.board-figure[data-state="fixed"] .mk .ring { stroke: #2ee08a; }
.board-figure[data-state="fixed"] .mk .pin circle { fill: #16a065; }
.board-figure[data-state="fixed"] .mk .pin text { opacity: 0; }
.board-figure[data-state="fixed"] .mk .tick { opacity: 1; }
.board-svg .mk { cursor: pointer; }
.board-svg .mk.hl .ring { stroke-width: 5; }
.fault-legend .t-fixed { display: none; }
.board-figure[data-state="fixed"] .fault-legend .t-faulty { display: none; }
.board-figure[data-state="fixed"] .fault-legend .t-fixed { display: inline; }
.board-figure[data-state="fixed"] .fault-legend li::before { content: '\2713'; background: #16a065; color: #fff; }
.fault-legend li { border-radius: 10px; padding: .35rem .5rem; margin: 0 -.5rem; transition: background-color .2s; cursor: default; }
.fault-legend li.hl { background: color-mix(in srgb, var(--amber) 16%, transparent); }
.board-figure[data-state="fixed"] .fault-legend li.hl { background: rgba(22, 160, 101, .12); }
@media (prefers-reduced-motion: no-preference) {
  .board-svg .mk { opacity: 0; animation: mkIn .45s cubic-bezier(.2,.8,.2,1) forwards; transform-box: fill-box; transform-origin: center; }
  .board-svg .mk:nth-of-type(1) { animation-delay: .4s; }
  .board-svg .mk:nth-of-type(2) { animation-delay: .75s; }
  .board-svg .mk:nth-of-type(3) { animation-delay: 1.1s; }
  @keyframes mkIn { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: none; } }
}
.board-svg .led-on { opacity: 0; transition: opacity .9s ease .3s; }
.board-figure[data-state="fixed"] .board-svg .led-on { opacity: 1; }

/* ==========================================================================
   Home v2 additions: quick contact, trusted-by strip, recently repaired,
   why choose us, story teaser, special requirements
   ========================================================================== */
.quick-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .9rem; color: var(--ink-2); }
.quick-contact > span:first-child { margin-right: .2rem; }
.quick-contact a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, transform .15s; }
.quick-contact a:hover { border-color: #0288d1; transform: translateY(-1px); }

.trusted-by { background: var(--surface); border-block: 1px solid var(--line); padding: 1.1rem 0; }
.trusted-by .container { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
.tb-label { font-weight: 700; color: var(--ink-2); font-size: .92rem; white-space: nowrap; }
.tb-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tb-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .88rem; font-weight: 600; }
.tb-chip span { font-size: 1.05rem; }
.tb-chip:hover { border-color: #0288d1; background: #e8f5fd; }
:root[data-theme="dark"] .tb-chip:hover { background: #0d2a3a; }

.rr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.rr-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .45rem; position: relative; overflow: hidden; }
.section-alt .rr-card, .section-alt .why-card { background: var(--paper); }
.rr-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #0270b0, #039be5); }
.rr-media { position: relative; margin: 0 -1.4rem .5rem; aspect-ratio: 6 / 5; background: #e8f5fd; overflow: hidden; }
.rr-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.rr-card:hover .rr-media img { transform: scale(1.05); }
.rr-media .rr-emoji { position: absolute; left: .8rem; bottom: .8rem; margin: 0; width: 44px; height: 44px; font-size: 1.4rem; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); }
.rr-media:not(:has(img)) .rr-emoji { position: static; margin: 1.4rem 0 0 1.4rem; }
.rr-card::before { z-index: 1; }
.rr-emoji { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.7rem; background: #e8f5fd; margin-bottom: .3rem; }
:root[data-theme="dark"] .rr-emoji, :root[data-theme="dark"] .why-emoji { background: #0d2a3a; }
.rr-cat { font-size: .8rem; font-weight: 700; color: #0277bd; }
:root[data-theme="dark"] .rr-cat { color: #4fc3f7; }
.rr-card h3 { font-size: 1.08rem; }
.rr-card p:not(.rr-cat) { font-size: .9rem; color: var(--ink-2); flex: 1; }
.rr-links { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; font-size: .9rem; }
.rr-wa { text-decoration: none; font-weight: 700; color: #178a42; padding: .25rem .6rem; border-radius: 999px; background: rgba(30,169,82,.1); }
.rr-wa:hover { background: rgba(30,169,82,.2); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.4rem 1.5rem; display: grid; grid-template-columns: 56px 1fr; gap: .2rem 1rem; align-items: start; }
.why-emoji { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; background: #fff4d6; }
.why-card h3 { font-size: 1.05rem; align-self: end; }
.why-card p { font-size: .9rem; color: var(--ink-2); }

.story-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story-teaser .lead { margin: 1rem 0 1.5rem; }
.st-steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.st-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .15rem; }
.st-steps li span { font-size: 1.6rem; }
.st-steps li b { font-size: 1.5rem; font-weight: 800; font-stretch: 112%; color: #0277bd; }
:root[data-theme="dark"] .st-steps li b { color: #4fc3f7; }
.st-steps li small { color: var(--ink-2); font-size: .88rem; }

.two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mini-card { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.section-alt .mini-card { background: var(--paper); }
.mc-emoji { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: #e8f5fd; }
:root[data-theme="dark"] .mc-emoji { background: #0d2a3a; }
.mini-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.mini-card p { color: var(--ink-2); font-size: .93rem; margin-bottom: 1rem; }

@media (max-width: 1080px) {
  .rr-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .story-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .rr-grid, .why-grid, .two-cards { grid-template-columns: 1fr; }
  .tb-label { width: 100%; }
}
.why-card { grid-template-rows: auto 1fr; }
.why-card h3 { align-self: start; margin-top: .15rem; }

/* Quick contact v2 */
.quick-contact { display: block; margin-top: 1.1rem; }
.qc-label { font-size: .9rem; color: var(--ink-2); margin-bottom: .55rem; }
.qc-grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .55rem; }
.qc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 650; font-size: .95rem; transition: border-color .15s, transform .15s, box-shadow .15s; }
.qc-btn:hover { border-color: #0288d1; transform: translateY(-1px); box-shadow: 0 6px 16px -10px rgba(2,112,176,.6); }
.qc-ico { width: 22px; height: 22px; flex: none; }
.qc-quote { grid-column: 1 / -1; background: #fff8e6; border-color: #f2d27a; }
:root[data-theme="dark"] .qc-quote { background: #2a2108; border-color: #6b5413; }
.qc-quote:hover { border-color: var(--amber-deep); }
@media (max-width: 420px) { .qc-grid { grid-template-columns: repeat(3, 1fr); } .qc-btn { padding: .5rem .5rem; font-size: .88rem; } }

/* Clients and partners */
.clients { background: var(--surface); border-block: 1px solid var(--line); padding: clamp(2rem, 4vw, 2.8rem) 0; }
.clients-head { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.clients-head .h3 { font-size: 1.35rem; }
.client-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.client { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem .8rem .9rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .6rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.client:hover { transform: translateY(-3px); border-color: #0288d1; box-shadow: 0 10px 24px -16px rgba(2,112,176,.7); }
.client-logo { width: 100%; height: 96px; display: grid; place-items: center; background: #fff; border-radius: 12px; overflow: hidden; }
.client-logo img { max-width: 92%; max-height: 88px; object-fit: contain; }
.client-fallback { display: none; font-size: 2.2rem; }
.client-logo.no-logo { background: #e8f5fd; }
:root[data-theme="dark"] .client-logo.no-logo { background: #0d2a3a; }
.client-logo.no-logo .client-fallback { display: block; }
.client figcaption { display: flex; flex-direction: column; gap: .1rem; }
.client figcaption b { font-size: .9rem; }
.client figcaption span { font-size: .78rem; color: var(--ink-3); }
.trusted-by-inline { display: flex; align-items: center; gap: .6rem 1.2rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--line-strong); }
@media (max-width: 1080px) { .client-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .client-row { grid-template-columns: repeat(2, 1fr); } }

/* Not-a-manufacturer declaration */
.footer-disclaimer { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); color: var(--ink-3); font-size: .8rem; line-height: 1.55; max-width: 980px; }
.repair-note { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: #e8f5fd; border: 1px solid #b3dcf5; color: var(--ink-2); font-size: .92rem; line-height: 1.5; max-width: 760px; }
.repair-note b { color: var(--ink); }
:root[data-theme="dark"] .repair-note { background: #0d2a3a; border-color: #164a63; }

/* ===== Responsive polish: very small phones, touch screens, large monitors ===== */
.hero-grid > *, .cta-grid > *, .contact-page > *, .story > *, .estimator > * { min-width: 0; }
img, svg, video, iframe { max-width: 100%; }
@media (max-width: 360px) {
  .qc-grid { grid-template-columns: 1fr 1fr; }
  .qc-grid .qc-btn:nth-child(3) { grid-column: 1 / -1; }
}
/* Comfortable tap size for standalone links and buttons on phones and tablets */
@media (pointer: coarse), (max-width: 820px) {
  .rr-links a, #catReset, .tap, .split-head > .text-link, .cat-more { min-height: 44px; display: inline-flex; align-items: center; }
}
/* Very wide screens: keep text lines readable and the layout centred */
@media (min-width: 1920px) {
  html { font-size: 106.25%; }
}
/* Landscape tablets and small laptops (900–1080 px): keep the hero side by side */
@media (min-width: 900px) and (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 2.2rem; }
  .hero .display { font-size: clamp(2.3rem, 4.4vw, 3rem); }
  .hero .facts { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
}

/* ===== Repair-type and brand pages ===== */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .5rem; list-style: none; margin: 0 0 1.1rem; padding: 0; font-size: .86rem; color: var(--ink-3); }
.crumbs li + li::before { content: '›'; margin-right: .5rem; color: var(--ink-3); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.lp-promise { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 1.5rem 0 0; padding: 0; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.lp-promise li::before { content: '✓'; color: #16a065; margin-right: .4rem; font-weight: 800; }
.lp-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lp-split > * { min-width: 0; }
.lp-p { color: var(--ink-2); margin-bottom: 1rem; max-width: 68ch; }
.lp-h3 { font-size: 1.05rem; margin-top: 1.8rem; }
.lp-related { display: grid; gap: 2rem; }
.tags li a { color: inherit; text-decoration: none; }
.tags li:has(a) { transition: border-color .2s, color .2s; }
.tags li:has(a):hover { border-color: #0288d1; color: #0277bd; }
@media (max-width: 900px) { .lp-split { grid-template-columns: 1fr; } }
@media (pointer: coarse), (max-width: 820px) { .tags li:has(a) { padding: 0; } .tags li a { display: inline-flex; align-items: center; min-height: 40px; padding: .3rem .85rem; } }
.page-head .btn-row { margin-top: 1.6rem; }
.lp-split h2 { margin-bottom: 1rem; }
.lp-more { display: inline-flex; margin-top: 1rem; font-weight: 650; }
.brand-list a.brand-link { color: inherit; text-decoration: none; }
.brand-list a.brand-link:hover { color: #0277bd; text-decoration: underline; }
/* Catalogue model pages */
.lp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem 1.5rem; margin: 1.4rem 0 .4rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.lp-specs dt { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.lp-specs dd { margin: .1rem 0 0; font-weight: 650; }
.lp-photo { width: 100%; max-height: 360px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 1rem; }
.lp-thumbs { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.lp-thumbs img { width: 72px; height: 60px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.cat-item h3 a, .cat-link-item { color: inherit; text-decoration: none; }
.cat-item h3 a:hover, .cat-link-item:hover strong { text-decoration: underline; color: #0277bd; }
@media (pointer: coarse), (max-width: 820px) { .lp-specs dd a { display: inline-flex; align-items: center; min-height: 40px; } }
