/* Kelleher Law — design system
 * Mostly-white site using the logo's navy (#001864) + red (#AC003E).
 * Mobile-first, accessible, lightweight.
 */

:root {
  /* Brand */
  --c-navy: #001864;
  --c-navy-2: #0a2a8a;
  --c-navy-deep: #00103f;
  --c-red: #AC003E;
  --c-red-2: #c8154f;

  /* Surfaces (mostly white) */
  --c-white: #ffffff;
  --c-surface: #ffffff;
  --c-surface-2: #f4f6fb;
  --c-surface-3: #eef1f8;

  /* Text */
  --c-ink: #16203a;
  --c-ink-soft: #46506a;
  --c-muted: #6b7689;

  /* Lines */
  --c-border: rgba(0, 24, 100, 0.12);
  --c-border-strong: rgba(0, 24, 100, 0.22);

  /* On-dark helpers (for navy footer / trust bar / cta band) */
  --c-on-dark: #f4f6fb;
  --c-on-dark-soft: rgba(255, 255, 255, 0.74);
  --c-on-dark-muted: rgba(255, 255, 255, 0.55);
  --c-on-dark-border: rgba(255, 255, 255, 0.18);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --container: 1180px;
  --container-narrow: 760px;

  --shadow-sm: 0 2px 10px rgba(0, 24, 100, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 24, 100, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 24, 100, 0.16);

  --transition: 200ms ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--c-navy);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--c-ink); }
a { color: var(--c-navy); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus-visible { color: var(--c-red); text-decoration: underline; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--c-red);
  color: #fff;
  padding: 12px 18px;
  z-index: 9999;
  font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Layout helpers */
.container { width: min(var(--container), 100% - 2.4rem); margin-inline: auto; }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: var(--c-surface-2); border-block: 1px solid var(--c-border); }
.section--dark { background: var(--c-surface-3); border-block: 1px solid var(--c-border); }
.section__head { max-width: 720px; margin-bottom: 2.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__sub { color: var(--c-ink-soft); font-size: 1.05rem; }
.section__cta { margin-top: 1.5rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 0.9em;
}
.eyebrow--gold { color: var(--c-red); }
.lead { font-size: 1.15rem; color: var(--c-ink-soft); }
.muted { color: var(--c-muted); }
.muted.small { font-size: 0.85rem; }
.small { font-size: 0.85rem; }

.link-arrow { color: var(--c-red); font-weight: 600; }
.link-arrow:hover { color: var(--c-red-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.4em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--lg { padding: 1.05em 1.7em; font-size: 1.02rem; }
.btn--red { background: var(--c-red); color: #fff; border-color: var(--c-red); box-shadow: 0 6px 18px rgba(172, 0, 62, 0.22); }
.btn--red:hover { background: var(--c-red-2); color: #fff; box-shadow: 0 8px 22px rgba(172, 0, 62, 0.30); }
/* "gold" class repurposed as the navy secondary button */
.btn--gold { background: var(--c-navy); color: #fff; border-color: var(--c-navy); box-shadow: 0 6px 18px rgba(0, 24, 100, 0.18); }
.btn--gold:hover { background: var(--c-navy-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-navy); border-color: var(--c-border-strong); }
.btn--ghost:hover { border-color: var(--c-navy); background: var(--c-navy); color: #fff; }
.btn--call { background: var(--c-red); color: #fff; border-color: var(--c-red); padding: 0.7em 1.1em; flex-direction: column; gap: 2px; box-shadow: 0 6px 18px rgba(172, 0, 62, 0.22); }
.btn--call:hover { background: var(--c-red-2); color: #fff; }
.btn--call__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.85; }
.btn--call__num { font-size: 0.95rem; font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; gap: 1.5rem; }
.header__brand { display: flex; align-items: center; gap: 0.75rem; color: var(--c-navy); }
.header__brand:hover { color: var(--c-navy); text-decoration: none; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo--footer { height: 46px; width: auto; }
@media (max-width: 520px) { .brand-logo { height: 32px; } }

.header__nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--c-ink); font-size: 0.95rem; font-weight: 600; }
.nav-list a:hover { color: var(--c-red); text-decoration: none; }

.header__toggle {
  display: none;
  background: transparent; border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-sm);
  padding: 10px; cursor: pointer;
  width: 44px; height: 44px;
}
.header__toggle .bar { display: block; width: 22px; height: 2px; background: var(--c-navy); margin: 4px 0; transition: transform var(--transition), opacity var(--transition); }
.header__toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .header__toggle { display: block; }
  .header__nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.2rem 1.5rem;
    gap: 1rem;
    display: none;
  }
  .header__nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0.5rem; }
  .nav-list a { display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--c-border); }
  .header__cta .btn--call { width: 100%; flex-direction: row; justify-content: center; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  isolation: isolate;
}
.hero--home { padding-top: clamp(5rem, 10vw, 8rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.hero--page { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero--short { padding: clamp(3rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }

.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 12% 0%, rgba(172, 0, 62, 0.07) 0%, transparent 60%),
    radial-gradient(60% 60% at 95% 100%, rgba(0, 24, 100, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, #ffffff 0%, var(--c-surface-2) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-red) 0%, var(--c-navy) 100%);
}
.hero__inner { position: relative; max-width: 900px; }
.hero__h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--c-navy); margin-bottom: 0.5em; }
.hero__sub { color: var(--c-ink-soft); font-size: 1.1rem; max-width: 720px; margin-bottom: 0.4em; }
.hero__sub--lg { color: var(--c-ink); font-size: 1.2rem; margin-bottom: 1em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero__bullets { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; color: var(--c-ink-soft); font-size: 0.95rem; }
.hero__bullets li span { color: var(--c-red); margin-right: 0.4em; font-weight: 700; }

/* Trust bar (navy band) */
.trust-bar { background: var(--c-navy); border-block: 1px solid var(--c-navy-deep); padding: 1.8rem 0; }
.trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.trust-bar__item { text-align: center; }
.trust-bar__num { display: block; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; line-height: 1.1; }
.trust-bar__label { display: block; font-size: 0.82rem; color: var(--c-on-dark-soft); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.4em; }
.trust-bar__hint { display: block; font-size: 0.7rem; color: var(--c-on-dark-muted); text-transform: none; letter-spacing: 0; font-style: italic; margin-top: 2px; }
@media (max-width: 760px) {
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Credential logo marquee */
.logo-marquee { background: #fff; padding: 2.2rem 0; border-bottom: 1px solid var(--c-border); overflow: hidden; }
.logo-marquee__head { text-align: center; margin-bottom: 1.4rem; }
.logo-marquee__eyebrow { margin: 0; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--c-navy); opacity: 0.7; }
.logo-marquee__viewport { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; gap: 3.5rem; animation: logo-marquee-scroll 34s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item { flex: 0 0 auto; display: flex; align-items: center; }
.logo-marquee__img { height: 56px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(100%); opacity: 0.65; transition: filter 0.2s ease, opacity 0.2s ease; }
.logo-marquee__item:hover .logo-marquee__img { filter: grayscale(0); opacity: 1; }
@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .logo-marquee__track { gap: 2.4rem; }
  .logo-marquee__img { height: 44px; max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; row-gap: 1.5rem; }
  .logo-marquee__viewport { -webkit-mask-image: none; mask-image: none; }
  .logo-marquee__item[aria-hidden="true"] { display: none; }
}

/* Cards / grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.card {
  display: flex; flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--c-red);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--c-ink);
}
.card h2, .card h3 { color: var(--c-navy); font-size: 1.2rem; margin-bottom: 0.5em; }
.card p { color: var(--c-ink-soft); font-size: 0.95rem; margin: 0 0 1em; flex: 1; }
.card__cta { color: var(--c-red); font-weight: 600; font-size: 0.95rem; }
.card__meta { color: var(--c-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5em; }
.card--post h2, .card--post h3 { font-size: 1.15rem; }

/* Loc cards */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.loc-card {
  display: flex; flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-navy);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  text-decoration: none;
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.loc-card:hover { transform: translateY(-3px); border-top-color: var(--c-red); box-shadow: var(--shadow-md); color: var(--c-ink); text-decoration: none; }
.loc-card h2, .loc-card h3 { font-size: 1.4rem; margin-bottom: 0.2em; color: var(--c-navy); }
.loc-card p { color: var(--c-ink-soft); margin: 0 0 0.4em; }
.loc-card__phone { color: var(--c-red) !important; font-weight: 700; font-size: 1rem !important; }
.loc-card__cta { color: var(--c-red); margin-top: auto; font-weight: 600; font-size: 0.95rem; padding-top: 0.8em; }
.loc-card--static { cursor: default; }
.loc-card--static:hover { transform: none; border-top-color: var(--c-navy); box-shadow: var(--shadow-sm); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.portrait { margin: 0; }
.portrait__frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border-strong);
  background:
    repeating-linear-gradient(45deg, rgba(0, 24, 100, 0.05) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, var(--c-surface-2) 0%, var(--c-surface-3) 100%);
  display: grid; place-items: center;
  color: var(--c-muted);
  position: relative;
}
.portrait__placeholder { font-style: italic; font-size: 0.95rem; padding: 1em; text-align: center; }
.portrait__img {
  display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--c-border-strong);
}
.portrait figcaption { color: var(--c-muted); font-size: 0.9rem; margin-top: 0.8em; text-align: center; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: t; }
.timeline li {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem 1.4rem 4.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.timeline__num {
  position: absolute; left: 1.2rem; top: 1.2rem;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--c-red); color: #fff;
  border-radius: 999px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(172, 0, 62, 0.28);
}
.timeline li h3 { font-size: 1.1rem; margin-bottom: 0.2em; }
.timeline li p { margin: 0; color: var(--c-ink-soft); }

/* Quotes */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.quote-grid--lg { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.4rem; }
.quote {
  margin: 0; padding: 1.6rem; border-left: 3px solid var(--c-red);
  background: var(--c-surface-2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.quote p { font-style: italic; color: var(--c-ink); margin: 0 0 0.8em; }
.quote footer { color: var(--c-red); font-size: 0.9rem; font-weight: 600; }
.quote__stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; line-height: 1; margin: 0 0 0.7em; }

/* Results */
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.result-card { background: var(--c-white); border: 1px solid var(--c-border); border-top: 3px solid var(--c-red); border-radius: var(--radius-md); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.result-card__amt { font-size: 1.8rem; font-weight: 800; color: var(--c-red); margin: 0 0 0.4em; }

/* FAQ */
.faq { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--c-surface-2); border-block: 1px solid var(--c-border); }
.faq__list { display: grid; gap: 0.6rem; max-width: 820px; }
.faq__item { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 0.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.faq__item[open] { border-color: var(--c-red); }
.faq__item summary { cursor: pointer; padding: 1.1rem 0; font-weight: 700; color: var(--c-navy); list-style: none; position: relative; padding-right: 2rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--c-red); line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__answer { padding: 0 0 1.1rem; color: var(--c-ink-soft); }
.faq__answer p { margin: 0; color: var(--c-ink-soft); }

/* Answer box (AI/GEO optimization block) */
.answer-box {
  background: linear-gradient(180deg, rgba(172, 0, 62, 0.05) 0%, rgba(0, 24, 100, 0.05) 100%);
  border-left: 4px solid var(--c-red);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-sm);
  margin: 0 0 2rem;
}
.answer-box .eyebrow { margin-bottom: 0.3em; }
.answer-box p { margin: 0; color: var(--c-ink); }

/* Practice & article content */
.practice__inner { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.practice__section { margin-bottom: 2.5rem; }
.practice__section h2 { font-size: 1.5rem; margin-bottom: 0.6em; color: var(--c-navy); }
.practice__section p { color: var(--c-ink); font-size: 1.04rem; }
.practice__section .bullets, .practice__section .numbered { color: var(--c-ink); }

.article { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.article p { font-size: 1.08rem; color: var(--c-ink); margin-bottom: 1.2em; line-height: 1.75; }
.article h2 { margin-top: 2em; font-size: 1.5rem; color: var(--c-navy); }

.bullets, .checklist, .numbered { padding-left: 1.2em; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 1.6em; margin-bottom: 0.6em; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--c-red); font-weight: 800;
}
.info-list { list-style: none; padding-left: 0; }
.info-list li { padding: 0.5em 0; border-bottom: 1px solid var(--c-border); color: var(--c-ink); }
.info-list li strong { color: var(--c-navy); margin-right: 0.5em; font-weight: 700; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 0.4em 0.95em;
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  margin: 0;
}

/* Map placeholder */
.map-placeholder {
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(135deg, rgba(0, 24, 100, 0.04) 0 14px, transparent 14px 28px),
    var(--c-surface-2);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-md);
  display: grid; place-items: center; text-align: center; padding: 1.2em;
}
.map-placeholder p { margin: 0.2em 0; }

/* Breadcrumbs */
.breadcrumbs { padding: 1rem 0 0; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; color: var(--c-muted); }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; color: var(--c-muted); margin-right: 0.4rem; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-red); }
.breadcrumbs li[aria-current] { color: var(--c-ink); }

/* CTA block (bold navy→red band) */
.cta-block { background: linear-gradient(110deg, var(--c-red) 0%, var(--c-navy) 100%); padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-block__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; }
.cta-block .eyebrow { color: rgba(255, 255, 255, 0.8); }
.cta-block h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0.3em 0; }
.cta-block p { color: rgba(255, 255, 255, 0.88); }
.cta-block__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }
.cta-block .btn--gold { background: #fff; color: var(--c-navy); border-color: #fff; }
.cta-block .btn--gold:hover { background: var(--c-surface-2); color: var(--c-navy); }
.cta-block .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta-block .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
@media (max-width: 760px) { .cta-block__inner { grid-template-columns: 1fr; } .cta-block__actions { justify-content: flex-start; } }

/* Contact form band — wraps the shared multi-step lead form */
.lead-band { max-width: 560px; margin: 0 auto; }
.lead-band__intro { text-align: center; margin-bottom: 1.5rem; }
.lead-band__intro h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0.15em 0 0.35em; }
.lead-band__note { color: var(--c-ink-soft); margin: 0; }

/* Floating "Call Us" widget (bottom-left, all pages) */
.callwidget { position: fixed; left: clamp(0.9rem, 2vw, 1.5rem); bottom: clamp(0.9rem, 2vw, 1.5rem); z-index: 1000; }
.callwidget__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem;
  width: 68px; height: 68px;
  background: var(--c-navy); color: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 12, 40, 0.32);
  text-decoration: none; line-height: 1;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.callwidget__btn:hover { background: var(--c-red); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 12, 40, 0.4); }
.callwidget__btn:focus-visible { outline: 3px solid var(--c-red); outline-offset: 3px; }
.callwidget__icon { display: flex; }
.callwidget__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; }

.callwidget__popover {
  position: absolute; left: 0; bottom: calc(100% + 0.75rem);
  width: min(320px, calc(100vw - 2rem));
  background: #fff; color: var(--c-ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0, 12, 40, 0.32);
  padding: 1.4rem 1.3rem 1.3rem;
  animation: callwidgetIn 200ms ease;
}
@keyframes callwidgetIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.callwidget__close {
  position: absolute; top: 0.5rem; right: 0.6rem;
  width: 2rem; height: 2rem; border: 0; background: transparent;
  font-size: 1.5rem; line-height: 1; color: var(--c-ink-soft); cursor: pointer; border-radius: 50%;
}
.callwidget__close:hover { background: var(--c-surface-2); color: var(--c-navy); }
.callwidget__title { font-size: 1.2rem; color: var(--c-navy); margin: 0 0 0.3rem; }
.callwidget__title:focus { outline: none; }
.callwidget__lead { font-size: 0.9rem; color: var(--c-ink-soft); margin: 0 0 1rem; }
.callwidget__field { display: block; margin-bottom: 0.7rem; }
.callwidget__flabel { display: block; font-size: 0.8rem; font-weight: 700; color: var(--c-ink); margin-bottom: 0.3rem; }
.callwidget__form input {
  width: 100%; font: inherit; color: var(--c-ink);
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: var(--radius-md); padding: 0.65rem 0.8rem;
}
.callwidget__form input:focus { outline: none; border-color: var(--c-navy); background: #fff; box-shadow: 0 0 0 3px rgba(0, 24, 100, 0.14); }
.callwidget__form .btn { margin-top: 0.4rem; }
.callwidget__status { margin: 0.7rem 0 0; font-size: 0.85rem; font-weight: 600; color: var(--c-navy); min-height: 1.1em; }
.callwidget__status.is-error { color: var(--c-red); }
.callwidget__done { text-align: center; padding: 0.6rem 0; }
.callwidget__done-mark { width: 3rem; height: 3rem; margin: 0 auto 0.6rem; border-radius: 50%; background: var(--c-navy); color: #fff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.callwidget__done-text { font-size: 0.92rem; color: var(--c-ink-soft); margin: 0; }
.callwidget__done-text a { color: var(--c-red); font-weight: 700; white-space: nowrap; }
@media (max-width: 768px) {
  .callwidget__btn { width: 60px; height: 60px; border-radius: 16px; }
}

/* Footer (navy) */
.site-footer { background: var(--c-navy); color: var(--c-on-dark-soft); border-top: 4px solid var(--c-red); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer__col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--c-on-dark-muted); margin-bottom: 0.8em; }
.footer__sub { margin-top: 1.5em !important; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 0.5em; }
.footer__col a { color: var(--c-on-dark-soft); font-size: 0.95rem; }
.footer__col a:hover { color: #fff; text-decoration: none; }
.footer__name { font-size: 1.05rem; font-weight: 700; margin: 1em 0 0.4em; color: #fff; }
.footer__desc { color: var(--c-on-dark-soft); font-size: 0.95rem; }
.footer__cta { margin-top: 1em; }
.footer__contact li { color: var(--c-on-dark-soft); }
.footer__contact strong { color: #fff; font-size: 1.1rem; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--c-on-dark-border);
}
.footer__disclaimer { color: var(--c-on-dark-muted); font-size: 0.8rem; line-height: 1.6; max-width: 920px; }
.footer__copy { color: var(--c-on-dark-muted); font-size: 0.8rem; margin: 0.6em 0 0; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Lazy load fade for IO */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease, transform 600ms ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Home hero — split layout (attorney over Naples + lead form)
   ============================================================ */
.hero-split {
  position: relative;
  background: var(--c-navy-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero-split__bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/naples-hero.jpg");
  background-size: cover;
  background-position: center 35%;
  z-index: -2;
}
.hero-split__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,16,63,0.55) 0%, rgba(0,16,63,0.78) 100%),
    linear-gradient(90deg, rgba(0,16,63,0.92) 0%, rgba(0,16,63,0.55) 55%, rgba(0,16,63,0.30) 100%);
}
.hero-split__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.hero-split__main {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(500px, 64vh, 680px);
}
.hero-split__portrait {
  position: absolute;
  bottom: 0;
  right: -2%;
  height: 100%;
  width: auto;
  max-width: 62%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45));
  pointer-events: none;
}
.hero-split__copy {
  position: relative;
  z-index: 2;
  max-width: 60%;
  padding-bottom: clamp(0.5rem, 2vw, 1.5rem);
  color: var(--c-white);
  text-shadow: 0 2px 14px rgba(0,12,40,0.55);
}
.hero-split__eyebrow {
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.7rem;
  margin: 0 0 0.5rem;
}
.hero-split__h1 {
  color: var(--c-white);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  line-height: 1.1;
  margin: 0 0 0.5rem;
}
.hero-split__sub {
  color: rgba(255,255,255,0.86);
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  max-width: 34ch;
  margin: 0 0 0.9rem;
}
.hero-split__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-split__bullets li span {
  color: var(--c-red-2);
  margin-right: 0.5em;
  font-weight: 800;
}
.hero-split__form {
  display: flex;
  align-items: center;
}

/* ---- Multi-step lead form card ---- */
.hero-form {
  position: relative;
  width: 100%;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  overflow: hidden;
}
.hero-form__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c-surface-3);
}
.hero-form__progress-bar {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--c-red);
  transition: width var(--transition);
}
.hero-form__step { display: none; }
.hero-form__step.is-active { display: block; animation: heroStepIn 260ms ease; }
@keyframes heroStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-form__title {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--c-navy);
  margin: 0.2rem 0 0.4rem;
}
.hero-form__lead {
  color: var(--c-ink-soft);
  font-size: 0.96rem;
  margin: 0 0 1.1rem;
}
.hero-form__lead a { font-weight: 700; color: var(--c-red); white-space: nowrap; }
.hero-form__field { display: block; margin-bottom: 0.8rem; }
.hero-form__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 0.3rem;
}
.hero-form__label--sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.hero-form input,
.hero-form textarea {
  width: 100%;
  font: inherit;
  color: var(--c-ink);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem;
}
.hero-form input:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--c-navy);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(0,24,100,0.14);
}
.hero-form textarea { resize: vertical; min-height: 110px; }
.btn--block { width: 100%; justify-content: center; margin-top: 0.4rem; }
.hero-form__error {
  color: var(--c-red);
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
  min-height: 1em;
}
.hero-form__back {
  border: none;
  background: none;
  color: var(--c-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.6rem;
}
.hero-form__back:hover { color: var(--c-navy); }
.hero-form__choices { display: flex; flex-direction: column; gap: 0.6rem; }
.hero-form__choices--two { flex-direction: row; }
.hero-form__choices--two .choice-btn { flex: 1; }
.choice-btn {
  font: inherit;
  font-weight: 700;
  color: var(--c-navy);
  background: var(--c-white);
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.choice-btn--stacked { text-align: left; }
.choice-btn:hover,
.choice-btn:focus-visible {
  border-color: var(--c-navy);
  background: var(--c-navy);
  color: var(--c-white);
  outline: none;
}
.hero-form__consent {
  color: var(--c-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 1rem 0 0;
}
.hero-form__consent a { color: var(--c-navy); font-weight: 600; }
.hero-form__step--done { text-align: center; padding: 1rem 0; }
.hero-form__done-mark {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-form__done-phone {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: var(--c-red);
}

@media (max-width: 900px) {
  .hero-split__inner { grid-template-columns: 1fr; }
  .hero-split__main {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0;
  }
  .hero-split__copy { max-width: 100%; order: 1; }
  .hero-split__portrait {
    position: relative;
    right: auto;
    height: auto;
    max-width: 240px;
    margin: 1.2rem auto 0;
    order: 2;
    align-self: center;
  }
  .hero-split__sub { max-width: 100%; }
  .hero-split__form { order: 3; }
}

.hero-form__title:focus { outline: none; }
.hero-form__title:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   Hero portrait — upper-body crop with gradient fade
   ============================================================ */
.hero-split__portrait {
  height: 100%;
  width: auto;
  max-width: none;
  right: -2%;
  filter: none;
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, rgba(0,0,0,0.45) 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 86%, rgba(0,0,0,0.45) 95%, transparent 100%);
}

/* ============================================================
   Practice areas — centered icon cards (Shapiro-style, navy)
   ============================================================ */
.pa-title span { color: var(--c-red); }
.pa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.pa-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-navy);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem 1.8rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pa-card:hover,
.pa-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--c-red);
  text-decoration: none;
}
.pa-card:focus-visible .pa-card__icon-wrap { background: var(--c-navy); color: #fff; }
.pa-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--c-surface-3);
  color: var(--c-navy);
  margin-bottom: 1.1rem;
  transition: background var(--transition), color var(--transition);
}
.pa-card:hover .pa-card__icon-wrap { background: var(--c-navy); color: #fff; }
.pa-card__icon { width: 40px; height: 40px; }
.pa-card__title { color: var(--c-navy); font-size: 1.2rem; margin: 0 0 0.5rem; }
.pa-card__desc { color: var(--c-ink-soft); font-size: 0.92rem; line-height: 1.55; margin: 0; }

/* ============================================================
   Claim process — Keller-style stepped band (navy -> red)
   ============================================================ */
.process {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 100% 50%, rgba(172,0,62,0.55) 0%, rgba(172,0,62,0) 55%),
    linear-gradient(110deg, var(--c-navy-deep) 0%, var(--c-navy) 55%, #4a0a2c 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.process__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: start;
  margin-bottom: 2.4rem;
}
.process__title { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; margin: 0 0 0.6rem; max-width: 16ch; }
.process__sub { color: rgba(255,255,255,0.78); max-width: 56ch; margin: 0; font-size: 1rem; }
.process__cta { white-space: nowrap; align-self: center; }
.process__steps {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  min-height: 360px;
}
.process-step {
  position: relative;
  flex: 0 1 92px;
  min-width: 92px;
  flex-grow: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: flex-grow 0.45s ease, background 0.3s ease, border-color 0.3s ease;
}
.process-step:hover { border-color: rgba(255,255,255,0.32); }
.process-step:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.process-step.is-open {
  flex-grow: 12;
  background: rgba(255,255,255,0.12);
  cursor: default;
}
.process-step__num {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-sm);
  transition: left 0.45s ease, transform 0.45s ease;
}
.process-step.is-open .process-step__num { left: 1.6rem; transform: none; }
.process-step__label {
  position: absolute;
  top: 4.4rem;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}
.process-step.is-open .process-step__label { display: none; }
.process-step__body {
  display: none;
  padding: 5rem 1.8rem 1.8rem;
  max-width: 640px;
}
.process-step.is-open .process-step__body { display: block; animation: process-fade 0.5s ease both; }
@keyframes process-fade { from { opacity: 0; } to { opacity: 1; } }
.process-step__title { display: block; color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 0.7rem; font-weight: 800; }
.process-step__text { display: block; color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.65; }

@media (max-width: 860px) {
  .process__head { grid-template-columns: 1fr; }
  .process__steps { flex-direction: column; min-height: 0; }
  .process-step { flex: 0 0 auto; min-width: 0; width: 100%; min-height: 64px; }
  .process-step__num { left: 1rem; transform: none; top: 50%; margin-top: -22px; }
  .process-step.is-open .process-step__num { top: 1.1rem; margin-top: 0; left: 1.1rem; }
  .process-step__label {
    writing-mode: horizontal-tb;
    position: absolute;
    top: 50%;
    left: 4.6rem;
    bottom: auto;
    transform: translateY(-50%);
  }
  .process-step__body { padding: 4.4rem 1.3rem 1.4rem; max-width: none; }
}

/* Chatbot */
.chatbot { position: fixed; right: 20px; bottom: 20px; z-index: 1000; font-size: 0.95rem; }
.chatbot__launcher {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer; padding: 0;
}
.chatbot__launcher-avatar {
  position: relative; width: 76px; height: 76px; border-radius: 50%;
  overflow: visible; background: #fff; border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(0, 16, 63, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.chatbot__launcher-avatar img,
.chatbot__launcher-video {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 22%; display: block;
}
.chatbot__launcher-avatar .chatbot__launcher-still { display: none; }
.chatbot__launcher:hover .chatbot__launcher-avatar { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 16, 63, 0.34); }
@media (prefers-reduced-motion: reduce) {
  .chatbot__launcher-video { display: none; }
  .chatbot__launcher-avatar .chatbot__launcher-still { display: block; }
}
.chatbot__launcher-label {
  background: var(--c-red); color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(172, 0, 62, 0.32); white-space: nowrap;
}
.chatbot.is-open .chatbot__launcher { display: none; }
.chatbot__panel {
  position: absolute; right: 0; bottom: 0; width: 370px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 40px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 16px; border: 1px solid var(--c-border);
  box-shadow: 0 24px 60px rgba(0, 16, 63, 0.28);
}
.chatbot__panel[hidden] { display: none; }
.chatbot__header {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.85rem 1rem;
  background: var(--c-navy); color: #fff; flex-shrink: 0;
}
.chatbot__avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #fff; flex-shrink: 0; }
.chatbot__avatar img { width: 100%; height: 100%; object-fit: cover; }
.chatbot__header-text { flex: 1; min-width: 0; }
.chatbot__title { margin: 0; font-weight: 700; font-size: 0.98rem; line-height: 1.2; }
.chatbot__brand { margin: 0.05rem 0 0; color: #fff; font-weight: 600; font-size: 0.78rem; line-height: 1.2; letter-spacing: 0.02em; }
.chatbot__presence { margin: 0; font-size: 0.78rem; opacity: 0.85; display: flex; align-items: center; gap: 0.35rem; }
.chatbot__dot { width: 8px; height: 8px; border-radius: 50%; background: #36d07f; display: inline-block; }
.chatbot__close { background: none; border: none; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 0.2rem; opacity: 0.85; }
.chatbot__close:hover { opacity: 1; }
.chatbot__body { flex: 1; overflow-y: auto; padding: 1rem; background: var(--c-surface-2); display: flex; flex-direction: column; gap: 0.7rem; }
.chatbot__row { display: flex; align-items: flex-end; gap: 0.5rem; max-width: 100%; }
.chatbot__row--user { justify-content: flex-end; }
.chatbot__msg-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #fff; }
.chatbot__msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chatbot__bubble { padding: 0.6rem 0.85rem; border-radius: 14px; line-height: 1.45; max-width: 78%; word-wrap: break-word; }
.chatbot__bubble--bot { background: #fff; color: var(--c-ink); border: 1px solid var(--c-border); border-bottom-left-radius: 4px; }
.chatbot__bubble--bot a { color: var(--c-red); font-weight: 600; }
.chatbot__bubble--user { background: var(--c-red); color: #fff; border-bottom-right-radius: 4px; font-weight: 600; }
.chatbot__typing { display: inline-flex; gap: 4px; align-items: center; }
.chatbot__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-ink-soft); opacity: 0.5; animation: chatbot-bounce 1.2s infinite ease-in-out; }
.chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatbot-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chatbot__footer { flex-shrink: 0; padding: 0.7rem; border-top: 1px solid var(--c-border); background: #fff; }
.chatbot__choices { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }
.chatbot__choice { background: var(--c-red); color: #fff; border: none; border-radius: 999px; padding: 0.55rem 1rem; font-weight: 700; cursor: pointer; font-size: 0.9rem; transition: background 0.15s ease; }
.chatbot__choice:hover { background: var(--c-red-2); }
.chatbot__input-form, .chatbot__date-form { display: flex; gap: 0.5rem; align-items: center; }
.chatbot__input { flex: 1; border: 1px solid var(--c-border-strong); border-radius: 999px; padding: 0.6rem 0.95rem; font: inherit; font-size: 0.92rem; }
.chatbot__input:focus { outline: none; border-color: var(--c-navy); }
.chatbot__select { flex: 1; border: 1px solid var(--c-border-strong); border-radius: 10px; padding: 0.55rem 0.6rem; font: inherit; font-size: 0.9rem; background: #fff; }
.chatbot__send { background: var(--c-red); color: #fff; border: none; border-radius: 999px; min-width: 42px; height: 42px; padding: 0 0.9rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 700; flex-shrink: 0; }
.chatbot__send:hover { background: var(--c-red-2); }
.chatbot__send--block { width: 100%; border-radius: 10px; margin-top: 0.6rem; }
.chatbot__checks-form { display: flex; flex-direction: column; }
.chatbot__checks { display: flex; flex-direction: column; gap: 0.1rem; max-height: 168px; overflow-y: auto; }
.chatbot__check { display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.3rem; cursor: pointer; font-size: 0.92rem; }
.chatbot__check input { width: 17px; height: 17px; accent-color: var(--c-red); }
@media (max-width: 520px) {
  .chatbot { right: 12px; bottom: 12px; }
  .chatbot__panel { width: calc(100vw - 24px); height: calc(100vh - 24px); }
}
