/* =================================================================
   Advanced PC Solutions — Theme Stylesheet v2.0
   A modern design system for a managed-IT services site.
   ================================================================= */

:root {
  --apc-navy: #0B1B33;
  --apc-navy-2: #142A4D;
  --apc-blue: #2E7CF6;
  --apc-blue-dark: #1F5DD2;
  --apc-cyan: #22D3EE;
  --apc-emerald: #10B981;
  --apc-amber: #F59E0B;
  --apc-red: #EF4444;
  --apc-ink: #0F172A;
  --apc-text: #1E293B;
  --apc-muted: #64748B;
  --apc-line: #E2E8F0;
  --apc-line-2: #CBD5E1;
  --apc-bg: #F8FAFC;
  --apc-bg-2: #EEF4FB;
  --apc-white: #ffffff;

  --apc-shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --apc-shadow-sm: 0 4px 12px rgba(15, 23, 42, .06);
  --apc-shadow-md: 0 10px 28px rgba(15, 23, 42, .08);
  --apc-shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
  --apc-shadow-xl: 0 40px 100px rgba(11, 27, 51, .18);
  --apc-shadow-blue: 0 16px 36px rgba(46, 124, 246, .28);

  --apc-radius-sm: 10px;
  --apc-radius: 16px;
  --apc-radius-lg: 24px;
  --apc-radius-xl: 32px;

  --apc-container: 1200px;
  --apc-container-narrow: 880px;

  --apc-font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --apc-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --apc-ease: cubic-bezier(.22, 1, .36, 1);
}

/* =================== Reset / Base =================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--apc-white);
  color: var(--apc-text);
  font-family: var(--apc-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--apc-blue); text-decoration: none; transition: color .2s var(--apc-ease); }
a:hover { color: var(--apc-blue-dark); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(46, 124, 246, .45); outline-offset: 2px; border-radius: 6px; }

/* =================== Typography =================== */
h1, h2, h3, h4, h5 {
  font-family: var(--apc-font-display);
  color: var(--apc-navy);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.95rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #475569; max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--apc-blue); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--apc-blue), var(--apc-cyan));
  border-radius: 2px;
}

/* =================== Layout primitives =================== */
.container { width: min(calc(100% - 36px), var(--apc-container)); margin-inline: auto; }
.narrow { max-width: var(--apc-container-narrow); margin-inline: auto; }
.section-pad { padding: clamp(72px, 8vw, 110px) 0; }
.section-pad-sm { padding: clamp(48px, 5vw, 72px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.center-text { text-align: center; }

/* =================== Buttons =================== */
.btn, .button, input[type="submit"], button.apc-submit {
  --bg: linear-gradient(135deg, var(--apc-blue), var(--apc-blue-dark));
  --fg: #ffffff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 24px; border-radius: 999px; min-height: 50px;
  box-shadow: var(--apc-shadow-blue);
  transition: transform .2s var(--apc-ease), box-shadow .2s var(--apc-ease), background .2s var(--apc-ease);
  white-space: nowrap;
}
.btn:hover, .button:hover, input[type="submit"]:hover, button.apc-submit:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(46, 124, 246, .36);
}
.btn-sm { padding: 10px 16px; min-height: 40px; font-size: .9rem; }
.btn-ghost {
  --bg: rgba(255,255,255,.92); --fg: var(--apc-navy);
  border: 1.5px solid var(--apc-line);
  box-shadow: var(--apc-shadow-xs);
}
.btn-ghost:hover { color: var(--apc-blue); border-color: var(--apc-blue); }
.btn-amber {
  --bg: linear-gradient(135deg, #fbbf24, var(--apc-amber));
  --fg: #1F2937; box-shadow: 0 16px 36px rgba(245, 158, 11, .35);
}
.btn-amber:hover { color: #1F2937; box-shadow: 0 22px 44px rgba(245, 158, 11, .42); }
.btn-dark {
  --bg: var(--apc-navy); --fg: #ffffff;
  box-shadow: 0 14px 30px rgba(11, 27, 51, .35);
}
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--apc-blue);
}
.text-link::after { content: "→"; transition: transform .2s var(--apc-ease); }
.text-link:hover::after { transform: translateX(4px); }

/* =================== Skip link / a11y =================== */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
  position: fixed; left: 18px; top: 18px;
  background: var(--apc-navy); color: #fff !important;
  padding: 12px 18px; border-radius: 999px; z-index: 1000;
  width: auto; height: auto; clip: auto; clip-path: none;
}

/* =================== Header =================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.topbar {
  background: var(--apc-navy); color: #C7D6EC;
  font-size: .86rem; padding: 8px 0;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--apc-cyan); }
.topbar-meta { display: inline-flex; align-items: center; gap: 6px; }
.topbar-meta svg { width: 14px; height: 14px; }
.topbar-links { display: inline-flex; gap: 18px; flex-wrap: wrap; }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--apc-navy); }
.brand:hover { color: var(--apc-blue); }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--apc-blue), var(--apc-navy));
  display: grid; place-items: center; color: #fff;
  font-weight: 900; font-size: 1.1rem; letter-spacing: -.04em;
  box-shadow: 0 8px 18px rgba(46, 124, 246, .28);
}
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; color: var(--apc-navy); }
.brand-text small { font-size: .76rem; color: var(--apc-muted); font-weight: 500; }

.primary-nav .menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; padding: 0; margin: 0;
}
.primary-nav .menu a {
  display: inline-block; color: var(--apc-text);
  font-weight: 600; font-size: .96rem;
  padding: 10px 14px; border-radius: 999px;
  transition: background .2s var(--apc-ease), color .2s var(--apc-ease);
}
.primary-nav .menu a:hover,
.primary-nav .menu .current-menu-item > a {
  background: var(--apc-bg); color: var(--apc-navy);
}

.header-cta { display: inline-flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--apc-navy);
  padding: 8px 12px; border-radius: 999px;
  background: var(--apc-bg);
}
.header-phone svg { width: 16px; height: 16px; color: var(--apc-blue); }

.nav-toggle {
  display: none; background: transparent; border: 0;
  padding: 10px; border-radius: 12px; color: var(--apc-navy);
}
.nav-toggle:hover { background: var(--apc-bg); }
.nav-toggle span:not(.screen-reader-text) {
  display: block; width: 24px; height: 2px;
  margin: 5px 0; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--apc-ease), opacity .2s var(--apc-ease);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================== Hero =================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 80% -20%, rgba(34,211,238,.18), transparent 55%),
    radial-gradient(ellipse at 0% 110%, rgba(46,124,246,.14), transparent 55%),
    linear-gradient(180deg, #FAFCFF 0%, #ffffff 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
}
.hero::before {
  width: 600px; height: 600px;
  top: -180px; right: -180px;
  background: radial-gradient(circle at center, rgba(46,124,246,.18), transparent 60%);
  border-radius: 50%;
}
.hero::after {
  width: 400px; height: 400px;
  bottom: -160px; left: -120px;
  background: radial-gradient(circle at center, rgba(16,185,129,.15), transparent 60%);
  border-radius: 50%;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
.hero-copy { max-width: 640px; }
.hero h1 { color: var(--apc-navy); }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--apc-blue), var(--apc-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.hero-checks li {
  position: relative; padding-left: 32px;
  color: #334155; font-weight: 500;
}
.hero-checks li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(16,185,129,.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M7.5 13.5l-3-3 1.5-1.5 1.5 1.5L13 5l1.5 1.5z' fill='%2310B981'/></svg>");
  background-position: center; background-repeat: no-repeat;
}

.hero-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-left: auto;
}
.hero-card {
  position: absolute; inset: 0;
  background: #ffffff;
  border-radius: 36px;
  box-shadow: var(--apc-shadow-xl);
  overflow: hidden;
  border: 1px solid var(--apc-line);
}
.hero-card svg { width: 100%; height: 100%; display: block; }

.hero-floater {
  position: absolute; background: #fff;
  border: 1px solid var(--apc-line);
  border-radius: 18px; padding: 14px 16px;
  box-shadow: var(--apc-shadow-md);
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--apc-navy);
  z-index: 2;
}
.hero-floater small { display: block; color: var(--apc-muted); font-weight: 500; font-size: .78rem; }
.hero-floater .badge-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--apc-emerald), #059669);
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.hero-floater.top    { top: 22px; left: -22px; }
.hero-floater.bottom { bottom: 26px; right: -10px; }
.hero-floater.bottom .badge-icon {
  background: linear-gradient(135deg, var(--apc-amber), #D97706);
}

/* =================== Trust strip =================== */
.trust-strip {
  position: relative; z-index: 2; margin-top: -28px;
}
.trust-card {
  background: var(--apc-navy);
  color: #E2E8F0;
  border-radius: 26px;
  padding: 36px 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  box-shadow: var(--apc-shadow-xl);
  position: relative; overflow: hidden;
}
.trust-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at right top, rgba(34,211,238,.16), transparent 50%);
  pointer-events: none;
}
.trust-item {
  position: relative; padding: 6px 22px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.trust-item:first-child { border-left: 0; }
.trust-num {
  display: block; font-family: var(--apc-font-display);
  font-weight: 800; color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1;
  margin-bottom: 8px; letter-spacing: -.02em;
}
.trust-num .symbol { color: var(--apc-cyan); }
.trust-label { color: #93B0D6; font-size: .92rem; line-height: 1.4; }

/* =================== Service grid =================== */
.service-grid, .apc-service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card, .apc-service-card {
  position: relative;
  background: #fff; border: 1px solid var(--apc-line);
  border-radius: var(--apc-radius-lg); padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .25s var(--apc-ease), box-shadow .25s var(--apc-ease), border-color .25s var(--apc-ease);
}
.service-card::after, .apc-service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; border-radius: 0 0 var(--apc-radius-lg) var(--apc-radius-lg);
  background: linear-gradient(90deg, var(--apc-blue), var(--apc-cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--apc-ease);
}
.service-card:hover, .apc-service-card:hover {
  transform: translateY(-4px); box-shadow: var(--apc-shadow-lg);
  border-color: rgba(46, 124, 246, .25);
}
.service-card:hover::after, .apc-service-card:hover::after { transform: scaleX(1); }
.service-card .service-icon, .apc-service-card .service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(46,124,246,.12), rgba(34,211,238,.12));
  color: var(--apc-blue);
}
.service-card .service-icon svg, .apc-service-card .service-icon svg { width: 30px; height: 30px; }
.service-card h3, .apc-service-card h3 {
  font-size: 1.18rem; margin: 0 0 8px; color: var(--apc-navy);
}
.service-card p, .apc-service-card p {
  color: #475569; flex-grow: 1; margin: 0 0 18px;
  font-size: .95rem; line-height: 1.6;
}
.service-card .text-link, .apc-service-card .text-link { font-size: .92rem; }

/* Variant: feature card on dark */
.feature-band {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(34,211,238,.18), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(46,124,246,.15), transparent 50%),
    var(--apc-navy);
  color: #DBE7F8;
  position: relative; overflow: hidden;
}
.feature-band h2 { color: #fff; }
.feature-band .eyebrow { color: var(--apc-cyan); }
.feature-band .eyebrow::before { background: linear-gradient(90deg, var(--apc-cyan), var(--apc-emerald)); }
.feature-band .lead { color: #B7C7DE; }
.feature-band .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: .88rem;
}
.feature-band .pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--apc-cyan);
}

/* =================== Two-col / split layout =================== */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.two-col.reverse { grid-template-columns: .9fr 1.1fr; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }

/* =================== Why-us features =================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-tile {
  background: #fff; border: 1px solid var(--apc-line);
  border-radius: var(--apc-radius-lg); padding: 26px;
}
.feature-tile .feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
  color: #fff; font-weight: 800;
}
.feature-tile.f1 .feature-icon { background: linear-gradient(135deg, var(--apc-blue), var(--apc-blue-dark)); }
.feature-tile.f2 .feature-icon { background: linear-gradient(135deg, var(--apc-emerald), #059669); }
.feature-tile.f3 .feature-icon { background: linear-gradient(135deg, var(--apc-amber), #D97706); }
.feature-tile.f4 .feature-icon { background: linear-gradient(135deg, var(--apc-cyan), var(--apc-blue)); }
.feature-tile h3 { font-size: 1.1rem; margin: 0 0 8px; }
.feature-tile p { color: #475569; font-size: .94rem; margin: 0; }

/* =================== Process steps =================== */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.process-step {
  background: #fff; border: 1px solid var(--apc-line);
  border-radius: var(--apc-radius-lg); padding: 30px;
  position: relative;
}
.process-num {
  position: absolute; top: -18px; left: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--apc-blue), var(--apc-blue-dark));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--apc-shadow-blue);
}
.process-step h3 { margin-top: 18px; font-size: 1.15rem; }
.process-step p { color: #475569; font-size: .96rem; margin: 0; }

/* =================== Industries =================== */
.industry-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.industry-tile {
  background: #fff; border: 1px solid var(--apc-line);
  padding: 18px; border-radius: var(--apc-radius);
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--apc-navy);
  font-size: .96rem;
}
.industry-tile .ico {
  width: 36px; height: 36px; flex: none; border-radius: 10px;
  background: var(--apc-bg-2); color: var(--apc-blue);
  display: grid; place-items: center;
}
.industry-tile .ico svg { width: 18px; height: 18px; }

/* =================== FAQ =================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--apc-line);
  border-radius: var(--apc-radius); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px; font-weight: 700; color: var(--apc-navy);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--apc-blue);
  font-weight: 400; transition: transform .2s var(--apc-ease);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--apc-bg); display: grid; place-items: center; flex: none;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 24px 22px; color: #475569; }

/* =================== Reviews =================== */
.muted-section { background: var(--apc-bg); }
.review-grid, .apc-review-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.review-card, .apc-review-card {
  background: #fff; border: 1px solid var(--apc-line);
  border-radius: var(--apc-radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.apc-stars {
  color: var(--apc-amber); letter-spacing: 2px;
  font-size: 1.05rem;
}
.review-card p, .apc-review-card p {
  color: var(--apc-text); font-size: 1rem; line-height: 1.6;
  margin: 0; flex-grow: 1;
}
.apc-review-author {
  display: block; color: var(--apc-navy); font-weight: 800;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--apc-line);
}
.apc-help { color: var(--apc-muted); font-size: .9rem; }

/* =================== CTA banner =================== */
.cta-banner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(34,211,238,.18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(16,185,129,.15), transparent 55%),
    var(--apc-navy);
  color: #DBE7F8;
  border-radius: var(--apc-radius-xl);
  padding: clamp(34px, 5vw, 56px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  align-items: center; box-shadow: var(--apc-shadow-xl);
}
.cta-banner h2 { color: #fff; margin: 0 0 12px; }
.cta-banner p { color: #B7C7DE; margin: 0 0 22px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-banner-side {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--apc-radius-lg);
  padding: 26px;
}
.cta-banner-side h3 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.cta-banner-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cta-banner-side li { color: #DBE7F8; font-size: .96rem; padding-left: 22px; position: relative; }
.cta-banner-side li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--apc-emerald); font-weight: 800;
}

/* =================== Newsletter inline =================== */
.newsletter-inline {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  align-items: center;
  background: #fff; border: 1px solid var(--apc-line);
  border-radius: var(--apc-radius-xl);
  padding: 36px; box-shadow: var(--apc-shadow-md);
}

/* =================== Forms =================== */
.apc-form {
  background: #fff; border: 1px solid var(--apc-line);
  border-radius: var(--apc-radius-lg);
  padding: 30px; box-shadow: var(--apc-shadow-sm);
}
.apc-form h2 { font-size: 1.4rem; margin: 0 0 18px; }
.apc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apc-field-full { grid-column: 1 / -1; }
.apc-form label {
  display: grid; gap: 6px;
  font-weight: 700; color: var(--apc-navy); font-size: .92rem;
}
.apc-form input,
.apc-form textarea,
.apc-form select {
  width: 100%; border: 1.5px solid var(--apc-line);
  border-radius: var(--apc-radius-sm); padding: 12px 14px;
  background: #fff; color: var(--apc-text);
  font: inherit; transition: border-color .2s var(--apc-ease), box-shadow .2s var(--apc-ease);
}
.apc-form input:focus,
.apc-form textarea:focus,
.apc-form select:focus {
  outline: 0; border-color: var(--apc-blue);
  box-shadow: 0 0 0 4px rgba(46,124,246,.18);
}
.apc-form textarea { min-height: 140px; resize: vertical; }
.apc-form .apc-help {
  font-size: .85rem; color: var(--apc-muted); margin: 14px 0 18px;
}
.apc-honeypot { position: absolute; left: -9999px; opacity: 0; height: 1px; width: 1px; overflow: hidden; }
.apc-notice {
  border-radius: var(--apc-radius-sm); padding: 14px 18px;
  margin-bottom: 16px; font-weight: 600;
}
.apc-notice-success { background: rgba(16,185,129,.12); color: #065F46; border: 1px solid rgba(16,185,129,.3); }
.apc-notice-error   { background: rgba(239,68,68,.10); color: #7F1D1D; border: 1px solid rgba(239,68,68,.3); }

/* =================== Page templates =================== */
.content-main { background: linear-gradient(180deg, #F8FBFF, #fff); }
.content-card {
  background: #fff; border: 1px solid var(--apc-line);
  border-radius: var(--apc-radius-xl);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--apc-shadow-sm);
}
.content-card .entry-header { margin-bottom: 24px; }
.content-card .entry-content > *:last-child { margin-bottom: 0; }
.content-card .entry-content ul, .content-card .entry-content ol { padding-left: 1.4rem; }
.content-card .entry-content li { margin-bottom: 8px; }
.service-hero-image {
  width: min(280px, 100%); margin: 0 0 28px;
  padding: 26px; background: var(--apc-bg);
  border-radius: var(--apc-radius-lg);
}
.after-content-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--apc-line);
}
.archive-grid { align-items: stretch; }
.post-list { display: grid; gap: 18px; }
.post-meta { color: var(--apc-muted); font-weight: 600; font-size: .9rem; }
.pagination-wrap { margin-top: 36px; }
.pagination-wrap .page-numbers {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; margin: 0 4px;
  border-radius: 12px; font-weight: 700;
  background: #fff; border: 1px solid var(--apc-line); color: var(--apc-navy);
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
  background: var(--apc-blue); color: #fff; border-color: var(--apc-blue);
}

/* =================== Footer =================== */
.site-footer {
  background: #07142A; color: #B7C7DE;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(46,124,246,.12), transparent 60%);
  pointer-events: none;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--apc-cyan); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 40px; padding: 64px 0 40px; position: relative;
}
.footer-brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-mark {
  background: linear-gradient(135deg, var(--apc-cyan), var(--apc-blue));
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #93B0D6; }
.footer-col h2 {
  color: #fff; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .12em;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col ul a { font-weight: 500; color: #B7C7DE; }
.footer-col ul a:hover { color: #fff; }
.footer-contact p { color: #B7C7DE; font-size: .94rem; margin: 0 0 8px; }
.footer-contact strong { display: block; color: #fff; font-size: 1.05rem; }
.social-row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.social-row a, .apc-social-links a {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-weight: 700; font-size: .82rem;
}
.social-row a:hover, .apc-social-links a:hover {
  background: var(--apc-blue); border-color: var(--apc-blue); color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0; font-size: .88rem;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}

/* Mobile sticky call CTA (only mobile) */
.mobile-call-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  display: none; align-items: center; justify-content: space-between;
  background: var(--apc-navy); color: #fff;
  border-radius: 999px; padding: 10px 12px 10px 18px;
  box-shadow: var(--apc-shadow-xl);
}
.mobile-call-cta strong { display: block; font-size: .95rem; }
.mobile-call-cta small { display: block; color: #93B0D6; font-size: .78rem; }
.mobile-call-cta .btn { padding: 12px 18px; min-height: 42px; }

/* =================== Media queries =================== */
@media (max-width: 1080px) {
  .service-grid, .apc-service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid, .apc-review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .hero-grid, .two-col, .two-col.reverse, .cta-banner, .newsletter-inline {
    grid-template-columns: 1fr; gap: 36px;
  }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .trust-card { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .trust-item:nth-child(2) { border-left: 0; }
  .process { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .header-cta { display: none; }
  .primary-nav {
    display: none;
    position: absolute; left: 16px; right: 16px; top: 100%;
    background: #fff; border: 1px solid var(--apc-line);
    border-radius: var(--apc-radius-lg); padding: 14px;
    box-shadow: var(--apc-shadow-lg);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav .menu a { display: block; padding: 12px 14px; }
  .topbar-meta:nth-of-type(1) { display: none; }
}
@media (max-width: 720px) {
  .service-grid, .apc-service-grid, .feature-grid,
  .industry-grid, .review-grid, .apc-review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .apc-form-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-banner-actions { flex-direction: column; }
  .hero-actions .btn, .cta-banner-actions .btn { width: 100%; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .mobile-call-cta { display: flex; }
  body { padding-bottom: 80px; }
  .hero-floater.top, .hero-floater.bottom {
    left: auto; right: auto; bottom: auto; top: auto;
    position: static; margin: 12px auto;
  }
  .hero-visual { aspect-ratio: auto; }
}

/* ==================================================================
   Section background images (data center, building) — v2.1
   Two utility classes that turn an existing section into a dark,
   image-backed feature band with text legible on top.
   ================================================================== */
.section-bg {
  position: relative; isolation: isolate;
  color: #DBE7F8;
  background:
    var(--bg-overlay, linear-gradient(180deg, rgba(11,27,51,.78), rgba(11,27,51,.92))),
    var(--bg-image) center/cover no-repeat,
    var(--apc-navy);
  overflow: hidden;
}
.section-bg h2 { color: #fff; }
.section-bg p, .section-bg .lead { color: #B7C7DE; }
.section-bg .eyebrow { color: var(--apc-cyan); }
.section-bg .eyebrow::before { background: linear-gradient(90deg, var(--apc-cyan), var(--apc-emerald)); }
.section-bg .pill,
.section-bg .industry-tile {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}
.section-bg .industry-tile .ico { background: rgba(34,211,238,.15); color: var(--apc-cyan); }
.section-bg .btn-ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.section-bg .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* Float the existing card-illustrations a bit so they sit nicely on dark bg */
.section-bg .hero-card { box-shadow: 0 30px 80px rgba(0,0,0,.45); }

/* Specific images (paths injected at runtime in the templates). The two
   sections we use them on:
     #internet-phone — data center
     #cameras        — modern office building (already on a dark band)
*/
.section-bg-datacenter { --bg-image: var(--apc-bg-datacenter); }
.section-bg-building   { --bg-image: var(--apc-bg-building); }

/* For the camera section we want the building visible behind the existing
   feature-band gradient. Use a slightly lighter overlay so the building
   reads through. */
#cameras.section-bg-building {
  --bg-overlay: linear-gradient(120deg, rgba(11,27,51,.92) 0%, rgba(11,27,51,.55) 60%, rgba(11,27,51,.85) 100%);
}
