/*
Theme Name: Sentinel Security BG
Theme URI: https://example.com/
Author: OpenAI
Description: Лека едностранична WordPress тема за лицензирана охранителна фирма.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: sentinel-security
*/

:root {
  --ink: #0a0d0f;
  --panel: #11161a;
  --line: rgba(255, 255, 255, .12);
  --muted: #a9b0b4;
  --paper: #f4f1e9;
  --accent: #d7ff39;
  --accent-dark: #a9ce14;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #fff; font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--accent); color: #000; padding: 10px 14px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(10, 13, 15, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 32px; height: 38px; color: var(--accent); }
.brand .custom-logo { display: block; width: auto; max-width: 240px; max-height: 52px; object-fit: contain; }
.elementor-page #content { overflow: hidden; }
.elementor .wpcf7-form { display: grid; gap: 14px; }
.elementor .wpcf7-form p { margin: 0; color: #c4c9cb; }
.elementor .wpcf7-form-control:not(.wpcf7-submit) { width: 100%; min-height: 49px; margin-top: 6px; border: 1px solid #343b3f; background: #0c1012; color: #fff; padding: 12px 14px; font: inherit; }
.elementor textarea.wpcf7-form-control { min-height: 125px; }
.elementor .wpcf7-submit { min-height: 50px; padding: 0 22px; border: 0; background: var(--accent); color: #080a0b; font-weight: 800; cursor: pointer; }
.elementor .wpcf7-response-output { margin: 10px 0 0 !important; }
.main-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-size: 14px; color: #d9dcde; }
.main-nav a:hover, .main-nav a:focus { color: var(--accent); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; color: #fff; padding: 9px 12px; font: inherit; }
.header-cta { padding: 11px 17px; border: 1px solid var(--accent); color: var(--accent) !important; }

.hero { position: relative; min-height: 820px; display: grid; align-items: center; overflow: hidden; padding: 155px 0 90px; background: radial-gradient(circle at 80% 35%, rgba(215, 255, 57, .11), transparent 30%), linear-gradient(120deg, #090c0e, #11171a); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to right, transparent, #000); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1 { max-width: 760px; margin: 0; font-size: clamp(54px, 8vw, 112px); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.hero-copy { max-width: 640px; margin: 28px 0 0; color: #c5c9cb; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--line); text-decoration: none; font-weight: 750; transition: .2s ease; cursor: pointer; }
.button-primary { background: var(--accent); border-color: var(--accent); color: #080a0b; }
.button:hover { transform: translateY(-2px); border-color: var(--accent); }
.hero-emblem { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-shield { width: min(76%, 320px); color: var(--accent); filter: drop-shadow(0 0 35px rgba(215,255,57,.15)); }
.orbit { position: absolute; width: 390px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 12%; border: 1px solid var(--line); border-radius: inherit; }
.orbit::after { inset: 28%; }
.trust-row { position: absolute; z-index: 2; inset: auto 0 0; border-top: 1px solid var(--line); }
.trust-grid { min-height: 84px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid span { display: grid; place-items: center; border-right: 1px solid var(--line); color: #d7dadb; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.trust-grid span:first-child { border-left: 1px solid var(--line); }

.section { padding: 110px 0; }
.section-light { background: var(--paper); color: #101415; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; align-items: end; margin-bottom: 55px; }
.section-kicker { color: #687074; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -.045em; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid #cdd0cb; }
.service { min-height: 260px; padding: 34px; border-right: 1px solid #cdd0cb; border-bottom: 1px solid #cdd0cb; }
.service:nth-child(2n) { border-right: 0; }
.service:nth-last-child(-n+2) { border-bottom: 0; }
.service-number { color: #747b7e; font: 700 13px/1 monospace; }
.service h3 { margin: 52px 0 12px; font-size: 27px; }
.service p { max-width: 500px; margin: 0; color: #5c6467; }

.advantages { background: #11161a; }
.advantages .section-head { align-items: start; }
.advantages-copy { color: var(--muted); max-width: 580px; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.advantage { min-height: 240px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), transparent); }
.advantage-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-weight: 900; }
.advantage h3 { margin: 52px 0 10px; font-size: 21px; }
.advantage p { margin: 0; color: var(--muted); font-size: 14px; }

.process-list { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; border-top: 1px solid #cdd0cb; }
.process-step { counter-increment: step; padding: 32px 35px 0 0; }
.process-step::before { content: "0" counter(step); display: block; margin-bottom: 45px; color: #747b7e; font: 700 13px/1 monospace; }
.process-step h3 { font-size: 22px; }
.process-step p { color: #5c6467; }

.contact { position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid var(--line); border-radius: 50%; right: -180px; bottom: -340px; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.contact h2 { margin-bottom: 24px; }
.contact-details { display: grid; gap: 9px; margin-top: 34px; color: #d8dcdd; }
.contact-details a { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.field-full { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: 7px; color: #c4c9cb; font-size: 13px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 49px; border: 1px solid #343b3f; background: #0c1012; color: #fff; padding: 12px 14px; font: inherit; }
.contact-form textarea { min-height: 125px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.form-status { padding: 12px 14px; margin-bottom: 20px; border: 1px solid var(--accent); color: var(--accent); }
.hp-field { position: absolute !important; left: -9999px !important; }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; inset: 78px 0 auto; padding: 22px 20px; background: #0b0f11; border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: block; }
  .main-nav ul { width: min(100%, var(--max)); margin: auto; flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-inner, .section-head, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 900px; }
  .hero-emblem { min-height: 260px; }
  .orbit { width: 290px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  h1 { font-size: 54px; }
  .hero { min-height: 930px; padding-top: 125px; }
  .hero-copy { font-size: 17px; }
  .trust-grid { min-height: 116px; }
  .service-grid, .advantage-grid, .process-list { grid-template-columns: 1fr; }
  .service, .service:nth-child(2n), .service:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #cdd0cb; }
  .service:last-child { border-bottom: 0; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .contact-form > * { grid-column: 1; }
  .footer-inner { flex-direction: column; }
}
