*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

:root {
  --bg: #f7f5f2;
  --bg-warm: #fbf9f6;
  --bg-band: #efeae2;
  --card: #fff;
  --text: #1b1c1a;
  --text-soft: #5f615c;
  --text-muted: #6b6e68;
  --line: #e8e4de;
  --line-light: #f0ece7;
  --accent: #c44e12;
  --accent-hover: #ad430e;
  --accent-light: #f8eee6;
  --dark: #1b1c1a;
  --container: 1160px;
  --header-h: 72px;
  --radius: 20px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --h1: clamp(36px, 4.2vw, 56px);
  --h2: clamp(28px, 3.2vw, 46px);
  --shadow-card: 0 8px 28px rgba(28, 24, 20, 0.045);
  --shadow-hover: 0 14px 36px rgba(28, 24, 20, 0.08);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 520px at 12% -10%, rgba(255, 248, 240, 0.9), transparent 58%),
    radial-gradient(900px 480px at 100% 8%, rgba(255, 244, 232, 0.55), transparent 52%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 32%, transparent);
  outline-offset: 2px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 1px;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  text-decoration: none;
  color: #4d4f4b;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a.quiet { color: var(--text-muted); font-weight: 500; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.button:hover { background: var(--accent-hover); }
.button-quiet {
  background: #fff;
  color: var(--text);
}
.button-small {
  min-height: 42px;
  padding: 10px 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f3f0eb;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.menu-toggle i::before,
.menu-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle i::before { top: -5px; }
.menu-toggle i::after { top: 5px; }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(27, 28, 26, 0.28);
  cursor: pointer;
}
.mobile-menu-panel {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 12px 20px 20px;
  gap: 4px;
}
.mobile-menu-panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}

body.menu-open { overflow: hidden; }

.hero { padding: 0; }
.hero-stage {
  position: relative;
  min-height: min(84vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #1a1815;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 46%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 20, 17, 0.62) 0%, rgba(22, 20, 17, 0.32) 32%, rgba(22, 20, 17, 0.08) 54%, transparent 76%),
    linear-gradient(180deg, rgba(22, 20, 17, 0.12) 0%, transparent 36%, rgba(22, 20, 17, 0.28) 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  padding: 72px 0 36px;
  min-height: min(84vh, 780px);
}
.hero-content {
  max-width: 640px;
  padding-bottom: 28px;
}
.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.hero .eyebrow {
  color: #f0b089;
  margin-bottom: 16px;
}
.hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: var(--h1);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}
.hero-lead {
  margin: 0 0 28px;
  max-width: 520px;
  color: rgba(255, 248, 240, 0.86);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}
.hero-fact {
  position: absolute;
  right: 0;
  bottom: 40px;
  z-index: 3;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(20, 16, 12, 0.12);
}
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  color: rgba(255, 248, 240, 0.92);
  font-size: 14px;
  font-weight: 600;
}
.hero-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-badges-row {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(20, 16, 12, 0.12);
}
@media (max-width: 900px) {
  .hero-badges-row {
    position: static;
    padding: 0 0 24px;
    gap: 8px;
  }
  .hero-badge { font-size: 12px; padding: 6px 12px; }
}
.summary-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}
.form-privacy-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}


.projects {
  padding: 64px 0 24px;
}

/* Price Factors section */
.price-factors {
  padding: 72px 0 80px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.factors-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: start;
  margin-top: 28px;
}
.factors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.factor-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.factor-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.factor-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.factor-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}
.factor-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 6px;
}
.factors-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.factors-summary h3 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 800;
}
.factors-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.factor-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.factor-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}
.factor-bar {
  height: 8px;
  background: var(--bg-band);
  border-radius: 999px;
  overflow: hidden;
}
.factor-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}
.factors-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}
.factors-trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.factor-trust-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.factor-trust-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}
.factor-trust-card span {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
}
@media (max-width: 960px) {
  .factors-layout { grid-template-columns: 1fr; }
  .factors-grid { grid-template-columns: 1fr; }
  .factors-trust-cards { grid-template-columns: 1fr; }
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-heading h2,
.calculator-heading h2,
.closing h2 {
  margin: 0;
  font-size: var(--h2);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-heading p,
.calculator-heading p,
.closing p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.budget-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.budget-bar span {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}
.budget-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.budget-chip {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-weight: 600;
  cursor: pointer;
}
.budget-chip:hover { border-color: #d6cfc5; }
.budget-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.budget-slider-bar {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.matcher-budget-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.matcher-budget-head span {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}
.matcher-budget-head strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.matcher-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  justify-content: center;
}
.matcher-slider-wrap input[type="range"] {
  width: 100%;
  height: 34px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.matcher-slider-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0 var(--budget-progress, 100%), #d7d4cd var(--budget-progress, 100%) 100%);
}
.matcher-slider-wrap input[type="range"]::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -10px;
  appearance: none;
  -webkit-appearance: none;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 3px 12px rgba(52, 37, 25, 0.22);
  cursor: grab;
}
.matcher-slider-wrap input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
}
.matcher-slider-wrap input[type="range"]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #d7d4cd;
}
.matcher-slider-wrap input[type="range"]::-moz-range-progress {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
}
.matcher-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 3px 12px rgba(52, 37, 25, 0.22);
  cursor: grab;
}
.matcher-scale-points {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.matcher-scale-points span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.project-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.project-card.is-selected { border-color: var(--accent); }
.project-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e8e2da;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.project-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}
.project-price {
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.project-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.project-action {
  margin-top: auto;
  align-self: flex-end;
  min-height: 44px;
  min-width: 132px;
  padding: 9px 14px;
  border: 0;
  border-radius: 12px;
  background: #f4f2ee;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.project-action:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.popular-empty {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

.calculator {
  padding: 64px 0 72px;
  background: var(--bg-band);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.projects { scroll-margin-top: calc(var(--header-h) + 12px); }
.calculator-heading {
  max-width: 720px;
  margin-bottom: 28px;
}
.calculator-heading .eyebrow { margin-bottom: 12px; }
.calculator-heading p { font-size: 16px; }

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.calc-config {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.option-group {
  padding: 22px 18px;
  border-bottom: 1px solid var(--line-light);
}
.option-group:last-child { border-bottom: 0; }
.option-group h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
}

.calc-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.calc-filters .budget-bar { margin-bottom: 0; }
.option-group-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}
#dynamicOptions:empty { display: none; }
#dynamicOptions > .option-group { border-bottom: 0; }
.option-group[hidden] { display: none; }
.picker-tile[hidden] { display: none; }

.picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-height: 28rem;
  overflow-y: auto;
}
.picker-tile {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  min-height: 44px;
}
.picker-tile:hover { border-color: #d6cfc5; background: var(--bg-warm); }
.picker-tile.is-active {
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background: var(--bg-warm);
}
.picker-photo {
  display: block;
  aspect-ratio: 16 / 11;
  background: #e8e2da;
}
.picker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.picker-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 10px;
}
.picker-meta strong {
  font-size: 14px;
  font-weight: 800;
}
.picker-meta small {
  color: var(--text-muted);
  font-size: 12px;
}

.option-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 10px;
}
.option-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.option-button strong {
  font-size: 16px;
  font-weight: 600;
}
.option-button small {
  color: var(--text-muted);
  font-size: 14px;
}
.option-button:hover { border-color: #d6cfc5; background: var(--bg-warm); }
.option-button.is-active {
  border: 1.5px solid var(--accent);
  background: var(--bg-warm);
  box-shadow: 0 0 0 1px var(--accent);
}
.option-button.is-active::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.extra-row span { color: var(--text-muted); font-size: 14px; }
.switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
}
.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.switch i {
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #e4dfd8;
  transition: background 0.15s ease;
}
.switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease;
}
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(20px); }

.calc-summary {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.summary-photo {
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  overflow: hidden;
  background: #eae5de;
}
.summary-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.summary-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.summary-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}
.summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.summary-chips li {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-warm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}
.summary-plan {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-warm);
}
.summary-plan[hidden] { display: none; }
.summary-plan img {
  width: 92px;
  height: 68px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.summary-plan figcaption {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.summary-total-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.summary-total {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.summary-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}
.summary-inclusions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--line-light);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.summary-row span { color: var(--text-soft); }
.summary-row strong { font-weight: 600; text-align: right; }
.summary-card .button { width: 100%; }

.closing {
  padding: 72px 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 36px;
  align-items: center;
}
.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.lead-form input {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.lead-form input:focus {
  border-color: var(--accent);
}
.form-error {
  margin: 0;
  color: #9b2c13;
  font-size: 14px;
}
.form-success {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--text);
  font-weight: 600;
}
.form-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  color: var(--text-muted);
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }

.mobile-dock { display: none; }

@media (max-width: 960px) {
  .mobile-dock {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px -16px 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(28, 24, 20, 0.06);
  }
  .mobile-dock small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
  }
  .mobile-dock strong {
    display: block;
    color: var(--accent);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .container { width: min(var(--container), calc(100% - 32px)); }
  .desktop-nav,
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-stage,
  .hero-grid { min-height: 640px; }
  .hero-grid { padding: 36px 0 24px; }
  .hero h1 { max-width: none; }
  .hero-photo { object-position: 64% 48%; }
  .hero-fact {
    position: static;
    justify-self: start;
    margin-top: 18px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section-heading,
  .budget-bar { flex-direction: column; align-items: flex-start; }
  .project-grid,
  .calc-layout,
  .closing-grid,
  .picker-grid,
  .option-buttons { grid-template-columns: 1fr; }
  .picker-grid {
    display: flex;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .picker-tile {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
  .calc-summary { position: static; }
  .project-action { align-self: stretch; width: 100%; }
}

/* ——— after calculator ——— */

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

.anchor-alias {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.band-heading { max-width: 720px; margin-bottom: 28px; }
.band-heading h2,
.compare h2,
.trust h2,
.works h2,
.process h2 {
  margin: 0;
  font-size: var(--h2);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.band-heading p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 16px;
}
.band-heading .eyebrow { margin-bottom: 12px; }

.button-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.button-outline:hover {
  background: var(--bg-warm);
  border-color: #d6cfc5;
}
.button:disabled,
.button[disabled] {
  background: color-mix(in srgb, var(--accent) 38%, #d4cfc8);
  cursor: not-allowed;
}
.button:disabled:hover,
.button[disabled]:hover {
  background: color-mix(in srgb, var(--accent) 38%, #d4cfc8);
}

.compare,
.trust,
.works,
.process,
.closing,
#lead { scroll-margin-top: calc(var(--header-h) + 12px); }

.compare { padding: 72px 0; }
.compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}
.compare-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dropzone {
  position: relative;
  min-height: 240px;
  padding: 28px 22px;
  border: 1.5px dashed #d4cdc4;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-warm) 100%);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.dropzone:hover,
.dropzone:focus-visible { border-color: var(--accent); background: #fff; }
.dropzone.is-dragover {
  border-style: solid;
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.dropzone.has-file {
  border-style: solid;
  border-color: var(--accent);
  background: #fff;
  min-height: 180px;
}
.dropzone-idle,
.dropzone-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.dropzone-idle strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dropzone-idle span,
.dropzone-idle small { color: var(--text-muted); font-size: 14px; }

.doc-object {
  position: relative;
  width: 52px;
  height: 64px;
  margin: 0 0 10px;
}
.doc-sheet {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  transform: translate(5px, -4px);
  opacity: 0.65;
}
.doc-sheet-front {
  transform: none;
  opacity: 1;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.doc-sheet-front::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: var(--accent-light);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.doc-sheet-front::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 22px;
  height: 22px;
  background:
    linear-gradient(var(--line) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--line) 0 0) 0 8px / 78% 2px no-repeat,
    linear-gradient(var(--line) 0 0) 0 16px / 90% 2px no-repeat;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
}
.file-chip #estimateFileName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 42ch;
}
.file-chip-mark {
  width: 22px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
}
.file-chip-mark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.file-remove {
  margin-top: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
}
.file-remove:hover { color: var(--accent); }
.compare-hint { margin: 0; color: var(--text-muted); font-size: 14px; }
.compare-form .button { align-self: flex-start; min-width: 280px; }
.compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}
.compare-card h3 {
  margin: 6px 0 18px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.compare-get {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  counter-reset: get;
}
.compare-get li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
}
.compare-get li:first-child { border-top: 0; padding-top: 0; }
.compare-get li::before {
  counter-increment: get;
  content: "0" counter(get);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding-top: 3px;
}
.compare-get strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.compare-get span { color: var(--text-soft); font-size: 15px; }
.compare-form .form-success a { color: var(--accent); }

.trust {
  padding: 72px 0;
  background: var(--bg-band);
}
.trust-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}
.trust-photo {
  margin: 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #e8e2da;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--line);
}
.trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  min-height: 420px;
  max-height: 560px;
}
.trust-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(20, 16, 12, 0.12);
}
.trust-claims { list-style: none; margin: 0; padding: 0; }
.trust-claims li {
  padding: 22px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.trust-claims li:first-child { padding-top: 0; }
.trust-claims li:last-child { border-bottom: 0; padding-bottom: 0; }
.trust-claims span {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.trust-claims strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.trust-claims p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  max-width: 42ch;
  line-height: 1.5;
}
.trust-stage {
  margin-top: 8px;
}

.process { padding: 72px 0; }
.process-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.process-intro .band-heading { margin-bottom: 0; }
.process-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e2da;
  box-shadow: var(--shadow-card);
}
.process-photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.process-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}
.process-steps li { min-width: 0; }
.process-steps span {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.process-steps strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.process-steps p { margin: 0; color: var(--text-soft); font-size: 15px; }
.process-lock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.process-lock h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}
.process-lock ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.process-lock li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}
.process-lock strong { font-size: 15px; font-weight: 800; }
.process-lock span { color: var(--text-muted); font-size: 14px; }

.closing-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}
.closing-mini {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.closing-mini img {
  width: 120px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  background: #e8e2da;
}
.closing-mini small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.closing-mini strong { display: block; font-size: 18px; font-weight: 800; }
.closing-mini span {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
  margin: 4px 0 8px;
}
.closing-mini button {
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 12px;
  background: #f4f2ee;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.closing-mini button:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.form-file-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.form-success a { color: var(--accent); }

.site-footer { padding: 40px 0 36px; }
.site-footer .container { display: block; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  align-items: start;
}
.footer-brand p {
  margin: 12px 0 14px;
  max-width: 36ch;
  line-height: 1.5;
}
.footer-grid strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.footer-grid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}
.footer-grid a:hover { color: var(--accent); }

@media (max-width: 1180px) {
  .desktop-nav,
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 960px) {
  .compare-layout,
  .trust-stage,
  .trust-scenes,
  .process-intro,
  .process-steps,
  .process-lock ul,
  .footer-grid { grid-template-columns: 1fr; }
  .compare,
  .trust,
  .works,
  .process { padding: 56px 0; }
  .trust-photo img { min-height: 0; max-height: 320px; aspect-ratio: 16 / 11; }
  .process-photo { max-width: 420px; }
  .process-steps {
    padding-top: 8px;
    border-top: 0;
    gap: 0;
  }
  .process-steps li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }
  .process-steps span { grid-row: 1 / 3; padding-top: 2px; }
  .compare-form .button { width: 100%; min-width: 0; }
  .closing-paths { flex-direction: column; }
  .closing-paths .button { width: 100%; }
  .closing-mini { grid-template-columns: 96px minmax(0, 1fr); }
  .closing-mini img { width: 96px; height: 72px; }
  .closing-mini button { width: 100%; }
}

.desktop-nav { gap: 20px; }
.closing-grid { align-items: start; }

@media (max-width: 1100px) {
  .process-steps { gap: 14px; }
  .process-steps strong { font-size: 16px; }
  .process-intro { gap: 20px; }
}


/* ——— mechanics strip, picker count, trust scenes ——— */

.mechanics {
  padding: 14px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mechanics-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.mechanic {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 22px 16px 0;
  margin-right: 22px;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--line);
  min-height: 44px;
}
.mechanic:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.mechanic:hover strong { color: var(--accent); }
.mechanic span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.mechanic strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.mechanic em {
  font-style: normal;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.filter-hint {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}
.picker-count {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.trust-scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.trust-scene {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-scene span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.trust-scene strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.trust-scene p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.5;
}
.trust-scene .trust-photo {
  margin: 0 0 6px;
  border-radius: 14px;
  box-shadow: none;
}
.trust-scene .trust-photo img {
  min-height: 0;
  aspect-ratio: 16 / 11;
}
.trust-scene .trust-photo figcaption {
  left: 10px;
  bottom: 10px;
  padding: 7px 11px;
  font-size: 12px;
}

@media (max-width: 960px) {
  .mechanic {
    padding: 14px 16px 14px 0;
    margin-right: 16px;
  }
}

@media (max-width: 720px) {
  .mechanics-row { grid-template-columns: 1fr; }
  .mechanic {
    margin-right: 0;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .mechanic:last-child { border-bottom: 0; padding-right: 0; }
}

/* ——— works gallery ——— */

.works {
  padding: 72px 0;
}

.works-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  max-width: none;
}
.works-heading .band-heading,
.works-heading > div { flex: 1; min-width: 0; }
.works-heading h2 { margin-bottom: 0; }
.works-heading .button { flex: 0 0 auto; white-space: nowrap; }

.works-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 18px;
  overscroll-behavior-x: contain;
}
.works-rail .works-card {
  flex: 0 0 min(78vw, 340px);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.works-rail .works-card:first-child {
  grid-column: auto;
  flex-basis: min(86vw, 420px);
}
.works-rail .works-card:first-child img {
  aspect-ratio: 4 / 3;
}

.works-grid,
.works-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.works-page-grid .works-card {
  text-decoration: none;
  color: inherit;
}

.works-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.works-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8e2da;
}

.works-card figcaption,
.works-card .works-caption {
  padding: 12px 16px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.4;
}


@media (max-width: 960px) {
  .works-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .works-grid,
  .works-page-grid { grid-template-columns: 1fr; }
  .works-card:first-child { grid-column: auto; }
  .works-card:first-child img { aspect-ratio: 4 / 3; }
  .works-heading { flex-direction: column; align-items: flex-start; }
  .works-heading .button { width: 100%; }
}

.work-hero {
  margin: 18px 0 0;
  border-radius: 20px;
  overflow: hidden;
  background: #e8e2da;
  border: 1px solid var(--line);
}
.work-hero img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 78vh;
  object-fit: contain;
  background: #1b1c1a;
}
.work-back {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
}
.work-back a { color: var(--accent); text-decoration: none; }
.work-nav {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.work-nav .button { flex: 1; text-align: center; }
.work-cta { margin-top: 22px; }
.work-page h1 { font-size: clamp(22px, 3vw, 36px); }


/* ——— catalog + project detail ——— */

.desktop-nav a[aria-current="page"] {
  color: var(--text);
}
.desktop-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.picker-open.button {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
  white-space: normal;
  text-align: center;
  pointer-events: auto;
}
.picker-meta { padding-bottom: 12px; }

.summary-project-link.button {
  width: 100%;
  margin-top: 8px;
}
.summary-card .button + .summary-project-link { margin-top: 10px; }

.catalog-page,
.project-page {
  padding: 36px 0 72px;
}

.catalog-page h1,
.project-page h1 {
  margin: 0;
  font-size: var(--h1);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.catalog-lead {
  margin: 14px 0 28px;
  max-width: 640px;
  color: var(--text-soft);
  font-size: 18px;
}

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

.catalog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 44px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #d6cfc5;
}

.catalog-photo {
  display: block;
  aspect-ratio: 16 / 11;
  background: #e8e2da;
  overflow: hidden;
}

.catalog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
}

.catalog-meta strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.catalog-meta small {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.catalog-meta em {
  font-style: normal;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.crumbs a {
  color: var(--text-soft);
  text-decoration: none;
}

.crumbs a:hover { color: var(--accent); }

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.project-hero {
  aspect-ratio: 16 / 11;
  border-radius: 20px;
  overflow: hidden;
  background: #e8e2da;
  border: 1px solid var(--line);
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.project-thumb {
  flex: 0 0 88px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #e8e2da;
  min-height: 44px;
}

.project-thumb img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}

.project-thumb:hover { border-color: #d6cfc5; }

.project-thumb.is-active {
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.project-thumb {
  position: relative;
}

.project-thumb-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.project-gallery .project-live {
  margin-top: 18px;
}

.project-gallery .project-live .works-heading h2 {
  font-size: 22px;
}

.project-aside {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.project-aside .summary-card h1 {
  font-size: 28px;
  line-height: 1.15;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-warm);
}

.project-facts span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-facts strong {
  font-size: 15px;
  font-weight: 800;
}

.project-extra-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-warm);
}

.project-extra-fact strong { font-size: 15px; font-weight: 800; }
.project-extra-fact span { color: var(--text-muted); font-size: 14px; }

.project-foundation {
  padding: 0;
  border-bottom: 0;
}

.project-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-aside .summary-card .button { width: 100%; }

@media (max-width: 960px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-layout { grid-template-columns: 1fr; }
  .project-aside { position: static; }
}

@media (max-width: 720px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-page h1,
  .project-page h1 { font-size: clamp(28px, 8vw, 40px); }
  .project-facts { grid-template-columns: 1fr; }
}


.project-live {
  margin-top: 40px;
}
.project-live .works-heading {
  margin-bottom: 16px;
}
.project-live .works-rail {
  margin: 0 -2px;
}


.project-plans {
  margin-top: 40px;
}
.project-plans .works-heading {
  margin-bottom: 16px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}
.plan-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-card);
}
.plan-card img {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}
.plan-card figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
}


.plan-card,
.plan-card img,
.works-card,
.works-card img,
.project-hero img {
  cursor: pointer;
}

body.lb-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 28px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  touch-action: pan-y;
}
.lb-overlay[hidden] { display: none !important; }

.lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-img {
  max-width: 100%;
  max-height: calc(100dvh - 108px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.lb-caption {
  margin-top: 10px;
  color: #f7f5f2;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  max-width: min(90vw, 720px);
  line-height: 1.4;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  z-index: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: #f7f5f2;
  color: #1b1c1a;
  border-radius: 999px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}
.lb-close {
  top: 12px;
  right: 12px;
  font-size: 32px;
}
.lb-prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-close[hidden],
.lb-prev[hidden],
.lb-next[hidden] { display: none !important; }

@media (max-width: 720px) {
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
}

/* Refined post-calculator flow */
.handoff {
  padding: 88px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
}
.handoff-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 72px;
  align-items: start;
}
.handoff-summary .band-heading { margin-bottom: 28px; }
.handoff-project {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.handoff-project img {
  width: 180px;
  height: 132px;
  object-fit: cover;
  border-radius: 14px;
}
.handoff-project div { align-self: center; min-width: 0; }
.handoff-project small,
.handoff-project span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.handoff-project h3 { margin: 4px 0; font-size: 26px; }
.handoff-project p { margin: 0 0 8px; color: var(--text-soft); }
.handoff-project strong { display: block; color: var(--accent); font-size: 24px; }
.handoff-steps { margin: 0; padding: 0; list-style: none; }
.handoff-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.handoff-steps li:first-child { padding-top: 2px; }
.handoff-steps span { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.handoff-steps strong { display: block; margin-bottom: 6px; font-size: 22px; }
.handoff-steps p { margin: 0; color: var(--text-soft); line-height: 1.55; }
.closing { padding: 72px 0; }
.closing-grid { gap: 56px; }
.lead-form button:disabled { opacity: .62; cursor: wait; }

@media (max-width: 960px) {
  .handoff { padding: 56px 0; }
  .handoff-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .handoff-project { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .handoff-project img { width: 104px; height: 104px; }
  .handoff-project h3 { font-size: 22px; }
  .handoff-project strong { font-size: 20px; }
  .handoff-steps li { grid-template-columns: 36px minmax(0, 1fr); padding: 20px 0; }
  .handoff-steps strong { font-size: 19px; }
}

.catalog-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 24px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.catalog-tools label {
  display: grid;
  gap: 7px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.catalog-tools select {
  width: 100%;
  min-height: 44px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.catalog-count { margin: 0; padding: 0 4px 12px; color: var(--text-muted); white-space: nowrap; font-size: 14px; }
.catalog-empty { grid-column: 1 / -1; padding: 48px; text-align: center; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.catalog-empty p { margin: 8px 0 0; color: var(--text-soft); }
.project-gallery,
.project-layout,
.project-thumbs { min-width: 0; max-width: 100%; }
.project-thumbs { overscroll-behavior-inline: contain; }

@media (max-width: 820px) {
  .catalog-tools { grid-template-columns: 1fr 1fr; }
  .catalog-count { padding: 0 4px 8px; }
}
@media (max-width: 560px) {
  .catalog-tools { grid-template-columns: 1fr; }
  .catalog-count { padding: 2px 0 0; }
}

.works-case figcaption { display: grid; gap: 4px; }
.works-case figcaption strong { color: var(--text); font-size: 15px; }
.works-case figcaption span { color: var(--text-muted); font-size: 13px; }
.project-related { margin-top: 64px; }
.project-related .works-heading { align-items: end; }
.project-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 64px;
  padding: 32px;
  background: var(--text);
  color: #fff;
  border-radius: 22px;
}
.project-next h2 { margin: 4px 0 8px; font-size: clamp(28px, 4vw, 44px); }
.project-next p { margin: 0; color: rgba(255,255,255,.72); }
.project-next .button { white-space: nowrap; }
@media (max-width: 720px) {
  .project-related { margin-top: 48px; }
  .project-related .works-heading { align-items: start; }
  .project-next { grid-template-columns: 1fr; padding: 24px; margin-top: 48px; }
  .project-next .button { width: 100%; }
}

/* Useful post-calculator comparison */
.price-objection {
  position: relative;
  isolation: isolate;
  padding: 54px 0 58px;
  overflow: hidden;
  background: #33352f url("assets/catalog/project25/render-1.jpg") center 57% / cover no-repeat;
  color: #fff;
}
.price-objection::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(20,21,18,.82) 0%, rgba(20,21,18,.69) 52%, rgba(20,21,18,.48) 100%);
}
.price-objection > .container { position: relative; }
.price-objection-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 68px;
  align-items: start;
}
.price-objection-question h2 {
  margin: 8px 0 0;
  max-width: 620px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.price-objection-answer {
  padding-left: 30px;
  border-left: 3px solid var(--accent);
}
.price-objection-answer > p { margin: 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.55; }
.price-objection-answer .price-objection-verdict { margin-bottom: 9px; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.3; }
.price-objection-context {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 0;
  margin: 26px 0 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.price-objection-context div { padding: 14px 16px 14px 0; }
.price-objection-context div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); }
.price-objection-context dt { margin-bottom: 5px; color: rgba(255,255,255,.5); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.price-objection-context dd { margin: 0; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.35; }
.price-objection-answer .text-link { color: #fff; }
.price-boundaries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.price-boundaries article { padding: 24px 26px 26px 0; }
.price-boundaries article + article { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.16); }
.price-boundaries span { color: #f0a276; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.price-boundaries h3 { margin: 10px 0 8px; color: #fff; font-size: 20px; line-height: 1.2; }
.price-boundaries p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.5; }

/* Manufacturer positioning sequence */
.maker-intro {
  scroll-margin-top: calc(var(--header-h) + 12px);
  padding: 86px 0 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.maker-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: 68px;
  align-items: center;
}
.maker-intro-copy h2 {
  margin: 8px 0 18px;
  max-width: 820px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}
.maker-intro-lead {
  margin: 0;
  max-width: 660px;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.5;
}
.maker-intro blockquote {
  margin: 34px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.maker-house-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #d8d0c4;
}
.maker-house-photo img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.maker-house-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(24,24,22,.88);
  color: #fff;
}
.maker-house-photo figcaption span { color: rgba(255,255,255,.58); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.maker-house-photo figcaption strong { text-align: right; }
.maker-chain {
  display: grid;
  grid-template-columns: repeat(9, auto);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 54px;
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.maker-chain i { color: var(--accent); font-size: 22px; font-style: normal; }

.maker-value {
  scroll-margin-top: calc(var(--header-h) + 12px);
  padding: 72px 0;
  background: #f3eee7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.maker-value-layout {
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr);
  min-height: 570px;
  background: #fff;
}
.maker-value-photo {
  position: relative;
  min-height: 570px;
  margin: 0;
  overflow: hidden;
  background: #d5cec4;
}
.maker-value-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.maker-value-photo figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  padding: 9px 12px;
  background: rgba(24,24,22,.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.maker-value-content {
  display: flex;
  flex-direction: column;
  padding: 54px 58px 48px;
}
.maker-value-content h2 {
  margin: 10px 0 18px;
  max-width: 640px;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.045em;
}
.maker-value-lead {
  margin: 0;
  max-width: 620px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.55;
}
.maker-value-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.maker-value-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  min-height: 72px;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--line);
}
.maker-value-steps li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.maker-value-steps span {
  padding-top: 2px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.maker-value-steps strong {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.maker-value-outcome {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}
.maker-value-outcome strong {
  color: var(--accent);
  font-size: 19px;
  line-height: 1.2;
}
.maker-value-outcome span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.4;
}

.selected-project {
  scroll-margin-top: calc(var(--header-h) + 12px);
  padding: 82px 0 88px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.selected-project-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}
.selected-project-heading h2 {
  margin: 8px 0 10px;
  max-width: 760px;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
}
.selected-project-heading > div > p:last-child {
  margin: 0;
  max-width: 720px;
  color: var(--text-soft);
  font-size: 16px;
}
.selected-project-heading .text-link { margin-bottom: 8px; white-space: nowrap; }
.selected-project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .76fr) minmax(220px, .58fr);
  gap: 16px;
  align-items: stretch;
}
.selected-facades { min-width: 0; }
.selected-facades > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  background: #e8e2da;
}
.selected-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.selected-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #e8e2da;
  cursor: pointer;
}
.selected-thumb.is-active { border-color: var(--accent); }
.selected-thumb img { width: 100%; height: 100%; object-fit: cover; }
.selected-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-warm);
}
.selected-plan img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}
.selected-plan figcaption { margin-top: 12px; color: var(--text-soft); font-size: 14px; font-weight: 700; }
.selected-facts {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 0 24px 24px;
  border-left: 1px solid var(--line);
}
.selected-facts > span { color: var(--text-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.selected-facts h3 { margin: 8px 0 22px; font-size: 32px; line-height: 1; }
.selected-facts ul { margin: 0 0 24px; padding: 0; list-style: none; }
.selected-facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.selected-facts small { color: var(--text-muted); font-size: 13px; }
.selected-facts strong { text-align: right; font-size: 15px; }
.selected-facts .button { margin-top: auto; width: 100%; white-space: normal; text-align: center; }
.selected-live {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.selected-live h3 { margin: 6px 0 0; font-size: 24px; }
.selected-live-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.selected-live-grid figure { margin: 0; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.selected-live-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.selected-live-grid figcaption { padding: 8px 10px 10px; color: var(--text-soft); font-size: 12px; line-height: 1.35; }

.house-anatomy {
  scroll-margin-top: calc(var(--header-h) + 12px);
  padding: 88px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.house-anatomy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
  gap: 72px;
  align-items: center;
}
.house-anatomy-copy h2 { margin: 8px 0 18px; max-width: 720px; font-size: clamp(38px, 4.5vw, 58px); line-height: .98; letter-spacing: -.045em; }
.house-anatomy-copy > p:last-of-type { margin: 0; max-width: 650px; color: var(--text-soft); font-size: 17px; line-height: 1.55; }
.anatomy-list { margin: 34px 0 0; padding: 0; border-top: 3px solid var(--text); list-style: none; }
.anatomy-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.anatomy-list span { color: var(--accent); font-size: 12px; font-weight: 800; }
.anatomy-list li > div { display: grid; gap: 5px; }
.anatomy-list strong { font-size: 20px; line-height: 1.2; }
.anatomy-list p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.45; }
.house-anatomy-copy .anatomy-conclusion { margin: 24px 0 0; color: var(--text); font-size: 16px; font-weight: 700; line-height: 1.5; }
.house-anatomy-photo { position: relative; min-height: 640px; margin: 0; overflow: hidden; background: #ddd5ca; }
.house-anatomy-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.house-anatomy-photo figcaption { position: absolute; left: 20px; bottom: 20px; padding: 9px 12px; background: rgba(20,20,18,.82); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }

.hidden-works {
  scroll-margin-top: calc(var(--header-h) + 12px);
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #222;
  color: #fff;
}
.hidden-works > img,
.hidden-works-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hidden-works > img { object-fit: cover; object-position: center; }
.hidden-works-shade { background: linear-gradient(90deg, rgba(18,18,16,.91) 0%, rgba(18,18,16,.67) 48%, rgba(18,18,16,.16) 100%); }
.hidden-works-content { position: relative; z-index: 1; padding-top: 92px; padding-bottom: 76px; }
.hidden-works-content h2 { margin: 10px 0 26px; max-width: 830px; font-size: clamp(42px, 5.6vw, 70px); line-height: .98; letter-spacing: -.05em; }
.hidden-works-points { display: flex; flex-wrap: wrap; gap: 9px 24px; max-width: 900px; margin-bottom: 24px; color: rgba(255,255,255,.8); font-weight: 700; }
.hidden-works-points span + span::before { content: "·"; margin-right: 24px; color: #f0a276; }
.hidden-works-content > p:not(.eyebrow) { max-width: 680px; margin: 0 0 30px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.55; }

.construction-process { scroll-margin-top: var(--header-h); padding: 88px 0 84px; background: #fff; }
.construction-process-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr); gap: 60px; align-items: end; margin-bottom: 40px; }
.construction-process-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -42px; }
.construction-process-heading h2 { margin: 0; max-width: 760px; font-size: clamp(38px, 4.6vw, 58px); line-height: 1; letter-spacing: -.045em; }
.construction-process-heading > p:last-child { margin: 0; color: var(--text-soft); font-size: 17px; line-height: 1.55; }
.construction-process-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 3px solid var(--text); border-bottom: 1px solid var(--line); list-style: none; }
.construction-process-list li { min-height: 244px; padding: 24px 20px 26px 0; }
.construction-process-list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.construction-process-list > li > span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.construction-process-list h3 { margin: 28px 0 10px; font-size: 20px; line-height: 1.1; }
.construction-process-list p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.construction-process-note { display: grid; grid-template-columns: 230px 1fr; gap: 30px; margin-top: 34px; padding: 24px 0; border-top: 1px solid var(--line); }
.construction-process-note strong { color: var(--accent); font-size: 18px; }
.construction-process-note p { margin: 0; max-width: 800px; color: var(--text-soft); line-height: 1.55; }

@media (max-width: 980px) {
  .price-boundaries { grid-template-columns: 1fr; }
  .price-boundaries article,
  .price-boundaries article + article { padding: 20px 0; border-left: 0; }
  .price-boundaries article + article { border-top: 1px solid rgba(255,255,255,.16); }
  .maker-intro-grid { grid-template-columns: 1fr; gap: 38px; }
  .maker-chain { grid-template-columns: repeat(5, 1fr); }
  .maker-chain i { display: none; }
  .maker-chain span { padding-right: 12px; border-right: 1px solid var(--line); }
  .maker-value-layout { grid-template-columns: .85fr 1.15fr; }
  .maker-value-content { padding: 42px 36px 38px; }
  .selected-project-layout { grid-template-columns: 1.15fr .85fr; }
  .selected-facts { grid-column: 1 / -1; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .selected-facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
  .selected-live { grid-template-columns: 1fr; }
  .house-anatomy-layout { grid-template-columns: 1fr; gap: 42px; }
  .house-anatomy-photo { min-height: 520px; }
  .construction-process-heading { grid-template-columns: 1fr; gap: 18px; }
  .construction-process-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .construction-process-list { grid-template-columns: 1fr 1fr; }
  .construction-process-list li { min-height: 220px; }
  .construction-process-list li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .construction-process-list li:nth-child(4) { border-top: 1px solid var(--line); }
  .construction-process-list li:nth-child(5) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .maker-intro { padding-top: 54px; }
  .maker-intro-copy h2 { font-size: 38px; }
  .maker-intro-lead { font-size: 17px; }
  .maker-intro blockquote { font-size: 16px; }
  .maker-house-photo img { height: 390px; }
  .maker-house-photo figcaption { display: grid; }
  .maker-house-photo figcaption strong { text-align: left; }
  .maker-chain { grid-template-columns: 1fr; gap: 0; margin-top: 34px; padding: 0; }
  .maker-chain span { padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .maker-chain span::before { content: "→"; margin-right: 10px; color: var(--accent); }
  .maker-value { padding: 48px 0; }
  .maker-value-layout { grid-template-columns: 1fr; min-height: 0; }
  .maker-value-photo { min-height: 320px; }
  .maker-value-content { padding: 36px 24px 32px; }
  .maker-value-content h2 { font-size: 38px; }
  .maker-value-lead { font-size: 16px; }
  .maker-value-steps { grid-template-columns: 1fr; margin-top: 28px; }
  .maker-value-steps li,
  .maker-value-steps li + li { min-height: 0; padding: 16px 0; border-left: 0; }
  .maker-value-outcome { display: grid; gap: 4px; margin-top: 24px; padding-top: 0; }
  .selected-project { padding: 54px 0 58px; }
  .selected-project-heading { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .selected-project-heading h2 { font-size: 38px; }
  .selected-project-heading .text-link { white-space: normal; }
  .selected-project-layout { grid-template-columns: 1fr; gap: 14px; }
  .selected-facades > img { height: auto; aspect-ratio: 4 / 3; }
  .selected-plan img { height: auto; aspect-ratio: 1 / 1; }
  .selected-facts { grid-column: auto; padding-top: 20px; }
  .selected-facts ul { grid-template-columns: 1fr; }
  .selected-live-grid { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 6px; }
  .selected-live-grid figure { flex: 0 0 78%; }
  .house-anatomy { padding: 58px 0; }
  .house-anatomy-copy h2 { font-size: 38px; }
  .house-anatomy-copy > p:last-of-type { font-size: 16px; }
  .anatomy-list { margin-top: 28px; }
  .anatomy-list li { grid-template-columns: 34px 1fr; gap: 10px; }
  .anatomy-list strong { font-size: 18px; }
  .house-anatomy-photo { min-height: 420px; }
  .hidden-works { min-height: 680px; align-items: end; }
  .hidden-works > img { object-position: 62% center; }
  .hidden-works-shade { background: linear-gradient(180deg, rgba(18,18,16,.18) 0%, rgba(18,18,16,.88) 58%, rgba(18,18,16,.96) 100%); }
  .hidden-works-content { padding-top: 250px; padding-bottom: 54px; }
  .hidden-works-content h2 { font-size: 39px; }
  .hidden-works-points { display: grid; gap: 9px; }
  .hidden-works-points span + span::before { content: ""; margin: 0; }
  .hidden-works-content .button { width: 100%; }
  .construction-process { padding: 60px 0; }
  .construction-process-heading h2 { font-size: 38px; }
  .construction-process-heading > p:last-child { font-size: 16px; }
  .construction-process-list { grid-template-columns: 1fr; }
  .construction-process-list li,
  .construction-process-list li + li,
  .construction-process-list li:nth-child(3),
  .construction-process-list li:nth-child(4),
  .construction-process-list li:nth-child(5) { min-height: 0; padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .construction-process-list li:first-child { border-top: 0; }
  .construction-process-list h3 { margin-top: 16px; }
  .construction-process-note { grid-template-columns: 1fr; gap: 10px; }
}

.project-compare {
  padding: 72px 0 80px;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
}
.compare-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}
.compare-heading h2 {
  margin: 6px 0 10px;
  max-width: 760px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.compare-heading > div > p:last-child { margin: 0; max-width: 700px; color: var(--text-soft); }
.compare-current {
  min-width: 220px;
  padding: 14px 0 14px 20px;
  border-left: 3px solid var(--accent);
}
.compare-current span,
.compare-current small { display: block; color: var(--text-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.compare-current strong { display: block; margin: 3px 0; font-size: 24px; }
.compare-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.compare-project-card {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.compare-project-card > img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.compare-project-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 18px; }
.compare-project-body small { color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.compare-project-body h3 { margin: 6px 0; font-size: 24px; }
.compare-project-body p { margin: 0 0 10px; color: var(--text-soft); font-size: 14px; line-height: 1.45; }
.compare-project-body > strong { margin-top: auto; color: var(--accent); font-size: 18px; }
.compare-project-body > div { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.compare-project-body a { color: var(--text-soft); font-size: 13px; font-weight: 700; }

@media (max-width: 1100px) {
  .compare-project-card { grid-template-columns: 1fr; }
  .compare-project-card > img { height: 190px; min-height: 0; }
}
@media (max-width: 760px) {
  .price-objection { padding: 44px 0 48px; }
  .price-objection-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-objection-question h2 { font-size: 34px; }
  .price-objection-answer { padding: 0; border-left: 0; }
  .price-objection-context { grid-template-columns: 1fr; }
  .price-objection-context div { padding: 12px 0; }
  .price-objection-context div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .project-compare { padding: 52px 0 58px; }
  .compare-heading { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .compare-heading h2 { font-size: 36px; }
  .compare-current { min-width: 0; }
  .compare-project-grid {
    display: flex;
    width: calc(100% + 16px);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 16px 10px 0;
  }
  .compare-project-card { flex: 0 0 84%; scroll-snap-align: start; }
  .compare-project-body > div { width: 100%; justify-content: space-between; }
}

/* Alternate conversion path: custom project or estimate upload */
.document-lead {
  padding: 76px 0 82px;
  background: #20211f;
  color: #fff;
}
.document-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 72px;
  align-items: start;
}
.document-lead-copy h2 {
  margin: 8px 0 16px;
  max-width: 650px;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.document-lead-copy > p:not(.eyebrow) { margin: 0; max-width: 620px; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.55; }
.document-lead-copy ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.78); font-size: 14px; }
.document-lead-copy li::before { content: "✓"; margin-right: 7px; color: #e8834d; font-weight: 800; }
.document-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}
.document-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; }
.document-form legend { grid-column: 1 / -1; margin-bottom: 9px; font-size: 14px; font-weight: 800; }
.document-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  min-height: 86px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.document-choice:has(input:checked) { border-color: var(--accent); background: var(--accent-light); }
.document-choice input { margin-top: 3px; accent-color: var(--accent); }
.document-choice strong,
.document-choice small { display: block; }
.document-choice small { margin-top: 4px; color: var(--text-muted); font-size: 12px; font-weight: 500; }
.document-file { display: grid; gap: 7px; }
.document-file > span { font-weight: 700; }
.document-file input {
  width: 100%;
  min-height: 52px;
  padding: 8px;
  border: 1px dashed #c9b6a7;
  border-radius: 12px;
  background: var(--bg-warm);
}
.document-file input::file-selector-button {
  min-height: 36px;
  margin-right: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.document-file small { color: var(--text-muted); }
.document-form > label:not(.document-choice):not(.document-file) { display: grid; gap: 7px; font-weight: 700; }
.document-form > label input[type="tel"] { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }

.lead-context-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}
.lead-context-proof span { padding: 0 16px; }
.lead-context-proof span:first-child { padding-left: 0; }
.lead-context-proof span + span { border-left: 1px solid var(--line); }

@media (max-width: 960px) {
  .document-lead-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 620px) {
  .document-lead { padding: 54px 0 60px; }
  .document-lead-copy h2 { font-size: 36px; }
  .document-form { padding: 18px; }
  .document-form fieldset { grid-template-columns: 1fr; }
  .document-choice { min-height: 0; }
  .lead-context-proof { display: grid; gap: 8px; }
  .lead-context-proof span { padding: 0; }
  .lead-context-proof span + span { border-left: 0; }
  .lead-context-proof span::before { content: "✓"; margin-right: 7px; color: var(--accent); }
}

/* ===================================================
   ENHANCED CALCULATOR CONFIGURATOR STYLES
   =================================================== */

.calc-lead {
  margin: 8px 0 28px;
  color: var(--text-soft);
  font-size: 16px;
  max-width: 720px;
}

.calc-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 12px 0;
}

.contour-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.contour-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 18px 20px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--bg-warm);
  cursor: pointer;
  transition: all 0.2s ease;
  font: inherit;
  width: 100%;
}

.contour-card:hover {
  border-color: #d8cec3;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28, 24, 20, 0.05);
}

.contour-card.is-active {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 4px 14px rgba(196, 78, 18, 0.12);
}

.contour-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 8px;
}

.contour-icon {
  font-size: 22px;
}

.contour-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  flex-grow: 1;
}

.contour-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-soft);
}

.contour-badge-accent {
  background: var(--accent);
  color: #fff;
}

.contour-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
}

/* Plan Zoom */
.summary-plan {
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

.summary-plan:hover img {
  opacity: 0.92;
}

.summary-plan-zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 6px;
}

/* Messenger Selector */
.messenger-picker-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.messenger-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.messenger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-warm);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  transition: all 0.2s ease;
}

.messenger-btn:hover {
  border-color: #c9b6a7;
  background: #fff;
}

.messenger-btn.is-active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

/* ===================================================
   INTERACTIVE MOBILE & DESKTOP CONFIGURATOR ENHANCEMENTS
   =================================================== */

/* Current Project Header Banner */
.current-project-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line-light);
}

.current-banner-media {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.current-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.current-banner-info {
  flex-grow: 1;
  min-width: 0;
}

.current-banner-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.current-banner-info h4 {
  margin: 2px 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.current-banner-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}

.current-banner-toggle {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
}

/* Option Cards Grids */
.options-multi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.config-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg-warm);
  cursor: pointer;
  transition: all 0.2s ease;
  font: inherit;
  width: 100%;
}

.config-card:hover {
  border-color: #d6cfc5;
  background: #fff;
  transform: translateY(-1px);
}

.config-card.is-active {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 4px 12px rgba(196, 78, 18, 0.1);
}

.config-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}

.config-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.config-card-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.config-card-desc {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.35;
}

/* Engineering Checkboxes */
.eng-checks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eng-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-warm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.eng-check-item:hover {
  background: #fff;
  border-color: #d6cfc5;
}

.eng-check-item.is-checked {
  background: var(--accent-light);
  border-color: var(--accent);
}

.eng-check-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.eng-check-label small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
}

.eng-check-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

/* Mortgage Group */
.mortgage-calc-group {
  background: linear-gradient(135deg, #fdfbf9 0%, #f4ede5 100%);
  border-radius: 18px;
  margin-top: 10px;
}

.mortgage-calc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mortgage-rate-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.mortgage-programs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mortgage-prog-btn {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  transition: all 0.2s ease;
}

.mortgage-prog-btn.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.mortgage-sliders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.mortgage-slider-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mortgage-result-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.mortgage-result-banner span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
}

.mortgage-result-banner strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.summary-mortgage-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px;
  margin: 6px 0 14px;
}

/* Mobile Bottom Sheet */
.mobile-bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mobile-bottom-sheet[hidden] {
  display: none !important;
}

.mobile-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.mobile-sheet-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.mobile-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-light);
}

.mobile-sheet-head h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.mobile-sheet-close {
  background: var(--bg-band);
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-sheet-body {
  overflow-y: auto;
  flex-grow: 1;
  margin-bottom: 16px;
}

.mobile-sheet-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mobile-sheet-total span {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 600;
}

.mobile-sheet-total strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

@media (max-width: 960px) {
  .mobile-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    margin: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }
  .mobile-dock-info {
    display: flex;
    flex-direction: column;
  }
  .mobile-dock-actions {
    display: flex;
    gap: 8px;
  }
}



