:root { --navy:#10243b; --teal:#0f8f7e; --teal-d:#0b7566; --mint:#3cc4ad; --ink:#263445; --muted:#5d6a79; --line:#e6e9ee; --soft:#f5f6f8; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
a { color: var(--teal-d); } a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--navy); }
.in { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--teal); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--teal-d); }
.btn.ghost { background: transparent; border: 1px solid #c9d0d8; color: var(--navy) !important; }
.btn.light { background: transparent; border: 1px solid #4b6582; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 46px; width: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: Georgia, serif; font-size: 20px; }
.brand small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; font-weight: 500; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--teal-d); }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero .in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 84px; }
.hero .eyebrow { color: #7fd8c9; }
.hero h1 { color: #fff; font-size: 54px; line-height: 1.08; margin: 18px 0 20px; }
.hero h1 i { font-style: normal; color: var(--mint); }
.hero p { font-size: 19px; line-height: 1.6; color: #c9d4e0; margin: 0 0 26px; max-width: 580px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 34px; padding-top: 26px; border-top: 1px solid #2c4560; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-family: Georgia, serif; font-weight: 400; font-size: 34px; color: #fff; }
.stats span { font-size: 14px; color: #c9d4e0; }
.hero-pic { position: relative; }
.hero-pic img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }

/* Sections */
section.band { padding: 88px 0; }
section.alt { background: var(--soft); }
.head { max-width: 760px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.head h2 { margin: 0; font-size: 40px; line-height: 1.15; }
.head p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--teal); transform: translateY(-2px); }
.card h3 { margin: 0; font-size: 19px; color: var(--navy); }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14px; color: var(--teal-d); }

/* Service detail rows */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.svc + .svc { margin-top: 96px; }
.svc.flip .pic { order: 2; }
.svc h2 { margin: 10px 0 14px; font-size: 38px; line-height: 1.15; }
.svc > div > p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 20px; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px 22px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e3f4f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8f7e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.brands li { font-size: 13px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.alt .brands li { background: #fff; }
.brands-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.pic { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(160deg, #163150, #10243b); box-shadow: 0 24px 50px rgba(16,36,59,.18); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic svg { width: 100%; height: 100%; }
.hub-link { display: flex; gap: 16px; align-items: center; margin-top: 8px; padding: 18px 20px; border-radius: 14px; background: #e3f4f1; border: 1px solid #bfe6df; text-decoration: none; color: var(--navy); }
.hub-link:hover { border-color: var(--teal); }
.hub-link b { display: block; font-size: 16px; }
.hub-link span { font-size: 14px; color: var(--muted); }
.hub-link em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--teal-d); white-space: nowrap; }

/* Access Hub band */
.hub { background: var(--navy); color: #fff; }
.hub .in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.hub h2 { color: #fff; font-size: 40px; line-height: 1.15; margin: 12px 0 16px; }
.hub p { color: #c9d4e0; font-size: 18px; line-height: 1.6; margin: 0 0 24px; }
.hub .eyebrow { color: #7fd8c9; }
.hub ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hub li { background: #183352; border: 1px solid #2c4560; border-radius: 12px; padding: 16px 18px; font-size: 15px; line-height: 1.5; color: #dbe4ee; }
.hub li b { color: #fff; display: block; margin-bottom: 2px; }

/* Steps */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; left: 26px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }

/* Contact */
.contact .in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; }
.contact h2 { margin: 12px 0 16px; font-size: 40px; line-height: 1.15; }
.contact .lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 26px; }
.ways { display: grid; gap: 12px; }
.ways a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 600; background: #fff; }
.ways a span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
form.card { gap: 16px; padding: 30px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { min-height: 48px; padding: 10px 14px; border: 1px solid #c9d0d8; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--mint); outline-offset: 1px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #c9d0d8; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }
.checks input { accent-color: var(--teal); width: 16px; height: 16px; }
#consult-status { margin: 0; font-size: 15px; min-height: 1.4em; }
button[disabled] { opacity: .6; cursor: wait; }
.small { font-size: 13px; color: var(--muted); margin: 0; }

/* Footer */
.foot { background: var(--navy); color: #c9d4e0; }
.foot .in { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; line-height: 1.8; }
.foot a { color: #c9d4e0; }
.foot b { color: #fff; font-size: 16px; }

/* Simple pages */
.page { max-width: 800px; margin: 0 auto; padding: 64px 32px; font-size: 16px; line-height: 1.7; }
.page h1 { font-size: 44px; line-height: 1.12; margin: 10px 0 14px; }
.page h2 { font-family: inherit; font-weight: 700; font-size: 22px; margin: 32px 0 8px; }

@media (max-width: 640px) {
  .in { padding: 0 20px; }
  .hero h1 { font-size: 40px; }
  .head h2, .svc h2, .hub h2, .contact h2 { font-size: 32px; }
  section.band { padding: 64px 0; }
  .top nav { display: none; }
  .svc.flip .pic { order: 0; }
}
/* fixes */
.top .in { flex-wrap: nowrap; }
.top nav { flex-wrap: nowrap; gap: 20px; font-size: 14.5px; white-space: nowrap; }
.top .btn { white-space: nowrap; flex: none; }
.checks input { min-height: 0; padding: 0; }
.stats { gap: 14px 32px; }
.stats b { font-size: 30px; }
.ways a > span:first-child { font-size: 22px; color: var(--teal); width: 28px; text-align: center; }
@media (max-width: 1180px) { .top nav { display: none; } }
@media (max-width: 480px) { .brand small { display: none; } .brand b { font-size: 17px; } .brand img { height: 38px; } .top .btn { padding: 0 14px; min-height: 42px; font-size: 14px; } }
.brand small { white-space: nowrap; }
@media (max-width: 480px) { .brand span { display: none; } }
/* photos */
.pic.tall { aspect-ratio: 4/5; max-height: 640px; }
.pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .ico { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--navy); }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(16,36,59,.85)); }
.svc .pic.tall { justify-self: center; width: 100%; max-width: 520px; }
.brand { flex: none; }
.top nav { gap: 18px; font-size: 14px; }
@media (max-width: 1400px) { .top nav a[href="https://abcaccesshub.com"] { display: none; } }
@media (max-width: 1260px) { .top nav { display: none; } }
.gallery figure img[src*="g-cabling"] { object-position: center 30%; }
