/*
Theme Name: securit_new
Theme URI: https://securit.com.pl
Author: Securit
Description: Motyw firmy Securit: alarmy, kamery, inteligentne domy i cyberbezpieczeństwo sieci. Jasny i ciemny tryb, responsywny.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: securit_new
*/

/* Layout: ciemna, techniczna ochrona obiektu. Hero ze schematem budynku, 4 obszary, proces od audytu do serwisu, firmy i domy, kontakt. */
:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #0b1626;
  --muted: #4a586b;
  --line: #d8dee8;
  --red: #d5231b;
  --blue: #0b57c9;
  --blue-soft: #e3edfb;
  --deep: #0b1626;
  --on-deep: #eef3fa;
  --f-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070f1b; --surface: #0f1b2d; --ink: #eaf0f8; --muted: #9aabc1; --line: #1f3047;
    --red: #ff4d43; --blue: #6ea2f5; --blue-soft: #14284a; --deep: #0f1b2d; --on-deep: #eef3fa;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070f1b; --surface: #0f1b2d; --ink: #eaf0f8; --muted: #9aabc1; --line: #1f3047;
  --red: #ff4d43; --blue: #6ea2f5; --blue-soft: #14284a; --deep: #0f1b2d; --on-deep: #eef3fa;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

.top { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { font-family: var(--f-display); font-weight: 800; font-size: 25px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand svg { width: 26px; height: 26px; }
.brand b { color: var(--red); }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.nav a:hover { color: var(--ink); }
.topcall { font-family: var(--f-mono); font-size: 15px; font-weight: 500; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font-size: 16px; font-family: var(--f-body); cursor: pointer; }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }

.eyebrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; padding-block: 52px 72px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 70px); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.map { background: var(--deep); border-radius: 16px; padding: 18px; color: var(--on-deep); min-width: 0; }
.map-head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; opacity: .75; padding: 2px 4px 12px; }
.map svg { display: block; width: 100%; height: auto; }
.map .wall { fill: none; stroke: var(--on-deep); stroke-opacity: .55; stroke-width: 2; }
.map .room { stroke: var(--on-deep); stroke-opacity: .25; stroke-width: 1.5; }
.map .beam { fill: var(--blue); fill-opacity: .28; }
.map .dot-r { fill: var(--red); }
.map .dot-b { fill: var(--blue); }
.map .dot-w { fill: var(--on-deep); }
.map text { fill: var(--on-deep); font-family: var(--f-mono); font-size: 11px; }
.map .link { stroke: var(--on-deep); stroke-opacity: .5; stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; }

section { padding-block: 60px; }
.sec-head { max-width: 680px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(28px, 4.4vw, 44px); }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.area .ico { width: 46px; height: 46px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.area .ico svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.area h3 { font-size: 24px; margin-top: 8px; }
.area p { color: var(--muted); font-size: 15.5px; }
.area ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.area li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.area li::before { content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 2px; margin-top: 8px; }
.brandtag { margin-top: auto; padding-top: 12px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.brandtag b { color: var(--ink); }

.process { background: var(--deep); color: var(--on-deep); border-radius: 18px; padding: 44px; }
.process h2 { font-size: clamp(26px, 4vw, 40px); max-width: 20ch; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: s; border-top: 3px solid var(--red); padding-top: 16px; min-width: 0; }
.steps li::before { content: "Etap " counter(s); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: .65; display: block; margin-bottom: 8px; }
.steps b { font-family: var(--f-display); font-size: 21px; display: block; }
.steps p { opacity: .8; font-size: 15px; margin-top: 6px; }

.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.whobox { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 28px; min-width: 0; }
.whobox h3 { font-size: 24px; margin-bottom: 10px; }
.whobox p { color: var(--muted); }

.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cbox { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; min-width: 0; }
.cbox small { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cbox .val { font-family: var(--f-display); font-weight: 800; font-size: 24px; overflow-wrap: anywhere; line-height: 1.2; }
.cbox .row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cbox .note { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.copy { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 6px; padding: 6px 12px; font: 600 13px var(--f-body); cursor: pointer; }
.copy:hover { border-color: var(--blue); color: var(--blue); }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 32px 48px; }
  .areas, .who, .contact { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { padding: 28px 20px; }
  section { padding-block: 44px; }
}
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.entry { max-width: 760px; padding-block: 48px 72px; }
.entry h1 { font-size: clamp(30px,5vw,48px); font-weight: 800; margin-bottom: 24px; }
.entry .content > * + * { margin-top: 1em; }
.entry .content a { color: var(--blue); }
.entry .content img { max-width: 100%; height: auto; border-radius: 10px; }
.screen-reader-text { position:absolute; left:-9999px; }
.nav ul { list-style:none; margin:0; padding:0; display:flex; gap:4px 22px; flex-wrap:wrap; }
