:root {
  --page: #1f2b3d;
  --page-deep: #1b2636;
  --panel: rgba(48, 62, 82, 0.78);
  --field: #3a4659;
  --field-dark: #303b4d;
  --line: rgba(210, 220, 235, 0.16);
  --line-strong: rgba(210, 220, 235, 0.28);
  --text: #eef3fa;
  --muted: #aab4c3;
  --blue: #7ab4ff;
  --blue-deep: #51689d;
  --green: #38c2a0;
  --danger: #ffb2a3;
  --shadow: 0 22px 70px rgba(4, 10, 20, 0.26);
  --mobile-nav-bottom-offset: 0px;
  --mobile-nav-height: 0px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 50%, rgba(56, 194, 160, 0.22), transparent 1.1rem),
    radial-gradient(circle at 73% 30%, rgba(93, 126, 180, 0.22), transparent 0.35rem),
    radial-gradient(circle at 96% 44%, rgba(93, 126, 180, 0.24), transparent 0.32rem),
    linear-gradient(180deg, var(--page-deep) 0%, var(--page) 42%, #26364a 100%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

input[type="number"] {
  appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.number-control {
  align-items: center;
  background: var(--field);
  border: 1px solid rgba(210, 220, 235, 0.16);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  min-height: 42px;
  overflow: hidden;
}

.number-control input {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 40px;
  padding: 8px 8px;
  text-align: center;
}

.number-control input:focus {
  box-shadow: none;
}

.number-control:focus-within {
  border-color: rgba(122, 180, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(122, 180, 255, 0.12);
}

.number-step {
  align-items: center;
  align-self: stretch;
  background: rgba(122, 180, 255, 0.1);
  border: 0;
  color: rgba(238, 243, 250, 0.88);
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  padding: 0;
  transition:
    background 140ms ease,
    color 140ms ease;
}

.number-step:hover {
  background: rgba(122, 180, 255, 0.18);
  color: #ffffff;
}

.topbar {
  align-items: center;
  background: rgba(245, 247, 250, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  display: flex;
  justify-content: flex-start;
  left: 50%;
  max-width: 960px;
  padding: 8px 16px;
  position: fixed;
  top: 16px;
  transform: translateX(-50%);
  width: calc(100% - 42px);
  z-index: 20;
  backdrop-filter: blur(10px);
}

.brand {
  align-items: center;
  display: flex;
  min-width: max-content;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
  width: 132px;
}

main {
  margin: 0 auto;
  max-width: 1200px;
  padding: 104px clamp(18px, 4vw, 40px) 70px;
  width: 100%;
}

.intro {
  display: block;
  margin: 0 auto;
  max-width: 1050px;
  padding: 0 0 34px;
  text-align: center;
}

.intro-copy {
  margin: 0 auto;
}

.eyebrow,
.summary-kicker,
.step-label {
  color: var(--blue);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 3.7vw, 3.45rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 auto 24px;
  max-width: 930px;
}

h1 span {
  color: var(--blue);
}

.intro p,
.section-heading p,
.muted {
  color: rgba(238, 243, 250, 0.78);
  line-height: 1.65;
}

.intro p {
  font-size: clamp(0.94rem, 1.45vw, 1.08rem);
  font-weight: 600;
  margin: 0 auto;
  max-width: 820px;
}

.intro-panel {
  display: none;
}

body.has-started-calculator .intro,
body.has-started-calculator .section-heading {
  display: none;
}

.calculator-shell {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin: 0 auto;
  max-width: 1120px;
  min-width: 0;
  width: 100%;
}

.wizard,
.summary-card {
  background: rgba(36, 49, 68, 0.62);
  border: 1px solid transparent;
  border-radius: 10px;
}

.wizard {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
}

.summary-card {
  box-shadow: var(--shadow);
  padding: 24px;
}

.section-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 22px;
}

.section-heading span {
  color: #ffffff;
  font-size: clamp(0.92rem, 1.45vw, 1.12rem);
  font-weight: 800;
}

.section-heading h2 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.55vw, 2.05rem);
  font-weight: 500;
  margin: 10px 0 12px;
}

.progress {
  background: rgba(238, 243, 250, 0.12);
  border-radius: 999px;
  height: 8px;
  margin-bottom: 30px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--blue), #9cc7ff);
  height: 100%;
  transition: width 180ms ease;
  width: 14%;
}

.step {
  display: none;
  min-width: 0;
}

.step.is-active {
  display: block;
}

.step h3 {
  color: #ffffff;
  font-size: clamp(1.12rem, 1.8vw, 1.48rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 10px;
}

.option-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

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

.choice-card {
  align-items: flex-start;
  background: var(--field-dark);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 28px 1fr;
  min-height: 112px;
  padding: 18px 20px;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.choice-card__check {
  align-items: center;
  background: rgba(238, 243, 250, 0.08);
  border: 2px solid rgba(238, 243, 250, 0.36);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  margin-top: 1px;
  transition: 0.18s ease;
  width: 24px;
}

.choice-card__check::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 8px;
  opacity: 0;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: 0.18s ease;
  width: 4px;
}

.choice-card__body {
  display: block;
  min-width: 0;
}

.choice-card strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.36;
  margin-bottom: 9px;
}

.choice-card__body > span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  line-height: 1.48;
}

.choice-card:hover,
.choice-card.is-selected {
  background: #3d4b60;
  border-color: rgba(122, 180, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(122, 180, 255, 0.08);
  transform: translateY(-1px);
}

.choice-card.is-selected .choice-card__check {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(122, 180, 255, 0.12);
}

.choice-card.is-selected .choice-card__check::after {
  opacity: 1;
}

.feedback {
  background: rgba(122, 180, 255, 0.08);
  border: 1px solid rgba(122, 180, 255, 0.22);
  border-radius: 18px;
  color: rgba(238, 243, 250, 0.9);
  display: none;
  font-size: 0.88rem;
  line-height: 1.58;
  margin: 18px 0 4px;
  padding: 20px;
}

.feedback p {
  margin: 0 0 12px;
}

.feedback p:last-child {
  margin-bottom: 0;
}

.feedback.is-visible {
  display: block;
}

.feedback.is-critical {
  background:
    linear-gradient(135deg, rgba(255, 91, 91, 0.18), rgba(255, 178, 126, 0.08)),
    rgba(76, 45, 52, 0.72);
  border-color: rgba(255, 114, 114, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 91, 91, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #ffe6e4;
  font-weight: 750;
}

.feedback.is-critical::before {
  color: #ffffff;
  content: "Preverite število prebojev";
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.marketing-insight {
  background: rgba(45, 66, 62, 0.36);
  border: 1px solid rgba(56, 194, 160, 0.22);
  border-radius: 14px;
  box-shadow: none;
  margin: 18px 0 4px;
  padding: 14px;
}

.marketing-insight__kicker {
  color: #7af0ce;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.marketing-insight h4 {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.32;
  margin-bottom: 0;
}

.marketing-insight p {
  color: rgba(238, 243, 250, 0.82);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 13px;
}

.marketing-insight__chip-title {
  color: rgba(238, 243, 250, 0.92);
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 2px 0 10px;
}

.marketing-insight__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 13px 0 14px;
}

.marketing-insight__chips span {
  background: rgba(238, 243, 250, 0.09);
  border: 1px solid rgba(238, 243, 250, 0.12);
  border-radius: 999px;
  color: rgba(238, 243, 250, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 10px;
}

.marketing-insight__details {
  border-top: 0;
  padding-top: 8px;
}

.marketing-insight__details summary {
  align-items: center;
  color: #9cc7ff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  list-style: none;
}

.marketing-insight__details summary::-webkit-details-marker {
  display: none;
}

.marketing-insight__details summary::after {
  content: "+";
  background: rgba(122, 180, 255, 0.12);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  margin-left: 9px;
  width: 22px;
}

.marketing-insight__details[open] summary::after {
  content: "-";
}

.marketing-insight__details div {
  background: rgba(26, 36, 50, 0.34);
  border: 1px solid rgba(238, 243, 250, 0.08);
  border-radius: 14px;
  margin-top: 12px;
  padding: 14px;
}

.marketing-insight__details ul {
  color: rgba(238, 243, 250, 0.84);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0 0 12px 18px;
  padding: 0;
}

.marketing-insight__details strong {
  color: #ffffff;
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
  margin-bottom: 7px;
}

.marketing-insight__details p {
  margin: 0;
}

.warning-note {
  background:
    linear-gradient(135deg, rgba(255, 178, 163, 0.14), rgba(255, 206, 126, 0.07)),
    rgba(48, 59, 77, 0.58);
  border: 1px solid rgba(255, 178, 163, 0.34);
  border-radius: 18px;
  margin: 18px 0 22px;
  padding: 16px 18px;
}

.warning-note strong {
  color: #ffd0c7;
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
  margin-bottom: 7px;
}

.warning-note p {
  color: rgba(238, 243, 250, 0.86);
  font-size: 0.84rem;
  line-height: 1.62;
  margin: 0;
}

.room-picker {
  background: rgba(48, 59, 77, 0.66);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 22px;
  padding: 18px;
}

label {
  color: rgba(238, 243, 250, 0.88);
  display: grid;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 9px;
}

.room-row {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 10px;
}

input,
select,
textarea {
  background: var(--field);
  border: 1px solid rgba(210, 220, 235, 0.16);
  border-radius: 18px;
  color: #ffffff;
  font-size: 0.9rem;
  min-height: 54px;
  outline: none;
  padding: 14px 18px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: rgba(220, 227, 238, 0.55);
}

select {
  color: rgba(255, 255, 255, 0.86);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(122, 180, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(122, 180, 255, 0.12);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  background:
    linear-gradient(135deg, rgba(255, 91, 91, 0.12), rgba(255, 255, 255, 0)),
    var(--field);
  border-color: rgba(255, 114, 114, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 91, 91, 0.14);
}

input.is-invalid::placeholder,
textarea.is-invalid::placeholder {
  color: rgba(255, 196, 196, 0.88);
}

.room-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.room-card {
  align-items: end;
  background: rgba(48, 59, 77, 0.68);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.8fr);
  padding: 18px 58px 18px 18px;
  position: relative;
}

.wall-card {
  grid-template-columns: minmax(180px, 1.1fr) minmax(240px, 1.2fr);
  padding-right: 58px;
}

.wall-card__controls {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(140px, 1fr) minmax(110px, 0.72fr);
}

.room-card__header {
  padding-right: 40px;
}

.room-card strong {
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

.room-card small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.primary-button,
.secondary-button,
.ghost-button,
.remove-room {
  align-items: center;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  font-size: 0.88rem;
  min-height: 48px;
  padding: 11px 18px;
  text-decoration: none;
}

.primary-button {
  background: rgba(238, 243, 250, 0.16);
  box-shadow: none;
  color: #ffffff;
}

.primary-button.is-ready,
.primary-button:not(:disabled):hover {
  background: var(--blue-deep);
  box-shadow: 0 10px 20px rgba(30, 44, 80, 0.22);
}

.primary-button.is-ready:hover {
  background: #6279b0;
}

.primary-button:disabled {
  color: rgba(255, 255, 255, 0.48);
  cursor: not-allowed;
}

.secondary-button {
  background: rgba(238, 243, 250, 0.11);
  color: #ffffff;
}

.secondary-button:disabled {
  color: rgba(255, 255, 255, 0.42);
  cursor: not-allowed;
}

.ghost-button {
  background: rgba(238, 243, 250, 0.11);
  color: rgba(238, 243, 250, 0.6);
  margin: 8px 0 18px;
}

.ghost-button:disabled {
  cursor: not-allowed;
}

.remove-room {
  background: rgba(255, 178, 163, 0.12);
  border-radius: 999px;
  color: var(--danger);
  min-height: 34px;
  min-width: 34px;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
}

.navigation {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 24px;
}

.mobile-total-pill {
  display: none;
}

.summary {
  align-self: start;
  position: sticky;
  top: 88px;
  z-index: 6;
}

.summary-card {
  position: relative;
  overflow: visible;
}

.summary-card h2 {
  color: #ffffff;
  font-size: 1.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.price-lock-card {
  background:
    linear-gradient(135deg, rgba(56, 194, 160, 0.14), rgba(122, 180, 255, 0.1)),
    rgba(20, 29, 42, 0.72);
  border: 1px solid rgba(56, 194, 160, 0.28);
  border-radius: 18px;
  display: none;
  gap: 6px;
  margin: 16px 0 4px;
  padding: 14px 15px;
}

.price-lock-card strong {
  color: #ffffff;
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}

.price-lock-card span {
  color: rgba(238, 243, 250, 0.76);
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
}

.subsidy-hero {
  background:
    linear-gradient(135deg, rgba(255, 206, 107, 0.2), rgba(56, 194, 160, 0.12)),
    rgba(37, 48, 57, 0.76);
  border: 1px solid rgba(255, 214, 112, 0.46);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(4, 10, 20, 0.2);
  display: grid;
  gap: 5px;
  margin: 16px 0 4px;
  padding: 14px 15px;
}

.subsidy-hero span {
  color: #ffe3a3;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.subsidy-hero strong {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.3;
}

.subsidy-hero small {
  color: rgba(238, 243, 250, 0.72);
  font-size: 0.74rem;
  line-height: 1.4;
}

body.is-price-locked .summary-lines strong,
body.is-price-locked #unitSummary span {
  filter: blur(8px);
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
}

.summary-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.summary-lines {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 13px;
  margin: 22px 0;
  padding: 18px 0;
}

.summary-lines div,
.unit-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.summary-lines span,
.unit-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.summary-lines strong,
.unit-row strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.units {
  display: grid;
  gap: 10px;
}

.origin-card {
  align-items: center;
  background: rgba(20, 29, 42, 0.32);
  border: 1px solid rgba(56, 194, 160, 0.2);
  border-radius: 18px;
  display: grid;
  gap: 13px;
  grid-template-columns: 54px minmax(0, 1fr);
  margin-top: 18px;
  padding: 14px;
}

.origin-card__mark {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(56, 194, 160, 0.18), rgba(122, 180, 255, 0.1));
  border: 1px solid rgba(122, 240, 206, 0.34);
  border-radius: 16px;
  color: #7af0ce;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.origin-card strong {
  color: #ffffff;
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.origin-card span {
  color: rgba(238, 243, 250, 0.72);
  display: block;
  font-size: 0.75rem;
  line-height: 1.45;
}

.unit-row {
  background: rgba(48, 59, 77, 0.64);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 15px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.trust-row span {
  background: rgba(56, 194, 160, 0.12);
  border-radius: 999px;
  color: #7af0ce;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 7px 10px;
}

.offer-form {
  background: rgba(48, 59, 77, 0.62);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 22px;
  padding: 20px;
}

.detail-unlock-note {
  background: rgba(122, 180, 255, 0.09);
  border: 1px solid rgba(122, 180, 255, 0.24);
  border-radius: 18px;
  display: grid;
  gap: 6px;
  margin: 18px 0 20px;
  padding: 15px 16px;
}

.detail-unlock-note span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-unlock-note strong {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.42;
}

.offer-form h4 {
  color: #ffffff;
  font-size: 1.08rem;
  margin-bottom: 16px;
}

.required-contact-panel {
  background:
    linear-gradient(135deg, rgba(255, 206, 107, 0.16), rgba(255, 236, 179, 0.07)),
    rgba(61, 67, 67, 0.72);
  border: 1px solid rgba(255, 214, 112, 0.5);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(4, 10, 20, 0.18);
  margin-bottom: 26px;
  padding: 18px;
}

.required-contact-panel > span {
  color: #ffe3a3;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 900;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.required-contact-panel h4 {
  margin-bottom: 14px;
}

.required-contact-panel .form-grid {
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  gap: 18px 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
}

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

#sourceSelect {
  margin-bottom: 28px;
}

.pill-check {
  align-items: center;
  background: rgba(48, 59, 77, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
}

.pill-check input {
  min-height: auto;
  width: auto;
}

.phone-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1fr);
}

.install-address.is-disabled {
  opacity: 0.55;
}

.install-address.is-disabled input {
  background: rgba(130, 140, 154, 0.28);
  color: rgba(238, 243, 250, 0.45);
  cursor: not-allowed;
}

.file-input {
  margin: 18px 0;
}

.file-input input {
  padding-top: 15px;
}

.thanks-card {
  background: rgba(122, 180, 255, 0.08);
  border: 1px solid rgba(122, 180, 255, 0.22);
  border-radius: 18px;
  margin-top: 22px;
  padding: 22px;
}

.thanks-card h3 {
  margin-bottom: 10px;
}

.submit-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 40;
}

.submit-modal__backdrop {
  background: rgba(8, 15, 26, 0.72);
  inset: 0;
  position: absolute;
}

.submit-modal__panel {
  background: linear-gradient(180deg, rgba(48, 62, 82, 0.98), rgba(37, 49, 68, 0.98));
  border: 1px solid rgba(255, 178, 163, 0.24);
  border-radius: 18px;
  box-shadow: var(--shadow);
  max-width: 520px;
  padding: 28px;
  position: relative;
  width: min(100%, 520px);
}

.submit-modal__close {
  align-items: center;
  background: rgba(238, 243, 250, 0.1);
  border: 0;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
}

.submit-modal__eyebrow {
  color: var(--danger);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.submit-modal h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 44px 12px 0;
}

.submit-modal p {
  color: rgba(238, 243, 250, 0.82);
  line-height: 1.6;
  margin: 0;
}

.submit-modal a {
  color: var(--text);
  font-weight: 800;
}

.submit-modal__detail {
  background: rgba(255, 178, 163, 0.09);
  border: 1px solid rgba(255, 178, 163, 0.18);
  border-radius: 14px;
  color: rgba(238, 243, 250, 0.76);
  font-size: 0.86rem;
  margin-top: 16px;
  padding: 12px 14px;
}

.submit-modal__detail:empty {
  display: none;
}

.submit-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.result-modal__panel {
  border-color: rgba(56, 194, 160, 0.34);
  max-height: min(90vh, 760px);
  max-width: 620px;
  overflow: auto;
  width: min(100%, 620px);
}

.result-modal__eyebrow {
  color: #7af0ce;
}

.result-total {
  background:
    linear-gradient(135deg, rgba(56, 194, 160, 0.16), rgba(122, 180, 255, 0.1)),
    rgba(20, 29, 42, 0.52);
  border: 1px solid rgba(56, 194, 160, 0.28);
  border-radius: 18px;
  display: grid;
  gap: 6px;
  margin: 20px 0;
  padding: 18px;
}

.result-total span {
  color: rgba(238, 243, 250, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-total strong {
  color: #ffffff;
  font-size: clamp(2rem, 7vw, 3rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
}

.result-lines,
.result-units {
  display: grid;
  gap: 10px;
}

.result-lines {
  margin-bottom: 18px;
}

.result-line,
.result-unit {
  align-items: center;
  background: rgba(48, 59, 77, 0.64);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.result-line span,
.result-unit span {
  color: rgba(238, 243, 250, 0.72);
  font-size: 0.82rem;
}

.result-line strong,
.result-unit strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.cookie-banner {
  align-items: center;
  background: rgba(29, 40, 56, 0.96);
  border: 1px solid rgba(210, 220, 235, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(4, 10, 20, 0.36);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  inset: auto 24px 24px 24px;
  margin: 0 auto;
  max-width: 960px;
  padding: 18px;
  position: fixed;
  z-index: 35;
  backdrop-filter: blur(12px);
}

.cookie-banner__copy span {
  color: #ffffff;
  display: block;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.cookie-banner__copy p {
  color: rgba(238, 243, 250, 0.78);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.consent {
  align-items: start;
  color: rgba(238, 243, 250, 0.82);
  display: flex;
  font-weight: 600;
  gap: 10px;
  line-height: 1.5;
  margin: 8px 0 18px;
}

.consent input {
  flex: 0 0 auto;
  height: 20px;
  min-height: auto;
  margin-top: 2px;
  width: 20px;
}

input[type="checkbox"] {
  accent-color: var(--green);
  height: 20px;
  width: 20px;
}

@media (max-width: 980px) {
  .topbar {
    justify-content: flex-start;
  }

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

  .summary {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(var(--mobile-nav-height) + var(--mobile-nav-bottom-offset) + max(28px, env(safe-area-inset-bottom)));
    overscroll-behavior-x: none;
  }

  .topbar {
    border-radius: 28px;
    justify-content: flex-start;
    padding: 14px 18px;
    position: static;
    transform: none;
    width: auto;
  }

  .brand-logo {
    width: 116px;
  }

  main {
    padding: 24px 14px 26px;
  }

  .intro {
    padding-top: 22px;
    text-align: left;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .option-grid,
  .option-grid.two,
  .check-grid,
  .form-grid,
  .room-card,
  .wall-card,
  .phone-row,
  .room-row {
    grid-template-columns: 1fr;
  }

  .wizard,
  .summary-card {
    padding: 18px;
  }

  .wizard,
  .offer-form,
  .form-grid,
  .phone-row,
  .file-input {
    max-width: 100%;
    min-width: 0;
  }

  .section-heading {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .marketing-insight,
  .warning-note,
  .feedback,
  .room-picker,
  .offer-form {
    border-radius: 16px;
    margin: 14px 0 16px;
    padding: 16px;
  }

  .choice-card {
    min-height: 104px;
    padding: 16px;
  }

  .room-card,
  .wall-card {
    align-items: start;
    gap: 10px;
    padding: 14px;
  }

  .room-card {
    grid-template-columns: 1fr;
  }

  .room-card:not(.wall-card) > label {
    justify-self: center;
    width: min(100%, 240px);
  }

  .wall-card__controls {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
  }

  .wall-card__controls label:first-child {
    justify-self: start;
    width: min(100%, 190px);
  }

  .wall-card__controls label:last-child {
    justify-self: end;
    width: min(100%, 150px);
  }

  .wall-card__controls label {
    font-size: 0.78rem;
    gap: 7px;
    min-width: 0;
  }

  .wall-card__controls .number-control {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
  }

  .wall-card__controls .number-control input {
    padding-left: 4px;
    padding-right: 4px;
  }

  .remove-room {
    right: 10px;
    top: 10px;
  }

  .navigation {
    background: rgba(29, 40, 56, 0.96);
    border: 1px solid rgba(210, 220, 235, 0.16);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -18px 42px rgba(4, 10, 20, 0.28);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    left: 0;
    margin: 0;
    padding: 12px 14px;
    position: fixed;
    right: 0;
    bottom: var(--mobile-nav-bottom-offset);
    width: auto;
    z-index: 30;
  }

  .primary-button,
  .secondary-button {
    min-width: 0;
    white-space: normal;
    width: 100%;
  }

  .navigation.is-submit-step {
    grid-template-columns: minmax(82px, 0.6fr) minmax(0, 1.4fr);
  }

  .mobile-total-pill {
    align-items: center;
    background: rgba(122, 180, 255, 0.1);
    border: 1px solid rgba(122, 180, 255, 0.2);
    border-radius: 16px;
    display: flex;
    gap: 10px;
    grid-column: 1 / -1;
    justify-content: space-between;
    min-height: 46px;
    min-width: 0;
    padding: 10px 12px;
  }

  .mobile-total-pill span {
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-total-pill strong {
    color: #ffffff;
    font-size: 1.18rem;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .file-input {
    overflow: hidden;
  }

  .file-input input {
    font-size: 0.82rem;
    overflow: hidden;
    padding-left: 12px;
    padding-right: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .summary {
    margin-top: 18px;
    position: static;
  }

  .summary-card h2 {
    display: none;
  }

  .summary-kicker {
    margin-bottom: 8px;
  }

  .submit-modal__panel {
    padding: 24px 20px;
  }

  .submit-modal__actions {
    display: grid;
  }

  .cookie-banner {
    border-radius: 20px 20px 0 0;
    grid-template-columns: 1fr;
    inset: auto 0 0 0;
    max-width: none;
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
