/* Crown Security */
:root {
  --navy: #00254a;
  --blue: #1a22c2;
  --blue-hover: #2730dc;
  --text: #1f2633;
  --muted: #4a5263;
  --line: #e6e9ef;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,37,74,.06), 0 8px 24px rgba(0,37,74,.07);
  --soft: #eef1f6;
  --gold: #7a5600;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Roboto", Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: #0f1a2e; line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 99; }

/* ---------- Header ---------- */
.header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.header .container { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-right: auto; }
.brand img { width: 64px; }
.brand strong { display: block; font-size: 1.6rem; line-height: 1.1; white-space: nowrap; }
.brand small { display: block; font-size: .78rem; color: #c3cddb; white-space: nowrap; margin-top: 3px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.menu a { display: block; padding: 9px 13px; border-radius: 8px; color: #eef2f8; text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; transition: background .15s, color .15s; }
.menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu a[aria-current="page"] { background: #fff; color: var(--navy); font-weight: 700; }
.call { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; padding: 11px 18px; border-radius: 8px; white-space: nowrap; transition: background .15s; }
.call:hover { background: var(--blue-hover); }
.call svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Hero ---------- */
.hero { color: #fff; text-align: center; background: linear-gradient(rgba(10,16,120,.78), rgba(0,37,74,.82)), url("img/intruder-social-1.jpg") center / cover; padding: 90px 0; }
.hero h1 { color: #fff; font-family: "Arial Black", Gadget, sans-serif; font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-bottom: 14px; }
.hero p { text-transform: uppercase; letter-spacing: .08em; font-weight: 500; margin-bottom: 32px; }
.page-hero { padding: 48px 0; }
.hero-sub { font-size: .95rem; text-transform: none !important; letter-spacing: 0 !important; color: #d6ddf0; margin: -18px 0 30px !important; }
.page-hero p { margin-bottom: 0; }

.btn { display: inline-block; background: var(--blue); color: #fff; padding: 14px 30px; text-decoration: none; font-weight: 700; text-transform: uppercase; border-radius: 8px; border: 0; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn:hover { background: var(--blue-hover); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #e4e8ff; }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn:focus-visible, .menu a:focus-visible, .call:focus-visible, a:focus-visible { outline: 3px solid #ffb020; outline-offset: 2px; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ---------- Accreditation strip ---------- */
.accred { background: var(--soft); border-bottom: 1px solid var(--line); }
.accred .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; padding: 18px 0; }
.accred img { height: 42px; width: auto; }
.accred span { white-space: nowrap; font-weight: 700; color: var(--navy); font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.accred .gold { color: var(--gold); }
.accred a { text-decoration: none; }
.accred .stars { color: #f5a623; letter-spacing: 2px; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
section.soft { background: var(--soft); }
.title { text-align: center; margin-bottom: 40px; }
.title h2 { text-transform: uppercase; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 0; }
.title h2::after { content: ""; display: block; width: 100px; height: 3px; background: var(--blue); margin: 14px auto 0; }
.title p { max-width: 820px; margin: 18px auto 0; color: var(--muted); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.row + .row { margin-top: 64px; }
.row.flip > :first-child { order: 2; }
.row h3 { font-size: 1.6rem; }
.row p { color: var(--muted); }
.row .pic { display: flex; justify-content: center; }
.row .pic img { max-height: 380px; width: auto; border-radius: var(--radius); }
.soft .pic img.cutout { mix-blend-mode: multiply; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 8px; }

.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; background: #fff; }
.box h3 { text-transform: uppercase; font-size: 1.4rem; }
.box ul { list-style: none; margin: 0 0 24px; padding: 0; color: var(--text); }
.box li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid #edf0f4; }
.box li:last-child { border-bottom: 0; }
.box li::before { content: "\2713"; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: .65rem; font-weight: 700; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 6px; color: #444; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; padding: 24px; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

.callout { background: var(--navy); color: #fff; text-align: center; padding: 56px 0; }
.callout h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2rem); }
.callout p { color: #dbe3ee; }
.callout .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: stretch; }
.contact-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.primary-call { display: flex; align-items: center; gap: 16px; background: var(--navy); color: #fff; text-decoration: none; border-radius: 10px; padding: 18px 20px; transition: background .15s; }
.primary-call:hover { background: #003466; }
.primary-call small { display: block; color: #c3cddb; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.primary-call strong { display: block; font-size: 1.7rem; line-height: 1.2; }
.primary-call .ic { background: var(--blue); }
.ic { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #e8ebfb; }
.ic svg { width: 22px; height: 22px; fill: var(--blue); }
.primary-call .ic svg { fill: #fff; }
.clist { list-style: none; margin: 8px 0 0; padding: 0; }
.clist li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); line-height: 1.5; }
.clist small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-bottom: 2px; }
.clist a { font-weight: 700; text-decoration: none; word-break: break-word; }
.clist a:hover { text-decoration: underline; }
.area { margin: 18px 0 14px; color: var(--muted); }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .92rem; transition: border-color .15s, background .15s; }
.pill:hover { border-color: var(--blue); background: #f5f6ff; }
.pill svg { width: 16px; height: 16px; fill: var(--blue); }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Manuals ---------- */
.manuals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.manual { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; padding: 28px 20px; text-align: center; }
.manual h3 { text-transform: uppercase; font-size: 1.05rem; margin-bottom: 4px; }
.manual small { display: block; color: var(--muted); margin-bottom: 18px; }
.guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.guide figcaption { padding: 12px 14px; font-weight: 700; color: var(--text); border-top: 1px solid var(--line); }

/* ---------- Terms ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }

/* ---------- Footer ---------- */
footer { background: #001a35; color: #c9d2df; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.2fr 1.3fr .8fr; gap: 32px; padding: 48px 0 32px; }
.foot h4 { color: #fff; margin: 0 0 12px; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; }
.foot p { margin: 0 0 6px; }
.foot a { color: #dce3ee; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.copy { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; color: #a7b3c6; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .header .container { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-top: 12px; }
  .header nav { order: 3; width: 100%; margin: 8px -6px 0; overflow-x: auto; scrollbar-width: none; }
  .menu a { padding: 12px 12px; }
  .row, .boxes { grid-template-columns: 1fr; gap: 28px; }
  .row.flip > :first-child { order: 0; }
  .grid4, .manuals, .guide { grid-template-columns: 1fr 1fr; }
  .grid3, .contact-wrap { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .brand img { width: 48px; }
  .brand strong { font-size: 1.3rem; }
  .brand small { display: none; }
  .call span { display: none; }
  .call { padding: 11px; }
  .menu { justify-content: space-between; }
  .menu a { padding: 10px 7px; font-size: .84rem; }
  .header nav { margin: 6px 0 0; }
  .hero { padding: 64px 0; }
  section { padding: 52px 0; }
  .box { padding: 26px; }
  .grid4, .manuals, .guide { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .accred .container { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; text-align: center; gap: 12px; }
  .accred span { white-space: normal; justify-content: center; }
}
