/* Additional project imagery, material comparison and request details. */
.service-photo {
  position: relative;
  margin: -28px -28px 25px;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  background: #d9dcd1;
}
.service-photo img { width: 100%; height: 190px; object-fit: cover; }
.service-photo figcaption { position: absolute; left: 16px; bottom: 14px; }
.photo-label {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #ffffff38;
  border-radius: 3px;
  background: #202820dc;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
}
.illustration-note { margin-top: 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.comparison-section { border-top: 1px solid var(--line); }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.material-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.material-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.material-title h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.8px; }
.material-price { flex: none; text-align: right; }
.material-price strong { display: block; color: var(--ink); font-size: 28px; line-height: 1.1; letter-spacing: -.9px; white-space: nowrap; }
.material-price small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.5; }
.material-card > p { color: var(--muted); font-size: 14px; margin-top: 19px; }
.material-tag {
  align-self: flex-start;
  display: inline-block;
  padding: 7px 10px;
  margin-top: 19px;
  border-radius: 3px;
  color: #5c624e;
  background: #f0f1e8;
  font-size: 12px;
  line-height: 1.4;
}
.material-list { list-style: none; padding: 0; margin: 23px 0 27px; display: grid; gap: 14px; }
.material-list li { position: relative; padding-left: 23px; color: #62695a; font-size: 13px; line-height: 1.6; }
.material-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #77805f; font-weight: 700; }
.material-list strong { color: var(--ink); font-weight: 600; }
.material-cta { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: auto; }
.material-cta.button { gap: 15px; }
.material-cta .button { width: 100%; }
.estimate-checklist {
  margin-top: 24px;
  padding: 25px 30px;
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: 25px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #eeefe7;
}
.estimate-checklist h3 { font-size: 18px; line-height: 1.3; }
.estimate-checklist ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 24px; }
.estimate-checklist li { position: relative; padding-left: 17px; color: #606755; font-size: 12px; line-height: 1.6; }
.estimate-checklist li::before { content: "+"; position: absolute; left: 0; color: #788367; font-weight: 700; }

.brief-details { margin-top: 23px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brief-details summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 17px 0; list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; }
.brief-details summary::-webkit-details-marker { display: none; }
.brief-details summary > span { color: #79826b; font-size: 21px; font-weight: 400; line-height: 1; transition: transform .2s; }
.brief-details[open] summary > span { transform: rotate(45deg); }
.brief-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; padding-bottom: 17px; }
.brief-fields label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 12px; color: #5d6653; line-height: 1.5; }
.brief-fields input, .brief-fields select, .brief-fields textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #d2d7c8;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}
.brief-fields input::placeholder, .brief-fields textarea::placeholder { color: #8b927f; opacity: 1; }
.brief-fields label:has(textarea), .brief-fields .brief-full { grid-column: 1 / -1; }
.brief-fields textarea { min-height: 86px; resize: vertical; }
.brief-fields select { padding-right: 25px; text-overflow: ellipsis; }
.brief-hint { font-size: 12px; line-height: 1.6; color: #767e69; padding-bottom: 16px; }
.brief-fields .brief-hint { grid-column: 1 / -1; padding-bottom: 0; }
.quote-summary .quote-copy-status { margin-top: 9px; color: var(--yellow); font-size: 12px; line-height: 1.6; }
.quote-copy-status:empty { display: none; }

.result-meta { flex-wrap: wrap; font-size: 12px; }
.result-total { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; }
.result-total > span { font-size: 12px; }
.result-total output { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.calc-disclaimer { font-size: 12px; line-height: 1.6; }
.quote-summary .quote-note { font-size: 12px; }
.foundation-visual > p { font-size: 12px; }
.contact-label { font-size: 11px; }
.copy-phone, .copy-quote { min-height: 40px; }

@media (max-width: 1150px) {
  .service-photo { margin: -22px -22px 22px; }
  .material-card { padding: 25px; }
  .material-title { gap: 16px; }
  .material-title h3, .material-price strong { font-size: 25px; }
}
@media (max-width: 900px) {
  .service-photo { margin: -20px -18px 20px; }
  .service-photo img { height: 170px; }
  .material-title { flex-wrap: wrap; gap: 16px; }
  .material-price { text-align: left; }
  .estimate-checklist { grid-template-columns: 1fr; gap: 18px; }
  .brief-fields { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .service-photo { margin: -22px -23px 20px; }
  .service-photo img { height: 190px; }
  .photo-label { font-size: 11px; }
  .comparison-grid { grid-template-columns: 1fr; gap: 16px; }
  .material-card { padding: 23px; }
  .material-title { justify-content: space-between; }
  .material-title h3 { font-size: 25px; }
  .material-price strong { font-size: 25px; }
  .material-card > p { font-size: 13px; }
  .material-list { margin-top: 20px; gap: 13px; }
  .material-cta.button { font-size: 12px; padding: 15px 16px; }
  .estimate-checklist { padding: 21px 23px; }
  .estimate-checklist ul { grid-template-columns: 1fr; gap: 12px; }
  .estimate-checklist li { font-size: 12px; }
  .brief-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-fields input, .brief-fields select, .brief-fields textarea { font-size: 16px; }
  .brief-hint { font-size: 12px; }
  .dimension-fields label, .area-label { font-size: 12px; }
  .dimension-header button { font-size: 11px; }
  .surface-choice small { font-size: 11px; }
  .result-meta { font-size: 12px; gap: 6px 12px; }
  .result-total > span { font-size: 12px; }
  .calc-disclaimer { font-size: 12px; }
  .calc-intro-note p, .repair-note p { font-size: 12px; }
  .hero { height: 660px; }
  .hero-bottom { font-size: 11px; line-height: 1.5; letter-spacing: .2px; }
  .hero-bottom > span { max-width: 100%; }
  .layer-legend { gap: 15px; flex-wrap: wrap; }
  .layer-legend span { font-size: 11px; }
  .foundation-visual > p { font-size: 12px; }
  .contact-region { font-size: 12px; }
  .contacts-section .contact-label { font-size: 11px; }
  .footer-top p, .footer-bottom { font-size: 11px; }
}
@media (max-width: 420px) {
  .brief-fields { grid-template-columns: 1fr; }
  .material-title { flex-direction: column; gap: 13px; }
  .material-price strong { font-size: 28px; }
  .result-total output { font-size: 30px; letter-spacing: -1px; }
  .hero { height: 690px; }
}
@media (max-width: 360px) {
  .hero { height: 700px; }
  .service-photo img { height: 175px; }
  .brief-details summary { font-size: 12px; }
  .material-card, .estimate-checklist { padding: 20px; }
}

/* Brand mark and direct communication options. */
.brand-logo { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; }
.footer-top .brand-logo { width: 40px; height: 40px; }
.hero-brand-seal { position: absolute; right: 55px; bottom: 105px; padding: 0; border: 0; background: transparent; }
.hero-brand-seal img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; box-shadow: 0 3px 20px #00000020; }
.messenger-contact { margin-top: 26px; padding-top: 24px; border-top: 1px solid #58624f; }
.messenger-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.messenger-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 70px;
  padding: 12px;
  border: 1px solid #657058;
  border-radius: 4px;
  color: #f8f9f2;
  background: #ffffff05;
  transition: background .2s, border-color .2s;
}
.messenger-button:hover { border-color: #a7b393; background: #ffffff0c; }
.messenger-button > span:nth-child(2) { min-width: 0; }
.messenger-button strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; }
.messenger-button small { display: block; margin-top: 3px; color: #bdc6b0; font-size: 11px; line-height: 1.4; }
.messenger-button > span:last-child { margin-left: auto; flex: none; color: #aebd9b; font-size: 19px; }
.messenger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.messenger-icon-max { background: linear-gradient(140deg, #268df7, #6d41e7); }
.messenger-icon-telegram { background: #229ed9; }
.messenger-icon-whatsapp { background: #25d366; }
.messenger-icon-vk { background: #0077ff; }
.contacts-section .messenger-help { margin-top: 13px; color: #aeb9a1; font-size: 12px; line-height: 1.6; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quote-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid #897a3e;
  border-radius: 3px;
  color: var(--yellow);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  transition: background .2s;
}
.quote-send:hover { background: #f4ce4610; }
.quote-send.quote-whatsapp { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.quote-send.quote-whatsapp:hover { background: #ffde68; }
@media (max-width: 650px) {
  .brand-logo, .footer-top .brand-logo { width: 40px; height: 40px; }
  .hero-brand-seal { right: 18px; top: 22px; bottom: auto; }
  .hero-brand-seal img { width: 80px; height: 80px; }
  .messenger-contact { margin-top: 23px; padding-top: 22px; }
  .messenger-button { min-height: 72px; gap: 9px; padding: 12px 10px; }
  .messenger-button strong { font-size: 13px; }
  .messenger-button small { font-size: 11px; }
  .messenger-icon { width: 30px; height: 30px; font-size: 17px; }
}
@media (max-width: 390px) {
  .site-header .brand { gap: 5px; font-size: 18px; }
  .site-header .brand-logo { width: 40px; height: 40px; }
  .header-inner { gap: 10px; }
  .messenger-button { gap: 7px; padding: 11px 8px; }
  .messenger-button > span:last-child { font-size: 16px; }
  .messenger-icon { width: 28px; height: 28px; border-radius: 8px; }
  .quote-send { flex: 1 1 auto; }
}

.contact-email{margin:24px 0;padding:20px 0;border-top:1px solid #697360}.contact-email>a{display:block;color:var(--yellow);font-size:clamp(20px,2.2vw,28px);margin-top:10px;overflow-wrap:anywhere}.contact-email>p{margin-top:10px;line-height:1.6}.footer-email{overflow-wrap:anywhere}.footer-bottom{flex-wrap:wrap;gap:16px}
