/* =================================================================
   Diaz Electrical — design system
   "American service-truck classic, done premium": light-first white/very-light
   surfaces, charcoal text, brand RED (#C8070F) for primary CTAs + accents,
   royal BLUE (#082994) for headings/links/secondary accents. The owner's script
   logo lives only on light surfaces. Dark navy-charcoal is reserved for dramatic
   bands (hero, footer, CTA, mobile call bar). Tokens first; components reference
   tokens only.
   ================================================================= */

:root {
  /* --- color: neutrals / ink --- */
  --navy-900: #0b1220;
  --navy-850: #0d1626;
  --navy-800: #10192c;
  --navy-700: #16233d;
  --navy-600: #1e3054;
  --ink: #0e1726;
  --ink-soft: #26334a;
  --muted: #45526a;        /* AA on white */
  --muted-light: #b4c0d6;  /* AA on navy */
  --line: #e3e8f1;
  --line-strong: #d3dae7;

  /* --- surfaces --- */
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-softer: #eef3fa;
  --white: #ffffff;

  /* --- brand: red (primary CTA / accents on light) --- */
  --red: #c8070f;          /* measured logo red; white text on it = 6.0:1 (AA) */
  --red-deep: #a6060d;     /* hover / pressed */
  --red-light: #ff6b70;    /* accent on DARK surfaces (7:1 on navy) */
  --red-tint: #fdecec;     /* soft red wash for icon chips on light */

  /* --- brand: royal blue (headings / links / secondary accents) --- */
  --blue: #082994;         /* measured logo blue; on white = 12:1 (AAA) */
  --blue-deep: #061f70;    /* hover / pressed */
  --blue-light: #7f9be8;   /* secondary accent on DARK surfaces */
  --blue-tint: #eaf0fb;    /* soft blue wash for info callouts on light */

  /* --- semantic --- */
  --success: #1f8a5b;
  --success-bg: #e7f6ee;
  --error: #c0341d;
  --error-bg: #fdecea;
  --focus: #082994;        /* brand blue focus ring — visible on white + CTAs */

  /* --- radius --- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* --- shadow --- */
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 3px rgba(11, 18, 32, .08);
  --shadow-md: 0 6px 18px rgba(11, 18, 32, .08), 0 2px 6px rgba(11, 18, 32, .06);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, .18);
  --shadow-red: 0 10px 30px rgba(200, 7, 15, .26);

  /* --- spacing (4px grid) --- */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 40px;
  --s-9: 48px; --s-10: 64px; --s-11: 80px; --s-12: 104px;

  /* --- type --- */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: 1.375rem;
  --lh: 1.65;

  --container: 1140px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .6, .2, 1);
  --dur: 200ms;
}

/* ---------------------------------------------------------------- */
/* reset / base                                                     */
/* ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 0;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--blue); }
p { text-wrap: pretty; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }
ul { list-style: none; padding: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

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

/* accessibility */
.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -60px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--s-3); }

:where(a, button, input, select, textarea, summary, details):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- */
/* buttons                                                          */
/* ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-icon { width: 1.15em; height: 1.15em; }

.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-deep); color: #fff; box-shadow: var(--shadow-red); }

.btn-call { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-call:hover { background: var(--red); border-color: var(--red); color: #fff; }

.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .6); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.btn-sm { min-height: 42px; padding: var(--s-2) var(--s-5); }
.btn-lg { min-height: 56px; padding: var(--s-4) var(--s-8); font-size: var(--fs-base); }
.btn-block { width: 100%; }

/* keep focus ring visible on filled brand + white buttons */
.btn-primary:focus-visible, .btn-call:focus-visible { outline-color: #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--blue); }

/* ---------------------------------------------------------------- */
/* header / nav                                                     */
/* ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(11, 18, 32, .05);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
/* header wordmark: the owner's script logo, on the light header only */
.brand-logo { height: 48px; width: auto; display: block; }
/* footer wordmark chip (dark surface): logo never goes on dark, so a bolt mark stands in */
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  color: var(--red-light);
  box-shadow: var(--shadow-sm);
}
.brand-bolt { width: 22px; height: 22px; }
.brand-name { color: var(--navy-900); }

.primary-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: var(--s-2); }
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-list a:hover { background: var(--bg-soft); color: var(--navy-900); }
.nav-list a[aria-current="page"] { color: var(--navy-900); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }

.header-cta { display: flex; align-items: center; gap: var(--s-4); margin-left: var(--s-4); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--navy-900);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--red); }
.header-phone-icon { width: 1.05em; height: 1.05em; color: var(--red); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: var(--s-2) var(--s-3);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--navy-900);
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
}
.nav-toggle-close { display: none; }
.nav-toggle-open, .nav-toggle-close { width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-block; }

/* ---------------------------------------------------------------- */
/* generic section rhythm                                           */
/* ---------------------------------------------------------------- */

section { scroll-margin-top: calc(var(--header-h) + 16px); }
.services-overview, .area-teaser, .reviews, .faq, .about-story,
.about-values, .svc-intro, .svc-blocks, .area-lead, .area-cards-section,
.area-note-section, .contact-section, .cross-sell {
  padding-block: var(--s-11);
}
.bg-soft { background: var(--bg-soft); }

.section-head { max-width: 680px; margin-bottom: var(--s-9); }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.4rem); }
.section-sub { margin-top: var(--s-4); color: var(--muted); font-size: var(--fs-md); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--s-4);
}
.eyebrow-icon { width: 1.1em; height: 1.1em; }
.eyebrow-light { color: var(--red-light); }

.lead-para { font-size: var(--fs-md); color: var(--ink-soft); max-width: 760px; }
.text-link, .split-link, .svc-card-link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 700; color: var(--blue); text-decoration: none;
}
.text-link:hover, .split-link:hover, .svc-card-link:hover { color: var(--red); }
.link-arrow { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.text-link:hover .link-arrow, .split-link:hover .link-arrow { transform: translateX(3px); }
.inline-icon { width: 1.1em; height: 1.1em; flex: none; }
.check-icon { width: 1.2em; height: 1.2em; color: var(--red); flex: none; }

/* ---------------------------------------------------------------- */
/* hero (home)                                                      */
/* ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, var(--navy-700), var(--navy-900) 55%);
  color: #eaf0f9;
  padding-block: var(--s-12) var(--s-11);
}
.hero-glow {
  position: absolute;
  inset: -30% -10% auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(200, 7, 15, .22), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: var(--s-10);
  align-items: center;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 1.2rem + 4.3vw, 3.5rem);
  letter-spacing: -.025em;
  max-width: 16ch;
}
.hero-sub { margin-top: var(--s-6); font-size: var(--fs-md); color: #c6d2e6; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-8); }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-badges li { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); color: #d4deee; font-weight: 600; }
.hero-badges .inline-icon { color: var(--red-light); }

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card-row { display: flex; align-items: center; gap: var(--s-4); }
.hero-card-lead { padding-bottom: var(--s-5); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hero-card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; flex: none;
  border-radius: var(--r-md);
  background: var(--red); color: #fff;
}
.hero-card-icon .icon { width: 26px; height: 26px; }
.hero-card-kicker { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-light); }
.hero-card-phone { display: inline-block; font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.hero-card-phone:hover { color: var(--red-light); }
.hero-card-list { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.hero-card-list li { display: flex; align-items: flex-start; gap: var(--s-3); color: #dbe4f1; font-size: var(--fs-sm); }
.hero-card-list .check-icon { color: var(--red-light); }
.hero-card-note { margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--muted-light); }

/* ---------------------------------------------------------------- */
/* trust strip                                                      */
/* ---------------------------------------------------------------- */

.trust { background: var(--bg-soft); border-block: 1px solid var(--line); padding-block: var(--s-9); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-7); }
.trust-item { display: flex; align-items: flex-start; gap: var(--s-4); }
.trust-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border-radius: var(--r-md);
  background: var(--white); color: var(--red);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.trust-icon .icon { width: 24px; height: 24px; }
.trust-title { font-size: var(--fs-base); }
.trust-text { margin-top: var(--s-1); font-size: var(--fs-sm); color: var(--muted); }

/* ---------------------------------------------------------------- */
/* services overview (split)                                        */
/* ---------------------------------------------------------------- */

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.split-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.split-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line-strong); }
.split-card-head { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-4); }
.split-card-head h3 { font-size: var(--fs-lg); }
.split-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; flex: none;
  border-radius: var(--r-md);
  background: var(--blue); color: #fff;
}
.split-icon .icon { width: 28px; height: 28px; }
.split-lead { color: var(--muted); margin-bottom: var(--s-5); }
.split-list { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.split-list li { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; color: var(--ink-soft); font-size: var(--fs-sm); }
.split-list .inline-icon { color: var(--red); width: 1.3em; height: 1.3em; }

/* ---------------------------------------------------------------- */
/* generic service card (optional component)                        */
/* ---------------------------------------------------------------- */

.svc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-sm); }
.svc-card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--red-tint); color: var(--red); margin-bottom: var(--s-4); }
.svc-card-title { font-size: var(--fs-md); }
.svc-card-text { margin-top: var(--s-2); color: var(--muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- */
/* area teaser (home) + city chips                                  */
/* ---------------------------------------------------------------- */

.area-teaser { background: var(--white); }
.area-copy { max-width: 760px; }
.city-chips { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-7) 0 var(--s-6); }
.city-chip {
  display: inline-flex; align-items: center;
  min-height: 40px;
  padding: var(--s-2) var(--s-5);
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.city-chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------------------------------------------------------------- */
/* reviews                                                          */
/* ---------------------------------------------------------------- */

.reviews { background: var(--bg-soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.review-stars { display: inline-flex; gap: 2px; color: var(--red); }
.review-stars .star { width: 18px; height: 18px; }
.review-quote { font-size: var(--fs-base); color: var(--ink-soft); line-height: 1.6; }
.review-cite { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.review-author { font-weight: 700; color: var(--ink); }
.review-loc { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); color: var(--muted); }
.review-loc .inline-icon { color: var(--red); }

/* ---------------------------------------------------------------- */
/* FAQ                                                              */
/* ---------------------------------------------------------------- */

.faq { background: var(--white); }
.faq-inner { max-width: 820px; }
.faq-list { display: grid; gap: var(--s-3); }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--red); }
.faq-arrow { width: 16px; height: 16px; transform: rotate(90deg); transition: transform var(--dur) var(--ease); }
.faq-item[open] .faq-arrow { transform: rotate(-90deg); }
.faq-a { padding: 0 var(--s-6) var(--s-6); }
.faq-a p { color: var(--muted); }
.faq-a a { color: var(--blue); font-weight: 600; }

/* ---------------------------------------------------------------- */
/* CTA band                                                         */
/* ---------------------------------------------------------------- */

.cta-band {
  background: radial-gradient(120% 120% at 10% 0%, var(--navy-700), var(--navy-900) 60%);
  color: #fff;
  padding-block: var(--s-11);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-8); flex-wrap: wrap; }
.cta-copy h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.25rem); }
.cta-copy p { margin-top: var(--s-3); color: #c6d2e6; font-size: var(--fs-md); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ---------------------------------------------------------------- */
/* inner page hero + breadcrumbs                                    */
/* ---------------------------------------------------------------- */

.page-hero {
  background: radial-gradient(120% 120% at 85% -20%, var(--navy-700), var(--navy-900) 60%);
  color: #fff;
  padding-block: var(--s-10) var(--s-11);
}
.breadcrumbs { margin-bottom: var(--s-6); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-sm); }
.breadcrumbs li { display: flex; align-items: center; color: var(--muted-light); }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--s-2); color: rgba(255, 255, 255, .3); }
.breadcrumbs a { color: var(--muted-light); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red-light); }
.breadcrumbs [aria-current="page"] { color: #fff; }
.page-hero-title { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3rem); max-width: 20ch; }
.page-hero-sub { margin-top: var(--s-5); font-size: var(--fs-md); color: #c6d2e6; max-width: 62ch; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-8); }

/* ---------------------------------------------------------------- */
/* service pages                                                    */
/* ---------------------------------------------------------------- */

.svc-intro { padding-block: var(--s-10) var(--s-6); }
.svc-blocks { padding-top: var(--s-7); }
.svc-blocks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.svc-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  box-shadow: var(--shadow-sm);
}
.svc-block-head { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-4); }
.svc-block-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: var(--r-md); background: var(--red-tint); color: var(--red); }
.svc-block-icon .icon { width: 27px; height: 27px; }
.svc-block-title { font-size: var(--fs-lg); }
.svc-block-lead { color: var(--muted); margin-bottom: var(--s-5); }
.svc-block-when h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--red); margin-bottom: var(--s-3); }
.check-list { display: grid; gap: var(--s-2); }
.check-list li { display: flex; align-items: flex-start; gap: var(--s-3); color: var(--ink-soft); font-size: var(--fs-sm); }

.cross-sell { background: var(--bg-soft); border-block: 1px solid var(--line); padding-block: var(--s-9); }
.cross-inner { display: flex; align-items: center; gap: var(--s-6); flex-wrap: wrap; }
.cross-icon { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: var(--r-md); background: var(--blue); color: #fff; }
.cross-icon .icon { width: 30px; height: 30px; }
.cross-copy { flex: 1 1 260px; }
.cross-copy h2 { font-size: var(--fs-lg); }
.cross-copy p { color: var(--muted); margin-top: var(--s-1); }
.cross-sell .btn { margin-left: auto; }

/* ---------------------------------------------------------------- */
/* service areas                                                    */
/* ---------------------------------------------------------------- */

.area-lead { padding-block: var(--s-10) var(--s-6); }
.area-cards-section { padding-top: var(--s-6); }
.area-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.area-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.area-card-title { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-md); }
.area-pin { width: 1.2em; height: 1.2em; color: var(--red); }
.area-card-copy { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.area-card-links { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 600; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.area-card-links a { color: var(--blue); text-decoration: none; }
.area-card-links a:hover { color: var(--red); }
.area-card-links span { color: var(--line-strong); }

.area-note-section { padding-block: var(--s-6) var(--s-11); }
.area-note { display: flex; align-items: center; gap: var(--s-5); background: var(--blue-tint); border: 1px solid #cfdcf6; border-radius: var(--r-lg); padding: var(--s-7); }
.area-note-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--r-md); background: var(--white); color: var(--blue); border: 1px solid #cfdcf6; }
.area-note p { color: var(--ink-soft); }
.area-note a { color: var(--blue); font-weight: 700; }

/* ---------------------------------------------------------------- */
/* about                                                            */
/* ---------------------------------------------------------------- */

.about-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: var(--s-10); align-items: start; }
.about-copy h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.1rem); margin-bottom: var(--s-5); }
.about-copy p { color: var(--ink-soft); margin-bottom: var(--s-4); font-size: var(--fs-md); }
.about-license { display: flex; gap: var(--s-4); margin-top: var(--s-6); padding: var(--s-6); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); }
.about-license-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--r-md); background: var(--blue); color: #fff; }
.about-license-title { font-weight: 700; }
.about-license-text { color: var(--muted); font-size: var(--fs-sm); }
.todo-note { color: var(--red); font-style: italic; }

.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.about-photo { border-radius: var(--r-lg); background: linear-gradient(150deg, var(--navy-800), var(--navy-600)); min-height: 150px; display: grid; place-items: center; border: 1px solid var(--navy-700); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-lg { grid-column: 1 / -1; min-height: 220px; }
.photo-ph { display: grid; justify-items: center; gap: var(--s-2); color: var(--muted-light); font-size: var(--fs-sm); font-weight: 600; text-align: center; }
.photo-ph .icon { width: 34px; height: 34px; color: var(--red-light); }

.about-values { background: var(--bg-soft); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-sm); }
.value-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--red-tint); color: var(--red); margin-bottom: var(--s-4); }
.value-icon .icon { width: 24px; height: 24px; }
.value-card h3 { font-size: var(--fs-base); margin-bottom: var(--s-2); }
.value-card p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- */
/* contact                                                          */
/* ---------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: var(--s-8); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-8); box-shadow: var(--shadow-md); }
.form-title { font-size: var(--fs-lg); }
.form-intro { color: var(--muted); margin: var(--s-2) 0 var(--s-6); }

.field { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field label { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  font: inherit;
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 41, 148, .22);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(192, 52, 29, .2); }
.field-error { color: var(--error); font-size: var(--fs-sm); font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fineprint { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--muted); }

.form-errors { background: var(--error-bg); border: 1px solid #f3b8ae; border-radius: var(--r-md); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-5); }
.form-errors p { font-weight: 700; color: var(--error); margin-bottom: var(--s-2); }
.form-errors ul { list-style: disc; padding-left: var(--s-5); }
.form-errors a { color: var(--error); font-weight: 600; }

.form-success { display: flex; gap: var(--s-4); background: var(--success-bg); border: 1px solid #b6e2c9; border-radius: var(--r-lg); padding: var(--s-6); margin-bottom: var(--s-6); }
.form-success-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-pill); background: var(--success); color: #fff; }
.form-success h2 { font-size: var(--fs-md); color: #14603d; }
.form-success p { color: #1c5f41; font-size: var(--fs-sm); margin-top: var(--s-1); }
.form-success a { color: #14603d; font-weight: 700; }

.contact-aside { display: grid; gap: var(--s-4); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-sm); }
.contact-card-call { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.contact-card-kicker { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-light); }
.contact-phone { display: inline-flex; align-items: center; gap: var(--s-3); font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none; margin: var(--s-2) 0 var(--s-3); letter-spacing: -.02em; }
.contact-phone:hover { color: var(--red-light); }
.contact-phone-icon { width: 1.05em; height: 1.05em; color: var(--red-light); }
.contact-emergency { display: flex; align-items: flex-start; gap: var(--s-2); font-size: var(--fs-sm); color: #cdd8ea; }
.contact-emergency .inline-icon { color: var(--red-light); }
.contact-form-note { display: flex; align-items: flex-start; gap: var(--s-2); margin-top: var(--s-3); color: #dbe4f1; font-size: var(--fs-sm); }
.contact-form-note .inline-icon { color: var(--red-light); }
.contact-card-title { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-base); margin-bottom: var(--s-3); }
.contact-card-title .inline-icon { color: var(--red); }
.contact-hours { display: grid; gap: var(--s-2); }
.contact-hours li { display: flex; justify-content: space-between; font-size: var(--fs-sm); border-bottom: 1px dashed var(--line); padding-bottom: var(--s-2); }
.contact-hours li:last-child { border-bottom: 0; }
.contact-hours .hours-day { font-weight: 700; color: var(--ink); }
.contact-hours .hours-time { color: var(--muted); }
.contact-area-text { color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--s-3); }
.contact-card-trust { background: var(--bg-soft); }
.contact-card-trust p { display: flex; align-items: flex-start; gap: var(--s-2); font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 600; }
.contact-card-trust .inline-icon { color: var(--red); }

/* ---------------------------------------------------------------- */
/* 404                                                              */
/* ---------------------------------------------------------------- */

.notfound { background: radial-gradient(120% 120% at 80% -10%, var(--navy-700), var(--navy-900) 55%); color: #fff; }
.notfound-inner { max-width: 640px; margin-inline: auto; text-align: center; padding-block: var(--s-12); }
.notfound-mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r-lg); background: var(--red); color: #fff; margin-bottom: var(--s-6); }
.notfound-mark .icon { width: 38px; height: 38px; }
.notfound .eyebrow { color: var(--red-light); justify-content: center; }
.notfound-title { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 2.75rem); }
.notfound-sub { margin-top: var(--s-4); color: #c6d2e6; font-size: var(--fs-md); }
.notfound-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-8); }
.notfound-links { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid rgba(255, 255, 255, .12); }
.notfound-links a { padding: var(--s-2) var(--s-4); color: #d4deee; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; border-radius: var(--r-sm); }
.notfound-links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------------------------------------------------------------- */
/* footer                                                           */
/* ---------------------------------------------------------------- */

.site-footer { background: var(--navy-900); color: #c6d2e6; padding-top: var(--s-11); margin-bottom: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: var(--s-8); padding-bottom: var(--s-10); }
.brand-footer { color: #fff; margin-bottom: var(--s-4); }
.brand-footer .brand-name { color: #fff; }
.footer-tagline { color: var(--muted-light); font-size: var(--fs-sm); max-width: 34ch; }
.footer-license { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-4); font-size: var(--fs-sm); color: #d4deee; }
.footer-license .inline-icon { color: var(--red-light); }
.footer-social { display: flex; gap: var(--s-4); margin-top: var(--s-4); }
.footer-social a { color: var(--muted-light); font-size: var(--fs-sm); }
.footer-social a:hover { color: var(--red-light); }

.footer-heading { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: var(--s-4); }
.footer-heading-hours { margin-top: var(--s-6); }
.footer-col ul { display: grid; gap: var(--s-3); }
.footer-col a { color: var(--muted-light); font-size: var(--fs-sm); text-decoration: none; }
.footer-col a:hover { color: var(--red-light); }
.city-columns { grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-5) !important; }
.footer-contact-list { display: grid; gap: var(--s-3); }
.footer-contact-list a, .footer-loc { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--muted-light); font-size: var(--fs-sm); text-decoration: none; }
.footer-contact-list a:hover { color: var(--red-light); }
.footer-contact-list .inline-icon, .footer-loc .inline-icon { color: var(--red-light); }
.footer-hours { display: grid; gap: var(--s-2); }
.footer-hours li { display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--fs-sm); }
.footer-hours .hours-day { color: #fff; font-weight: 600; }
.footer-hours .hours-time { color: var(--muted-light); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: var(--s-6); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); font-size: var(--fs-xs); color: var(--muted-light); }

/* ---------------------------------------------------------------- */
/* sticky mobile call bar                                           */
/* ---------------------------------------------------------------- */

.call-bar { display: none; }

/* ---------------------------------------------------------------- */
/* responsive                                                       */
/* ---------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-8); }
  .hero-card { max-width: 460px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .reviews-grid { grid-template-columns: 1fr; }
  .area-cards-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { grid-template-columns: 1fr 1fr; }
  .contact-card-call { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: static; }
  .nav-list {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: var(--s-3);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height var(--dur) var(--ease), visibility var(--dur) var(--ease);
  }
  .nav-list.open { max-height: 80vh; visibility: visible; }
  .nav-list a { min-height: 52px; padding: var(--s-3) var(--s-4); font-size: var(--fs-base); }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); border-radius: var(--r-sm); background: var(--bg-soft); }

  .split-grid, .svc-blocks-grid, .cta-inner { grid-template-columns: 1fr; }
  .cta-inner { display: grid; }
  .cross-inner { flex-direction: column; align-items: flex-start; }
  .cross-sell .btn { margin-left: 0; }

  .call-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: var(--s-3) var(--s-4);
    padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 18, 32, .96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .call-bar-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
    min-height: 50px;
    border-radius: var(--r-pill);
    font-weight: 700; font-size: var(--fs-sm);
    text-decoration: none;
  }
  .call-bar-call { background: var(--red); color: #fff; }
  .call-bar-quote { background: var(--blue); color: #fff; }
  .call-bar .btn-icon { width: 1.15em; height: 1.15em; }

  /* keep the fixed bar from covering the footer / content */
  body { padding-bottom: 78px; }
  .site-footer { margin-bottom: 0; }
}

@media (max-width: 520px) {
  .container { padding-inline: var(--s-4); }
  .trust-grid { grid-template-columns: 1fr; }
  .area-cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero-actions .btn, .page-hero-actions .btn, .notfound-actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------- */
/* motion preferences                                               */
/* ---------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------------------------------------------------------------- */
/* admin (lead-capture backend) — reuses the design system          */
/* ---------------------------------------------------------------- */

.page-admin main { background: var(--bg-soft); }

/* Sign-in / 403 card */
.admin-signin { padding: var(--s-11) 0; }
.admin-signin-inner { display: flex; justify-content: center; }
.admin-signin-card {
  max-width: 480px; width: 100%; text-align: center;
  padding: var(--s-9) var(--s-8);
}
.admin-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.admin-lock {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: var(--s-5);
  border-radius: var(--r-pill); background: var(--blue-tint); color: var(--blue);
}
.admin-lock svg { width: 30px; height: 30px; }
.admin-lock-deny { background: var(--red-tint); color: var(--red); }
.admin-signin-title { font-size: var(--fs-lg); }
.admin-signin-sub { margin-top: var(--s-3); color: var(--muted); }
.admin-google-btn { margin-top: var(--s-7); width: 100%; }
.admin-note { margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--muted); }
.admin-note-warn {
  display: flex; gap: var(--s-2); align-items: flex-start; text-align: left;
  margin-top: var(--s-7); padding: var(--s-4); border-radius: var(--r-sm);
  background: var(--red-tint); color: var(--ink-soft);
}
.admin-note code, .admin-banner code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em;
  background: rgba(11,18,32,.06); padding: 1px 5px; border-radius: 4px;
}

/* Dashboard */
.admin { padding: var(--s-9) 0 var(--s-11); }
.admin-head {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  align-items: flex-end; justify-content: space-between; margin-bottom: var(--s-6);
}
.admin-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); margin-top: var(--s-1); }
.admin-signed { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--muted); }
.admin-export { flex: none; }

.admin-banner {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-4) var(--s-5); border-radius: var(--r-sm);
  font-size: var(--fs-sm); margin-bottom: var(--s-5);
}
.admin-banner svg { flex: none; width: 1.15em; height: 1.15em; margin-top: .1em; }
.admin-banner-ok { background: var(--blue-tint); color: var(--ink-soft); }
.admin-banner-ok svg { color: var(--blue); }
.admin-banner-warn { background: var(--red-tint); color: var(--ink-soft); }
.admin-banner-warn svg { color: var(--red); }
.admin-banner a { color: var(--blue); font-weight: 600; }

/* Filter tabs */
.admin-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.admin-tab {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-4); border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: var(--white);
  color: var(--ink-soft); font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none;
}
.admin-tab:hover { border-color: var(--blue); color: var(--blue); }
.admin-tab-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.admin-tab-active:hover { color: var(--white); }
.admin-tab-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--bg-softer); color: var(--ink-soft); font-size: var(--fs-xs);
}
.admin-tab-active .admin-tab-count { background: rgba(255,255,255,.22); color: var(--white); }

/* Table */
.admin-table-wrap {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: auto;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.admin-table th, .admin-table td {
  text-align: left; padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.admin-table thead th {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); background: var(--bg-soft); white-space: nowrap;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-row-archived { opacity: .62; }
.admin-td-when time { color: var(--muted); white-space: nowrap; }
.admin-name { font-weight: 600; color: var(--ink); }
.admin-muted { color: var(--muted-light); }
.admin-td-msg { min-width: 220px; max-width: 360px; }
.admin-msg-short { color: var(--ink-soft); }
.admin-msg summary { cursor: pointer; color: var(--ink-soft); }
.admin-msg summary::-webkit-details-marker { color: var(--blue); }
.admin-msg[open] summary { color: var(--blue); font-weight: 600; }
.admin-msg p { margin-top: var(--s-2); color: var(--ink-soft); white-space: pre-wrap; }
.admin-empty { text-align: center; color: var(--muted); padding: var(--s-9) var(--s-4); }

/* Status chip */
.admin-chip {
  display: inline-block; padding: 2px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
}
.admin-chip-new { background: var(--red-tint); color: var(--red-deep); }
.admin-chip-contacted { background: var(--blue-tint); color: var(--blue); }
.admin-chip-archived { background: var(--bg-softer); color: var(--muted); }

/* Email-sent indicator */
.admin-sent { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); white-space: nowrap; }
.admin-sent svg { width: 1em; height: 1em; }
.admin-sent-yes { color: #157347; }
.admin-sent-no { color: var(--muted); }

/* Row actions */
.admin-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.admin-act { margin: 0; }
.admin-act-btn {
  font: inherit; font-size: var(--fs-xs); font-weight: 600; cursor: pointer;
  padding: 6px 10px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--white); color: var(--ink-soft); white-space: nowrap;
}
.admin-act-btn:hover { border-color: var(--blue); color: var(--blue); }
.admin-act-primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.admin-act-primary:hover { background: var(--blue-deep); color: var(--white); }
.admin-act-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 860px) {
  /* Stacked cards instead of a wide table on small screens. */
  .admin-table, .admin-table thead, .admin-table tbody, .admin-table th,
  .admin-table td, .admin-table tr { display: block; }
  .admin-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .admin-table-wrap { border: none; background: transparent; box-shadow: none; overflow: visible; }
  .admin-table tr {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: var(--shadow-sm);
    padding: var(--s-4); margin-bottom: var(--s-4);
  }
  .admin-table td { border: none; padding: var(--s-1) 0; display: flex; gap: var(--s-4); }
  .admin-table td::before {
    content: attr(data-label); flex: none; width: 92px;
    font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
  }
  .admin-td-msg { max-width: none; }
  .admin-empty { display: block; }
  .admin-empty::before { content: none; }
}
