/* ============================================================
   Mr. Z Digital Solutions, light theme (navy + gold)
   Design refs: Stripe, Square, Bench. Clean, trustworthy, B2B.
   ============================================================ */

:root {
  --navy: #0C3B6E;
  --navy-dark: #082c53;
  --gold: #BA7517;
  --gold-dark: #9c6113;
  --bg: #FAFAFA;
  --tint: #E6F1FB;
  --text: #2C2C2A;
  --muted: #5b6b7b;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(12,59,110,0.06), 0 1px 3px rgba(12,59,110,0.08);
  --shadow-md: 0 4px 12px rgba(12,59,110,0.08), 0 2px 4px rgba(12,59,110,0.06);
  --shadow-lg: 0 18px 40px rgba(12,59,110,0.12);
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }
.sec-tint { background: var(--tint); }
.sec-white { background: var(--white); }
.sec-navy { background: var(--navy); color: #fff; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 1rem; padding: 14px 26px;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap; font-family: inherit;
}
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 2px 6px rgba(186,117,23,0.25); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(186,117,23,0.3); }
.btn-outline { background: transparent; color: var(--navy); border-color: #c7d6e6; }
.btn-outline:hover { border-color: var(--navy); background: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ── Eyebrow + section heads ───────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.sec-navy .section-head h2 { color: #fff; }
.sec-navy .section-head p { color: rgba(255,255,255,0.8); }

/* ── Stars + trust pills ───────────────────────────────── */
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 1.05rem; }
.stars i { line-height: 1; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.trust-pill i { color: var(--gold); font-size: 1.15rem; }

/* ── Nav ───────────────────────────────────────────────── */
header.nav { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo .mark { width: 38px; height: 38px; border-radius: 9px; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 1.25rem; font-weight: 800; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.97rem; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links .nav-cta a { color: #fff; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* ── Home hero ─────────────────────────────────────────── */
.hero { background: var(--white); padding: 92px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin-bottom: 22px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-trust .divider { width: 1px; height: 22px; background: var(--border); }

.hero-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 26px; position: relative; }
.hero-card .hc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hero-card .hc-avatar { width: 52px; height: 52px; border-radius: 11px; background: var(--tint); color: var(--navy); display: grid; place-items: center; font-size: 1.5rem; }
.hero-card .hc-name { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.hero-card .hc-sub { font-size: 0.86rem; color: var(--muted); }
.hc-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--border); font-size: 0.95rem; }
.hc-row span { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.hc-row span i { color: var(--gold); }
.hc-row b { color: var(--navy); font-weight: 700; }
.hc-badge { position: absolute; right: 18px; top: -18px; background: var(--gold); color: #fff; font-weight: 700; font-size: 0.82rem; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-md); display: inline-flex; align-items: center; gap: 6px; }

/* ── Trust bar ─────────────────────────────────────────── */
.trustbar { background: var(--tint); padding: 30px 0; }
.trustbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; text-align: center; }
.trustbar-inner .lead-text { font-weight: 600; color: var(--navy); }

/* ── Page hero (inner pages) ───────────────────────────── */
.page-hero { background: var(--tint); padding: 56px 0 60px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }
.page-hero .hero-actions { justify-content: center; margin-top: 28px; }

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb { background: var(--tint); padding-top: 22px; }
.breadcrumb .container { font-size: 0.88rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

/* ── Generic prose / content ───────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose.center { text-align: center; }
.prose h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 18px; }
.prose p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.prose p .hl { color: var(--navy); font-weight: 600; }
.prose .lead { font-size: 1.2rem; color: var(--text); }

/* ── Service / feature cards ───────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; display: flex; flex-direction: column; }
a.card { color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f1; }
.card .ic { width: 54px; height: 54px; border-radius: 12px; background: var(--tint); color: var(--navy); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 20px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 16px; }
.card .feat { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-top: auto; }
.card .feat i { color: var(--gold); }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gold); font-size: 0.95rem; }
a.card:hover .more { gap: 10px; }

/* ── Service detail list ───────────────────────────────── */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.svc-card .ic { width: 50px; height: 50px; border-radius: 11px; background: var(--tint); color: var(--navy); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc-card .svc-desc { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
.svc-feats { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.svc-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; }
.svc-feats i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.svc-best { font-size: 0.92rem; color: var(--muted); margin-top: auto; }
.svc-best b { color: var(--navy); }
.svc-price { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.9rem; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 8px; }

/* ── Steps ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.step .num { width: 44px; height: 44px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; margin-bottom: 18px; }
.step .ic-line { font-size: 1.5rem; color: var(--gold); margin-bottom: 12px; }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ── Why / benefits ────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-grid h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 18px; }
.why-grid .lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.checklist { list-style: none; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; }
.checklist .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: rgba(186,117,23,0.12); color: var(--gold); display: grid; place-items: center; font-size: 1rem; margin-top: 2px; }
.checklist b { color: var(--navy); display: block; font-size: 1.02rem; }
.checklist span { color: var(--muted); font-size: 0.96rem; }

.why-card { background: var(--navy); color: #fff; border-radius: 18px; padding: 40px; box-shadow: var(--shadow-lg); text-align: center; }
.why-card .big { font-size: 3.4rem; font-weight: 800; color: #fff; line-height: 1; }
.why-card .stars { font-size: 1.4rem; margin: 10px 0 6px; }
.why-card .label { color: rgba(255,255,255,0.8); font-size: 0.98rem; }
.why-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 26px 0; }
.why-card .badges { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.why-card .badges div { display: flex; align-items: center; gap: 11px; font-weight: 500; }
.why-card .badges i { color: var(--gold); font-size: 1.3rem; }

/* ── Testimonials ──────────────────────────────────────── */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote .stars { margin-bottom: 14px; }
.quote p { color: var(--text); font-size: 1.02rem; margin-bottom: 22px; }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote .ava { width: 44px; height: 44px; border-radius: 999px; background: var(--tint); color: var(--navy); display: grid; place-items: center; font-weight: 700; }
.quote .who b { color: var(--navy); display: block; font-size: 0.98rem; }
.quote .who span { color: var(--muted); font-size: 0.88rem; }

/* ── Packages ──────────────────────────────────────────── */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.package-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.package-card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); position: relative; }
.package-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.package-name { font-size: 1.5rem; margin-bottom: 6px; }
.package-for { font-size: 0.95rem; color: var(--muted); margin-bottom: 22px; }
.package-list { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
.package-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; }
.package-list i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.package-outcome { background: var(--tint); border-radius: 10px; padding: 14px 16px; font-size: 0.92rem; color: var(--text); margin-bottom: 22px; }
.package-outcome b { color: var(--navy); }
.package-price { font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.package-card .btn { width: 100%; margin-top: auto; }

/* ── About story ───────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.story-grid h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 18px; }
.story-grid p { color: var(--muted); font-size: 1.06rem; margin-bottom: 16px; }
.story-grid p .hl { color: var(--navy); font-weight: 600; }
.portrait { background: var(--navy); color: #fff; border-radius: 18px; padding: 40px; box-shadow: var(--shadow-lg); text-align: center; }
.portrait .ring { width: 92px; height: 92px; border-radius: 999px; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; margin: 0 auto 18px; }
.portrait .p-name { font-size: 1.3rem; font-weight: 800; color: #fff; }
.portrait .p-role { color: var(--gold); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }
.portrait .p-loc { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; }
.portrait .p-loc i { color: var(--gold); }

/* ── Contact ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.expect-list { list-style: none; display: grid; gap: 22px; margin-top: 8px; }
.expect-item { display: flex; gap: 14px; }
.expect-item .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--tint); color: var(--navy); display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.expect-item h3 { font-size: 1.05rem; margin-bottom: 3px; }
.expect-item p { color: var(--muted); font-size: 0.96rem; }

/* ── Forms ─────────────────────────────────────────────── */
.form-card { background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 0.96rem; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; font-family: inherit; font-size: 0.98rem; border: 1px solid var(--border); border-radius: 9px; color: var(--text); background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,59,110,0.1); }
.field textarea { resize: vertical; min-height: 110px; }
.form-card .btn-gold { width: 100%; }
.form-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.form-note i { color: var(--gold); }
.form-msg { margin-top: 14px; font-size: 0.95rem; text-align: center; min-height: 20px; }
.form-msg.success { color: #1a7f4b; }
.form-msg.error { color: #c0392b; }
.field-error { font-size: 0.82rem; color: #c0392b; min-height: 1rem; margin-top: 2px; }
.honey { position: absolute; left: -9999px; }

/* ── Final CTA ─────────────────────────────────────────── */
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.final-grid h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.final-grid p.lead { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 26px; }
.sec-navy .checklist .ck { background: rgba(255,255,255,0.12); }
.sec-navy .checklist b { color: #fff; }
.sec-navy .checklist span { color: rgba(255,255,255,0.7); }
.sec-navy .eyebrow { color: var(--gold); }

/* ── CTA banner (inner pages) ──────────────────────────── */
.cta-banner { background: var(--navy); color: #fff; text-align: center; }
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 560px; margin: 0 auto 26px; }
.cta-banner p a { color: #fff; text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────── */
footer.site { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
footer.site .logo { margin-bottom: 14px; }
footer.site p { font-size: 0.95rem; max-width: 300px; }
footer.site h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 16px; font-weight: 700; }
footer.site ul { list-style: none; display: grid; gap: 10px; }
footer.site ul a { font-size: 0.95rem; transition: color 0.15s; }
footer.site ul a:hover { color: #fff; }
footer.site .contact-line { display: flex; align-items: center; gap: 9px; font-size: 0.95rem; margin-bottom: 10px; }
footer.site .contact-line i { color: var(--gold); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.88rem; }
.foot-social { display: flex; gap: 14px; font-size: 1.2rem; }
.foot-social a:hover { color: #fff; }

/* ── Scroll reveal ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .testi, .package-grid { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .hero-grid, .why-grid, .final-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 460px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .nav-links .nav-cta { margin: 8px 0 0; width: 100%; }
  .nav-links .nav-cta a { display: block; text-align: center; }
  .nav-toggle { display: block; }
  .cards, .cards.four, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}

/* ============================================================
   Live chat widget (light theme)
   ============================================================ */
.chat-widget { position: fixed; bottom: 22px; right: 22px; z-index: 9999; font-family: 'Inter', sans-serif; }
.chat-toggle { width: 58px; height: 58px; border-radius: 999px; background: var(--gold); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(186,117,23,0.4); transition: transform 0.2s; margin-left: auto; position: relative; }
.chat-toggle:hover { transform: scale(1.07); }
.chat-toggle svg { width: 24px; height: 24px; }
.chat-badge { display: none; position: absolute; top: -4px; right: -4px; background: #e23b3b; color: #fff; border-radius: 999px; width: 20px; height: 20px; font-size: 11px; font-weight: 700; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.chat-badge.visible { display: flex; }

.chat-toast { display: none; position: absolute; bottom: 74px; right: 0; width: 290px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-lg); cursor: pointer; }
.chat-toast.show { display: block; animation: toast-in 0.3s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.chat-toast-label { font-size: 0.72rem; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.chat-toast-text { font-size: 0.9rem; color: var(--text); line-height: 1.45; }

.chat-window { position: absolute; bottom: 74px; right: 0; width: 350px; max-width: calc(100vw - 44px); background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: none; flex-direction: column; box-shadow: var(--shadow-lg); }
.chat-window.open { display: flex; }
.chat-header { background: var(--navy); color: #fff; padding: 16px 18px; font-weight: 700; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.chat-prechat { padding: 18px; display: none; flex-direction: column; gap: 10px; }
.chat-input-field { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 11px 13px; color: var(--text); font-family: inherit; font-size: 0.92rem; outline: none; width: 100%; }
.chat-input-field:focus { border-color: var(--navy); }
.chat-start-btn { background: var(--gold); color: #fff; border: none; border-radius: 8px; padding: 12px; font-family: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.chat-start-btn:hover { background: var(--gold-dark); }
.chat-body { display: none; flex-direction: column; }
.chat-messages { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; max-height: 320px; overflow-y: auto; background: var(--bg); }
.chat-msg { max-width: 82%; padding: 9px 13px; border-radius: 12px; font-size: 0.92rem; line-height: 1.5; word-break: break-word; }
.chat-msg.visitor { align-self: flex-end; background: var(--gold); color: #fff; border-bottom-right-radius: 3px; }
.chat-msg.agent { align-self: flex-start; background: #fff; border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 3px; }
.chat-composer { display: flex; border-top: 1px solid var(--border); background: #fff; }
.chat-text-input { flex: 1; background: transparent; border: none; padding: 13px 15px; color: var(--text); font-family: inherit; font-size: 0.92rem; outline: none; resize: none; line-height: 1.4; }
.chat-send-btn { background: var(--gold); color: #fff; border: none; padding: 0 18px; cursor: pointer; font-size: 1.05rem; }
.chat-send-btn:hover { background: var(--gold-dark); }
.field-error { }
