@charset "UTF-8";

:root { --ivory: #faf8f3; }
html { scroll-padding-top: 106px; }
.top-bar { background: var(--ivory); color: var(--ink); border-bottom: 1px solid #c1a06233; }
.top-bar-inner { min-height: 32px; }
.city-divider { color: #a18a61; }
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  height: 94px;
  gap: 24px;
}
.brand-name { font-weight: 600; }
.site-header .brand-mark { width: 56px; height: 56px; }
.site-header .brand-name { font-size: 22px; }
.site-header .brand-name > span { font-size: 11px; margin-top: 5px; }
.header-links { display: flex; align-items: center; justify-content: center; gap: 22px; }
.header-links .desktop-nav { display: flex; margin: 0; gap: 18px; }
.header-contacts { display: flex; align-items: center; gap: 18px; border-left: 1px solid #c1a06240; padding-left: 22px; }
.header-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-block: 12px;
  color: #eee7d9;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  transition: color .2s;
}
.header-links a:hover { color: #d4b87e; }
.header-contacts .icon { width: 16px; height: 16px; color: var(--brand-gold); }
.header-actions { justify-self: end; margin-left: 0; }
.header-quote { min-height: 52px; padding: 15px 24px; font-size: 13px; }
.category-strip { background: #f0ece2; border-block: 1px solid #e2dacb; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.category-grid > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 14px;
  border-right: 1px solid #d9cdb8;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  transition: background .2s, color .2s;
}
.category-grid > a:last-child { border-right: 0; }
.category-grid > a:hover { color: #694f20; background: #c1a06215; }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { padding: 24px 21px 22px; }
.service-card h3 { font-size: 21px; min-height: 48px; }
.service-card > p { min-height: 0; }
.project-support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.support-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 19px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--ivory);
}
.support-item > .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }
.support-item strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.support-item small { display: block; font-size: 12px; line-height: 1.65; color: var(--muted); margin-top: 4px; }
.support-link { transition: border-color .2s, background .2s; }
.support-link:hover { border-color: #b99a60; background: #f5f0e6; }
.support-item .support-arrow { width: 17px; height: 17px; margin-left: auto; margin-top: 2px; }
.quote-panel { scroll-margin-top: 0; }
.footer { background: var(--ivory); }
.footer-bottom-wrap { background: #111; border-top: 1px solid #c1a06233; }
.footer-bottom { background: transparent; border-top: 0; color: var(--brand-gold); }
.footer-bottom > div { align-items: center; gap: 16px; }
.footer-bottom > div a { white-space: nowrap; }
.footer-bottom a:hover { color: #e6cc95; }
.footer .brand-mark { width: 42px; height: 42px; }

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card h3 { min-height: 0; }
}
@media (max-width: 1150px) {
  .header-inner { gap: 20px; }
  .header-links .desktop-nav a:not(:first-child) { display: none; }
  .header-contacts { gap: 20px; }
  .menu-toggle { display: flex; }
}
@media (max-width: 819px) {
  .header-links .desktop-nav { display: none; }
  .header-contacts { border: 0; padding-left: 0; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 124px; }
  .header-inner { height: auto; grid-template-columns: 1fr auto; grid-template-rows: 78px 34px; gap: 0; }
  .header-inner > .brand { grid-column: 1; grid-row: 1; }
  .site-header .brand-mark { width: 44px; height: 44px; }
  .site-header .brand-name { font-size: 19px; }
  .site-header .brand-name > span { font-size: 9px; margin-top: 4px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-quote { min-height: 46px; padding: 12px 19px; font-size: 12px; }
  .header-links { grid-column: 1 / -1; grid-row: 2; }
  .header-contacts { justify-content: center; gap: 26px; }
  .header-links a { font-size: 12px; gap: 7px; padding-block: 6px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid > a { min-height: 56px; padding: 12px 8px; font-size: 11px; }
  .category-grid > a:nth-child(2n) { border-right: 0; }
  .category-grid > a:nth-child(-n+4) { border-bottom: 1px solid #d9cdb8; }
  .category-grid > a:last-child { grid-column: 1 / -1; }
  .service-grid, .project-support { grid-template-columns: 1fr; }
  .service-card { padding: 23px; }
  .support-item { padding: 18px; }
  .footer { padding-bottom: 0; }
  .footer-bottom-wrap { padding-bottom: 57px; }
  .mobile-contact-bar { background: #111; border-top: 1px solid #c1a06244; }
  .mobile-contact-bar > a, .mobile-contact-bar > a:first-child { background: #111; color: var(--brand-gold); }
}
@media (max-width: 380px) {
  .site-header .brand-name { font-size: 16px; }
  .site-header .brand-mark { width: 42px; height: 42px; }
  .header-quote { padding-inline: 13px; font-size: 11px; }
  .header-contacts { gap: 20px; }
}
