/* Computer Solutions - modern stylesheet
   Original palette: logo red #990000, nav red #b40000, charcoal #333,
   light gray #f0f0f0, aqua social band #caf5f7 / #a0e3e6 */

:root {
  --red: #990000;
  --red-bright: #b40000;
  --ink: #333333;
  --ink-soft: #636b75;
  --muted: #666666;
  --line: #e0dfdf;
  --soft: #f0f0f0;
  --softer: #f7f7f7;
  --aqua: #caf5f7;
  --aqua-deep: #a0e3e6;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-hover: 0 2px 4px rgba(0,0,0,.06), 0 14px 32px rgba(0,0,0,.10);
  --wrap: 1008px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-bright); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 300px; }
.badge { display: flex; align-items: center; }
.badge img { height: 34px; width: auto; }
.header-phone { margin-left: auto; text-align: right; line-height: 1.2; white-space: nowrap; }
.header-phone a { color: var(--ink); text-decoration: none; font-size: 24px; font-weight: 500; letter-spacing: .02em; }
.header-phone a:hover { color: var(--red-bright); }
.header-phone small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .04em; }

.nav-bar { background: var(--ink); }
.nav-bar ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; }
.nav-bar a {
  display: block; padding: 14px 22px; color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s;
}
.nav-bar a:hover { background: #444; color: var(--white); }
.nav-bar a[aria-current="page"] { background: var(--red-bright); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { display: block; }

/* ---------- Page heading ---------- */
.page-head { background: var(--softer); border-bottom: 1px solid var(--line); padding: 44px 0 0; }
.eyebrow { color: var(--red-bright); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; }
.page-head h1 { font-size: 40px; font-weight: 700; margin: 0 0 24px; }
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.subnav a {
  display: block; padding: 10px 18px; color: var(--muted); text-decoration: none; font-size: 15px;
  border-bottom: 3px solid transparent;
}
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--red-bright); }

/* ---------- Content ---------- */
main { display: block; }
.section { padding: 56px 0; }
.section + .section { padding-top: 0; }
.lead h2 { font-size: 32px; font-weight: 500; color: var(--ink); }
.lead p { font-size: 20px; color: var(--muted); max-width: 720px; line-height: 1.6; }

.cards { display: grid; gap: 24px; align-items: start; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { font-size: 20px; color: var(--red); margin-bottom: .6em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.checks { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* ---------- Home ---------- */
.hero { padding: 32px 0 0; }
.slideshow {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 960 / 300; background: var(--ink);
}
.slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease-in-out; }
.slideshow img.active { opacity: 1; }
.slideshow img:first-child { opacity: 1; }
.slideshow.js img:first-child:not(.active) { opacity: 0; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.5); transition: background .2s, transform .2s;
}
.dots button[aria-current="true"] { background: var(--white); transform: scale(1.2); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 40px; padding-bottom: 56px; }
.feature {
  display: block; text-decoration: none; color: var(--ink); padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature:hover { color: var(--ink); box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: transparent; }
.feature .icon {
  width: 48px; height: 48px; border-radius: 12px; background: #f9e3e3; color: var(--red-bright);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature h2, .feature h3 { font-size: 18px; margin: 0 0 4px; }
.feature p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.about-band { background: var(--soft); padding: 56px 0; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-grid h2 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about-grid .intro { font-size: 19px; line-height: 1.7; }

.newsletter { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.newsletter h2 { color: var(--red); font-size: 22px; letter-spacing: 0; text-transform: none; margin-bottom: 2px; }
.newsletter-intro { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.field label span { color: var(--red-bright); }
.field input {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #ccc;
  border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--red-bright); box-shadow: 0 0 0 3px rgba(180,0,0,.15); }
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 16px; color: var(--white);
  background: var(--red-bright); border: 0; border-radius: 999px; padding: 12px 28px; cursor: pointer;
  text-decoration: none; transition: background .2s;
}
.btn:hover { background: var(--red); color: var(--white); }

/* ---------- Partners ---------- */
.partner { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; }
.partner .logo {
  height: 72px; border-radius: var(--radius-sm); background: var(--softer); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 10px;
}
.partner .logo img { max-height: 48px; width: auto; }
.partner .logo span { font-weight: 700; color: var(--muted); }
.partner p { margin: 0; }
.partner strong { color: var(--ink); }

/* ---------- Testimonials ---------- */
.quotes { columns: 2; column-gap: 24px; }
.quote {
  break-inside: avoid; margin: 0 0 24px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: 6px; left: 20px; font-size: 64px; line-height: 1;
  color: var(--red-bright); opacity: .18; font-family: Georgia, serif;
}
.quote blockquote { margin: 0 0 16px; font-size: 16px; line-height: 1.7; }
.quote figcaption { font-size: 14px; font-weight: 700; }
.quote figcaption a { font-weight: 400; color: var(--muted); }
.cta-band { background: var(--soft); border-radius: var(--radius); padding: 32px; text-align: center; margin-top: 16px; }
.cta-band p { margin: 0 0 16px; font-size: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { margin-top: 12px; font-size: 15px; }
.info dl { margin: 0; }
.info dt { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.info dt:first-child { margin-top: 0; }
.info dd { margin: 4px 0 0; }
.info dd a { display: block; }

/* ---------- Social + footer ---------- */
.social-band { background: linear-gradient(90deg, var(--aqua) 0%, var(--aqua) 60%, var(--aqua-deep) 100%); }
.social-inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 24px; flex-wrap: wrap; }
.social-inner .follow { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--ink);
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.social a:hover { background: var(--ink); color: var(--white); }

.site-footer { background: var(--ink); color: #c9c9c9; padding: 40px 0; font-size: 14px; }
.footer-nav { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-nav a { color: var(--white); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; color: var(--white); }
.site-footer p { margin: 0; }
.site-footer p a { color: #c9c9c9; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .badge { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand img { width: 220px; }
  .header-phone { display: none; }
  .js .nav-toggle { display: block; }
  .nav-bar ul { flex-direction: column; }
  .js .nav-bar ul { display: none; }
  .js .nav-bar.open ul { display: flex; }
  .nav-bar a { padding: 14px 24px; }
  .page-head h1 { font-size: 30px; }
  .lead h2 { font-size: 26px; }
  .lead p { font-size: 18px; }
  .cards.two, .cards.three { grid-template-columns: 1fr; }
  .quotes { columns: 1; }
  .partner { grid-template-columns: 1fr; gap: 12px; }
  .partner .logo { width: 140px; }
  .section { padding: 40px 0; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Post-review additions ---------- */
/* Former inline styles, now classes */
.follow { margin: 0; }
p.lead-text { font-size: 18px; }
.features.flush { padding: 0; }
p.vcard-btn { margin: 24px 0 0; }

/* Phone link inside the mobile menu (the header phone is hidden on small screens) */
.nav-call { display: none; }
@media (max-width: 720px) {
  .nav-call { display: block; }
  .nav-call a { background: var(--red-bright); }
  .nav-call a:hover { background: var(--red); }
}

/* Wide wordmark logos (Archiware) use the full card width instead of the 140px logo column */
.partner.wide-logo { grid-template-columns: 1fr; }
.partner .logo.wide { height: auto; width: 100%; max-width: 320px; padding: 14px 18px; }
.partner .logo.wide img { max-height: none; width: 100%; height: auto; }

/* ---------- Final review additions ---------- */
/* Visually hidden, still read by screen readers (home page h1) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Newsletter honeypot: real visitors never see it, bots fill it in and get rejected by MailChimp */
.hp { position: absolute; left: -5000px; }
/* Contact card heading (now an h2) */
.info h2 { font-size: 20px; color: var(--red); margin-bottom: .6em; }
