.calculator-page {
  background:
    radial-gradient(
      circle at 85% 2%,
      rgba(216, 229, 105, 0.16),
      transparent 28rem
    ),
    radial-gradient(
      circle at 4% 20%,
      rgba(189, 104, 74, 0.09),
      transparent 26rem
    ),
    var(--paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.route-language-switch .language-btn {
  display: grid;
  place-items: center;
}

.calculator-hero {
  display: grid;
  min-height: 730px;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding-top: 142px;
  padding-bottom: 76px;
}

.calculator-hero__copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.5rem, 6.1vw, 6.5rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.calculator-hero__copy h1 em,
.calculator-contact h2 em {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.calculator-hero__lead {
  max-width: 660px;
  margin: 28px 0 31px;
  color: #586762;
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.calculator-hero__visual {
  position: relative;
  display: grid;
  min-height: 505px;
  align-content: center;
  gap: 14px;
  padding: 72px 54px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--forest);
  box-shadow: var(--shadow-lg);
  color: #fff;
  isolation: isolate;
}

.calculator-hero__visual::before,
.calculator-hero__visual::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.calculator-hero__visual::before {
  top: -90px;
  right: -70px;
  width: 290px;
  height: 290px;
  border: 54px solid rgba(216, 229, 105, 0.22);
}

.calculator-hero__visual::after {
  right: 28px;
  bottom: -100px;
  width: 235px;
  height: 235px;
  background: rgba(189, 104, 74, 0.34);
  filter: blur(1px);
}

.calculator-hero__orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.calculator-hero__card {
  display: grid;
  min-height: 92px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 44px rgba(7, 22, 18, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.calculator-hero__card:nth-child(3) {
  margin-left: 34px;
}

.calculator-hero__card span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--citrus);
  color: var(--forest-3);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.calculator-hero__card strong {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.25;
}

.calculator-section {
  padding: 108px 0 118px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.34)),
    var(--paper-deep);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.72fr);
  align-items: start;
  gap: 28px;
}

.calculator-panel {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(23, 43, 39, 0.1);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.calculator-panel__head {
  max-width: 720px;
  margin-bottom: 14px;
}

.calculator-panel__head h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.3vw, 4.3rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1;
}

.calculator-panel__head > p:last-child {
  max-width: 650px;
  margin: 17px 0 0;
  color: var(--muted);
}

.calc-group {
  min-width: 0;
  margin: 0;
  padding: 34px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.calc-group legend,
.calc-group__heading label {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.calc-group__hint {
  margin: -9px 0 17px;
  color: var(--muted);
  font-size: 0.78rem;
}

.calc-group--packages {
  padding-bottom: 25px;
  border-bottom: 0;
}

.calculator-details {
  overflow: hidden;
  border: 1px solid rgba(23, 43, 39, 0.13);
  border-radius: 20px;
  background: #fbfaf7;
  box-shadow: 0 10px 28px rgba(24, 58, 52, 0.045);
}

.calculator-details > summary {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.calculator-details > summary::-webkit-details-marker {
  display: none;
}

.calculator-details > summary:hover,
.calculator-details[open] > summary {
  background: var(--sage-soft);
}

.calculator-details > summary:focus-visible {
  outline: 3px solid rgba(189, 104, 74, 0.58);
  outline-offset: -3px;
}

.calculator-details__summary-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.calculator-details__summary-copy strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.calculator-details__summary-copy small {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

.calculator-details__chevron {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
}

.calculator-details__chevron svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 0.22s ease;
}

.calculator-details[open] .calculator-details__chevron svg {
  transform: rotate(180deg);
}

.calculator-details__body {
  padding: 0 20px 8px;
  border-top: 1px solid rgba(23, 43, 39, 0.1);
  background: #fff;
  animation: calculator-details-reveal 0.24s ease;
}

.calculator-details__body > .calc-group:first-child {
  padding-top: 28px;
}

@keyframes calculator-details-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calc-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calc-package {
  position: relative;
  display: grid;
  min-height: 142px;
  align-content: start;
  gap: 15px;
  padding: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(23, 43, 39, 0.13);
  border-radius: 19px;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.calc-package:hover {
  transform: translateY(-2px);
  border-color: rgba(189, 104, 74, 0.52);
}

.calc-package.is-selected {
  border-color: var(--clay);
  background: var(--clay-soft);
  box-shadow: 0 14px 30px rgba(77, 43, 30, 0.1);
}

.calc-package:focus-within {
  outline: 3px solid rgba(189, 104, 74, 0.65);
  outline-offset: 3px;
}

.calc-package > input,
.calc-colour > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.calc-package__badge {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--forest);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.calc-package:last-child .calc-package__badge {
  width: auto;
  padding-inline: 9px;
  background: var(--clay);
}

.calc-package__content {
  display: grid;
  gap: 5px;
}

.calc-package__content strong {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.calc-package__content small {
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.4;
}

.calc-colours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.calc-colour {
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid rgba(23, 43, 39, 0.13);
  border-radius: 17px;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.calc-colour:hover {
  transform: translateY(-2px);
}

.calc-colour.is-selected {
  border-color: var(--forest-2);
  background: var(--sage-soft);
}

.calc-colour:focus-within {
  outline: 3px solid rgba(189, 104, 74, 0.65);
  outline-offset: 3px;
}

.calc-colour__dot {
  width: 26px;
  height: 26px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #f3eee4;
  box-shadow: 0 0 0 1px rgba(23, 43, 39, 0.16);
}

.calc-colour__dot--2 {
  background: #d7b49e;
}

.calc-colour__dot--3 {
  background: #9bb3ad;
}

.calc-colour__dot--4 {
  background: #273c38;
}

.calc-colour strong {
  font-size: 0.92rem;
  font-weight: 850;
}

.calc-group__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.calc-group__heading label {
  margin-bottom: 1px;
}

.calc-group__heading small {
  display: block;
  color: var(--muted);
  font-size: 0.79rem;
}

.area-input {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.area-input:focus-within {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(189, 104, 74, 0.1);
}

.area-input input {
  width: 76px;
  padding: 2px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--forest);
  font-size: 1.45rem;
  font-weight: 850;
  text-align: right;
}

.area-input span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.area-range {
  width: 100%;
  height: 8px;
  margin: 9px 0 0;
  border-radius: 999px;
  outline: 0;
  background: linear-gradient(90deg, var(--clay), var(--citrus));
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.area-range::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--forest);
  box-shadow:
    0 0 0 1px var(--forest),
    0 5px 14px rgba(24, 58, 52, 0.25);
  cursor: grab;
  appearance: none;
  -webkit-appearance: none;
}

.area-range::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--forest);
  box-shadow:
    0 0 0 1px var(--forest),
    0 5px 14px rgba(24, 58, 52, 0.25);
  cursor: grab;
}

.area-range:focus-visible {
  box-shadow: 0 0 0 4px rgba(189, 104, 74, 0.22);
}

.area-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: #7a8581;
  font-size: 0.7rem;
  font-weight: 700;
}

.calc-options {
  display: grid;
  gap: 10px;
}

.calc-options--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calc-options--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-options--preparation {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calc-option {
  position: relative;
  display: grid;
  min-height: 92px;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1.5px solid rgba(23, 43, 39, 0.13);
  border-radius: 17px;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.calc-option:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 82, 73, 0.4);
}

.calc-option.is-selected {
  border-color: var(--forest-2);
  background: var(--sage-soft);
  box-shadow: 0 10px 25px rgba(24, 58, 52, 0.08);
}

.calc-option:focus-within {
  outline: 3px solid rgba(189, 104, 74, 0.65);
  outline-offset: 3px;
}

.calc-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.calc-option__indicator {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1.5px solid rgba(23, 43, 39, 0.25);
  border-radius: 50%;
  background: #fff;
}

.calc-option.is-selected .calc-option__indicator {
  border: 6px solid var(--forest);
}

.calc-option__content {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.calc-option__content strong,
.calc-extra__content strong,
.calc-extra__content label {
  font-size: 0.91rem;
  font-weight: 830;
  line-height: 1.25;
}

.calc-option__content small,
.calc-extra__content small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.calc-extras {
  display: grid;
  gap: 10px;
}

.calc-extra {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 15px;
  border: 1.5px solid rgba(23, 43, 39, 0.13);
  border-radius: 17px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.calc-extra.is-selected {
  border-color: var(--forest-2);
  background: var(--sage-soft);
  box-shadow: 0 10px 25px rgba(24, 58, 52, 0.07);
}

.calc-extra__toggle {
  display: grid;
  width: 100%;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 13px;
  cursor: pointer;
}

.calc-extra__toggle > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.calc-extra__toggle:focus-within {
  outline: 3px solid rgba(189, 104, 74, 0.65);
  outline-offset: 7px;
  border-radius: 10px;
}

.calc-extra__check {
  position: relative;
  width: 23px;
  height: 23px;
  border: 1.5px solid rgba(23, 43, 39, 0.25);
  border-radius: 7px;
  background: #fff;
}

.calc-extra.is-selected .calc-extra__check {
  border-color: var(--forest);
  background: var(--forest);
}

.calc-extra.is-selected .calc-extra__check::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.calc-extra__content {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.calc-extra__quantity {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.calc-extra__quantity input {
  width: 66px;
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.calc-extra__quantity span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.calc-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.calc-select-field,
.calc-customer-type {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.calc-select-field > span,
.calc-customer-type legend {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 850;
}

.calc-select-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 43px 0 15px;
  border: 1.5px solid rgba(23, 43, 39, 0.17);
  border-radius: 14px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
}

.calc-select-field select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(189, 104, 74, 0.1);
}

.calc-customer-type label {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.77rem;
  font-weight: 750;
  cursor: pointer;
}

.calc-customer-type input {
  accent-color: var(--forest);
}

.calculator-reset {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 800;
  cursor: pointer;
}

.calculator-reset:hover {
  color: var(--clay);
}

.calculator-reset svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.calculator-result {
  position: sticky;
  top: 108px;
  overflow: hidden;
  padding: clamp(27px, 3vw, 38px);
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 96% 2%,
      rgba(216, 229, 105, 0.18),
      transparent 16rem
    ),
    var(--forest-3);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.calculator-result::after {
  position: absolute;
  right: -82px;
  bottom: -112px;
  width: 230px;
  height: 230px;
  border: 40px solid rgba(189, 104, 74, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.calculator-result > * {
  position: relative;
  z-index: 1;
}

.calculator-result__eyebrow {
  margin: 0 0 13px;
  color: var(--citrus);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calculator-result__range > span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
}

.calculator-result__range h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 7px 0 4px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.calculator-result__range h2 small {
  color: var(--citrus);
  font-size: 0.65em;
}

.calculator-result__range p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.calculator-result__range p strong {
  color: #fff;
}

.result-tax {
  display: grid;
  gap: 2px;
  margin-top: 13px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.result-tax p {
  margin: 0;
}

.result-tax.is-business {
  border-color: rgba(216, 229, 105, 0.28);
}

.calculator-result__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 23px;
}

.calculator-result__meta div {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 4px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.calculator-result__meta div:first-child {
  grid-column: 1 / -1;
}

.calculator-result__meta small {
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.66rem;
  line-height: 1.35;
}

.calculator-result__meta strong {
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.25;
}

.calculator-result__breakdown {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.result-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.4;
}

.result-line span {
  min-width: 0;
}

.result-line strong {
  flex: 0 0 auto;
  color: #fff;
}

.result-line--muted {
  color: rgba(255, 255, 255, 0.48);
}

.result-subheading {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.minimum-note {
  margin: 8px 0 0;
  color: var(--citrus);
  font-size: 0.7rem;
  font-weight: 750;
}

.minimum-note strong {
  color: #fff;
}

.minimum-note--urgent {
  color: #ffd9c7;
}

.calculator-result__cta {
  margin-top: 23px;
}

.calculator-result__photos {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.69rem;
  line-height: 1.5;
  text-align: center;
}

.calculator-result__disclaimer {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.65rem;
  line-height: 1.55;
}

.calculation-method {
  background: var(--paper);
}

.calculation-method__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.calculation-method__grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.calculation-method__grid article > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 56px;
  border-radius: 15px;
  background: var(--sage-soft);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.calculation-method__grid article:nth-child(2) > span {
  background: var(--clay-soft);
  color: #743923;
}

.calculation-method__grid article:nth-child(3) > span {
  background: var(--citrus);
}

.calculation-method__grid h3 {
  margin: 0 0 9px;
  font-size: 1.24rem;
  letter-spacing: -0.035em;
}

.calculation-method__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.calculator-faq {
  background: var(--surface);
}

.calculator-contact {
  padding: 0 0 92px;
  background: var(--surface);
}

.calculator-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  align-items: center;
  gap: 50px;
  padding: clamp(34px, 5vw, 65px);
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 92% 0,
      rgba(216, 229, 105, 0.18),
      transparent 18rem
    ),
    var(--forest);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.calculator-contact h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.calculator-contact h2 em {
  color: #fff;
}

.calculator-contact__panel > div:first-child > p:last-child {
  max-width: 670px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.calculator-contact__actions {
  display: grid;
  gap: 10px;
}

.calculator-page .footer__bottom > span:last-child {
  color: var(--muted);
  font-size: 0.74rem;
}

@media (max-width: 1120px) {
  .calculator-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
    gap: 44px;
  }

  .calculator-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .calculator-contact__panel {
    grid-template-columns: 1fr;
  }

  .calculator-contact__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 920px) {
  .calculator-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 154px;
  }

  .calculator-hero__copy {
    max-width: 760px;
  }

  .calculator-hero__visual {
    min-height: 420px;
  }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calculator-result {
    position: static;
  }

  .calculation-method__grid {
    grid-template-columns: 1fr;
  }

  .calculation-method__grid article {
    min-height: 0;
  }

  .calculation-method__grid article > span {
    margin-bottom: 30px;
  }
}

@media (max-width: 680px) {
  .calculator-hero {
    width: min(calc(100% - 28px), var(--container));
    padding-top: 132px;
    padding-bottom: 52px;
  }

  .calculator-hero__copy h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .calculator-hero__visual {
    min-height: 360px;
    padding: 45px 20px;
    border-radius: 26px;
  }

  .calculator-hero__card {
    min-height: 78px;
    grid-template-columns: 42px 1fr;
    padding: 13px;
  }

  .calculator-hero__card:nth-child(3) {
    margin-left: 0;
  }

  .calculator-hero__card span {
    width: 42px;
    height: 42px;
  }

  .calculator-section {
    padding: 70px 0 76px;
  }

  .calculator-section .section-shell,
  .calculator-contact .section-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .calculator-panel,
  .calculator-result {
    padding: 25px 18px;
    border-radius: 25px;
  }

  .calculator-panel__head h2 {
    font-size: 2.65rem;
  }

  .calc-group {
    padding: 27px 0;
  }

  .calculator-details > summary {
    min-height: 76px;
    gap: 14px;
    padding: 16px;
  }

  .calculator-details__body {
    padding-inline: 14px;
  }

  .calc-group__heading {
    align-items: flex-end;
    gap: 12px;
  }

  .area-input {
    padding-inline: 10px;
  }

  .area-input input {
    width: 61px;
    font-size: 1.26rem;
  }

  .calc-options--two,
  .calc-options--three,
  .calc-options--preparation {
    grid-template-columns: 1fr;
  }

  .calc-packages {
    grid-template-columns: 1fr;
  }

  .calc-package {
    min-height: 0;
    grid-template-columns: 42px 1fr;
    align-items: center;
  }

  .calc-colours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-location-grid {
    grid-template-columns: 1fr;
  }

  .calc-option {
    min-height: 78px;
  }

  .calc-extra {
    align-items: flex-start;
  }

  .calc-extra__quantity {
    align-self: center;
  }

  .calculator-result__range h2 {
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  .calculator-result__meta {
    grid-template-columns: 1fr;
  }

  .calculator-result__meta div:first-child {
    grid-column: auto;
  }

  .calculator-contact {
    padding-bottom: 70px;
  }

  .calculator-contact__panel {
    gap: 32px;
    padding: 36px 22px;
    border-radius: 25px;
  }

  .calculator-contact h2 {
    font-size: 2.75rem;
  }

  .calculator-contact__actions {
    display: grid;
  }

  .calculator-contact__actions .btn {
    width: 100%;
  }

  .calculator-page .footer__bottom {
    align-items: flex-start;
    gap: 7px;
  }

  .calculator-page .mobile-actions a {
    padding-inline: 8px;
    font-size: 0.76rem;
  }
}

@media (max-width: 390px) {
  .calc-group__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .area-input {
    width: fit-content;
  }

  .calc-extra {
    align-items: stretch;
    flex-direction: column;
  }

  .calc-colours {
    grid-template-columns: 1fr 1fr;
  }

  .calc-extra__quantity {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calc-option,
  .calculator-hero__card {
    transition: none;
  }

  .calculator-details__body {
    animation: none;
  }

  .calculator-details__chevron svg,
  .calculator-details > summary {
    transition: none;
  }

  .calc-option:hover {
    transform: none;
  }
}
