/* Guarda Security Services — site styles */
:root {
  --navy-900: #06142b;
  --navy-800: #0a1f3d;
  --navy-700: #0f2c55;
  --blue: #003378;
  --amber: #f79300;
  --amber-dark: #d97f00;
  --red: #c80000;
  --ink: #142033;
  --muted: #5b6a7e;
  --line: #e3e8ef;
  --soft: #f4f6fa;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(6, 20, 43, 0.08);
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--navy-800); color: #c9d4e3; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--amber); border-radius: 2px; }
.section.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--amber); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 6px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #1b1200; }
.btn-amber:hover { background: var(--amber-dark); }
.btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top bar */
.topbar { background: var(--navy-900); color: #b9c6d8; font-size: 0.85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar .tb-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .dot { color: var(--amber); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav > ul > li { position: relative; }
.nav a.nav-link {
  display: block; padding: 10px 14px; text-decoration: none; color: var(--navy-800);
  font-weight: 600; font-size: 0.95rem; border-radius: 6px;
}
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--amber-dark); }
.has-sub > a.nav-link::after { content: "▾"; font-size: 0.75em; margin-left: 6px; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 6px; font-size: 0.95rem; }
.sub a:hover { background: var(--soft); color: var(--blue); }
.nav .btn { margin-left: 10px; padding: 12px 20px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  width: 46px; height: 42px; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 5px auto; transition: 0.2s; }

/* Hero */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--navy-900) url("../img/hero-guard.jpg") right center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,20,43,0.97) 0%, rgba(6,20,43,0.9) 42%, rgba(6,20,43,0.45) 72%, rgba(6,20,43,0.2) 100%);
}
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 120px; }
.hero h1 { color: var(--white); max-width: 720px; }
.hero h1 span { color: var(--amber); }
.hero p.hero-sub { font-size: 1.2rem; color: #d0dbea; max-width: 600px; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); font-size: 0.88rem; font-weight: 600;
}
.chip svg { width: 16px; height: 16px; color: var(--amber); }

/* Page hero (inner pages) */
.page-hero { position: relative; color: var(--white); background: var(--navy-800) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,43,0.95), rgba(6,20,43,0.7)); }
.page-hero .wrap { position: relative; padding-top: 90px; padding-bottom: 90px; }
.page-hero h1 { color: var(--white); max-width: 820px; font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero p { color: #d0dbea; font-size: 1.15rem; max-width: 680px; }
.crumbs { font-size: 0.85rem; color: #9fb0c6; margin-bottom: 18px; }
.crumbs a { color: #d0dbea; text-decoration: none; }

/* Trust bar */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust { display: flex; align-items: center; gap: 12px; padding: 24px 16px; border-right: 1px solid var(--line); }
.trust:last-child { border-right: 0; }
.trust svg { width: 30px; height: 30px; color: var(--blue); flex: none; }
.trust strong { display: block; font-size: 0.95rem; color: var(--navy-800); line-height: 1.3; }
.trust small { color: var(--muted); font-size: 0.8rem; }

/* Cards */
.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-700); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card .body p { color: var(--muted); font-size: 0.97rem; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--blue); }
.card .more::after { content: " →"; }
a.card { text-decoration: none; color: inherit; }

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ic {
  flex: none; width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(247,147,0,0.12); color: var(--amber-dark);
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }
.section.dark .feature p { color: #b9c6d8; }
.section.dark .feature .ic { background: rgba(247,147,0,0.15); color: var(--amber); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split .media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.badge-float {
  position: absolute; left: 20px; bottom: 20px; background: var(--navy-800); color: var(--white);
  padding: 16px 20px; border-radius: 10px; border-left: 4px solid var(--amber); max-width: 280px;
}
.badge-float strong { display: block; font-size: 1.05rem; }
.badge-float span { font-size: 0.85rem; color: #b9c6d8; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1200' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section.dark .checks li { color: #d0dbea; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--amber); line-height: 1; display: block; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; }
.step .result { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-weight: 600; color: var(--navy-800); font-size: 0.95rem; }

/* Industries tiles */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: var(--white); text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,43,0.05) 25%, rgba(6,20,43,0.92)); }
.tile:hover img { transform: scale(1.05); }
.tile .t { position: relative; z-index: 1; padding: 22px; }
.tile h3 { color: var(--white); margin-bottom: 4px; }
.tile p { margin: 0; font-size: 0.92rem; color: #d0dbea; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 0.92rem; color: var(--navy-800); }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--blue), var(--navy-800)); color: var(--white); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 6px; }
.cta-band p { margin: 0; color: #d0dbea; }

/* Quote form */
.quote-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.form-card { background: var(--white); border-radius: 14px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); color: var(--ink); }
.form-card h3, .section.dark .form-card h3 { font-size: 1.4rem; color: var(--navy-800); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy-800); }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #cfd8e3; border-radius: 6px; font: inherit; font-size: 0.97rem;
  background: #fbfcfe; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(0,51,120,0.25); border-color: var(--blue); background: var(--white); }
textarea { min-height: 120px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 18px; font-size: 1.05rem; padding: 16px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-msg { display: none; margin-top: 14px; padding: 14px; border-radius: 6px; font-weight: 600; }
.form-msg.ok { display: block; background: #e8f6ec; color: #17602f; }
.form-msg.err { display: block; background: #fdeeee; color: #8a1c1c; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-list svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 3px; }
.contact-list a { color: inherit; font-weight: 600; text-decoration: none; }
.contact-list small { display: block; color: var(--muted); }
.section.dark .contact-list small { color: #9fb0c6; }
.section.dark .contact-list a, .section.dark .contact-list strong { color: var(--white); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; background: var(--white); margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy-800); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Prose */
.prose { max-width: 780px; }
.prose p { color: #3b4a5e; }

/* Footer */
.site-footer { background: var(--navy-900); color: #9fb0c6; font-size: 0.93rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 20px 50px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d0dbea; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.f-brand img { width: 50px; height: 50px; background: var(--white); border-radius: 10px; padding: 4px; }
.f-brand strong { color: var(--white); font-family: "Archivo", sans-serif; font-size: 1.1rem; line-height: 1.2; }
.licence-box { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; font-size: 0.85rem; }
.licence-box strong { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 22px; font-size: 0.82rem; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,0.08); }
.social svg { width: 18px; height: 18px; color: var(--white); }

/* Mobile call bar */
.callbar { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: var(--white);
    flex-direction: column; align-items: stretch; padding: 80px 20px 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.25s; box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  }
  .nav.open { transform: translateX(0); }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a.nav-link { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  .sub a { padding: 8px 6px; font-size: 0.92rem; color: var(--muted); }
  .has-sub > a.nav-link::after { content: ""; }
  .nav .btn { margin: 18px 0 0; }
  .nav-toggle { position: relative; z-index: 60; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .trustbar .wrap { grid-template-columns: repeat(3, 1fr); }
  .trust:nth-child(3) { border-right: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .split, .quote-wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero { background-position: 70% center; }
  .hero::before { background: linear-gradient(180deg, rgba(6,20,43,0.88), rgba(6,20,43,0.94)); }
  .hero .wrap { padding-top: 70px; padding-bottom: 80px; }
  .topbar .tb-right { display: none; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { padding-bottom: 64px; }
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .brand img { height: 42px; }
  .trustbar .wrap { grid-template-columns: 1fr 1fr; }
  .trust { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 8px; }
  .trust:nth-child(5) { grid-column: 1 / -1; }
  .g4 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .site-footer .cols { grid-template-columns: 1fr; padding-top: 50px; }
  .btn-row .btn { width: 100%; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  }
  .callbar a { padding: 18px 10px; text-align: center; font-weight: 700; text-decoration: none; }
  .callbar .c1 { background: var(--navy-800); color: var(--white); }
  .callbar .c2 { background: var(--amber); color: #1b1200; }
}

