.calc-intro {
  padding: 1.35rem 0 clamp(3.7rem, 7vw, 6.1rem);
  background: radial-gradient(ellipse at 74% 0%, #33493b 0, transparent 63%), var(--forest-deep);
  color: var(--canvas);
}
.calc-breadcrumb { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: clamp(1.35rem, 3vw, 2.4rem); color: #e0e7db; font-size: .875rem; }
.calc-breadcrumb a { text-decoration: underline; text-underline-offset: .2em; }
.calc-intro-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 1rem 2rem; align-items: end; }
.calc-intro h1 { font: 700 clamp(2.45rem, 5.4vw, 5.3rem)/.98 var(--body); letter-spacing: -.065em; }
.calc-intro h1 em { display: block; margin-top: .15em; color: var(--sand); font: italic 400 1.12em/.92 var(--display); letter-spacing: -.018em; }
.calc-intro p { max-width: 23rem; margin-bottom: .12rem; color: #e1e9dd; }

.calc-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: start;
  gap: clamp(1.25rem, 3.4vw, 3.4rem);
  margin-top: clamp(-3.2rem, -3.5vw, -1.9rem);
  margin-bottom: clamp(3.45rem, 7vw, 6rem);
}
.btr-calculator [hidden] { display: none; }
.calc-builder {
  min-width: 0;
  padding: clamp(1rem, 3.05vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: var(--canvas);
  box-shadow: 0 1rem 2.1rem #1b25160c;
}
.calc-config { display: grid; gap: 1.24rem; margin-top: 1.24rem; padding-top: 1.12rem; border-top: 1px solid var(--line); }
.calc-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.calc-fieldset legend { margin-bottom: .48rem; padding: 0; font-weight: 700; font-size: .97rem; }
.calc-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .48rem; }
.calc-choice { position: relative; display: grid; cursor: pointer; }
.calc-choice input, .calc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.calc-choice-body {
  min-height: 4.28rem;
  display: flex;
  align-items: center;
  gap: clamp(.55rem, 1.25vw, .85rem);
  padding: .58rem .72rem;
  border: 1px solid var(--line);
  border-radius: .64rem;
  line-height: 1.3;
  transition: border-color .18s ease, background-color .18s ease;
}
.calc-choice input:checked + .calc-choice-body { border-color: #5c775f; background: #e9f0db; box-shadow: inset 0 0 0 1px #5c775f; }
.calc-choice:hover .calc-choice-body { border-color: #5c775f; }
.calc-choice input:focus-visible + .calc-choice-body { outline: 3px solid #699843; outline-offset: 2px; }
.calc-kind .calc-choice-body { min-height: 4.75rem; }
.calc-choice strong { display: block; font-size: .93rem; }
.calc-choice small, .calc-extra small { display: block; margin-top: .16rem; color: var(--muted); font-size: .8rem; line-height: 1.32; }
.calc-kind-icon {
  position: relative;
  width: 2.15rem;
  height: 1.62rem;
  flex: 0 0 auto;
  border: 1.5px solid #587455;
  border-radius: 50%;
  background: #cddabd;
}
.calc-kind-icon::before { position: absolute; inset: .25rem; border: 1px solid #587455; border-radius: inherit; content: ""; }
.calc-kind-square { border-radius: .42rem; }

.calc-size-art { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; flex: 0 0 auto; }
.calc-size-art > span {
  display: block;
  position: relative;
  width: 90.909%;
  height: 90.909%;
  border: 1.4px solid #688064;
  border-radius: 50%;
  background: radial-gradient(circle, #e3edd5 0 52%, #cedbc1 53%);
}
.calc-size-xl > span { width: 100%; height: 100%; }
.calc-size-art > span::before,
.calc-size-art > span::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "";
}
.calc-size-art > span::before { inset-inline: -.14rem; border-block-start: 1px dashed #688064; }
.calc-size-art > span::after { left: calc(50% - .14rem); width: .28rem; height: .28rem; border-radius: 50%; background: #587455; }

.calc-extra {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .62rem;
  padding: .72rem;
  border: 1px solid var(--line);
  border-radius: .64rem;
  line-height: 1.3;
  cursor: pointer;
}
.calc-extra:has(input:checked) { border-color: #5c775f; background: #e9f0db; }
.calc-extra input { margin: 0; width: 1.14rem; height: 1.14rem; accent-color: #3a593f; cursor: pointer; }
.calc-extra input:focus-visible { outline: 3px solid #699843; outline-offset: 3px; }
.calc-extra-price { font-size: .875rem; font-weight: 700; white-space: nowrap; }
.calc-included { color: var(--muted); font-size: .875rem; }
.calc-u2 { display: grid; justify-items: start; gap: .47rem; }
.calc-u2 span { color: var(--muted); }
.calc-u2 a { font-size: .875rem; }

.calc-summary {
  min-width: 0;
  position: sticky;
  top: 1.25rem;
  overflow: hidden;
  border: 1px solid #52715648;
  border-radius: 1.05rem;
  color: var(--canvas);
  background: var(--forest-deep);
  box-shadow: 0 1.45rem 2.9rem #19241b20;
  scroll-margin-top: 1rem;
}
.calc-preview { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.81; background: #2b3e31; }
.calc-preview::after { position: absolute; inset: 55% 0 0; z-index: 1; background: linear-gradient(0deg, #101b13c9, transparent); content: ""; pointer-events: none; }
.calc-preview img { height: 100%; object-fit: cover; object-position: center 63%; }
.calc-photo-details {
  display: flex;
  position: absolute;
  inset: auto .65rem .65rem;
  z-index: 2;
  gap: .38rem;
  flex-wrap: wrap;
  align-items: center;
}
.calc-photo-note { position: absolute; z-index: 2; top: .65rem; right: .65rem; padding: .24rem .48rem; border-radius: .32rem; background: #19241ff2; font-size: .75rem; line-height: 1.2; }
.calc-photo-details span { padding: .32rem .56rem; border: 1px solid #e0e5cf60; border-radius: .42rem; background: #19241ff2; font-size: .83rem; font-weight: 700; line-height: 1.2; }
.calc-quote { padding: clamp(1rem, 2.25vw, 1.8rem); }
.calc-quote h2 { color: var(--canvas); font-size: clamp(2.2rem, 4vw, 3.45rem); }
.calc-model-note { margin-top: .38rem; color: #dbe2d7; font-size: .9rem; }
.calc-costs { margin-top: 1rem; }
.calc-costs > div { display: flex; justify-content: space-between; align-items: baseline; gap: .45rem 1rem; padding-block: .4rem; border-top: 1px solid #e0e5d335; font-size: .9rem; }
.calc-costs dt { color: #e1e7dc; }
.calc-costs dd { font-weight: 700; white-space: nowrap; }
.calc-costs > .calc-total { padding-block: .63rem .58rem; }
.calc-total dd { color: var(--sand); font-size: clamp(1.48rem, 3vw, 2.15rem); line-height: 1.15; }
.calc-quote-button { margin-top: .45rem; }
.calc-contact { margin-left: .75rem; color: var(--sand); font-size: .875rem; }
.calc-mobile-quote { display: none; }

@media (max-width: 56rem) {
  .calc-layout { gap: 1rem; }
  .calc-kind .calc-choice-body { flex-direction: column; align-items: start; justify-content: space-between; }
  .calc-size .calc-choice-body { gap: .32rem; }
  .calc-size-art { width: 2.45rem; height: 2.45rem; }
  .calc-contact { display: block; margin: .66rem 0 0; }
}
@media (max-width: 44rem) {
  .calc-intro-grid, .calc-layout { grid-template-columns: 1fr; }
  .calc-intro p { max-width: 28rem; }
  .calc-summary { position: static; }
  .calc-kind .calc-choice-body { min-height: 4.4rem; flex-direction: row; align-items: center; justify-content: start; }
  .calc-mobile-quote {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    position: sticky;
    bottom: .55rem;
    margin-top: 1rem;
    padding: .64rem .72rem;
    border: 1px solid #ffffff28;
    border-radius: .5rem;
    background: var(--forest);
    color: var(--canvas);
    box-shadow: 0 .25rem .9rem #14211736;
    font-size: .9rem;
  }
  .calc-mobile-quote strong { color: var(--sand); white-space: nowrap; }
  .calc-preview { aspect-ratio: 1.57; }
}
@media (max-width: 26rem) {
  .calc-kind .calc-choice-body { flex-direction: column; align-items: start; }
  .calc-choice-body { padding-inline: .54rem; }
  .calc-size .calc-choice-body { flex-wrap: wrap; }
  .calc-size-art { width: 2rem; height: 2rem; }
  .calc-extra { gap: .48rem; }
}
@media (prefers-reduced-motion: reduce) {
  .calc-choice-body { transition: none; }
}
