/* Change the palette here; preserve the accepted layout and typography. */
:root {
  --ink: #1c2d40;
  --muted: #5b6878;
  --navy: #173d61;
  --blue: #165e9b;
  --green: #176bab;
  --line: #d4e1ee;
  --soft: #f5f9fd;
  --hero-surface: #f3f8fc;
  --offer-surface: #eaf5ff;
  --offer-border: #b6d7f0;
}
.washer-intro.hero { background: var(--hero-surface); }
.washer-discount-banner { background: var(--offer-surface); border-color: var(--offer-border); }
.washer-discount-label { background: var(--offer-surface); }
.project-works-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.project-works-grid a { min-width: 0; display: block; }
.project-works-grid img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--soft); }
@media (max-width: 980px) { .project-works-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 580px) { .project-works-grid { grid-template-columns: minmax(0,1fr); } }

[hidden] { display: none !important; }

.button-primary:hover { background: #0e4e82; }
.button-secondary:hover, th, .price-free td { background: #eaf4fd; }
.price-contact { background: #eaf4fd; }
.process-section { background: #f5f9fd; border-color: #d4e1ee; }
.process-grid article > span { color: #1761a0; }
.site-footer { background: #173d61; }
.footer-top p, .footer-profile > span, .legal-row, .footer-note { color: #dae9f5; }
.legal-row { border-color: #6386a3; }
.washer-guarantee { background: #eaf4fd; border-color: #c4deef; }
.washer-guarantee > .icon, .washer-contact-benefits li > .icon { color: #1761a0; }
.washer-contact-benefits li > .icon { background: #e5f2fc; }
.washer-countdown > div { background: #f3f8fc; border-color: #d4e1ee; }
.dialog-close { background: #eaf4fd; }
.dialog-close:hover { background: #d6eafb; }

.washer-intro-photo img { aspect-ratio: auto; height: auto; }
.washer-about-portrait img { width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; object-position: 20% 15%; }
.offer-avatar img { width: 250%; height: auto; left: -40%; top: 0; }

.project-works-grid { align-items: stretch; }
.project-works-grid figure { margin: 0; min-width: 0; overflow: hidden; border: 1px solid #d4e1ee; border-radius: 12px; background: #f3f8fc; }
.project-works-grid figure a { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.project-works-grid figure img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.project-works-grid figcaption { margin: 0; padding: 16px; font-size: 18px; line-height: 1.4; font-weight: 700; }

/* Информация о мастере */
.master-info h2 { margin: 0; }
.master-info-intro { margin: 18px 0 24px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.master-info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.master-info-list li { padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 17px; line-height: 1.45; }
.master-info-list strong { font-weight: 700; }

:root {
  --ink: #192d3a;
  --muted: #455967;
  --navy: #173d57;
  --blue: #185aa6;
  --green: #08764f;
  --line: #d6dfe3;
  --soft: #f3f6f7;
}
@media(min-width:981px){.project-works-grid{grid-template-columns:repeat(3,minmax(0,1fr))}} .offer-avatar img{width:100%;height:100%;inset:0;object-fit:cover} #work-image{max-width:min(94vw,900px)}