/* ==========================================================================
   Brandon's Welding & Construction — Design tokens

   Palette
     --steel-dark   #1c1f22   gunmetal / plate steel, dark sections
     --steel-mid    #2a2f34   raised panels on dark
     --steel-line   #3f474d   hairline borders on dark
     --plate        #ece8e1  raw steel primer / light section background
     --plate-line   #d8d2c6   hairline borders on light
     --weld-orange  #ff6b1a  arc-flash accent, primary CTA
     --weld-orange-d #e05a10 hover state
     --safety-yellow #f4b400  secondary hazard accent, used sparingly

   Type
     Display: 'Oswald' (condensed, industrial, stencil-adjacent)
     Body:    'Inter'
     Utility: 'JetBrains Mono' (eyebrows, labels, stat numbers)

   Signature element: the "weld seam" divider — a dashed bead-line with a
   soft orange->yellow glow that runs between sections, standing in for the
   generic gradient blob divider.
   ========================================================================== */

:root {
  --steel-dark: #1c1f22;
  --steel-mid: #2a2f34;
  --steel-line: #3f474d;
  --plate: #ece8e1;
  --plate-line: #d8d2c6;
  --weld-orange: #ff6b1a;
  --weld-orange-d: #e05a10;
  --safety-yellow: #f4b400;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1180px;
  --radius: 2px;
}

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

/* The browser's default [hidden] { display: none } is easily overridden by
   any of our own rules that set display explicitly (flex, grid, etc.) — this
   restores that behavior with !important so hidden="" always actually hides
   the element, regardless of what else targets it. */
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--steel-dark);
  background: var(--plate);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: 0.03em; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--weld-orange);
  margin: 0 0 0.6em;
}

:focus-visible {
  outline: 3px solid var(--weld-orange);
  outline-offset: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--weld-orange);
  color: #1c1006;
  font-weight: 600;
}
.btn-primary:hover { background: var(--weld-orange-d); }

.btn-ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}
.btn-ghost:hover { background: rgba(255, 107, 26, 0.1); border-color: var(--weld-orange); }

.btn-lg { padding: 1.1em 2.2em; font-size: 0.95rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  background: var(--steel-dark);
  color: var(--plate);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 2px solid var(--weld-orange);
}

.header-bar {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--plate); }
.brand-mark { color: var(--weld-orange); display: flex; }
.brand-mark img { border-radius: 4px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.04em; }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: #a8afb5; }

.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfd4d8;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--plate); border-color: var(--weld-orange); }
.main-nav a.nav-cta {
  background: var(--weld-orange);
  color: #1c1006;
  padding: 0.55em 1.1em;
  border-radius: var(--radius);
  border-bottom: none;
  font-weight: 600;
}
.main-nav a.nav-cta:hover { background: var(--safety-yellow); color: #1c1006; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfd4d8;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown-toggle.is-active { color: var(--plate); border-color: var(--weld-orange); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: var(--steel-mid);
  border: 1px solid var(--steel-line);
  border-top: 2px solid var(--weld-orange);
  min-width: 180px;
  flex-direction: column;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  padding: 0.7em 1em;
  border-bottom: 1px solid var(--steel-line);
  white-space: nowrap;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }

.mobile-nav-heading {
  padding: 0.8rem 1.5rem 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d848a;
}
.mobile-nav a.mobile-nav-sub { padding-left: 2.2rem; font-size: 0.8rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--plate); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--steel-mid);
  border-top: 1px solid var(--steel-line);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfd4d8;
  border-bottom: 1px solid var(--steel-line);
}
.mobile-nav a.is-active { color: var(--weld-orange); }
.mobile-nav a.nav-cta { color: var(--weld-orange); font-weight: 600; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Weld seam divider — signature element
   ========================================================================== */

.weld-seam {
  height: 34px;
  margin: 0 auto;
  max-width: var(--container);
  position: relative;
  opacity: 0;
  transform: scaleX(0.85);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.weld-seam.is-visible { opacity: 1; transform: scaleX(1); }
.weld-seam::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--weld-orange) 0 10px,
    transparent 10px 18px
  );
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.5);
}
.weld-seam::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.5rem;
  right: 1.5rem;
  height: 6px;
  transform: translateY(-3px);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 4px,
    rgba(244, 180, 0, 0.35) 4px 6px,
    transparent 6px 14px
  );
}

/* ==========================================================================
   Image placeholders
   ========================================================================== */

.img-placeholder {
  position: relative;
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background:
    repeating-linear-gradient(135deg, #babfc4 0 10px, #a9aeb3 10px 20px);
  border: 1px solid var(--plate-line);
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.img-placeholder:hover { transform: scale(1.025); }
.img-placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(28, 31, 34, 0.85);
  color: var(--plate);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: var(--radius);
}
.img-placeholder.thumb { height: 150px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--steel-dark);
  color: var(--plate);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  opacity: 0.35;
  border: none;
}
.hero-media::after { display: none; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,31,34,0.55) 0%, rgba(28,31,34,0.92) 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
}
.hero h1 { max-width: 14ch; }
.hero-lede { max-width: 46ch; font-size: 1.1rem; color: #d7dade; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0 3rem; }

.hero-stats { list-style: none; display: flex; gap: 2.5rem; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 2rem; color: var(--weld-orange); }
.stat-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #a8afb5; }

/* ==========================================================================
   Sections / layout
   ========================================================================== */

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}
.section-head { max-width: 60ch; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { margin: 0; }

.page-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}
.page-hero h1 { margin: 0; }

/* Service / credential cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--plate-line);
  border-top: 3px solid var(--weld-orange);
  padding: 1.8rem 1.6rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.service-card.is-visible { opacity: 1; transform: translateY(0); }
.service-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.service-card h3 { margin-bottom: 0.4rem; }
.service-card p { margin: 0; color: #4a4f53; font-size: 0.95rem; }

/* Why us */
.why-us { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why-media { min-height: 320px; }
.why-copy { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.why-copy.is-visible { opacity: 1; transform: translateY(0); }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li { padding-left: 1.6rem; position: relative; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 10px; height: 10px;
  background: var(--weld-orange);
  clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
}

@media (max-width: 800px) {
  .why-us { grid-template-columns: 1fr; }
}

/* Gallery preview / thumbs */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
}

/* CTA band */
.cta-band {
  background: var(--steel-dark);
  color: var(--plate);
  text-align: center;
  max-width: none;
  padding: 4.5rem 1.5rem;
}
.cta-band h2 { color: var(--plate); }
.cta-band p { max-width: 50ch; margin: 0 auto 1.8rem; color: #c9cdd1; }

/* About page */
.about-story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.about-media { min-height: 340px; }
.about-copy { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.about-copy.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 800px) {
  .about-story { grid-template-columns: 1fr; }
}

/* Gallery page */
.filter-bar { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--plate-line);
  color: var(--steel-dark);
  padding: 0.55em 1.1em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.filter-btn:hover { border-color: var(--weld-orange); }
.filter-btn.is-active { background: var(--weld-orange); border-color: var(--weld-orange); color: #1c1006; font-weight: 600; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.gallery-item { margin: 0; opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.gallery-item.is-visible { opacity: 1; transform: translateY(0); }
.gallery-item figcaption { font-size: 0.85rem; color: #4a4f53; margin-top: 0.5rem; }
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; margin: 0 0 1.6rem; }
.map-placeholder { min-height: 220px; margin-bottom: 1.6rem; }
.contact-chat-note {
  background: #fff;
  border: 1px solid var(--plate-line);
  border-left: 3px solid var(--weld-orange);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
}
.contact-chat-note p { margin: 0; }

.quote-form {
  background: #fff;
  border: 1px solid var(--plate-line);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.quote-form label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1rem 0 0.4rem;
  color: #4a4f53;
}
.quote-form label:first-of-type { margin-top: 0; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7em 0.8em;
  border: 1px solid var(--plate-line);
  border-radius: var(--radius);
  background: var(--plate);
  color: var(--steel-dark);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { border-color: var(--weld-orange); }
.quote-form button { margin-top: 1.6rem; align-self: flex-start; }
.form-note { font-size: 0.78rem; color: #8a8f93; margin-top: 0.8rem; }

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--steel-dark);
  color: #c9cdd1;
  padding-top: 1px;
}
.footer-seam {
  height: 34px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.footer-seam::before {
  content: "";
  position: absolute;
  top: 50%; left: 1.5rem; right: 1.5rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--weld-orange) 0 10px, transparent 10px 18px);
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.5);
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand { display: block; margin-bottom: 0.6rem; font-size: 1rem; color: var(--plate); }
.footer-tagline { font-size: 0.9rem; color: #a8afb5; }
.footer-cert { font-family: var(--font-mono); font-size: 0.72rem; color: var(--weld-orange); letter-spacing: 0.03em; }
.footer-heading { font-size: 0.85rem; color: var(--plate); margin-bottom: 0.8rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.9rem; }
.footer-list a:hover { color: var(--weld-orange); }
.footer-bottom {
  border-top: 1px solid var(--steel-line);
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #7d848a;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Chatbot widget
   ========================================================================== */

.chatbot-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--weld-orange);
  color: #1c1006;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  z-index: 50;
  transition: transform 0.15s ease;
}
.chatbot-toggle:hover { transform: scale(1.06); }

.chatbot-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: min(340px, calc(100vw - 2rem));
  max-height: 480px;
  background: var(--steel-dark);
  color: var(--plate);
  border: 1px solid var(--steel-line);
  border-top: 3px solid var(--weld-orange);
  display: flex;
  flex-direction: column;
  z-index: 50;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.chatbot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--steel-line);
}
.chatbot-head button { background: none; border: none; color: var(--plate); font-size: 1.2rem; cursor: pointer; }

.chatbot-categories { display: flex; gap: 0.4rem; padding: 0.7rem 1rem 0; flex-wrap: wrap; }
.cat-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--steel-line);
  color: #a8afb5;
  padding: 0.35em 0.7em;
  border-radius: var(--radius);
  cursor: pointer;
}
.cat-btn:hover { border-color: var(--weld-orange); color: var(--plate); }
.cat-btn.is-active { background: var(--weld-orange); border-color: var(--weld-orange); color: #1c1006; font-weight: 600; }

.chatbot-schedule {
  border-top: 1px solid var(--steel-line);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 320px;
  overflow-y: auto;
}
.chatbot-schedule h4 {
  margin: 0 0 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--weld-orange);
}
.chatbot-schedule label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a8afb5;
  margin-bottom: -0.3rem;
}
.chatbot-schedule input,
.chatbot-schedule select,
.chatbot-schedule textarea {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.5em 0.6em;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  background: var(--steel-mid);
  color: var(--plate);
}
.chatbot-schedule .schedule-row { display: flex; gap: 0.5rem; }
.chatbot-schedule .schedule-actions { display: flex; gap: 0.5rem; margin-top: 0.3rem; }
.chatbot-schedule .schedule-actions button { flex: 1; }
.schedule-cancel {
  background: transparent;
  border: 1px solid var(--steel-line);
  color: #cfd4d8;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55em 0.8em;
  border-radius: var(--radius);
  cursor: pointer;
}
.schedule-submit {
  background: var(--weld-orange);
  color: #1c1006;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.55em 0.8em;
  border-radius: var(--radius);
  cursor: pointer;
}
.schedule-note { font-size: 0.7rem; color: #8a9096; margin: 0; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.msg { font-size: 0.88rem; padding: 0.6em 0.8em; border-radius: var(--radius); max-width: 88%; }
.msg.bot { background: var(--steel-mid); align-self: flex-start; }
.msg.user { background: var(--weld-orange); color: #1c1006; align-self: flex-end; }
.msg.is-typing { color: #8a9096; font-style: italic; }
.chatbot-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1rem 0.8rem; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  background: var(--steel-mid);
  border: 1px solid var(--steel-line);
  color: #cfd4d8;
  padding: 0.4em 0.7em;
  border-radius: var(--radius);
  cursor: pointer;
}
.chip:hover { border-color: var(--weld-orange); color: var(--plate); }
.chatbot-input { display: flex; border-top: 1px solid var(--steel-line); }
.chatbot-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--plate);
  padding: 0.9em 1em;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.chatbot-input input:focus { outline: none; }
.chatbot-input button {
  background: var(--weld-orange);
  color: #1c1006;
  border: none;
  width: 46px;
  cursor: pointer;
  font-size: 1.1rem;
}
