:root {
  --ink: #0e1a2b;
  --ink-2: #3a4a60;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --accent: #1f7ae0;
  --accent-2: #19b4d6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14,26,43,.06), 0 8px 24px rgba(14,26,43,.06);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--accent); margin-bottom: .8em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .98rem; padding: .85em 1.4em; border-radius: 10px; border: 0; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: #1765bd; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55em 1em; font-size: .9rem; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e8f1fd; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.logo { display: block; height: 60px; width: auto; overflow: visible; }
.footer-logo { height: 64px; margin: 0 0 14px -6px; }
nav ul { list-style: none; margin: 0; padding: 0; }
#nav > ul { display: flex; align-items: center; gap: 4px; }
#nav a, .sub-toggle { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; background: none; border: 0; font-family: inherit; cursor: pointer; }
#nav a:hover, .sub-toggle:hover { color: var(--ink); background: var(--bg-soft); }
#nav a[aria-current="page"], .has-sub.active > .sub-toggle { color: var(--accent); }
#nav a.btn { color: #fff; background: var(--accent); margin-left: 8px; }
#nav a.btn:hover { background: #1765bd; color: #fff; }
.sub-toggle svg { width: 12px; height: 12px; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span:not(.sr) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 1199px) {
  .menu-toggle { display: block; }
  #nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 72px); overflow: auto; }
  #nav.open { display: block; }
  #nav > ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 2px; }
  #nav a, .sub-toggle { padding: 12px; width: 100%; justify-content: space-between; font-size: 1rem; }
  #nav a.btn { margin: 8px 0 0; justify-content: center; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(25,180,214,.28), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(31,122,224,.35), transparent 60%), var(--navy); color: #fff; padding: 88px 0 96px; overflow: hidden; }
.hero .eyebrow { color: #7fd3ea; }
.hero .lead { color: #c9d6e8; font-size: 1.12rem; max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-sub { padding: 72px 0 64px; }
.hero-sub h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 22ch; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 380px; justify-self: center; width: 100%; }
.hero-art .links { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .links path { stroke: rgba(127,211,234,.4); stroke-width: 1.5; stroke-dasharray: 4 6; fill: none; animation: dash 12s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }
.hero-art .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 34%; aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.6rem); box-shadow: 0 0 0 10px rgba(31,122,224,.15), 0 20px 60px rgba(0,0,0,.35); }
.hero-art .node { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.hero-art .node .ico { width: 46%; height: 46%; stroke: #bfe8f5; }
.n1 { left: 9%; top: 12%; } .n2 { right: 9%; top: 12%; } .n3 { left: 9%; bottom: 12%; } .n4 { right: 9%; bottom: 12%; }
@media (prefers-reduced-motion: reduce) { .hero-art .links path { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 280px; } .hero { padding: 64px 0 72px; } }

/* Icons */
.ico { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: 80px 0; }
.section-lead { color: var(--ink-2); max-width: 65ch; font-size: 1.05rem; margin-bottom: 40px; }
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.cards > .card { flex: 0 1 calc((100% - 40px) / 3); }
.cards.two { max-width: 860px; justify-content: flex-start; }
.cards.two > .card { flex-basis: calc((100% - 20px) / 2); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfdcee; }
.card .ico { background: #eaf3fe; border-radius: 12px; padding: 10px; width: 48px; height: 48px; margin-bottom: 18px; }
.card p { color: var(--ink-2); font-size: .97rem; flex: 1; }
.card .btn { margin-top: 8px; }
.more { font-family: var(--font-head); font-weight: 700; text-decoration: none; font-size: .95rem; }
.more:hover span { margin-left: 4px; }
.more span { transition: margin .15s; }
@media (max-width: 960px) { .cards > .card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 620px) { .cards > .card, .cards.two > .card { flex-basis: 100%; } .section { padding: 56px 0; } }

.band { background: linear-gradient(120deg, var(--navy-2), var(--accent)); color: #fff; padding: 56px 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band p { color: #dbe8fa; max-width: 60ch; margin: 0; }
@media (max-width: 760px) { .band-inner { flex-direction: column; align-items: flex-start; } }

.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.group { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.group .purpose { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .groups { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: #dcecfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%231f7ae0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.prose { font-size: 1.05rem; color: var(--ink-2); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .ph { display: none; }
.photo.empty { aspect-ratio: 4/3; display: grid; place-items: center; }
.photo.empty .ph { display: block; }
.photo.empty .ph .ico { width: 56px; height: 56px; opacity: .4; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-grid .photo { aspect-ratio: 1; }

.section-soft { background: var(--bg-soft); }
.gear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gear { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.gear:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.gear-img { height: 240px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef3f9 75%); padding: 20px; }
.gear-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gear figcaption { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.gear figcaption b { font-family: var(--font-head); font-size: 1.02rem; }
.gear figcaption span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .gear-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gear-grid { grid-template-columns: 1fr; } }

.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.reason { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.reason .ico { margin-bottom: 14px; }
.reason p { color: var(--ink-2); margin: 0; }
@media (max-width: 700px) { .reasons { grid-template-columns: 1fr; } }
.note { margin-top: 28px; color: var(--muted); }

/* Contact */
.contact { background: var(--bg-soft); padding: 80px 0; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.contact-info p { color: var(--ink-2); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list a { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(31,122,224,.35); border-color: var(--accent); }
.contact-form .btn { justify-self: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .contact-form .row { grid-template-columns: 1fr; } .contact-form { padding: 20px; } }

/* Footer */
.site-footer { background: var(--navy); color: #b6c4d8; padding: 56px 0 24px; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.15rem; }
.footer-h { color: #fff; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #b6c4d8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #7e8fa8; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

.hero-art .core svg { width: 72%; height: 72%; }

/* Featured install services */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature { display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-img { background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef3f9 75%); display: flex; align-items: center; justify-content: center; padding: 20px; border-right: 1px solid var(--line); }
.feature-img img { max-width: 100%; max-height: 170px; width: auto; height: auto; object-fit: contain; }
.feature-body { padding: 24px 26px; display: flex; flex-direction: column; }
.feature-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.feature-h .ico { width: 22px; height: 22px; flex: none; }
.feature-h h3 { margin: 0; font-size: 1.2rem; }
.feature-body p { color: var(--ink-2); font-size: .97rem; flex: 1; }
@media (max-width: 1000px) { .features { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .feature { grid-template-columns: 1fr; } .feature-img { border-right: 0; border-bottom: 1px solid var(--line); height: 190px; } }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 14px; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--ink-2); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Secondary (managed IT) services */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
.mini:hover { border-color: #b9cfee; background: var(--bg-soft); }
.mini .ico { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.mini h3 { font-size: 1rem; margin-bottom: .3em; }
.mini p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.mini-arrow { margin-left: auto; color: var(--accent); font-weight: 700; }
@media (max-width: 900px) { .minis { grid-template-columns: 1fr; } }

/* FAQ */
.narrow { max-width: 820px; }
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-family: var(--font-head); font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); font-weight: 600; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }
.gallery-gap { margin-top: 64px; }
[id] { scroll-margin-top: 90px; }
#nav a, .sub-toggle { white-space: nowrap; }
@media (min-width: 1200px) { #nav > ul { gap: 0; } #nav a, .sub-toggle { padding: 8px 11px; } }

/* Service area */
.areas-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.areas .section-lead { margin-bottom: 0; }
.town-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.town-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.town-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
@media (max-width: 860px) { .areas-inner { grid-template-columns: 1fr; gap: 20px; } }
.footer-area { color: #8fa3bf; font-size: .9rem; }

/* Form select */
.contact-form select { font: inherit; font-weight: 400; color: var(--ink); padding: 12px 40px 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; width: 100%; appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%2364748b' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center/12px no-repeat; }
.contact-form select:focus { outline: 2px solid rgba(31,122,224,.35); border-color: var(--accent); }
