
:root {
  --ink: #0B1220;
  --ink-2: #1B2536;
  --muted: #5B6678;
  --line: #E4E7EC;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --accent: #1E5EFF;
  --accent-soft: #EAF0FF;
  --ok: #12B76A;
  --radius: 14px;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* Top bar + nav */
.topbar { background: var(--ink); color: #C9D1DE; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; height: 38px; align-items: center; }
.topbar span + span { margin-left: 24px; }
.topbar b { color: #fff; font-weight: 600; }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 76px; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: -3px; }
.nav ul { display: flex; gap: 30px; list-style: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav ul a.active { color: var(--accent); }
.nav .cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; white-space: nowrap; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.25); color: #fff; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
h1 { font-size: 60px; line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: 42px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
h3 { font-size: 20px; letter-spacing: -.01em; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.section { padding: 112px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.section-head h2 { max-width: 620px; margin-top: 14px; }
.section-head p { max-width: 420px; color: var(--muted); }

/* Hero */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 20%, transparent 70%); opacity: .6; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin: 20px 0 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .actions { display: flex; gap: 12px; margin-top: 34px; }
.trust { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust div { font-size: 13px; color: var(--muted); }
.trust strong { display: block; font-size: 26px; color: var(--ink); letter-spacing: -.02em; }

/* Monitor mock */
.monitor { background: var(--ink); border-radius: 20px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(11,18,32,.45); }
.monitor-bar { display: flex; justify-content: space-between; align-items: center; color: #9AA6B8; font-size: 12px; padding: 4px 6px 12px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #F04438; box-shadow: 0 0 0 4px rgba(240,68,56,.25); }
.feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feed { aspect-ratio: 16/10; border-radius: 10px; position: relative; overflow: hidden; background: linear-gradient(160deg, #2A3A55, #121B2B); }
.feed.f2 { background: linear-gradient(200deg, #33465F 0%, #18233A 60%); }
.feed.f3 { background: linear-gradient(120deg, #23324A, #0F1726); }
.feed.f4 { background: linear-gradient(180deg, #2C3D58, #141D2E); }
.feed .shape { position: absolute; background: rgba(255,255,255,.07); border-radius: 4px; }
.feed .lbl { position: absolute; left: 10px; bottom: 8px; font-size: 11px; color: #D5DCE7; font-weight: 500; }
.feed .ts { position: absolute; right: 10px; top: 8px; font-size: 10px; color: #8D99AD; font-family: ui-monospace, monospace; }
.feed .box { position: absolute; border: 1.5px solid #3DDC97; border-radius: 3px; }
.feed .box::after { content: "Person 98%"; position: absolute; top: -17px; left: -1.5px; font-size: 9px; background: #3DDC97; color: #04210F; padding: 1px 4px; border-radius: 2px; font-weight: 600; white-space: nowrap; }
.status-card { position: absolute; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 20px 40px -12px rgba(11,18,32,.25); display: flex; gap: 12px; align-items: center; font-size: 13px; border: 1px solid var(--line); }
.status-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #E7F8EF; color: var(--ok); }
.status-card b { display: block; font-size: 14px; }
.status-card span { color: var(--muted); }
.hero-visual { position: relative; }

/* Logos/accreditation strip */
.accred { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.accred .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.accred p { font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.badges { display: flex; gap: 44px; align-items: center; }
.badge { display: flex; align-items: center; gap: 10px; color: #7A8597; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.badge i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #A8B1C0; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; }

/* Services grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .2s; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { display: inline-flex; gap: 6px; margin-top: 20px; font-weight: 600; font-size: 14px; color: var(--ink); }
.card.feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.feature p { color: #AEB8C8; }
.card.feature .icon { background: rgba(255,255,255,.1); color: #fff; }
.card.feature .more { color: #fff; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.checklist { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E5EFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.stat strong { display: block; font-size: 44px; letter-spacing: -.04em; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.stat strong small { font-size: 24px; color: var(--accent); }
.stat span { color: var(--muted); font-size: 14px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 32px 28px 0 0; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step .n { font-size: 13px; font-weight: 700; color: var(--accent); font-family: ui-monospace, monospace; }
.step h3 { margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.stars { color: #F5B100; letter-spacing: 2px; font-size: 15px; margin-bottom: 16px; }
.quote p { font-size: 16px; color: var(--ink-2); flex: 1; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.who span { color: var(--muted); display: block; font-size: 13px; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(30,94,255,.55), transparent 70%); }
.cta-band h2 { font-size: 38px; max-width: 560px; }
.cta-band p { color: #AEB8C8; margin-top: 12px; }
.cta-band .actions { display: flex; gap: 12px; position: relative; z-index: 1; }

/* Footer */
footer { background: var(--ink); color: #AEB8C8; padding: 80px 0 32px; margin-top: 112px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer .logo { color: #fff; }
footer .logo-mark { background: var(--accent); }
footer .logo small { color: #7E8AA0; }
footer h4 { color: #fff; font-size: 14px; margin-bottom: 18px; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer .bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 13px; color: #7E8AA0; }

/* Page header */
.page-head { padding: 80px 0 72px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.page-head h1 { font-size: 52px; max-width: 760px; margin-bottom: 18px; }

/* Service list (services page) */
.svc-row { display: grid; grid-template-columns: 64px 1fr 1.3fr 140px; gap: 32px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc-row:first-child { border-top: 1px solid var(--line); }
.svc-row .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.svc-row h3 { font-size: 26px; letter-spacing: -.02em; }
.svc-row p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }
.svc-row .btn { justify-self: end; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.info-card + .info-card { margin-top: 14px; }
.info-card .icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.info-card b { display: block; font-size: 16px; }
.info-card span { color: var(--muted); font-size: 14px; }
.form { border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: 0 24px 60px -30px rgba(11,18,32,.2); }
.form h3 { font-size: 24px; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.input { height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; display: flex; align-items: center; color: #98A2B3; font-size: 15px; background: #fff; }
.input.area { height: 120px; align-items: flex-start; padding-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Detail page */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.prose h2 { font-size: 32px; margin: 0 0 16px; }
.prose p { color: var(--ink-2); margin-bottom: 16px; font-size: 17px; }
.prose .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 48px; }
.mini { border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.mini h4 { font-size: 16px; margin-bottom: 6px; }
.mini p { font-size: 14px; color: var(--muted); margin: 0; }
.aside { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--bg-soft); }
.aside h3 { margin-bottom: 8px; }
.aside p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.aside .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.faq { border-top: 1px solid var(--line); }
.faq div { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; font-weight: 600; }
.faq div span { color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.media { border-radius: 18px; aspect-ratio: 16/8; background: linear-gradient(135deg, #22324C, #0B1220); position: relative; overflow: hidden; margin-bottom: 48px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member .ph { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(170deg, #E9EDF3, #D4DAE4); margin-bottom: 14px; display: grid; place-items: center; color: #9AA4B5; font-size: 48px; font-weight: 800; }
.member b { display: block; }
.member span { color: var(--muted); font-size: 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.values h3 { margin: 16px 0 8px; }
.values p { color: var(--muted); }
.values .n { font-size: 13px; font-weight: 700; color: var(--accent); font-family: ui-monospace, monospace; }

/* Mobile */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .topbar, .nav ul, .nav .cta .btn-ghost { display: none; }
  .nav .wrap { height: 64px; }
  .nav .cta .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .menu { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; display: grid !important; place-items: center; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  .hero { padding: 48px 0 64px; }
  .hero .wrap, .split, .grid-3, .quotes, .steps, .contact-grid, .detail, footer .cols { grid-template-columns: 1fr; gap: 20px; }
  .hero .wrap { gap: 48px; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { justify-content: center; }
  .trust { gap: 18px; flex-wrap: wrap; }
  .trust strong { font-size: 22px; }
  .status-card { display: none; }
  .accred .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .badges { flex-wrap: wrap; gap: 20px; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .steps { border: 0; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .cta-band h2 { font-size: 28px; }
  .cta-band .actions { flex-direction: column; width: 100%; }
  .cta-band .actions .btn { justify-content: center; }
  footer { margin-top: 72px; }
  footer .bottom { flex-direction: column; gap: 8px; }
}
.menu { display: none !important; }
@media (max-width: 760px) { .menu { display: grid !important; } }
.logo { white-space: nowrap; }
@media (max-width: 760px) {
  .logo { font-size: 17px; }
  .trust { flex-wrap: nowrap; justify-content: space-between; }
  .trust div { font-size: 12px; }
}

/* ---------- Django build additions ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }
.nav ul a:hover, footer a:hover { color: var(--accent); }
footer a:hover { color: #fff; }
.btn:hover { filter: brightness(1.06); }
.btn-ghost:hover { border-color: #C5CBD5; }
.card:hover { border-color: #C9D3E6; box-shadow: 0 16px 40px -24px rgba(11,18,32,.25); transform: translateY(-2px); }
.card.feature:hover { border-color: var(--ink); }
.logo img { height: 40px; width: auto; display: block; }
footer .socials { display: flex; gap: 16px; margin-top: 20px; }

/* Mobile menu */
.mobile-menu { display: none; }
@media (max-width: 760px) {
  .menu { cursor: pointer; background: #fff; }
  .mobile-menu { position: fixed; inset: 64px 0 0; background: #fff; z-index: 20; padding: 24px 20px; overflow-y: auto; }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
  .mobile-menu .btn { display: flex; justify-content: center; margin-top: 20px; border: 1px solid var(--line); font-size: 16px; }
  body.menu-open { overflow: hidden; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .svc-row .btn { justify-self: start; }
  .page-head { padding: 48px 0; }
  .page-head h1 { font-size: 36px; }
  .row, .prose .grid-2, .values, .team, .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .row, .prose .grid-2, .values { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .aside { position: static; }
  .filters { flex-wrap: wrap; }
  .accred .badges .badge { font-size: 14px; }
  .stat { padding: 20px; }
  .stat strong { font-size: 34px; }
}

/* Real form controls styled like the mockup */
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=date], .form textarea {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.form textarea { height: 120px; padding-top: 12px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #98A2B3; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .chips > div { display: contents; }
.form .chips label { margin: 0; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; }
.form .chips input { position: absolute; opacity: 0; pointer-events: none; }
.form .chips label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.form .chips label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.form button.btn { width: 100%; justify-content: center; height: 52px; cursor: pointer; font: inherit; font-weight: 600; }
.errorlist { list-style: none; color: #D92D20; font-size: 13px; margin-top: 6px; }
.field.has-error input, .field.has-error textarea { border-color: #F04438; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 12px; background: #E7F8EF; color: #05603A; font-weight: 500; margin-bottom: 24px; border: 1px solid #A6EBC9; }

/* FAQ accordion */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--muted); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; margin: 0; }
.faq h3 { margin: 40px 0 8px; }

/* Media / photo placeholders */
.photo { border-radius: 18px; overflow: hidden; background: linear-gradient(150deg,#E9EDF3,#CBD3DF); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.member .ph { overflow: hidden; }
.badge img { height: 34px; width: auto; filter: grayscale(1); opacity: .75; }

/* Areas */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; }
.area .icon { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.area span { display: block; color: var(--muted); font-size: 14px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 32px 0 10px; }
.legal p { color: var(--ink-2); margin-bottom: 12px; }
@media (max-width: 760px) { .areas-grid { grid-template-columns: 1fr; } }
[id] { scroll-margin-top: 96px; }
fieldset { min-width: 0; } .contact-grid > *, .detail > *, .split > * { min-width: 0; }
.logo .logo-mark-img { width: 36px; height: 36px; flex: none; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 6px; } .topbar a:hover { color: #fff; }
@media (max-width: 760px) { .nav .cta .btn-primary { display: none; } }

/* Enterprise additions */
.form select { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 40px 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6678' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; appearance: none; }
.form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.info-card-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.info-card-dark span { color: #AEB8C8 !important; }
.info-card-dark .icon { background: rgba(255,255,255,.1) !important; color: #fff !important; }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .2s; }
.sector-card:hover { border-color: #C9D3E6; transform: translateY(-2px); }
.sector-card .icon, .sector-block .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.sector-card h3 { font-size: 18px; margin-bottom: 8px; }
.sector-card p { color: var(--muted); font-size: 14px; }
.sector-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.sector-block:first-child { padding-top: 0; }
.sector-block h2 { font-size: 32px; margin-bottom: 12px; }
.sector-block h3 { font-size: 16px; }
.sector-block .tags a:hover { border-color: var(--accent); color: var(--accent); }
.portal-promo { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.portal-promo > div { max-width: 680px; }
@media (max-width: 760px) {
  .sector-grid, .sector-block { grid-template-columns: 1fr; gap: 16px; }
  .portal-promo { flex-direction: column; align-items: flex-start; }
}
/* Homepage capabilities: 4 columns with a double-width feature card, so 7 services fill two rows */
@media (min-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-grid .card.feature { grid-column: span 2; }
}
@media (min-width: 761px) and (max-width: 999px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid .card.feature { grid-column: span 2; }
}
/* Signed-in state in the public header */
.inline-form { display: inline; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { color: #fff; text-decoration: underline; }
.portal-chip { padding-left: 8px; }
.portal-chip .avatar { width: 30px; height: 30px; font-size: 13px; background: var(--ink); color: #fff; }
.mobile-menu form { margin: 0; }
.wide-btn { width: 100%; justify-content: center; cursor: pointer; font: inherit; font-weight: 600; margin-top: 10px; }

/* CCTV stills inside the camera mock-ups */
.feed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.feed::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to top, rgba(5,9,16,.65), transparent); pointer-events: none; }
.feed .lbl, .feed .ts, .feed .box { z-index: 1; }
.feed .lbl { text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.feed .ts { color: #E3E8EF; background: rgba(5,9,16,.55); padding: 2px 6px; border-radius: 4px; }
.feed .box { border-width: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.cam-wall { aspect-ratio: auto; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 14px; }
.cam-side { display: grid; gap: 8px; grid-template-rows: 1fr 1fr; }
.cam-side .feed { aspect-ratio: auto; min-height: 0; }
@media (max-width: 760px) { .cam-wall { grid-template-columns: 1fr; } .cam-side { grid-template-columns: 1fr 1fr; } .cam-side .feed { aspect-ratio: 16/10; } }
.feed { isolation: isolate; }  /* keep camera labels under the floating status card */
.status-card { z-index: 2; }
@media (max-width: 760px) { .feed .ts .t { display: none; } .feed .ts { font-size: 9px; } }
