:root {
  color-scheme: dark;
  --bg: #070b10;
  --bg-soft: #0b1118;
  --panel: rgba(15, 23, 31, 0.82);
  --panel-strong: #101923;
  --line: rgba(139, 164, 184, 0.17);
  --line-bright: rgba(55, 225, 214, 0.42);
  --text: #eef8fa;
  --muted: #8ca1ae;
  --accent: #37e1d6;
  --accent-bright: #7af8ee;
  --accent-deep: #087c7f;
  --blue: #3f84ff;
  --danger: #ff7884;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
[hidden] { display:none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .12;
  pointer-events: none;
}
.ambient-one { top: -20rem; right: -13rem; background: var(--accent); }
.ambient-two { top: 60rem; left: -24rem; background: var(--blue); }

.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(7, 11, 16, .78);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: -.02em; }
.brand > span:last-child { display: flex; align-items: baseline; gap: 7px; }
.brand strong { font-size: .92rem; letter-spacing: .09em; }
.brand em { color: var(--accent); font-size: .78rem; font-style: normal; font-weight: 800; letter-spacing: .06em; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line-bright); border-radius: 10px; background: rgba(55,225,214,.07); }
.brand-mark svg { width: 24px; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.header-cta { padding: 9px 14px; border-radius: 10px; background: var(--accent); color: #04110f; font-size: .82rem; font-weight: 800; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 72px;
  align-items: center;
  min-height: 760px;
  padding-block: 88px 96px;
}

.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 24px; height: 1px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 24px; font-size: clamp(3.25rem, 6.6vw, 6rem); font-weight: 790; letter-spacing: -.075em; line-height: .94; }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(238,248,250,.68); text-shadow: 0 0 45px rgba(55,225,214,.12); }
.hero-lead { max-width: 590px; margin-bottom: 34px; color: #a8b8c2; font-size: 1.09rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 800; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.button-primary { background: var(--accent); color: #04110f; box-shadow: 0 12px 34px rgba(55,225,214,.14); }
.button-primary:hover { background: var(--accent-bright); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.025); color: #c8d4da; }
.button-ghost:hover { border-color: var(--line-bright); }

.proof-strip { display: flex; gap: 0; margin: 52px 0 0; padding: 0; }
.proof-strip div { min-width: 132px; padding: 0 24px; border-left: 1px solid var(--line); }
.proof-strip div:first-child { padding-left: 0; border-left: 0; }
.proof-strip dt { margin-bottom: 4px; color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .87rem; font-weight: 800; }
.proof-strip dd { margin: 0; color: var(--muted); font-size: .72rem; }

.diagnostic-panel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(19,30,40,.92), rgba(8,14,20,.95)); box-shadow: var(--shadow); }
.diagnostic-panel::after { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 45px rgba(55,225,214,.035); content: ""; pointer-events: none; }
.panel-top, .form-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .67rem; letter-spacing: .08em; }
.live, .form-status { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.live i, .form-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.board-visual { position: relative; height: 298px; margin: 14px; overflow: hidden; border: 1px solid rgba(55,225,214,.11); border-radius: 15px; background: radial-gradient(circle at 55% 45%, rgba(55,225,214,.1), transparent 38%), repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(55,225,214,.025) 24px), #09121a; }
.chip { position: absolute; display: grid; place-items: center; border: 1px solid rgba(55,225,214,.45); background: #0a161d; box-shadow: 0 0 0 8px rgba(55,225,214,.025), 0 0 28px rgba(55,225,214,.08); }
.chip::before, .chip::after { position: absolute; background: repeating-linear-gradient(90deg, var(--accent-deep) 0 3px, transparent 3px 9px); content: ""; opacity: .7; }
.chip::before { top: -8px; left: 8px; right: 8px; height: 5px; }
.chip::after { bottom: -8px; left: 8px; right: 8px; height: 5px; }
.chip-main { top: 78px; left: 50%; width: 126px; height: 126px; transform: translateX(-50%); border-radius: 10px; }
.chip-main span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .79rem; font-weight: 800; letter-spacing: .1em; text-align: center; }
.chip-small { width: 42px; height: 42px; border-radius: 5px; opacity: .7; }
.chip-a { top: 36px; left: 34px; }.chip-b { right: 38px; bottom: 34px; }
.trace { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-deep), transparent); transform-origin: left; opacity: .7; }
.trace-a { top: 77px; left: 56px; width: 160px; transform: rotate(18deg); }
.trace-b { right: 40px; bottom: 83px; width: 150px; transform: rotate(18deg); }
.trace-c { right: 80px; top: 67px; width: 130px; transform: rotate(145deg); }
.node { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.node-a { top: 75px; left: 53px; }.node-b { right: 34px; bottom: 79px; }.node-c { top: 64px; right: 75px; }
.console-list { margin: 0; padding: 0 20px 18px; list-style: none; }
.console-list li { border-bottom: 1px solid rgba(255,255,255,.055); }
.console-list button { display:grid; grid-template-columns:26px 1fr auto; align-items:center; gap:8px; padding:14px 8px; width:100%; border:0; border-radius:8px; background:transparent; text-align:left; cursor:pointer; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.75rem; transition:background .15s ease; }
.console-list button:hover, .console-list button:focus-visible { background:#37e1d612; }
.console-list button:hover strong { color:var(--text); }
.console-hint { margin:0; padding:0 28px 9px; color:var(--muted); font-size:.76rem; line-height:1.6; }
.prefill-notice { padding:12px; border:1px solid #37e1d64d; border-radius:10px; background:#37e1d60a; color:var(--accent); font-size:.8rem; line-height:1.6; }
.console-list li:last-child { border-bottom: 0; }
.console-list span { color: #51636f; }.console-list strong { color: #b9c8d0; font-weight: 500; }.console-list em { color: var(--accent); font-style: normal; font-size: .64rem; }

.services { padding-block: 110px 130px; }
.section-heading { display: flex; justify-content: space-between; gap: 64px; align-items: end; margin-bottom: 46px; }
.section-heading h2, .request-copy h2 { margin-bottom: 0; font-size: clamp(2.35rem, 4vw, 4.3rem); letter-spacing: -.055em; line-height: 1; }
.section-heading > p { max-width: 440px; margin-bottom: 3px; color: var(--muted); line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-card { position: relative; min-height: 390px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(12,19,26,.72); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: var(--line-bright); background: rgba(15,25,34,.9); }
.service-card.featured { background: linear-gradient(145deg, rgba(55,225,214,.11), rgba(12,19,26,.78) 55%); }
.service-number { position: absolute; top: 28px; right: 28px; color: #536672; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; }
.service-icon { display: grid; width: 48px; height: 48px; margin-bottom: 48px; place-items: center; border: 1px solid var(--line-bright); border-radius: 12px; background: rgba(55,225,214,.06); color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; font-weight: 800; box-shadow: inset 0 0 18px rgba(55,225,214,.05); }
.service-card h3 { margin-bottom: 13px; font-size: 1.35rem; letter-spacing: -.025em; }
.service-card p { color: var(--muted); font-size: .91rem; line-height: 1.65; }
.service-card ul { display: grid; gap: 8px; margin: 26px 0 0; padding: 0; color: #b7c5cd; font-size: .81rem; list-style: none; }
.service-card li::before { margin-right: 9px; color: var(--accent); content: "+"; }

.care-section { display:grid; grid-template-columns:1fr 1fr; gap:70px; padding-block:0 100px; }
.care-intro h2 { font-size:clamp(2rem,3.5vw,3rem); line-height:1.12; letter-spacing:-.045em; margin:20px 0; }
.care-intro > p:not(.eyebrow) { max-width:520px; color:var(--muted); line-height:1.8; margin:0 0 26px; }
.care-intro > .care-tagline { color:var(--text); font-size:1.1rem; margin-bottom:14px; }
.care-details { border:1px solid var(--line); background:linear-gradient(135deg,#10242b88,#0b131b); border-radius:var(--radius); padding:8px 28px; }
.care-details > div { padding:22px 0; border-bottom:1px solid var(--line); display:grid; grid-template-columns:24px 1fr; gap:6px 16px; }
.care-details > div:last-child { border:0; }
.care-details span { grid-row:span 2; color:var(--accent); font:.75rem ui-monospace,monospace; padding-top:4px; }
.care-details h3 { font-size:1rem; margin:0; }
.care-details p { color:var(--muted); font-size:.85rem; line-height:1.7; margin:0; }
@media(max-width:900px) { .care-section {grid-template-columns:1fr; gap:30px; padding-bottom:75px;} }
.request-section { position: relative; padding-block: 124px; border-block: 1px solid var(--line); background: linear-gradient(120deg, rgba(17,28,37,.76), rgba(7,11,16,.96)); }
.request-section::before { position: absolute; inset: 0; background: radial-gradient(circle at 75% 50%, rgba(55,225,214,.06), transparent 32%); content: ""; pointer-events: none; }
.request-layout { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.request-copy > p:not(.eyebrow) { max-width: 460px; margin: 26px 0 42px; color: var(--muted); line-height: 1.75; }
.process-note { display: flex; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line); }
.process-note > span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; }
.process-note p { display: grid; gap: 4px; margin: 0; font-size: .87rem; }
.process-note small { color: var(--muted); font-size: .74rem; }

.repair-form { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(7,13,18,.82); box-shadow: var(--shadow); }
.form-head { margin: -28px -28px 26px; padding: 17px 20px; }
.form-head > div { display: grid; gap: 4px; }
.form-head > div > span { color: #536672; font-size: .61rem; }
.form-head strong { color: #dbe7ec; font-family: Inter, ui-sans-serif, sans-serif; font-size: .94rem; letter-spacing: -.01em; }
.repair-form label { display: flex; justify-content: space-between; margin: 18px 0 8px; color: #c9d6dc; font-size: .78rem; font-weight: 700; }
.repair-form label span { color: #627681; font-weight: 500; }
.repair-form input, .repair-form select, .repair-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #0b131a; color: var(--text); transition: border-color .2s ease, box-shadow .2s ease; }
.repair-form input, .repair-form select { height: 50px; padding: 0 14px; }
.repair-form textarea { min-height: 130px; padding: 14px; resize: vertical; }
.repair-form input:focus, .repair-form select:focus, .repair-form textarea:focus { border-color: rgba(55,225,214,.55); box-shadow: 0 0 0 3px rgba(55,225,214,.07); }
.repair-form input::placeholder, .repair-form textarea::placeholder { color: #53646e; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; cursor: pointer; }
.select-wrap svg { position: absolute; top: 15px; right: 14px; width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.6; pointer-events: none; }
.field-meta { display: flex; justify-content: space-between; min-height: 20px; padding-top: 6px; color: #5f737e; font-size: .67rem; }
.field-meta b { font-weight: 500; }
#form-error { color: var(--danger); }
.form-button { width: 100%; margin-top: 12px; border: 0; }
.result { margin-top: 22px; padding: 18px; border: 1px solid rgba(55,225,214,.25); border-radius: 13px; background: rgba(55,225,214,.045); }
.result-head { display: flex; justify-content: space-between; margin-bottom: 12px; }
.result-head strong { font-size: .82rem; }.result-head span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; }
.result pre { margin: 0; color: #cbd8de; font-family: inherit; font-size: .78rem; line-height: 1.6; white-space: pre-wrap; }
.copy-button { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 9px 12px; border: 1px solid var(--line-bright); border-radius: 9px; background: rgba(55,225,214,.07); color: var(--accent); cursor: pointer; font-size: .72rem; font-weight: 800; }
.copy-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

footer { padding: 34px 0; background: #05080c; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #60737e; font-size: .7rem; }
.brand-small { gap: 6px; }.brand-small strong { color: #c4d1d7; font-size: .69rem; }.brand-small em { font-size: .62rem; }
.footer-inner p { margin: 0; }
.footer-inner > span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .58rem; letter-spacing: .08em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 54px; padding-block: 88px; }
  .diagnostic-panel { width: min(620px, 100%); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin-bottom: 28px; }
  .request-layout { grid-template-columns: 1fr; gap: 54px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 1160px); }
  .site-header { width: calc(100% - 20px); margin-top: 10px; padding: 10px 12px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark svg { width: 21px; }
  .brand strong { font-size: .76rem; }.brand em { font-size: .66rem; }
  .header-cta { padding: 8px 10px; font-size: .69rem; }
  .hero { min-height: 0; padding-block: 70px 80px; }
  h1 { margin-bottom: 20px; font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .proof-strip { display: grid; grid-template-columns: 1fr 1fr; row-gap: 22px; margin-top: 42px; }
  .proof-strip div { min-width: 0; padding-inline: 14px; }
  .proof-strip div:nth-child(3) { padding-left: 0; border-left: 0; }
  .diagnostic-panel { border-radius: 17px; }
  .board-visual { height: 240px; }
  .chip-main { top: 58px; width: 105px; height: 105px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 22px; }
  .services { padding-block: 82px 90px; }
  .service-card { padding: 24px; }
  .request-section { padding-block: 82px; }
  .request-copy h2 { font-size: 2.65rem; }
  .repair-form { padding: 20px; }
  .form-head { margin: -20px -20px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Contact details and the workshop's dark map share the existing visual system. */
section[id] { scroll-margin-top: 105px; }
.header-links { display:flex; align-items:center; gap:24px; }
.header-contact { color:#b8cbd2; font-size:.8rem; }
.header-contact:hover, .result-call:hover { color:var(--accent-bright); }
.header-cta { white-space:nowrap; }
.hero h1 { font-size:clamp(3rem,5.15vw,4.8rem); line-height:1.02; letter-spacing:-.065em; }
.hero h1 span { color:var(--accent); -webkit-text-stroke:0; }
.availability { display:grid; grid-template-columns:8px 1fr; gap:7px 10px; margin:25px 0 0; font-size:.85rem; }
.availability-dot { width:7px; height:7px; border-radius:50%; margin-top:7px; background:var(--accent); box-shadow:0 0 10px #37e1d640; }
.availability > span:last-child { grid-column:2; color:var(--muted); font-size:.78rem; line-height:1.65; }
.proof-strip { margin-top:30px; }
.service-card { min-height:355px; }
.service-icon { margin-bottom:26px; }
.service-grid { gap:18px; }
.repair-form .urgent-option { display:flex; align-items:flex-start; gap:10px; justify-content:flex-start; font-weight:600; line-height:1.5; }
.repair-form .urgent-option input { width:17px; height:17px; flex:0 0 auto; margin:3px 0 0; accent-color:var(--accent); }
.repair-form .urgent-option > span { color:#c9d6dc; }
.urgent-option small { display:block; color:var(--muted); font-size:.72rem; font-weight:400; margin-top:3px; }
.result-head { flex-wrap:wrap; gap:6px; }
.result-call { display:block; margin-top:16px; font-size:.8rem; color:var(--accent); }
.contacts { padding-block:110px; }
.contact-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:22px; align-items:stretch; }
.contact-card { border:1px solid var(--line); border-radius:var(--radius); padding:34px; background:linear-gradient(145deg,#0d2027,#0b1219 70%); }
.contact-kicker { color:var(--accent); font:700 .68rem ui-monospace,monospace; letter-spacing:.12em; }
.contact-card h3 { font-size:1.55rem; letter-spacing:-.035em; line-height:1.3; margin:20px 0 25px; }
.contact-phone { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:clamp(1.65rem,2.7vw,2.2rem); letter-spacing:-.04em; font-weight:750; padding-bottom:24px; border-bottom:1px solid var(--line); }
.contact-phone > span { color:var(--accent); font-size:1.6rem; }
.contact-detail { margin-top:21px; }
.contact-detail > span { color:var(--muted); font:.64rem ui-monospace,monospace; letter-spacing:.1em; }
.contact-detail p { margin:6px 0 0; font-size:1rem; color:#d1e1e6; }
.night-note { font-size:.79rem; line-height:1.75; color:var(--muted); margin:22px 0; }
.map-card { min-width:0; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#0b141b; }
.map-top { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:19px 20px; border-bottom:1px solid var(--line); }
.map-top > span { display:flex; align-items:center; gap:8px; color:#a9c5ca; font: .64rem ui-monospace,monospace; letter-spacing:.08em; }
.map-top i, .map-location-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); display:inline-block; flex-shrink:0; }
.map-top a { color:var(--accent); font-size:.74rem; }
#workshop-map { width:100%; min-height:420px; flex:1; background:#0c151e; z-index:1; }
.map-fallback { min-height:420px; display:flex; flex-direction:column; gap:12px; justify-content:center; align-items:center; text-align:center; padding:20px; background:radial-gradient(circle,#123037,#0b141b 65%); }
.map-fallback span { color:var(--muted); font-size:.85rem; }
.map-fallback a { color:var(--accent); }
.workshop-map-tiles { filter:invert(1) hue-rotate(180deg) saturate(.4) brightness(.82) contrast(1.1); }
.map-bottom { display:flex; gap:9px; align-items:center; flex-wrap:wrap; padding:15px 20px; font-size:.72rem; color:#b0c4cc; border-top:1px solid var(--line); }
.map-bottom > span:last-child { margin-left:auto; color:#7e99a4; font:.62rem ui-monospace,monospace; }
.workshop-pin { position:relative; border:0; background:transparent; }
.pin-core { position:absolute; inset:4px; border:3px solid #e8fffc; border-radius:50%; background:#18bdb5; box-shadow:0 0 0 6px #37e1d629,0 0 24px #37e1d699; }
.pin-halo { position:absolute; inset:-14px; border-radius:50%; border:1px solid #37e1d64d; background:#37e1d612; }
.pin-label { position:absolute; left:35px; top:-7px; padding:9px 12px; white-space:nowrap; border:1px solid #37e1d680; border-radius:9px; background:#08151df5; color:#efffff; font:700 10px ui-monospace,monospace; letter-spacing:.06em; box-shadow:0 5px 18px #0008; }
.pin-label b { color:#37e1d6; }
.leaflet-container { font-family:inherit; }
.leaflet-bar { border-color:#36545c !important; box-shadow:0 4px 15px #0006 !important; }
.leaflet-bar a, .leaflet-bar a:hover { background:#0e2028; color:var(--text); border-bottom-color:#36545c; }
.leaflet-container .leaflet-control-attribution { background:#09141ee8; color:#b7cbd2; font-size:10px; }
.leaflet-control-attribution a { color:#83ddd5; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background:#0b1a23; color:#dcebee; }
.leaflet-popup-content { line-height:1.8; }
.leaflet-popup-content a { color:var(--accent); }
.leaflet-container a.leaflet-popup-close-button { color:#b7cbd2; }
a:focus-visible, button:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.hero h1 { font-size:clamp(2.6rem,4.3vw,4rem); line-height:1.08; letter-spacing:-.05em; }
.contact-start { display:inline-flex; align-items:center; gap:14px; color:var(--accent); font-size:.95rem; padding-bottom:16px; }
.contact-phone-note { color:var(--muted); font-size:.8rem; line-height:1.8; margin:0 0 18px; font-weight:400; }
.contact-phone-note a { text-decoration:underline; text-underline-offset:3px; }
.quiet-notice, .handoff-note { color:var(--muted); font-size:.78rem; line-height:1.7; }
.quiet-notice { border-left:2px solid #37e1d650; padding-left:12px; }
.handoff-note { margin:16px 0 0; }
.day-contact, .night-contact { display:none !important; }
html[data-contact-mode="day"] .day-contact,
html[data-contact-mode="night"] .night-contact { display:block !important; }
@media (max-width:900px) {
  .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contact-layout { grid-template-columns:1fr; }
  #workshop-map { min-height:400px; }
}
@media (max-width:640px) {
  .header-contact { display:none; }
  .header-links { gap:8px; }
  .hero { padding-top:48px; }
  .hero h1 { font-size:clamp(2.5rem,10.2vw,3.7rem); }
  .service-grid { grid-template-columns:1fr; }
  .contacts { padding-block:76px; }
  .contact-card { padding:25px; }
  .contact-card h3 { font-size:1.4rem; }
  .contact-phone { font-size:1.95rem; }
  .map-top { padding:16px; }
  #workshop-map { min-height:340px; }
  .map-bottom { padding:15px; }
  .map-bottom > span:last-child { width:100%; margin-left:15px; }
  .pin-label { left:29px; font-size:9px; padding:9px; }
}

/* Keep the mobile header and problem picker compact and in a stable flow. */
@media (max-width:640px) {
  .site-header { gap:10px; }
  .brand, .header-links, .hero-copy, .diagnostic-panel { min-width:0; }
  .brand { flex-shrink:0; }
  .header-cta { font-size:.65rem; padding:9px 10px; }
  .hero { gap:32px; padding-bottom:32px; }
  .hero h1 { font-size:clamp(2.15rem,9.4vw,3.2rem); line-height:1.1; letter-spacing:-.045em; overflow-wrap:normal; }
  .hero-lead { font-size:.95rem; line-height:1.75; }
  .diagnostic-panel { width:100%; }
  .board-visual { display:none; }
  .panel-top { flex-wrap:wrap; gap:8px; padding:17px 18px; }
  .panel-top > span:first-child { font-size:.62rem; }
  .console-hint { padding:16px 18px 8px; }
  .console-list { padding:0 10px 12px; }
  .console-list button { grid-template-columns:20px minmax(0,1fr) auto; padding:15px 8px; font-size:.73rem; }
  .services { padding-top:56px; }
}
@media (max-width:900px) and (prefers-reduced-motion:no-preference) {
  .scroll-tile, .scroll-tile:hover {
    transform:scale(var(--tile-scale,1));
    opacity:var(--tile-opacity,1);
    transform-origin:center center;
    transition:border-color .2s ease, background .2s ease;
  }
}
.care-intro > .care-free-note { font-size:.75rem; margin-top:12px; }
#care-dialog { width:min(690px,calc(100% - 24px)); max-height:calc(100dvh - 28px); overflow-y:auto; border:1px solid #31535c; border-radius:24px; padding:28px; background:#0b151d; color:var(--text); box-shadow:0 28px 100px #000b; }
#care-dialog::backdrop { background:#02080dde; backdrop-filter:blur(7px); }
.care-dialog-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.care-dialog-head span { color:var(--accent); font:.68rem ui-monospace,monospace; letter-spacing:.12em; }
.care-dialog-head h2 { font-size:clamp(1.6rem,5vw,2.25rem); line-height:1.12; letter-spacing:-.04em; margin:14px 0; }
#care-close { flex-shrink:0; width:36px; height:36px; border:1px solid var(--line); border-radius:50%; background:#15232b; color:var(--text); font-size:1.4rem; cursor:pointer; }
.care-dialog-intro { color:var(--muted); font-size:.85rem; line-height:1.65; }
#care-form { display:grid; gap:17px; }
#care-form label:not(.care-check) { display:grid; gap:8px; font-size:.82rem; }
#care-form input:not([type=radio]):not([type=checkbox]), #care-form select { width:100%; min-width:0; box-sizing:border-box; border:1px solid #32454e; border-radius:10px; padding:12px; color:var(--text); background:#0a1118; font-size:.95rem; color-scheme:dark; }
#care-form input:focus-visible, #care-form select:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
#care-form input:disabled { opacity:.4; }
.care-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.care-period { border:0; margin:0; padding:0; min-width:0; }
.care-period legend { margin-bottom:10px; font-size:.85rem; }
.care-month-control { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.care-month-control label { max-width:170px; }
#care-months-output { color:var(--care-tone,var(--accent)); font-weight:700; font-size:1.05rem; text-align:right; }
#care-months-range { width:100%; padding:16px 0 !important; border:0 !important; accent-color:var(--care-tone,var(--accent)); background:transparent !important; cursor:pointer; }
.care-range-labels { display:flex; justify-content:space-between; color:var(--muted); font-size:.65rem; margin-bottom:10px; }
.care-period-options { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.care-period-options label { position:relative; }
.care-period-options input { position:absolute; opacity:0; }
.care-period-options span { display:flex; min-height:83px; padding:13px 8px; border:1px solid #33434c; border-radius:10px; background:#0a1118; flex-direction:column; justify-content:center; gap:6px; text-align:center; cursor:pointer; font-weight:650; }
.care-period-options small { display:block; font-size:.62rem; font-weight:400; color:var(--muted); }
.care-period-options input:checked + span { border-color:var(--accent); background:#113039; }
.care-period-options input:focus-visible + span { outline:2px solid var(--accent); outline-offset:3px; }
.care-preview { --care-tone:#37e1d6; border:1px solid var(--care-tone); border-radius:12px; padding:16px; background:#091119; }
.care-preview strong { display:block; color:var(--care-tone); font-size:.9rem; }
.care-preview p { margin:9px 0; font-size:.85rem; }
.care-preview small, .care-channel-note { color:var(--muted); font-size:.73rem; line-height:1.7; }
.care-meter { height:5px; border-radius:5px; background:linear-gradient(90deg,#37e1d6,#ff956e 35%,#ff6d68 65%,#ff4865); margin-bottom:16px; position:relative; }
.care-meter i { position:absolute; top:-4px; left:clamp(0px,var(--care-progress,0%),calc(100% - 12px)); width:12px; height:12px; border-radius:50%; background:var(--care-tone); border:2px solid white; transition:left .25s ease,background .25s ease; }
.care-check { display:flex; gap:10px; align-items:flex-start; color:#b7c8cf; font-size:.76rem; line-height:1.65; }
.care-check input { flex-shrink:0; width:17px; height:17px; margin-top:4px; accent-color:var(--accent); }
#care-form .care-honeypot { position:absolute; left:-10000px; }
#care-error { color:var(--danger); margin:0; font-size:.8rem; }
#care-success h3 { color:var(--accent); }
#care-success p { line-height:1.7; }
@media(max-width:540px) { #care-dialog {padding:20px; border-radius:18px;} .care-field-grid {grid-template-columns:1fr;} .care-period-options {grid-template-columns:1fr 1fr;} }
