/* Shared palette and surfaces from the gnathology page. */
:root {
  --ink: #504a44;
  --muted: #746c63;
  --accent: #50563e;
  --accent2: #c6a77f;
  --mint: #ede5dc;
  --cream: #f7efe3;
  --paper: #f6f2ee;
  --white: #ffffff;
  --line: #e0d5c9;
  --dark: #50563e;
  --surface-section: linear-gradient(140deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12));
  --surface-card: linear-gradient(135deg, #fdfcfb, #faf8f6);
  --surface-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.25));
  --surface-tint: rgba(80, 86, 62, 0.06);
  --surface-border: rgba(255, 255, 255, 0.95);
  --surface-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 22px rgba(94, 71, 47, 0.05);
  --surface-olive: radial-gradient(ellipse at 0 0, rgba(220, 218, 184, 0.18), transparent 55%), linear-gradient(115deg, #676c53 0%, #50563e 55%, #3d432f 100%);
}

:root:not([data-zc-theme="light"]):not([data-zc-theme="dark"]) {
  --zc-cream: #f7efe3;
  --zc-olive: #50563e;
  --zc-brown: #504a44;
  --zc-paper: #fcfaf7;
  --zc-line: #cfc5ba;
  --zc-muted: #746c63;
}

body {
  background-color: var(--paper);
  color: var(--ink);
}

:is(.form, .direction-form, .profile-bottom-cta, .about-panel, .patient-hero-side, .patient-license, .contact-copy, .direction-final-copy) .btn-primary {
  background-color: #dba357;
  color: #332718;
  border-color: #f3d29f;
}

:is(.form, .direction-form, .profile-bottom-cta, .about-panel, .patient-hero-side, .patient-license, .contact-copy, .direction-final-copy) .btn-primary:hover {
  background-color: #edc17c;
}

/* Light sections keep the same warm base with a subtle white wash. */
.section-soft,
.direction-section.soft {
  background: var(--surface-section);
}

.hero-copy,
.direction-hero-copy {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.14));
}

.hero-copy::before {
  background: rgba(198, 167, 127, 0.07);
}

.hero-copy::after,
.direction-hero-copy::after {
  border-color: rgba(198, 167, 127, 0.18);
}

/* Cards use the symptom cards' background, border color and soft shadow. */
.feature,
.service-card:not(.accent):not(.dark),
.about-journey,
.about-step,
.adv,
.doctor,
.quiz-box,
.review-platform,
.profile-booking,
.profile-main,
.profile-info-card,
.profile-review,
.symptom-chip,
.condition-card,
.reason-card,
.direction-doctor,
.price-row,
.work-card,
.works-note,
.patient-card,
.patient-card:last-child,
.patient-paper,
.patient-note:not(.patient-note--plain),
.patient-contact-card,
.patient-table-wrap,
.patient-document-list,
body > main:not([id]):not([class]) {
  background: var(--surface-card);
  border-color: var(--surface-border);
  box-shadow: var(--surface-shadow);
}

.doctor-body {
  background: transparent;
}

.patient-card:hover {
  background: linear-gradient(135deg, #ffffff, #f7f4f0);
  border-color: rgba(198, 167, 127, 0.3);
}

/* Secondary panels and badges use translucency instead of solid beige. */
.about-result,
.profile-info-card.soft,
.direction-form,
.patient-contact-band,
.patient-note.patient-note--warm,
.patient-price-intro,
body > main:not([id]):not([class]) .contacts {
  background: var(--surface-glass);
  border-color: var(--surface-border);
}

.adv .icon,
.reason-icon,
.doctor-fact,
.profile-booking-meta div,
.profile-tag,
.profile-review-avatar,
.review-platform-mark,
.quiz-step,
.patient-price-table thead th {
  background: var(--surface-tint);
}

/* Olive blocks share the restrained lighting of the booking panel. */
.service-card.accent,
.service-card.dark,
.about-panel,
.quiz,
.contact,
.profile-bottom-cta,
.direction-hero-side,
.direction-section.dark,
.direction-final,
.patient-hero-side,
.patient-license {
  background: var(--surface-olive);
}

.about-panel-note,
.metric,
.process-step {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.18);
}
