/* Ingcweti ACE Technology */
:root {
  --blue: #377fbf;
  --blue-dark: #1d4f86;
  --navy: #0f2a4a;
  --sky: #e9f2fb;
  --ink: #1f2933;
  --muted: #5b6875;
  --line: #dde5ee;
  --bg: #ffffff;
  --radius: 6px;
  --wrap: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; color: var(--navy); letter-spacing: .01em; }
h2 { font-size: 1.9rem; margin: 2rem 0 .75rem; }
h3 { font-size: 1.35rem; margin: 1.25rem 0 .5rem; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.show-sm { display: none; }

/* Top bar */
.topbar { background: var(--blue); color: #fff; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar__name { font-weight: 600; letter-spacing: .02em; }
.topbar__links { display: flex; gap: 20px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; fill: currentColor; }

/* Header + nav */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 62px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--head); font-size: 1.7rem; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.brand__text small { font-size: .82rem; color: var(--blue); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }

.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.nav li { position: relative; }
.nav a, .nav__parent { display: block; padding: 10px 8px; font: 600 .92rem/1.2 var(--body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav > ul > li > a:hover, .nav__parent:hover, .nav li.active > a, .nav li.active > .nav__parent { color: var(--blue); }
.nav li.active > a, .nav li.active > .nav__parent { box-shadow: inset 0 -3px 0 var(--blue); }
.has-sub > .nav__parent::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 2px; }
.nav__caret { display: none; }
.sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: 0 10px 24px rgba(15,42,74,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; z-index: 60; }
.nav li:nth-last-child(-n+2) .sub { left: auto; right: 0; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 9px 18px; font-weight: 400; }
.sub a:hover, .sub a[aria-current] { background: var(--sky); color: var(--blue-dark); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Page heading */
.pagehead { background: linear-gradient(120deg, var(--navy), var(--blue-dark) 55%, var(--blue)); color: #fff; padding: 46px 0 40px; }
.pagehead h1 { color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 2.9rem); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% 20%, rgba(55,127,191,.55), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 60%, var(--blue) 100%); }
.hero::after { content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border-radius: 50%; border: 38px solid rgba(255,255,255,.06); box-shadow: 0 0 0 60px rgba(255,255,255,.04), 0 0 0 130px rgba(255,255,255,.03); }
.hero__inner { position: relative; z-index: 1; padding: 90px 20px 100px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); margin: .2em 0 .3em; text-transform: uppercase; letter-spacing: .02em; }
.eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: #bcd8f3; margin: 0; }
.hero__lead { font-size: 1.2rem; max-width: 640px; color: #e3eef9; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; padding: 12px 24px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid var(--blue); cursor: pointer; font: 700 1rem/1.2 var(--body); }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Sections */
.section { padding-top: 48px; padding-bottom: 56px; }
.section--tint { background: var(--sky); }
.section__title { margin-top: 0; text-align: center; }
.prose { max-width: 860px; }
.prose > :first-child { margin-top: 0; }
.lead { font-size: 1.2rem; color: var(--navy); }
.intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.quote { margin: 0; padding: 28px 30px; border-left: 5px solid var(--blue); background: var(--sky); font-family: var(--head); font-size: 1.6rem; line-height: 1.3; color: var(--navy); border-radius: 0 var(--radius) var(--radius) 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: block; background: #fff; border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: var(--ink); border-top: 4px solid var(--blue); box-shadow: 0 2px 10px rgba(15,42,74,.06); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,42,74,.12); color: var(--ink); }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { position: relative; padding: 6px 0 6px 28px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.boxes { gap: 24px; margin-top: 24px; }
.box { background: var(--sky); padding: 8px 24px 16px; border-radius: var(--radius); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 36px; }
.gallery figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--sky); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.figure-center { margin: 32px auto; max-width: 900px; }
figure { margin: 24px 0; }
figure img { border-radius: var(--radius); }

.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.clients h2 { margin-top: 0; padding-bottom: 8px; border-bottom: 3px solid var(--blue); }

/* M365 */
.notice { background: #f5821f; color: #fff; text-align: center; font-weight: 700; padding: 12px 16px; border-radius: var(--radius); margin: 0 0 28px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; background: #fff; }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 10px 28px rgba(15,42,74,.1); }
.plan h2 { margin: 0; font-size: 1.7rem; }
.plan h2 small { display: block; font-size: .95rem; color: var(--blue); letter-spacing: .08em; text-transform: uppercase; }
.plan__price { font-family: var(--head); font-size: 2.8rem; font-weight: 700; color: #cf2e2e; margin: 12px 0 16px; line-height: 1; }
.plan__price span { display: block; font-family: var(--body); font-size: .85rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.plan .checklist { flex: 1; }
.plan .btn { text-align: center; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact h2 { margin-top: 0; }
.map { margin: 20px 0 8px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.contact__form { background: var(--sky); padding: 30px; border-radius: var(--radius); }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; margin-bottom: 4px; }
.field b { color: #cf2e2e; }
.field input, .field textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c4d1de; border-radius: var(--radius); background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.has-error input, .has-error textarea { border-color: #cf2e2e; }
.field small, .field-error { color: #cf2e2e; font-size: .9rem; }
.g-recaptcha { margin: 6px 0 18px; }
.alert { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.alert--ok { background: #e3f6e8; color: #17692f; border: 1px solid #a8dcb6; }
.alert--err { background: #fdecec; color: #9b1c1c; border: 1px solid #f3b4b4; }

/* Footer */
.footer { background: var(--blue); color: #eaf3fc; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 44px; padding-bottom: 36px; }
.footer__h { color: #fff; font-size: 1.35rem; margin: 0 0 10px; }
.footer a { color: #fff; }
.footer p { margin: 0; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin: 4px 0; }
.footer__bottom { background: rgba(0,0,0,.18); padding: 14px 0; font-size: .9rem; }

/* Desktop: logo already carries the INGCWETI wordmark, so drop the text to keep the menu on one line */
@media (min-width: 1101px) { .brand__text { display: none; } .brand img { width: 66px; } }

/* Responsive */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 130px 0 0 0; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; border-top: 1px solid var(--line); }
  .nav.open { transform: none; }
  .nav > ul { display: block; padding: 8px 20px 40px; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav__parent { padding: 14px 4px; font-size: 1.05rem; width: 100%; text-align: left; }
  .nav li.active > a, .nav li.active > .nav__parent { box-shadow: none; }
  .has-sub > a { padding-right: 52px; }
  .nav__caret { display: block; position: absolute; right: 0; top: 4px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .nav__caret::after, .has-sub > .nav__parent::after { content: ""; position: absolute; right: 16px; top: 20px; border: 6px solid transparent; border-top-color: var(--navy); margin: 0; }
  .has-sub.open > .nav__caret::after, .has-sub.open > .nav__parent::after { transform: rotate(180deg); top: 14px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; min-width: 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 860px) {
  .intro, .contact, .clients, .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .cards, .plans { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .cols-2 { columns: 1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hide-sm, .topbar__name { display: none; }
  .show-sm { display: inline; }
  .topbar__links { width: 100%; justify-content: space-between; }
  .header__inner { min-height: 76px; }
  .brand img { width: 46px; }
  .brand__text strong { font-size: 1.4rem; }
  .nav { inset: 114px 0 0 0; }
  .cards, .plans, .gallery { grid-template-columns: 1fr; }
  .hero__inner { padding: 60px 16px 70px; }
  .contact__form { padding: 20px; }
  .quote { font-size: 1.35rem; }
}
