/* =========================================================
   TBA & Associates — Design System
   Mobile-first. No build step. CSS custom properties.
   ========================================================= */

:root {
  /* Brand */
  --c-primary:        #0B2A4A;
  --c-primary-700:    #143961;
  --c-primary-800:    #0E3257;
  --c-primary-900:    #07203B;
  --c-accent:         #D9A441;
  --c-accent-600:     #C39235;
  --c-accent-100:     #FAF1DD;

  /* Neutrals */
  --c-ink:            #0F172A;
  --c-ink-soft:       #475569;
  --c-ink-muted:      #64748B;
  --c-line:           #E2E8F0;
  --c-line-soft:      #F1F5F9;
  --c-bg:             #FFFFFF;
  --c-bg-soft:        #F8FAFC;
  --c-bg-tint:        #F4F7FB;

  /* Status */
  --c-success:        #16A34A;
  --c-success-bg:     #ECFDF5;
  --c-error:          #DC2626;
  --c-error-bg:       #FEF2F2;
  --c-star:           #F5B400;

  /* Type */
  --ff-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ff-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-48: 3rem;
  --fs-56: 3.5rem;

  /* Spacing scale (4-based) */
  --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: 96px;
  --s-13: 128px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(11,42,74,0.06), 0 1px 3px rgba(11,42,74,0.04);
  --sh-md: 0 4px 12px rgba(11,42,74,0.08), 0 2px 4px rgba(11,42,74,0.04);
  --sh-lg: 0 12px 32px rgba(11,42,74,0.10), 0 4px 12px rgba(11,42,74,0.06);
  --sh-xl: 0 24px 64px rgba(11,42,74,0.14), 0 8px 24px rgba(11,42,74,0.08);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --t-fast: 120ms;
  --t-med: 220ms;
}

/* =========================================================
   Reset + base
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { font-style: italic; }

a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--c-primary-700); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: var(--c-primary);
  margin: 0 0 var(--s-4);
}

h1 { font-size: clamp(2rem, 4.6vw + 1rem, 3.5rem); letter-spacing: -0.025em; line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(1.625rem, 2.4vw + 1rem, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
li { margin-bottom: var(--s-2); }

hr {
  border: 0;
  border-top: 1px solid var(--c-line);
  margin: var(--s-8) 0;
}

::selection { background: var(--c-accent); color: var(--c-primary-900); }

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: var(--s-3) var(--s-5);
  z-index: 999;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* =========================================================
   Utilities
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
@media (min-width: 768px) { .container { padding: 0 var(--s-7); } }

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

.eyebrow {
  display: inline-block;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-600);
  margin-bottom: var(--s-3);
}

.lede {
  font-size: var(--fs-18);
  color: var(--c-ink-soft);
  max-width: 60ch;
}
@media (min-width: 768px) { .lede { font-size: var(--fs-20); } }

/* Page/section heading area — spans the FULL container width so the h1 is
   never boxed into a narrow column. The .lede keeps its own 60ch cap for
   readability. Use this class instead of an inline max-width on intro blocks. */
.page-intro { margin-bottom: var(--s-9); }

.text-center { text-align: center; }
.muted { color: var(--c-ink-soft); }

.section { padding: var(--s-10) 0; }
.section-tight { padding: var(--s-9) 0; }
.section-tint { background: var(--c-bg-tint); }
.section-dark {
  background: var(--c-primary);
  color: rgba(255,255,255,0.86);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--c-accent); }

@media (min-width: 768px) {
  .section { padding: var(--s-12) 0; }
  .section-tight { padding: var(--s-10) 0; }
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 24px;
  font-family: inherit;
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-accent);
  color: var(--c-primary-900);
  box-shadow: var(--sh-sm);
}
.btn-primary:hover { background: var(--c-accent-600); color: var(--c-primary-900); box-shadow: var(--sh-md); }

.btn-dark {
  background: var(--c-primary);
  color: #fff;
}
.btn-dark:hover { background: var(--c-primary-700); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-line);
}
.btn-ghost:hover { background: var(--c-bg-soft); color: var(--c-primary); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 28px; font-size: var(--fs-18); }
.btn-sm { padding: 10px 16px; font-size: var(--fs-14); }

/* =========================================================
   Header / Nav
   ========================================================= */

.utility-bar {
  display: none;
  background: var(--c-primary-900);
  color: rgba(255,255,255,0.78);
  font-size: var(--fs-14);
  padding: 8px 0;
}
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar a:hover { color: var(--c-accent); }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); }
.utility-bar .ub-left { display: flex; gap: var(--s-5); align-items: center; }
.utility-bar .ub-left span { display: inline-flex; align-items: center; gap: 6px; }

@media (min-width: 1024px) { .utility-bar { display: block; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-3);
  padding-bottom: var(--s-3);
  gap: var(--s-5);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: var(--c-primary);
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--fs-20);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand .amp { color: var(--c-accent); font-weight: 700; }
.brand .brand-sub { font-weight: 500; color: var(--c-ink-soft); display: none; }
@media (min-width: 768px) {
  .brand { font-size: var(--fs-24); }
  .brand .brand-sub { display: inline; font-size: 0.7em; margin-left: 4px; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  cursor: pointer;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(360px, 86vw);
  background: #fff;
  box-shadow: var(--sh-xl);
  padding: 88px var(--s-6) var(--s-6);
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
  overflow-y: auto;
  z-index: 40;
}
.main-nav[data-open="true"] { transform: translateX(0); }
.main-nav ul { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: flex; flex-direction: column; gap: var(--s-1); }
.main-nav a {
  display: block;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  font-size: var(--fs-18);
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: var(--c-bg-tint);
  color: var(--c-primary);
}

.nav-cta { margin-top: var(--s-4); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 32, 59, 0.55);
  z-index: 39;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
}
.nav-overlay[data-open="true"] { opacity: 1; visibility: visible; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    transform: none;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: var(--s-5);
  }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    margin: 0;
    gap: 4px;
  }
  .main-nav a {
    font-size: var(--fs-16);
    padding: 8px 14px;
  }
  .nav-cta { margin: 0; }
  .nav-overlay { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(217,164,65,0.12), transparent 60%),
    linear-gradient(180deg, var(--c-bg-tint) 0%, #fff 100%);
  padding: var(--s-9) 0 var(--s-10);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: var(--s-8);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--c-primary);
  box-shadow: var(--sh-sm);
  margin-bottom: var(--s-5);
}
.hero-eyebrow .stars { color: var(--c-star); letter-spacing: 1px; }

.hero h1 { margin-bottom: var(--s-4); }
.hero p.lede { margin-bottom: var(--s-6); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  margin-top: var(--s-6);
  font-size: var(--fs-14);
  color: var(--c-ink-soft);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .dot { color: var(--c-accent); }

@media (min-width: 1024px) {
  .hero { padding: var(--s-11) 0 var(--s-12); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-10); }
}

/* Hero with full background image variant (for interior pages and homepage) */
.hero-image {
  position: relative;
  background: var(--c-primary);
  color: #fff;
  padding: var(--s-10) 0 var(--s-11);
  overflow: hidden;
  isolation: isolate;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center 35%;
  z-index: -2;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,32,59,0.40) 0%, rgba(7,32,59,0.70) 100%);
  z-index: -1;
}
.hero-image > .container { position: relative; z-index: 1; }
.hero-image h1 { color: #fff; }
.hero-image .lede { color: rgba(255,255,255,0.90); }
.hero-image .hero-eyebrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-image .hero-trust { color: rgba(255,255,255,0.85); }
.hero-image .hero-trust .dot { color: var(--c-accent); }
.hero-image .btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.hero-image .btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* Homepage variant — split layout (text left, form right) with a softer
   left-heavy gradient so the lifestyle photo is genuinely visible. */
.hero-image.hero-split::after {
  background: linear-gradient(100deg,
    rgba(7,32,59,0.78) 0%,
    rgba(7,32,59,0.62) 38%,
    rgba(7,32,59,0.32) 70%,
    rgba(7,32,59,0.18) 100%);
}
.hero-image.hero-split h1 {
  text-shadow: 0 2px 24px rgba(7,32,59,0.55);
}
.hero-image.hero-split .lede {
  text-shadow: 0 1px 14px rgba(7,32,59,0.75);
}
@media (max-width: 1023px) {
  /* On mobile/tablet the form stacks below — uniform overlay reads better */
  .hero-image.hero-split::after {
    background: linear-gradient(180deg, rgba(7,32,59,0.62) 0%, rgba(7,32,59,0.82) 100%);
  }
}

/* =========================================================
   Quote form (in hero + as standalone)
   ========================================================= */

.quote-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--sh-lg);
}
.quote-card h2 {
  font-size: var(--fs-24);
  margin-bottom: var(--s-2);
}
.quote-card .quote-sub {
  color: var(--c-ink-soft);
  font-size: var(--fs-14);
  margin-bottom: var(--s-5);
}
@media (min-width: 768px) {
  .quote-card { padding: var(--s-7); }
  .quote-card h2 { font-size: var(--fs-28); }
}

.form-grid {
  display: grid;
  gap: var(--s-4);
}
.form-grid .col-2 { grid-column: span 1; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .col-full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--c-primary);
}
.field label .req { color: var(--c-error); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: var(--fs-16);
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(11,42,74,0.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: var(--fs-12); color: var(--c-ink-muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.field .err {
  font-size: var(--fs-12);
  color: var(--c-error);
  display: none;
}
.field.has-error .err { display: block; }

.form-footer {
  margin-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.form-footer .small {
  font-size: var(--fs-12);
  color: var(--c-ink-muted);
  line-height: 1.5;
}

.form-success, .form-error {
  padding: var(--s-4);
  border-radius: var(--r-md);
  font-size: var(--fs-14);
  margin-bottom: var(--s-4);
  display: none;
}
.form-success { background: var(--c-success-bg); color: var(--c-success); border: 1px solid currentColor; }
.form-error { background: var(--c-error-bg); color: var(--c-error); border: 1px solid currentColor; }
.form-success.is-visible, .form-error.is-visible { display: block; }

/* Honeypot — hidden from users, visible to dumb bots */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================
   Trust bar
   ========================================================= */

.trust-bar {
  background: var(--c-primary);
  color: rgba(255,255,255,0.86);
  padding: var(--s-5) 0;
  font-size: var(--fs-14);
  text-align: center;
}
.trust-bar strong { color: #fff; }
.trust-bar .stars { color: var(--c-accent); letter-spacing: 1px; }

/* =========================================================
   Card grids (services, industries)
   ========================================================= */

.grid {
  display: grid;
  gap: var(--s-5);
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: var(--s-2); font-size: var(--fs-20); }
.card p { color: var(--c-ink-soft); margin-bottom: var(--s-4); }
.card .card-link {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .card-link::after {
  content: '→';
  transition: transform var(--t-fast) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--c-accent);
}
.card:hover .card-link::after { transform: translateX(3px); }

a.card { text-decoration: none; color: inherit; }
a.card:hover { color: inherit; }

.card-tag {
  display: inline-block;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-600);
  margin-bottom: var(--s-2);
}

/* Card variants with imagery */
.card.card-photo {
  padding: 0;
  overflow: hidden;
}
.card.card-photo .card-image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-bg-tint);
}
.card.card-photo .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms var(--ease);
}
.card.card-photo:hover .card-image img { transform: scale(1.05); }
.card.card-photo .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,32,59,0) 50%, rgba(7,32,59,0.35) 100%);
}
.card.card-photo .card-body { padding: var(--s-6); display: flex; flex-direction: column; flex: 1; }
.card.card-photo h3 { margin-bottom: var(--s-2); }
.card.card-photo p { color: var(--c-ink-soft); margin-bottom: var(--s-4); flex: 1; }

/* Photo strip — full-bleed band of small lifestyle images */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
}
.photo-strip > div {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-primary);
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}
.photo-strip > div:hover img { transform: scale(1.06); }
@media (max-width: 768px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Big stat / highlight band — for "served X businesses" type content */
.stats-band {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  text-align: center;
  padding: var(--s-8) 0;
}
@media (min-width: 768px) {
  .stats-band { grid-template-columns: repeat(4, 1fr); padding: var(--s-9) 0; }
}
.stat-num {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.25rem);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: var(--s-2);
  font-family: var(--ff-display);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: var(--fs-14);
  color: var(--c-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* =========================================================
   Language switcher (utility bar)
   ========================================================= */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-14);
}
.lang-switch button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.62);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.is-active {
  color: #fff;
  background: rgba(255,255,255,0.14);
}
.lang-switch .sep { color: rgba(255,255,255,0.35); user-select: none; }

/* Google Translate widget — keep its UI invisible; we drive it from our buttons */
#google_translate_element { display: none !important; }
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame { display: none !important; visibility: hidden !important; }
body { top: 0 !important; }
.goog-tooltip,
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}
.goog-te-gadget,
.goog-te-gadget * { font-size: 0 !important; line-height: 0 !important; }
.goog-logo-link, .goog-te-gadget span { display: none !important; }

/* =========================================================
   Blog carousel
   ========================================================= */
.carousel {
  position: relative;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px var(--s-5);
  scrollbar-width: thin;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--c-line); border-radius: 99px; }
.carousel-track::-webkit-scrollbar-track { background: transparent; }
@media (min-width: 640px) { .carousel-track { grid-auto-columns: 60%; } }
@media (min-width: 900px) { .carousel-track { grid-auto-columns: 38%; } }
@media (min-width: 1200px) { .carousel-track { grid-auto-columns: 28%; } }
.carousel-track > * { scroll-snap-align: start; }

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--s-2);
  margin-top: var(--s-2);
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-primary);
  font-size: var(--fs-20);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.carousel-btn:hover { background: var(--c-bg-soft); border-color: var(--c-primary); }
.carousel-btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* Blog post card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  color: inherit;
}
.blog-card .blog-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card .blog-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 480ms var(--ease);
}
.blog-card:hover .blog-image img { transform: scale(1.04); }
.blog-card .blog-body {
  padding: var(--s-5) var(--s-6) var(--s-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card .blog-meta {
  display: flex;
  gap: var(--s-3);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent-600);
  font-weight: 700;
  margin-bottom: var(--s-2);
}
.blog-card .blog-meta .dot { color: var(--c-line); }
.blog-card h3 {
  font-size: var(--fs-20);
  margin-bottom: var(--s-3);
  line-height: 1.3;
}
.blog-card p {
  color: var(--c-ink-soft);
  font-size: var(--fs-14);
  margin-bottom: var(--s-4);
  flex: 1;
}
.blog-card .read-link {
  font-weight: 600;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.blog-card .read-link::after {
  content: '→';
  transition: transform var(--t-fast) var(--ease);
}
.blog-card:hover .read-link::after { transform: translateX(3px); }

/* =========================================================
   Accessibility widget (left tab)
   ========================================================= */
.a11y-widget {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  font-family: inherit;
}
.a11y-toggle {
  width: 44px;
  min-height: 110px;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-top-right-radius: var(--r-md);
  border-bottom-right-radius: var(--r-md);
  cursor: pointer;
  font-size: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--s-3) 0;
  box-shadow: var(--sh-md);
  transition: background var(--t-fast) var(--ease), width var(--t-med) var(--ease);
  letter-spacing: 0.06em;
}
.a11y-toggle:hover { background: var(--c-primary-700); }
.a11y-toggle .label-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: var(--fs-12);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.a11y-toggle .icon { font-size: 20px; line-height: 1; }
.a11y-toggle:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.a11y-panel {
  position: absolute;
  left: 44px;
  top: 0;
  width: 280px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: none;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s-5);
  box-shadow: var(--sh-lg);
  transform-origin: left center;
  transform: translateX(-12px) scaleX(0);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
  max-height: 80vh;
  overflow-y: auto;
}
.a11y-widget[data-open="true"] .a11y-panel {
  transform: translateX(0) scaleX(1);
  opacity: 1;
  visibility: visible;
}
.a11y-panel h2 {
  font-size: var(--fs-16);
  margin-bottom: var(--s-2);
  color: var(--c-primary);
}
.a11y-panel p.lede-small {
  font-size: var(--fs-12);
  color: var(--c-ink-soft);
  margin-bottom: var(--s-4);
}
.a11y-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.a11y-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 10px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  font-size: var(--fs-14);
  color: var(--c-ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.a11y-option:hover { background: var(--c-bg-soft); }
.a11y-option .a11y-state {
  font-size: var(--fs-12);
  font-weight: 700;
  color: var(--c-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.a11y-option[aria-pressed="true"] {
  border-color: var(--c-primary);
  background: var(--c-bg-tint);
}
.a11y-option[aria-pressed="true"] .a11y-state { color: var(--c-primary); }
.a11y-reset {
  margin-top: var(--s-3);
  width: 100%;
  padding: 10px;
  border: 1px solid var(--c-line);
  background: var(--c-bg-soft);
  color: var(--c-ink-soft);
  border-radius: var(--r-md);
  font-size: var(--fs-12);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  font-family: inherit;
}
.a11y-reset:hover { background: var(--c-line); color: var(--c-primary); }

/* Accessibility settings — applied to <html> */
html.a11y-text-large { font-size: 112.5%; }
html.a11y-text-xlarge { font-size: 125%; }
html.a11y-contrast {
  --c-ink: #000;
  --c-ink-soft: #1a1a1a;
  --c-line: #000;
  --c-bg: #fff;
  --c-bg-soft: #fff;
  --c-bg-tint: #fff;
}
html.a11y-contrast body { background: #fff !important; color: #000 !important; }
html.a11y-contrast a, html.a11y-contrast .btn-primary { color: #000 !important; background-color: #ffd133 !important; border-color: #000 !important; }
html.a11y-contrast .site-header { background: #fff !important; border-bottom: 2px solid #000 !important; }
html.a11y-contrast .hero-image::after { background: rgba(0,0,0,0.85) !important; }
html.a11y-underline a { text-decoration: underline !important; }
html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

/* Hide widget when printing */
@media print { .a11y-widget, .ai-chat { display: none; } }

/* =========================================================
   AI Chat widget (bottom-right)
   ========================================================= */
.ai-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 55;
  font-family: var(--ff-sans);
}
.ai-chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.ai-chat-toggle:hover { transform: scale(1.06); background: var(--c-primary-700); }
.ai-chat-toggle svg { width: 24px; height: 24px; }
.ai-chat-toggle .close-icon { display: none; }
.ai-chat[data-open="true"] .ai-chat-toggle .open-icon { display: none; }
.ai-chat[data-open="true"] .ai-chat-toggle .close-icon { display: inline-block; }

.ai-chat-window {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(380px, calc(100vw - 40px));
  height: min(560px, calc(100dvh - 120px));
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  box-shadow: var(--sh-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.92) translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
}
.ai-chat[data-open="true"] .ai-chat-window {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

.ai-chat-header {
  padding: 16px 20px;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-chat-header .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-primary-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}
.ai-chat-header .title { font-weight: 700; font-size: 15px; line-height: 1.2; }
.ai-chat-header .subtitle { font-size: 12px; opacity: 0.78; }

.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--c-bg-tint);
}
.ai-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}
.ai-msg.bot {
  background: #fff;
  border: 1px solid var(--c-line);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.ai-msg.user {
  background: var(--c-primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ai-msg.error {
  background: var(--c-error-bg);
  color: var(--c-error);
  align-self: stretch;
  text-align: center;
  font-size: 13px;
}
.ai-msg p { margin: 0 0 8px; }
.ai-msg p:last-child { margin-bottom: 0; }
.ai-msg a { color: inherit; text-decoration: underline; }

.ai-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
}
.ai-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-ink-muted);
  animation: ai-bounce 1.2s infinite ease-in-out;
}
.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ai-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.ai-chat-form {
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--c-line);
  display: flex;
  gap: 8px;
}
.ai-chat-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--c-line);
  border-radius: 99px;
  font-size: 14px;
  font-family: inherit;
  background: var(--c-bg-tint);
}
.ai-chat-form input:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
}
.ai-chat-form button {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ai-chat-form button:hover:not([disabled]) { background: var(--c-primary-700); }
.ai-chat-form button[disabled] { opacity: 0.5; cursor: not-allowed; }
.ai-chat-form button svg { width: 18px; height: 18px; }

.ai-chat-disclaimer {
  font-size: 11px;
  color: var(--c-ink-muted);
  text-align: center;
  padding: 6px 12px 10px;
  background: #fff;
}

/* On mobile, give a11y widget more room and chat widget some padding */
@media (max-width: 600px) {
  .ai-chat { right: 12px; bottom: 12px; }
  .ai-chat-window { bottom: 64px; height: min(560px, calc(100dvh - 100px)); }
}

/* Mobile: collapse the vertical label so the tab is just an icon */
@media (max-width: 600px) {
  .a11y-toggle .label-vertical { display: none; }
  .a11y-toggle { min-height: 56px; }
  .a11y-panel { width: calc(100vw - 60px); max-width: 320px; }
}

/* Industry pill grid */
.industry-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 600px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .industry-grid { grid-template-columns: repeat(5, 1fr); } }

.industry-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-3);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  min-height: 64px;
  transition: all var(--t-fast) var(--ease);
}
.industry-tile:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  transform: translateY(-2px);
}

/* =========================================================
   Two-column feature (image + text)
   ========================================================= */

.feature {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 1024px) {
  .feature { grid-template-columns: 1fr 1fr; gap: var(--s-10); }
  .feature.reverse > :first-child { order: 2; }
}

.feature-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.feature-text h2 { margin-bottom: var(--s-4); }

/* =========================================================
   Reviews / testimonials
   ========================================================= */

.review-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.review-stars {
  color: var(--c-star);
  font-size: var(--fs-18);
  letter-spacing: 2px;
}
.review-body {
  color: var(--c-ink);
  font-size: var(--fs-16);
  line-height: 1.65;
  margin: 0;
}
.review-author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line-soft);
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-14);
  flex-shrink: 0;
}
.review-name { font-weight: 700; color: var(--c-primary); font-size: var(--fs-14); }
.review-meta { font-size: var(--fs-12); color: var(--c-ink-muted); }

.aggregate-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  text-align: center;
  margin-bottom: var(--s-7);
}
.aggregate-bar .score {
  font-size: var(--fs-32);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}
.aggregate-bar .stars { color: var(--c-star); font-size: var(--fs-20); letter-spacing: 2px; }
.aggregate-bar .label { font-size: var(--fs-14); color: var(--c-ink-soft); }

/* =========================================================
   FAQ accordion
   ========================================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--c-primary); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-5);
  font-weight: 600;
  color: var(--c-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-16);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: var(--fs-24);
  font-weight: 400;
  line-height: 1;
  color: var(--c-accent-600);
  transition: transform var(--t-med) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--c-ink-soft);
}
.faq-answer p:last-child { margin-bottom: 0; }

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
  background: linear-gradient(135deg, var(--c-primary-900) 0%, var(--c-primary) 100%);
  color: #fff;
  padding: var(--s-9) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 56ch; margin: 0 auto var(--s-6); font-size: var(--fs-18); }
.cta-band .btn-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}
.cta-band .btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--c-primary-900);
  color: rgba(255,255,255,0.72);
  padding: var(--s-10) 0 var(--s-6);
  font-size: var(--fs-14);
}
.site-footer h4 {
  color: #fff;
  font-size: var(--fs-14);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-4);
  font-weight: 700;
}
.site-footer a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}
.site-footer a:hover { color: var(--c-accent); }

.footer-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-7);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 4px; }

.footer-brand { max-width: 360px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand .amp { color: var(--c-accent); }
.footer-brand p { margin-top: var(--s-3); color: rgba(255,255,255,0.62); line-height: 1.6; }
.footer-brand .nap { margin-top: var(--s-4); }
.footer-brand .nap p { margin-bottom: var(--s-1); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  font-size: var(--fs-12);
  color: rgba(255,255,255,0.54);
}
.footer-bottom .legal-links { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.footer-bottom .legal-links a { font-size: var(--fs-12); }

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--s-8);
  }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* =========================================================
   Breadcrumbs
   ========================================================= */

.breadcrumbs {
  font-size: var(--fs-14);
  padding: var(--s-4) 0;
  color: var(--c-ink-soft);
}
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.breadcrumbs li + li::before {
  content: '/';
  color: var(--c-ink-muted);
  margin-right: 4px;
}
.breadcrumbs a { color: var(--c-ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--c-primary); font-weight: 600; }

/* =========================================================
   Long-form content (service/industry pages)
   ========================================================= */

.prose {
  max-width: 70ch;
  font-size: var(--fs-18);
  color: var(--c-ink);
  line-height: 1.7;
}
.prose h2 { margin-top: var(--s-9); margin-bottom: var(--s-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-7); margin-bottom: var(--s-3); }
.prose p, .prose ul, .prose ol { font-size: var(--fs-18); line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-bottom: var(--s-2); }
.prose strong { color: var(--c-primary); }

.callout {
  background: var(--c-bg-tint);
  border-left: 4px solid var(--c-accent);
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  margin: var(--s-6) 0;
}
.callout .callout-label {
  display: inline-block;
  font-size: var(--fs-12);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent-600);
  margin-bottom: var(--s-2);
}
.callout p:last-child { margin-bottom: 0; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-6) 0;
  font-size: var(--fs-16);
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.compare-table th, .compare-table td {
  padding: var(--s-4);
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}
.compare-table th {
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-14);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--c-bg-soft); }

.bottom-line {
  background: linear-gradient(135deg, var(--c-primary-900) 0%, var(--c-primary) 100%);
  color: #fff;
  padding: var(--s-7);
  border-radius: var(--r-lg);
  margin: var(--s-7) 0;
}
.bottom-line .label {
  display: inline-block;
  font-size: var(--fs-12);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin-bottom: var(--s-3);
}
.bottom-line h3 { color: #fff; margin-bottom: var(--s-3); }
.bottom-line p { color: rgba(255,255,255,0.86); margin-bottom: 0; font-size: var(--fs-18); }

/* =========================================================
   Author / E-E-A-T card
   ========================================================= */

.author-card {
  display: flex;
  gap: var(--s-5);
  align-items: flex-start;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin: var(--s-8) 0;
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-24);
  flex-shrink: 0;
}
.author-info .label {
  display: block;
  font-size: var(--fs-12);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent-600);
  margin-bottom: var(--s-1);
}
.author-info h4 { font-size: var(--fs-18); margin-bottom: var(--s-1); }
.author-info p { font-size: var(--fs-14); color: var(--c-ink-soft); margin: 0; line-height: 1.6; }

/* =========================================================
   Helpers
   ========================================================= */

.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;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
