/* The Computer Guy — site styles
   Layout: clean service-company site. Sticky header, split hero, image cards cropped to fixed
   ratios (no oversized photos), alternating image/text rows, dark call-to-action band. */
:root {
  --paper: #f4f6f7;
  --surface: #ffffff;
  --ink: #121a21;
  --muted: #55626d;
  --line: #dbe1e5;
  --accent: #1a5fd0;      /* brand blue: buttons and highlights */
  --accent-ink: #ffffff;
  --link: #1a5fd0;
  --band: #0c2347;        /* deep navy band */
  --band-fg: #eaf1fb;
  --band-muted: #a8bddb;
  --icon-bg: #e4eefc;
  --banner-eyebrow: #a9cbff;
  --star: #f2a900;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;

  --radius: 10px;
  --max: 1140px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1320; --surface: #121e30; --ink: #e5ecf5; --muted: #98a9c0; --line: #22334c;
    --accent: #4a8cf2; --accent-ink: #061227; --link: #7fb0f8;
    --band: #06101f; --band-fg: #eaf1fb; --band-muted: #98a9c0; --icon-bg: #1a2f52;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1320; --surface: #121e30; --ink: #e5ecf5; --muted: #98a9c0; --line: #22334c;
  --accent: #4a8cf2; --accent-ink: #061227; --link: #7fb0f8;
  --band: #06101f; --band-fg: #eaf1fb; --band-muted: #98a9c0; --icon-bg: #1a2f52;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose { max-width: 68ch; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font: 600 0.78rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.8em 1.3em;
  border-radius: 999px;
  font: 700 1rem/1 var(--body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.cta-band .btn-ghost { color: var(--band-fg); }
.phone { font-family: var(--mono); font-weight: 600; letter-spacing: 0.02em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.skip:focus { left: 12px !important; top: 12px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.brand span { font: 800 1.15rem/1.1 var(--display); }
.brand small { display: block; font: 500 0.72rem/1.2 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav summary {
  padding: 8px 12px; border-radius: 6px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  cursor: pointer;
}
.nav > a:hover, .nav summary:hover, .nav > a[aria-current="page"] { background: var(--paper); }
.nav details { position: relative; }
.nav summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav details[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.12); padding: 6px; display: grid;
}
.dropdown a { padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; }
.dropdown a:hover { background: var(--paper); }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 0.95rem var(--body); color: var(--ink); cursor: pointer; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .header-inner { flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 14px; margin-left: 0; }
  .site-header.open .nav { display: flex; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .header-cta { margin: 8px 0 0; justify-content: center; }
}

/* Sections */
section { padding-block: clamp(48px, 7vw, 88px); }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 70ch; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero-photo { position: relative; max-width: 440px; justify-self: end; width: 100%; }
.hero-photo > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.hero-photo .badge { position: absolute; left: -22px; bottom: -22px; width: 118px; height: 118px; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 8px 24px rgb(0 0 0 / 0.18); }
.hero-photo figcaption { margin-top: 12px; font-size: 0.92rem; color: var(--muted); text-align: right; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 0.82rem/1 var(--mono); padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.chip.remote { background: var(--icon-bg); border-color: transparent; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; max-width: 340px; }
  .hero-photo .badge { left: -8px; bottom: -14px; width: 92px; height: 92px; }
}

/* Page banner (inner pages) */
.banner { position: relative; color: #fff; background: #0b1116; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.banner .wrap { position: relative; padding-block: clamp(56px, 9vw, 110px); display: grid; gap: 16px; }
.banner .lead { color: #dfe6eb; }
.banner .eyebrow { color: var(--banner-eyebrow); }
.banner { background: #0c2347; }

/* Cards */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .card-body { padding: 22px; display: grid; gap: 8px; align-content: start; }
.card p { color: var(--muted); }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--icon-bg); display: grid; place-items: center; }
.icon img { width: 28px; height: 28px; }
:root[data-theme="dark"] .icon img { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon img { filter: invert(1); } }

/* Feature list (why choose us) */
.features { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { display: grid; gap: 6px; padding-top: 16px; border-top: 3px solid var(--accent); }
.feature p { color: var(--muted); }

/* Alternating image + text rows */
.rows { display: grid; gap: clamp(40px, 6vw, 72px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.row > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.row .row-copy { display: grid; gap: 12px; min-width: 0; }
.row .row-copy p { color: var(--muted); }
.row:nth-child(even) > img { order: 2; }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; }
  .row:nth-child(even) > img { order: 0; }
}

/* Team */
.team { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.person { display: grid; gap: 4px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 10px; }
.person strong { font: 700 1.1rem var(--display); }
.person span { color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.price-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-card > img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.price-card .card-body { padding: 24px; display: grid; gap: 18px; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.price-list .what { font-weight: 700; }
.price-list .note { grid-column: 1 / -1; color: var(--muted); font-size: 0.95rem; }
.price { font: 700 1.35rem/1.2 var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.price small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--muted); }

.rates-section { padding-top: 32px; }
.cash-note {
  grid-column: 1 / -1;
  margin: 0; padding: 16px 22px;
  background: var(--icon-bg); border-left: 4px solid var(--accent); border-radius: var(--radius);
  font-size: 1.2rem; font-weight: 700; color: var(--ink); line-height: 1.4;
}

/* Quote */
.quote { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 760px; }
.quote img { width: 64px; height: 64px; border-radius: 50%; }
.quote blockquote { margin: 0; font-size: 1.15rem; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--muted); }
.stars { color: var(--star); letter-spacing: 2px; }

/* Split info (contact, location) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list .label { font: 600 0.78rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-list .value { font: 700 1.3rem var(--mono); }

/* Form */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.95rem; }
.form-note.error { color: #c0392b; font-weight: 600; }
.form h2 { font-size: 1.5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq-group { display: grid; gap: 10px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { padding: 16px 20px; font-weight: 700; cursor: pointer; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div > * + * { margin-top: 0.6em; }
.checklist { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.cols-2 { columns: 2 260px; column-gap: 32px; }

/* Legal / text pages */
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); max-width: 820px; }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc h2:first-of-type { margin-top: 1.2em; }
.doc .meta { font: 500 0.88rem var(--mono); color: var(--muted); }

/* Call-to-action band */
.cta-band { background: var(--band); color: var(--band-fg); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-band .cta-copy { display: grid; gap: 10px; max-width: 60ch; }
.cta-band p { color: var(--band-muted); }

/* Google reviews */
.reviews { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; }
.reviews > * { min-width: 0; }
.review-summary { display: grid; gap: 6px; justify-items: center; text-align: center; }
.review-summary strong { font: 800 1.4rem var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.review-summary .stars { font-size: 1.8rem; letter-spacing: 3px; }
.review-summary p { color: var(--muted); font-size: 0.95rem; }
.google-word { font: 700 1.9rem/1 var(--body); letter-spacing: -0.02em; }
.google-word i { font-style: normal; }
.google-word i:nth-child(1), .google-word i:nth-child(4) { color: #4285f4; }
.google-word i:nth-child(2), .google-word i:nth-child(6) { color: #ea4335; }
.google-word i:nth-child(3) { color: #fbbc05; }
.google-word i:nth-child(5) { color: #34a853; }
.carousel { position: relative; }
.review-list {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px 2px;
}
.review-list::-webkit-scrollbar { display: none; }
@media (max-width: 1000px) { .review-list { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .review-list { grid-auto-columns: 88%; } }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.14);
}
.car-btn:hover { border-color: var(--accent); color: var(--accent); }
.car-btn.prev { left: -14px; }
.car-btn.next { right: -14px; }
@media (max-width: 600px) { .car-btn.prev { left: -6px; } .car-btn.next { right: -6px; } }
.review { margin: 0; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; }
.review figcaption { display: flex; align-items: center; gap: 10px; }
.review figcaption b { flex: 1; min-width: 0; }
.g-icon { width: 20px; height: 20px; flex: none; }
.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; background: #4285f4; color: #fff; font-size: 0.65rem; letter-spacing: 0; vertical-align: 2px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; flex: none; }
.review blockquote { margin: 0; color: var(--ink); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* Booking popup */
.book-dialog {
  width: min(560px, calc(100% - 32px));
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink);
  padding: 28px; box-shadow: 0 24px 60px rgb(0 0 0 / 0.25);
}
.book-dialog::backdrop { background: rgb(8 18 36 / 0.55); }
.book-dialog h2 { font-size: 1.6rem; padding-right: 36px; }
.book-dialog > p { color: var(--muted); margin-top: 8px; }
.book-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: var(--paper); color: var(--ink);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.book-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.book-option {
  display: grid; gap: 4px; padding: 18px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
}
.book-option + .book-option { background: var(--band); color: var(--band-fg); }
.book-option:hover { filter: brightness(1.08); }
.book-option strong { font: 700 1.1rem var(--display); }
.book-option span { font-size: 0.9rem; opacity: 0.9; }
.book-dialog .book-foot { margin-top: 18px; font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); border-top: 1px solid rgb(255 255 255 / 0.08); padding-block: 44px 28px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--band-fg); font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--band-fg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.slogan { font: 700 1.05rem var(--display); color: var(--band-fg); }
.copyright { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 0.85rem; }
