/* =============================================================================
   Innovative Printing Systems — hand-written design system
   Faithful conversion of the React (Tailwind + shadcn) site. Light mode only.
   Brand deep blue #003399. No gradients. Square (rounded-none) buttons.
   Inter font, extrabold tight-tracking headings.

   REUSABLE UTILITY CLASSES (for sibling page subagents)
   -----------------------------------------------------------------------------
   Layout
     .container      max-width 1280px centered, responsive horizontal padding
     .section        vertical section padding (~py-32); .section--sm (~py-24)
     .section--muted light grey background (bg-muted/30)
     .section--primary  deep-blue background, white text
     .section--bordered top+bottom 1px border
   Typography
     .eyebrow        small uppercase primary label (tracking-widest)
     .h1 .h2 .h3     extrabold tight-tracking heading scale
     .lead           large muted intro paragraph
     .muted          muted-foreground text color
     .text-primary   brand blue text
     .text-link-strong  bold primary link
     .prose          legal / article body typography (headings, p, ul, ol, a)
     .max-w-3xl .max-w-4xl .max-w-6xl  content width caps; .mx-auto centers
     .text-center
   Buttons
     .btn            base button (square, bold, uppercase-ish label)
     .btn-primary    solid #003399, white text
     .btn-outline    2px border, transparent bg
     .btn-lg         larger height/padding
     .btn-block      full width
   Cards & grids
     .card           bordered white card (2px border, hover -> primary border)
     .card-pad       inner padding for cards (p-8)
     .grid-2 .grid-3 .grid-4  responsive equal-column grids (gap-8)
     .badge          small bordered uppercase pill
     .arrow-link     "Learn More ->" style primary link with icon
   Forms
     .field, .label, .input, .textarea, .select — square, bordered inputs
   Helpers
     .flex .items-center .justify-between .gap-2 .gap-3 .gap-4
     .mb-4 .mb-6 .mb-8 .mt-8 .mt-12  spacing helpers
   ============================================================================= */

/* ----------------------------------------------------------------- tokens -- */
:root {
    --background: #ffffff;
    --foreground: #0f172a;        /* very dark blue-grey */
    --border: #e2e8f0;
    --muted: #f1f5f9;             /* muted/30-ish surface */
    --muted-surface: #f4f6fb;
    --muted-foreground: #64748b;
    --primary: #003399;
    --primary-hover: #002d87;
    --primary-foreground: #ffffff;
    --card-alt: #e9ecf4;         /* the light blue-grey cards in "why onsite" */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --container-max: 1280px;
}

/* ----------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { border-color: var(--border); }

html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    letter-spacing: -0.02em;
    font-weight: 600;
}

/* ---------------------------------------------------------------- layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: 8rem; }
.section--sm { padding-block: 6rem; }
.section--muted { background: rgb(241 245 249 / 0.5); }
.section--primary { background: var(--primary); color: var(--primary-foreground); }
.section--bordered { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--bordered-t { border-top: 1px solid var(--border); }

.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-inline: auto; }
.text-center { text-align: center; }

/* ------------------------------------------------------------ typography --- */
.eyebrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}
.section--primary .eyebrow { color: #fff; }

.h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}
.h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
.h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
@media (min-width: 768px) {
    .h1 { font-size: 3rem; }
    .h2 { font-size: 3rem; }
}
@media (min-width: 1024px) {
    .h1 { font-size: 3.75rem; }
}

.lead {
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--muted-foreground);
}
.section--primary .lead { color: rgb(255 255 255 / 0.85); }
.muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.text-link-strong { color: var(--primary); font-weight: 700; }
.text-link-strong:hover { text-decoration: underline; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* ------------------------------------------------------------- buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0;
    border: 2px solid transparent;
    padding: 0 1.5rem;
    height: 2.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-outline { background: transparent; color: var(--foreground); border: 2px solid var(--foreground); }
.btn-outline:hover { background: var(--foreground); color: var(--background); }
.btn-lg { height: 3.5rem; padding: 0 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    transition: gap .2s;
}
.arrow-link:hover { gap: 0.75rem; }
.arrow-link--upper { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* --------------------------------------------------------------- badges ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid var(--border);
    background: var(--background);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------- cards/grid -- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid var(--border);
    background: var(--background);
    border-radius: 0;
    transition: border-color .2s;
}
a.card:hover, .card:hover { border-color: var(--primary); }
.card-pad { padding: 2rem; }
.card-icon { color: var(--primary); margin-bottom: 1.5rem; }

/* ------------------------------------------------------------- header ------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgb(255 255 255 / 0.95); backdrop-filter: blur(8px); }
.header-inner {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo img { height: 2.25rem; width: auto; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-link {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted-foreground);
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link:hover, .nav-link.is-active { color: var(--primary); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    display: none;
    flex-direction: column;
}
.nav-dropdown.is-open .nav-dropdown-menu { display: flex; }
.nav-dropdown.is-open .chevron { transform: rotate(180deg); }
.chevron { transition: transform .2s; }
.nav-dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--muted); color: var(--primary); }

.header-actions { display: none; align-items: center; gap: 1.5rem; }
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--foreground);
    transition: color .2s;
}
.header-phone svg { color: var(--primary); }
.header-phone:hover { color: var(--primary); }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.25rem;
}

@media (min-width: 1024px) {
    .nav-desktop { display: flex; }
    .header-actions { display: flex; }
    .nav-toggle { display: none; }
}

/* --------------------------------------------------------- mobile nav ------ */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 0.4);
    z-index: 60;
}
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 300px;
    max-width: 85vw;
    background: #fff;
    z-index: 61;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    transform: translateX(0);
}
.mobile-nav-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: 0;
    color: var(--foreground);
    cursor: pointer;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; }
.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--foreground);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: color .2s;
}
.mobile-nav-link:hover, .mobile-nav-link.is-active { color: var(--primary); }
.mobile-nav-sublink { font-size: 1.125rem; font-weight: 600; color: var(--muted-foreground); }
.mobile-nav-divider { height: 1px; background: var(--border); }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------- footer ---- */
.site-footer {
    background: var(--primary);
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }
.footer-logo img { height: 2.5rem; width: auto; margin-bottom: 1.5rem; }
.footer-blurb { color: rgb(255 255 255 / 0.75); font-size: 0.875rem; line-height: 1.6; max-width: 20rem; }
.footer-heading { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.01em; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { color: rgb(255 255 255 / 0.75); font-size: 0.875rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.75); }
.footer-contact svg { color: #fff; flex-shrink: 0; margin-top: 0.15rem; }
.footer-disclaimer { border-top: 1px solid rgb(255 255 255 / 0.1); padding-top: 2rem; margin-bottom: 2rem; }
.footer-disclaimer p { color: rgb(255 255 255 / 0.6); font-size: 0.75rem; line-height: 1.6; text-align: center; margin: 0; }
.footer-copyright { border-top: 1px solid rgb(255 255 255 / 0.1); padding-top: 2rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.6); }
.footer-copyright p { margin: 0; }

/* ---------------------------------------------------------------- forms ---- */
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.label { font-size: 0.875rem; font-weight: 700; }
.input, .textarea, .select {
    width: 100%;
    border: 2px solid var(--border);
    border-radius: 0;
    background: #fff;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--foreground);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--primary); }
.textarea { min-height: 8rem; resize: vertical; }

/* ---------------------------------------------------------------- prose ---- */
.prose { max-width: 46rem; color: var(--foreground); line-height: 1.75; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 2.5rem; }
.prose h3 { font-size: 1.375rem; font-weight: 700; margin-top: 2rem; }
.prose p { color: var(--muted-foreground); }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.5rem; color: var(--muted-foreground); }
.prose li { margin-top: 0.5rem; }
.prose strong { color: var(--foreground); }

/* ------------------------------------------------------ home: hero etc. ---- */
.hero {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding-block: 4rem;
}
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; min-height: 560px; padding-block: 0; }
    .hero-copy { padding-block: 5rem; }
}
.hero-partner { display: inline-block; margin-bottom: 2rem; }
.hero-partner img { height: 3.5rem; width: auto; }
.hero-title { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-title .accent { color: var(--primary); }
.hero-subtitle { font-size: 1.125rem; font-weight: 700; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
.hero-image { display: flex; align-items: center; justify-content: center; }
.hero-image img { width: 100%; max-width: 28rem; object-fit: contain; filter: drop-shadow(0 25px 35px rgb(0 0 0 / 0.18)); }
@media (min-width: 1024px) { .hero-image { justify-content: flex-end; } .hero-image img { max-width: 32rem; } }

.hp-disclaimer { font-size: 0.75rem; line-height: 1.6; color: var(--muted-foreground); max-width: 36rem; }
.hp-disclaimer.mt-8 { margin-top: 2rem; }

/* trust bar */
.trust-bar { border-bottom: 1px solid var(--border); background: var(--primary); color: #fff; padding-block: 1.5rem; }
.trust-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.trust-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-item svg { color: #fff; }
.trust-dot { color: rgb(255 255 255 / 0.2); }

/* marquee */
.marquee-wrap { position: relative; display: flex; width: 100%; overflow: hidden; }
.marquee-track { display: flex; flex-shrink: 0; gap: 1.5rem; padding-right: 1.5rem; animation: marquee 40s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    border: 2px solid rgb(255 255 255 / 0.2);
    background: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.marquee-item svg { flex-shrink: 0; }

/* process cards */
.process-card { position: relative; background: rgb(241 245 249 / 0.5); padding: 2rem; border-left: 4px solid var(--primary); }
.process-card svg { color: var(--primary); margin-bottom: 1.5rem; }
.process-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }

/* why-onsite bento */
.bento { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 80px; } }
.bento-text { background: var(--card-alt); padding: 2rem; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-sm); min-height: 240px; }
@media (min-width: 768px) { .bento-text { padding: 3rem; } }
.bento-text h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
@media (min-width: 768px) { .bento-text h3 { font-size: 1.875rem; } }
.bento-text p { color: var(--muted-foreground); font-weight: 500; line-height: 1.6; }
.bento-img { box-shadow: var(--shadow-sm); overflow: hidden; height: 16rem; }
.bento-img img { width: 100%; height: 100%; object-fit: cover; }
.bento-img--contain { background: #fff; padding: 1.5rem; display: flex; align-items: center; justify-content: center; }
.bento-img--contain img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (min-width: 1024px) {
    .bento-img, .bento-img--contain { height: auto; }
    .b1 { grid-column: 1 / span 5; grid-row: 1 / span 4; min-height: 0; }
    .b2 { grid-column: 6 / span 3; grid-row: 1 / span 4; }
    .b3 { grid-column: 9 / span 4; grid-row: 1 / span 5; min-height: 0; }
    .b4 { grid-column: 1 / span 4; grid-row: 5 / span 4; }
    .b5 { grid-column: 5 / span 4; grid-row: 5 / span 4; min-height: 0; }
    .b6 { grid-column: 9 / span 4; grid-row: 6 / span 3; }
}

/* split panels (home/office) */
.split-panel { background: rgb(241 245 249 / 0.5); border: 1px solid var(--border); padding: 2.5rem; }
.split-panel svg { color: var(--primary); margin-bottom: 1.5rem; }
.split-panel h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.split-panel p { color: var(--muted-foreground); font-weight: 500; line-height: 1.6; margin-bottom: 1.5rem; }

/* tip cards */
.tip-card { background: #fff; border: 1px solid var(--border); padding: 2rem; }
.tip-card svg { color: var(--primary); margin-bottom: 1.25rem; }
.tip-card h3 { font-weight: 800; margin-bottom: 0.75rem; }
.tip-card p { color: var(--muted-foreground); font-size: 0.875rem; font-weight: 500; line-height: 1.6; }

/* resource cards */
.resource-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border); padding: 2rem; transition: border-color .2s; }
.resource-card:hover { border-color: var(--primary); }
.resource-kind { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.resource-card h3 { font-size: 1.125rem; font-weight: 800; margin-bottom: 0.75rem; transition: color .2s; }
.resource-card:hover h3 { color: var(--primary); }
.resource-card p { color: var(--muted-foreground); font-size: 0.875rem; font-weight: 500; line-height: 1.6; flex: 1; }
.resource-read { color: var(--primary); font-weight: 700; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; }
.link-row { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }

/* accordion (FAQ) */
.accordion { width: 100%; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.5rem 0;
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color .2s;
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger .acc-icon { flex-shrink: 0; transition: transform .2s; color: var(--muted-foreground); }
.accordion-item.is-open .acc-icon { transform: rotate(180deg); }
.accordion-content { display: none; padding-bottom: 1.5rem; font-size: 1.125rem; font-weight: 500; color: var(--muted-foreground); line-height: 1.7; }
.accordion-item.is-open .accordion-content { display: block; }

/* newsletter */
.newsletter { padding-block: 8rem; border-top: 1px solid var(--border); background: var(--primary); color: #fff; }
.newsletter h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .newsletter h2 { font-size: 3rem; } }
.newsletter p { font-size: 1.25rem; color: rgb(255 255 255 / 0.7); margin-bottom: 3rem; font-weight: 500; }
.newsletter-form { display: flex; flex-direction: column; gap: 0; max-width: 36rem; margin-inline: auto; }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-form .input { height: 4rem; border: 0; font-size: 1.125rem; padding-inline: 1.5rem; }
.newsletter-form .btn { height: 4rem; padding-inline: 2.5rem; font-size: 1.125rem; flex-shrink: 0; }
.newsletter-done { display: flex; align-items: center; justify-content: center; gap: 0.75rem; font-weight: 700; font-size: 1.25rem; background: rgb(255 255 255 / 0.1); padding: 1.5rem 2rem; border: 1px solid rgb(255 255 255 / 0.2); }

/* ------------------------------------------------- accessibility & cookie -- */
.a11y-widget { position: fixed; bottom: 1.25rem; left: 1.25rem; z-index: 70; }
.cookie-widget { position: fixed; bottom: 5rem; left: 1.25rem; z-index: 70; }
.cookie-widget[data-hidden="true"] { display: none; }

.widget-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    border-radius: 9999px;
    background: var(--primary);
    color: #fff;
    border: 0;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: background-color .2s;
}
.widget-fab:hover { background: var(--primary-hover); }
.widget-fab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.a11y-panel, .cookie-panel { margin-bottom: 0.75rem; width: 20rem; max-width: calc(100vw - 2.5rem); border: 2px solid var(--border); background: #fff; box-shadow: var(--shadow-lg); }
.widget-panel-head { display: flex; align-items: center; justify-content: space-between; background: var(--primary); padding: 1rem 1.25rem; }
.widget-panel-head h2 { color: #fff; font-weight: 700; font-size: 1rem; }
.widget-panel-close { background: none; border: 0; color: #fff; cursor: pointer; }
.widget-panel-close:hover { color: rgb(255 255 255 / 0.8); }
.widget-panel-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

.a11y-option { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; user-select: none; }
.a11y-option input { margin-top: 0.25rem; height: 1rem; width: 1rem; accent-color: var(--primary); }
.a11y-option-label { display: block; font-weight: 700; font-size: 0.875rem; color: var(--foreground); }
.a11y-option-desc { display: block; font-size: 0.75rem; color: var(--muted-foreground); }
.a11y-panel-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.a11y-panel-footer button { background: none; border: 0; cursor: pointer; font-size: 0.875rem; }

.cookie-copy { font-size: 0.875rem; color: var(--foreground); line-height: 1.6; }
.cookie-actions { display: flex; align-items: center; gap: 0.75rem; }
.cookie-actions .btn { flex: 1; }

/* ---------------------------------------------------- a11y body classes ---- */
html.a11y-large-text { font-size: 112.5%; }
html.a11y-high-contrast { --muted-foreground: #1e293b; --foreground: #020617; }
html.a11y-underline-links a { text-decoration: underline; }
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
}

/* ----------------------------------------------------------- fade-in ------- */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }
html.a11y-reduce-motion .fade-in { opacity: 1 !important; transform: none !important; }

/* ------------------------------------------------------------- helpers ----- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.shrink-0 { flex-shrink: 0; }

/* ---------------------------------------------------------------------------
 * Service detail two-column layout (service-detail.php)
 * 8/4 content + sidebar split, mirroring ServiceDetail.tsx lg:grid-cols-12.
 * ------------------------------------------------------------------------- */
.detail-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
    .detail-grid { grid-template-columns: 2fr 1fr; }
}

/* ===========================================================================
   Resource hub (Knowledge Base, Guides, Blog, FAQ, Learning Center)
   Appended for the SEO resource hub pages and shared ResourceCta include.
   =========================================================================== */

/* spacing helpers used by resource pages */
.mt-2  { margin-top: 0.5rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-24 { margin-top: 6rem; }
.mb-24 { margin-bottom: 6rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }

/* light variant of the HP disclaimer (inside primary CTA banner) */
.hp-disclaimer--light { color: rgb(255 255 255 / 0.75); max-width: none; }

/* --- resource hero (primary section reused across hub + detail pages) --- */
.resource-hero .eyebrow { color: var(--primary); }
.resource-hero .h1 { color: #fff; margin-bottom: 1.5rem; }
.resource-hero .h1 .accent { color: var(--primary); }
.resource-hero .lead { color: rgb(255 255 255 / 0.7); font-size: 1.5rem; font-weight: 500; }
.resource-back {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--primary); font-weight: 700; font-size: 0.875rem;
    letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 2rem;
    transition: color .2s;
}
.resource-back:hover { color: #fff; }
.resource-hero .eyebrow-muted { color: rgb(255 255 255 / 0.55); }

/* --- category / article cards (link cards) --- */
.link-card {
    display: flex; flex-direction: column; height: 100%;
    border: 1px solid var(--border); padding: 2rem; background: rgb(241 245 249 / 0.4);
    transition: border-color .2s;
}
.link-card--plain { background: transparent; padding: 2rem; }
.link-card:hover { border-color: var(--primary); }
.link-card h2, .link-card h3 { font-weight: 800; letter-spacing: -0.02em; transition: color .2s; }
.link-card:hover h2, .link-card:hover h3 { color: var(--primary); }
.link-card p { color: var(--muted-foreground); font-weight: 500; font-size: 0.875rem; line-height: 1.6; }
.link-card .card-read {
    color: var(--primary); font-weight: 700; font-size: 0.875rem;
    display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto;
}
.link-card .card-read svg { width: 16px; height: 16px; }
.card-icon-lg { color: var(--primary); margin-bottom: 1.5rem; }
.card-icon-lg svg { width: 32px; height: 32px; }

.kb-category { margin-bottom: 5rem; }
.kb-category:last-child { margin-bottom: 0; }
.kb-category-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.kb-category-head svg { width: 32px; height: 32px; color: var(--primary); flex-shrink: 0; margin-top: 0.25rem; }
.kb-category-head h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; }
.kb-category-head p { color: var(--muted-foreground); font-weight: 500; margin-top: 0.5rem; max-width: 42rem; }

/* --- article / guide / blog detail layout --- */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) {
    .article-layout { grid-template-columns: 2fr 1fr; }
}
.article-body > * + * { margin-top: 3rem; }
.article-body h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
@media (min-width: 768px) { .article-body h2 { font-size: 1.875rem; } }
.article-body p { font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); font-weight: 500; }
.article-date { color: var(--muted-foreground); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }

.sidebar-cta { background: rgb(241 245 249 / 0.6); border: 2px solid var(--border); padding: 2rem; position: sticky; top: 8rem; }

/* --- guide detail specific blocks --- */
.guide-block-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.guide-block-head svg { width: 28px; height: 28px; color: var(--primary); }
.guide-block-head h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
@media (min-width: 768px) { .guide-block-head h2 { font-size: 1.875rem; } }
.guide-symptoms { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .guide-symptoms { grid-template-columns: repeat(2, 1fr); } }
.guide-symptoms li { background: rgb(241 245 249 / 0.5); border-left: 4px solid var(--primary); padding: 1rem; font-weight: 600; color: var(--foreground); }
.guide-list { display: flex; flex-direction: column; gap: 0.75rem; }
.guide-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1.125rem; color: var(--muted-foreground); font-weight: 500; }
.guide-list .num { color: var(--primary); font-weight: 800; margin-top: 0.125rem; }
.guide-list svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 0.375rem; }
.guide-when { background: rgb(241 245 249 / 0.5); border: 2px solid var(--border); padding: 2rem; }
.guide-when p { font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); font-weight: 500; }

/* --- resource CTA banner (CtaBanner) --- */
.resource-cta { background: var(--primary); color: #fff; padding: 2.5rem; margin-block: 1rem; }
@media (min-width: 768px) { .resource-cta { padding: 3rem; } }
.resource-cta-row { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .resource-cta-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.resource-cta-heading { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .resource-cta-heading { font-size: 1.875rem; } }
.resource-cta-sub { color: rgb(255 255 255 / 0.8); font-weight: 500; font-size: 1.125rem; }
.resource-cta-actions { display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0; }
@media (min-width: 640px) { .resource-cta-actions { flex-direction: row; } }
.resource-cta-btn-solid { background: #fff; color: var(--primary); border-color: #fff; }
.resource-cta-btn-solid:hover { background: rgb(255 255 255 / 0.9); border-color: rgb(255 255 255 / 0.9); }
.resource-cta-btn-outline { background: transparent; color: #fff; border-color: #fff; }
.resource-cta-btn-outline:hover { background: #fff; color: var(--primary); }

/* --- learning center topic index --- */
.topic-index { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .topic-index { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .topic-index { grid-template-columns: repeat(4, 1fr); } }
.topic-index a { border: 1px solid var(--border); padding: 1.25rem; transition: border-color .2s; }
.topic-index a:hover { border-color: var(--primary); }
.topic-index svg { width: 24px; height: 24px; color: var(--primary); margin-bottom: 0.75rem; }
.topic-index h3 { font-weight: 800; letter-spacing: -0.02em; font-size: 0.875rem; transition: color .2s; }
.topic-index a:hover h3 { color: var(--primary); }
.learning-topic { scroll-margin-top: 8rem; }
.learning-topic + .learning-topic { margin-top: 6rem; }
.learning-topic h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .learning-topic h2 { font-size: 2.25rem; } }
.learning-topic .topic-summary { font-size: 1.125rem; color: var(--primary); font-weight: 700; margin-bottom: 2rem; }
.learning-topic .topic-section + .topic-section { margin-top: 2rem; }
.learning-topic .topic-section h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.learning-topic .topic-section p { font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); font-weight: 500; }

/* faq category spacing */
.faq-category + .faq-category { margin-top: 4rem; }
.faq-category > h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.5rem; }

/* not-found */
.not-found { padding-block: 8rem; text-align: center; }
.not-found h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; }

/* =============================================================================
   Schedule an Appointment page (schedule-an-appointment.php)
   Admin dashboard (admin.php)
   Appended for the lead form + landing content + ops center.
   ========================================================================== */

/* Form field messaging */
.field-error { color: var(--destructive, #dc2626); font-size: 0.8125rem; font-weight: 700; }
.form-alert {
    background: rgb(220 38 38 / 0.1);
    border-left: 4px solid var(--destructive, #dc2626);
    color: var(--destructive, #dc2626);
    font-weight: 700;
    padding: 1rem;
}
.input.is-invalid, .textarea.is-invalid { border-color: var(--destructive, #dc2626); }

/* Appointment form layout */
.appt-form-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: start; }
@media (min-width: 1024px) {
    .appt-form-grid { grid-template-columns: 5fr 7fr; }
    .appt-protocol { order: 1; }
    .appt-form-panel { order: 2; }
}

/* Hero image full-bleed on this page */
@media (min-width: 1024px) {
    .hero .hero-image img { max-width: none; }
}

/* CTA button rows */
.appt-cta { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .appt-cta { flex-direction: row; } }

/* Banner section */
.appt-banner { position: relative; }
.appt-banner img { width: 100%; height: auto; display: block; }
.appt-banner-overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 0.4); display: flex; align-items: center; }

/* Linked rows (services, guides) */
.appt-link-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
    border: 1px solid var(--border); padding: 1.5rem; transition: border-color .2s; text-decoration: none; color: inherit;
}
.appt-link-row:hover { border-color: var(--primary); }
.appt-link-row:hover h3 { color: var(--primary); }
.appt-link-row h3 { transition: color .2s; }

/* Industry / brand chips */
.appt-chip { border: 1px solid var(--border); padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 700; color: var(--foreground); }
.appt-chip--muted { background: rgb(241 245 249 / 0.5); }

/* -----------------------------------------------------------------------------
   Admin ops center
   -------------------------------------------------------------------------- */
.admin-login-wrap { min-height: 100vh; background: var(--foreground); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.admin-login-card { width: 100%; max-width: 24rem; background: var(--background); padding: 2.5rem; }
.admin-login-card .card-icon { color: var(--primary); display: flex; justify-content: center; margin-bottom: 1rem; }
.admin-login-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; text-align: center; }
.admin-login-sub { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; margin-top: 0.5rem; margin-bottom: 2rem; }
.admin-login-error { color: var(--destructive, #dc2626); font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem; margin-bottom: 1rem; }
.admin-input { width: 100%; height: 3rem; border: 2px solid var(--border); text-align: center; font-size: 1.125rem; letter-spacing: 0.15em; padding: 0 1rem; }
.admin-input:focus { outline: none; border-color: var(--primary); }

.admin-bar { background: var(--foreground); color: #fff; }
.admin-bar-inner { height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.admin-bar-brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.875rem; }
.admin-bar-brand svg { color: var(--primary); }
.admin-logout { display: inline-flex; align-items: center; gap: 0.5rem; color: rgb(255 255 255 / 0.7); background: none; border: none; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 0.875rem; }
.admin-logout:hover { color: #fff; }

.admin-main { background: rgb(241 245 249 / 0.5); min-height: 100vh; }
.admin-table-wrap { overflow-x: auto; border: 2px solid var(--border); background: var(--background); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table thead tr { border-bottom: 2px solid var(--border); background: rgb(241 245 249 / 0.5); text-align: left; }
.admin-table th { padding: 1rem 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; white-space: nowrap; }
.admin-table td { padding: 1.25rem 1.5rem; vertical-align: top; border-bottom: 1px solid var(--border); }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: rgb(241 245 249 / 0.4); }
.admin-ts { color: var(--muted-foreground); font-family: ui-monospace, monospace; font-size: 0.75rem; white-space: nowrap; }
.admin-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.admin-contact { display: flex; flex-direction: column; gap: 0.25rem; color: var(--muted-foreground); font-weight: 500; }
.admin-contact a:hover { color: var(--primary); }
.admin-issue { white-space: pre-wrap; word-break: break-word; line-height: 1.6; color: var(--muted-foreground); max-width: 28rem; }
.admin-empty { padding: 5rem 1.5rem; text-align: center; font-weight: 700; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.1em; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.admin-filters .field { margin-bottom: 0; }

/* ---- admin delete button (added with lead-delete feature) ---- */
.admin-delete { background:none; border:1px solid #e2e8f0; color:#64748b; padding:0.4rem 0.5rem; cursor:pointer; line-height:0; }
.admin-delete:hover { border-color:#dc2626; color:#dc2626; background:#fef2f2; }
