/* PC's Unlimited — colors carried over from the original site (#2F5AAE / #24478C) */
:root {
  --blue: #2F5AAE;
  --blue-deep: #24478C;
  --navy: #13284F;
  --sky: #6EC1E4;
  --mist: #EEF3FA;
  --line: #D3DDEB;
  --ink: #1C2333;
  --muted: #566176;
  --white: #FFFFFF;
  --led-open: #22A35A;
  --led-appt: #E3A21A;
  --radius: 6px;
  --wrap: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 64px; /* room for mobile action bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 {
  font-stretch: 82%;
  font-weight: 760;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 8vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); }
h3 { font-size: 1.3rem; font-stretch: 90%; }
p, ul, ol { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 44em; }
.prose h2 { margin-top: 1.6em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 84px; height: 42px; flex: none; }
.brand-text { white-space: nowrap; font-size: 0.8rem; line-height: 1.25; color: var(--muted); font-stretch: 90%; }
.nav-wide { display: none; }
.nav-wide ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav-wide a { white-space: nowrap; }
.nav-wide a, .menu a { text-decoration: none; color: var(--ink); font-weight: 560; }
.nav-wide a[aria-current="page"], .menu a[aria-current="page"] { color: var(--blue); }

.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu[open] summary { background: var(--mist); }
.menu nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(19, 40, 79, 0.12); }
.menu nav ul { max-width: var(--wrap); margin: 0 auto; padding: 8px 20px 16px; }
.menu nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--mist); font-size: 1.1rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font-weight: 650; text-decoration: none; border: 2px solid var(--blue); font-size: 1.05rem; }
.btn-call { background: var(--blue); color: var(--white); }
.btn-call:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--blue-deep); }
.btn-ghost:hover { background: var(--mist); }
.btn.header-call { display: none; white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 0; }

/* ---------- status light ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 1.2em; padding: 7px 14px 7px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem; font-weight: 560; }
.status-led { width: 11px; height: 11px; border-radius: 50%; background: var(--led-appt); box-shadow: 0 0 0 3px rgba(227, 162, 26, 0.2); flex: none; }
.status.is-open .status-led { background: var(--led-open); box-shadow: 0 0 0 3px rgba(34, 163, 90, 0.22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(34, 163, 90, 0.08); } }
@media (prefers-reduced-motion: reduce) { .status.is-open .status-led { animation: none; } }

/* ---------- hero ---------- */
.hero { background: var(--mist); padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { max-width: 13em; }
.hero-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 1.4em 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.98rem; }
.hero-facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--blue); border-radius: 1px; vertical-align: 2px; }

.page-hero { background: var(--mist); padding: 36px 0 32px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); max-width: 16em; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 28px; }

.service-list { display: grid; gap: 0 48px; list-style: none; padding: 0; margin: 0; }
.service-list li { border-top: 2px solid var(--navy); padding: 18px 0 22px; }
.service-list h3 { margin-bottom: 0.3em; }
.service-list h3 a { color: var(--navy); text-decoration: none; }
.service-list h3 a:hover { color: var(--blue); text-decoration: underline; }
.service-list p { margin: 0; color: var(--muted); }

.split { display: grid; gap: 32px; align-items: start; }
.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

.price-table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.price-table th, .price-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td.price { text-align: right; font-weight: 700; font-stretch: 85%; font-size: 1.25rem; color: var(--navy); white-space: nowrap; padding-left: 16px; }
.price-table th { font-weight: 600; }
.price-table th span { display: block; font-weight: 400; color: var(--muted); font-size: 0.93rem; }

.hours { border-collapse: collapse; width: 100%; max-width: 26em; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; padding-right: 18px; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue-deep); font-weight: 700; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; font-size: 0.85em; }

.callout { background: var(--white); border-left: 5px solid var(--blue); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.2em 0; }
.section-alt .callout { background: var(--white); }
.note { background: var(--mist); border-radius: var(--radius); padding: 16px 20px; }

.reviews { display: grid; gap: 20px; }
.review { margin: 0; padding: 22px 22px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.review blockquote { margin: 0 0 12px; font-size: 1.1rem; }
.review blockquote p { margin: 0; }
.review blockquote p::before { content: "\201C"; color: var(--blue); font-weight: 800; }
.review blockquote p::after { content: "\201D"; color: var(--blue); font-weight: 800; }
.review figcaption { font-weight: 650; font-size: 0.95rem; }

.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 650; position: relative; list-style: none; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--blue); font-weight: 500; }
.faq[open] summary::after { content: "\2013"; }
.faq-a { padding: 0 0 16px; max-width: 44em; }
.faq-a p:last-child { margin-bottom: 0; }

.area-groups { display: grid; gap: 28px; }
.town-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.town-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 0.95rem; }
.section-alt .town-list li { background: var(--white); }

.map { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--radius); }
.check-list { padding-left: 1.2em; }
.check-list li { margin-bottom: 0.4em; }
.cta-band { background: var(--navy); color: #DCE6F5; padding: 44px 0; }
.cta-band h2 { color: var(--white); }
.cta-band .btn-ghost { color: var(--white); border-color: var(--sky); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- footer ---------- */
.site-footer { background: #0F2142; color: #C9D5E8; padding: 48px 0 24px; font-size: 0.97rem; }
.site-footer a { color: var(--white); }
.site-footer .hours th, .site-footer .hours td { border-color: rgba(255, 255, 255, 0.12); color: #C9D5E8; }
.site-footer .hours tr.is-today th, .site-footer .hours tr.is-today td { color: var(--sky); }
.site-footer .muted { color: #9FB0CC; }
.footer-grid { display: grid; gap: 32px; }
.footer-name { font-size: 1.4rem; font-weight: 760; font-stretch: 82%; color: var(--white); margin-bottom: 0.3em; }
.footer-head { font-weight: 700; color: var(--white); margin-bottom: 0.6em; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 32px; padding-top: 20px; }
.footer-base p { margin-bottom: 0.5em; }

/* ---------- mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.6fr 1fr; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(19, 40, 79, 0.1); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: flex; align-items: center; justify-content: center; min-height: 58px; font-weight: 700; text-decoration: none; }
.action-call { background: var(--blue); color: var(--white); }
.action-call:hover { color: var(--white); background: var(--blue-deep); }
.action-map { color: var(--blue-deep); }

/* ---------- larger screens ---------- */
@media (min-width: 720px) {
  .service-list { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .area-groups { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.1fr 1fr 1fr; }
  .hero { padding: 64px 0 72px; }
}
@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .menu { display: none; }
  .nav-wide { display: block; }
  .nav-wide ul { display: flex; gap: 20px; font-size: 0.96rem; }
  .btn.header-call { display: inline-flex; min-height: 42px; padding: 8px 16px; font-size: 0.98rem; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 48px; }
  .split.wide-first { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 980px) and (max-width: 1240px) {
  .brand-text { display: none; }
  .nav-wide ul { gap: 14px; font-size: 0.92rem; }
}

@media (max-width: 400px) { .brand-text { display: none; } }
