/* =============================================================
   Mileworks Garage — fictional garage demo
   Theme: dark navy + amber, industrial-modern, trust-first
   ============================================================= */

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

:root {
  --navy:        #0e1a2b;
  --navy-deep:   #07111d;
  --navy-soft:   #1a293f;
  --amber:       #f59e0b;
  --amber-deep:  #d97706;
  --amber-soft:  #fef3c7;
  --line:        rgba(15, 26, 43, 0.10);
  --line-dark:   rgba(255, 255, 255, 0.10);
  --ink:         #0e1a2b;
  --ink-soft:    #3d4a5e;
  --muted:       #6b7a8f;
  --cream:       #fcfaf6;
  --cream-soft:  #f3eee2;
  --white:       #ffffff;
  --green:       #16a34a;
  --green-soft:  #ecfdf5;
  --radius:      14px;
  --shadow:      0 14px 34px rgba(14, 26, 43, 0.10), 0 2px 8px rgba(14, 26, 43, 0.05);
  --shadow-lg:   0 24px 50px -16px rgba(14, 26, 43, 0.30);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* ============================================================= */
/* NAV                                                           */
/* ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-mark {
  width: 36px; height: 36px;
  background: var(--amber);
  color: var(--navy);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.brand-text { font-size: 16px; font-weight: 800; letter-spacing: 0.01em; line-height: 1.1; }
.brand-text small { display: block; font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 2px; }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.18s ease; }
.nav-links a:hover { color: var(--amber); }
.nav-links a.active { color: var(--amber); }
.nav-cta {
  background: var(--amber);
  color: var(--navy) !important;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 13.5px !important;
}
.nav-cta:hover { background: var(--amber-deep); color: var(--navy) !important; }

.nav-phone {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(245, 158, 11, 0.10);
  color: var(--amber) !important;
  padding: 7px 12px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.nav-phone:hover { background: rgba(245, 158, 11, 0.20); }

.menu-toggle { display: none; background: transparent; border: 0; color: white; font-size: 22px; cursor: pointer; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); flex-direction: column; gap: 0;
    padding: 12px 24px; max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-links.open { max-height: 480px; padding: 12px 24px 18px; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line-dark); width: 100%; font-size: 15px; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-phone { background: rgba(245,158,11,0.10); justify-content: flex-start; }
  .nav-cta { text-align: center; }
}

/* ============================================================= */
/* HERO                                                          */
/* ============================================================= */
.hero {
  background:
    linear-gradient(135deg, rgba(14, 26, 43, 0.92) 0%, rgba(14, 26, 43, 0.78) 60%, rgba(14, 26, 43, 0.65) 100%),
    url('https://images.unsplash.com/photo-1632823471565-1ecdf5c6da77?w=1600&q=80&auto=format&fit=crop') center/cover;
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  color: var(--amber);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid rgba(245, 158, 11, 0.30);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--white);
}
.hero h1 em { color: var(--amber); font-style: normal; }
.hero-sub {
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-amber {
  background: var(--amber); color: var(--navy);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
}
.btn-amber:hover { background: var(--amber-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245, 158, 11, 0.40); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.btn-navy {
  background: var(--navy); color: var(--white);
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }

.hero-trust {
  display: flex; gap: 22px; margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.hero-trust-item { flex: 1; }
.hero-trust-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-trust-label { font-size: 12px; color: rgba(255,255,255,0.62); letter-spacing: 0.02em; line-height: 1.3; }

/* Hero MOT booking card */
.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,0.45);
  position: relative;
}
.hero-card-tag {
  display: inline-block;
  background: var(--amber-soft);
  color: var(--amber-deep);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.012em;
  margin-bottom: 6px;
}
.hero-card-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.hero-card-price {
  font-size: 56px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.hero-card-price small { font-size: 18px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.hero-card-price-note { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.hero-reg-input {
  display: flex; gap: 0; margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--line);
  transition: border-color 0.18s ease;
}
.hero-reg-input:focus-within { border-color: var(--amber); }
.hero-reg-input input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  font-family: 'Roboto Mono', 'Courier New', monospace;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--cream);
  outline: none;
}
.hero-reg-input button {
  border: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0 18px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.hero-reg-input button:hover { background: var(--navy-deep); }
.hero-card-disclaimer { font-size: 11.5px; color: var(--muted); }

@media (max-width: 920px) {
  .hero { padding: 56px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-trust { flex-wrap: wrap; gap: 16px; }
  .hero-trust-item { min-width: 130px; }
}

/* ============================================================= */
/* SECTIONS                                                      */
/* ============================================================= */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-eyebrow {
  display: inline-block;
  color: var(--amber-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-title em { color: var(--amber-deep); font-style: normal; }
.section-sub { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ============================================================= */
/* SERVICES GRID                                                 */
/* ============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(245, 158, 11, 0.35);
}
.service-card-icon {
  width: 52px; height: 52px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.service-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin-bottom: 16px; flex: 1; }
.service-card-price {
  display: inline-flex; align-items: baseline; gap: 4px;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  margin-top: auto;
}
.service-card-price strong { font-size: 22px; font-weight: 900; color: var(--amber-deep); }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================= */
/* WHY US (split image + bullets)                                */
/* ============================================================= */
.why-us { background: var(--cream); }
.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.why-visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, rgba(14, 26, 43, 0.30) 0%, rgba(14, 26, 43, 0.05) 100%),
    url('https://images.unsplash.com/photo-1486006920555-c77dcf18193c?w=1200&q=80&auto=format&fit=crop') center/cover;
  box-shadow: var(--shadow);
}
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(14, 26, 43, 0.08);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-list li:last-child { border-bottom: 0; }
.why-list-icon {
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--amber);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.why-list h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.why-list p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================= */
/* TESTIMONIALS                                                  */
/* ============================================================= */
.testimonials { background: var(--navy); color: var(--white); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-title em { color: var(--amber); }
.testimonials .section-sub { color: rgba(255,255,255,0.65); }
.testimonials .section-eyebrow { color: var(--amber); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.testimonial-stars { color: var(--amber); margin-bottom: 14px; font-size: 16px; letter-spacing: 0.05em; }
.testimonial-text { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.88); margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.testimonial-name { font-weight: 700; font-size: 14.5px; color: var(--white); }
.testimonial-meta { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 1px; }

@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============================================================= */
/* OFFER BAR (book online any time)                              */
/* ============================================================= */
.offer-bar {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  color: var(--navy);
  padding: 56px 0;
  text-align: center;
}
.offer-bar h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
}
.offer-bar p { color: rgba(14, 26, 43, 0.78); font-size: 16px; max-width: 580px; margin: 0 auto 26px; }

/* ============================================================= */
/* FOOTER                                                        */
/* ============================================================= */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand-tagline { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.55; margin-top: 14px; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 14px; }
.footer-col a {
  display: block; color: rgba(255,255,255,0.65);
  text-decoration: none; font-size: 14px; padding: 4px 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}
.footer-built-by a { color: var(--amber); text-decoration: none; font-weight: 600; }
.footer-built-by a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================= */
/* SERVICES PAGE                                                 */
/* ============================================================= */
.services-page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 60px 0 50px;
  text-align: center;
}
.services-page-header .section-eyebrow { color: var(--amber); }
.services-page-header .section-title { color: var(--white); }
.services-page-header .section-sub { color: rgba(255,255,255,0.72); }

.services-category-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky;
  top: 64px;
  z-index: 20;
  text-align: center;
}
.services-category-nav a {
  display: inline-block;
  margin: 0 8px;
  padding: 8px 14px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 7px;
  transition: background 0.15s ease, color 0.15s ease;
}
.services-category-nav a:hover { background: var(--cream); color: var(--navy); }

.services-category { padding: 56px 0; border-bottom: 1px solid var(--line); }
.services-category:last-child { border-bottom: 0; }
.services-category-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.services-category-emoji { font-size: 36px; line-height: 1; }
.services-category-title { font-size: 26px; font-weight: 900; letter-spacing: -0.015em; }
.services-category-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }

.service-item {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(14, 26, 43, 0.12);
}
.service-item:last-child { border-bottom: 0; }
.service-item-name { font-weight: 700; font-size: 15.5px; color: var(--navy); }
.service-item-tag {
  display: inline-block;
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.service-item-tag.popular { background: rgba(22, 163, 74, 0.10); color: var(--green); }
.service-item-desc { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.55; }
.service-item-dots { flex: 1; border-bottom: 2px dotted var(--line); margin-bottom: 4px; }
.service-item-price {
  font-weight: 800; font-size: 17px; color: var(--amber-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ============================================================= */
/* CONTACT PAGE                                                  */
/* ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 56px 0 80px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; letter-spacing: -0.012em; }
.contact-card h3 em { color: var(--amber-deep); font-style: normal; }
.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(14, 26, 43, 0.06);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row-icon {
  width: 38px; height: 38px;
  background: var(--cream);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-row-label { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.contact-row-value { font-size: 15px; color: var(--navy); font-weight: 600; line-height: 1.5; }
.contact-row-value a { color: var(--navy); text-decoration: none; }
.contact-row-value a:hover { color: var(--amber-deep); }

.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(14, 26, 43, 0.06);
  font-size: 14px;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row span:last-child { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-row.today { background: var(--amber-soft); margin: 0 -14px; padding: 10px 14px; border-radius: 7px; border-bottom: 0; }
.hours-row.today span:last-child { color: var(--amber-deep); }
.hours-row.closed span:last-child { color: #b91c1c; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--white);
  transition: border-color 0.15s ease;
}
.form-control:focus { outline: none; border-color: var(--amber); }
textarea.form-control { resize: vertical; min-height: 110px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; padding: 36px 0 56px; }
}

/* ============================================================= */
/* CHATBOT WIDGET (shared shell across all demos)                */
/* ============================================================= */
.chat-launcher {
  position: fixed; bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  background: var(--amber);
  color: var(--navy);
  border: 0;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-launcher:hover { transform: scale(1.06); box-shadow: 0 14px 34px rgba(245, 158, 11, 0.55); }

.chat-panel {
  position: fixed; bottom: 90px; right: 22px;
  width: 360px; max-width: calc(100vw - 44px);
  height: 540px; max-height: calc(100vh - 130px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.30);
  display: flex; flex-direction: column;
  z-index: 99;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.chat-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.chat-header-avatar {
  width: 38px; height: 38px;
  background: var(--amber);
  color: var(--navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
}
.chat-header-title { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.chat-header-status { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 1px; }
.chat-close {
  margin-left: auto; background: transparent; border: 0;
  color: rgba(255,255,255,0.65); font-size: 22px; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}
.chat-close:hover { background: rgba(255,255,255,0.10); color: var(--white); }

.chat-body {
  flex: 1; overflow-y: auto;
  padding: 18px;
  background: var(--cream);
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
  padding: 10px 14px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 86%;
}
.chat-msg.bot { background: var(--white); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; border: 1px solid var(--line); }
.chat-msg.user { background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }

.chat-typing {
  align-self: flex-start;
  background: var(--white); border: 1px solid var(--line);
  padding: 12px 14px; border-radius: 13px;
  border-bottom-left-radius: 4px;
  display: flex; gap: 4px;
}
.chat-typing span {
  width: 6px; height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: chatBounce 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.chat-suggestions {
  padding: 10px 14px 0;
  background: var(--cream);
  display: flex; gap: 6px; flex-wrap: wrap;
}
.chat-suggestion {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.chat-suggestion:hover { background: var(--amber-soft); border-color: var(--amber); transform: translateY(-1px); }

.chat-input-row {
  padding: 12px 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: flex; gap: 8px;
}
.chat-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.chat-input:focus { border-color: var(--amber); }
.chat-send {
  background: var(--navy);
  color: var(--white);
  border: 0;
  width: 40px;
  border-radius: 9px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.chat-send:hover { background: var(--amber); color: var(--navy); }
