/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --red: #E63946;
  --navy: #1D3557;
  --blue: #457B9D;
  --light-blue: #A8DADC;
  --orange: #F4A261;
  --bg-light: #f8f9ff;
  --bg-dark: #1D3557;
  --white: #ffffff;
  --gray: #6c757d;
  --border: #e0e4ef;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(29,53,87,0.10);
  --transition: 0.25s ease;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: var(--light-blue); }
.top-bar a:hover { color: #fff; }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.top-bar span { display: flex; align-items: center; gap: 6px; }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 16px rgba(29,53,87,0.10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.logo img { height: 52px; width: auto; }

nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav ul li a {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
nav ul li a:hover { background: var(--bg-light); color: var(--red); }
nav ul li a.btn-nav {
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: 9px 18px;
}
nav ul li a.btn-nav:hover { background: #c1121f; color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== CONTAINER ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #16213e 60%, #0f3460 100%);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(230,57,70,0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(69,123,157,0.20) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.hero-text { flex: 1; }
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: #c1121f; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.hero-image { flex: 0 0 340px; text-align: center; }
.hero-phone-graphic {
  width: 220px;
  height: 380px;
  background: linear-gradient(160deg, #2a2a3e, #1a1a2e);
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.15);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
}
.hero-phone-graphic::before {
  content: '';
  position: absolute;
  top: 16px;
  width: 70px; height: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
}
.phone-icon-large {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(230,57,70,0.4));
}
.repair-badge {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  text-align: center;
  line-height: 1.3;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== QUICK INFO STRIP ===== */
.quick-info {
  background: var(--red);
  color: #fff;
  padding: 16px 0;
}
.quick-info .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  text-align: center;
}
.quick-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}
.quick-info-item .icon { font-size: 1.2rem; }

/* ===== SECTIONS COMMON ===== */
section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  background: rgba(230,57,70,0.10);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
}
.divider {
  width: 56px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ===== DEVICES SECTION ===== */
.devices { background: var(--bg-light); }
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.device-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.device-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(230,57,70,0.15);
}
.device-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 10px;
  background: #f0f2f8;
}
.device-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}
.device-card:hover .device-img img { transform: scale(1.04); }
.device-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.device-card p { font-size: 0.82rem; color: var(--gray); }

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(29,53,87,0.13); }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(230,57,70,0.10);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; margin-bottom: 16px; }
.service-tag {
  display: inline-block;
  background: rgba(230,57,70,0.10);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
}

/* ===== WHY CHOOSE ===== */
.why { background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  width: 70px; height: 70px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(230,57,70,0.30);
}
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-card p { font-size: 0.87rem; color: var(--gray); }

/* ===== BRANDS ===== */
.brands { padding: 52px 0; }
.brands-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}
.brands-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.brand-pill {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  transition: border-color var(--transition), color var(--transition);
}
.brand-pill:hover { border-color: var(--red); color: var(--red); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--navy); color: #fff; }
.testimonials .section-header h2 { color: #fff; }
.testimonials .section-header p { color: rgba(255,255,255,0.65); }
.testimonials .section-tag { background: rgba(230,57,70,0.3); color: var(--light-blue); }
.testimonials .divider { background: var(--light-blue); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: background var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.11); }
.stars { color: var(--orange); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.93rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 18px; }
.reviewer-name { font-weight: 700; color: #fff; font-size: 0.9rem; }
.reviewer-device { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ===== CONTACT / HOURS ===== */
.contact { background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-item-text strong { display: block; color: var(--navy); font-weight: 700; font-size: 0.9rem; }
.contact-item-text span, .contact-item-text a { color: var(--gray); font-size: 0.9rem; }
.contact-item-text a:hover { color: var(--red); }
.hours-table { width: 100%; margin-top: 8px; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 7px 0; font-size: 0.87rem; color: var(--gray); }
.hours-table td:first-child { font-weight: 600; color: var(--navy); }
.hours-table td:last-child { text-align: right; }
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--red), #c1121f);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 12px; }
.cta-banner p { font-size: 1rem; opacity: 0.88; margin-bottom: 28px; }
.btn-white {
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ===== FOOTER ===== */
footer {
  background: #0d1b2a;
  color: rgba(255,255,255,0.7);
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; max-width: 280px; }
footer h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
footer ul li { margin-bottom: 8px; }
footer ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
footer ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet landscape (≤1024px) */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
}

/* Tablet portrait (≤768px) */
@media (max-width: 768px) {
  /* Top bar */
  .top-bar { display: none; }

  /* Sticky header */
  header { position: sticky; top: 0; }

  /* Hamburger */
  .hamburger { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 12px 16px 20px;
    z-index: 200;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  nav ul li a { display: block; padding: 13px 16px; font-size: 1rem; border-radius: 8px; }
  nav ul li a.btn-nav { margin-top: 8px; text-align: center; }

  /* Hero */
  .hero { padding: 52px 0 44px; }
  .hero-inner { flex-direction: column; text-align: center; gap: 32px; }
  .hero-image { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero p { max-width: 100%; font-size: 1rem; }

  /* Quick info */
  .quick-info .container { gap: 16px; }
  .quick-info-item { font-size: 0.85rem; }

  /* Sections */
  section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }

  /* Devices: 3 cols on tablet */
  .devices-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  /* Services: 2 cols on tablet already handled above, reduce padding */
  .service-card { padding: 24px 20px; }

  /* Why: 2 cols on tablet */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why-card { padding: 28px 18px; }

  /* Testimonials: 1 col on tablet */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrapper { height: 280px; }

  /* CTA */
  .cta-banner { padding: 48px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 44px 0; }
  .section-header { margin-bottom: 28px; }

  /* Hero */
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { gap: 16px; }
  .stat-number { font-size: 1.5rem; }
  .btn-primary, .btn-outline { padding: 12px 20px; font-size: 0.93rem; width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; width: 100%; }

  /* Quick info: 2x2 grid */
  .quick-info .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
  }
  .quick-info-item { font-size: 0.8rem; gap: 6px; }

  /* Devices: 2 cols on mobile */
  .devices-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .device-card { padding: 20px 12px; }
  .device-img { height: 70px; }
  .device-img img { height: 70px; }
  .device-card h3 { font-size: 0.9rem; }
  .device-card p { font-size: 0.75rem; }

  /* Services: 1 col */
  .services-grid { grid-template-columns: 1fr; }

  /* Why: 1 col */
  .why-grid { grid-template-columns: 1fr; }

  /* Brands */
  .brand-pill { padding: 7px 14px; font-size: 0.82rem; }

  /* Contact */
  .contact-info h3 { font-size: 1.2rem; }
  .map-wrapper { height: 240px; }
}

/* Small mobile (≤360px) */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.65rem; }
  .devices-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .device-card { padding: 16px 10px; }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== CHAT WIDGET ===== */
#chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  font-family: 'Segoe UI', Arial, sans-serif;
}

#chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(230,57,70,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-left: auto;
}
#chat-toggle:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(230,57,70,0.55); }

#chat-panel {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 340px;
  max-height: 520px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(29,53,87,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#chat-panel.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

#chat-header {
  background: linear-gradient(135deg, var(--navy), #16213e);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
#chat-header-info { display: flex; align-items: center; gap: 12px; }
#chat-avatar {
  width: 40px; height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
#chat-name { color: #fff; font-weight: 700; font-size: 0.95rem; }
#chat-status { color: rgba(255,255,255,0.65); font-size: 0.75rem; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
#chat-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
#chat-close-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
#chat-close-btn:hover { background: rgba(255,255,255,0.22); }

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.55;
  white-space: pre-line;
}
.chat-msg.bot .chat-bubble {
  background: #f0f2f8;
  color: var(--navy);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
  background: var(--red);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.typing { display: flex; align-items: center; gap: 4px; padding: 12px 16px; }
.typing span {
  width: 7px; height: 7px;
  background: #aab;
  border-radius: 50%;
  animation: typing-bounce 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

#chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 12px;
  flex-shrink: 0;
}
.chat-q {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.chat-q:hover { border-color: var(--red); color: var(--red); background: rgba(230,57,70,0.04); }

.chat-reset {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 6px 0;
  text-align: left;
  text-decoration: underline;
  margin-top: 4px;
}

#chat-footer {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  flex-shrink: 0;
}
#chat-call-btn {
  display: block;
  text-align: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.18s;
}
#chat-call-btn:hover { background: #c1121f; }

@media (max-width: 480px) {
  #chat-panel { width: calc(100vw - 32px); right: 0; }
  #chat-widget { bottom: 16px; right: 16px; }
}
