/* =========================================================================
   SOS Laptop - arkusz stylow strony
   Kolejnosc: tokeny motywu / reset / typografia / uklad / komponenty / RWD
   ========================================================================= */

:root {
  --bg:            #f6f7f9;
  --surface:       #ffffff;
  --surface-alt:   #edf0f4;
  --ink:           #182231;
  --ink-soft:      #586675;
  --line:          #e0e4ea;
  --accent:        #0f6fbf;   /* linki, ikony na jasnym tle */
  --accent-ink:    #0c5b9c;
  --accent-weak:   #e7f1fa;
  --btn-bg:        #0f6fbf;   /* stale, przycisk ma wlasne tlo niezalezne od motywu */
  --btn-fg:        #ffffff;
  --btn-bg-hover:  #0b5697;
  --ring:          #0f6fbf;

  --logo-fg:       #182231;
  --logo-accent:   #0f6fbf;

  --radius:        10px;
  --radius-sm:     7px;
  --shadow-sm:     0 1px 2px rgba(20, 30, 45, .06), 0 1px 1px rgba(20, 30, 45, .04);
  --shadow-md:     0 2px 8px rgba(20, 30, 45, .07), 0 12px 30px rgba(20, 30, 45, .08);

  --wrap:          1120px;
  --font-display:  "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:     "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:     "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0f1319;
    --surface:     #161c25;
    --surface-alt: #1b222d;
    --ink:         #e6eaf0;
    --ink-soft:    #9aa5b3;
    --line:        #29323e;
    --accent:      #47a1e4;
    --accent-ink:  #7cc1ef;
    --accent-weak: #142633;
    --logo-fg:     #e6eaf0;
    --logo-accent: #47a1e4;
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, .35);
    --shadow-md:   0 2px 8px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .45);
  }
}

:root[data-theme="dark"] {
  --bg:          #0f1319;
  --surface:     #161c25;
  --surface-alt: #1b222d;
  --ink:         #e6eaf0;
  --ink-soft:    #9aa5b3;
  --line:        #29323e;
  --accent:      #47a1e4;
  --accent-ink:  #7cc1ef;
  --accent-weak: #142633;
  --logo-fg:     #e6eaf0;
  --logo-accent: #47a1e4;
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, .35);
  --shadow-md:   0 2px 8px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .45);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--btn-bg-hover); }

:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.1rem); }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
p  { max-width: 66ch; }
p + p { margin-top: 1rem; }

.muted { color: var(--ink-soft); }

/* ---------- proza (dłuższy tekst na podstronach) ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1rem; }
.prose > h2 { margin-top: .25rem; }
.prose > h2 + *, .prose > h3 + * { margin-top: .5rem; }
.prose > h3 { margin-top: 1.6rem; font-size: 1.05rem; }
.prose > .note { margin-top: 1.25rem; }
.prose > p > .btn { margin-top: .25rem; }
.prose ul { padding-left: 1.2rem; }
.prose ul:not(.svc__list) li + li { margin-top: .35rem; }
.prose .svc__list { margin-top: 1rem; }
.prose a { overflow-wrap: anywhere; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow--center { text-align: center; display: block; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

.section { padding-block: clamp(56px, 8vw, 100px); }
.section--alt { background: var(--surface-alt); }
.section__head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head .eyebrow { display: block; margin-bottom: 10px; }
.section__intro { margin-top: 12px; color: var(--ink-soft); }

.grid { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.note {
  margin-top: 28px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-weak);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  font-size: .95rem;
}
.note--center { max-width: 64ch; }

.plain { list-style: none; padding: 0; }

/* ---------- buttons ---------- */
.btn {
  --_bg: var(--btn-bg); --_fg: var(--btn-fg);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  font: 600 .95rem/1 var(--font-body);
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  background: var(--_bg); color: var(--_fg);
  cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--lg { padding: 14px 24px; font-size: 1rem; }
.btn--primary:hover { --_bg: var(--btn-bg-hover); color: #fff; }
.btn--ghost {
  --_bg: transparent; --_fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { --_bg: var(--surface-alt); border-color: var(--ink-soft); color: var(--ink); }
.btn--invert { --_bg: #fff; --_fg: #0f2033; }
.btn--invert:hover { --_bg: #e8eef4; color: #0f2033; }
.btn--ghost-invert { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-invert:hover { --_bg: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--surface); color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.brand { display: block; flex-shrink: 0; line-height: 0; margin-bottom: 8px; }
.brand svg { width: 154px; height: auto; }
.brand--footer svg { width: 124px; }
@media (max-width: 420px) { .brand svg { width: 132px; } .brand { margin-bottom: 6px;}}

.primary-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }
.primary-nav ul { display: flex; gap: clamp(10px, 2vw, 26px); list-style: none; padding: 0; }
.primary-nav a {
  font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 6px 8px; border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--accent-ink); border-color: var(--accent); }
.primary-nav__cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 10px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 76px); border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero__copy .eyebrow { display: block; margin-bottom: 16px; }
.hero h1 { margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); object-fit: cover; aspect-ratio: 4 / 3;
}
.hero__media-note { margin-top: 8px; font-size: .78rem; color: var(--ink-soft); max-width: none; }

/* ---------- quickfacts ---------- */
.quickfacts { padding-block: clamp(40px, 6vw, 64px); }
.qf { display: flex; flex-direction: column; gap: 8px; }
.qf__ic {
  width: 30px; height: 30px; margin-bottom: 4px;
  fill: none; stroke: var(--accent); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.qf p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- cards ---------- */
.cards .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cards .card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 28px); counter-reset: step; }
.step { position: relative; }
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--btn-fg); background: var(--accent); border-radius: 50%;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .93rem; }
@media (min-width: 861px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 20px; left: 52px; right: -14px;
    height: 2px; background: var(--line);
  }
}

.standard {
  margin-top: clamp(32px, 5vw, 48px);
  padding: clamp(22px, 3vw, 30px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.standard h3 { margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- brands ---------- */
.brands { padding-block: clamp(36px, 5vw, 56px); border-block: 1px solid var(--line); }
.brands__list {
  max-width: 60ch; margin: 12px auto 0; text-align: center;
  font-family: var(--font-mono); font-size: .92rem; line-height: 2; color: var(--ink-soft);
}

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); object-fit: cover; aspect-ratio: 3 / 2; }
.split__copy h2 { margin: 10px 0 12px; }
.split__copy p { color: var(--ink-soft); margin-bottom: 20px; }

/* ---------- reviews ---------- */
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.review__stars { color: #e8a13c; letter-spacing: 2px; }
.review p { color: var(--ink); font-size: .97rem; }
.review cite { color: var(--ink-soft); font-size: .85rem; font-style: normal; margin-top: auto; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(20px, 3vw, 32px); }
.contact__map iframe { width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); border: 1px solid var(--line); }

/* mapa z poszanowaniem zgody na cookies */
.map-embed { display: block; width: 100%; height: 100%; min-height: 340px; }
.map-embed > iframe { display: block; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); }
.map-embed__ph {
  height: 100%; min-height: 340px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 24px;
  border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface-alt);
}
.map-embed__ph svg { color: var(--accent); }
.map-embed__ph p { margin: 0; max-width: 34ch; font-size: .9rem; color: var(--ink-soft); }
.map-embed__alt { font-size: .85rem; }
.contact--form .map-embed,
.contact--form .map-embed > iframe,
.contact--form .map-embed__ph { min-height: 300px; }
.contact__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 28px); }
.contact__card h3 { margin-bottom: 14px; }
.contact__list li + li { margin-top: 14px; }
.contact__label { display: block; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); margin-bottom: 2px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- CTA ---------- */
.cta { background: #0f1b28; color: #eef3f8; padding-block: clamp(48px, 7vw, 80px); }
:root[data-theme="dark"] .cta,
:root:not([data-theme="light"]) .cta { background: #0b1017; border-block: 1px solid var(--line); }
.cta__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta h2 { color: #fff; max-width: 22ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sticky call bar (mobile) ---------- */
.call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  align-items: center; justify-content: center; gap: 10px;
  padding: 13px 16px calc(13px + env(safe-area-inset-bottom));
  background: var(--btn-bg); color: #fff;
  font-weight: 600; text-decoration: none;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .18);
}
.call-bar svg { stroke: #fff; }

/* ---------- baner cookies ---------- */
.linklike {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.linklike:hover { color: var(--accent-ink); }

.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 26px rgba(0, 0, 0, .14);
  padding: 16px clamp(16px, 4vw, 32px) calc(16px + env(safe-area-inset-bottom));
}
.cookie-bar__inner {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
}
.cookie-bar__text { flex: 1 1 300px; margin: 0; max-width: none; font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }
.cookie-bar__text a { color: var(--accent-ink); }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.cookie-bar__actions .btn { padding: 10px 16px; font-size: .9rem; }
.cookie-bar:focus-visible { outline: 2px solid var(--ring); outline-offset: -3px; }
html.cookie-open .call-bar { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .cookie-bar { animation: cookie-in .24s ease both; }
  @keyframes cookie-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
}

/* ---------- footer ---------- */
.site-footer { background: var(--surface-alt); border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 64px) 24px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(20px, 3vw, 36px); }
.site-footer__col { min-width: 0; overflow-wrap: break-word; }
.site-footer h2 { font-family: var(--font-body); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); margin-bottom: 10px; font-weight: 600; }
.site-footer .plain { font-size: .85rem; }
.site-footer .plain li + li { margin-top: 7px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); }
.site-footer__col > .brand { margin-bottom: 14px; }
.site-footer__col p { font-size: .85rem; }
.site-footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  margin-top: clamp(24px, 3.5vw, 36px); padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--ink-soft);
}
.site-footer__bar span { min-width: 0; }
.site-footer__bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__bar a:hover { color: var(--accent-ink); }

/* ---------- reviews CTA ---------- */
.reviews__cta { margin-top: clamp(20px, 3vw, 28px); }
.reviews-card {
  max-width: 46ch; margin-inline: auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.reviews-card .review__stars { font-size: 1.15rem; }
.reviews-card p { color: var(--ink-soft); }

/* ---------- podstrona: nagłówek ---------- */
.breadcrumb { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); padding-block: 18px 0; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb [aria-current] { color: var(--ink); }

.page-hero { padding-block: clamp(28px, 4vw, 44px) clamp(32px, 5vw, 52px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 12px 0 14px; }
.page-hero .lead { max-width: 62ch; }

/* ---------- podstrona: układ treści z bocznym spisem ---------- */
.doc { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.toc { position: sticky; top: 88px; font-size: .9rem; }
.toc h2 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 12px; }
.toc ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.toc a { display: block; padding: 6px 10px; border-radius: var(--radius-sm); color: var(--ink-soft); text-decoration: none; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--ink); background: #182231; }
.toc__cta { margin-top: 16px; width: 100%; }

/* ---------- blok usługi ---------- */
.svc { padding-block: clamp(26px, 4vw, 38px); border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc__head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.svc__ic { flex: none; width: 40px; height: 40px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h2 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.5rem); }
.svc p { color: var(--ink-soft); }
.svc__list { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc__list li { position: relative; padding-left: 22px; font-size: .95rem; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- kontakt: kafelki i formularz ---------- */
.contact-tile { padding: 20px; }
.contact-tile__main { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 4px 0 6px; color: var(--ink); text-decoration: none; }
a.contact-tile__main:hover { color: var(--accent-ink); }
.contact-tile p { font-size: .88rem; }

.contact--form { grid-template-columns: 1.25fr .75fr; }
.contact__form h2 { margin-bottom: 16px; }
.contact__aside { display: flex; flex-direction: column; gap: 16px; }
.contact--form .contact__map iframe { min-height: 280px; height: 300px; }
.contact__hours { padding: 20px; }
.contact__hours h3 { margin-bottom: 12px; }
.contact__hours ul li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .92rem; }
.contact__hours .btn { margin-top: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 12px; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--ring); outline-offset: 1px; border-color: var(--accent);
}
.field [aria-invalid="true"] { border-color: var(--danger, #b4441f); }
.field__err { color: #b4441f; font-size: .85rem; }
:root[data-theme="dark"] .field__err,
:root:not([data-theme="light"]) .field__err { color: #e2895f; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; line-height: 1.5; }
.field--check input { width: auto; margin-top: 3px; flex: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 16px; border: 1px solid transparent; }
.alert--ok { background: #e7f4ec; border-color: #b7e0c6; color: #1c5d38; }
.alert--err { background: #fbeae5; border-color: #f0c6b7; color: #8f331a; }
:root[data-theme="dark"] .alert--ok,
:root:not([data-theme="light"]) .alert--ok { background: #16281d; border-color: #2b5238; color: #9fe0b6; }
:root[data-theme="dark"] .alert--err,
:root:not([data-theme="light"]) .alert--err { background: #2a1712; border-color: #5a3025; color: #e8a58c; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 16px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; line-height: 1; color: var(--accent); font-weight: 400; transition: transform .18s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 16px 16px; color: var(--ink-soft); }
.faq :focus-visible { outline-offset: -2px; }

/* =========================================================================
   RWD
   ========================================================================= */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact__map iframe { min-height: 300px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .site-footer__col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px clamp(20px, 5vw, 40px) 20px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path .22s ease, opacity .18s ease;
  }
  .primary-nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .primary-nav ul { flex-direction: column; gap: 2px; }
  .primary-nav a { display: flex; padding: 10px 2px; border-bottom: 1px solid var(--line); }
  .primary-nav a:hover, .primary-nav a[aria-current="page"] { border-color: var(--line); }
  .primary-nav__cta { margin-top: 10px; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }

  .doc { grid-template-columns: 1fr; }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--surface); }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .call-bar { display: flex; }
  body { padding-bottom: 64px; }
}

@media (max-width: 560px) {
  .svc__list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 auto; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
