/* Klimate Concepts — Lubbock HVAC
   Deep blue + warm accent, mobile-first */

:root {
  --navy: #0b2749;
  --navy-deep: #061a33;
  --navy-mid: #123a6b;
  --blue: #1a5f9e;
  --sky: #e8f1fa;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --accent-soft: #fef5ee;
  --text: #1c2430;
  --muted: #5a6575;
  --border: #d6dde8;
  --white: #ffffff;
  --success: #1e7a46;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 39, 73, 0.12);
  --shadow-sm: 0 2px 10px rgba(11, 39, 73, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent); }
ul { padding-left: 1.2rem; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); margin-top: 0; }
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Top bar —— */
.topbar {
  background: var(--navy-deep);
  color: #c8d6e8;
  font-size: 0.875rem;
  padding: 0.45rem 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--accent); }
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(11, 39, 73, 0.25);
}
.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: var(--sky);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--sky);
}
.nav .btn-nav {
  margin-left: 0.35rem;
  background: var(--accent);
  color: #fff !important;
  padding: 0.6rem 1rem;
}
.nav .btn-nav:hover {
  background: var(--accent-hover);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.35rem;
  border-radius: 9px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff !important; }
.btn-secondary {
  background: var(--navy);
  color: #fff !important;
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: #fff !important; }
.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--sky); }
.btn-outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* —— Hero —— */
.hero {
  background:
    linear-gradient(115deg, rgba(6, 26, 51, 0.94) 0%, rgba(18, 58, 107, 0.88) 55%, rgba(26, 95, 158, 0.82) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(230, 126, 34, 0.18), transparent 50%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 80%;
  background: radial-gradient(circle, rgba(230,126,34,0.15), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  background: rgba(230, 126, 34, 0.2);
  border: 1px solid rgba(230, 126, 34, 0.45);
  color: #ffd7b0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #d4e2f2;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-phone {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.hero-phone a { color: #fff; }
.hero-phone a:hover { color: var(--accent); }
.hero-phone small {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #a8bdd4;
  margin-top: 0.2rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero-card h2 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #e2ebf5;
  font-size: 0.95rem;
}
.trust-list li:last-child { border-bottom: none; }
.trust-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 2px;
}

/* —— Sections —— */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--sky); }
.section-navy {
  background: var(--navy);
  color: #d4e2f2;
}
.section-navy h2 { color: #fff; }
.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.section-head p { color: var(--muted); margin: 0; }
.section-navy .section-head p { color: #a8bdd4; }

/* —— Trust strip —— */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}
.trust-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* —— Cards / grids —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card:hover { box-shadow: var(--shadow); border-color: #b8c7db; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin: 0 0 1rem; font-size: 0.95rem; }
.card a.more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
}
.card a.more:hover { color: var(--accent); }

/* —— CTA band —— */
.cta-band {
  background: linear-gradient(110deg, var(--navy-deep), var(--navy-mid));
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: #b8cce0; margin: 0 0 1.25rem; }
.cta-band .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* —— Service area —— */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.area-list {
  columns: 2;
  column-gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.area-list li {
  padding: 0.4rem 0;
  break-inside: avoid;
  color: var(--text);
  font-weight: 500;
}
.area-list li::before {
  content: "▸ ";
  color: var(--accent);
  font-weight: 800;
}
.area-note {
  background: var(--accent-soft);
  border: 1px solid #f0d0b0;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.25rem;
}
.area-note p { margin: 0; color: var(--text); font-size: 0.95rem; }

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}
.prose p { color: var(--muted); margin-top: 0; }
.prose p + p { margin-top: 1rem; }
.stat-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
}
.stat-box h3 { color: #fff; margin-bottom: 1rem; }
.stat-box ul { list-style: none; padding: 0; margin: 0; }
.stat-box li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #d4e2f2;
}
.stat-box li:last-child { border-bottom: none; }
.stat-box li strong { color: #fff; display: block; }

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.contact-info {
  background: var(--navy);
  color: #d4e2f2;
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-info h2 { color: #fff; }
.contact-info p { margin-top: 0; }
.contact-info a { color: #fff; font-weight: 700; }
.contact-info a:hover { color: var(--accent); }
.contact-phone {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 1rem 0 0.25rem;
}
.contact-meta {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.contact-meta li {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-meta strong {
  display: block;
  color: #fff;
  margin-bottom: 0.15rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { margin-bottom: 0.35rem; }
.form-card .form-intro {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-group .req { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}
.form-success {
  display: none;
  background: #e8f7ee;
  border: 1px solid #a8d5b8;
  color: var(--success);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.form-success.is-visible { display: block; }

/* —— Page hero (inner) —— */
.page-hero {
  background: linear-gradient(115deg, var(--navy-deep), var(--navy-mid));
  color: #fff;
  padding: 2.5rem 0 2.75rem;
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p {
  color: #b8cce0;
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy-deep);
  color: #a8bdd4;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}
.site-footer a { color: #c8d6e8; }
.site-footer a:hover { color: var(--accent); }
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand .logo:hover { color: #fff; }
.footer-brand p { margin: 0 0 0.75rem; }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* —— Sticky call FAB (mobile-first, always useful) —— */
.sticky-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(230, 126, 34, 0.45);
  text-decoration: none;
  font-size: 0.95rem;
}
.sticky-call:hover {
  background: var(--accent-hover);
  color: #fff !important;
}
.sticky-call .fab-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

/* —— Service detail blocks —— */
.service-detail {
  display: grid;
  gap: 1.25rem;
}
.service-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.service-block h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
.service-block .svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sky);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.service-block p { color: var(--muted); margin: 0 0 0.75rem; }
.service-block ul { margin: 0; color: var(--text); }
.service-block li { margin-bottom: 0.35rem; }

/* —— Breadcrumb-ish —— */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-grid,
  .area-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 0.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 1rem; }
  .nav .btn-nav { margin-left: 0; text-align: center; }
  .site-header { position: sticky; }
  .nav-wrap { position: relative; }
}

@media (max-width: 600px) {
  .card-grid,
  .card-grid-2,
  .form-row { grid-template-columns: 1fr; }
  .area-list { columns: 1; }
  .trust-strip-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .sticky-call .fab-label-full { display: none; }
  .sticky-call { padding: 0.9rem 1.1rem; }
}

@media (min-width: 901px) {
  .sticky-call .fab-label-short { display: none; }
}

/* Chat widget (chat.js: After-Hours Front Desk)
   Launcher sits ABOVE the sticky call FAB (.sticky-call, bottom-right) so both stay tappable. */
.kc-chat {
  --kc-fab-gap: calc(1rem + 66px); /* sticky-call bottom offset + its height + spacing */
  font-family: var(--font);
}
.kc-chat-launcher {
  position: fixed;
  right: 1rem;
  bottom: var(--kc-fab-gap);
  z-index: 210;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.05rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(11, 39, 73, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}
.kc-chat-launcher:hover { background: var(--navy-mid); transform: translateY(-1px); }
.kc-chat-launcher:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.kc-chat-launcher-icon { font-size: 1.05rem; line-height: 1; }

.kc-chat-panel {
  position: fixed;
  right: 1rem;
  bottom: calc(var(--kc-fab-gap) + 60px);
  z-index: 220;
  width: 370px;
  max-width: calc(100vw - 2rem);
  height: 540px;
  max-height: calc(100vh - var(--kc-fab-gap) - 80px);
  display: none;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(11, 39, 73, 0.28);
  overflow: hidden;
}
.kc-chat.is-open .kc-chat-panel { display: flex; animation: kc-chat-in 0.18s ease-out; }
@keyframes kc-chat-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.kc-chat-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.9rem;
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--accent);
}
.kc-chat-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.kc-chat-titles { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.kc-chat-titles strong { font-size: 1rem; color: #fff; }
.kc-chat-titles span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.78); }
.kc-chat-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.kc-chat-close:hover { background: rgba(255, 255, 255, 0.24); }

.kc-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  background: var(--sky);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  -webkit-overflow-scrolling: touch;
}
.kc-chat-msg {
  max-width: 88%;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  word-wrap: break-word;
}
.kc-chat-bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.kc-chat-bot a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.kc-chat-user {
  align-self: flex-end;
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.kc-chat-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.15rem; }
.kc-chat-chip {
  border: 1.5px solid var(--accent);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.kc-chat-chip:hover, .kc-chat-chip:focus-visible { background: var(--accent); color: #fff; outline: none; }

.kc-chat-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.kc-chat-btn {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid var(--navy);
  color: var(--navy) !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
}
.kc-chat-btn-primary { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.kc-chat-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff !important; }

.kc-chat-foot {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem;
  border-top: 1px solid var(--border);
  background: var(--white);
  margin: 0;
}
.kc-chat-input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
}
.kc-chat-input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.kc-chat-send {
  border: 0;
  border-radius: 8px;
  padding: 0 1rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.kc-chat-send:hover { background: var(--accent-hover); }
.kc-chat-note {
  margin: 0;
  padding: 0.35rem 0.75rem 0.55rem;
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
  background: var(--white);
}
.kc-chat-note a { color: var(--accent-hover); font-weight: 700; }

@media (max-width: 600px) {
  .kc-chat { --kc-fab-gap: calc(1rem + 62px); }
  .kc-chat-launcher { padding: 0.75rem 0.95rem; }
  .kc-chat-panel {
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
    max-width: none;
    height: auto;
    top: 0.75rem;
    bottom: calc(var(--kc-fab-gap) + 58px);
    max-height: none;
  }
  .kc-chat-msg { max-width: 92%; }
}

@media (prefers-reduced-motion: reduce) {
  .kc-chat.is-open .kc-chat-panel { animation: none; }
  .kc-chat-launcher { transition: none; }
}

.brand-card{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.28);margin-top:1.5rem;}
