/* =========================================================
   AYS Max Paint — design system
   ========================================================= */

:root {
  --ink: #1c2230;
  --ink-soft: #4c5567;
  --paper: #ffffff;
  --cream: #fbf6ef;
  --line: #e8e1d4;

  --brand: #1f6d4c;      /* deep forest green — primary */
  --brand-dark: #154c35;
  --brand-light: #dcefe4;
  --brand-rgb: 31, 109, 76;

  --teal: #2b5f7a;       /* secondary accent — shifted toward blue-slate so it stays distinct from the green primary */
  --teal-light: #e3edf1;

  --gold: #e7a83d;       /* warm accent — stars, hero highlight word */

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(28, 34, 48, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(28, 34, 48, 0.15);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", "Inter", -apple-system, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 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-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.cream {
  background:
    radial-gradient(circle at 8% 15%, rgba(var(--brand-rgb),.09), transparent 42%),
    radial-gradient(circle at 92% 85%, rgba(31,111,107,.1), transparent 45%),
    var(--cream);
  background-size: 160% 160%, 160% 160%, 100% 100%;
  animation: meshDrift 16s ease-in-out infinite;
}
.section.dark {
  background:
    radial-gradient(circle at 85% 10%, rgba(var(--brand-rgb),.2), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(31,111,107,.24), transparent 45%),
    var(--ink);
  background-size: 160% 160%, 160% 160%, 100% 100%;
  animation: meshDrift 16s ease-in-out infinite;
  color: #fff;
}
@keyframes meshDrift {
  0%, 100% { background-position: 0% 0%, 100% 100%, 0 0; }
  50%      { background-position: 15% 10%, 85% 90%, 0 0; }
}
.section.dark h2, .section.dark h3, .section.dark p { color: #fff; }
.section.dark .eyebrow { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .section.cream, .section.dark { animation: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.35rem;
  color: var(--ink);
}
.logo img {
  height: 76px; width: auto; flex-shrink: 0;
}
.logo small { display: block; font-family: inherit; font-size: .62rem; font-weight: 600; letter-spacing: .1em; color: var(--ink-soft); text-transform: uppercase; }

/* Compact "WCP" mark for the footer — the header keeps the real logo.png,
   this is just a small footer-scaled placeholder alongside it. */
.footer-logo-mark .logo-mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(150deg, var(--brand), var(--brand-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.footer-logo-mark .logo-mark svg { width: 18px; height: 18px; stroke-width: 2; }
.footer-logo-mark .logo-text { font-size: 1.15rem; letter-spacing: .02em; color: #fff; }
.footer-parent-brand { font-size: .78rem; color: var(--ink-soft); opacity: .7; margin-top: 10px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .93rem; color: var(--ink);
  transition: background .15s, color .15s;
}
.main-nav > ul > li > a:hover { background: var(--brand-light); color: var(--brand-dark); }
.main-nav .caret { font-size: .6rem; opacity: .6; margin-top: 1px; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  min-width: 240px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease;
}
.main-nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
}
.dropdown a:hover { background: var(--cream); color: var(--brand-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.header-phone .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-light); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.header-phone span small { display: block; color: var(--ink-soft); font-weight: 500; font-size: .74rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 980px) {
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 90px 24px 24px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto; box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-nav > ul > li > a { padding: 14px 8px; }
  .dropdown { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 14px; }
  .main-nav li.open .dropdown { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #1c2230 0%, #2b2f3d 55%, #3a2a24 100%);
  color: #fff;
  overflow: hidden;
}
.brush-divider {
  position: relative; display: block; width: 100%; height: 44px;
  margin-top: -2px;
}
@media (max-width: 700px) { .brush-divider { height: 26px; } }
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto auto;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb),.35), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute; left: -12%; bottom: -30%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,107,.35), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; min-width: 0; }
.hero-grid > * { min-width: 0; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 64px; padding-bottom: 48px; }
}
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,.8); font-size: 1.12rem; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-badges { display: flex; gap: 26px; margin-top: 46px; flex-wrap: wrap; }
.hero-badges .stat b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.7rem; color: var(--gold); }
.hero-badges .stat span { font-size: .82rem; color: rgba(255,255,255,.7); }

/* hero entrance animation — applies to the big homepage hero AND every
   breadcrumb-hero banner on inner pages, so no hero on the site is static */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow, .breadcrumb-hero .eyebrow,
.hero p.lead, .breadcrumb-hero p,
.hero .hero-cta, .breadcrumb-hero .hero-cta,
.hero .hero-badges,
.hero-swatches,
.breadcrumb-hero .crumbs {
  opacity: 0;
  animation: heroRise .8s cubic-bezier(.2,.7,.2,1) forwards;
}
/* h1 is intentionally excluded above — its words animate individually via .hw */
.hero .eyebrow, .breadcrumb-hero .crumbs { animation-delay: .05s; }
.breadcrumb-hero .eyebrow                { animation-delay: .16s; }
.hero p.lead, .breadcrumb-hero p         { animation-delay: .34s; }
.hero .hero-cta, .breadcrumb-hero .hero-cta { animation-delay: .50s; }
.hero .hero-badges                       { animation-delay: .66s; }
.hero-swatches                           { animation-delay: .40s; }

/* per-word headline reveal — main.js splits every <h1> into <span class="hw"> words */
.hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em) rotate(2deg);
  animation: hwRise .7s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--hw-i, 0) * 55ms + .12s);
}
@keyframes hwRise {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

/* rotating headline word (homepage) */
.word-rotate {
  display: inline-block;
  color: var(--gold);
  position: relative;
  transition: opacity .26s ease, transform .26s ease;
}
.word-rotate.swap-out {
  opacity: 0;
  transform: translateY(-10px);
}

/* animated gradient accent under breadcrumb-hero eyebrows, for a bit of shimmer */
.breadcrumb-hero .eyebrow::before {
  background: linear-gradient(90deg, var(--gold), var(--brand), var(--gold));
  background-size: 200% 100%;
  animation: eyebrowShimmer 3s linear infinite;
}
@keyframes eyebrowShimmer {
  to { background-position: -200% 0; }
}

/* ---------- sitewide scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .breadcrumb-hero .eyebrow,
  .hero h1, .breadcrumb-hero h1,
  .hero p.lead, .breadcrumb-hero p,
  .hero .hero-cta, .breadcrumb-hero .hero-cta,
  .hero .hero-badges, .hero-swatches, .breadcrumb-hero .crumbs {
    animation: none; opacity: 1;
  }
  .hw { animation: none; opacity: 1; transform: none; }
  .word-rotate { transition: none; }
  .breadcrumb-hero .eyebrow::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.hero-swatches { position: relative; }
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-photo img { width: 100%; height: 340px; object-fit: cover; display: block; }
.hero-photo .caption {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  padding: 20px 24px;
  font-size: .88rem; color: rgba(255,255,255,.8);
}
.hero-photo .caption b { color: #fff; }
.hero-photo-short img { height: 160px; }

.hero-quote-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 26px; margin-top: -28px; position: relative; z-index: 2;
  margin-left: 16px; margin-right: 16px;
}
.hero-quote-card h3 { font-size: 1.25rem; margin-bottom: 4px; color: var(--ink); }
.hero-quote-sub { font-size: .88rem; color: var(--ink-soft); margin-bottom: 16px; }
.hero-quote-card .field { margin-bottom: 12px; }
.hero-quote-card .field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--cream);
}
.hero-quote-card .field input:focus { outline: none; border-color: var(--brand); }
.hero-quote-error { color: #b3261e; font-size: .82rem; font-weight: 600; margin: -4px 0 10px; }
.hero-quote-note { font-size: .76rem; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }
.hero-quote-success { text-align: center; }
.hero-quote-success h3 { color: var(--ink); }
.hero-quote-success p { color: var(--ink-soft); margin-bottom: 16px; }
.hero-quote-tick {
  width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700;
  margin: 0 auto 14px;
}
@media (max-width: 640px) {
  .hero-quote-card { margin-left: 0; margin-right: 0; }
}

/* ---------- before/after sliders ---------- */
.ba-card { text-align: center; }
.ba-slider {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); cursor: ew-resize;
  user-select: none; -webkit-user-select: none;
}
.ba-before, .ba-after img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ba-after { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
  background: #fff; transform: translateX(-50%); cursor: ew-resize;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); font-size: 1rem; color: var(--ink);
}
.ba-tag {
  position: absolute; top: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: rgba(28,34,48,.72); color: #fff; pointer-events: none;
}
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }
.ba-caption { margin-top: 14px; font-weight: 600; color: var(--ink); }
.ba-disclaimer { text-align: center; color: var(--ink-soft); font-size: .82rem; margin-top: 28px; }

.breadcrumb-hero {
  background: linear-gradient(160deg, #1c2230, #33261f);
  color: #fff; padding: 56px 0 46px;
  position: relative; background-size: cover; background-position: center;
}
.breadcrumb-hero.photo { padding: 78px 0 68px; }
.breadcrumb-hero.photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(28,34,48,.92), rgba(51,38,31,.86));
}
.breadcrumb-hero.photo .container { position: relative; z-index: 1; }
.breadcrumb-hero .eyebrow { color: var(--gold); }
.breadcrumb-hero h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb-hero p { color: rgba(255,255,255,.75); max-width: 620px; margin-bottom: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--gold); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  display: block;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  color: inherit; text-decoration: none;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: var(--brand-light); }
a.card h3 { color: var(--ink); }
a.card:hover h3 { color: var(--brand-dark); }
.card .icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(150deg, #2b3245, var(--ink));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px -8px rgba(28,34,48,.5);
  animation: iconFloat 3.6s ease-in-out infinite;
  transition: transform .25s ease;
}
.card .icon svg { width: 32px; height: 32px; stroke-width: 1.9; }
.grid > .card:nth-child(2) .icon { animation-delay: .15s; }
.grid > .card:nth-child(3) .icon { animation-delay: .3s; }
.grid > .card:nth-child(4) .icon { animation-delay: .45s; }
.grid > .card:nth-child(5) .icon { animation-delay: .6s; }
.grid > .card:nth-child(6) .icon { animation-delay: .75s; }
.grid > .card:nth-child(7) .icon { animation-delay: .9s; }
.grid > .card:nth-child(8) .icon { animation-delay: 1.05s; }
.card:hover .icon { transform: scale(1.12) rotate(-6deg); animation-play-state: paused; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(-3deg); }
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .95rem; }
.card .link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .88rem; color: var(--brand); transition: gap .2s ease; }
.card .link:hover { gap: 10px; }

.card.alt .icon {
  background: linear-gradient(150deg, var(--teal), #17384a);
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(31,111,107,.55);
}

@media (prefers-reduced-motion: reduce) {
  .card .icon { animation: none; }
}

/* ---------- process steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step .num {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.2rem;
}
.step h3 { margin-bottom: 6px; }
.step p { margin-bottom: 0; }

.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .step-cards { grid-template-columns: 1fr; } }
.step-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.step-card .num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; margin-bottom: 16px;
}

/* ---------- testimonials ---------- */
.t-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.t-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.t-card p { font-style: italic; }
.t-who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.t-who b { display: block; font-size: .92rem; }
.t-who span { font-size: .8rem; color: var(--ink-soft); }

.rating-strip {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: -20px auto 40px; flex-wrap: wrap;
}
.rating-stars { color: var(--gold); letter-spacing: 2px; font-size: 1.2rem; }
.rating-text { font-size: .92rem; color: var(--ink-soft); font-weight: 600; }
.rating-text b { color: var(--ink); font-family: "Bricolage Grotesque", sans-serif; }

.urgency-bar {
  position: relative; z-index: 2; background: var(--gold); text-align: center; padding: 10px 16px;
}
.urgency-bar a {
  color: #2b1c05; font-weight: 700; font-size: .88rem; display: inline-block;
}
.urgency-bar a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--brand); flex-shrink: 0; font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 0 20px; color: var(--ink-soft); }

/* ---------- pricing ---------- */
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; position: relative;
}
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.price-card .tag {
  position: absolute; top: -14px; right: 28px; background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: .05em;
}
.price-card h3 { margin-bottom: 4px; }
.price-card .desc { font-size: .9rem; margin-bottom: 20px; }
.price-card ul { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; }
.price-card li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-soft); align-items: flex-start; }
.price-card li::before { content: "✓"; color: var(--teal); font-weight: 700; }

/* ---------- brand strip ---------- */
.brand-strip { display: flex; flex-wrap: wrap; gap: 34px; align-items: center; justify-content: center; }
.brand-strip .pill {
  display: inline-block; text-decoration: none;
  padding: 12px 26px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 700; color: var(--ink-soft); font-size: .92rem; background: #fff;
  transition: border-color .15s ease, color .15s ease;
}
.brand-strip a.pill:hover { border-color: var(--brand); color: var(--brand-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff; border-radius: 24px; padding: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.cta-band .btn-outline { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--brand-dark); }

/* ---------- forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--cream);
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }
.form-note a { color: var(--brand-dark); font-weight: 700; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .92rem; font-weight: 600; }
.alert-success { background: var(--teal-light); color: var(--teal); }

.form-success { text-align: center; padding: 48px 32px; }
.form-success-tick {
  width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700;
  margin: 0 auto 18px;
}
.form-success h3 { font-size: 1.4rem; margin: 0 0 10px; }
.form-success p { color: var(--ink-soft); margin: 0 0 6px; }
.form-success .form-note { margin-top: 14px; }
.alert-error { background: #fdeaea; color: #b3261e; }

/* ---------- solution guide (quiz) ---------- */
.guide-card {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px;
}
.guide-question { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.25rem; margin: 0 0 22px; text-align: center; }
.guide-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.guide-option {
  border: 2px solid var(--line); background: var(--cream); color: var(--ink);
  font-weight: 600; font-size: .92rem; padding: 12px 20px; border-radius: 999px;
  cursor: pointer; transition: all .18s ease;
}
.guide-option:hover { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); }
.guide-back {
  display: block; margin: 22px auto 0; background: none; border: none; color: var(--ink-soft);
  font-weight: 600; font-size: .85rem; cursor: pointer; text-decoration: underline;
}
.guide-result { text-align: center; }
.guide-result-label {
  display: inline-block; background: var(--brand-light); color: var(--brand-dark);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.guide-result h3 { font-size: 1.6rem; margin: 0 0 12px; }
.guide-result p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 24px; }
.guide-result-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- cost calculator ---------- */
.calc-card {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 8px; }
.calc-field { margin-bottom: 18px; }
.calc-result {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 28px; text-align: center;
}
.calc-result-range { margin-bottom: 16px; }
.calc-result-amount {
  display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.4rem); color: var(--brand-dark); font-variant-numeric: tabular-nums;
}
.calc-result-note { display: block; color: var(--ink-soft); font-size: .88rem; margin-top: 6px; }
.calc-disclaimer { font-size: .82rem; color: var(--ink-soft); max-width: 480px; margin: 0 auto 22px; }
.calc-footnote { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 24px; }
.calc-footnote a { color: var(--brand-dark); font-weight: 600; }

@media (max-width: 560px) {
  .guide-card, .calc-card { padding: 26px 20px; }
  .calc-grid { grid-template-columns: 1fr; }
}

/* ---------- contact info blocks ---------- */
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-row h4 { margin-bottom: 4px; font-size: .98rem; }
.info-row p { margin-bottom: 0; font-size: .92rem; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- location strip ---------- */
.loc-strip { display: flex; gap: 14px; flex-wrap: wrap; }
.loc-chip {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .88rem;
  color: var(--ink); /* explicit — chips sit on both light and dark sections, must never inherit white-on-white */
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
a.loc-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--brand-light); color: var(--brand-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.92); padding-top: 70px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; }
.site-footer h4 { color: #fff; font-family: "Inter", sans-serif; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul li a {
  color: rgba(255,255,255,.88);
  font-size: .93rem;
  position: relative;
  transition: color .18s ease, padding-left .18s ease;
}
.site-footer ul li a::before {
  content: "→";
  position: absolute; left: -16px; opacity: 0;
  transition: opacity .18s ease, left .18s ease;
  color: var(--gold);
}
.site-footer ul li a:hover { color: var(--gold); padding-left: 14px; }
.site-footer ul li a:hover::before { opacity: 1; left: 0; }
.site-footer a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.newsletter-form { display: flex; gap: 8px; margin-top: 8px; }
.newsletter-form input {
  flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff; font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: .82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,.75); transition: color .18s ease; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- misc ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { padding: 8px 16px; background: var(--cream); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; min-width: 0; }
.two-col > * { min-width: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.img-block {
  border-radius: var(--radius); aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-light), var(--teal-light));
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.img-block .glyph { font-size: 4.5rem; opacity: .5; }
.img-block.photo { padding: 0; }
.img-block.photo img { width: 100%; height: 100%; object-fit: cover; }

.photo-card {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); aspect-ratio: 4/3; position: relative;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card .tag-caption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(28,34,48,.78); color: #fff; padding: 8px 14px;
  border-radius: 999px; font-size: .8rem; font-weight: 700; backdrop-filter: blur(4px);
}
/* ---------- work gallery (masonry-style photo grid) ---------- */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}
.work-tile {
  border-radius: 14px; overflow: hidden; position: relative;
  grid-row: span 1; box-shadow: var(--shadow-sm);
}
.work-tile.tall { grid-row: span 2; }
.work-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.work-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28,34,48,.45));
  opacity: 0; transition: opacity .3s ease;
}
.work-tile:hover img { transform: scale(1.08); }
.work-tile:hover::after { opacity: 1; }
@media (max-width: 860px) {
  .work-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 560px) {
  .work-gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .work-tile.tall { grid-row: span 1; }
}

/* ---------- paint gallery (site-wide, filterable, above footer) ---------- */
.paint-gallery { position: relative; }

.gallery-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 36px;
}
.gallery-tab {
  border: 2px solid var(--line); background: #fff; color: var(--ink-soft);
  font-weight: 600; font-size: .88rem; padding: 10px 20px; border-radius: 999px;
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.gallery-tab:hover { border-color: var(--brand); color: var(--brand-dark); }
.gallery-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 20px;
}
.gallery-item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  cursor: pointer; background: var(--cream);
  transition: transform .35s ease, box-shadow .35s ease, opacity .25s ease;
}
.gallery-item:hover, .gallery-item:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); outline: none; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(28,34,48,.82));
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-cat-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: rgba(255,255,255,.92); color: var(--brand-dark);
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  padding: 5px 12px; border-radius: 999px;
}
.gallery-zoom {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(28,34,48,.55); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.7); transition: all .25s ease;
}
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: scale(1); }
.gallery-item figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  color: #fff; opacity: 0; transform: translateY(8px);
  transition: all .3s ease;
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: translateY(0); }
.gallery-item figcaption strong { display: block; font-size: .95rem; font-weight: 700; }
.gallery-item figcaption span { display: block; font-size: .78rem; opacity: .85; margin-top: 2px; }
.gallery-item.gallery-hide { display: none; }
.gallery-empty { text-align: center; color: var(--ink-soft); font-weight: 600; margin: 20px 0; }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-item figcaption, .gallery-item .gallery-zoom { opacity: 1; transform: none; }
  .gallery-item::after { opacity: 1; background: linear-gradient(180deg, transparent 55%, rgba(28,34,48,.7)); }
}
@media (max-width: 460px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item figcaption strong { font-size: .82rem; }
  .gallery-item figcaption span { font-size: .7rem; }
}

/* colour palette combinations */
.gallery-palette { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.palette-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  max-width: 1040px; margin: 0 auto 48px;
}
.palette-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.palette-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.palette-swatches {
  display: flex; height: 64px; border-radius: 10px; overflow: hidden;
  margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.palette-swatches span { flex: 1; }
.palette-room {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 6px;
}
.palette-card h4 { font-size: 1.02rem; margin: 0 0 8px; }
.palette-card p { font-size: .85rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }

.gallery-cta {
  text-align: center; max-width: 560px; margin: 0 auto;
}
.gallery-cta p { color: var(--ink-soft); margin-bottom: 20px; font-size: 1rem; }

@media (max-width: 980px) {
  .palette-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .palette-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 460px) {
  .palette-grid { grid-template-columns: 1fr; }
  .gallery-palette { margin-top: 48px; padding-top: 40px; }
}

/* lightbox */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(20,22,28,.92);
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.gallery-lightbox.open { opacity: 1; visibility: visible; }
.gallery-lightbox figure { margin: 0; max-width: min(90vw, 900px); text-align: center; }
.gallery-lightbox img {
  max-width: 100%; max-height: 78vh; width: auto; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); display: block; margin: 0 auto;
  transform: scale(.96); transition: transform .25s ease;
}
.gallery-lightbox.open img { transform: scale(1); }
.gallery-lightbox figcaption { color: #fff; margin-top: 16px; font-weight: 600; font-size: .95rem; }
.gallery-lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: none;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.gallery-lightbox-close:hover { background: rgba(255,255,255,.25); }

.check-list li { display: flex; gap: 10px; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.check-list li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .7rem; flex-shrink: 0; }

.mini-hero {
  background: var(--cream); padding: 36px; border-radius: var(--radius);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}

.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 12px 18px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- quick query widget (bottom-right) ---------- */
.qq-widget {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
}

.qq-toggle {
  position: relative;
  width: 62px; height: 62px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(var(--brand-rgb),.55);
  transition: transform .2s ease;
}
.qq-toggle:hover { transform: translateY(-2px) scale(1.04); }
.qq-toggle-icon svg { width: 26px; height: 26px; stroke-width: 2; }
.qq-toggle::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--brand); opacity: .55;
  animation: qqPulse 2.4s ease-out infinite;
}
@keyframes qqPulse {
  0%   { transform: scale(.9); opacity: .55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.qq-badge {
  position: absolute; top: -4px; right: -4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: .74rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; transition: opacity .2s, transform .2s;
}
.qq-badge.hide { opacity: 0; transform: scale(0); }

.qq-tooltip {
  position: absolute; right: 0; bottom: 78px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .86rem;
  padding: 12px 16px; border-radius: 14px 14px 4px 14px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  max-width: 220px; text-align: right;
  opacity: 0; transform: translateY(8px) scale(.96); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.qq-tooltip.show { opacity: 1; transform: translateY(0) scale(1); }

.qq-panel {
  position: absolute; right: 0; bottom: 78px;
  width: min(350px, 90vw);
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 26px 60px -14px rgba(0,0,0,.4);
  transform-origin: bottom right;
  transform: scale(.85) translateY(16px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease, visibility .22s;
  max-height: min(520px, calc(100vh - 130px));
  display: flex; flex-direction: column;
}
.qq-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1; visibility: visible; pointer-events: auto;
}

.qq-header {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff; padding: 18px 18px; display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.qq-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.qq-avatar svg { width: 22px; height: 22px; stroke-width: 2; }
.qq-header-text { flex: 1; min-width: 0; }
.qq-header-text strong { display: block; font-size: .98rem; }
.qq-header-text span { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.85); margin-top: 2px; }
.qq-online-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6ee7b7; flex-shrink: 0;
  box-shadow: 0 0 0 rgba(110,231,183,.6); animation: qqBlink 1.8s ease-in-out infinite;
}
@keyframes qqBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(110,231,183,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(110,231,183,0); }
}
.qq-close {
  background: rgba(255,255,255,.18); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 50%; font-size: 1.2rem; line-height: 1;
  cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.qq-close:hover { background: rgba(255,255,255,.32); }

.qq-actions { display: flex; gap: 8px; padding: 14px 16px 0; flex-shrink: 0; }
.qq-action {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px; border-radius: 12px; background: var(--cream);
  font-size: .72rem; font-weight: 700; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.qq-action:hover { background: var(--brand-light); color: var(--brand-dark); }
.qq-action-ico { font-size: 1.15rem; }

.qq-body { padding: 14px 18px 18px; overflow-y: auto; min-height: 0; }
.qq-lead { font-size: .86rem; margin-bottom: 12px; }
.qq-field input, .qq-field select { padding: 11px 13px; font-size: .9rem; }
.qq-field { margin-bottom: 12px; }
.qq-error { color: #b3261e; font-size: .8rem; font-weight: 600; margin: -4px 0 10px; }

.qq-success { text-align: center; padding: 8px 4px 4px; }
.qq-success-tick {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--teal-light); color: var(--teal); font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.qq-success h4 { margin-bottom: 6px; }
.qq-success p { font-size: .88rem; margin-bottom: 16px; }

@media (max-width: 480px) {
  .qq-widget { right: 14px; bottom: 14px; }
  .qq-panel { width: min(320px, 88vw); }
}
