/* ==========================================================================
   Neighborhood IT Services — site styles
   Mobile-first. Brand: navy #1B2A41, green #2DB34A, blue #1E6FD9
   ========================================================================== */

:root {
  --navy: #1b2a41;
  --navy-900: #111c2d;
  --navy-700: #24375a;
  --green: #2db34a;
  --green-600: #229a3d;
  --green-700: #1b7f32;
  --blue: #1e6fd9;
  --blue-600: #185cb6;
  --ink: #1b2a41;
  --text: #3d4b60;
  --muted: #66758a;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --danger: #c62828;
  --rainbow: linear-gradient(90deg, #e53935 0%, #fb8c00 18%, #fdd835 36%, #43a047 54%, #1e88e5 74%, #8e24aa 100%);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(17, 28, 45, .06), 0 2px 8px rgba(17, 28, 45, .05);
  --shadow: 0 10px 30px -12px rgba(17, 28, 45, .25);
  --shadow-lg: 0 30px 60px -20px rgba(17, 28, 45, .35);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 84px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--rainbow); }
.eyebrow--light { color: #9ee6ad; }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--green); --_fg: #fff; --_bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  font-weight: 800; font-size: 1rem; letter-spacing: -0.005em; line-height: 1.1;
  color: var(--_fg); background: var(--_bg); border: 2px solid var(--_bd); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { color: var(--_fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(45, 179, 74, .6); background: var(--green-600); border-color: var(--green-600); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--ghost { --_bg: transparent; --_fg: #fff; --_bd: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.btn--outline { --_bg: transparent; --_fg: var(--navy); --_bd: var(--line); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.btn--navy { --_bg: var(--navy); --_bd: var(--navy); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header::after { /* subtle echo of the logo's rainbow cord */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--rainbow); opacity: .9;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(17, 28, 45, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: calc(var(--header-h) - 12px); width: auto; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
  background: transparent; border: 0; border-radius: 12px; cursor: pointer; color: var(--navy);
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle .bars { position: relative; width: 24px; height: 16px; }
.nav-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 7px; }
.nav-toggle .bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: #fff; border-top: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.5rem;
  box-shadow: 0 24px 40px -20px rgba(17, 28, 45, .35);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .25s, visibility 0s linear .3s;
}
.site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .3s var(--ease), opacity .25s, visibility 0s; }
.nav-list { list-style: none; display: grid; gap: .25rem; }
.nav-list a:not(.btn) {
  display: flex; align-items: center; min-height: 52px; padding: .5rem .75rem;
  font-weight: 700; font-size: 1.125rem; color: var(--navy); text-decoration: none; border-radius: 12px;
}
.nav-list a:not(.btn):hover { background: var(--bg-soft); }
.nav-list a[aria-current="page"]:not(.btn) { color: var(--green-700); }
.nav-list .nav-cta { margin-top: .75rem; }
.nav-list .nav-cta .btn { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; padding: 0; background: none; border: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible; transition: none;
  }
  .nav-list { display: flex; align-items: center; gap: .35rem; }
  .nav-list a:not(.btn) { position: relative; min-height: 44px; padding: .5rem 1rem; font-size: 1rem; }
  .nav-list a:not(.btn)::after {
    content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 6px; height: 2px; border-radius: 2px;
    background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav-list a:not(.btn):hover { background: none; }
  .nav-list a:not(.btn):hover::after, .nav-list a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
  .nav-list a[aria-current="page"]:not(.btn) { color: var(--navy); }
  .nav-list .nav-cta { margin: 0 0 0 .75rem; }
  .nav-list .nav-cta .btn { width: auto; min-height: 46px; padding: .7rem 1.3rem; }
}

body.nav-open { overflow: hidden; }
@media (min-width: 900px) { body.nav-open { overflow: auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 860px); display: flex; align-items: center;
  color: #fff; padding-block: clamp(5rem, 12vw, 8rem);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 28, 45, .55) 0%, rgba(17, 28, 45, .35) 40%, rgba(17, 28, 45, .85) 100%),
    linear-gradient(90deg, rgba(17, 28, 45, .85) 0%, rgba(17, 28, 45, .35) 70%, rgba(17, 28, 45, .15) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { max-width: 820px; }
.hero:not(.hero--page) .hero__content { max-width: none; }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 5.2vw, 3.75rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero h1 .brand-name { display: block; color: #7fe08f; font-size: .5em; letter-spacing: -0.01em; margin-bottom: .55em; }
.hero:not(.hero--page) { min-height: 0; }
.hero:not(.hero--page) h1 { color: #7fe08f; margin-bottom: 1.5rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 640px; margin-bottom: 2.25rem; }
.hero__cats { font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 700; color: #fff; max-width: 720px; margin: 0 0 .35rem; text-wrap: pretty; }
.hero__tag { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 0 1.75rem; }
.hero:not(.hero--page) .hero__lead { margin-bottom: .75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }

.hero--page { min-height: 0; padding-block: clamp(4rem, 10vw, 6.5rem); }
.hero--page h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 1rem; }
.hero--page .hero__lead { margin-bottom: 0; }
.hero--plain { background: radial-gradient(1200px 500px at 85% -20%, rgba(30, 111, 217, .45), transparent 60%), radial-gradient(900px 400px at -10% 120%, rgba(45, 179, 74, .35), transparent 60%), var(--navy); }
.hero--plain::before { display: none; }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 2; width: 100%; margin: 0 0 1.5rem; }
.trust__grid {
  display: grid; gap: 1px; background: var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  align-items: stretch;
}
.trust__item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; padding: 1.15rem 1.2rem; min-width: 0; height: 100%; }
.trust__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; margin-top: .1rem; border-radius: 14px; background: rgba(45, 179, 74, .12); color: var(--green-700); }
.trust__icon svg { width: 24px; height: 24px; }
.trust__item strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.4; font-weight: 700; }
.trust__item span { color: var(--muted); font-size: .95rem; }
@media (min-width: 760px) { .trust__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 759px) {
  .trust { margin-bottom: 1.25rem; }
  .trust__item { padding: 1rem 1.1rem; }
}

/* ---------- Service teaser cards ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(6, 1fr); } .cards > :nth-child(-n+6) { grid-column: span 2; } .cards > :nth-child(n+7) { grid-column: span 3; } }
.card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 1.5rem; border-radius: var(--radius-lg); color: #fff; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card picture, .card img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.card img { object-fit: cover; transition: transform .7s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 28, 45, .12) 0%, rgba(17, 28, 45, .5) 35%, rgba(17, 28, 45, .86) 62%, rgba(17, 28, 45, .95) 100%); transition: background .35s; }
.card:hover { color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover img { transform: scale(1.06); }
.card h3, .card p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.card h3 { color: #fff; font-size: 1.4rem; margin-bottom: .35rem; }
.card p { color: rgba(255, 255, 255, .82); font-size: .98rem; margin: 0; max-width: 34ch; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 800; font-size: .92rem; color: #9ee6ad; }
.card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }
.cards-foot { margin-top: 2.5rem; text-align: center; }

/* ---------- About ---------- */
.about { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1.15fr .85fr; } }
.about h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.about__text p { font-size: 1.125rem; }
.about__tagline { font-weight: 800; color: var(--ink); font-size: 1.2rem !important; margin-top: 1.5rem; }
.about__tagline span { color: var(--green-700); }
.standards {
  position: relative; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.standards::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rainbow); }
.standards h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1.25rem; }
.standards ul { list-style: none; display: grid; gap: .9rem; }
.standards li { display: flex; gap: .85rem; align-items: center; font-weight: 700; font-size: 1.05rem; }
.standards li svg { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--green); color: #fff; }
.standards__since { display: flex; align-items: baseline; gap: .75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.standards__since b { font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; color: #7fe08f; }
.standards__since span { color: rgba(255, 255, 255, .75); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff;
  padding: clamp(2.25rem, 6vw, 4rem); display: grid; gap: 1.5rem; align-items: center;
  background: radial-gradient(800px 300px at 100% 0%, rgba(30, 111, 217, .55), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(45, 179, 74, .35), transparent 60%), var(--navy);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: .4rem; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 1.1rem; }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Services page panels ---------- */
.svc-list { display: grid; }
.svc {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: clamp(320px, 52vh, 520px); display: flex; align-items: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.svc__media, .svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc__media { z-index: -2; }
.svc__media img { object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17, 28, 45, .9) 0%, rgba(17, 28, 45, .65) 45%, rgba(17, 28, 45, .25) 100%),
              linear-gradient(0deg, rgba(17, 28, 45, .7) 0%, transparent 60%);
  transition: background .5s var(--ease), opacity .5s;
}
.svc__inner { width: 100%; padding-block: clamp(2rem, 6vw, 3.5rem); }
.svc__head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.svc__num { font-size: .8rem; font-weight: 800; letter-spacing: .16em; color: #9ee6ad; display: block; margin-bottom: .5rem; }
.svc__title { color: #fff; font-size: clamp(2rem, 6vw, 3.75rem); letter-spacing: -0.03em; margin: 0; }
.svc__toggle {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.25rem;
  min-height: 48px; padding: .7rem 1.2rem .7rem 1.3rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-weight: 800; font-size: .98rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
@media (hover: hover) { .svc__toggle:hover { background: #fff; color: var(--navy); border-color: #fff; } }
.svc__toggle .plus { position: relative; width: 14px; height: 14px; }
.svc__toggle .plus::before, .svc__toggle .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.svc__toggle .plus::after { transform: rotate(90deg); }
.svc.is-open .svc__toggle .plus::after { transform: rotate(0deg); }
.svc__toggle .label-close { display: none; }
.svc.is-open .svc__toggle .label-open { display: none; }
.svc.is-open .svc__toggle .label-close { display: inline; }

.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.svc__panel > div { overflow: hidden; min-height: 0; }
.svc__body { padding-top: 1.5rem; max-width: 760px; opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease) .05s, transform .5s var(--ease) .05s; }
.svc__desc { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; color: #fff; margin-bottom: 1.25rem; max-width: 40ch; }
.svc__bullets { list-style: none; display: grid; gap: .65rem; }
.svc__bullets li { display: flex; gap: .75rem; align-items: flex-start; color: rgba(255, 255, 255, .92); font-size: 1.02rem; line-height: 1.45; }
.svc__bullets li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
@media (min-width: 720px) { .svc__bullets { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }

/* open state (tap/click/keyboard) */
.svc.is-open .svc__panel { grid-template-rows: 1fr; }
.svc.is-open .svc__body { opacity: 1; transform: none; }
.svc.is-open::before { background: linear-gradient(90deg, rgba(17, 28, 45, .93) 0%, rgba(17, 28, 45, .82) 55%, rgba(17, 28, 45, .55) 100%), linear-gradient(0deg, rgba(17, 28, 45, .6) 0%, transparent 60%); }
.svc.is-open .svc__media img { transform: scale(1.04); }

.svc__toggle .label-hover { display: none; }

/* hover reveal on real hover-capable devices; the toggle becomes a subtle text button (still keyboard/click operable) */
@media (hover: hover) and (pointer: fine) {
  .svc:hover .svc__panel { grid-template-rows: 1fr; }
  .svc:hover .svc__body { opacity: 1; transform: none; }
  .svc:hover::before { background: linear-gradient(90deg, rgba(17, 28, 45, .93) 0%, rgba(17, 28, 45, .82) 55%, rgba(17, 28, 45, .55) 100%), linear-gradient(0deg, rgba(17, 28, 45, .6) 0%, transparent 60%); }
  .svc:hover .svc__media img { transform: scale(1.04); }
  .svc__toggle { min-height: 36px; margin-top: .9rem; padding: .35rem .2rem; background: none; border: 0; border-radius: 8px; -webkit-backdrop-filter: none; backdrop-filter: none; color: rgba(255, 255, 255, .72); font-size: .9rem; font-weight: 700; transition: opacity .3s, color .2s; }
  .svc__toggle:hover { background: none; color: #fff; }
  .svc__toggle .label-open, .svc__toggle .plus { display: none; }
  .svc__toggle .label-hover { display: inline-flex; align-items: center; gap: .5rem; }
  .svc__toggle .label-hover svg { width: 18px; height: 18px; }
  .svc.is-open .svc__toggle .label-hover { display: none; }
  .svc:not(.is-open):hover .svc__toggle { opacity: 0; }
}

.svc-jump { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-jump ul { list-style: none; display: flex; gap: .35rem; overflow-x: auto; padding-block: .65rem; scrollbar-width: none; }
.svc-jump ul::-webkit-scrollbar { display: none; }
.svc-jump a { display: inline-flex; align-items: center; white-space: nowrap; min-height: 40px; padding: .4rem .95rem; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--navy); text-decoration: none; background: var(--bg-soft); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.svc-jump a:hover, .svc-jump a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (min-width: 900px) { .svc-jump ul { justify-content: center; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.75rem; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.info-card { text-decoration: none; color: inherit; }
a.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.info-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: .9rem; color: #fff; background: var(--blue); }
.info-card__icon svg { width: 24px; height: 24px; }
.info-card__icon--green { background: var(--green); }
.info-card__icon--fb { background: #1877f2; }
.info-card h2 { font-size: 1.15rem; margin: 0; }
.info-card p { margin: 0; color: var(--muted); }
.info-card .value { color: var(--ink); font-weight: 700; word-break: break-word; }
a.info-card .value { color: var(--blue); }

/* ---------- Form ---------- */
.form-wrap { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) { .form-wrap { grid-template-columns: 1fr 340px; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-section + .form-section { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.form-section__title { display: flex; align-items: center; gap: .75rem; font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1.25rem; }
.form-section__title .step { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; }
.fields { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: .45rem; }
.req { color: var(--danger); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 600; font-size: .85rem; margin-left: 4px; }
.input {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1.5px solid #d3dbe6; border-radius: 12px; background: #fff;
  font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.55; }
.input::placeholder { color: #9aa7b8; }
.input:hover { border-color: #b6c2d2; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 217, .15); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(198, 40, 40, .1); }
.hint { font-size: .87rem; color: var(--muted); margin-top: .4rem; }
.error { display: none; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 700; color: var(--danger); margin-top: .45rem; }
.error.is-visible { display: flex; }
.error svg { width: 16px; height: 16px; flex: none; }

fieldset.checks { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.checks legend { padding: 0; }
.check-grid { display: grid; gap: .7rem; }
@media (min-width: 560px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check label {
  display: flex; align-items: center; gap: .85rem; min-height: 58px; padding: .75rem 1rem; margin: 0;
  border: 1.5px solid #d3dbe6; border-radius: 14px; cursor: pointer; font-weight: 700; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.check label:hover { border-color: #b6c2d2; background: var(--bg-soft); }
.check .box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #b6c2d2; background: #fff; transition: background .2s, border-color .2s; }
.check .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.check input:checked + label { border-color: var(--green); background: rgba(45, 179, 74, .07); }
.check input:checked + label .box { background: var(--green); border-color: var(--green); }
.check input:checked + label .box svg { opacity: 1; transform: none; }
.check input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
fieldset.checks[aria-invalid="true"] .check label { border-color: rgba(198, 40, 40, .55); }

.file-drop {
  position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.15rem;
  border: 2px dashed #c9d3e0; border-radius: 14px; background: var(--bg-soft); transition: border-color .2s, background .2s;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--blue); background: #eef4fd; }
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop input:focus-visible ~ .file-drop__btn { outline: 3px solid var(--blue); outline-offset: 2px; }
.file-drop__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.file-drop__icon svg { width: 22px; height: 22px; }
.file-drop__text { flex: 1; min-width: 0; }
.file-drop__text strong { display: block; color: var(--ink); font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop__text span { font-size: .87rem; color: var(--muted); }
.file-drop__btn { flex: none; font-weight: 800; font-size: .9rem; color: var(--blue); padding: .5rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
@media (max-width: 420px) { .file-drop__btn { display: none; } }
.file-clear { display: none; margin-top: .5rem; background: none; border: 0; padding: .25rem 0; color: var(--danger); font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.file-clear.is-visible { display: inline-block; }

.form-alert { display: none; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; margin-bottom: 1.5rem; border-radius: 12px; background: #fdecec; color: #8e1c1c; font-weight: 700; border: 1px solid #f5c2c2; }
.form-alert.is-visible { display: flex; }
.form-alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.form-submit { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-submit .btn { min-width: 220px; }
.form-submit p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 559px) { .form-submit .btn { width: 100%; } }
.hidden-field { display: none !important; }

.aside-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; }
.aside-card h2 { font-size: 1.15rem; }
.aside-card ol { margin: 0 0 1.5rem; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 1rem; }
.aside-card ol li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: .75rem; font-size: .98rem; }
.aside-card ol li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1.5px solid var(--green); color: var(--green-700); font-weight: 800; font-size: .85rem; }
.aside-card ol li strong { display: block; color: var(--ink); }
.aside-card .divider { height: 1px; background: var(--line); margin: 1.5rem 0; }
.aside-card a { font-weight: 700; word-break: break-word; }
@media (min-width: 1000px) { .aside-card { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Simple message pages (thanks/404) ---------- */
.message { min-height: calc(100vh - var(--header-h) - 340px); display: grid; place-items: center; text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.message__icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 1.5rem; border-radius: 50%; background: rgba(45, 179, 74, .12); color: var(--green-700); }
.message__icon svg { width: 40px; height: 40px; }
.message h1 { font-size: clamp(2rem, 5vw, 3rem); }
.message p { max-width: 540px; margin: 0 auto 2rem; font-size: 1.125rem; color: var(--muted); }
.message .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.message__code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-900); color: rgba(255, 255, 255, .72); padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .98rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rainbow); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1.5fr .8fr .8fr; } }
.footer-brand .logo-chip { display: inline-block; background: #fff; border-radius: 14px; padding: .6rem .8rem; margin-bottom: 1.25rem; }
.footer-brand .logo-chip img { height: 64px; width: auto; }
.footer-brand p { max-width: 30ch; margin: 0; }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 32px; word-break: break-word; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.fb-link svg { width: 20px; height: 20px; flex: none; }
.social-btn { display: inline-grid !important; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s var(--ease); }
.social-btn:hover { background: #1877f2; transform: translateY(-2px); }
.social-btn svg { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .88rem; color: rgba(255, 255, 255, .55); }
.footer-bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__content > :nth-child(3) { animation-delay: .2s; }
.hero__content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.svc-jump a.chip-cta { background: var(--green); border-color: var(--green); color: #fff; }
.svc-jump a.chip-cta:hover { background: var(--green-600); border-color: var(--green-600); }
.section--flush-top { padding-top: 0; }
.hint--lead { margin: 0 0 1.5rem; }
.hint--legend { margin: -.5rem 0 1rem; }
.aside-card__label { margin: 0 0 .35rem; font-weight: 700; color: var(--ink); }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .svc { min-height: clamp(460px, 64vh, 600px); } }

/* Compact page header + tighter form spacing (quote page) */
.hero--compact { padding-block: clamp(.75rem, 2vw, 1.1rem); }
.hero--compact h1 { margin: 0; font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.section--form { padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem); }
.aside-card ol li > div { padding-top: .2rem; }
/* Rainbow accents: under the page banner, and along the top of the form + sidebar cards */
.hero--compact::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rainbow); opacity: .9; }
.form-card { position: relative; overflow: hidden; }
.aside-card { overflow: hidden; }
@media (max-width: 999px) { .aside-card { position: relative; } }
.form-card::before, .aside-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rainbow); }
/* Compact footer */
.site-footer { padding-top: clamp(2rem, 4vw, 2.75rem); }
.footer-grid { gap: 1.75rem; padding-bottom: 1.75rem; align-items: start; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1.2fr .8fr .8fr; } }
.footer-brand .logo-chip { margin-bottom: .75rem; padding: .5rem .7rem; }
.footer-brand .logo-chip img { height: 56px; }
.site-footer h2 { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 2px; text-underline-offset: 6px; margin-bottom: .75rem; }
.footer-bottom { padding-block: 1rem; }
.footer-brand p { max-width: 42ch; }
@media (max-width: 759px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-grid > .footer-brand, .footer-grid > div:nth-child(2) { grid-column: 1 / -1; }
}
/* Center each footer link under its heading */
.footer-grid > div:not(.footer-brand) { justify-self: start; width: fit-content; text-align: center; }
.footer-grid > div:not(.footer-brand) ul { justify-items: center; }
.hero--compact h1 + .hero__lead { margin-top: .4rem; font-size: clamp(.98rem, 1.4vw, 1.08rem); }
/* Category bar: wrap (never clip) on wider screens; swipe on phones */
@media (min-width: 900px) {
  .svc-jump ul { flex-wrap: wrap; overflow: visible; justify-content: center; gap: .35rem .4rem; padding-block: .55rem; }
  .svc-jump a { min-height: 34px; padding: .3rem .8rem; font-size: .86rem; }
}
@media (max-width: 899px) {
  .svc-jump .container { padding-inline: 0; }
  .svc-jump ul { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
@media (min-width: 1200px) {
  .svc-jump .container { max-width: none; }
  .svc-jump a { padding: .3rem .75rem; }
}
.svc-jump { border-bottom: 0; }
.svc-jump::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--rainbow); opacity:.9; pointer-events:none; }

/* ---------- Legal pages (Privacy Policy) ---------- */
.section--legal { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal { max-width: 820px; }
.legal__intro { font-style: italic; color: var(--muted); }
.legal h2 { font-size: 1.2rem; margin: 1.9em 0 .55em; }
.legal ul { padding-left: 1.3rem; margin: 0 0 1em; display: grid; gap: .45rem; }
.legal li { padding-left: .2rem; }
.legal strong { color: var(--ink); }
/* footer legal link next to the copyright line */
.footer-bottom a { display: inline; min-height: 0; color: rgba(255, 255, 255, .72); }
.legal__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.legal__num { margin-right: .35em; }
.legal__caps { font-size: .95rem; line-height: 1.55; }
.legal__sub { font-size: 1.05rem; font-style: italic; margin: 1.4em 0 .5em; }
.legal__bpara { padding-left: 1.25rem; }
.legal h2 + p, .legal h3 + p { margin-top: 0; }

/* ---------- Custom PC build gallery ---------- */
.svc-group { display: grid; }
.build-gallery { background: var(--bg-soft); color: var(--ink); padding-block: clamp(1.5rem, 4vw, 2.25rem); border-bottom: 1px solid var(--line); }
.build-gallery__head { margin-bottom: 1rem; }
.build-gallery__head h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 0; }
.build-gallery__grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .build-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
.build-gallery__item { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: var(--navy); text-decoration: none; color: inherit; border: 1px solid var(--line); }
.build-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
a.build-gallery__item:hover img { transform: scale(1.04); }
.build-gallery__item--placeholder {
  display: grid; place-items: center; text-align: center; padding: 1rem;
  color: var(--muted); font-weight: 700; font-size: .95rem;
  border: 1px dashed rgba(27, 42, 65, .22);
  background-color: #f4f6f8;
  background-image: var(--rainbow);
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: top left;
}

/* ---------- Image lightbox (build gallery) ---------- */
.lightbox { border: 0; padding: 0; max-width: min(1100px, 96vw); max-height: 94vh; background: transparent; }
.lightbox::backdrop { background: rgba(17, 28, 45, .88); }
.lightbox img { display: block; max-width: 96vw; max-height: 88vh; width: auto; height: auto; margin: 0 auto; border-radius: 8px; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; font-weight: 700; }
.lightbox__close:hover { background: var(--green); color: #fff; }
