/* «Смета по фото» – посадочная для Директа (08.10.2026). Фирменные цвета: #14735c, тёмный #0b4c3d, мята #a0e4cd. */
.page-smeta .sm-hero { background: var(--bg-soft, #f4f6f5); padding: 40px 0 48px; }
.sm-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
.sm-hero__copy { padding-top: 12px; }
.sm-hero__h { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; margin: 16px 0 14px; letter-spacing: -.025em; }
.sm-hero__lead { font-size: 17px; line-height: 1.55; color: var(--ink-2, #424944); margin: 0 0 20px; max-width: 34em; }
.sm-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sm-ticks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink, #202522); }
.sm-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e9f3ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%2314735c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.sm-card { background: #fff; border: 1px solid #dfe5e1; border-radius: 8px; padding: 24px; box-shadow: 0 4px 14px rgba(20,22,30,.06); scroll-margin-top: 84px; }
.sm-form { display: grid; gap: 18px; }
.sm-step { display: grid; gap: 10px; }
.sm-step__n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #e9f3ef; color: #0b4c3d; font-weight: 800; font-size: 13.5px; display: grid; place-items: center; }
.sm-step__body { display: grid; gap: 10px; min-width: 0; }
.sm-step__t { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--ink, #202522); }
/* на этой странице свой путь к заявке – кнопку чата не показываем, чтобы не закрывала цены и форму */
.page-smeta .pa-fab { display: none !important; }

.sm-drop { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px dashed #9fb8ad; border-radius: 8px; background: #f7faf8; cursor: pointer; transition: border-color .18s, background .18s; }
.sm-drop:hover, .sm-drop:focus-within { border-color: #14735c; background: #eef6f2; }
.sm-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.sm-drop__ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 8px; background: #14735c; color: #fff; display: grid; place-items: center; }
.sm-drop__t { font-weight: 700; color: #0b4c3d; font-size: 15.5px; }
.sm-drop__s { font-size: 13px; color: var(--muted, #65706a); }
.sm-drop.is-full { display: none; }
.sm-file { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }

.sm-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sm-thumbs[hidden] { display: none; }
.sm-thumb { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #e9f3ef; border: 1px solid #dfe5e1; }
.sm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-thumb__file { display: grid; place-items: center; height: 100%; font-size: 13px; font-weight: 700; color: #0b4c3d; }
.sm-thumb__x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(32,37,34,.72); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }

.sm-link { justify-self: start; background: none; border: 0; padding: 2px 0; color: #14735c; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sm-size { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sm-size[hidden] { display: none; }
.sm-size label { display: grid; gap: 6px; font-size: 13px; color: var(--muted, #65706a); }

.sm-form input[type=tel], .sm-form input[type=number], .sm-form select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #bcc8c0; border-radius: 6px; background: #fff; font: inherit; font-size: 16px; color: var(--ink, #202522); box-sizing: border-box; }
.sm-form input:focus, .sm-form select:focus { outline: 2px solid #14735c; outline-offset: 1px; border-color: #14735c; }

.sm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-chip { position: relative; }
.sm-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sm-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid #bcc8c0; border-radius: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink, #202522); background: #fff; transition: background .15s, border-color .15s, color .15s; }
.sm-chip input:checked + span { background: #0b4c3d; border-color: #0b4c3d; color: #fff; }
.sm-chip input:focus-visible + span { outline: 2px solid #14735c; outline-offset: 2px; }

.sm-submit { width: 100%; justify-content: center; }
.sm-form .form-consent { margin: -6px 0 0; color: var(--muted, #65706a); opacity: 1; }
.sm-form [data-form-error] { margin: 0; color: #b42318; font-size: 14px; }
.sm-form [data-form-error]:empty { display: none; }

.sm-done { text-align: center; padding: 12px 4px 4px; outline: none; }
.sm-done__ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e9f3ef; color: #14735c; font-size: 28px; font-weight: 800; }
.sm-done__h { font-size: 22px; font-weight: 800; margin: 14px 0 6px; color: var(--ink, #202522); }
.sm-done__t { font-size: 17px; margin: 0 0 10px; color: #0b4c3d; font-weight: 600; }
.sm-done__s { font-size: 14px; color: var(--muted, #65706a); margin: 0; }
.sm-done__s a { color: #14735c; white-space: nowrap; }

.sm-direct { margin-top: 18px; padding-top: 16px; border-top: 1px solid #dfe5e1; display: grid; gap: 10px; font-size: 14px; color: var(--muted, #65706a); }
.sm-direct__row { display: flex; gap: 8px; flex-wrap: wrap; }
.sm-direct__btn { flex: 1 1 120px; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid #bcc8c0; border-radius: 6px; color: var(--ink, #202522); font-weight: 600; text-decoration: none; }
.sm-direct__btn:hover { border-color: #14735c; color: #14735c; }

.sm-sec { padding: 56px 0; }
.sm-sec--soft { background: var(--bg-soft, #f4f6f5); }
.sm-h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 0 0 10px; }
.sm-sub { margin: 0 0 24px; color: var(--muted, #65706a); font-size: 15.5px; max-width: 46em; }
.sm-fine { margin: 18px 0 0; font-size: 14px; color: var(--muted, #65706a); max-width: 52em; }

.sm-vars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sm-var { background: #fff; border: 1px solid #dfe5e1; border-radius: 8px; padding: 20px; display: flex; flex-direction: column; }
.sm-var--mid { border-color: #14735c; box-shadow: 0 0 0 1px #14735c inset; }
.sm-var__name { margin: 0; font-weight: 800; font-size: 19px; color: var(--ink, #202522); }
.sm-var__note { margin: 2px 0 14px; color: var(--muted, #65706a); font-size: 14px; }
.sm-var__lines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.sm-var__lines li { display: flex; justify-content: space-between; gap: 12px; }
.sm-var__lines b { white-space: nowrap; font-weight: 600; }
.sm-var__total { margin: auto 0 0; padding-top: 12px; border-top: 1px solid #dfe5e1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sm-var__total b { font-size: 22px; color: #0b4c3d; white-space: nowrap; }

.sm-how { list-style: none; counter-reset: smhow; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sm-how li { counter-increment: smhow; position: relative; padding: 20px 20px 20px 64px; border: 1px solid #dfe5e1; border-radius: 8px; display: grid; gap: 6px; }
.sm-how li::before { content: counter(smhow); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: #0b4c3d; color: #a0e4cd; font-weight: 800; display: grid; place-items: center; }
.sm-how b { font-size: 16.5px; color: var(--ink, #202522); }
.sm-how span { font-size: 14.5px; color: var(--ink-2, #424944); line-height: 1.5; }

.sm-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.sm-work { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.sm-work img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 6px; background: #e9f3ef; }
.sm-work__t { font-weight: 700; font-size: 15.5px; color: var(--ink, #202522); }
.sm-work__p { font-size: 14px; color: var(--muted, #65706a); }
.sm-more { display: inline-block; margin-top: 18px; color: #14735c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.sm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.sm-prices { list-style: none; margin: 16px 0 0; padding: 0; }
.sm-prices li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #dfe5e1; font-size: 15px; }
.sm-prices b { white-space: nowrap; color: #0b4c3d; }
.sm-perks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sm-perks li { border: 1px solid #dfe5e1; border-radius: 8px; padding: 16px; display: grid; gap: 4px; }
.sm-perks b { font-size: 20px; color: #0b4c3d; }
.sm-perks span { font-size: 14px; color: var(--ink-2, #424944); }
.sm-perks a { color: #14735c; }

.sm-narrow { max-width: 820px; }
.sm-faq { border-bottom: 1px solid #dfe5e1; }
.sm-faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; font-size: 16px; position: relative; color: var(--ink, #202522); }
.sm-faq summary::-webkit-details-marker { display: none; }
.sm-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: #14735c; font-weight: 600; }
.sm-faq[open] summary::after { content: "–"; }
.sm-faq p { margin: 0 0 16px; color: var(--ink-2, #424944); line-height: 1.55; font-size: 15px; }
.sm-final { margin-top: 28px; text-align: center; }

@media (max-width: 1024px) {
  .sm-hero__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sm-hero__copy { padding-top: 0; }
  .sm-card { max-width: 640px; }
  .sm-how { grid-template-columns: minmax(0, 1fr); }
  .sm-two { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 720px) {
  .page-smeta .sm-hero { padding: 20px 0 32px; }
  .sm-hero__h { font-size: 27px; margin: 12px 0 10px; }
  .sm-hero__lead { font-size: 15.5px; margin-bottom: 0; }
  .sm-ticks { display: none; }
  .sm-card { padding: 18px 16px; }
  .sm-chips { gap: 6px; flex-wrap: nowrap; }
  .sm-chip { flex: 1 1 auto; }
  .sm-chip span { width: 100%; justify-content: center; padding: 8px 6px; font-size: 14px; }
  .sm-sec { padding: 40px 0; }
  .sm-vars { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sm-works { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .sm-work { scroll-snap-align: start; }
  .sm-perks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sm-perks b { font-size: 17px; }
}
@media (max-width: 380px) {
  .sm-chips { flex-wrap: wrap; }
  .sm-size { grid-template-columns: minmax(0, 1fr); }
  .sm-perks { grid-template-columns: minmax(0, 1fr); }
}
