/* City landing pages — shared styles (matches ocsecuritycameras.com homepage design) */
:root {
  --bg: #0b0f1a; --surface: #111827; --surface2: #1a2235; --border: #1e2d45;
  --accent: #2563eb; --accent-h: #1d4ed8; --amber: #f59e0b; --amber-h: #d97706;
  --text: #e2e8f0; --muted: #94a3b8; --white: #ffffff;
  --font-d: 'Barlow Condensed', sans-serif; --font-b: 'Nunito Sans', sans-serif;
  --r: 8px; --rl: 14px; --t: 0.25s ease; --maxw: 1100px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-b); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }
input, select, textarea { font-family: inherit; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
nav { position: sticky; top: 0; z-index: 100; background: rgba(11,15,26,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-d); font-size: 1.2rem; font-weight: 800; color: var(--white); }
.logo-icon { width: 34px; height: 34px; background: var(--accent); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 20px; height: 20px; fill: #fff; }
.logo .amb { color: var(--amber); margin-left: 4px; }
.nav-phone { display: flex; align-items: center; gap: 7px; font-family: var(--font-d); font-size: 1.05rem; font-weight: 700; color: var(--white); }
.nav-phone svg { width: 16px; height: 16px; fill: var(--amber); flex-shrink: 0; }
.nav-phone:hover { color: var(--amber); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 22px; border-radius: var(--r); font-family: var(--font-d); font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; transition: background var(--t), transform var(--t), box-shadow var(--t); white-space: nowrap; }
.btn-amber { background: var(--amber); color: #0b0f1a; box-shadow: 0 0 20px rgba(245,158,11,0.3); }
.btn-amber:hover { background: var(--amber-h); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--white); box-shadow: 0 0 20px rgba(37,99,235,0.3); }
.btn-accent:hover { background: var(--accent-h); transform: translateY(-2px); }
.btn-lg { padding: 14px 30px; font-size: 1.1rem; }
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--accent); } .breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; filter: brightness(0.13) saturate(0.4); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,15,26,0.95) 0%, rgba(17,24,39,0.8) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.label { display: inline-block; font-family: var(--font-d); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h1 { font-family: var(--font-d); font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900; line-height: 1.05; color: var(--white); text-transform: uppercase; margin-bottom: 16px; }
h1 .amb { color: var(--amber); } h1 .blu { color: #93c5fd; }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 580px; margin-bottom: 28px; line-height: 1.7; }
.hero-sub strong { color: var(--text); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 0; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 8px; padding: 8px 20px; border-right: 1px solid var(--border); font-family: var(--font-d); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.trust-item:last-child { border-right: none; }
.ck { width: 20px; height: 20px; background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ck svg { width: 12px; height: 12px; stroke: #22c55e; stroke-width: 2.5; fill: none; }
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-family: var(--font-d); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 14px; }
h2 .amb { color: var(--amber); }
.body-text { color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 720px; }
.body-text + .body-text { margin-top: 14px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.perks { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.perk { display: flex; align-items: flex-start; gap: 12px; }
.perk-icon { width: 32px; height: 32px; background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.perk-icon svg { width: 16px; height: 16px; stroke: var(--accent); stroke-width: 2; fill: none; }
.perk-text strong { display: block; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.perk-text span { font-size: 0.9rem; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-box { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--rl); padding: 24px 20px; text-align: center; }
.stat-num { font-family: var(--font-d); font-size: 2.6rem; font-weight: 900; color: var(--amber); line-height: 1; }
.stat-lbl { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 40px; }
.svc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); padding: 26px 24px; transition: border-color var(--t), transform var(--t); }
.section-alt .svc-card { background: var(--surface2); }
.svc-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.svc-icon { width: 48px; height: 48px; background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc-icon svg { width: 24px; height: 24px; stroke: var(--accent); stroke-width: 1.75; fill: none; }
.svc-card h3 { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); margin-bottom: 8px; }
.svc-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.faq-item { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--rl); padding: 22px 24px; }
.faq-q { font-family: var(--font-d); font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.faq-a { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }
.form-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: start; }
.form-left h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.form-left .desc { color: var(--muted); margin-top: 14px; font-size: 1rem; line-height: 1.75; }
.form-left .ctas { margin-top: 24px; }
.form-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); padding: 34px 30px; box-shadow: 0 8px 48px rgba(0,0,0,0.5); }
.form-box h3 { font-family: var(--font-d); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; color: var(--white); letter-spacing: 0.04em; margin-bottom: 20px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.fg input, .fg select, .fg textarea { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--r); padding: 11px 14px; color: var(--text); font-size: 0.97rem; outline: none; transition: border-color var(--t), box-shadow var(--t); -webkit-appearance: none; }
.fg input::placeholder, .fg textarea::placeholder { color: #4b5563; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.fg select { cursor: pointer; }
.fg select option { background: var(--surface2); }
.fg textarea { resize: vertical; min-height: 80px; }
.btn-submit { width: 100%; margin-top: 6px; padding: 14px; font-size: 1.1rem; }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 10px; }
#form-status { display: none; margin-top: 14px; padding: 14px 18px; border-radius: var(--r); font-weight: 600; text-align: center; }
#form-status.success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35); color: #4ade80; }
#form-status.error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #f87171; }
.nearby { padding: 48px 0; }
.nearby h2 { font-size: 1.6rem; margin-bottom: 8px; }
.nearby-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { color: var(--amber); font-size: 0.92rem; padding: 5px 14px; border-radius: 20px; border: 1px solid rgba(245,158,11,0.25); transition: background var(--t), border-color var(--t); }
.pill:hover { background: rgba(245,158,11,0.1); border-color: var(--amber); }
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 36px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-copy { font-size: 0.85rem; color: #4b5563; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--muted); transition: color var(--t); }
.footer-links a:hover { color: var(--accent); }
.float-call { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; align-items: center; gap: 9px; background: var(--amber); color: #0b0f1a; padding: 13px 20px; border-radius: 50px; font-family: var(--font-d); font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 4px 20px rgba(245,158,11,0.45); transition: transform var(--t), box-shadow var(--t); }
.float-call:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(245,158,11,0.6); }
.float-call svg { width: 18px; height: 18px; fill: #0b0f1a; }
/* locations index */
.county-header { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); margin: 40px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.county-header .amb { color: var(--amber); }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.loc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; transition: border-color var(--t), transform var(--t); }
.loc-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.loc-card .city-name { display: block; font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.loc-card .county { display: block; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 900px) {
  .why-grid, .form-wrap { grid-template-columns: 1fr; gap: 36px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-phone { display: none; }
  .frow { grid-template-columns: 1fr; }
  .form-box { padding: 24px 16px; }
  .trust-item { padding: 8px 12px; font-size: 0.82rem; flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--border); justify-content: center; }
  .trust-item:last-child { border-bottom: none; }
  .float-call .fc-label { display: none; }
  .float-call { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
}
