/* Red River Global Protection — corporate design system v2.
   Learned with eyes from GardaWorld (red header bar, sentence-case headlines with one
   red accent word, giant red numerals, red testimonial split, real photography) and
   Constellis (stat band, alternating sections, split photo+text, credibility strip). */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* Owner taste law (OWNER_DESIGN_TASTE): dark chrome frame, cool-white canvas,
   navy/neutral depth, ONE accent (RRGP red) used surgically. Never a color flood. */
:root {
  --red: #C8102E;
  --red-dark: #A00D25;
  --red-deep: #7E0A1D;
  --ink: #14171C;
  --chrome: #101216;       /* header/footer frame, off-black */
  --navy: #161B26;         /* dark section depth, cool */
  --charcoal: #16191F;
  --paper: #F7F8FA;        /* cool-white canvas */
  --paper-2: #FFFFFF;
  --line-light: #E3E6EA;
  --line-dark: #2A2F3A;
  --steel: #C9CED8;
  --muted-l: #545D69;
  --muted-d: #9AA2B0;
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 10px 30px rgba(17,20,24,.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* Sentence-case, tight, heavy — the GardaWorld voice. <em> inside = the red word. */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1 em, h2 em { color: var(--red); font-style: normal; }
.kicker { font-size: .85rem; font-weight: 700; color: var(--red); margin-bottom: 16px; letter-spacing: .01em; }
.lead { color: var(--muted-l); font-size: 1.12rem; max-width: 660px; }

/* ---------- header: dark chrome frame, red only as the thin signal line ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--chrome); border-bottom: 2px solid var(--red); }
.vet-bar {
  background: linear-gradient(90deg, var(--red-deep) 0%, var(--red) 50%, var(--red-deep) 100%);
  color: #fff; text-align: center; padding: 8px 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.vet-bar .star { color: #F3C567; font-size: .8rem; }
.vet-bar .sep { opacity: .55; margin: 0 4px; }
@media (max-width: 640px) { .vet-bar { font-size: .6rem; letter-spacing: .14em; padding: 7px 10px; } }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.logo { height: 44px; width: auto; }
.brand .lockup { line-height: 1.02; color: #fff; }
.brand .lockup .l1 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; font-family: var(--font-display); }
.brand .lockup .l1 em { font-style: normal; color: var(--red); opacity: 1; }
.brand .lockup .l2 { font-size: .6rem; letter-spacing: .32em; opacity: .8; font-weight: 600; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.92); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.current { color: #fff; border-color: #fff; }
.nav-cta { background: var(--red); color: #fff !important; padding: 12px 22px; font-weight: 700; font-size: .84rem; border-bottom: none !important; }
.nav-cta:hover { background: var(--red-dark); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.7rem; cursor: pointer; }

/* ---------- hero: photo + sentence case ---------- */
.hero { position: relative; min-height: 72vh; display: flex; align-items: center; color: #fff;
  background: linear-gradient(96deg, rgba(10,11,14,.88) 26%, rgba(10,11,14,.45) 62%, rgba(10,11,14,.25)),
              var(--hero-photo, linear-gradient(115deg, #262C39 0%, #14171F 48%, #0A0C10 100%));
  background-size: cover; background-position: center 30%; }
.hero { overflow: hidden; }
.hero .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(96deg, rgba(10,11,14,.82) 26%, rgba(10,11,14,.45) 62%, rgba(10,11,14,.25)); z-index: 1; }
.hero .wrap { padding-top: 90px; padding-bottom: 100px; position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero .hero-video { display: none; } }
/* Portrait phones: app.js swaps in the VERTICAL hero video (720x1280) so it fits edge-to-edge.
   Vertical gradient: faces clear up top, ink-dark where the text sits. */
@media (max-width: 640px) {
  .hero { background-position: center 12%; }
  .hero .hero-video { opacity: .6; }
  .hero::after { background: linear-gradient(180deg, rgba(10,11,14,.2) 0%, rgba(10,11,14,.55) 34%, rgba(10,11,14,.85) 62%); }
}
.hero .kicker { color: #fff; opacity: .9; }
.hero h1 { max-width: 780px; }
.hero h1 em { color: #FF4D64; }
.hero .lead { color: var(--steel); margin: 24px 0 36px; }

/* arrow-square CTA (Garda signature) */
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 0; font-weight: 700; font-size: .9rem; cursor: pointer; border: none; }
.btn .sq { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--red); color: #fff; font-size: 1.1rem; transition: background .15s; }
.btn .tx { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; }
.btn-solid .tx { background: var(--red); color: #fff; }
.btn-solid:hover .tx, .btn:hover .sq { background: var(--red-dark); }
.btn-line .tx { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-line:hover .tx { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ink .tx { background: var(--ink); color: #fff; }
.btn-ink:hover .tx { background: #000; }

/* ---------- photo strip (Garda carousel row) ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.photo-strip .ph { aspect-ratio: 4/3.4; background-color: #171B24;
  background-size: cover; background-position: center top; }

/* ---------- giant red numbers (Garda track record) ---------- */
.bignums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.bignum { border-left: 1px solid var(--line-light); padding-left: 30px; }
.bignum .n { color: var(--ink); font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.bignum:first-child .n { color: var(--red); }
.bignum .l { color: var(--ink); font-size: 1rem; margin-top: 10px; font-weight: 500; }

/* ---------- sections ---------- */
section.block { padding: 88px 0; background: var(--paper); }
section.block.alt { background: var(--paper-2); }
section.block.dark { background: var(--charcoal); color: #fff; }
section.block.dark .lead { color: var(--muted-d); }
section.block.centered { text-align: center; }
section.block.centered .lead, section.block.centered .kicker { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 46px; }

/* red split (Garda client-trust) */
.red-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.red-split .red-side { background: var(--navy); color: #fff; padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }
.red-split .red-side .kicker { color: var(--red-bright, #E5273F); opacity: 1; }
.red-split .red-side h2 { color: #fff; max-width: 480px; }
.red-split .red-side p { margin-top: 20px; max-width: 460px; color: rgba(255,255,255,.92); }
.red-split .photo-side { background-color: #191D26; background-size: cover; background-position: center top; }

/* split photo+text (Constellis) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-slot { min-height: 400px; background:
  var(--slot-photo, linear-gradient(135deg, #2E3442 0%, #161A23 60%, #23050B 100%));
  background-size: cover; background-position: center; box-shadow: var(--shadow); position: relative; }
.photo-slot .tag { position: absolute; left: 0; bottom: 0; background: var(--red); color: #fff; font-weight: 700; font-size: .8rem; padding: 11px 18px; }
.link-list { list-style: none; margin-top: 10px; }
.link-list li { border-bottom: 1px solid var(--line-light); }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.link-list a::after { content: "→"; color: var(--red); font-weight: 700; }
.link-list a:hover { color: var(--red); }
section.block.dark .link-list li { border-color: var(--line-dark); }
section.block.dark .link-list a { color: #fff; }

/* cards */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper-2); border: 1px solid var(--line-light); padding: 32px 28px; position: relative; box-shadow: var(--shadow); transition: transform .16s, border-color .16s; }
.card:hover { transform: translateY(-3px); border-color: var(--ink); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted-l); font-size: .96rem; }
section.block.alt .card { border-color: transparent; }
.card .level-tag { display: inline-block; margin-top: 16px; padding: 4px 10px; border: 1px solid var(--line-light); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-l); font-weight: 600; }
.card .level-tag.armed { border-color: var(--red); color: var(--red); }
.level-card { border-top: 3px solid var(--red); }
.level-card .pay { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.level-card .pay span { font-size: .95rem; color: var(--muted-l); font-weight: 500; }
.badge-armed { color: var(--red); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.badge-unarmed { color: var(--muted-l); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }

.feature-img { width: 100%; display: block; border: 1px solid var(--line-light); box-shadow: var(--shadow); }

/* industries */
.industry-list { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-list .chip { padding: 13px 22px; background: var(--paper); border: 1px solid var(--line-light); font-size: .92rem; font-weight: 600; }
.industry-list .chip:hover { border-color: var(--red); color: var(--red); }

/* motto strip */
.motto-strip { background: var(--ink); }
.motto-strip .wrap { display: flex; justify-content: center; gap: 52px; padding: 24px 28px; flex-wrap: wrap; }
.motto-strip .m { font-weight: 700; letter-spacing: .22em; color: #fff; font-size: .9rem; text-transform: uppercase; }
.motto-strip .m::before { content: "◆ "; color: var(--red); }

/* ---------- forms ---------- */
form.panel, .panel { background: var(--paper); border: 1px solid var(--line-light); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; background: var(--paper-2); border: 1px solid var(--line-light); color: var(--ink); font-family: var(--font); font-size: .95rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note { font-size: .82rem; color: var(--muted-l); }

/* ---------- portal ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.tab { padding: 12px 22px; background: var(--paper); border: 1px solid var(--line-light); font-weight: 700; font-size: .86rem; cursor: pointer; color: var(--muted-l); }
.tab.on { background: var(--red); border-color: var(--red); color: #fff; }
.shift-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line-light); padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
.shift-row .site { font-weight: 700; }
.shift-row .meta { color: var(--muted-l); font-size: .88rem; }
.shift-row button { background: var(--red); border: 0; color: #fff; padding: 10px 18px; font-weight: 700; font-size: .8rem; cursor: pointer; }
.shift-row button.drop { background: transparent; border: 1px solid var(--line-light); color: var(--muted-l); }
table.paysheet { width: 100%; border-collapse: collapse; }
.paysheet td, .paysheet th { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-light); }
.paysheet th { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-l); }
.paysheet .total td { font-weight: 800; font-size: 1.05rem; border-top: 2px solid var(--red); }

/* legacy inner-page button (services/careers/about/contact still use .btn-red) */
.btn-red { display: inline-block; background: var(--red); color: #fff; padding: 15px 30px; font-weight: 700; font-size: .88rem; border: 0; cursor: pointer; }
.btn-red:hover { background: var(--red-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--chrome); color: #fff; padding: 58px 0 30px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { font-size: .84rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; color: var(--steel); }
.site-footer a { display: block; color: var(--muted-d); font-size: .9rem; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid var(--line-dark); padding-top: 22px; font-size: .78rem; color: var(--muted-d); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip .ph-5 { grid-column: 1 / -1; }
  .bignums { grid-template-columns: 1fr; gap: 26px; }
  .split, .red-split { grid-template-columns: 1fr; }
  .red-split .photo-side { min-height: 300px; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--red); flex-direction: column; padding: 18px 24px; gap: 16px; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid.cols-3, .grid.cols-2, .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 62vh; }
  .red-split .red-side { padding: 50px 28px; }
  .shift-row { grid-template-columns: 1fr; gap: 8px; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .no-print { display: none !important; }
  .panel { border: 1px solid #999; box-shadow: none; background: #fff; }
}
