
/* Оформление внутренней части страницы сотового поликарбоната */
#bst-u-main .cell {
  --cell-green: #153e30;
  --cell-muted: #435d50;
  --cell-edge: #c7d4bf;
  --cell-mist: #edf1e3;
  --cell-paper: #fcfcf8;
  --cell-gold: #f3c71e;
  padding-block: clamp(48px, 5vw, 85px);
  color: var(--cell-green);
}

#bst-u-main .cell--tint { background: var(--cell-mist); }
#bst-u-main .cell [hidden] { display: none !important; }
.cell .cell__heading { max-width: 1040px; margin: 0 0 24px; }
.cell .cell__heading h2 { margin: 0; max-width: 1040px; font-size: clamp(30px, 3.7vw, 54px); line-height: 1.12; text-wrap: balance; }
.cell .cell__heading h2 span { color: #826800; }
.cell .cell__heading > p { margin: 12px 0 0; max-width: 700px; font-size: clamp(16px, 1.6vw, 19px); color: var(--cell-muted); }
.cell .cell__explorer { border: 1px solid var(--cell-edge); border-radius: 18px; background: var(--cell-paper); overflow: hidden; }
.cell .cell__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; background: #e5ecda; }
.cell .cell__tabs button {
  min-height: 46px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--cell-green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.cell .cell__tabs button[aria-selected="true"] { background: var(--cell-green); color: #fff; border-bottom: 3px solid var(--cell-gold); }
.cell .cell__tabs button[aria-selected="false"]:hover { background: #f5f7ee; }
.cell .cell__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(16px,3vw,43px);
  align-items: center;
  padding: clamp(12px,2vw,22px);
}
.cell .cell__panel + .cell__panel { border-top: 1px solid var(--cell-edge); }
.cell .cell__figure { margin: 0; border-radius: 12px; overflow: hidden; background: #e6ecdd; }
.cell .cell__figure img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; }
.cell .cell__figure figcaption { padding: 9px 12px; color: var(--cell-green); font-size: 13px; }
.cell .cell__body { max-width: 490px; padding: clamp(3px,2vw,15px); }
.cell h3 { margin: 0 0 10px; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.24; color: inherit; }
.cell .cell__body p { margin: 0 0 14px; }
.cell .cell__tip { padding: 12px 13px; border-left: 3px solid #d6a912; border-radius: 0 7px 7px 0; background: #f1f3e8; font-weight: 690; }
.cell .cell__button {
  display: inline-flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid #bd940b;
  border-radius: 8px;
  background: var(--cell-gold);
  color: #15352a;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
}
.cell .cell__button:hover { background: #ffda46; }
.cell .cell__feedback { margin: 8px 0 0; font-weight: 700; }
.cell .cell__feedback:empty { display: none; }
.cell :is(button, summary, a, input, select):focus-visible { outline: 3px solid #7d6012; outline-offset: 3px; }
.cell .cell__estimate { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); border: 1px solid var(--cell-edge); border-radius: 18px; overflow: hidden; background: var(--cell-paper); }
.cell .cell__estimate-preview { padding: clamp(12px,2vw,22px); background: var(--cell-green); color: #fff; }
.cell .cell__estimate-note { padding: 19px 6px 2px; }
.cell .cell__estimate-note p { margin: 0 0 9px; color: #f0f4eb; }
.cell .cell__text-link { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 4px; font-weight: 800; color: #ffdb54; }
.cell .cell__estimate-fields { padding: clamp(18px,3.1vw,34px); }
.cell .cell__fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.cell .cell__fields label { display: grid; align-content: start; gap: 5px; min-width: 0; color: var(--cell-green); font-weight: 800; }
.cell .cell__fields :is(input, select) { display: block; min-height: 46px; width: 100%; min-width: 0; padding: 7px 9px; border: 1px solid #829686; border-radius: 8px; background: #fff; color: var(--cell-green); font: inherit; font-size: 16px; }
.cell .cell__full { grid-column: 1 / -1; }
.cell .cell__checks { margin: 18px 0 14px; padding: 0; border: 0; }
.cell .cell__checks legend { margin: 0 0 5px; font-weight: 800; }
.cell .cell__checks label { display: flex; align-items: center; gap: 9px; min-height: 44px; cursor: pointer; }
.cell .cell__checks input { width: 19px; height: 19px; margin: 0; accent-color: var(--cell-green); }
.cell .cell__estimate-summary { margin: 0 0 15px; padding: 10px 12px; border-radius: 8px; background: var(--cell-mist); overflow-wrap: anywhere; }
.cell .cell__faq { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(14px,2.8vw,36px); }
.cell .cell__faq-visual .cell__button { margin-top: 13px; }
.cell .cell__faq-items { display: grid; align-content: start; gap: 8px; min-width: 0; }
.cell .cell__faq-items details { border: 1px solid var(--cell-edge); border-radius: 10px; background: var(--cell-paper); }
.cell .cell__faq-items details[open] { background: var(--cell-green); color: #fff; border-color: var(--cell-green); }
.cell .cell__faq-items summary { min-height: 46px; padding: 12px 18px; font-weight: 800; cursor: pointer; }
.cell .cell__faq-items p { margin: 0; padding: 0 18px 16px; }
.cell .cell__services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.cell .cell__service { display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--cell-edge); border-radius: 12px; overflow: hidden; background: var(--cell-paper); color: var(--cell-green); text-decoration: none; }
.cell .cell__service:hover { border-color: var(--cell-green); }
.cell .cell__service img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cell .cell__service > div { display: flex; flex-direction: column; padding: 15px; }
.cell .cell__service h3 { font-size: clamp(17px,1.6vw,22px); }
.cell .cell__service p { margin: 0 0 12px; }
.cell .cell__service span { margin-top: auto; text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
@media (max-width: 760px) {
  .cell .cell__panel, .cell .cell__estimate, .cell .cell__faq { grid-template-columns: 1fr; }
  .cell .cell__body { max-width: none; padding: 4px; }
  .cell .cell__faq-visual { display: grid; grid-template-columns: 1fr; }
  .cell .cell__services { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .cell .cell__tabs { padding: 5px; gap: 3px; }
  .cell .cell__tabs button { padding: 6px 4px; font-size: 13px; line-height: 1.22; }
  .cell .cell__fields { grid-template-columns: 1fr; }
  .cell .cell__button { width: 100%; }
}
