/* KROFI 1.8 · главная по макету v4. Все размеры — CSS-пиксели. */
:root {
  --paper: #fffefa;
  --warm-line: #dcd7cb;
  --warm-soft: #f2eee5;
}
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - 48px)); }
.topbar-contacts .callback-link { min-height: 44px; font-size: 14px; }
.topbar-contacts .messenger-link, .topbar-contacts .phone-placeholder { min-height: 44px; }
.topbar-contacts { flex-shrink: 0; }
.region-selector { min-width: 0; }
.region-selector > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.region-selector > .icon { flex-shrink: 0; }
img { max-width: 100%; }
.section-description { max-width: 800px; }
#top .button { white-space: normal; line-height: 1.45; }
.hero { min-height: 660px; }
.hero-shade {
  background: linear-gradient(90deg, #1e251ff2 0%, #252a24d9 30%, #242a2469 64%, #252a2414 100%);
}
.hero-inner { padding-top: 88px; padding-bottom: 58px; }
#top .hero-description { max-width: 610px; font-size: 21px; line-height: 1.65; }
#top .hero-cta { min-height: 60px; }
.hero-upload { min-height: 48px; }
.hero-photo-note { background: #222920c9; padding: 7px 12px; border-radius: 5px; }
.step-pill { max-width: none; }
.calc-under { gap: 22px; }
.calc-under > span { align-items: center; max-width: none; }
.calc-panel { height: min(660px, calc(100dvh - var(--calc-viewport-gap))); }
#top .calc-response { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 17px; }
.contact-response { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 18px; }
.lead-purpose {
  display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px;
  padding: 13px 16px; border-left: 3px solid var(--terra);
  background: #f7f1e8; color: var(--ink); font-size: 16px; line-height: 1.5;
}
.lead-purpose .text-link { align-self: flex-start; min-height: 44px; font-size: 14px; }
.calc-navigation > .button { max-width: calc(100% - 70px); }
.sample-badge {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 6px 10px; border: 1px solid #c8d1c3; border-radius: 5px;
  color: #415343; background: #eef1e9; font-size: 14px; line-height: 1.5;
}
.project-city-label { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.project-city-label select {
  min-height: 48px; max-width: 100%; padding: 9px 34px 9px 12px;
  border: 1px solid #9eaaa0; border-radius: 7px; color: var(--ink);
  background: var(--paper); font: inherit;
}
.works-count { margin: 0; }
.featured-case {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin-bottom: 25px; background: var(--paper);
  border: 1px solid var(--warm-line); border-radius: 13px; overflow: hidden;
  box-shadow: 0 8px 28px #342b1d09;
}
.featured-visual { min-width: 0; padding: 20px; background: #edece3; }
.featured-photo { position: relative; display: block; width: 100%; text-align: left; }
.featured-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.featured-photo > span {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  margin-top: 10px; color: var(--terra); font-size: 16px; font-weight: 600;
}
.featured-copy { min-width: 0; padding: 28px; }
#top .featured-copy h3 { margin: 16px 0 20px; font-size: 28px; line-height: 1.3; }
.featured-copy h4 { margin: 16px 0 6px; font-size: 17px; font-weight: 700; }
.featured-copy > p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.featured-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 25px; }
.featured-actions > .button { font-size: 16px; }
.featured-actions > .text-link { min-height: 44px; font-size: 16px; }
.project-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; margin: 20px 0; }
.project-meta > div { min-width: 0; }
.project-meta dt { font-size: 14px; line-height: 1.5; color: var(--muted); margin-bottom: 4px; }
.project-meta dd { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.photo-comparison { min-width: 0; }
.compare-stage { position: relative; aspect-ratio: 1672 / 941; overflow: hidden; border-radius: 8px; background: #d8d5c8; isolation: isolate; }
.compare-stage > img, .compare-before, .compare-before > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare-stage img { object-fit: cover; max-width: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--compare)) 0 0); z-index: 1; }
.compare-divider { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--compare); width: 3px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 12px #0005; }
.compare-divider::after {
  content: '↔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%;
  color: #453a2b; background: #fffefa; border: 1px solid #bcb3a3; font-size: 24px;
}
.compare-label { position: absolute; z-index: 2; bottom: 14px; padding: 6px 12px; border-radius: 5px; color: #fff; background: #252b25dc; font-size: 14px; pointer-events: none; }
.compare-label.before { left: 12px; }
.compare-label.after { right: 12px; }
.compare-range { position: absolute; z-index: 3; inset: 0; display: block; margin: 0; padding: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-stage:focus-within { outline: 3px solid #4a684d; outline-offset: 3px; }
.compare-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding-top: 13px; }
.compare-controls button {
  min-width: 0; min-height: 48px; padding: 8px; border: 1px solid #9ca99e;
  border-radius: 6px; background: #fffefa; color: var(--ink); font-size: 15px; line-height: 1.4;
  transition: border-color .18s, background .18s;
}
.compare-controls button[aria-pressed="true"] { border-color: var(--terra); color: #8a3b23; background: #fbede2; box-shadow: inset 0 0 0 1px var(--terra); }
.compare-controls button:hover { border-color: var(--terra); background: #fcf5ec; }
.works-section .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.works-section .project-image { aspect-ratio: 16 / 9; }
.empty-projects { margin: 24px 0; padding: 24px; border: 1px dashed #a5b19e; border-radius: 9px; color: var(--muted); background: #fffefa; font-size: 17px; }
.case-process-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.case-process-photos figure { margin: 0; }
.case-process-photos img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 7px; }
.case-process-photos figcaption { font-size: 14px; line-height: 1.6; margin-top: 8px; color: var(--muted); }
.estimate-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: start; margin-top: 33px; }
.estimate-layout > div { min-width: 0; }
.estimate-paper { position: relative; padding: 30px; background: #fff; border: 1px solid #d3cec2; border-radius: 7px; box-shadow: 0 12px 30px #3d2c1b0d, 5px 5px 0 #ede9de; }
.estimate-paper > .sample-badge { float: right; }
.paper-brand { display: block; color: var(--terra); font: 800 28px 'Manrope', sans-serif; letter-spacing: .02em; margin-bottom: 22px; }
#top .estimate-paper h3 { clear: both; font-size: 22px; line-height: 1.45; margin: 0 0 25px; }
.estimate-paper table, .document-preview table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.6; text-align: left; }
.estimate-paper th, .estimate-paper td, .document-preview th, .document-preview td { padding: 12px 9px; border-bottom: 1px solid #e2dfd5; }
.estimate-paper thead, .document-preview thead { color: #424d43; background: #f1f2e9; }
.estimate-paper th:first-child, .document-preview th:first-child { width: 60%; }
.estimate-paper td, .document-preview td { white-space: nowrap; }
.estimate-paper tbody th, .document-preview tbody th { font-weight: 400; }
.estimate-paper tfoot, .document-preview tfoot { font-weight: 700; }
.estimate-paper .small-note { margin: 16px 0 0; }
.estimate-open { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.estimate-open .small-note { margin: 0; }
.cost-cards { display: flex; flex-direction: column; gap: 15px; }
#top .cost-cards .cost-card { min-height: 0; padding: 23px 25px; border: 1px solid var(--warm-line); border-radius: 9px; background: var(--paper); }
#top .cost-cards .cost-card h3 { font-size: 21px; margin-bottom: 12px; }
.cost-cards .cost-card { display: flex; align-items: flex-start; gap: 16px; }
.cost-cards .cost-card .cost-icon { position: static; flex-shrink: 0; }
.cost-cards .cost-card p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0; }
.cost-cards .cost-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
#top .cost-cards .cost-card li { font-size: 16px; margin: 0; line-height: 1.5; }
.conditions-note { margin-top: 19px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.conditions-note { display: flex; align-items: flex-start; gap: 12px; }
.conditions-note > .icon { flex-shrink: 0; color: #64764d; }
.conditions-note strong, .conditions-note span { display: block; }
.conditions-note span { margin-top: 7px; }
.compare-estimate-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 32px; margin-top: 42px; border: 1px solid #cbd3be; border-radius: 10px; background: #eef1e7; }
.compare-estimate-banner h3 { font-size: 24px; line-height: 1.4; margin: 0 0 8px; }
.compare-estimate-banner p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 680px; }
.compare-estimate-banner .button { flex-shrink: 0; }
.compare-estimate-banner > .icon { flex-shrink: 0; color: #66754d; }
.compare-estimate-banner > div { flex: 1; }
.people-section { background: #f3f0e8; }
.specialist-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.specialist-photo { position: relative; margin: 0; min-width: 0; }
.specialist-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.specialist-photo figcaption { position: absolute; bottom: 15px; left: 15px; padding: 6px 11px; background: #fffefaed; border-radius: 5px; font-size: 14px; color: #3f4c3f; }
.specialist-video { position: absolute; right: 15px; bottom: 15px; display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 10px 14px; border-radius: 7px; color: #fff; background: #843d27; font-size: 16px; }
.specialist-copy { min-width: 0; }
#top .specialist-copy h2 { margin-bottom: 22px; }
.specialist-copy h3 { font-size: 23px; line-height: 1.4; margin-bottom: 7px; }
.specialist-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.65; margin-bottom: 15px; }
.specialist-copy > p.small-note { font-size: 14px; margin: 17px 0 0; }
.specialist-points { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.specialist-points li { display: flex; gap: 11px; align-items: center; font-size: 17px; }
.specialist-points .icon { color: #657653; flex-shrink: 0; }
.specialist-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.specialist-actions .button { padding-inline: 19px; font-size: 16px; }
.reviews-section { margin-top: 72px; padding-top: 50px; border-top: 1px solid #d5d0c4; }
.reviews-section .section-top { gap: 20px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.review-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 25px; border: 1px solid #d6d5c7; border-radius: 10px; background: var(--paper); }
.review-quote { color: #936848; height: 36px; font: 52px Georgia, serif; line-height: 1; }
.review-card h3 { font-size: 21px; line-height: 1.5; margin: 15px 0 6px; }
.review-card p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 20px; overflow-wrap: anywhere; }
.review-card p.review-meta { font-size: 14px; margin-bottom: 16px; }
.review-card > .small-note { margin-top: auto; }
.review-links { display: flex; align-items: flex-start; flex-direction: column; gap: 5px; margin-top: auto; }
.review-links a, .review-links button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--terra); font-size: 15px; text-align: left; }
.rating-source { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 9px 13px; border: 1px solid #a6b19b; border-radius: 7px; background: #f9fbf1; color: #40523b; font-size: 16px; white-space: nowrap; }
.guarantees-section { background: var(--paper); }
.guarantees-section > .container > .sample-badge { margin-bottom: 16px; }
.guarantees-section .section-description { margin-top: 18px; }
.document-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0 40px; }
.document-card { display: flex; align-items: center; gap: 19px; min-width: 0; min-height: 130px; padding: 23px; border: 1px solid #d4cebd; border-radius: 9px; background: #f6f3ea; text-align: left; transition: transform .2s, border-color .2s, box-shadow .2s; }
.document-card > .icon { color: #956245; flex-shrink: 0; }
.document-card strong { display: block; font-size: 22px; line-height: 1.4; margin-bottom: 8px; }
.document-card small { display: flex; align-items: center; gap: 9px; color: var(--terra); font-size: 14px; line-height: 1.5; }
.document-card:hover { border-color: #aa7252; box-shadow: 0 8px 20px #4d342112; transform: translateY(-3px); }
.document-card:hover small .icon { transform: translateX(3px); }
.document-card small .icon { flex-shrink: 0; transition: transform .2s; }
.control-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; }
.control-principles { display: flex; flex-direction: column; gap: 24px; }
.control-principles li { display: flex; align-items: flex-start; gap: 13px; }
.control-principles .icon { margin-top: 2px; color: #5b714d; flex-shrink: 0; }
.control-principles strong { font-size: 18px; line-height: 1.5; }
.control-principles p { font-size: 16px; line-height: 1.7; color: var(--muted); margin-top: 7px; }
.warranty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.warranty-grid article { min-width: 0; padding: 24px 19px; background: #f2f4eb; border: 1px solid #cdd4c2; border-radius: 9px; }
.warranty-grid .icon { color: #62724d; margin-bottom: 14px; }
.warranty-grid h3 { font-size: 19px; line-height: 1.45; margin-bottom: 10px; }
.warranty-grid p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.control-layout > div > .small-note { margin-top: 17px; }
.visit-context { padding: 19px 21px; margin: 23px 0; border: 1px solid #c8d0bc; border-radius: 9px; background: #f3f5eb; }
.visit-context h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.5; }
.visit-context p { margin: 0 0 9px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.visit-context p:last-child { margin-bottom: 0; }
.visit-context p.small-note { font-size: 14px; }
.visit-projects { display: flex; flex-direction: column; gap: 6px; margin-top: 15px; }
.visit-projects > strong { font-size: 16px; }
.visit-projects .text-link { min-height: 44px; text-align: left; font-size: 16px; }
.visit-context > .text-link { font-size: 15px; min-height: 44px; }
#top .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 55px; }
#top .contact-form-card .channel-options, #modal-root .channel-options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#top .contact-form-card .channel-choice, #modal-root .channel-choice { flex-direction: column; justify-content: center; gap: 7px; min-height: 76px; padding: 9px 5px; font-size: 15px; }
.channel-choice:focus-within { outline: 3px solid #4c6c50; outline-offset: 2px; }
.submit-button { width: 100%; }
.footer-grid > div > .footer-document { margin: 10px 0; }
.document-preview { padding: 25px; margin: 20px 0; background: #fff; border: 1px solid #d8d4c7; border-radius: 8px; }
.document-preview h3 { margin: 18px 0 12px; font-size: 24px; line-height: 1.4; }
.document-preview h4 { margin: 25px 0 12px; font-size: 18px; line-height: 1.5; }
.document-preview li { margin-block: 9px; padding-left: 17px; position: relative; color: var(--muted); font-size: 16px; line-height: 1.65; }
.document-preview li::before { content: '•'; position: absolute; left: 0; color: #7f674e; }
.document-table-wrap { overflow-x: auto; margin-top: 22px; }
.document-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin: 20px 0; }
.document-actions .button { padding-inline: 18px; font-size: 16px; text-align: center; }
.specialist-steps { counter-reset: item; display: flex; flex-direction: column; gap: 18px; margin: 25px 0; }
.specialist-steps li { position: relative; padding-left: 44px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.specialist-steps li::before { counter-increment: item; content: counter(item); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ecefe2; color: #4f6545; font-weight: 600; }
.specialist-player { display: block; width: 100%; max-height: 65vh; background: #242b23; border-radius: 7px; margin: 20px 0; }
.compare-controls button:focus-visible, .document-card:focus-visible,
.specialist-video:focus-visible, .project-city-label select:focus-visible,
.review-links a:focus-visible, .rating-source:focus-visible,
.document-actions a:focus-visible, .featured-photo:focus-visible {
  outline: 3px solid #4a684d; outline-offset: 3px;
}
@media (max-width: 1150px) {
  .desktop-nav { gap: 16px; }
  #top .contact-layout { gap: 30px; }
  .featured-case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .featured-copy { padding: 23px; }
  .estimate-layout, .specialist-layout, .control-layout { gap: 30px; }
  .document-card { padding: 22px 17px; gap: 13px; }
  .document-card strong { font-size: 20px; }
}
@media (max-width: 900px) {
  .featured-case { grid-template-columns: minmax(0, 1fr); }
  .featured-visual { padding: 23px; }
  .project-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .estimate-layout { gap: 28px; }
  .estimate-paper { padding: 23px; }
  .cost-cards .cost-card ul { grid-template-columns: minmax(0, 1fr); }
  .specialist-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 27px; align-items: start; }
  .specialist-photo > img { aspect-ratio: 3 / 4; }
  .reviews-grid { gap: 15px; }
  .review-card { padding: 20px; }
  .document-cards { gap: 13px; }
  .document-card { flex-direction: column; align-items: flex-start; }
  .control-layout { grid-template-columns: minmax(0, 1fr); }
  #top .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  #top .contact-form-card { width: 100%; max-width: 650px; margin-inline: auto; }
}
@media (max-width: 1000px) {
  .topbar-contacts { gap: 8px; }
  .topbar-contacts .messenger-link { width: 44px; justify-content: center; }
  .topbar-contacts .messenger-link > span:last-child { display: none; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 32px); }
  .topbar-inner { gap: 10px; }
  .topbar-contacts { gap: 0; }
  .topbar-contacts .messenger-link, .topbar-contacts .phone-placeholder { width: 44px; height: 44px; }
  .topbar-contacts .phone-placeholder > span { display: none; }
  .region-selector { max-width: calc(100% - 186px); }
  .hero { min-height: 610px; }
  .hero-inner { padding-top: 57px; padding-bottom: 70px; }
  .hero-shade { background: linear-gradient(90deg, #1e251ff2, #242c25c4 65%, #222c2569), linear-gradient(0deg, #1e251f91, transparent); }
  #top .hero-description { font-size: 19px; }
  .section { padding-block: 56px; }
  .step-pill { max-width: none; white-space: normal; }
  .calc-under { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .calc-under > span { font-size: 16px; }
  .calc-navigation > .button { min-height: 50px; font-size: 16px; }
  #top .calc-response { font-size: 15px; }
  .lead-purpose { padding: 11px 12px; font-size: 15px; }
  .works-toolbar { align-items: flex-start; }
  .project-city-label { width: 100%; }
  .project-city-label select { flex: 1; min-width: 0; }
  .works-section .projects-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .featured-visual { padding: 15px; }
  .featured-copy { padding: 23px 20px; }
  #top .featured-copy h3 { font-size: 25px; }
  .project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .featured-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .featured-actions .button { padding-inline: 15px; }
  .compare-controls { gap: 6px; }
  .compare-controls button { padding: 8px 5px; font-size: 14px; }
  .compare-label { bottom: 10px; padding: 4px 8px; }
  .compare-divider::after { width: 35px; height: 35px; }
  .case-process-photos { gap: 12px; }
  .estimate-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .estimate-paper { padding: 24px 18px; }
  .estimate-paper table { font-size: 14px; }
  .estimate-paper th, .estimate-paper td { padding: 11px 7px; }
  #top .cost-cards .cost-card { padding: 23px; }
  .cost-cards .cost-card ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .estimate-open { flex-direction: column; align-items: stretch; gap: 13px; }
  .estimate-open .small-note { text-align: center; }
  .compare-estimate-banner { flex-direction: column; align-items: stretch; padding: 25px 21px; gap: 20px; margin-top: 30px; }
  .compare-estimate-banner h3 { font-size: 23px; }
  .specialist-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .specialist-photo > img { aspect-ratio: 4 / 3; }
  .specialist-copy > p:not(.eyebrow) { font-size: 16px; }
  .specialist-copy > p.small-note { font-size: 14px; }
  .specialist-actions { flex-direction: column; align-items: stretch; }
  .reviews-section { margin-top: 45px; padding-top: 35px; }
  .reviews-section .section-top { align-items: flex-start; flex-direction: column; }
  .reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
  .review-card { padding: 23px; }
  .review-quote { height: 25px; font-size: 42px; }
  .document-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 27px 0 32px; }
  .document-card { flex-direction: row; align-items: center; min-height: 106px; padding: 20px; gap: 20px; }
  .document-card strong { font-size: 22px; }
  .warranty-grid { gap: 12px; }
  .warranty-grid article { padding: 21px 16px; }
  .warranty-grid h3 { font-size: 18px; }
  #geography .geography-panel { padding: 23px 17px; }
  .visit-context { padding: 18px 16px; }
  #top .contact-form-card { padding: 26px 20px; }
  #top .contact-form-card .channel-options, #modal-root .channel-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #top .contact-form-card .channel-choice, #modal-root .channel-choice { flex-direction: row; justify-content: flex-start; padding: 12px; min-height: 49px; font-size: 16px; }
  .document-preview { padding: 21px 15px; }
  .document-preview th, .document-preview td { padding: 11px 6px; font-size: 14px; }
  .document-actions { flex-direction: column; align-items: stretch; }
  .document-actions .button { width: 100%; }
}
@media (max-width: 380px) {
  .cost-cards .cost-card ul { grid-template-columns: minmax(0, 1fr); }
  .warranty-grid { grid-template-columns: minmax(0, 1fr); }
  .case-process-photos { grid-template-columns: minmax(0, 1fr); }
  #top .contact-form-card { padding-inline: 16px; }
  #top .calc-channel-choice { padding-inline: 7px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .document-card, .document-card small .icon, .compare-controls button { transition: none; }
  .document-card:hover, .document-card:hover small .icon { transform: none; }
}
