/* =========================================================
   SLOP.LP — Hard-Edged Editorial · REV 06
   Palette: warm paper + logo tri-brand (blue / red / green)
   Type: Archivo (single family, no italics, 400–800)
   Discipline: zero border-radius, no gradients, plain icons, hairlines.
   ========================================================= */

:root {
  /* Surfaces */
  --bg: #fdfcf8;
  --bg-2: #f4f1e8;
  --bg-3: #ebe7db;
  --card: #ffffff;

  /* Ink */
  --ink: #0f1115;
  --ink-2: #2a2d35;
  --ink-3: #4a4e57;
  --mute: #70747e;
  --line: #dfdbce;
  --line-2: #c9c4b3;

  /* Brand (from logo) */
  --red: #c8102e;
  --red-600: #a40e26;
  --red-700: #850b1f;
  --blue: #1a5dc8;
  --blue-600: #144aa3;
  --green: #268c44;
  --green-600: #1d7035;

  /* Primary UI accent (swap the three below to recolor every CTA, eyebrow, focus, hover, stamp, chatbot, selection) */
  --accent: var(--blue);
  --accent-600: var(--blue-600);
  --accent-700: #0f3a7d;

  /* Shadows — softer presence in place of ink borders */
  --shadow-sm: 0 1px 2px rgba(20,22,28,0.05), 0 1px 1px rgba(20,22,28,0.03);
  --shadow-md: 0 2px 4px rgba(20,22,28,0.04), 0 6px 16px rgba(20,22,28,0.06);
  --shadow-lg: 0 4px 10px rgba(20,22,28,0.05), 0 18px 40px rgba(20,22,28,0.08);

  /* Radii — slight rounding */
  --r-xs: 4px;
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-full: 999px;

  /* Type */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

::selection { background: var(--accent); color: #fff; }

/* Utility ------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: rgba(255,255,255,0.9); }
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
}

.accent {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.tx-blue  { color: var(--blue)  !important; }
.tx-red   { color: var(--red)   !important; }
.tx-green { color: var(--green) !important; }

.display,
.display-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.display { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.display-h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.1; }

.section { padding: clamp(4rem, 8vw, 6rem) var(--gutter); max-width: var(--max); margin: 0 auto; }

.tri-stripe {
  display: flex;
  height: 5px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  gap: 0;
}
.tri-arrow {
  flex: 1;
  clip-path: polygon(
    0 0,
    calc(100% - 4px) 0,
    100% 50%,
    calc(100% - 4px) 100%,
    0 100%,
    4px 50%
  );
}
.tri-arrow:first-child {
  clip-path: polygon(
    0 0,
    calc(100% - 4px) 0,
    100% 50%,
    calc(100% - 4px) 100%,
    0 100%
  );
}
.tri-arrow:last-child {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%,
    4px 50%
  );
}
.tri-arrow + .tri-arrow { margin-left: -1px; }
.tri-arrow.blue  { background: var(--blue); }
.tri-arrow.red   { background: var(--red); }
.tri-arrow.green { background: var(--green); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { margin-bottom: 0.9rem; }
.section-lede { color: var(--mute); font-size: 1.05rem; margin-top: 1rem; }

/* Buttons ------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  border-radius: var(--r-sm);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn i, .btn svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-600); border-color: var(--accent-600); }
.btn-primary:hover i, .btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Navbar -------------------------------------------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.navbar.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.brand-logo {
  width: 52px; height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-text small {
  font-size: 0.8rem;
  color: var(--mute);
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 0.3rem;
}

.nav-pill {
  justify-self: center;
  display: inline-flex;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.nav-pill.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.3rem;
  color: var(--ink);
  transition: background 0.15s ease;
  min-width: 0;
}
.nav-pill-item + .nav-pill-item { border-left: 1px solid var(--line); }
.nav-pill-item:hover .npi-value,
.nav-pill-item:hover .npi-short {
  color: var(--accent);
}
.nav-pill-item i, .nav-pill-item svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.npi-text { display: flex; flex-direction: column; line-height: 1; gap: 2px; min-width: 0; }
.npi-label { display: none; }
.npi-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-pill-item:hover .npi-value { color: var(--accent); }

.npi-short {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color 0.15s ease;
}
.nav-pill-item:hover .npi-short { color: var(--accent); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav-burger:hover { background: var(--bg-2); }
.nav-burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-links a {
  display: inline-block;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.95rem; right: 0.95rem;
  bottom: 8px;
  height: 2px;
  background: var(--accent);
}

.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.15s ease;
}
.nav-phone:hover { color: var(--accent); }
.nav-phone i { width: 16px; height: 16px; color: var(--accent); }

/* Hero ---------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4rem, 7vw, 6rem);
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.hero-copy > * + * { margin-top: 1.4rem; }
.hero-copy .eyebrow { margin-bottom: 0; }

.hero-copy .display { animation: rise 0.6s cubic-bezier(0.2,0.8,0.2,1) both; }
.hero-copy .lede {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 52ch;
  animation: rise 0.6s 0.08s cubic-bezier(0.2,0.8,0.2,1) both;
}
.hero-copy .lede strong { color: var(--ink); font-weight: 700; }

.hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-sm);
  background: var(--card);
  overflow: hidden;
  animation: rise 0.6s 0.16s cubic-bezier(0.2,0.8,0.2,1) both;
}
.hero-card-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.75rem;
  color: var(--ink);
  min-width: 0;
  transition: background 0.15s ease;
}
.hero-card-item + .hero-card-item { border-left: 1px solid var(--line); }
.hero-card-item i, .hero-card-item svg {
  width: 22px; height: 22px; stroke-width: 2;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-card-item:hover .hci-value {
  color: var(--accent);
}
.hci-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hci-label { display: none; }
.hci-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.hero-card-item:hover .hci-value { color: var(--accent); }

.hero-card--address {
  grid-template-columns: 1fr;
  margin-top: 0.6rem;
  animation-delay: 0.22s;
}
.hero-card--address .hero-card-item { padding: 0.85rem 1.75rem; }
.hero-card--address .hci-value {
  white-space: normal;
  font-size: 0.98rem;
  line-height: 1.35;
}
.hero-card--address:hover .hci-value { color: var(--accent); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: rise 0.6s 0.24s cubic-bezier(0.2,0.8,0.2,1) both;
  margin-top: 2rem !important;
  list-style: none;
}
.trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon i, .trust-icon svg {
  width: 28px; height: 28px;
  stroke-width: 2;
}
.trust-item.blue .trust-icon { color: var(--blue); }
.trust-item.red .trust-icon { color: var(--red); }
.trust-item.green .trust-icon { color: var(--green); }
.trust-content { display: flex; flex-direction: column; }
.trust-item strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.trust-item span {
  font-size: 0.78rem;
  color: var(--mute);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Contact card (in hero) --------------------------------- */

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: rise 0.6s 0.12s cubic-bezier(0.2,0.8,0.2,1) both;
}

.cc-stripe {
  display: flex;
  gap: 0;
  height: 14px;
  flex-shrink: 0;
  pointer-events: none;
  margin: 0 -1px;
}
.cc-arrow + .cc-arrow { margin-left: -5px; }
.cc-arrow {
  flex: 1;
  /* default = middle arrow: notched back (concave left) + pointy tip */
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 50%,
    calc(100% - 10px) 100%,
    0 100%,
    10px 50%
  );
}
.cc-arrow:first-child {
  /* first arrow: flat left + pointy tip */
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 50%,
    calc(100% - 10px) 100%,
    0 100%
  );
}
.cc-arrow:last-child {
  /* last arrow: notched back + flat right (no tip) */
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%,
    10px 50%
  );
}
.cc-arrow.blue  { background: var(--blue); }
.cc-arrow.red   { background: var(--red); }
.cc-arrow.green { background: var(--green); }

.mode-switch {
  display: flex;
  align-items: stretch;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: var(--r-full);
  margin: 1rem 1.5rem 0;
  box-shadow: inset 0 1px 2px rgba(20,22,28,0.04);
}
.mode-switch button {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-3);
  border-radius: var(--r-full);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mode-switch button:hover { color: var(--ink); }
.mode-switch button.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 3px 8px rgba(26,93,200,0.35),
    0 1px 2px rgba(26,93,200,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.contact-panel { display: none; padding: 1.5rem 1.5rem 1.3rem; }
.contact-panel.is-active { display: block; }

.cc-head { margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cc-head h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}
.cc-head p { font-size: 0.88rem; color: var(--mute); }

/* Form --------------------------------------------------- */

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #a1a5ac; }
.field input:hover,
.field textarea:hover { border-bottom-color: var(--ink-3); }
.field input:focus,
.field textarea:focus {
  border-bottom: 2px solid var(--accent);
  padding-bottom: calc(0.7rem - 1px);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }

.form-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.76rem;
  color: var(--mute);
}
.form-note i { width: 14px; height: 14px; color: var(--green); }

/* Contacts list (direct) --------------------------------- */

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0;
  position: relative;
}

.c-role {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.c-role i, .c-role svg { width: 14px; height: 14px; }
.contact-row.blue .c-role i, .contact-row.blue .c-role svg { color: var(--blue); }
.contact-row.red .c-role i, .contact-row.red .c-role svg { color: var(--red); }
.contact-row.green .c-role i, .contact-row.green .c-role svg { color: var(--green); }
.contact-row.neutral .c-role i, .contact-row.neutral .c-role svg { color: var(--ink); }

.c-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.c-meta { font-size: 0.85rem; color: var(--ink-3); }

.c-pill {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--card);
  overflow: hidden;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-sm);
}
.c-pill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  color: var(--ink);
  min-width: 0;
  transition: background 0.15s ease;
}
.c-pill-item + .c-pill-item { border-left: 1px solid var(--line); }
.c-pill-item:hover .cpi-value {
  color: var(--accent);
}
.c-pill-item i, .c-pill-item svg {
  width: 16px; height: 16px; stroke-width: 2;
  color: var(--accent);
  flex-shrink: 0;
}
.cpi-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cpi-label { display: none; }
.cpi-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.c-pill-item:hover .cpi-value { color: var(--accent); }

.map-link {
  color: inherit;
  border-bottom: 1px dashed var(--line-2);
  transition: color 0.15s ease, border-bottom-color 0.15s ease;
  align-self: flex-start;
}
.map-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Services — horizontal rows ----------------------------- */

.services-tabs {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 460px;
}

.services-nav {
  background: transparent;
  border-right: 1px solid var(--line);
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sn-item {
  display: grid;
  grid-template-columns: 4px auto auto 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  color: var(--ink-3);
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.sn-icon {
  display: inline-flex;
  align-items: center;
  opacity: 0.45;
  transition: opacity 0.15s ease;
}
.sn-icon i, .sn-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.sn-item.brand-blue .sn-icon { color: var(--blue); }
.sn-item.brand-red .sn-icon { color: var(--red); }
.sn-item.brand-green .sn-icon { color: var(--green); }
.sn-item.is-active .sn-icon,
.sn-item:hover .sn-icon { opacity: 1; }
.sn-item .sn-bar {
  width: 3px;
  height: 22px;
  background: var(--line-2);
  transition: background 0.15s ease, height 0.15s ease, width 0.15s ease;
}
.sn-item.brand-blue .sn-bar { background: rgba(26,93,200,0.28); }
.sn-item.brand-red .sn-bar { background: rgba(200,16,46,0.28); }
.sn-item.brand-green .sn-bar { background: rgba(38,140,68,0.28); }
.sn-item .sn-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--mute);
  transition: color 0.15s ease;
}
.sn-item .sn-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}
.sn-item:hover { background: rgba(20,22,28,0.035); color: var(--ink); }
.sn-item:hover .sn-num { color: var(--ink); }
.sn-item.is-active {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.sn-item.is-active .sn-num { color: var(--ink); font-weight: 800; }
.sn-item.is-active .sn-title { color: var(--ink); font-weight: 700; }
.sn-item.is-active .sn-bar { width: 4px; height: 36px; }
.sn-item.brand-blue.is-active .sn-bar { background: var(--blue); }
.sn-item.brand-red.is-active .sn-bar { background: var(--red); }
.sn-item.brand-green.is-active .sn-bar { background: var(--green); }

.services-panels { position: relative; }
.sp-panel {
  display: none;
  padding: clamp(2rem, 3.5vw, 3rem);
}
.sp-panel.is-active {
  display: block;
  animation: panelIn 0.25s ease forwards;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sp-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.sp-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.sp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.sp-icon i, .sp-icon svg { width: 34px; height: 34px; stroke-width: 2; }
.sp-panel.brand-blue .sp-icon { color: var(--blue); }
.sp-panel.brand-red .sp-icon { color: var(--red); }
.sp-panel.brand-green .sp-icon { color: var(--green); }

.sp-panel h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.sp-desc {
  color: var(--ink-3);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}
.sp-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 240px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.sp-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sp-items li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.sp-items li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.sp-panel.brand-blue  .sp-items li::before { background: var(--blue); }
.sp-panel.brand-red   .sp-items li::before { background: var(--red); }
.sp-panel.brand-green .sp-items li::before { background: var(--green); }
.sp-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sp-meta > div { display: flex; flex-direction: column; gap: 0.25rem; }
.sp-meta dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.sp-meta dd {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}

/* About -------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: 2.5rem;
}
.about-copy .eyebrow { margin-bottom: 0.9rem; }
.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy p { font-size: 1.05rem; color: var(--ink-3); margin-bottom: 1rem; max-width: 52ch; }
.about-copy p:last-of-type { margin-bottom: 2rem; }

.about-points { display: flex; flex-direction: column; gap: 0.6rem; }
.ap-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-left: 0.1rem;
}
.ap-item i {
  width: 18px; height: 18px;
  color: var(--accent);
  stroke-width: 2.5;
  flex-shrink: 0;
}

.about-visual { position: relative; }
.stats-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 2rem;
  position: relative;
}

.sc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
}
.sc-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.sc-since {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.sc-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
}
.sc-icon i, .sc-icon svg { width: 28px; height: 28px; stroke-width: 1.75; }
.sc-item.blue  .sc-icon { color: var(--blue); }
.sc-item.red   .sc-icon { color: var(--red); }
.sc-item.green .sc-icon { color: var(--green); }

.sc-content { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-content strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.sc-content span {
  font-size: 0.86rem;
  color: var(--mute);
  letter-spacing: 0.01em;
}

.sc-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.sc-foot span {
  font-size: 0.78rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}

/* Horizontal variant — full-width row of stats below the about grid */
.stats-card--horizontal { padding: 1.5rem 2rem; }
.stats-card--horizontal .sc-list {
  flex-direction: row;
  gap: 1.5rem;
  justify-content: space-between;
}
.stats-card--horizontal .sc-item {
  flex: 1 1 0;
  min-width: 0;
  gap: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-left: 1px solid var(--line);
}
.stats-card--horizontal .sc-item:first-child {
  border-left: 0;
  padding-left: 0;
}
@media (max-width: 720px) {
  .stats-card--horizontal .sc-list { flex-wrap: wrap; }
  .stats-card--horizontal .sc-item {
    flex: 1 1 calc(50% - 0.75rem);
    border-left: 0;
    padding-left: 0;
  }
}

/* References --------------------------------------------- */

.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ref-card {
  padding: 1.75rem;
  background: var(--card);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.rc-icon {
  display: block;
  width: 30px; height: 30px;
  stroke-width: 2;
  margin-bottom: 1rem;
}
.rc-icon.blue { color: var(--blue); }
.rc-icon.red { color: var(--red); }
.rc-icon.green { color: var(--green); }

.ref-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.ref-card p { color: var(--ink-3); font-size: 0.92rem; line-height: 1.55; }

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

.cta-band {
  padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
}
.cta-inner {
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto;
  background: var(--card);
  color: var(--ink);
  padding: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow-md);
}
.cta-inner > .tri-stripe {
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  max-width: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
  z-index: 1;
}
.cta-copy { position: relative; }
.cta-copy .eyebrow { color: var(--accent); margin-bottom: 0.9rem; }
.cta-copy .eyebrow .dot { background: var(--accent); }
.cta-copy h2 { color: var(--ink); margin-bottom: 0.9rem; }
.cta-copy h2 .accent { color: var(--accent); }
.cta-copy p { color: var(--ink-3); font-size: 1.05rem; max-width: 42ch; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  position: relative;
}
.cta-actions .btn-ghost {
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
}
.cta-actions .btn-ghost:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cta-actions .btn-ghost i,
.cta-actions .btn-ghost svg { color: var(--accent); }
.cta-actions .btn-ghost:hover i,
.cta-actions .btn-ghost:hover svg { color: #fff; }

/* Footer ------------------------------------------------- */

.footer {
  background: transparent;
  color: var(--ink-3);
  padding: clamp(3rem, 5vw, 4rem) var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand { color: var(--ink); margin-bottom: 1rem; }
.footer-brand .brand-text strong { color: var(--ink); }
.footer-brand .brand-text small { color: var(--mute); }
.f-about p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 36ch;
}
.f-col h4 {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.f-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.f-col a {
  font-size: 0.92rem;
  color: var(--ink-3);
  transition: color 0.15s ease;
}
.f-col a:hover { color: var(--accent); }
.f-col address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-3);
}
.f-ident { display: flex; flex-direction: column; gap: 0.6rem; }
.f-ident > div { display: flex; gap: 0.5rem; font-size: 0.88rem; }
.f-ident dt {
  color: var(--mute);
  min-width: 34px;
}
.f-ident dd { color: var(--ink); font-weight: 500; }

.footer-bottom {
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--mute);
}

/* Chatbot widget ----------------------------------------- */

.chatbot-widget {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
}
.chatbot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(26,93,200,0.32), 0 2px 6px rgba(26,93,200,0.2);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.chatbot-btn:hover {
  background: var(--accent-600);
  box-shadow: 0 12px 28px rgba(26,93,200,0.36), 0 4px 10px rgba(26,93,200,0.25);
  transform: translateY(-2px);
}
.chatbot-btn .cb-icon { display: inline-flex; }
.chatbot-btn .cb-icon i, .chatbot-btn .cb-icon svg { width: 28px; height: 28px; stroke-width: 2; }
.chatbot-btn .cb-label { display: none; }

.chatbot-window {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  max-height: 540px;
  overflow: hidden;
}
.chatbot-window.active { display: flex; }
.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border-bottom: 1px solid var(--accent-700);
}
.chatbot-header div { display: flex; flex-direction: column; gap: 2px; }
.chatbot-header strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.015em;
}
.chatbot-header span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
}
.chatbot-close {
  font-size: 1.5rem;
  color: #fff;
  opacity: 0.85;
  line-height: 1;
  padding: 0 0.3rem;
  transition: opacity 0.15s ease;
}
.chatbot-close:hover { opacity: 1; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--bg);
  min-height: 220px;
}
.msg {
  max-width: 86%;
  padding: 0.7rem 0.95rem;
  font-size: 0.9rem;
  line-height: 1.45;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.msg.ai {
  background: var(--card);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg.user {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 6px rgba(26,93,200,0.25);
}
.msg.typing { opacity: 0.7; }
.msg.ai a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.msg.ai a:hover { filter: brightness(1.1); }
.msg ul { margin: 0.35rem 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: 0.2rem; }
.msg ul li { padding-left: 0.1rem; }
.msg ul li::marker { color: var(--accent); }
.msg strong { font-weight: 700; }
.msg.user a { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

.chatbot-input {
  display: flex;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.chatbot-input input {
  flex: 1;
  border: 0;
  padding: 0.8rem 0.95rem;
  font-size: 0.9rem;
  outline: none;
  background: transparent;
  color: var(--ink);
}
.chatbot-input input:focus { background: var(--bg); }
.chatbot-input button {
  width: 48px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.chatbot-input button:hover { background: var(--accent-600); }
.chatbot-input button i { width: 18px; height: 18px; }

/* Lucide sizing default --------------------------------- */
[data-lucide] { width: 18px; height: 18px; }

/* Responsive -------------------------------------------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .refs-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Mobile nav: burger on the right, nav-links become a dropdown panel,
     contact pill stays in center but compacts to icons-only */
  .nav-inner { gap: 0.75rem; }
  .nav-burger { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.25rem 0;
    gap: 0;
    z-index: 40;
  }
  .navbar.menu-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 0;
    width: 100%;
  }
  .nav-links a:hover { background: var(--bg-2); }
  .nav-links a.active { color: var(--accent); }
  .nav-links a.active::after { display: none; }

  .nav-pill-item { padding: 0.5rem 0.9rem; gap: 0.4rem; }
  .nav-pill-item i, .nav-pill-item svg { width: 16px; height: 16px; }
  .npi-text { display: none; }
  .npi-short { display: inline; font-size: 0.82rem; }

  .services-tabs {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .services-nav {
    flex-direction: column;
    padding: 0;
    gap: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: var(--card);
    position: relative;
    z-index: 2;
  }
  .sn-item {
    display: none;
    grid-template-columns: 4px auto auto 1fr auto;
    padding: 1rem 1.25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .sn-item:last-child { border-bottom: 0; }
  .sn-item.is-active {
    display: grid;
    background: transparent;
    box-shadow: none;
  }
  .services-nav.is-open .sn-item { display: grid; }
  .sn-item.is-active::after {
    content: "";
    width: 8px; height: 8px;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: rotate(45deg);
    justify-self: end;
    margin-right: 6px;
    transition: transform 0.2s ease;
  }
  .services-nav.is-open .sn-item.is-active::after { transform: rotate(-135deg); }
  .sn-item .sn-title { font-size: 0.95rem; white-space: normal; }
  .sp-body { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-phone span { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 0.6rem; }

  .refs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .chatbot-btn { width: 56px; height: 56px; }
  .chatbot-btn .cb-icon i, .chatbot-btn .cb-icon svg { width: 24px; height: 24px; }

  /* Hero pill stays horizontal — shrink instead of stack */
  .hero-card-item { padding: 0.7rem 1.1rem; gap: 0.55rem; }
  .hero-card-item i, .hero-card-item svg { width: 18px; height: 18px; }
  .hci-label { font-size: 0.6rem; letter-spacing: 0.1em; }
  .hci-value { font-size: 0.82rem; }

  /* Contact pills stay horizontal on mobile — compact padding/typography + ellipsis */
  .c-pill-item { padding: 0.55rem 0.75rem; gap: 0.45rem; }
  .cpi-label { font-size: 0.54rem; letter-spacing: 0.12em; }
  .cpi-value { font-size: 0.72rem; }
  .c-pill-item i, .c-pill-item svg { width: 14px; height: 14px; }

  /* Trust row — three items on one line */
  .hero-trust {
    flex-wrap: nowrap;
    gap: 0.9rem;
    justify-content: space-between;
    width: 100%;
  }
  .trust-item { flex: 1; min-width: 0; gap: 0.55rem; }
  .trust-item strong { font-size: 1.15rem; }
  .trust-item span { font-size: 0.68rem; line-height: 1.3; }
  .trust-icon i, .trust-icon svg { width: 22px; height: 22px; }

  .sp-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01s !important; animation-delay: 0 !important; transition-duration: 0.01s !important; }
}

/* ---- Photographic moments ---- */
.hero-strip {
  margin: 0.25rem auto 0;
  padding: 0;
  max-width: 560px;
  background: transparent;
  line-height: 0;
}
.hero-strip img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.97) contrast(1.02);
}

.about-photo {
  margin: 0 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  background: var(--bg-2, #f3efe7);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}

