/* =========================================================================
   Service Plus Slovensko — design system (minimal)
   Inter Tight · Instrument Serif (accent) · Geist Mono (labels)
   ========================================================================= */

:root {
  --ink: #0d0e10;
  --ink-2: #16171a;
  --paper: #f4f2ee;
  --paper-2: #ebe8e2;
  --white: #ffffff;
  --red: #e3221a;
  --red-2: #ff4a3f;
  --muted: #6b6a66;
  --muted-d: #a09f9a;
  --line: rgba(13, 14, 16, .11);
  --line-d: rgba(255, 255, 255, .12);

  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --r: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --hdr-h: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-sans); font-size: 16.5px; line-height: 1.6; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 500; padding: 10px 16px; background: var(--red); color: #fff; border-radius: 999px; transform: translateY(-200%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 8vw, 128px); }
.dark { background: var(--ink); color: #fff; }
.alt { background: var(--paper-2); }

/* ---------- Type ---------- */
.h1 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.h2 { font-size: clamp(1.85rem, 3vw, 3.1rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.07; }
.h3 { font-size: clamp(1.15rem, 1.4vw, 1.35rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.h1 .serif, .h2 .serif { font-size: 1.06em; line-height: .9; }
.lead { font-size: clamp(1.06rem, 1.2vw, 1.18rem); line-height: 1.55; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-d); }
.label, .mono { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; }
.t-red { color: var(--red); }
.nowrap { white-space: nowrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.dark .eyebrow, .eyebrow--light { color: rgba(255,255,255,.72); }

.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.head .h2 { max-width: 18em; }
.head__aside { max-width: 400px; color: var(--muted); }
.dark .head__aside { color: var(--muted-d); }
@media (max-width: 860px) { .head { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* split internals */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .02em .1em 0; margin: -.1em -.02em -.1em 0; }
.wi { display: inline-block; }
.anim [data-lines]:not(.is-split) { visibility: hidden; }
.anim [data-reveal], .anim [data-fade] { opacity: 0; transform: translateY(22px); }
.anim [data-reveal-img] { clip-path: inset(100% 0 0 0); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --ibg: #fff; --ifg: var(--ink); --hbg: var(--red);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 50px; padding: 0 6px 0 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s;
}
.btn::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--hbg); transform: translateY(102%); transition: transform .55s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn__ico { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ibg); color: var(--ifg); transition: transform .55s var(--ease); }
.btn__ico svg { width: 14px; height: 14px; }
.btn:hover .btn__ico { transform: rotate(45deg); }
.btn--red { --bg: var(--red); --fg: #fff; --ibg: #fff; --ifg: var(--red); --hbg: var(--ink); }
.btn--white { --bg: #fff; --fg: var(--ink); --ibg: var(--ink); --ifg: #fff; --hbg: var(--paper-2); }
.btn--ghost { --bg: transparent; --fg: #fff; --ibg: rgba(255,255,255,.14); --ifg: #fff; --hbg: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.btn--sm { height: 42px; padding: 0 5px 0 18px; font-size: 14px; gap: 10px; }
.btn--sm .btn__ico { width: 32px; height: 32px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; color: var(--red); }
.link-arrow svg { width: 13px; height: 13px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: rotate(45deg); }

/* ---------- Header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 12px var(--gutter) 0; pointer-events: none; transition: transform .6s var(--ease); }
.hdr.is-hidden { transform: translateY(-120%); }
.hdr__inner {
  pointer-events: auto; max-width: var(--max); margin: 0 auto; height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 8px 0 14px; border-radius: 999px; color: #fff; border: 1px solid transparent;
  transition: background .5s, border-color .5s, -webkit-backdrop-filter .5s, backdrop-filter .5s;
}
.hdr.is-scrolled .hdr__inner, .hdr.is-open .hdr__inner { background: rgba(18, 19, 21, .72); border-color: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__mark rect { fill: var(--red); }
.logo__mark path { stroke: #fff; stroke-width: 3.2; stroke-linecap: round; transform-origin: 16px 16px; transition: transform .7s var(--ease); }
.logo:hover .logo__mark path { transform: rotate(90deg); }
.logo__text { display: flex; flex-direction: column; gap: 3px; }
.logo__text b { font-size: 16px; font-weight: 600; letter-spacing: -.025em; }
.logo__text small { font-family: var(--f-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; opacity: .55; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 8px 12px; font-size: 14.5px; color: rgba(255,255,255,.78); border-radius: 999px; transition: color .3s, background .3s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.hdr__actions { display: flex; align-items: center; gap: 8px; }
.hdr__phone { font-size: 14px; padding: 8px 10px; color: rgba(255,255,255,.78); }
.hdr__phone:hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.hdr.is-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.hdr.is-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
@media (max-width: 1080px) { .hdr__phone { display: none; } }
@media (max-width: 900px) { .nav, .hdr__cta { display: none; } .burger { display: block; } }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 100px var(--gutter) calc(28px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.menu__links a { display: block; padding: 10px 0; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; border-bottom: 1px solid var(--line-d); transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s; }
.menu__links a:hover { color: var(--red-2); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .16s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .2s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: rgba(255,255,255,.7); font-size: 15px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media, .phero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img, .phero__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__media img { object-position: 50% 62%; }
.hero__media::after, .phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,14,16,.78) 0%, rgba(13,14,16,.45) 48%, rgba(13,14,16,.12) 100%), linear-gradient(180deg, rgba(13,14,16,.5) 0%, rgba(13,14,16,0) 28%, rgba(13,14,16,0) 60%, rgba(13,14,16,.7) 100%); }
.hero__inner { padding-top: calc(var(--hdr-h) + 90px); padding-bottom: clamp(40px, 6vh, 72px); }
.hero__title { font-size: clamp(2.4rem, 4.6vw, 4.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.03; max-width: 13.5em; }
.hero__title .serif { font-size: 1.06em; }
.hero__lead { max-width: 520px; margin-top: 22px; color: rgba(255,255,255,.82); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.16); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 14.5px; color: rgba(255,255,255,.72); }
.hero__facts b { color: #fff; font-weight: 500; margin-right: 6px; }
.hero__place { color: rgba(255,255,255,.55); }
@media (max-width: 720px) { .hero__place { display: none; } .hero__facts { gap: 6px 20px; font-size: 13.5px; } .hero__ctas .btn { flex: 1 1 auto; justify-content: space-between; } }

/* ---------- Page hero ---------- */
.phero { position: relative; min-height: 54svh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; padding: calc(var(--hdr-h) + 80px) 0 clamp(36px, 5vw, 64px); }
.phero__title { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.03; }
.phero__lead { max-width: 560px; margin-top: 18px; color: rgba(255,255,255,.8); }
.phero__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.phero__chips a { padding: 7px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 13.5px; color: rgba(255,255,255,.85); transition: background .3s, color .3s; }
.phero__chips a:hover { background: #fff; color: var(--ink); }

/* ---------- Services grid (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc-card { position: relative; display: flex; flex-direction: column; min-height: 210px; padding: 28px 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.svc-card__n { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); transition: color .3s; }
.svc-card__t { margin-top: auto; padding-top: 36px; }
.svc-card__d { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 30ch; }
.svc-card__a { position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, border-color .4s, color .4s, transform .55s var(--ease); }
.svc-card__a svg { width: 13px; height: 13px; }
.svc-card:hover { background: #fff; }
.svc-card:hover .svc-card__n { color: var(--red); }
.svc-card:hover .svc-card__a { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { min-height: 0; padding: 22px 20px; } .svc-card__t { padding-top: 14px; } }

/* ---------- About (home) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__text .h2 { margin-bottom: 22px; }
.about__text p + p { margin-top: 14px; }
.about__text .link-arrow { margin-top: 26px; }
.figure { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.about__media { aspect-ratio: 5 / 4; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 24px 20px 0 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dd { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts dd small { font-size: .5em; color: var(--red); margin-left: 2px; letter-spacing: 0; }
.facts dt { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 20px 12px 20px 0; border-bottom: 1px solid var(--line); }
  .facts > div + div { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}
.iso-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; color: var(--muted); font-size: 14.5px; }
.iso-row a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13.5px; transition: background .3s, color .3s, border-color .3s; }
.iso-row a b { font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; color: var(--red); transition: color .3s; }
.iso-row a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.iso-row a:hover b { color: #fff; }

/* ---------- Reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--r); overflow: hidden; }
.reason { background: var(--ink); padding: 28px 26px 30px; transition: background .4s; }
.reason:hover { background: var(--ink-2); }
.reason__ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); margin-bottom: 28px; transition: background .4s; }
.reason:hover .reason__ico { background: var(--red); }
.reason__ico svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.reason h3 { margin-bottom: 8px; }
.reason p { color: var(--muted-d); font-size: 15px; line-height: 1.5; }
@media (max-width: 1024px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } .reason { padding: 22px 20px; } .reason__ico { margin-bottom: 16px; } }

/* ---------- CTA ---------- */
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: calc(var(--r) + 4px); background: var(--red); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-box p { margin-top: 12px; color: rgba(255,255,255,.85); }
.cta-box__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-box__tel { font-size: 15px; color: rgba(255,255,255,.9); }
.cta-box__tel:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.sv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.sv:first-child { border-top: 0; padding-top: 0; }
.sv__media { aspect-ratio: 4 / 3; position: sticky; top: calc(var(--hdr-h) + 40px); }
.sv__meta { display: block; color: var(--muted); margin-bottom: 12px; }
.sv__title { font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 18px; }
.sv__body > p { color: var(--muted); }
.sv__body > p.lead { color: var(--ink); }
.sv__body > p + p { margin-top: 12px; }
.sv__list { margin-top: 28px; }
.sv__list .label { display: block; color: var(--muted); margin-bottom: 10px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.checks li::before { content: "+"; font-family: var(--f-mono); color: var(--red); flex: none; }
.sv__quote { margin-top: 24px; padding: 18px 20px; border-left: 2px solid var(--red); background: rgba(255,255,255,.6); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--muted); }
.sv__quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; }
.sv__cta { margin-top: 26px; }
@media (max-width: 860px) {
  .sv { grid-template-columns: 1fr; }
  .sv__media { position: relative; top: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__text .h2 { margin-bottom: 22px; }
.story__text p { color: var(--muted); }
.story__text p.lead { color: var(--ink); }
.story__text p + p { margin-top: 14px; }
.timeline { position: relative; padding-left: 30px; }
.timeline__line { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__line i { position: absolute; inset: 0; background: var(--red); transform-origin: top; }
.anim .timeline__line i { transform: scaleY(0); }
.tl { position: relative; padding-bottom: 30px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -30px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--red); }
.tl__y { font-family: var(--f-mono); font-size: 12.5px; color: var(--red); letter-spacing: .04em; }
.tl h3 { margin: 4px 0 6px; }
.tl p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

.coverage { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.coverage .h2 { margin-bottom: 18px; }
.map { width: 100%; height: auto; overflow: visible; }
.map__grid line { stroke: var(--line); stroke-dasharray: 2 6; }
.map__grid text { font-family: var(--f-mono); font-size: 10px; fill: var(--muted); }
.map__route { fill: none; stroke: rgba(13,14,16,.22); stroke-width: 1; }
.map__route.is-hot { stroke: var(--red); stroke-width: 1.6; }
.map__city { cursor: pointer; }
.map__city circle { fill: var(--ink); transition: fill .3s; }
.map__city text { font-size: 13px; font-weight: 500; fill: var(--ink); opacity: 0; transition: opacity .3s; pointer-events: none; paint-order: stroke; stroke: var(--paper-2); stroke-width: 4px; stroke-linejoin: round; }
.map__city.is-major text { opacity: 1; }
.anim .map:not(.is-drawn) .map__city text { opacity: 0; }
.map__city:hover circle, .map__city.is-hot circle { fill: var(--red); }
.map__city:hover text, .map__city.is-hot text { opacity: 1; }
.map__hq circle.core { fill: var(--red); }
.map__hq circle.pulse { fill: none; stroke: var(--red); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; }
.map__hq circle.pulse:nth-of-type(2) { animation-delay: 1.4s; }
.map__hq text { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; fill: var(--red); text-transform: uppercase; paint-order: stroke; stroke: var(--paper-2); stroke-width: 5px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }
.cities { columns: 2; column-gap: 20px; margin-top: 24px; font-size: 14px; }
.cities li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--line); cursor: default; transition: color .3s; }
.cities li:hover, .cities li.is-hot { color: var(--red); }
.cities li.is-hq { font-weight: 600; }
@media (max-width: 960px) { .coverage { grid-template-columns: 1fr; } .coverage__map { order: -1; } .cities { columns: 3; } }
@media (max-width: 560px) { .cities { columns: 2; } .map__city text { display: none; } .map__hq text { font-size: 22px; } }

.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cert { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.5); transition: background .4s, border-color .4s; }
.cert:hover { background: #fff; border-color: rgba(13,14,16,.2); }
.cert__iso { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--red); }
.cert__n { font-size: 2.6rem; font-weight: 500; letter-spacing: -.05em; line-height: 1; margin: 6px 0 16px; }
.cert__t { font-weight: 500; letter-spacing: -.01em; }
.cert__d { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.cert .link-arrow { margin-top: 22px; align-self: flex-start; font-size: 14px; }
@media (max-width: 860px) { .certs { grid-template-columns: 1fr; } }

.career { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.career .h2 { margin-bottom: 18px; }
.career p { color: var(--muted-d); }
.career .btn { margin-top: 26px; }
.roles { border-top: 1px solid var(--line-d); }
.role { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.role__t { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -.025em; }
.role__m { color: var(--muted-d); font-size: 13.5px; text-align: right; }
@media (max-width: 860px) { .career { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.info-block { padding: 18px 0; border-top: 1px solid var(--line); }
.info-block .label { display: block; color: var(--muted); margin-bottom: 6px; }
.info-block a, .info-block p { font-size: 1.12rem; letter-spacing: -.015em; font-weight: 500; line-height: 1.4; }
.info-block a:hover { color: var(--red); }
.info-block dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 14px; }
.info-block dt { color: var(--muted); }
.mapframe { margin-top: 20px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.mapframe iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1); transition: filter .5s; }
.mapframe:hover iframe { filter: none; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact__form { order: -1; } }

.form { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(22px, 3.5vw, 44px); }
.form__head { margin-bottom: 26px; }
.form__head p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.chips-label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 14.5px; }
.chips-label i, .field label i { color: var(--red); font-style: normal; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; cursor: pointer; user-select: none; transition: background .25s, color .25s, border-color .25s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.chips.is-invalid .chip span { border-color: var(--red); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { position: relative; padding-top: 20px; margin-bottom: 26px; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 16px; outline: none; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field label { position: absolute; left: 0; top: 29px; color: var(--muted); font-size: 15.5px; pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.8); color: var(--ink); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--red); }
.field__err { display: none; position: absolute; left: 0; top: 100%; margin-top: 4px; color: var(--red); font-size: 12.5px; }
.field.is-invalid .field__err { display: block; }
.chips-err { position: static; margin: -12px 0 20px; }
.chips-err:not([hidden]) { display: block; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.form__note { color: var(--muted); font-size: 13px; max-width: 320px; }
.form__hp { position: absolute; left: -9999px; }
.form__success { display: none; padding: 12px 0; }
.form.is-sent .form__body { display: none; }
.form.is-sent .form__success { display: block; }
.form__success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin-bottom: 22px; }
.form__success .ok svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }
.form__success p { color: var(--muted); margin-top: 10px; max-width: 440px; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Tips ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-bottom: 32px; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 2px; }
.notice p { color: var(--muted); font-size: 15px; }
.notice b { color: var(--ink); }
.tips__bar { position: sticky; top: calc(var(--hdr-h) + 20px); z-index: 20; background: var(--paper); padding: 14px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.search { display: flex; align-items: center; gap: 14px; }
.search svg { width: 22px; height: 22px; flex: none; color: var(--muted); }
.search input { width: 100%; border: 0; background: transparent; outline: none; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -.025em; padding: 4px 0; }
.search input::placeholder { color: rgba(13,14,16,.3); }
.search__count { font-family: var(--f-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.alpha { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 10px; }
.alpha button { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); transition: background .25s, color .25s; }
.alpha button:hover { color: var(--ink); background: rgba(13,14,16,.05); }
.alpha button.is-active { background: var(--ink); color: #fff; }
.stains__head, .stain { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1.3fr); gap: 20px; }
.stains__head { padding: 14px 0 10px; color: var(--muted); }
.stains { border-top: 1px solid var(--line); }
.stain { padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.stain__name { font-size: 1.08rem; font-weight: 500; letter-spacing: -.015em; }
.stain__name mark { background: none; color: var(--red); }
.stain__agents { display: flex; flex-wrap: wrap; gap: 5px; }
.stain__agents span { display: inline-flex; gap: 6px; align-items: baseline; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.stain__agents b { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; color: var(--red); }
.stain__how { color: var(--muted); font-size: 14.5px; }
.stains__empty { display: none; padding: 48px 0; text-align: center; color: var(--muted); }
.stains__empty.is-visible { display: block; }
@media (max-width: 820px) { .stains__head { display: none; } .stain { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: #fff; padding-top: clamp(56px, 6vw, 88px); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: clamp(40px, 5vw, 64px); }
.ftr__brand p { color: var(--muted-d); max-width: 320px; margin-top: 18px; font-size: 14.5px; }
.ftr__col .label { display: block; color: var(--muted-d); margin-bottom: 14px; }
.ftr__col li + li { margin-top: 6px; }
.ftr__col a { color: rgba(255,255,255,.85); font-size: 14.5px; transition: color .3s; }
.ftr__col a:hover { color: var(--red-2); }
.ftr__col p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 12.5px; }
.ftr__bottom a:hover { color: #fff; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
