/* Presentation directions. The clinical design is the base stylesheet;
   care and contrast change composition and surfaces, not content or booking. */
html[data-theme='clinic'], html[data-theme='care'] { color-scheme: light; }
html[data-theme='contrast'] { color-scheme: dark; }
/* Compact colour selectors sit next to the language flags. */
.design-picker { padding-left: 12px; border-left: 1px solid var(--line); }
.theme-options { display: flex; gap: 8px; align-items: center; }
.theme-choice { display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 3px; border: 2px solid transparent; border-radius: 50%; background: transparent; }
.theme-choice:hover { border-color: var(--line); background: var(--light); }
.theme-choice[aria-pressed='true'] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.theme-swatch { display: block; width: 34px; height: 34px; border: 1px solid #aab6c6; border-radius: 50%; }
.theme-swatch-clinic { background: linear-gradient(90deg,#ffffff 0 50%,#1d58cf 50% 100%); }
.theme-swatch-care { background: linear-gradient(90deg,#faf8f2 0 50%,#246357 50% 100%); }
.theme-swatch-contrast { background: linear-gradient(90deg,#0e2030 0 50%,#c4eb80 50% 100%); }
/* 02 · Care: warm, approachable, photograph-led. */
html[data-theme='care'] {
  --blue: #246357;
  --blue-hover: #174b40;
  --ink: #203f38;
  --muted: #52675f;
  --cream: #f0eee4;
  --line: #d9dfd4;
  --light: #eaf1e8;
  --green: #246357;
  --radius: 26px;
  --shadow: 0 18px 50px rgb(40 67 51 / 7%);
}
html[data-theme='care'] .public-site { background: #faf8f2; }
html[data-theme='care'] .topbar { background: #254c40; }
html[data-theme='care'] .header { background: #faf8f2; }
html[data-theme='care'] .brand { border-radius: 12px; background: #fff; }
html[data-theme='care'] .hero { grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 68px; padding-top: 38px; }
html[data-theme='care'] .hero-copy { grid-column: 2; grid-row: 1; }
html[data-theme='care'] .hero-image { grid-column: 1; grid-row: 1; border-radius: 180px 180px 26px 26px; min-height: 650px; box-shadow: var(--shadow); }
html[data-theme='care'] .hero h1 { font-weight: 650; }
html[data-theme='care'] .hero h1 em { color: #557442; }
html[data-theme='care'] .photo-label { background: #254c40eb; top: 100px; }
html[data-theme='care'] .image-badge { border-radius: 18px; background: #fffff7; }
html[data-theme='care'] .button { border-radius: 999px; }
html[data-theme='care'] .button.secondary { color: var(--ink); background: #fffffb; border-color: #b9cbb6; }
html[data-theme='care'] .button:disabled { background: #d6dfce; border-color: #d6dfce; color: #4d6355; }
html[data-theme='care'] .service-card { background: #fffffb; border-radius: 26px; border-color: #dce2d5; }
html[data-theme='care'] .service-card:hover { border-color: #91aa86; }
html[data-theme='care'] .service-icon { border-radius: 50%; background: #e8eddd; }
html[data-theme='care'] .booking-section { background: #eaf1e8; }
html[data-theme='care'] .booking-card { background: #fffffb; border-color: #d6e1d0; border-radius: 28px; }
html[data-theme='care'] input, html[data-theme='care'] select, html[data-theme='care'] textarea { background: #fff; border-color: #b7c7b5; }
html[data-theme='care'] .slot { border-color: #a8bf9f; color: #285b46; border-radius: 14px; }
html[data-theme='care'] .slot.selected { background: #246357; border-color: #246357; color: #fff; }
html[data-theme='care'] .slot:disabled { background: #f0f1eb; border-color: #e1e4d9; color: #788271; }
html[data-theme='care'] .steps b { border-color: #a9c09d; }
html[data-theme='care'] .telegram-note { border-color: #ccd9c7; }
html[data-theme='care'] .receipt-actions .button { background: #246357; border-color: #246357; }
html[data-theme='care'] .about-photo { border-radius: 26px 110px 26px 26px; }
html[data-theme='care'] .location-grid article { background: #f1efe5; border-color: #dce0d2; }
html[data-theme='care'] .location-grid .location-book { border-color: #b4c5ac; background: #fffffb; }
html[data-theme='care'] footer { background: #203f38; }
/* 03 · Contrast: editorial navy, lime highlights, strong rectangular forms. */
html[data-theme='contrast'] {
  --blue: #c4eb80;
  --blue-hover: #d5f5a1;
  --ink: #edf3fa;
  --muted: #b5c3d2;
  --cream: #172e40;
  --line: #344c60;
  --light: #20394a;
  --green: #a1ddbc;
  --radius: 10px;
  --shadow: 0 18px 50px rgb(0 0 0 / 15%);
}
html[data-theme='contrast'] .public-site { background: #0e2030; }
html[data-theme='contrast'] .topbar { background: #091826; border-bottom: 1px solid #344c60; }
html[data-theme='contrast'] .header { background: #0e2030; }
html[data-theme='contrast'] .brand { background: #fff; border-radius: 10px; }
html[data-theme='contrast'] .header nav a:hover, html[data-theme='contrast'] .text-link:hover { color: #c4eb80; }
html[data-theme='contrast'] .hero { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 46px; padding-top: 48px; }
html[data-theme='contrast'] .hero h1 { font-weight: 800; font-size: clamp(50px,5.4vw,76px); line-height: 1.09; }
html[data-theme='contrast'] .hero-image { min-height: 670px; border-radius: 10px; }
html[data-theme='contrast'] .photo-label { background: #0e2030e8; border: 1px solid #4c657b; border-radius: 6px; }
html[data-theme='contrast'] .image-badge { background: #142c3e; color: #edf3fa; border: 1px solid #425c70; border-radius: 8px; }
html[data-theme='contrast'] .button { background: #c4eb80; color: #152a20; border-color: #c4eb80; border-radius: 7px; }
html[data-theme='contrast'] .button:hover { background: #d5f5a1; }
html[data-theme='contrast'] .button.secondary { background: transparent; color: #edf3fa; border-color: #7790a8; }
html[data-theme='contrast'] .button.secondary:hover { background: #20394a; }
html[data-theme='contrast'] .button:disabled { background: #334b5d; border-color: #334b5d; color: #c0cdda; }
html[data-theme='contrast'] .paw { border-color: #425c70; background: #20394a; }
html[data-theme='contrast'] .service-card { background: #142c3e; border-color: #3a5266; border-radius: 10px; }
html[data-theme='contrast'] .service-card:hover { border-color: #c4eb80; }
html[data-theme='contrast'] .service-icon { background: #233f45; border-radius: 9px; }
html[data-theme='contrast'] .booking-section { background: #152c3e; border-block: 1px solid #344c60; }
html[data-theme='contrast'] .booking-card { background: #0f2232; border-color: #4c657b; border-radius: 12px; }
html[data-theme='contrast'] .status-pill { background: #233b4e; }
html[data-theme='contrast'] input, html[data-theme='contrast'] select, html[data-theme='contrast'] textarea { background: #152d3e; border-color: #668198; color: #edf3fa; }
html[data-theme='contrast'] input::placeholder, html[data-theme='contrast'] textarea::placeholder { color: #adbecf; }
html[data-theme='contrast'] .slots-heading i.unavailable { background: #8293a4; }
html[data-theme='contrast'] .slot { background: #172e40; border-color: #7990a5; color: #e5eff8; border-radius: 7px; }
html[data-theme='contrast'] .slot:hover { background: #2b455a; }
html[data-theme='contrast'] .slot.selected { background: #c4eb80; border-color: #c4eb80; color: #152a20; }
html[data-theme='contrast'] .slot:disabled { background: #172938; color: #91a2b3; border-color: #334a5d; }
html[data-theme='contrast'] .steps b { border-color: #71899f; }
html[data-theme='contrast'] .steps .active b { background: #c4eb80; color: #152a20; border-color: #c4eb80; }
html[data-theme='contrast'] .telegram-note { border-color: #405a6e; }
html[data-theme='contrast'] .demo-notice { background: #353426; border-color: #83744b; color: #f1dea8; }
html[data-theme='contrast'] .error { background: #472d35; border-color: #c5818a; color: #ffdde0; }
html[data-theme='contrast'] .receipt-actions button, html[data-theme='contrast'] .receipt-actions a { background: #172e40; color: #edf3fa; border-color: #668198; border-radius: 7px; }
html[data-theme='contrast'] .receipt-actions .button { background: #c4eb80; color: #152a20; border-color: #c4eb80; }
html[data-theme='contrast'] .about-photo { border-radius: 10px; }
html[data-theme='contrast'] .location-grid article { background: #142c3e; border-color: #3a5266; border-radius: 10px; }
html[data-theme='contrast'] .location-grid .location-book { color: #edf3fa; background: #20394a; border-color: #7790a8; border-radius: 7px; }
html[data-theme='contrast'] .location-grid .location-book:hover { border-color: #c4eb80; }
html[data-theme='contrast'] footer { background: #091826; }
/* Keep the content order and text sizes usable on mobile in every direction. */
@media (max-width: 1180px) {
  html[data-theme='care'] .hero { gap: 38px; }
  html[data-theme='contrast'] .hero { gap: 30px; }
}

@media (max-width: 760px) {
  html[data-theme='care'] .hero, html[data-theme='contrast'] .hero { grid-template-columns: minmax(0,1fr); gap: 28px; padding-top: 28px; }
  html[data-theme='care'] .hero-copy { grid-column: 1; grid-row: 1; }
  html[data-theme='care'] .hero-image { grid-column: 1; grid-row: 2; min-height: 460px; border-radius: 130px 130px 22px 22px; }
  html[data-theme='care'] .hero h1 { font-size: clamp(39px,10vw,49px); }
  html[data-theme='contrast'] .hero h1 { font-size: 43px; }
  html[data-theme='contrast'] .hero-image { min-height: 460px; }
  html[data-theme='care'] .photo-label { top: 80px; }
  html[data-theme='care'] .about-photo { border-radius: 22px 80px 22px 22px; }
  html[data-theme='care'] .booking-card { border-radius: 22px; }
  html[data-theme='care'][lang='hy'] .hero h1, html[data-theme='contrast'][lang='hy'] .hero h1 { font-size: 37px; }
}
@media (max-width: 360px) {
  .design-picker { padding-left: 4px; }
  .theme-options { gap: 0; }
  html[lang='hy'] .booking-intro h2 { font-size: 28px; }
  html[data-theme='care'] .hero h1, html[data-theme='contrast'] .hero h1,
  html[data-theme='care'][lang='hy'] .hero h1, html[data-theme='contrast'][lang='hy'] .hero h1 { font-size: 32px; }
  html[data-theme='clinic'][lang='hy'] .hero h1 { font-size: 32px; }
}
@media print { .design-picker { display: none !important; } }

/* Workload hints remain distinct from the currently selected time. */
html[data-theme] .slot.recommended:not(.selected) { background: #e8f6ef; color: #1d5742; border-color: #347d60; box-shadow: inset 0 0 0 1px #347d60; }
html[data-theme='contrast'] .slot.recommended:not(.selected) { background: #294337; color: #e0f5c4; border-color: #a7d672; box-shadow: inset 0 0 0 1px #a7d672; }
html[data-theme='contrast'] .recommendation-note { background: #213c32; color: #e0f5c4; border-color: #719a59; }
/* Nearest time and branch comparison in each direction. */
html[data-theme='care'] .nearest-card { background: #fffffb; border-color: #dce2d5; border-radius: 22px; }
html[data-theme='care'] .nearest-item, html[data-theme='care'] .compare-item { border-radius: 16px; }
html[data-theme='care'] .compare-item { background: #fffffb; }
html[data-theme='contrast'] .nearest-card { background: #142c3e; border-color: #3a5266; border-radius: 10px; }
html[data-theme='contrast'] .nearest-item { background: #0f2232; border-color: #3a5266; border-radius: 7px; }
html[data-theme='contrast'] .nearest-item.soonest { background: #294337; border-color: #a7d672; }
html[data-theme='contrast'] .nearest-item.soonest strong { color: #e0f5c4; }
html[data-theme='contrast'] .compare-item { background: #172e40; border-color: #4c657b; border-radius: 7px; }
html[data-theme='contrast'] .compare-item em { background: #294337; color: #e0f5c4; }
html[data-theme='contrast'] .compare-meter { background: #2b455a; }
html[data-theme='contrast'] .compare-hint { background: #3a3220; border-color: #8a7240; color: #f6e2b5; }
@media (max-width: 760px) {
  html[data-theme='care'] .hero-image, html[data-theme='contrast'] .hero-image { min-height: 400px; }
}
@media (max-width: 760px) {
  html[lang='hy'] .hero h1, html[data-theme][lang='hy'] .hero h1 { font-size: 33px; letter-spacing: -.6px; }
}
@media (max-width: 360px) {
  html[lang='hy'] .hero h1, html[data-theme][lang='hy'] .hero h1 { font-size: 30px; }
}
/* Trust layer in each direction. */
html[data-theme='care'] .price-card, html[data-theme='care'] .doctor-card { background: #fffffb; border-color: #dce2d5; border-radius: 26px; }
html[data-theme='care'] .doctor-photo { background: linear-gradient(160deg,#e8eddd,#f1efe5); color: #b9c8b0; }
html[data-theme='care'] .doctor-book, html[data-theme='care'] .header-call { border-color: #b4c5ac; }
html[data-theme='care'] .doctor-book { border-radius: 999px; }
html[data-theme='care'] .facts > span > b { color: #557442; }
html[data-theme='contrast'] .price-card, html[data-theme='contrast'] .doctor-card { background: #142c3e; border-color: #3a5266; border-radius: 10px; }
html[data-theme='contrast'] .doctor-photo { background: linear-gradient(160deg,#20394a,#172e40); color: #4c657b; }
html[data-theme='contrast'] .doctor-book { border-color: #7790a8; color: #edf3fa; border-radius: 7px; }
html[data-theme='contrast'] .doctor-book:hover { border-color: #c4eb80; background: #20394a; }
html[data-theme='contrast'] .header-call { border-color: #4c657b; color: #c4eb80; }
html[data-theme='contrast'] .sample-badge { background: #3a3220; border-color: #8a7240; color: #f6e2b5; }
@media (max-width: 760px) {
  html[data-theme='care'] .doctor-photo { border-radius: 50%; }
  html[data-theme='contrast'] .doctor-photo { border-radius: 6px; }
}
