/* Tactical Survey Solutions — site styles
   Edit the colours and fonts here and every page updates. */

:root {
  --accent: #fc221c;
  --black: #111;
  --text: #1a1a1a;
  --muted: #555;
  --line: #e5e5e5;
  --bg-alt: #f5f5f5;
  --max: 1180px;
  --heading: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  color: var(--black);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.accent { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 24px;
}
.logo img { width: 220px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.nav a {
  color: var(--black); text-decoration: none; font-size: 0.95rem;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.8rem; line-height: 1; padding: 6px; color: var(--black);
}

@media (max-width: 900px) {
  .logo img { width: 170px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 12px 24px 20px; gap: 0; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: center;
  background: #333 center / cover no-repeat;
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.hero .container { position: relative; width: 100%; }
.hero h1, .hero h2 { color: var(--accent); max-width: 15em; margin: 0; }
.hero--plain { min-height: 0; padding: 90px 0; background: var(--black); }
.hero--plain::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-family: var(--heading); font-stretch: 125%; font-weight: 700;
  text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em;
  text-decoration: none;
  padding: 13px 26px; border: 0; cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--black); }
.btn--outline { background: transparent; color: #fff; outline: 2px solid #fff; outline-offset: -2px; }
.btn--outline:hover { background: #fff; color: var(--black); }

/* ---------- Grids ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; text-align: center; }
.card img { width: 96px; margin: 0 auto 18px; }
.card h2 { font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols-3 h4 { color: var(--accent); font-size: 1.5rem; }
.cols-3 ul { margin: 0; padding-left: 1.1em; }
.cols-3 li { font-weight: 700; margin-bottom: 6px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse > :first-child { order: 2; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.features h4 { color: var(--accent); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery a { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #eee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .cards, .cols-3, .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse > :first-child { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards, .cols-3, .features, .gallery { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

.lead { font-size: 1.1rem; max-width: 60em; }
.list-tight { padding-left: 1.1em; }
.list-tight li { margin-bottom: 4px; }

/* ---------- Case studies ---------- */
.case-image { width: 100%; max-height: 560px; object-fit: cover; }

/* ---------- Pricing (SphereVision) ---------- */
.pricing {
  position: relative; color: #fff;
  background: #222 center / cover no-repeat;
  text-align: center;
}
.pricing::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.pricing .container { position: relative; }
.pricing h1, .pricing h4 { color: #fff; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 820px; margin: 40px auto 0; }
.price { border: 1px solid rgba(255,255,255,0.4); padding: 36px 24px; }
.price p { font-size: 1.2rem; }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contact ---------- */
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; padding: 12px 14px;
  border: 1px solid #bbb; border-radius: 0; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-details p { margin-bottom: 0.4em; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin: 0; font-weight: 700; }
.form-status:empty { display: none; }
.form-status--ok { color: #1a7f37; }
.form-status--error { color: var(--accent); }
.contact-details a { color: var(--black); }

/* ---------- Legal ---------- */
.prose { max-width: 780px; }
.prose h4 { margin-top: 2em; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #ddd; padding: 56px 0; font-size: 0.95rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer strong { color: #fff; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 8px; text-align: right; }
@media (max-width: 600px) { .footer-links { text-align: left; } }

