:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --ink: #172120;
  --muted: #63706c;
  --line: #dde5df;
  --accent: #0d766f;
  --accent-2: #e45d45;
  --soft: #e8f3ef;
  --paper: #fbfaf7;
  --shadow: 0 18px 48px rgba(26, 35, 32, 0.12);
  --radius: 8px;
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.apartment {
  --bg: #f5f8f6;
  --surface: #ffffff;
  --ink: #152421;
  --muted: #64746f;
  --accent: #08796f;
  --accent-2: #e45b42;
  --soft: #e5f2ee;
}

body.villa {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #151817;
  --muted: #646864;
  --accent: #1e5b4f;
  --accent-2: #b58a3b;
  --soft: #edf1ea;
}

body.renovation {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --ink: #182128;
  --muted: #68727a;
  --accent: #286f8f;
  --accent-2: #4f8b58;
  --soft: #e7f0f4;
}

body.vaad {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #202224;
  --muted: #6d7175;
  --accent: #606a70;
  --accent-2: #d34836;
  --soft: #ecefed;
}

body.restoration {
  --bg: #f2f8f7;
  --surface: #ffffff;
  --ink: #102522;
  --muted: #60716f;
  --accent: #127277;
  --accent-2: #d75a4a;
  --soft: #dff1ef;
}

body.olim {
  --bg: #f7f8f2;
  --surface: #ffffff;
  --ink: #17231d;
  --muted: #657062;
  --accent: #467a54;
  --accent-2: #e0a82f;
  --soft: #edf3e7;
}

body.studio {
  --bg: #f6f3ed;
  --surface: #fffdf8;
  --ink: #18211f;
  --muted: #626c67;
  --line: #ded7cb;
  --accent: #17675f;
  --accent-2: #bd6a42;
  --soft: #e9eee6;
  --paper: #fbf7ee;
  --shadow: 0 20px 54px rgba(37, 31, 25, 0.14);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(20, 30, 28, 0.08);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.section,
.footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 0.78rem;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.78);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.82);
}

.language-switcher button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
}

.language-switcher button.is-active {
  background: var(--ink);
  color: #ffffff;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .hero,
html[dir="rtl"] .surface-panel,
html[dir="rtl"] .estimate-panel,
html[dir="rtl"] .contact-copy {
  text-align: right;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .nav-wrap,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hero-meta,
html[dir="rtl"] .areas,
html[dir="rtl"] .surface-panel ul,
html[dir="rtl"] .footer-inner {
  direction: rtl;
}

html[dir="rtl"] .surface-tab {
  text-align: right;
}

html[dir="rtl"] .quote {
  border-left: 0;
  border-right: 4px solid var(--accent-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(20, 30, 28, 0.16);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.btn.light {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn.accent-two {
  background: var(--accent-2);
}

.hero {
  min-height: 82svh;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(7, 14, 15, 0.78), rgba(7, 14, 15, 0.44) 48%, rgba(7, 14, 15, 0.14)),
    var(--hero);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0));
  z-index: -1;
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  width: min(640px, 100%);
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 750;
}

.section {
  padding: 74px 0;
}

.section.tight {
  padding-top: 44px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(18, 28, 26, 0.05);
}

.card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card p,
.quote p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.visual-panel {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 0 0 14px;
}

.service-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dot {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--accent-2);
}

.service-row p {
  margin: 0;
  color: var(--muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.proof-item {
  min-height: 128px;
  padding: 18px;
  background: var(--surface);
}

.proof-item b {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--accent);
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.price {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.price h3 {
  min-height: 58px;
}

.price .amount {
  margin: 14px 0 12px;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
  line-height: 1;
}

.price ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.price li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 1px 0;
  border-radius: 999px;
  background: var(--accent-2);
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.areas span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

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

.quote {
  border-left: 4px solid var(--accent-2);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
}

.quote b {
  display: block;
  margin-top: 16px;
}

.contact-band {
  width: min(1180px, calc(100% - 36px));
  margin: 40px auto 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 22px;
  align-items: stretch;
}

.contact-copy {
  border-radius: 8px;
  padding: 32px;
  background: var(--ink);
  color: #ffffff;
}

.contact-copy h2 {
  color: #ffffff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.hebrew-line {
  direction: rtl;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 12px;
  background: #ffffff;
  color: var(--ink);
}

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

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent);
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.sticky-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  background: #22a447;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(12, 70, 34, 0.26);
  font-weight: 850;
}

body.studio .sticky-wa {
  display: none;
}

.catalog-hero {
  padding: 68px 0 24px;
}

.catalog-hero h1 {
  width: min(920px, 100%);
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.97;
  letter-spacing: 0;
}

.catalog-hero p {
  width: min(760px, 100%);
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.demo-card {
  min-height: 430px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  color: #ffffff;
  background: #182128;
  box-shadow: var(--shadow);
}

.demo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.demo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 10, 10, 0.82), rgba(5, 10, 10, 0.2) 62%, rgba(5, 10, 10, 0.05));
}

.demo-card:hover img {
  transform: scale(1.04);
}

.demo-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.demo-card-content .tag {
  display: inline-flex;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 800;
}

.demo-card h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.06;
}

.demo-card p {
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.78);
}

.demo-card .open {
  display: inline-flex;
  color: #ffffff;
  font-weight: 850;
}

.featured-demo {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.featured-demo-copy {
  padding: 30px;
}

.featured-demo-copy h2 {
  margin-bottom: 14px;
}

.featured-demo-copy p {
  margin: 0 0 20px;
  color: var(--muted);
}

.featured-demo-visual {
  min-height: 280px;
  background-image:
    linear-gradient(90deg, rgba(11, 18, 17, 0.06), rgba(11, 18, 17, 0.2)),
    url("assets/hero-family.jpg");
  background-position: center;
  background-size: cover;
}

.studio-hero {
  min-height: 84svh;
  background-image:
    linear-gradient(90deg, rgba(12, 17, 16, 0.82), rgba(12, 17, 16, 0.42) 52%, rgba(12, 17, 16, 0.08)),
    var(--hero);
}

.studio-hero h1 {
  width: min(940px, 100%);
  font-size: clamp(3.1rem, 8.5vw, 7.2rem);
}

.studio-hero p {
  width: min(760px, 100%);
}

.studio-signals {
  width: min(1180px, calc(100% - 36px));
  margin: -38px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(222, 215, 203, 0.9);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.studio-signal {
  min-height: 136px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.96);
}

.studio-signal b {
  display: block;
  color: var(--accent);
  font-size: 1.55rem;
  line-height: 1;
}

.studio-signal span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.surface-system {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.surface-tabs {
  display: grid;
  gap: 10px;
}

.surface-tab {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.surface-tab i {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent);
  font-style: normal;
  font-weight: 850;
}

.surface-tab span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.surface-tab em {
  color: var(--accent-2);
  font-style: normal;
  font-weight: 900;
}

.surface-tab.is-active {
  border-color: rgba(23, 103, 95, 0.42);
  box-shadow: 0 10px 28px rgba(37, 31, 25, 0.09);
}

.surface-panel {
  min-height: 360px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 28px;
  color: #ffffff;
  background: #18211f;
}

.surface-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(12, 17, 16, 0.86), rgba(12, 17, 16, 0.24)),
    var(--panel-image);
  background-position: center;
  background-size: cover;
}

.surface-panel > * {
  position: relative;
  z-index: 1;
}

.surface-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.surface-panel p {
  width: min(620px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.surface-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.surface-panel li {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.palette-lab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.palette-preview {
  --preview-color: #d8d0c2;
  min-height: 500px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(24, 33, 31, 0.18), rgba(24, 33, 31, 0.04)),
    linear-gradient(110deg, var(--preview-color), #fffdf8 62%);
}

.palette-preview::before {
  content: "";
  position: absolute;
  inset: 9% 8% auto auto;
  width: min(52%, 420px);
  aspect-ratio: 1.25;
  border-radius: 8px;
  background-image: url("assets/hero-apartment.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 46px rgba(24, 33, 31, 0.2);
}

.palette-preview::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 34px;
  width: min(44%, 320px);
  height: 58%;
  border: 1px solid rgba(24, 33, 31, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    var(--preview-color);
}

.palette-preview-content {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(16px);
}

.palette-preview-content h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.palette-preview-content p {
  margin: 0;
  color: var(--muted);
}

.palette-controls {
  display: grid;
  gap: 12px;
}

.palette-button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.palette-button.is-active {
  border-color: rgba(23, 103, 95, 0.44);
  box-shadow: 0 10px 28px rgba(37, 31, 25, 0.08);
}

.swatch {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 33, 31, 0.16);
  border-radius: 8px;
  background: var(--swatch);
}

.palette-button b,
.palette-button span {
  display: block;
}

.palette-button span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.studio-packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.package {
  display: grid;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.package-media {
  min-height: 132px;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
}

.package-copy {
  padding: 18px;
}

.package-copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.package-copy p {
  margin: 0;
  color: var(--muted);
}

.estimator-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.estimate-panel {
  border-radius: 8px;
  padding: 32px;
  background: var(--ink);
  color: #ffffff;
}

.estimate-panel h2 {
  color: #ffffff;
}

.estimate-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.estimate-total {
  margin-top: 28px;
  color: #ffffff;
}

.estimate-total span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.estimate-total b {
  display: block;
  margin-top: 8px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1;
}

.estimate-subline {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.estimate-lines {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.estimate-lines li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 9px;
  color: rgba(255, 255, 255, 0.74);
}

.estimate-lines li b {
  color: #ffffff;
  white-space: nowrap;
}

.estimator-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
}

.range-row {
  display: grid;
  gap: 8px;
}

.range-row input[type="range"] {
  accent-color: var(--accent);
  padding: 0;
}

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.source-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.source-note a {
  color: var(--accent);
  font-weight: 800;
}

.ai-studio {
  --chosen-wall-color: #d8d0c2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.ai-preview-stage {
  min-height: 560px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(24, 33, 31, 0.2), rgba(24, 33, 31, 0.04)),
    url("../images/hero-family.jpg");
  background-position: center;
  background-size: cover;
}

.ai-preview-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--chosen-wall-color), transparent 52%), transparent 62%);
  mix-blend-mode: multiply;
  opacity: 0.86;
  pointer-events: none;
}

.ai-preview-stage.demo-ai-mode::after,
.ai-studio.demo-ai-mode .ai-preview-stage::after {
  content: "Demo color overlay";
  position: absolute;
  right: 16px;
  top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(24, 33, 31, 0.54);
  color: #ffffff;
  font-weight: 850;
}

.ai-result-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.ai-preview-copy {
  position: relative;
  z-index: 3;
  width: min(620px, 100%);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(16px);
}

.ai-preview-copy h3 {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.ai-preview-copy p {
  margin: 0;
  color: var(--muted);
}

.ai-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
}

.upload-box {
  display: grid;
  gap: 8px;
  border: 1px dashed color-mix(in srgb, var(--accent), var(--line) 50%);
  border-radius: 8px;
  padding: 16px;
  background: var(--paper);
}

.upload-box input {
  padding: 0;
  border: 0;
  background: transparent;
}

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

.color-choice {
  min-height: 58px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--color);
  cursor: pointer;
}

.color-choice.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(23, 103, 95, 0.16);
}

.ai-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent);
  font-weight: 800;
}

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

.rate-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.rate-card b {
  display: block;
  color: var(--accent);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.rate-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.timeline-step {
  min-height: 190px;
  padding: 20px;
  background: var(--surface);
}

.timeline-step b {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent);
}

.timeline-step h3 {
  margin-top: 16px;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .section-head,
  .split,
  .contact-band,
  .featured-demo,
  .surface-system,
  .palette-lab,
  .estimator-band,
  .ai-studio {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid.two,
  .price-board,
  .quote-grid,
  .catalog-grid,
  .studio-packages,
  .rate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip,
  .studio-signals,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .section,
  .footer-inner,
  .hero-inner,
  .contact-band,
  .featured-demo,
  .studio-signals,
  .estimator-band {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    min-height: 64px;
  }

  .nav-actions .lang {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-inner {
    padding: 42px 0 34px;
  }

  .hero h1,
  .catalog-hero h1,
  .studio-hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  .section {
    padding: 52px 0;
  }

  .grid,
  .grid.two,
  .price-board,
  .quote-grid,
  .catalog-grid,
  .form-grid,
  .studio-packages,
  .studio-signals,
  .timeline,
  .rate-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    padding-bottom: 52px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 300px;
  }

  .contact-copy {
    padding: 24px;
  }

  .featured-demo-copy,
  .estimate-panel {
    padding: 24px;
  }

  .studio-signals {
    margin-top: -18px;
  }

  .palette-preview {
    min-height: 430px;
    padding: 18px;
  }

  .palette-preview::before {
    inset: 8% 5% auto auto;
    width: 58%;
  }

  .palette-preview::after {
    left: 18px;
    top: 24px;
    width: 52%;
  }

  .palette-preview-content {
    padding: 18px;
  }

  .surface-panel {
    min-height: 420px;
    padding: 22px;
  }

  .ai-preview-stage {
    min-height: 460px;
    padding: 18px;
  }

  .ai-preview-copy {
    padding: 18px;
  }

  .color-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sticky-wa {
    display: none;
  }
}
