/* Palette pulled from live theme onepercent + computed styles:
     #1A1B25 — primary navy/charcoal
     #ca9c5e — gold/tan (.btn1 accent)
     #ff9f43 — orange (top phone CTA)
     #1f6a66 — teal accent
     #e3f3f2 — light teal bg
     #111    — body text
*/
:root {
  --navy: #1A1B25;
  --gold: #ca9c5e;
  --orange: #ff9f43;
  --teal: #1f6a66;
  --teal-light: #e3f3f2;
  --text: #111;
  --text-muted: #555;
  --bg: #fff;
  --link: #1f6a66;
  --link-hover: #ca9c5e;
  --container: 1200px;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
iframe, embed, object, video { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--text);
  margin: 0 0 .5em;
  font-weight: 500;
  line-height: 1.25;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.2rem; font-weight: 500; }

p { margin: 0 0 1em; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border: 0;
  border-radius: 4px;
  font-weight: 600;
  font-family: inherit;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #b8884a; color: #fff; transform: translateY(-2px); text-decoration: none; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #ed8a32; color: #fff; text-decoration: none; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #2a2c3c; color: #fff; text-decoration: none; }
.btn--black { background: #000; color: #fff; }
.btn--black:hover { background: #222; color: #fff; transform: translateY(-2px); text-decoration: none; }

/* === HEADER === */
.site-header {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  flex-wrap: nowrap;
}
.site-logo { flex-shrink: 0; }
.site-logo img { max-height: 36px; width: auto; }

.primary-nav { margin-left: auto; }
.phone-cta {
  background: var(--orange);
  color: #fff;
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-cta:hover { background: #ed8a32; color: #fff; text-decoration: none; }
@media (max-width: 767px) { .phone-cta { display: none; } }

.primary-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  align-items: center;
}
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0;
  white-space: nowrap;
  cursor: pointer;
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > li > a[tabindex]:hover { color: var(--gold); text-decoration: none; }
.primary-nav .caret { font-size: .7rem; opacity: .6; }

.primary-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 240px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  z-index: 200;
}
.primary-nav li:hover > .submenu,
.primary-nav li:focus-within > .submenu { display: block; }
.primary-nav .submenu li { position: relative; }
.primary-nav .submenu a {
  display: block;
  color: var(--text);
  padding: 8px 18px;
  font-size: .9rem;
  text-transform: none;
}
.primary-nav .submenu a:hover { background: var(--teal-light); color: var(--teal); text-decoration: none; }
.primary-nav .submenu--nested { left: 100%; top: 0; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.mobile-menu-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
}

/* === MOBILE DRAWER === */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  bottom: 0;
  width: 88%;
  max-width: 360px;
  background: var(--navy);
  color: #fff;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
  transition: right .25s ease;
}
.mobile-drawer.is-open { right: 0; }
.mobile-drawer[hidden] { display: block; }
.mobile-drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mobile-drawer__logo img { max-height: 36px; width: auto; }
.mobile-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  border: 0;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.mobile-drawer__phone {
  display: block;
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 14px;
}
.mobile-drawer__phone:hover { color: #fff; text-decoration: none; }
.mobile-drawer__menu, .mobile-drawer__menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer__menu > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-drawer__menu > li > a,
.mobile-drawer__menu > li > span {
  display: block;
  color: #fff;
  padding: 14px 4px;
  font-weight: 500;
  font-size: .95rem;
}
.mobile-drawer__menu .has-submenu ul { padding: 0 0 10px 14px; }
.mobile-drawer__menu .has-submenu ul li a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: 6px 4px;
  font-size: .9rem;
}

/* ============================================================
   SECTION 0: HERO
   ============================================================ */
.sc-hero {
  position: relative;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.sc-hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent;     /* live has no overlay; bg image is full bleed */
}
.sc-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.sc-hero__panel {
  background: rgba(0, 0, 0, .65);
  padding: 50px 60px;
  max-width: 700px;
  width: 100%;
}
.sc-hero h1 {
  color: #fff;
  font-size: 50.8px;
  font-weight: 500;
  margin-bottom: 18px;
  text-align: left;
}
.sc-hero h5 {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 26px;
  line-height: 1.5;
  text-align: left;
}

/* ============================================================
   SECTION 1: PRACTICE AREAS
   ============================================================ */
.sc-expertise { background: #fff; }
.sc-expertise__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
}
.sc-expertise__pull {
  background: var(--teal-light);
  padding: 70px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sc-expertise__pull p {
  font-size: 1.1rem;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 18px;
  color: var(--navy);
}
.sc-expertise__pull h5 { color: var(--teal); font-weight: 600; }
.sc-expertise__main {
  background: var(--navy);
  color: #fff;
  padding: 70px 50px;
}
.sc-expertise__main h1 { color: #fff; font-size: 45px; font-weight: 600; margin-bottom: 30px; }
.sc-expertise__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.expertise-card {
  display: block;
  text-decoration: none;
  color: #fff;
}
.expertise-card:hover { color: var(--gold); text-decoration: none; }
.expertise-card__image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  transition: transform .3s ease;
}
.expertise-card:hover .expertise-card__image { transform: scale(1.02); }
.expertise-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.15);
  transition: opacity .3s ease;
}
.expertise-card:hover .expertise-card__overlay { opacity: .35; background: rgba(0,0,0,.4); }
.expertise-card h4 { color: #fff; margin: 0; font-size: 1.4rem; }

/* ============================================================
   SECTION 2: SOLUTION (About)
   ============================================================ */
.sc-solution { padding: 80px 0; background: #f0f0f0; }
.sc-solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.sc-solution__image img { width: 100%; border-radius: 4px; }
.sc-solution__content h3 { font-size: 28px; font-weight: 500; color: var(--text); margin-bottom: 16px; }
.sc-solution__content p { font-size: 1rem; line-height: 1.7; }

/* ============================================================
   SECTION 3: REASONS
   ============================================================ */
.sc-reasons {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;       /* parallax — matches live */
  min-height: 865px;
  display: flex;
  align-items: center;
  padding: 90px 0;
}
.sc-reasons__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 27, 37, .65);
}
.sc-reasons__content { position: relative; z-index: 2; }
.sc-reasons__box {
  background: var(--navy);
  color: #fff;
  padding: 40px 44px;
  max-width: 760px;
  border-radius: 4px;
}
.sc-reasons__box h3 { color: #fff; font-size: 28px; font-weight: 500; margin-bottom: 18px; line-height: 1.3; }
.sc-reasons__box p { color: rgba(255,255,255,.92); line-height: 1.7; }
.sc-reasons__box ol { padding-left: 22px; }
.sc-reasons__box ol li { color: rgba(255,255,255,.92); margin-bottom: 10px; line-height: 1.6; }

/* ============================================================
   SECTION 4: LEGALQ banner
   ============================================================ */
.sc-legalq {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 750px;
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.sc-legalq__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}
.sc-legalq__content { position: relative; z-index: 2; max-width: 520px; }
.sc-legalq__content h1 { color: #fff; font-size: 65px; font-weight: 500; line-height: 1.1; margin-bottom: 28px; }

/* ============================================================
   SECTION 5: CONSULTATION
   ============================================================ */
.sc-consultation { background: var(--navy); color: #fff; }
.sc-consultation__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
}
.sc-consultation__image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.sc-consultation__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.sc-consultation__form-wrap {
  position: relative;
  padding: 70px 50px;
  overflow: hidden;
}
.sc-consultation__bg {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 200px;
  opacity: .12;
  pointer-events: none;
}
.sc-consultation__form-wrap h1 { color: #fff; font-size: 40px; font-weight: 700; margin-bottom: 8px; }
.sc-consultation__form-wrap p { color: rgba(255,255,255,.85); margin-bottom: 24px; }

.consultation-form { position: relative; z-index: 1; }
.consultation-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}
.consultation-form__field { margin-bottom: 14px; }
.consultation-form__field label { display: block; font-size: .85rem; color: rgba(255,255,255,.85); margin-bottom: 4px; }
.consultation-form__field .req { color: var(--orange); }
.consultation-form__field input,
.consultation-form__field textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,.95);
  border: 0;
  border-radius: 3px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
}
.consultation-form__field input:focus,
.consultation-form__field textarea:focus {
  outline: 2px solid var(--gold);
}
.consultation-form__submit {
  margin-top: 8px;
  width: 100%;
  font-size: 1rem;
  padding: 14px;
}
.consultation-form__error,
.consultation-form__success {
  padding: 12px 16px;
  border-radius: 3px;
  font-size: .9rem;
  font-weight: 600;
  margin: 0 0 14px;
}
.consultation-form__error {
  background: rgba(220, 53, 69, .15);
  color: #ffb3b8;
  border-left: 3px solid #d32f2f;
}
.consultation-form__success {
  background: rgba(202, 156, 94, .18);
  color: #ffe6c8;
  border-left: 3px solid var(--gold, #ca9c5e);
}

/* ============================================================
   SECTION 6: REVIEWS
   ============================================================ */
.sc-review { background: #f0f0f0; padding: 80px 0; }
.sc-review__heading { font-size: 40px; font-weight: 700; color: var(--text); margin: 0; line-height: 1.1; }
.sc-review__heading--gold { color: var(--gold); margin-bottom: 0; }
.sc-review__heading + .sc-review__heading { margin-bottom: 30px; }
.sc-review__placeholder {
  padding: 40px 30px;
  border: 2px dashed #d8d8d8;
  border-radius: 4px;
  text-align: center;
  color: var(--text-muted);
  background: #fff;
}

/* === GOOGLE REVIEWS — shared bits === */
.kl-star { color: #fb8e28; }
.kl-star--empty { color: #ddd; }
.kl-star--half {
  background: linear-gradient(90deg, #fb8e28 50%, #ddd 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Google "G" multicolor circle, used in badges/cards. */
.kl-rev-header__g,
.kl-rev-card__g,
.kl-rev-badge__g,
.kl-rev-panel__foot-g {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%234285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/><path fill="%2334A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path fill="%23FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path fill="%23EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84C6.71 7.31 9.14 5.38 12 5.38z"/></svg>') center/contain no-repeat;
}

/* === INLINE CAROUSEL SECTION === */
.kl-reviews-section { margin-top: 28px; }

.kl-rev-header {
  background: #fff;
  border-radius: 6px;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: relative;
  margin-bottom: 30px;
}
.kl-rev-header__main { flex: 1; min-width: 0; }
.kl-rev-header__biz {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 4px;
}
.kl-rev-header__biz:hover { text-decoration: underline; }
.kl-rev-header__rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.kl-rev-header__rating { font-size: 1.5rem; font-weight: 700; color: #fb8e28; }
.kl-rev-header__stars { font-size: 1.3rem; line-height: 1; }
.kl-rev-header__count { font-size: .9rem; color: #555; margin-bottom: 6px; }
.kl-rev-header__see-all { font-size: .9rem; color: #1a73e8; }
.kl-rev-header__see-all:hover { text-decoration: underline; }
.kl-rev-header__g { width: 28px; height: 28px; flex-shrink: 0; }

.kl-rev-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kl-rev-carousel__viewport {
  flex: 1;
  overflow: hidden;
  padding: 12px 0 18px;
}
.kl-rev-carousel__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 350ms ease;
}
.kl-rev-carousel__arrow {
  border: 0;
  background: transparent;
  font-size: 2.5rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
  transition: color .15s;
}
.kl-rev-carousel__arrow:hover { color: var(--text, #1A1B25); }

.kl-rev-card {
  position: relative;
  background: #f4f4f5;
  border-radius: 6px;
  padding: 22px 22px 14px;
  box-sizing: border-box;
  margin: 0 8px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.kl-rev-card__quote {
  position: absolute;
  top: -2px;
  left: 12px;
  font-family: Georgia, serif;
  font-size: 3rem;
  color: #d6d6d8;
  line-height: 1;
}
.kl-rev-card__g {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
}
.kl-rev-card__head { padding-top: 8px; }
.kl-rev-card__stars { font-size: 1.05rem; line-height: 1; margin-bottom: 10px; }
.kl-rev-card__text {
  font-size: .9rem;
  line-height: 1.55;
  color: #333;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kl-rev-card__pointer {
  position: absolute;
  bottom: -10px;
  left: 22px;
  width: 18px;
  height: 18px;
  background: #f4f4f5;
  transform: rotate(45deg);
  z-index: -1;
}
.kl-rev-card__author {
  margin-top: 26px;
  font-weight: 700;
  font-size: 1rem;
  color: #1a73e8;
}
.kl-rev-card__time { font-size: .85rem; color: #888; margin-top: 2px; }

.kl-rev-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-top: 14px;
}
.kl-rev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #c6c8cc;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.kl-rev-dot:hover { transform: scale(1.2); }
.kl-rev-dot--active { background: #1a73e8; }

@media (max-width: 600px) {
  .kl-rev-header { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .kl-rev-header__g { position: absolute; top: 18px; right: 18px; }
  .kl-rev-card { min-height: 180px; padding: 18px 18px 12px; }
}

/* === FLOATING BADGE (sitewide, bottom-right) === */
.kl-rev-badge {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: transform .15s, box-shadow .15s;
}
.kl-rev-badge:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.kl-rev-badge__g { width: 32px; height: 32px; flex-shrink: 0; }
.kl-rev-badge__body { display: flex; flex-direction: column; line-height: 1.25; }
.kl-rev-badge__label { font-size: .85rem; color: #333; font-weight: 600; }
.kl-rev-badge__rating-row { display: inline-flex; align-items: center; gap: 6px; }
.kl-rev-badge__rating { font-size: 1rem; font-weight: 700; color: #fb8e28; }
.kl-rev-badge__stars { font-size: 1rem; line-height: 1; }
.kl-rev-badge__count { font-size: .8rem; color: #555; }

@media (max-width: 600px) {
  .kl-rev-badge { right: 10px; bottom: 78px; padding: 8px 10px; }
  .kl-rev-badge__label { font-size: .75rem; }
  .kl-rev-badge__count { font-size: .7rem; }
}

/* === SLIDE-IN PANEL === */
.kl-rev-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 10000;
  box-shadow: -4px 0 16px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms ease;
}
.kl-rev-panel--open { transform: translateX(0); }
.kl-rev-panel__head {
  padding: 16px 18px 14px;
  border-bottom: 1px solid #ececef;
}
.kl-rev-panel__head-row { display: flex; align-items: flex-start; gap: 12px; }
.kl-rev-panel__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: url('https://lh3.googleusercontent.com/COxitqgJr1sJnIDe8-jiKhxDx1FrYbtRHKJ9z_hELisAlapwE9LUPh6fcXIfb5vwpbMl4xl9H9TRFPc5NOO8Sb3VSgIBrfRYvW6cUA') center/cover, #eee;
  flex-shrink: 0;
}
.kl-rev-panel__head-text { flex: 1; min-width: 0; }
.kl-rev-panel__biz {
  font-weight: 700;
  font-size: .95rem;
  color: #1a1b25;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kl-rev-panel__rating-row { display: flex; align-items: center; gap: 6px; }
.kl-rev-panel__rating { font-size: 1.05rem; font-weight: 700; color: #fb8e28; }
.kl-rev-panel__stars { font-size: 1rem; line-height: 1; }
.kl-rev-panel__see-all {
  display: inline-block;
  margin-top: 8px;
  background: #1a73e8;
  color: #fff;
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 12px;
}
.kl-rev-panel__see-all:hover { background: #155cb8; color: #fff; text-decoration: none; }
.kl-rev-panel__close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #777;
  cursor: pointer;
  padding: 0 4px;
  align-self: flex-start;
}
.kl-rev-panel__close:hover { color: #1a1b25; }

.kl-rev-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 18px 18px;
}
.kl-rev-panel__loading,
.kl-rev-panel__empty { padding: 24px 0; color: #777; text-align: center; }
.kl-rev-panel__review { padding: 14px 0; border-bottom: 1px solid #f0f0f2; }
.kl-rev-panel__review:last-child { border-bottom: 0; }
.kl-rev-panel__review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.kl-rev-panel__review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ddd;
  color: #555;
  font-weight: 700;
  font-size: .9rem;
}
.kl-rev-panel__review-name { font-weight: 700; font-size: .9rem; color: #1a1b25; }
.kl-rev-panel__review-time { font-size: .75rem; color: #888; }
.kl-rev-panel__review-stars { font-size: .9rem; line-height: 1; margin-bottom: 4px; }
.kl-rev-panel__review-text { font-size: .85rem; line-height: 1.5; color: #333; }

.kl-rev-panel__foot {
  padding: 10px 18px;
  border-top: 1px solid #ececef;
  font-size: .8rem;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.kl-rev-panel__foot-g { width: 14px; height: 14px; }
.kl-rev-panel__foot-google { font-weight: 600; color: #555; }

/* ============================================================
   INTERIOR PAGES — hero video, content, attorney bio, CTA
   ============================================================ */

/* Looping mp4 hero (~5 routes) */
.kl-hero-video {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 420px;
  max-height: 720px;
  overflow: hidden;
  background: #1a1b25 center/cover no-repeat;
}
.kl-hero-video__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kl-hero-video__shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  fill: #fff;
}

/* Generic interior content section */
.kl-page { background: #fff; }
.kl-page > * { /* sections handle their own padding */ }

/* Full-width section wrappers used inside .kl-page content */
.kl-section { background: #fff; padding: 70px 0; }
.kl-section--gray { background: #f0f0f0; }
.kl-section > .container,
.kl-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.kl-section > *:not(.container):not(.kl-section__inner) {
  /* When .md content omits a container wrapper (just paragraphs), still constrain */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.kl-section h2 { color: #1a1b25; font-size: 1.6rem; margin: 0 0 18px; }
.kl-section p { line-height: 1.7; color: #1a1b25; margin: 0 0 16px; }
.kl-section ul { padding-left: 22px; margin: 0 0 18px; }
.kl-section li { line-height: 1.65; margin-bottom: 6px; color: #1a1b25; }
.kl-section a { color: #1a73e8; }
.kl-section a:hover { text-decoration: underline; }

/* When the .md content has only flowing elements (no .kl-section wrapper), give .kl-page some breathing room */
.kl-page > .kl-imgrow:first-child,
.kl-page > p:first-child,
.kl-page > h2:first-child,
.kl-page > ul:first-child { margin-top: 70px; }
.kl-page > .kl-imgrow:last-child,
.kl-page > p:last-child,
.kl-page > h2:last-child,
.kl-page > ul:last-child { margin-bottom: 70px; }

.kl-page__inner { max-width: 1100px; }
.kl-page__content h1 { color: #1a1b25; font-size: 2.2rem; margin: 0 0 22px; line-height: 1.2; }
.kl-page__content h2 { color: #1a1b25; font-size: 1.6rem; margin: 32px 0 14px; }
.kl-page__content h3 { color: #1a1b25; font-size: 1.25rem; margin: 26px 0 12px; }
.kl-page__content p { line-height: 1.7; margin: 0 0 16px; color: #1a1b25; }
.kl-page__content ul { padding-left: 22px; margin: 0 0 18px; }
.kl-page__content li { line-height: 1.65; margin-bottom: 6px; color: #1a1b25; }
.kl-page__content a { color: #1a73e8; }
.kl-page__content a:hover { text-decoration: underline; }
.kl-page__content img {
  max-width: 100%;
  height: auto;
}
.kl-page__content img.alignright,
.kl-page__content .alignright {
  float: right;
  margin: 6px 0 18px 26px;
  max-width: 50%;
  border-radius: 4px;
}
.kl-page__content img.alignleft,
.kl-page__content .alignleft {
  float: left;
  margin: 6px 26px 18px 0;
  max-width: 50%;
  border-radius: 4px;
}
.kl-page__content .clearfix::after { content: ""; display: table; clear: both; }

/* Two-column image + text row (matches live `sc-img-con-layout` Bootstrap rows) */
.kl-imgrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 30px 0;
}
.kl-imgrow--right { grid-template-columns: 1fr 1fr; }
.kl-imgrow--right > .kl-imgrow__img { order: 2; }
.kl-imgrow__img img,
.kl-imgrow__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.kl-imgrow__text > *:last-child { margin-bottom: 0; }
.kl-imgrow__text > *:first-child { margin-top: 0; }

/* Inline "Contact Us" CTA pill — black pill with white text */
.kl-btn-contact-us {
  display: inline-block;
  background: #1a1b25;
  color: #fff !important;
  padding: 10px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  margin: 12px 0 18px;
  transition: background .15s;
}
.kl-btn-contact-us:hover { background: #34363f; color: #fff !important; }

/* Awards/badge row (johnson-county) */
.kl-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}
.kl-badges img { height: 110px; width: auto; max-width: 100%; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.kl-contact { background: #fff; padding: 70px 0; }
.kl-contact__inner { max-width: 1100px; }
.kl-contact__card {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  border-radius: 6px;
  padding: 36px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 50px;
}
.kl-contact__heading { margin: 0 0 22px; color: #1a1b25; font-size: 1.9rem; font-weight: 700; }
.kl-contact__info { margin-bottom: 26px; }
.kl-contact__info-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.kl-contact__info-head h5 { margin: 0; color: #1a1b25; font-weight: 700; font-size: 1rem; }
.kl-contact__info p { margin: 0; line-height: 1.6; color: #1a1b25; font-size: .92rem; }
.kl-contact__info a { color: var(--orange, #ff9f43); }

/* Orange icons reproducing live's location-dot/phone/clock SVGs */
.kl-contact__icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background-color: var(--orange, #ff9f43);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
}
.kl-contact__icon--pin {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg>');
}
.kl-contact__icon--phone {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"/></svg>');
}
.kl-contact__icon--clock {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"/></svg>');
}

/* Contact form */
.kl-contact-form { display: block; }
.kl-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.kl-contact-form__row--full { grid-template-columns: 1fr; }
.kl-contact-form__field { display: flex; flex-direction: column; }
.kl-contact-form__label {
  font-size: .9rem;
  font-weight: 600;
  color: #1a1b25;
  margin-bottom: 4px;
  display: block;
}
.kl-contact-form__label span {
  color: #d32f2f;
  margin-left: 2px;
}
.kl-contact-form__sublabel {
  font-size: .78rem;
  color: #555;
  margin-top: 2px;
}
.kl-contact-form input[type="text"],
.kl-contact-form input[type="tel"],
.kl-contact-form input[type="email"],
.kl-contact-form select,
.kl-contact-form textarea {
  background: #fff;
  border: 1px solid #d6d6d8;
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  color: #1a1b25;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.kl-contact-form input:focus,
.kl-contact-form select:focus,
.kl-contact-form textarea:focus {
  outline: none;
  border-color: var(--orange, #ff9f43);
  box-shadow: 0 0 0 3px rgba(255,159,67,.18);
}
.kl-contact-form input.is-invalid,
.kl-contact-form select.is-invalid,
.kl-contact-form textarea.is-invalid {
  border-color: #d32f2f;
}
.kl-contact-form textarea { resize: vertical; min-height: 110px; }
.kl-contact-form__submit {
  background: var(--orange, #ff9f43);
  color: #fff;
  border: 0;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: 60%;
  margin: 6px auto 0;
  display: block;
  transition: background .15s;
}
.kl-contact-form__submit:hover { background: #f08c2a; }
.kl-contact-form__submit:disabled { opacity: .65; cursor: not-allowed; }
.kl-contact-form__alert {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: .9rem;
}
.kl-contact-form__alert--error {
  background: #fce8e8;
  color: #b32020;
  border: 1px solid #f5b3b3;
}
.kl-contact-form__alert--success {
  background: #e9f6ec;
  color: #226c2f;
  border: 1px solid #b1d8b6;
}

.kl-contact-map { display: block; line-height: 0; }
.kl-contact-map iframe { width: 100%; height: 500px; border: 0; display: block; }

@media (max-width: 768px) {
  .kl-contact { padding: 16px 0 30px; }
  .kl-contact__card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .kl-contact-form__row { grid-template-columns: 1fr; }
  .kl-contact-map iframe { height: 360px; }
}

/* ============================================================
   REVIEWS PAGE — dense grid of all reviews
   ============================================================ */
.kl-reviews-page { background: #fff; padding: 60px 0 80px; }
.kl-reviews-page__inner { max-width: 1200px; }
.kl-reviews-page__title { color: #1a1b25; font-size: 2rem; margin: 0 0 18px; font-weight: 700; }
.kl-reviews-page__intro p { color: #1a1b25; line-height: 1.7; margin: 0 0 14px; }
.kl-reviews-page__intro { margin-bottom: 36px; }
.kl-reviews-page__grid {
  column-count: 4;
  column-gap: 18px;
}
.kl-reviews-page__grid .kl-rev-tile {
  display: inline-block;
  width: 100%;
  margin-bottom: 18px;
}
.kl-rev-tile {
  position: relative;
  background: transparent;
  padding: 28px 22px 20px;
  font-size: .85rem;
  line-height: 1.5;
  color: #1a1b25;
  break-inside: avoid;
}
.kl-rev-tile__g {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 18px;
  height: 18px;
  display: inline-block;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%234285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/><path fill="%2334A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path fill="%23FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path fill="%23EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84C6.71 7.31 9.14 5.38 12 5.38z"/></svg>') center/contain no-repeat;
}
.kl-rev-tile__quote {
  position: absolute;
  top: 4px;
  right: 10px;
  color: #d6d6d8;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}
.kl-rev-tile__author { font-weight: 700; color: #1a73e8; margin-bottom: 4px; font-size: .92rem; }
.kl-rev-tile__stars { font-size: .9rem; line-height: 1; margin-bottom: 4px; }
.kl-rev-tile__time { font-size: .75rem; color: #888; margin-bottom: 8px; }
.kl-rev-tile__text {
  font-size: .82rem;
  line-height: 1.5;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .kl-reviews-page__grid { column-count: 3; }
}
@media (max-width: 768px) {
  .kl-reviews-page__grid { column-count: 2; }
}
@media (max-width: 540px) {
  .kl-reviews-page__grid { column-count: 1; }
}

@media (max-width: 768px) {
  .kl-imgrow { grid-template-columns: 1fr; gap: 24px; }
  .kl-imgrow--right > .kl-imgrow__img { order: 0; }
  .kl-badges { justify-content: center; }
}

/* Attorney bio layout */
.kl-attorney { background: #fff; padding: 50px 0 70px; }
.kl-attorney__inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.kl-attorney__photo-wrap { text-align: center; }
.kl-attorney__photo {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 4px;
  display: block;
}
.kl-attorney__name { color: #1a1b25; font-size: 1.7rem; margin: 0 0 18px; }
.kl-attorney__bio p { line-height: 1.7; color: #1a1b25; margin: 0 0 14px; }

/* Free Consultation CTA — contained teal card with rounded corners */
.kl-cta-fc { background: #fff; padding: 50px 0; }
.kl-cta-fc__box {
  background: var(--teal-light, #e3f3f2);
  border-radius: 25px;
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  transition: background .4s, box-shadow .4s;
}
.kl-cta-fc__box:hover {
  background: #fff;
  box-shadow: 0 2px 50px rgba(0,0,0,.1);
}
.kl-cta-fc__heading {
  color: var(--teal, #1f6a66);
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.05;
}
.kl-cta-fc__body p {
  font-weight: 600;
  color: #1a1b25;
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 16px;
}
.kl-cta-fc__btn {
  display: inline-block;
  background: var(--gold, #ca9c5e);
  color: #fff;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.kl-cta-fc__btn:hover { background: #b8884a; color: #fff; text-decoration: none; }

@media (max-width: 768px) {
  .kl-hero-video { height: 38vh; min-height: 240px; max-height: 320px; }
  .kl-attorney__inner { grid-template-columns: 1fr; }
  .kl-attorney__photo-wrap { max-width: 220px; margin: 0 auto; }
  .kl-cta-fc__box { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
  .kl-cta-fc__heading { font-size: 2.4rem; }
  .kl-page__content img.alignright,
  .kl-page__content img.alignleft,
  .kl-page__content .alignright,
  .kl-page__content .alignleft {
    float: none;
    display: block;
    margin: 12px auto 18px;
    max-width: 100%;
  }
}

/* === FOOTER === */
.site-footer { background: #222; color: #fff; padding: 50px 0 0; }
.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
}
.footer-col img { max-height: 50px; width: auto; filter: brightness(0) invert(1); }
.footer-col p { line-height: 1.7; }
.footer-col a { color: var(--gold); }
.footer-col a:hover { color: var(--orange); }
.footer-bottom-bar { background: #222; padding: 0 0 14px; }
.footer-bottom-bar hr { border: 0; height: 1px; background: #8d9199; opacity: 1; margin: 0 0 14px; }
.footer-bottom-bar-in {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-bar-in a { color: rgba(255,255,255,.7); }
.footer-bottom-bar-in a:hover { color: #fff; }
@media (max-width: 600px) {
  .footer-bottom-bar-in { justify-content: center; text-align: center; }
}

/* === MOBILE CALL BAR === */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: 700;
  z-index: 200;
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top:hover { background: #b8884a; }
.back-to-top[hidden] { display: none; }

/* === MEDIA QUERIES === */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

@media (max-width: 900px) {
  .sc-expertise__grid { grid-template-columns: 1fr; }
  .sc-expertise__cards { grid-template-columns: 1fr 1fr; }
  .sc-solution__grid { grid-template-columns: 1fr; }
  .sc-consultation__grid { grid-template-columns: 1fr; }
  .sc-consultation__image { min-height: 400px; }
  .footer-row { grid-template-columns: 1fr; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 50px; }
  .sc-hero h1 { font-size: 2.2rem; }
  .sc-hero h5 { font-size: 1.1rem; }
  .back-to-top { bottom: 64px; }
}

@media (max-width: 600px) {
  .consultation-form__row { grid-template-columns: 1fr; }
  .sc-expertise__cards { grid-template-columns: 1fr; }
  .sc-expertise__pull,
  .sc-expertise__main,
  .sc-consultation__form-wrap { padding: 40px 20px; }
  .page-banner__title { font-size: 2rem; }
}
