/* Protections Security Limited - 2026 site
   Brand: red #d5402f, blue #2190bd (from logo) */

:root {
  --red: #d5402f;
  --red-dark: #b93325;
  --blue: #2190bd;
  --blue-dark: #16688c;
  --blue-light: #67c6ec;
  --navy: #0f2734;
  --navy-2: #16303f;
  --ink: #223543;
  --muted: #5b7180;
  --line: #e6edf1;
  --bg-soft: #f5f9fb;
  --white: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 39, 52, 0.06), 0 4px 14px rgba(15, 39, 52, 0.05);
  --shadow-md: 0 6px 24px rgba(15, 39, 52, 0.09), 0 2px 6px rgba(15, 39, 52, 0.05);
  --shadow-lg: 0 24px 60px rgba(15, 39, 52, 0.18), 0 8px 20px rgba(15, 39, 52, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-dark); }

h1, h2, h3, h4 { letter-spacing: -0.02em; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--navy);
  color: #cfe2ec;
  font-size: 0.84rem;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
  flex-wrap: wrap;
}
.utility-bar a { color: #ffffff; text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }

/* ---------- Header / nav ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand img { height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--blue-dark); }
.main-nav a.active { color: var(--red); }
.main-nav a.btn { margin-left: 10px; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.97rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red {
  background: linear-gradient(180deg, #e04a38 0%, var(--red) 55%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(213, 64, 47, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-red:hover { box-shadow: 0 12px 28px rgba(213, 64, 47, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.main-nav .btn-red { padding: 11px 22px; }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 96px 0 110px;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(33, 144, 189, 0.5), transparent 60%),
    radial-gradient(760px 420px at 95% 10%, rgba(213, 64, 47, 0.22), transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, #143c50 55%, var(--blue-dark) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #eaf6fc;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 26px;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.hero-badge:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.22);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 20px;
}
.hero h1 .accent {
  background: linear-gradient(92deg, var(--blue-light) 0%, #b5e6f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub {
  font-size: 1.13rem;
  color: #cfe4ef;
  max-width: 560px;
  margin: 0 0 34px;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ticks {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 0.92rem;
  color: #b9d8e6;
}
.hero-ticks li { display: flex; align-items: center; gap: 8px; }
.hero-ticks li::before {
  content: "\2713";
  font-weight: 800;
  color: #4ade80;
}

/* Hero accreditation panel */
.hero-panel { position: relative; display: grid; gap: 16px; }
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 50% 40%, rgba(103, 198, 236, 0.28), transparent 65%);
  filter: blur(6px);
  pointer-events: none;
}
.panel-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.panel-card:hover { transform: translateY(-3px); }
.panel-card img { height: 56px; width: auto; }
.panel-card.main { padding: 26px 28px; }
.panel-card.main img { height: 84px; }
.panel-card strong { display: block; font-size: 1.02rem; color: var(--navy); letter-spacing: -0.01em; }
.panel-card span.tag { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 2px; }
.panel-card .go { margin-left: auto; color: var(--red); font-weight: 800; font-size: 1.1rem; }
.panel-note {
  position: relative;
  text-align: center;
  font-size: 0.8rem;
  color: #b9d8e6;
}
.panel-note a { color: #eaf6fc; }

/* ---------- Page hero (inner pages) ---------- */
.hero-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 15% -20%, rgba(33, 144, 189, 0.45), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, #16455c 100%);
  color: #fff;
  padding: 64px 0 54px;
  text-align: center;
}
.hero-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero-page .container { position: relative; }
.hero-page h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; }
.hero-page p { color: #cfe4ef; max-width: 720px; margin: 12px auto 0; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust-strip .container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 30px;
  padding-bottom: 30px;
}
.strip-label {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.badge span { color: var(--red); }

/* Accreditation logo images: never distort, always on a clear background */
.trust-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
a.trust-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-logo img { height: 62px; width: auto; }
.trust-strip .scope-note {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head .kicker {
  display: inline-block;
  color: var(--red);
  background: rgba(213, 64, 47, 0.08);
  border: 1px solid rgba(213, 64, 47, 0.18);
  border-radius: 999px;
  padding: 5px 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
  margin-top: 16px;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.03rem; }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { color: var(--navy); font-size: 1.5rem; font-weight: 800; margin: 38px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 15px; }
.prose ul, .prose ol { margin: 0 0 15px 22px; }
.prose li { margin-bottom: 9px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #d3e2ea;
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(33, 144, 189, 0.14) 0%, rgba(33, 144, 189, 0.07) 100%);
  border: 1px solid rgba(33, 144, 189, 0.18);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card h3 { color: var(--navy); font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card .card-link {
  margin-top: 20px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  font-size: 0.96rem;
}
.card .card-link:hover { text-decoration: underline; }

/* ---------- Why choose / feature list ---------- */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.section:not(.alt) .feature { background: var(--bg-soft); box-shadow: none; }
.feature .tick {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e04a38, var(--red-dark));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  box-shadow: 0 4px 10px rgba(213, 64, 47, 0.3);
}
.feature h3 { font-size: 1.03rem; font-weight: 700; color: var(--navy); }
.feature p { color: var(--muted); font-size: 0.94rem; margin-top: 4px; }

/* ---------- Directors ---------- */
.director-card { text-align: center; align-items: center; }
.director-card .avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(33, 144, 189, 0.35);
}
.director-card .role { color: var(--red); font-weight: 700; font-size: 0.88rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Industries ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue-dark); }

/* ---------- Accreditations ---------- */
.accred { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.accred-logo {
  height: 116px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.accred-logo img { max-height: 112px; width: auto; max-width: 100%; }
.accred .scope { font-size: 0.85rem; color: var(--muted); font-style: italic; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.16s ease;
}
.faq details:hover { box-shadow: var(--shadow-md); }
.faq summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 40px 24px 96px; background: transparent; }
.cta-band .container {
  background:
    radial-gradient(560px 280px at 85% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 64px 40px;
  box-shadow: 0 24px 60px rgba(213, 64, 47, 0.35);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { max-width: 640px; margin: 0 auto 30px; color: #ffe3de; }
.cta-band .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-white { background: #fff; color: var(--red); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
.cta-band .btn-white:hover { background: #fff2f0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-info .item { margin-bottom: 18px; }
.contact-info .item strong { display: block; color: var(--navy); }
form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.93rem; }
form input, form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(33, 144, 189, 0.15);
}
form button.btn { border: none; cursor: pointer; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  color: #b9cdd8;
  font-size: 0.93rem;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 44px;
}
.site-footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #d8e8f1; text-decoration: none; transition: color 0.15s ease; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo-box { background: #fff; border-radius: 10px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.site-footer .logo-box img { height: 42px; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; align-items: stretch; }
.footer-badges a, .footer-badges .flogo {
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  transition: transform 0.15s ease;
}
.footer-badges a:hover { transform: translateY(-2px); }
.footer-badges img { height: 44px; width: auto; }
.footer-scope { font-size: 0.78rem; color: #8fa9b7; margin-top: 10px; }
.dev-credit { display: block; margin-top: 6px; font-size: 0.78rem; color: #7d97a5; }
.dev-credit a { color: #9fb8c5; text-decoration: none; border-bottom: 1px solid rgba(159, 184, 197, 0.4); }
.dev-credit a:hover { color: #fff; border-bottom-color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 0.84rem;
  color: #8fa9b7;
}

/* ---------- Scroll reveal (progressive enhancement, no JS) ---------- */
@supports (animation-timeline: view()) {
  .card, .feature, .section-head, .chip, .accred > *, .faq details {
    animation: rise-in both;
    animation-timeline: view();
    animation-range: entry 0% entry 42%;
  }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 72px 0 80px; }
  .hero p.sub { max-width: none; }
}
@media (max-width: 900px) {
  .grid-3, .accred { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .accred, .contact-grid, .site-footer .cols { grid-template-columns: 1fr; }
  .main-nav { gap: 2px; }
  .hero { padding: 56px 0 64px; }
  .hero-ticks { gap: 14px; }
  .cta-band .container { padding: 48px 24px; }
}
