/* ===== Geek Hero — styles ===== */
:root {
  --red: #e6332a;
  --red-dark: #c0271f;
  --blue: #1c75bc;
  --blue-dark: #155a91;
  --navy: #15233f;
  --navy-2: #1d3057;
  --ink: #1a2233;
  --body: #475066;
  --muted: #79839b;
  --line: #e7eaf0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --gold: #ffb400;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(21, 35, 63, .25);
  --shadow-lg: 0 24px 60px -20px rgba(21, 35, 63, .35);
  --container: 1160px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

a { color: var(--blue); text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { --btn-bg: var(--red); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}
.brand-logo { height: 46px; width: auto; border-radius: 8px; }
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-call { padding: 10px 18px; }

/* mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--navy);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: #fff;
  margin: 0 auto;
  transition: .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; /* never shown on desktop; only flexed open within the mobile breakpoint */
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-menu a {
  color: var(--ink);
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 12px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #24386a 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 0%, rgba(28, 117, 188, .28), transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M0 30h22M38 30h22M30 0v22M30 38v22'/%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 90px 24px 96px;
}
.hero-copy { max-width: clamp(420px, 46vw, 560px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ffd24a;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 18px;
}
.hero .lead {
  font-size: 1.16rem;
  color: rgba(255, 255, 255, .85);
  max-width: 36em;
  margin: 0 0 30px;
}
.hero .lead strong { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0; padding: 0;
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255, 255, 255, .9);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.stars { color: var(--gold); letter-spacing: 2px; }

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
  z-index: 1;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 46%),
    linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 46%),
    linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ===== Stats ===== */
.stats {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat {
  text-align: center;
  padding: 28px 14px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ===== Brands marquee ===== */
.brands {
  padding: 56px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.brands-head { text-align: center; margin-bottom: 26px; }
.brands-head .kicker { margin-bottom: 6px; }
.brands-head p { margin: 0; color: var(--muted); font-weight: 600; }
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee var(--marquee-duration, 38s) linear infinite;
}
.marquee__item {
  flex: 0 0 auto;
  margin: 0 26px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: #aab2c4;
  white-space: nowrap;
  transition: color .2s ease;
}
.marquee__item:hover { color: var(--navy); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.kicker {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--red);
  margin: 0 0 10px;
}
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
.section-sub { font-size: 1.08rem; color: var(--body); margin: 0; }
.section-head--left { text-align: left; margin: 0 0 44px; max-width: 640px; }

/* ===== Service cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-ico {
  display: grid;
  place-items: center;
  width: fit-content;
  margin-bottom: 16px;
  color: var(--blue);
}
.card-ico svg { width: 30px; height: 30px; fill: currentColor; }
.card:nth-child(even) .card-ico { color: var(--red); }
.card h3 {
  font-size: 1.22rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 12px;
}
.card p { margin: 0; font-size: .98rem; }

/* ===== Why ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.why-media { height: 100%; }
.why-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
}

/* ===== Custom PC builds ===== */
.builds {
  background: linear-gradient(135deg, var(--navy) 0%, #101a30 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.builds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.builds h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.builds p { color: rgba(255, 255, 255, .82); }
.taglist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 28px;
}
.taglist li {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
}
.builds-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, .1);
}

/* ===== Reviews ===== */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review .stars { font-size: 1.05rem; margin-bottom: 12px; }
.review blockquote {
  margin: 0 0 18px;
  font-size: 1.02rem;
  color: var(--ink);
  flex: 1;
}
.review figcaption { display: flex; flex-direction: column; }
.review figcaption strong { color: var(--navy); font-family: var(--font-head); }
.review figcaption span { font-size: .85rem; color: var(--muted); }

/* Reviews as scrolling marquee */
.reviews-marquee {
  --marquee-duration: 46s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reviews-marquee .marquee { padding: 16px 0; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.reviews-marquee .review {
  width: min(380px, 84vw);
  flex: 0 0 auto;
  margin: 0 12px;
  white-space: normal;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.info-ico svg { width: 22px; height: 22px; fill: var(--blue); }
.info-list strong { display: block; font-family: var(--font-head); color: var(--navy); }
.info-list a { color: var(--body); }
.info-list a:hover { color: var(--blue); }

.hours, .pay { margin-top: 26px; }
.hours h3, .pay h3 {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.hours table { width: 100%; border-collapse: collapse; max-width: 360px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours th { font-family: var(--font-body); color: var(--ink); font-weight: 600; }
.hours td { color: var(--body); text-align: right; }
.hours .closed { color: var(--red); font-weight: 600; }
.pay ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  border: 1px solid var(--line);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--navy);
  color: #fff;
  border-top: 3px solid var(--red);
}
.cta-inner { text-align: center; padding: 64px 24px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-banner p { font-size: 1.12rem; margin: 0 0 26px; color: rgba(255, 255, 255, .75); }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-brand img { height: 52px; border-radius: 8px; background: #fff; padding: 6px; margin-bottom: 16px; }
.footer-brand p { margin: 0; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: rgba(255, 255, 255, .72); margin-bottom: 9px; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem;
}
.to-top { color: rgba(255, 255, 255, .72); font-weight: 600; }
.to-top:hover { color: #fff; }

/* ===== Reveal animation (degrades to visible) ===== */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }
  .hero-inner { padding: 64px 24px 0; }
  .hero-copy { max-width: none; }
  .hero-photo {
    position: relative;
    top: auto; right: auto; bottom: auto;
    width: auto;
    margin: 32px 24px 56px;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .why-grid, .builds-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .builds-media { order: -1; }
  .cards, .reviews { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: none; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .btn-call span { display: none; }
  .btn-call { padding: 10px 12px; }
  .cards, .reviews { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-right: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; border-right: none; }
  .section { padding: 64px 0; }
  .marquee__item { font-size: 1.2rem; margin: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
