/* =========================================================
   Exterior STL — Roofing, Siding & Gutters | St. Louis, MO
   Shared stylesheet
   ========================================================= */

:root{
  --green-900:#123822;
  --green-800:#155230;
  --green-700:#1a6b3d;
  --green-600:#22874d;
  --green-500:#2fa15e;
  --green-100:#e7f5ec;
  --green-50:#f4faf6;
  --amber-500:#e2a336;
  --amber-600:#c98a1f;
  --ink-900:#152018;
  --ink-700:#3c4a42;
  --ink-500:#657167;
  --gray-100:#f6f8f7;
  --gray-200:#eef2ef;
  --white:#ffffff;
  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;
  --shadow-sm:0 2px 10px rgba(18,56,34,0.08);
  --shadow-md:0 12px 32px rgba(18,56,34,0.12);
  --maxw:1180px;
  --font-head:'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body:'Inter', 'Segoe UI', Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-head);
  line-height:1.2;
  margin:0 0 .6em;
  color:var(--green-900);
  font-weight:600;
}
h1{ font-size:clamp(2.1rem,4.5vw,3.4rem); font-weight:700; }
h2{ font-size:clamp(1.7rem,3vw,2.4rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1em; color:var(--ink-700); }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; font-size:.78rem; color:var(--green-600);
  background:var(--green-100); padding:6px 14px; border-radius:999px;
  margin-bottom:16px;
}
.center{ text-align:center; }
.section-head{ max-width:680px; margin:0 auto 48px; }
.section-head.left{ margin:0 0 40px; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-head); font-weight:600; font-size:.95rem;
  padding:15px 30px; border-radius:999px; border:2px solid transparent;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--amber-500); color:var(--ink-900); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--amber-600); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.55); color:#fff; }
.btn-outline:hover{ background:rgba(255,255,255,.12); transform:translateY(-2px); }
.btn-green{ background:var(--green-700); color:#fff; }
.btn-green:hover{ background:var(--green-800); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 20px; font-size:.85rem; }

/* Top utility bar */
.topbar{
  background:var(--green-900); color:#dcefe2; font-size:.82rem;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:8px; padding-bottom:8px; gap:16px; flex-wrap:wrap;
}
.topbar a{ color:#dcefe2; }
.topbar .topbar-links{ display:flex; gap:20px; flex-wrap:wrap; }
.topbar .topbar-links span{ opacity:.85; }
.topbar i{ margin-right:6px; color:var(--amber-500); }

/* Header / Nav */
.site-header{
  position:sticky; top:0; z-index:100; background:rgba(255,255,255,.97);
  backdrop-filter:blur(6px); border-bottom:1px solid var(--gray-200);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-head); }
.brand-mark{
  width:44px; height:44px; border-radius:12px;
  background:linear-gradient(145deg,var(--green-600),var(--green-900));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-size:1.05rem; letter-spacing:-.02em;
  box-shadow:var(--shadow-sm);
  flex-shrink:0;
}
.brand-text{ line-height:1.15; }
.brand-text strong{ display:block; font-size:1.18rem; color:var(--green-900); font-weight:700; }
.brand-text span{ display:block; font-size:.72rem; color:var(--ink-500); letter-spacing:.08em; text-transform:uppercase; }

.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav a{
  font-family:var(--font-head); font-weight:500; font-size:.94rem;
  padding:10px 16px; border-radius:8px; color:var(--ink-700);
  transition:color .15s ease, background .15s ease;
  position:relative;
}
.main-nav a:hover, .main-nav a.active{ color:var(--green-700); background:var(--green-50); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-phone{
  display:flex; align-items:center; gap:8px; font-family:var(--font-head);
  font-weight:600; color:var(--green-800); font-size:.95rem;
}
.nav-phone i{ color:var(--amber-500); }
.nav-toggle{ display:none; background:none; border:none; font-size:1.4rem; color:var(--green-900); cursor:pointer; }

@media (max-width:960px){
  .main-nav{
    position:fixed; inset:64px 0 0 0; background:#fff; flex-direction:column;
    align-items:stretch; padding:20px; gap:6px; transform:translateX(100%);
    transition:transform .25s ease; overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ padding:14px 16px; border-bottom:1px solid var(--gray-200); border-radius:0; }
  .nav-toggle{ display:block; }
  .nav-phone span.hide-mobile{ display:none; }
}

/* Hero */
.hero{
  position:relative; overflow:hidden; color:#fff;
  background:linear-gradient(120deg,var(--green-900) 0%, var(--green-700) 55%, var(--green-600) 100%);
}
.hero::before{
  content:""; position:absolute; inset:0; opacity:.16; pointer-events:none;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 2px, transparent 2px 34px);
}
.hero .container{ position:relative; z-index:2; }
.hero-inner{
  display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center;
  padding:100px 0 90px;
}
.hero-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px; }
.hero-badge{
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25);
  padding:6px 14px; border-radius:999px; font-size:.78rem; font-weight:600;
  display:flex; align-items:center; gap:6px;
}
.hero-badge i{ color:var(--amber-500); }
.hero h1{ color:#fff; }
.hero p.lead{ color:#dcefe2; font-size:1.12rem; max-width:540px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:28px; }
.hero-stats{ display:flex; gap:32px; margin-top:44px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family:var(--font-head); font-size:1.7rem; color:#fff; }
.hero-stats div span{ font-size:.82rem; color:#bfe2cb; }

.hero-visual{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  background:linear-gradient(155deg,#0f2f1c,#1a6b3d 60%,#2fa15e);
  aspect-ratio:4/3.1; box-shadow:var(--shadow-md);
}
.hero-visual .roofline{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28) 100%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.10) 0 10px, transparent 10px 26px);
}
.hero-visual .house-shape{
  position:absolute; bottom:0; left:0; right:0; height:62%;
}
.hero-visual svg{ width:100%; height:100%; display:block; }

/* Photo hero (homepage) with background image + appointment form */
.hero-photo{
  background-image:
    linear-gradient(100deg, rgba(10,30,18,.88) 0%, rgba(10,30,18,.62) 42%, rgba(10,30,18,.28) 68%, rgba(10,30,18,.55) 100%),
    url('../images/photo-hero-white-house.jpg');
  background-size:cover;
  background-position:center;
}
.hero-photo::before{ display:none; }
.hero-photo .hero-inner{ grid-template-columns:1.2fr .8fr; }
.hero-form-card{
  background:#fff; color:var(--ink-900); border-radius:var(--radius-lg);
  padding:30px 28px; box-shadow:var(--shadow-lg,0 24px 48px rgba(0,0,0,.28)); width:100%;
}
.hero-form-card .eyebrow{ margin-bottom:4px; }
.hero-form-card h3{
  font-family:var(--font-head); font-size:1.5rem; line-height:1.15; color:var(--green-800);
  margin-bottom:16px;
}
.hero-form-card .form-group{ margin-bottom:14px; }
.hero-form-card .form-row{ grid-template-columns:1fr 1fr; gap:12px; }
.hero-form-card .form-note{ font-size:.74rem; }
.hero-form-card .form-success{ margin-top:12px; }

/* Trust strip */
.trust-strip{ background:var(--green-50); padding:26px 0; border-bottom:1px solid var(--gray-200); }
.trust-strip .container{
  display:flex; flex-wrap:wrap; gap:28px; align-items:center; justify-content:space-between;
}
.trust-item{ display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:600; font-size:.92rem; color:var(--green-800); }
.trust-item i{ color:var(--amber-500); font-size:1.1rem; }

/* Cards */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }

.service-card{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-md);
  padding:32px 28px; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.service-icon{
  width:58px; height:58px; border-radius:14px; background:var(--green-100);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  color:var(--green-700); font-size:1.5rem;
}
.service-card h3{ margin-bottom:10px; }
.service-card .card-link{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--font-head);
  font-weight:600; color:var(--green-700); font-size:.9rem; margin-top:6px;
}
.service-card .card-link i{ transition:transform .15s ease; }
.service-card:hover .card-link i{ transform:translateX(4px); }

/* Why us / split section */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.checklist li{
  display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px dashed var(--gray-200);
}
.checklist li:last-child{ border-bottom:none; }
.checklist i{ color:var(--green-600); margin-top:4px; }
.checklist strong{ display:block; color:var(--ink-900); font-family:var(--font-head); font-size:.98rem; }

.visual-panel{
  border-radius:var(--radius-lg); overflow:hidden; position:relative;
  background:linear-gradient(160deg,var(--green-100),#fff 70%);
  border:1px solid var(--gray-200); aspect-ratio:1/1;
  display:flex; align-items:center; justify-content:center;
}

/* Process steps */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; counter-reset:step; }
.step{ position:relative; padding:28px 22px; background:var(--gray-100); border-radius:var(--radius-md); }
.step::before{
  counter-increment:step; content:counter(step);
  position:absolute; top:-16px; left:22px; width:36px; height:36px; border-radius:50%;
  background:var(--amber-500); color:var(--ink-900); font-family:var(--font-head); font-weight:700;
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm);
}
.step h3{ margin-top:10px; font-size:1.05rem; }

/* CTA band */
.cta-band{
  background:linear-gradient(120deg,var(--green-800),var(--green-600));
  color:#fff; border-radius:var(--radius-lg); padding:52px 44px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; margin-bottom:8px; }
.cta-band p{ color:#d9f0e0; margin-bottom:0; }

/* Testimonials */
.testimonial{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-md);
  padding:28px; position:relative;
}
.testimonial .stars{ color:var(--amber-500); margin-bottom:14px; letter-spacing:2px; }
.testimonial .who{ display:flex; align-items:center; gap:12px; margin-top:18px; }
.avatar{
  width:42px; height:42px; border-radius:50%; background:var(--green-600); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:700;
}

/* Footer */
.site-footer{ background:var(--green-900); color:#cfe8d8; padding-top:70px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-grid h4{ color:#fff; font-size:1rem; margin-bottom:16px; }
.footer-grid li{ margin-bottom:10px; font-size:.92rem; }
.footer-grid a:hover{ color:#fff; }
.footer-brand .brand-text strong{ color:#fff; }
.footer-brand .brand-text span{ color:#9dc7ab; }
.footer-brand p{ color:#b6d9c0; margin-top:14px; max-width:280px; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; transition:background .15s ease;
}
.footer-social a:hover{ background:var(--amber-500); color:var(--ink-900); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding:22px 0;
  font-size:.82rem; color:#8fbb9c; flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color:#8fbb9c; }
.contact-line{ display:flex; align-items:flex-start; gap:10px; margin-bottom:12px; font-size:.92rem; color:#cfe8d8; }
.contact-line i{ color:var(--amber-500); margin-top:3px; }

/* Breadcrumb / page hero (inner pages) */
.page-hero{
  background:linear-gradient(120deg,var(--green-900),var(--green-700));
  color:#fff; padding:64px 0 54px; position:relative; overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0; opacity:.14;
  background-image:repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 2px, transparent 2px 34px);
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color:#fff; margin-bottom:10px; }
.breadcrumb{ font-size:.85rem; color:#bfe2cb; display:flex; gap:8px; }
.breadcrumb a{ color:#bfe2cb; }
.breadcrumb a:hover{ color:#fff; }

/* Placeholder visual tiles (used instead of stock photography) */
.tile{
  position:relative; border-radius:var(--radius-md); overflow:hidden; aspect-ratio:4/3;
  display:flex; align-items:flex-end; color:#fff; isolation:isolate;
  transition:transform .25s ease, box-shadow .25s ease;
}
.tile:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.tile::before{ content:""; position:absolute; inset:0; z-index:-2; }
.tile img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2;
  transition:transform .35s ease;
}
.tile:hover img{ transform:scale(1.05); }
.tile::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.05) 60%);
}
.tile .tile-label{ position:relative; padding:16px; font-family:var(--font-head); font-weight:600; }
.tile .tile-label span{ display:block; font-size:.74rem; font-weight:500; opacity:.85; text-transform:uppercase; letter-spacing:.06em; }
.tile-roof::before{ background:repeating-linear-gradient(115deg,#1a6b3d 0 22px,#155230 22px 44px); }
.tile-siding::before{ background:repeating-linear-gradient(0deg,#22874d 0 14px,#1a6b3d 14px 28px); }
.tile-gutter::before{ background:linear-gradient(160deg,#2fa15e,#155230); }
.tile-storm::before{ background:linear-gradient(160deg,#3c4a42,#152018); }
.tile-crew::before{ background:linear-gradient(160deg,#e2a336,#c98a1f); }
.tile-house::before{ background:linear-gradient(160deg,#155230,#0f2f1c); }

/* Filter bar (gallery) */
.filter-bar{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.filter-btn{
  font-family:var(--font-head); font-weight:600; font-size:.86rem; padding:10px 20px;
  border-radius:999px; border:1px solid var(--gray-200); background:#fff; cursor:pointer;
  color:var(--ink-700); transition:all .15s ease;
}
.filter-btn:hover{ border-color:var(--green-500); color:var(--green-700); }
.filter-btn.active{ background:var(--green-700); border-color:var(--green-700); color:#fff; }

/* Shingle swatches */
.swatch-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.swatch{ border-radius:12px; overflow:hidden; border:1px solid var(--gray-200); text-align:center; }
.swatch .chip{ height:70px; }
.swatch span{ display:block; font-size:.74rem; padding:8px 4px; font-family:var(--font-head); font-weight:600; color:var(--ink-700); }

/* Accordion (FAQ) */
.accordion-item{ border-bottom:1px solid var(--gray-200); }
.accordion-item button{
  width:100%; text-align:left; background:none; border:none; padding:20px 4px;
  font-family:var(--font-head); font-weight:600; font-size:1.02rem; color:var(--ink-900);
  display:flex; justify-content:space-between; align-items:center; cursor:pointer;
}
.accordion-item button i{ color:var(--green-600); transition:transform .2s ease; }
.accordion-item.open button i{ transform:rotate(45deg); }
.accordion-panel{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.accordion-item.open .accordion-panel{ max-height:400px; padding-bottom:20px; }

/* Forms */
.form-card{ background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); padding:34px; border:1px solid var(--gray-200); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group{ margin-bottom:16px; }
.form-group label{ display:block; font-family:var(--font-head); font-weight:600; font-size:.86rem; margin-bottom:6px; color:var(--ink-900); }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:13px 14px; border-radius:10px; border:1.5px solid var(--gray-200);
  font-family:var(--font-body); font-size:.95rem; color:var(--ink-900); background:var(--gray-100);
  transition:border-color .15s ease, background .15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color:var(--green-500); background:#fff;
}
.form-note{ font-size:.8rem; color:var(--ink-500); margin-top:10px; }
.hidden-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-success{
  display:none; background:var(--green-100); color:var(--green-800); padding:16px 18px;
  border-radius:10px; font-family:var(--font-head); font-weight:600; margin-top:16px; align-items:center; gap:10px;
}
.form-success.show{ display:flex; }

.info-card{ background:var(--gray-100); border-radius:var(--radius-md); padding:26px; }
.map-embed{ border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--gray-200); }
.map-embed iframe{ width:100%; height:100%; border:0; display:block; }

/* Misc */
.badge-row{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.pill{ background:var(--green-100); color:var(--green-800); padding:5px 12px; border-radius:999px; font-size:.78rem; font-weight:600; font-family:var(--font-head); }
.divider{ height:1px; background:var(--gray-200); margin:60px 0; }
.text-amber{ color:var(--amber-600); }
.mt-0{ margin-top:0; }
.sticky-cta{
  position:fixed; bottom:18px; right:18px; z-index:200; display:none;
}
@media (max-width:720px){
  .sticky-cta{ display:block; }
}
.sticky-cta a{
  background:var(--amber-500); color:var(--ink-900); width:60px; height:60px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); font-size:1.3rem;
}

/* Responsive */
@media (max-width:1024px){
  .hero-inner{ grid-template-columns:1fr; padding-top:64px; }
  .hero-visual{ order:-1; max-width:520px; }
  .hero-form-card{ max-width:460px; }
  .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .swatch-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:640px){
  section{ padding:56px 0; }
  .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .cta-band{ flex-direction:column; text-align:center; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; text-align:center; }
  .steps{ grid-template-columns:1fr; }
  .topbar .container{ justify-content:center; text-align:center; }
}

/* AI Chat Widget */
.chat-widget{ position:fixed; right:24px; bottom:24px; z-index:300; }
.chat-toggle{
  width:60px; height:60px; border-radius:50%; border:none; cursor:pointer;
  background:var(--green-700); color:#fff; font-size:1.35rem;
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md);
  transition:transform .15s ease, background .15s ease;
}
.chat-toggle:hover{ background:var(--green-800); transform:translateY(-2px); }
.chat-toggle.is-open i:before{ content:"\f00d"; }
.chat-panel{
  position:absolute; right:0; bottom:76px; width:340px; max-width:calc(100vw - 32px);
  height:480px; max-height:calc(100vh - 140px); background:#fff; border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg,0 24px 48px rgba(0,0,0,.28)); display:none; flex-direction:column; overflow:hidden;
}
.chat-panel.open{ display:flex; }
.chat-head{
  background:var(--green-800); color:#fff; padding:16px 18px; display:flex;
  align-items:flex-start; justify-content:space-between; gap:10px;
}
.chat-head strong{ font-family:var(--font-head); display:block; }
.chat-head span{ font-size:.76rem; color:#bfe2cb; }
.chat-close{ background:transparent; border:none; color:#fff; opacity:.8; cursor:pointer; font-size:1rem; }
.chat-close:hover{ opacity:1; }
.chat-body{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; background:var(--gray-100); }
.chat-msg{ display:flex; }
.chat-msg.user{ justify-content:flex-end; }
.chat-msg .bubble{
  max-width:82%; padding:10px 14px; border-radius:14px; font-size:.88rem; line-height:1.45;
  background:#fff; color:var(--ink-900); border:1px solid var(--gray-200);
}
.chat-msg.user .bubble{ background:var(--green-700); color:#fff; border-color:transparent; }
.chat-msg.typing .bubble{ display:flex; gap:4px; padding:14px; }
.chat-msg.typing .bubble span{
  width:6px; height:6px; border-radius:50%; background:var(--ink-500); opacity:.5;
  animation:chatTyping 1s infinite ease-in-out;
}
.chat-msg.typing .bubble span:nth-child(2){ animation-delay:.15s; }
.chat-msg.typing .bubble span:nth-child(3){ animation-delay:.3s; }
@keyframes chatTyping{ 0%,100%{ opacity:.3; transform:translateY(0);} 50%{ opacity:1; transform:translateY(-3px);} }
.chat-quick{ display:flex; gap:6px; flex-wrap:wrap; padding:0 14px 10px; background:var(--gray-100); }
.chat-quick button{
  background:#fff; border:1px solid var(--gray-200); color:var(--green-800); font-size:.74rem;
  padding:6px 10px; border-radius:999px; cursor:pointer; font-family:var(--font-body);
}
.chat-quick button:hover{ background:var(--green-100); }
.chat-input-row{ display:flex; border-top:1px solid var(--gray-200); }
.chat-input-row input{
  flex:1; border:none; padding:14px; font-size:.9rem; font-family:var(--font-body); outline:none;
}
.chat-input-row button{
  width:52px; border:none; background:var(--amber-500); color:var(--ink-900); cursor:pointer; font-size:1rem;
}
.chat-input-row button:hover{ background:var(--amber-600); }
.chat-foot{ font-size:.68rem; color:var(--ink-500); text-align:center; padding:6px 10px; background:#fff; }
.chat-foot a{ color:var(--green-700); font-weight:600; }
@media (max-width:720px){
  .chat-widget{ right:18px; bottom:90px; }
  .chat-panel{ bottom:76px; }
}
