/* =====================================================================
   PHILLY PC REPAIR — styles
   ✏️ To change colors or fonts site-wide, edit the values in :root below.
   ===================================================================== */

:root {
  /* Philly palette — a nod to the 76ers (navy, blue, red) and the Eagles (midnight green, silver, kelly) */
  --sixers-navy:   #002b5c;
  --sixers-blue:   #006bb6;
  --sixers-red:    #ed174c;
  --eagles-green:  #004c54;
  --eagles-silver: #a5acaf;
  --eagles-kelly:  #6abf4b;

  /* Working shades of the palette */
  --navy-900: var(--sixers-navy);
  --blue-700: #005a9c;            /* Sixers blue, darkened for readable link text */
  --blue-600: var(--sixers-blue);
  --blue-200: #9fcbee;
  --blue-50:  #e6f1fa;
  --red-700:  #d7173f;            /* Sixers red, darkened so white button text stays readable */
  --red-800:  #b3112f;
  --green-900: #00363c;           /* Eagles midnight green, deepened for the footer */
  --green-50:  #e3eff0;
  --silver-200: #c8cdd0;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-400: #4ade80;
  --red-600:   #dc2626;
  --amber-500: #f59e0b;

  /* Roles */
  --color-text: var(--slate-900);
  --color-muted: var(--slate-600);
  --color-border: var(--slate-200);
  --color-surface: var(--slate-50);
  --color-link: var(--blue-700);
  --color-button: var(--red-700);
  --color-button-hover: var(--red-800);

  /* System fonts load instantly and look native on every device */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 6px 20px rgb(15 23 42 / 0.06);
  --container: 1160px;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.2; letter-spacing: -0.015em; }
h1, h2 { text-wrap: balance; }
h3 { text-wrap: pretty; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--color-link); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }

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

.sr-only {
  position: absolute; 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: 12px; top: -100px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
i[data-icon] { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; }
i[data-icon] .icon { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.25rem;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-lg { min-height: 56px; padding: 0.95rem 1.6rem; font-size: 1.0625rem; }
.btn-primary { background: var(--color-button); color: #fff; }
.btn-primary:hover { background: var(--color-button-hover); color: #fff; }
.btn-outline { background: #fff; border-color: var(--slate-300); color: var(--slate-900); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn-outline-light { border-color: rgb(255 255 255 / 0.45); color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / 0.1); border-color: #fff; color: #fff; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--slate-100); color: var(--navy-900); }
.btn[disabled] { opacity: 0.7; cursor: wait; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--color-border);
  border-top: 4px solid var(--sixers-red);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.logo {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em;
  color: var(--navy-900); text-decoration: none;
}
.logo:hover { color: var(--navy-900); }
.logo-mark { width: 34px; height: 34px; color: var(--sixers-blue); }

.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--slate-700); font-weight: 600; text-decoration: none;
}
.site-nav a:hover { background: var(--slate-100); color: var(--slate-900); }
.site-nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--slate-900); cursor: pointer;
}
.nav-toggle i[data-icon] { width: 24px; height: 24px; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline-flex; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 24px rgb(15 23 42 / 0.08); padding: 8px 20px 16px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px; }
  .header-call { min-height: 44px; padding: 0.55rem 0.9rem; }
}
@media (max-width: 480px) {
  .header-call .phone-text { display: none; }
  .logo { font-size: 1.05rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(36px, 5vw, 56px); }
.section-alt { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.section-dark { background: var(--eagles-green); color: #fff; }
.section-dark p { color: var(--slate-300); }

.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.section-head p:not(.eyebrow) { color: var(--color-muted); font-size: 1.125rem; margin: 0; }
.section-foot { margin-top: 40px; text-align: center; }

.eyebrow {
  display: inline-block; margin-bottom: 0.75rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-700);
}
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--silver-200); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--color-muted); }
.muted { color: var(--color-muted); }
.nowrap { white-space: nowrap; }

.grid { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-center { align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- Cards & small components ---------- */
.card {
  background: #fff; color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}

.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 12px; background: var(--green-50); color: var(--eagles-green);
}
.icon-tile .icon { width: 24px; height: 24px; }

.checklist { display: grid; gap: 10px; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--eagles-green); margin-top: 0.2em; width: 1.15em; height: 1.15em; }
.section-dark .checklist .icon, .hero-highlights .icon { color: var(--eagles-kelly); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  padding: 6px 12px; border-radius: 999px;
  background: var(--slate-100); border: 1px solid var(--color-border);
  font-size: 0.9375rem; font-weight: 600; color: var(--slate-700);
}
.chip-campus {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-50); border-color: #c3dadd; color: var(--eagles-green);
}
.chip-campus .icon { width: 1.05em; height: 1.05em; }
.area-sub, .area-card .area-sub {
  margin: 22px 0 10px; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted);
}

/* Open / closed indicator */
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: 0.9375rem; }
.status:empty { display: none; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--slate-400); }
.status.is-open { color: var(--green-700); }
.status.is-open::before { background: var(--green-600); box-shadow: 0 0 0 4px rgb(22 163 74 / 0.18); }
.status.is-closed { color: var(--slate-600); }
.status.is-closed::before { background: var(--red-600); }
.status.is-appt { color: var(--blue-700); }
.status.is-appt::before { background: var(--blue-600); box-shadow: 0 0 0 4px rgb(0 107 182 / 0.18); }

.photo { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--slate-100); }

.reviews-cta {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: center; justify-content: space-between;
}
.reviews-cta h3 { margin-bottom: 4px; }
.reviews-cta p { margin: 0; color: var(--color-muted); }

.hours-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; }

/* ---------- Hero (homepage) ---------- */
.hero { background: var(--navy-900); color: #fff; padding-block: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .lead { color: var(--slate-300); max-width: 600px; }
.hero h1 { max-width: 20ch; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.25rem;
  padding: 6px 14px; border-radius: 999px;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.14);
  color: var(--silver-200); font-size: 0.9375rem; font-weight: 600;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
@media (max-width: 560px) { .cta-row .btn { flex: 1 1 100%; } }

.hero-highlights { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; color: var(--slate-200); font-size: 0.9375rem; }
.hero-highlights li { align-items: center; }

.hero-card { padding: 28px; border: 0; border-top: 5px solid var(--sixers-red); border-radius: 18px; box-shadow: 0 24px 60px rgb(0 0 0 / 0.3); }
.hero-card h2 { font-size: 1.35rem; margin: 14px 0 16px; }
.hero-card .hours-list { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--color-border); font-size: 0.975rem; }
.hero-phone {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: clamp(1.5rem, 2.6vw, 1.85rem); font-weight: 800; color: var(--navy-900); text-decoration: none;
}
.hero-phone:hover { color: var(--blue-700); }
.hero-phone .icon { color: var(--blue-700); }
.hero-card .checklist { gap: 8px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--color-border); font-size: 0.975rem; }
.hero-card .addr small { display: block; color: var(--color-muted); font-size: 0.875rem; }
.hero-link { display: inline-block; margin-top: -12px; margin-bottom: 24px; color: var(--blue-200); font-weight: 600; }
.hero-link:hover { color: #fff; }
.hero-card .addr { display: flex; gap: 10px; margin-bottom: 10px; color: var(--slate-700); }
.hero-card .addr .icon { color: var(--eagles-green); margin-top: 0.2em; }
.hero-card .fee {
  margin: 18px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--blue-50); color: var(--navy-900); font-size: 0.9375rem;
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

/* ---------- Trust badges ---------- */
.badges { gap: 28px; }
.badge { display: flex; gap: 14px; align-items: flex-start; }
.badge .icon-tile { margin: 0; width: 44px; height: 44px; }
.badge h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.badge p { margin: 0; font-size: 0.9375rem; color: var(--color-muted); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.step { padding: 28px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: 50%; background: var(--red-700); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.step p { margin: 0; color: var(--color-muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Service cards (homepage) ---------- */
.service-card { display: flex; flex-direction: column; transition: border-color 0.15s, box-shadow 0.15s; }
.service-card:hover { border-color: var(--slate-300); box-shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 12px 28px rgb(15 23 42 / 0.09); }
.service-card p { color: var(--color-muted); }
.service-card .price-from { margin-top: auto; padding-top: 6px; color: var(--slate-600); }
.price-from strong { color: var(--navy-900); font-size: 1.25rem; }

/* ---------- Ways we serve you ---------- */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; list-style: none; margin: 28px 0 32px; padding: 0; }
.modes .icon-tile { background: #fff; border: 1px solid var(--color-border); }
@media (max-width: 560px) { .modes { grid-template-columns: 1fr; } }

/* ---------- Local / service area ---------- */
.area-card h3 { margin-bottom: 16px; }
.area-card .chips { margin-bottom: 20px; }
.area-card .small { font-size: 0.9375rem; color: var(--color-muted); margin: 0; }
.biz-callout {
  display: flex; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--color-border);
}
.biz-callout .icon-tile { margin: 0; width: 44px; height: 44px; }
.biz-callout p { margin: 0; font-size: 0.9375rem; color: var(--slate-700); }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-size: 1.0625rem; color: var(--slate-800); }
.testimonial figcaption { margin-top: auto; font-weight: 700; }
.testimonial figcaption span { display: block; font-weight: 500; font-size: 0.9375rem; color: var(--color-muted); }
.stars { display: flex; gap: 2px; color: var(--amber-500); }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.sample-tag {
  align-self: flex-start; padding: 2px 8px; border-radius: 4px;
  background: #fef3c7; color: #92400e;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--blue-700); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--color-muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy-900); color: #fff; padding-block: clamp(48px, 6vw, 80px); }
.page-hero .lead { color: var(--slate-300); max-width: 700px; margin: 0; }
.page-hero h1 { max-width: 22ch; }

.jump-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.jump-links a {
  display: block; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.22); color: #fff;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none;
}
.jump-links a:hover { background: rgb(255 255 255 / 0.1); color: #fff; }

/* ---------- Services page ---------- */
.pricing-notes { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; color: var(--slate-700); font-weight: 600; font-size: 0.975rem; }

.service-list { display: grid; gap: 28px; }
.service-detail { padding: clamp(24px, 4vw, 40px); }
.service-detail-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start;
  padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--color-border);
}
.service-detail-head .icon-tile { margin: 0; width: 56px; height: 56px; }
.service-detail-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); margin-bottom: 0.3em; }
.service-detail-head p { margin: 0; color: var(--color-muted); }
.price-badge { margin: 0; text-align: right; white-space: nowrap; }
.price-badge span {
  display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-muted);
}
.price-badge strong { font-size: 1.6rem; color: var(--navy-900); }

.service-detail-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 48px); }
.mini-title {
  margin-bottom: 14px; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted);
}
.turnaround { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--slate-700); }
.turnaround .icon { color: var(--eagles-green); }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  padding: 12px 0; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top;
}
.price-table tr:first-child > * { padding-top: 0; }
.price-table tr:last-child > * { border-bottom: 0; }
.price-table th { font-weight: 600; }
.price-table th small { display: block; font-size: 0.875rem; font-weight: 400; color: var(--color-muted); }
.price-table td { padding-left: 16px; text-align: right; font-weight: 700; white-space: nowrap; color: var(--navy-900); }

.service-detail-foot {
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--color-border);
}
.service-note { flex: 1 1 320px; margin: 0; font-size: 0.9375rem; color: var(--color-muted); }

@media (max-width: 760px) {
  .service-detail-head { grid-template-columns: auto 1fr; }
  .price-badge { grid-column: 1 / -1; text-align: left; }
  .price-badge span { display: inline; margin-right: 6px; }
  .service-detail-body { grid-template-columns: 1fr; }
  .service-detail-foot .btn { width: 100%; }
}

/* ---------- About page ---------- */
.story p:not(.eyebrow) { font-size: 1.125rem; color: var(--slate-700); }
.value-card { padding: 24px; }
.value-card h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.value-card p { margin: 0; font-size: 0.9375rem; color: var(--color-muted); }

/* ---------- Call-to-action band ---------- */
.cta-band {
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between;
  padding: clamp(32px, 5vw, 56px); border-radius: 18px;
  background: var(--eagles-green); color: #fff;
}
.cta-band h2 { margin: 0 0 0.3em; }
.cta-band p { margin: 0; color: var(--slate-300); max-width: 560px; }
.cta-band .cta-row { margin: 0; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 36px); }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); }
.form-card > p { color: var(--color-muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.9375rem; font-weight: 600; color: var(--slate-800); }
.field .req { color: var(--red-600); }
.field .opt { font-weight: 400; color: var(--color-muted); }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }

input, select, textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.875rem;
  font: inherit; font-size: 1rem; color: var(--slate-900);
  background: #fff; border: 1px solid var(--slate-300); border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 128px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgb(0 107 182 / 0.22);
}
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--red-600); }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 1px solid var(--slate-300); border-radius: var(--radius-sm); cursor: pointer; font-weight: 500;
}
.radio input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--blue-600); }
.radio:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 4px; }
.form-note { margin: 0; font-size: 0.875rem; color: var(--color-muted); }

.form-status { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { background: #dcfce7; color: #14532d; }
.form-status.is-error { background: #fee2e2; color: #7f1d1d; }
.form-status.is-info { background: var(--blue-50); color: var(--navy-900); }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}

/* Homepage callback section */
.callback-copy .big-phone {
  display: inline-flex; align-items: center; gap: 12px; margin: 8px 0 14px;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; color: #fff; text-decoration: none;
}
.callback-copy .big-phone:hover { color: var(--blue-200); }
.callback-copy .big-phone .icon { width: 0.9em; height: 0.9em; color: var(--blue-200); }
.section-dark .status.is-open { color: var(--green-400); }
.section-dark .status.is-closed { color: var(--slate-300); }
.section-dark .status.is-appt, .site-footer .status.is-appt { color: var(--blue-200); }
.callback-copy .small { font-size: 0.9375rem; margin: 12px 0 0; }

/* About page: quick facts + Q&A */
.facts { display: grid; gap: 16px; list-style: none; margin: 0; padding: 24px; }
.facts .contact-item + .contact-item { margin-top: 0; }
.facts .fact { display: block; font-weight: 600; color: var(--slate-800); }
.qa { display: grid; gap: 16px; max-width: 820px; margin-inline: auto; }
.qa-item { padding: 24px 28px; border-left: 4px solid var(--sixers-red); }
.qa-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.qa-item p { margin: 0; color: var(--slate-700); }
.value-card { list-style: none; }

/* About page photo column */
.about-side { display: grid; gap: 24px; }
.about-side .grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; align-items: start; }
.contact-aside { display: grid; gap: 20px; }
.contact-aside .card { padding: 24px; }
.contact-aside h2 { font-size: 1.15rem; margin-bottom: 14px; }

.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item + .contact-item { margin-top: 18px; }
.contact-item .icon-tile { margin: 0; width: 44px; height: 44px; }
.contact-item .label { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.contact-item a.value { font-size: 1.125rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-item address { font-style: normal; color: var(--slate-800); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.975rem; }
.hours-table th, .hours-table td { padding: 8px 0; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours-table td { text-align: right; }
.hours-table tr:last-child > * { border-bottom: 0; }
.hours-table th { font-weight: 500; }
.hours-table .is-today > * { font-weight: 700; color: var(--blue-700); }
.hours-table .is-today th::after { content: " · today"; font-weight: 500; }
.hours-note { margin: 12px 0 0; font-size: 0.9375rem; color: var(--color-muted); }
.contact-item .hint { display: block; margin-top: 4px; font-size: 0.875rem; color: var(--color-muted); }

.map { display: block; width: 100%; height: 400px; border: 0; border-radius: var(--radius); background: var(--slate-100); }

@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: var(--slate-300); padding-top: 60px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 0.8fr; gap: 36px; padding-bottom: 44px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-mark { color: var(--red-700); }
.site-footer p { margin: 0 0 14px; }
.footer-title {
  margin-bottom: 14px; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--blue-200); text-decoration: underline; }
.site-footer address { display: grid; gap: 6px; font-style: normal; margin-bottom: 12px; }
.site-footer .hours-list { margin-bottom: 12px; }
.site-footer .status.is-open { color: var(--green-400); }
.site-footer .status.is-closed { color: var(--slate-300); }
.footer-links { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.875rem; color: var(--slate-400);
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 18px rgb(15 23 42 / 0.08);
  }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}
