/* Duval Floor Care — Preview Site
   Premium, mobile-first. NOT LIVE. */

:root {
  --navy: #0c2340;
  --navy-deep: #071628;
  --teal: #1a6b6b;
  --teal-light: #2a8f8f;
  --gold: #c4a35a;
  --gold-soft: #d4b87a;
  --cream: #f7f4ef;
  --white: #ffffff;
  --gray-100: #f5f6f8;
  --gray-200: #e8eaef;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow: 0 4px 24px rgba(12, 35, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 35, 64, 0.12);
  --radius: 10px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--gray-700); }
ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--gray-700); }
li { margin-bottom: 0.35rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Preview banner */
.preview-banner {
  background: #7c2d12;
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 1rem;
  text-transform: uppercase;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo span { color: var(--gold); }
.logo:hover { color: var(--cream); }
.logo img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
@media (max-width: 600px) {
  .logo img { height: 40px; max-width: 130px; }
}
.header-phone {
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}
.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--teal-light); color: var(--white) !important; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    padding-bottom: 0.75rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, #143d5c 100%);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(196,163,90,0.12), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 38rem; }
.hero-accent {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy p { max-width: 36rem; }
.hero-media { position: relative; }
.hero-media .photo-frame {
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  border: 2px solid rgba(196,163,90,0.45);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-media { max-width: 520px; }
}

/* Brand photos */
.photo-frame {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(12, 35, 64, 0.08);
}
.media-block {
  margin: 0;
}
.media-caption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  font-style: italic;
}
.section-alt .media-caption { color: var(--gray-700); }
.about-intro { align-items: center; }
.services-feature .photo-frame {
  border: 1px solid rgba(26, 107, 107, 0.2);
}

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-light); color: var(--white); }

/* Sections */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--cream); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p, .section-dark li { color: rgba(255,255,255,0.85); }
.section-intro { max-width: 40rem; margin-bottom: 2rem; }
.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}
.card a.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
}
.card a.card-link:hover { color: var(--navy); }
.card a.card-link + a.card-link { margin-left: 0.85rem; }


/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.feature-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Two column */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Areas */
.areas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.65rem;
}
.areas-list li {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0;
  font-weight: 500;
  color: var(--navy);
}
.areas-list a { color: var(--teal); font-weight: 600; }
.areas-list a:hover { color: var(--navy); }
.areas-list .primary-area {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffbf0, var(--white));
}

/* FAQ accordion */
.faq-list { max-width: 720px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--teal);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 0.85rem;
}
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  color: var(--white);
  padding: clamp(2rem, 4vw, 3rem) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 36rem; margin-inline: auto; }
.cta-band a.phone-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.25rem;
}
.cta-band a.phone-link:hover { color: var(--white); }

/* Page hero (inner) */
.page-hero {
  background: var(--cream);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero p { max-width: 40rem; }

/* Contact form (UI only) */
.form-note {
  background: #fff8e7;
  border: 1px solid #e8d5a3;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.contact-form .field { margin-bottom: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font: inherit;
  background: var(--white);
  color: var(--gray-900);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* About / content prose */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 {
  color: var(--gold);
  font-size: 0.95rem;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-brand span { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-phone {
  color: var(--gold) !important;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--gray-500); font-size: 0.95rem; }
.gold { color: var(--gold); }

/* ===== Free Estimate tool ===== */
.estimate-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .estimate-layout { grid-template-columns: 1fr; }
}
.estimate-summary {
  position: sticky;
  top: 5.5rem;
}
@media (max-width: 900px) {
  .estimate-summary { position: static; }
}
.summary-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.disclaimer-banner {
  background: #fff8e7;
  border: 1px solid #e8d5a3;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 1.15rem;
  line-height: 1.5;
}
.svc-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-box.is-on {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px rgba(26, 107, 107, 0.2);
}
.svc-box.svc-consult.is-on {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.35);
}
.svc-enable {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  margin: 0;
}
.svc-enable input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.svc-enable strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}
.svc-hint {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
  font-weight: 400;
}
.svc-opts {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}
.svc-opts .field-row {
  margin-bottom: 0.85rem;
}
.svc-opts label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.svc-opts input[type="number"],
.svc-opts input[type="text"] {
  width: 100%;
  max-width: 220px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font: inherit;
}
.svc-opts input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.yn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.yn-label {
  font-weight: 600;
  color: var(--navy);
  min-width: 11rem;
}
.yn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
}
.yn input { accent-color: var(--teal); }
.addon-block {
  margin-bottom: 0.85rem;
}
.addon-block .yn-row {
  margin-bottom: 0.25rem;
}
.addon-blurb {
  margin: 0 0 0.15rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--gray-500);
  font-weight: 400;
  max-width: 36rem;
}
.field-row .addon-blurb {
  margin-top: 0.35rem;
}
.stone-note {
  border-left: 3px solid var(--gold);
}
.proposal-note {
  background: var(--cream);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--gray-700);
}
.consult-note {
  font-size: 0.95rem;
  margin: 0;
  color: var(--gray-700);
}
.toggle-mode {
  display: inline-flex;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.mode-btn {
  background: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
}
.mode-btn + .mode-btn { border-left: 1px solid var(--gray-200); }
.mode-btn.is-active {
  background: var(--navy);
  color: var(--gold);
}
.optional, .small { font-size: 0.85rem; }
.optional { font-weight: 400; color: var(--gray-500); }
.req { color: #b45309; }

.line-items {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.line-items li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  margin: 0;
}
.line-items .empty-state {
  color: var(--gray-500);
  font-size: 0.95rem;
  border: none;
  padding: 0.5rem 0 1rem;
}
.li-main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.li-amt { color: var(--teal); white-space: nowrap; }
.li-detail {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}
.li-detail em { font-style: normal; color: #92400e; font-weight: 600; }
.consult-line .li-amt { color: var(--gold); }
.estimate-total {
  background: var(--cream);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}
.total-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}
.total-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--navy);
}
.total-disclaimer {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #92400e;
}
.btn-block { width: 100%; }
.window-fieldset {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.85rem 1rem 1rem;
  margin: 0 0 1rem;
}
.window-fieldset legend {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  padding: 0 0.35rem;
}
.window-fieldset .check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1rem;
  margin-top: 0.35rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
}
.window-fieldset .check input { accent-color: var(--teal); }
.readonly-summary {
  background: var(--gray-100) !important;
  color: var(--gray-700) !important;
  font-size: 0.9rem;
  min-height: 120px;
}
.success-panel {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.success-panel h3 { color: var(--navy); }

/* Before / after & results galleries */
.proof-section { background: var(--gray-100); }
.proof-intro {
  max-width: 42rem;
  margin: 0 0 1.75rem;
  color: var(--gray-700);
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 700px) {
  .ba-grid { grid-template-columns: 1fr; }
}
.ba-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  margin: 0;
}
.ba-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--gray-200);
}
.ba-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  margin: 0.85rem 1rem 0.35rem;
}
.ba-label.before { background: #fef3c7; color: #92400e; }
.ba-label.after { background: #d1fae5; color: #065f46; }
.ba-label.results { background: #e0f2fe; color: #075985; }
.ba-card figcaption {
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}
.ba-single {
  max-width: 720px;
  margin: 0 auto 1.5rem;
}
.ba-single img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.ba-note {
  font-size: 0.9rem;
  color: var(--gray-500);
  max-width: 42rem;
  margin: 1rem 0 0;
  font-style: italic;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
