: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;
  scroll-padding-top: 108px;
}

[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;
  overflow-x: hidden;
}

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%;
}

[hidden] {
  display: none !important;
}

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);
}

body.admin-bar .topbar {
  top: 32px;
}

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

#surfaces,
#ai-studio,
#estimate,
#process,
#contact {
  scroll-margin-top: 116px;
}

.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-logo-mark {
  width: 46px;
  height: 46px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
}

.brand-logo-mark img {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: block;
  line-height: 1.08;
}

.brand-text b {
  display: block;
  font-size: 1.08rem;
}

.brand small {
  display: block;
  margin-top: 3px;
  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.whatsapp {
  background: #22a447;
  color: #ffffff;
}

.btn.whatsapp:hover {
  box-shadow: 0 12px 28px rgba(12, 70, 34, 0.22);
}

.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;
}

.service-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.52fr) minmax(480px, 0.72fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  padding: clamp(16px, 2.4vw, 34px);
  overflow: visible;
  background: #fbfaf7;
  color: var(--ink);
}

.service-hero::after {
  display: none;
}

.service-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4.5vw, 62px) clamp(18px, 3vw, 44px);
  background: transparent;
}

.service-hero .eyebrow {
  color: var(--accent-2);
}

.service-hero h1 {
  width: min(660px, 100%);
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.45rem, 4.55vw, 4.45rem);
  line-height: 1.02;
}

.service-hero p {
  width: min(560px, 100%);
  margin: 22px 0 0;
  color: #3f4945;
  font-size: clamp(1rem, 1.4vw, 1.26rem);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-trust span {
  min-height: 72px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(23, 103, 95, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #43504b;
  font-size: 0.88rem;
  font-weight: 800;
}

.service-hero .hero-actions {
  margin-top: 28px;
}

.service-hero .btn.secondary {
  border-color: rgba(23, 103, 95, 0.25);
  background: #ffffff;
  color: var(--accent);
}

.service-hero .btn.light {
  border-color: rgba(23, 103, 95, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.hero-compare {
  --compare-position: 50%;
  position: relative;
  height: clamp(460px, calc(100svh - 150px), 640px);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #e7dfd1;
  border: 1px solid rgba(222, 215, 203, 0.92);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(37, 31, 25, 0.11);
}

.hero-compare-img,
.hero-compare-after-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-compare-img {
  object-fit: cover;
  object-position: center;
}

.hero-compare-after-wrap {
  z-index: 2;
  clip-path: inset(0 0 0 var(--compare-position));
}

.hero-compare-divider {
  position: absolute;
  inset: 0 auto 0 var(--compare-position);
  z-index: 4;
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-1px);
  pointer-events: none;
}

.hero-compare-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 33, 31, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(24, 33, 31, 0.18);
  transform: translate(-50%, -50%);
}

.hero-compare-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare-label {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(24, 33, 31, 0.12);
}

.compare-label-before {
  left: 24px;
}

.compare-label-after {
  right: 24px;
}

.hero-estimate-card {
  position: absolute;
  z-index: 7;
  right: clamp(22px, 4vw, 72px);
  bottom: clamp(22px, 5vw, 64px);
  width: min(320px, calc(100% - 44px));
  border: 1px solid rgba(222, 215, 203, 0.96);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.93);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(37, 31, 25, 0.14);
  backdrop-filter: blur(10px);
}

.hero-estimate-card b,
.hero-estimate-card span,
.hero-estimate-card em,
.hero-estimate-card small {
  display: block;
}

.hero-estimate-card b {
  font-size: 1rem;
}

.hero-estimate-card span,
.hero-estimate-card small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.hero-estimate-card p {
  width: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-estimate-card strong {
  color: var(--ink);
  white-space: nowrap;
}

.hero-estimate-card em {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--accent-2);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

@media (min-width: 1121px) {
  html[dir="rtl"] .service-hero {
    grid-template-columns: minmax(480px, 0.72fr) minmax(360px, 0.52fr);
    min-height: auto;
  }

  html[dir="rtl"] .service-hero-copy {
    padding: clamp(28px, 4.2vw, 58px) clamp(18px, 3vw, 42px);
    background: transparent;
  }

  html[dir="rtl"] .service-hero h1 {
    width: min(560px, 100%);
    font-size: clamp(2.75rem, 3.85vw, 3.9rem);
    line-height: 1.04;
  }

  html[dir="rtl"] .service-hero p {
    width: min(500px, 100%);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.58;
  }

  html[dir="rtl"] .hero-compare {
    height: clamp(440px, calc(100svh - 160px), 610px);
    min-height: 0;
  }
}

.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 {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(17, 29, 25, 0.92) 0%, rgba(17, 29, 25, 0.82) 44%, rgba(17, 29, 25, 0.56) 72%, rgba(17, 29, 25, 0.42) 100%),
    linear-gradient(0deg, rgba(17, 29, 25, 0.5), rgba(17, 29, 25, 0.12)),
    url("../images/contact-cta-renovation-v2.png") center right / cover no-repeat;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(37, 31, 25, 0.18);
}

.contact-copy h2 {
  color: #ffffff;
  max-width: 760px;
}

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

.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;
}

.form-grid > :only-child {
  grid-column: 1 / -1;
}

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;
}

.selected-color-summary {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
}

.selected-color-summary span {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(24, 33, 31, 0.18);
  border-radius: 8px;
  background: var(--selected);
}

.selected-color-summary b,
.selected-color-summary small {
  display: block;
}

.selected-color-summary small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
}

.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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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: inline-flex;
}

.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("../images/hero-after-renovation.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;
}

.ad-roller-strip {
  width: min(1180px, calc(100% - 36px));
  margin: 24px auto -8px;
  border: 1px solid rgba(222, 215, 203, 0.92);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 20px 54px rgba(37, 31, 25, 0.16);
}

.ad-roller-link {
  display: block;
  position: relative;
  isolation: isolate;
}

.ad-roller-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 22, 20, 0.2), transparent 38%, rgba(255, 253, 248, 0.04)),
    linear-gradient(0deg, rgba(14, 22, 20, 0.06), transparent 46%);
}

.ad-roller-link img {
  width: 100%;
  height: clamp(220px, 32vw, 360px);
  object-fit: cover;
  object-position: center;
}

.surface-system {
  display: grid;
  grid-template-columns: minmax(320px, 0.54fr) 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-copy {
  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;
}

.surface-panel.color-panel {
  min-height: 410px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  align-content: stretch;
  align-items: end;
  gap: 28px;
}

.surface-panel.color-panel::before {
  background-image:
    linear-gradient(90deg, rgba(12, 17, 16, 0.9) 0%, rgba(12, 17, 16, 0.74) 42%, rgba(12, 17, 16, 0.32) 100%),
    var(--panel-image);
}

.surface-panel.color-panel .surface-panel-copy {
  align-self: end;
  max-width: 590px;
}

.surface-panel.color-panel .surface-panel-copy h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
}

.color-plan-card {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: end;
  width: min(330px, 100%);
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(12, 17, 16, 0.22);
  backdrop-filter: blur(10px);
}

html[dir="rtl"] .color-plan-card {
  justify-self: start;
}

.color-plan-card > span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.color-plan-card > b {
  color: var(--ink);
  font-size: 1rem;
}

.color-plan-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.color-plan-row i {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(37, 31, 25, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)),
    var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.color-plan-row strong,
.color-plan-row em {
  display: block;
}

.color-plan-row strong {
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.15;
}

.color-plan-row em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.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(280px, 0.58fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border: 1px solid rgba(222, 215, 203, 0.9);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(246, 243, 237, 0.92)),
    var(--surface);
  box-shadow: 0 20px 54px rgba(37, 31, 25, 0.1);
}

.estimate-head {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.estimate-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.estimate-head p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.estimate-live-total {
  border: 1px solid rgba(23, 103, 95, 0.2);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.estimate-live-total span,
.estimate-live-total small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.estimate-live-total b {
  display: block;
  margin: 8px 0;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.estimate-panel {
  order: 2;
  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-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.estimate-context span,
.estimate-adjustments span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.07);
}

.estimate-context b,
.estimate-context small {
  display: block;
}

.estimate-context b {
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.2;
}

.estimate-context small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 750;
}

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

.estimate-lines li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  align-items: start;
  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 strong,
.estimate-lines li small {
  display: block;
}

.estimate-lines li strong {
  color: rgba(255, 255, 255, 0.9);
}

.estimate-lines li small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.estimate-adjustments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.estimate-adjustments span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 750;
}

.estimate-adjustments b {
  color: #ffffff;
}

.estimate-adjustments em {
  color: #f4d4bc;
  font-style: normal;
  font-weight: 900;
}

.estimator-form {
  order: 1;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(222, 215, 203, 0.92);
  border-radius: 8px;
  padding: clamp(16px, 2.4vw, 24px);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 12px 30px rgba(37, 31, 25, 0.06);
}

.estimator-form[data-mode="simple"] .advanced-only,
.estimator-form[data-mode="advanced"] .simple-only {
  display: none !important;
}

.estimate-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.estimate-mode button {
  min-height: 66px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.estimate-mode button.is-active {
  border-color: rgba(23, 103, 95, 0.42);
  background: rgba(23, 103, 95, 0.1);
  box-shadow: 0 8px 18px rgba(37, 31, 25, 0.08);
}

.estimate-mode b,
.estimate-mode span {
  display: block;
}

.estimate-mode b {
  font-size: 0.98rem;
}

.estimate-mode span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.simple-estimate {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(23, 103, 95, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.simple-estimate > div:first-child b {
  color: var(--ink);
  font-size: 1rem;
}

.simple-estimate p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.simple-room-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.simple-room-grid button {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.simple-room-grid button.is-active {
  border-color: rgba(199, 91, 54, 0.48);
  background: rgba(199, 91, 54, 0.1);
}

.simple-room-grid b,
.simple-room-grid span {
  display: block;
}

.simple-room-grid b {
  font-size: 0.88rem;
  line-height: 1.15;
}

.simple-room-grid span {
  margin-top: 4px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.range-row {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(23, 103, 95, 0.22);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(23, 103, 95, 0.08), rgba(255, 253, 248, 0.72)),
    #ffffff;
}

.range-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.range-head span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.range-head output {
  color: var(--accent);
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}

.range-row input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  height: 12px;
  border: 0;
  border-radius: 999px;
  accent-color: var(--accent);
  padding: 0;
  background: linear-gradient(90deg, var(--accent) var(--range-progress, 18%), var(--line) 0);
}

.range-row input[type="range"]::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(23, 103, 95, 0.28);
  cursor: pointer;
  -webkit-appearance: none;
}

.range-row input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(23, 103, 95, 0.28);
  cursor: pointer;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.range-scale em {
  font-style: normal;
}

.range-row small,
.estimate-assumption {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.area-presets button {
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.area-presets button.is-active {
  border-color: rgba(23, 103, 95, 0.46);
  background: rgba(23, 103, 95, 0.08);
  box-shadow: 0 8px 20px rgba(37, 31, 25, 0.08);
}

.area-presets b,
.area-presets span {
  display: block;
}

.area-presets b {
  font-size: 0.9rem;
}

.area-presets span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.estimate-assumption {
  border-left: 3px solid var(--accent-2);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper);
}

.estimate-inline-result {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(23, 103, 95, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.estimate-inline-result .estimate-context {
  margin-top: 0;
}

.estimate-inline-result .estimate-context span {
  background: var(--paper);
}

.estimate-inline-result .estimate-context b {
  color: var(--ink);
}

.estimate-inline-result .estimate-context small {
  color: var(--muted);
}

.estimate-inline-result .estimate-lines {
  margin-top: 4px;
}

.estimate-inline-result .estimate-lines li {
  border-color: rgba(24, 33, 31, 0.1);
}

.estimate-inline-result .estimate-lines li strong,
.estimate-inline-result .estimate-lines li b {
  color: var(--ink);
}

.estimate-inline-result .estimate-lines li small,
.estimate-inline-result .estimate-adjustments span {
  color: var(--muted);
}

.estimate-inline-result .estimate-adjustments {
  margin-top: 4px;
}

.estimate-inline-result .estimate-adjustments b {
  color: var(--ink);
}

.estimate-inline-result .estimate-adjustments em {
  color: var(--accent-2);
}

.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: #f2efe7;
  --previous-wall-color: var(--chosen-wall-color);
  --paint-animation-color: var(--chosen-wall-color);
  --paint-reveal: 100%;
  --paint-front: 0%;
  --roller-x: 9%;
  --roller-y: 40%;
  --roller-rotate: -8deg;
  --roller-opacity: 0;
  --roller-scale: 1;
  display: grid;
  grid-template-columns: minmax(430px, 0.78fr) minmax(0, 1.08fr);
  grid-template-areas: "tools preview";
  gap: 28px;
  align-items: start;
}

.ai-studio:has([data-native-color="OW221P"]:checked) {
  --chosen-wall-color: #F0ECE1;
}

.ai-studio:has([data-native-color="OW221P"]:checked) [data-paint-result] {
  --paint-result-color: #F0ECE1;
}

.ai-studio:has([data-native-color="0001P"]:checked) {
  --chosen-wall-color: #F6F1E8;
}

.ai-studio:has([data-native-color="0001P"]:checked) [data-paint-result] {
  --paint-result-color: #F6F1E8;
}

.ai-studio:has([data-native-color="0057P"]:checked) {
  --chosen-wall-color: #F1E5E3;
}

.ai-studio:has([data-native-color="0057P"]:checked) [data-paint-result] {
  --paint-result-color: #F1E5E3;
}

.ai-studio:has([data-native-color="0811D"]:checked) {
  --chosen-wall-color: #3BAC90;
}

.ai-studio:has([data-native-color="0811D"]:checked) [data-paint-result] {
  --paint-result-color: #3BAC90;
}

.ai-studio:has([data-native-color="0063A"]:checked) {
  --chosen-wall-color: #C85260;
}

.ai-studio:has([data-native-color="0063A"]:checked) [data-paint-result] {
  --paint-result-color: #C85260;
}

.ai-studio:has([data-native-color="1596A"]:checked) {
  --chosen-wall-color: #545350;
}

.ai-studio:has([data-native-color="1596A"]:checked) [data-paint-result] {
  --paint-result-color: #545350;
}

.ai-studio:has([data-native-color="1548P"]:checked) {
  --chosen-wall-color: #F1ECE3;
}

.ai-studio:has([data-native-color="1548P"]:checked) [data-paint-result] {
  --paint-result-color: #F1ECE3;
}

.ai-studio:has([data-native-color="OW508P"]:checked) {
  --chosen-wall-color: #E8D7BE;
}

.ai-studio:has([data-native-color="OW508P"]:checked) [data-paint-result] {
  --paint-result-color: #E8D7BE;
}

.ai-preview-stage {
  grid-area: preview;
  aspect-ratio: 4 / 3;
  min-height: 0;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 0;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(24, 33, 31, 0.04), rgba(24, 33, 31, 0.01) 54%, rgba(24, 33, 31, 0.1)),
    url("../images/room-color-studio.jpg");
  background-position: center;
  background-size: 100% 100%;
}

.seo-links-section {
  padding-top: 30px;
  padding-bottom: 38px;
}

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

.seo-link-card {
  min-height: 192px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 12px 32px rgba(37, 31, 25, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.seo-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 103, 95, 0.42);
  box-shadow: 0 18px 44px rgba(37, 31, 25, 0.13);
}

.seo-link-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-link-card b {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.12;
}

.seo-link-card small {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.seo-service {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 64px;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  align-items: stretch;
  gap: 28px;
  min-height: 520px;
}

.seo-hero-copy,
.seo-hero-image,
.seo-service-card,
.seo-faq,
.seo-conversion {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(37, 31, 25, 0.1);
}

.seo-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 70px);
}

.seo-hero-copy h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
}

.seo-hero-copy > p:not(.section-kicker) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.seo-hero-image {
  overflow: hidden;
}

.seo-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

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

.seo-service-card {
  padding: 24px;
}

.seo-service-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.seo-service-card p,
.seo-faq p,
.seo-conversion p {
  margin: 0;
  color: var(--muted);
}

.seo-faq {
  padding: clamp(24px, 4vw, 44px);
}

.seo-faq-list {
  display: grid;
  gap: 10px;
}

.seo-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.seo-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.seo-faq details p {
  padding: 0 20px 20px;
}

.seo-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(90deg, rgba(24, 33, 31, 0.9), rgba(24, 33, 31, 0.72)),
    url("../images/hero-after-renovation.jpg") center / cover;
  color: #fff;
}

.seo-conversion .section-kicker,
.seo-conversion p {
  color: rgba(255, 255, 255, 0.78);
}

.seo-conversion h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

@media (min-width: 921px) {
  .ai-preview-stage {
    position: sticky;
    top: 92px;
  }
}

.ai-preview-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 33, 31, 0.02), rgba(24, 33, 31, 0.04) 62%, rgba(24, 33, 31, 0.12));
  pointer-events: none;
}

.wall-color-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.12)),
    var(--chosen-wall-color);
  background-blend-mode: soft-light, normal;
  mix-blend-mode: multiply;
  opacity: 0.78;
  -webkit-mask-image: url("../images/room-color-wall-mask.png");
  mask-image: url("../images/room-color-wall-mask.png");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
  transition: background-color 0.18s ease, opacity 0.18s ease;
}

.wall-color-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 52%, rgba(0, 0, 0, 0.08)),
    radial-gradient(circle at 68% 28%, rgba(255, 255, 255, 0.18), transparent 28%);
}

.paint-sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.11)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, rgba(255, 255, 255, 0) 1px 9px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.024) 0 1px, rgba(0, 0, 0, 0) 1px 14px),
    var(--paint-animation-color);
  background-blend-mode: soft-light, soft-light, multiply, normal;
  mix-blend-mode: multiply;
  opacity: 0;
  -webkit-mask-image: url("../images/room-color-wall-mask.png");
  mask-image: url("../images/room-color-wall-mask.png");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  clip-path: polygon(
    0 0,
    calc(var(--paint-front, 0%) - 1.2%) 0,
    calc(var(--paint-front, 0%) + 0.6%) 16%,
    calc(var(--paint-front, 0%) - 1.4%) 34%,
    calc(var(--paint-front, 0%) + 0.8%) 55%,
    calc(var(--paint-front, 0%) - 0.9%) 76%,
    var(--paint-front, 0%) 100%,
    0 100%
  );
  will-change: clip-path, opacity;
  pointer-events: none;
}

.paint-sweep::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 calc(var(--paint-front, 0%) - 6%);
  width: 10%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0));
  mix-blend-mode: soft-light;
  opacity: 0.46;
}

.room-foreground {
  position: absolute;
  inset: 0;
  z-index: 4;
  background-image: url("../images/room-color-foreground.png");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.paint-roller {
  position: absolute;
  left: var(--roller-x, 9%);
  top: var(--roller-y, 40%);
  z-index: 5;
  width: clamp(86px, 14vw, 118px);
  height: clamp(86px, 14vw, 118px);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--roller-rotate, -8deg)) scale(var(--roller-scale, 1));
  filter: drop-shadow(0 12px 18px rgba(24, 33, 31, 0.26));
  will-change: left, top, transform, opacity;
  pointer-events: none;
}

.paint-roller-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.roller-fill {
  fill: var(--paint-animation-color);
  opacity: 0.64;
}

.roller-gloss {
  fill: #ffffff;
  opacity: 0.18;
}

.roller-main {
  fill: #46534f;
}

.ai-studio.is-painting .paint-sweep {
  opacity: 0.92;
}

.ai-studio.is-painting .paint-roller {
  opacity: var(--roller-opacity, 1);
}

.ai-studio.is-painting .wall-color-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.12)),
    var(--previous-wall-color);
}

.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: 6;
}

.ai-preview-copy {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 7;
  max-width: min(235px, calc(100% - 32px));
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(24, 33, 31, 0.12);
}

.ai-preview-copy h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.16;
}

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

.ai-preview-copy p {
  display: none;
}

.ai-tools {
  grid-area: tools;
  display: grid;
  gap: 16px;
}

.paint-finder {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(23, 103, 95, 0.08), rgba(189, 106, 66, 0.08)),
    var(--surface);
}

.paint-finder-head h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.paint-finder-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.paint-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.paint-links a {
  border: 1px solid color-mix(in srgb, var(--accent), var(--line) 58%);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
}

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

.paint-controls label {
  font-size: 0.82rem;
}

.paint-controls label:has([data-color-family]) {
  grid-column: 1 / -1;
}

.paint-controls label:has([data-paint-room]),
.paint-controls label:has([data-paint-light]) {
  display: none;
}

.paint-controls select {
  padding: 10px;
}

.paint-clear {
  align-self: end;
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--accent), var(--line) 56%);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent);
  font-weight: 900;
  cursor: pointer;
}

.paint-result {
  --paint-result-color: #f0ece1;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 8px 10px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--accent), var(--line) 65%);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.paint-result::before {
  content: "";
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 33, 31, 0.18);
  border-radius: 8px;
  background: var(--paint-result-color);
}

.paint-result span,
.paint-result em {
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 850;
}

.paint-result span,
.paint-result b {
  grid-column: 2;
}

.paint-result em {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.paint-result b {
  color: var(--ink);
  font-size: 1.02rem;
}

.paint-result p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.quick-color {
  min-height: 42px;
  border: 1px solid rgba(24, 33, 31, 0.2);
  border-radius: 8px;
  background: var(--swatch);
  cursor: pointer;
}

.quick-color:hover,
.quick-color.is-active {
  border-color: rgba(23, 103, 95, 0.62);
  box-shadow: 0 0 0 3px rgba(23, 103, 95, 0.14);
}

.native-color-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.native-color-option {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 5px 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.native-color-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.native-color-option span {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(24, 33, 31, 0.18);
  border-radius: 8px;
  background: var(--swatch);
}

.native-color-option b,
.native-color-option em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-color-option b {
  font-size: 0.82rem;
}

.native-color-option em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.native-color-option:hover,
.native-color-option:has(input:checked) {
  border-color: rgba(23, 103, 95, 0.62);
  box-shadow: 0 0 0 3px rgba(23, 103, 95, 0.14);
}

.inline-color-preview {
  display: none;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(24, 33, 31, 0.04), rgba(24, 33, 31, 0.01) 54%, rgba(24, 33, 31, 0.1)),
    url("../images/room-color-studio.jpg");
  background-position: center;
  background-size: 100% 100%;
}

.inline-color-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 33, 31, 0.02), rgba(24, 33, 31, 0.04) 62%, rgba(24, 33, 31, 0.12));
  pointer-events: none;
}

.paint-meta-row {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.paint-swatches {
  max-height: 430px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: auto;
  padding-right: 2px;
}

.paint-swatch {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.paint-swatch:hover {
  border-color: rgba(23, 103, 95, 0.38);
}

.paint-swatch[hidden] {
  display: none;
}

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

.paint-swatch b {
  font-size: 0.94rem;
}

.paint-swatch em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.paint-swatch.is-active {
  border-color: rgba(23, 103, 95, 0.56);
  box-shadow: 0 0 0 3px rgba(23, 103, 95, 0.12);
}

.paint-more-row {
  display: flex;
}

.paint-more-row .btn {
  width: 100%;
}

.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-template-areas:
      "tools"
      "preview";
  }

  .ai-tools {
    order: 1;
  }

  .ai-preview-stage {
    order: 2;
  }

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

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

  .seo-link-grid,
  .seo-service-grid,
  .seo-hero,
  .seo-conversion {
    grid-template-columns: 1fr;
  }

  .seo-service {
    width: min(100% - 28px, 1440px);
    padding-top: 24px;
  }

  .seo-hero {
    min-height: 0;
  }

  .seo-hero-image img {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  body.admin-bar .topbar {
    top: 46px;
  }

  .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;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo-mark {
    width: 38px;
    height: 38px;
  }

  .brand small,
  .nav-actions .lang,
  .nav-actions .btn {
    display: none;
  }

  .nav-actions .language-switcher {
    display: inline-flex;
  }

  .language-switcher button {
    min-width: 34px;
    min-height: 30px;
    font-size: 0.74rem;
  }

  .hero {
    min-height: 78svh;
  }

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

  .studio-hero {
    background-position: 58% center;
  }

  .eyebrow {
    display: block;
    width: min(318px, 100%);
    max-width: 100%;
  }

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

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

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 14px;
    text-align: center;
    white-space: normal;
  }

  .hero-meta span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section {
    padding: 52px 0;
  }

  #ai-studio.section {
    padding-top: 38px;
  }

  #ai-studio .section-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  #ai-studio .section-head h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  #ai-studio .section-head .lead {
    display: none;
  }

  .grid,
  .grid.two,
  .price-board,
  .quote-grid,
  .catalog-grid,
  .form-grid,
  .estimate-context,
  .area-presets,
  .estimate-mode,
  .simple-room-grid,
  .studio-packages,
  .studio-signals,
  .timeline,
  .rate-grid {
    grid-template-columns: 1fr;
  }

  .seo-link-grid,
  .seo-service-grid,
  .seo-hero,
  .seo-conversion {
    grid-template-columns: 1fr;
  }

  .seo-service {
    width: min(100% - 24px, 1440px);
    padding-top: 18px;
  }

  .seo-hero-copy {
    padding: 26px;
  }

  .seo-hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .seo-hero-image img {
    min-height: 280px;
  }

  .seo-conversion {
    align-items: stretch;
  }

  .seo-conversion .btn {
    width: 100%;
  }

  .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: 560px;
    padding: 22px;
  }

  .surface-panel.color-panel {
    grid-template-columns: 1fr;
    min-height: 620px;
    gap: 18px;
  }

  .surface-panel.color-panel::before {
    background-image:
      linear-gradient(0deg, rgba(12, 17, 16, 0.9), rgba(12, 17, 16, 0.34)),
      var(--panel-image);
  }

  .color-plan-card {
    width: 100%;
    justify-self: stretch;
    margin-bottom: 18px;
  }

  .ai-preview-stage {
    min-height: 0;
    padding: 0;
  }

  .ai-preview-copy {
    left: 10px;
    bottom: 10px;
    max-width: min(220px, calc(100% - 20px));
  }

  .paint-finder {
    padding: 14px;
    gap: 10px;
  }

  .paint-finder-head h3 {
    margin-bottom: 0;
    font-size: 1.05rem;
  }

  .paint-finder-copy,
  .paint-links,
  .paint-result p {
    display: none;
  }

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

  .paint-controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .paint-controls label:has([data-paint-room]),
  .paint-controls label:has([data-paint-light]) {
    display: none;
  }

  .paint-controls label:has([data-color-family]) {
    grid-column: 1 / -1;
  }

  .paint-clear {
    min-width: 84px;
    padding: 0 10px;
  }

  .paint-result {
    grid-template-columns: auto 1fr auto;
    padding: 10px;
  }

  .quick-palette {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }

  .quick-color {
    min-height: 44px;
  }

  .native-color-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .native-color-option {
    padding: 7px;
  }

  .inline-color-preview {
    display: block;
  }

  .paint-meta-row {
    font-size: 0.78rem;
  }

  .paint-swatches {
    max-height: 320px;
    grid-template-columns: 1fr;
    gap: 7px;
    padding-bottom: 58px;
    padding-right: 4px;
  }

  .paint-swatch {
    grid-template-columns: 36px 1fr;
    min-height: 52px;
    padding: 9px;
  }

  .paint-swatch em {
    grid-column: 2;
  }

  .sticky-wa {
    right: 12px;
    bottom: 12px;
    width: 48px;
    min-height: 48px;
    padding: 0;
    font-size: 0;
  }

  .sticky-wa::after {
    content: "WA";
    font-size: 0.78rem;
    font-weight: 950;
  }
}

/* Refined service-first layout, v1.5. */
body.ceva-refined .section {
  padding: 68px 0;
}

body.ceva-refined .section.tight {
  padding-top: 56px;
}

body.ceva-refined .service-hero {
  min-height: 660px;
}

body.ceva-refined .service-hero-copy {
  padding-bottom: 86px;
}

body.ceva-refined .service-hero .hero-actions {
  gap: 12px;
}

body.ceva-refined .studio-signals {
  margin-top: -42px;
}

body.ceva-refined .studio-signal {
  min-height: 108px;
  padding: 18px 20px;
}

body.ceva-refined .studio-signal span {
  max-width: 210px;
  color: #40545a;
  line-height: 1.38;
}

body.ceva-refined #surfaces {
  padding-top: 88px;
}

body.ceva-refined .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.ceva-refined .service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.ceva-refined .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 123, 126, 0.42);
  box-shadow: 0 18px 40px rgba(21, 48, 54, 0.13);
}

body.ceva-refined .service-card img {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

body.ceva-refined .service-card > div {
  display: flex;
  flex-direction: column;
  min-height: 214px;
  padding: 22px;
}

body.ceva-refined .service-card h3 {
  font-size: 1.28rem;
}

body.ceva-refined .service-card em {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 900;
}

body.ceva-refined .service-card em::after {
  content: " →";
}

html[dir="rtl"] body.ceva-refined .service-card em::after {
  content: " ←";
}

body.ceva-refined .proof-band {
  width: 100%;
  margin: 18px 0 12px;
  background: #eaf1f2;
}

body.ceva-refined .proof-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

body.ceva-refined .proof-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #d9e3e4;
  box-shadow: 0 20px 52px rgba(21, 48, 54, 0.16);
}

body.ceva-refined .proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ceva-refined .proof-label {
  position: absolute;
  top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 6px;
  padding: 7px 10px;
  background: rgba(12, 25, 29, 0.72);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.ceva-refined .proof-label-before {
  left: 16px;
}

body.ceva-refined .proof-label-after {
  right: 16px;
}

html[dir="rtl"] body.ceva-refined .proof-label-before {
  right: 16px;
  left: auto;
}

html[dir="rtl"] body.ceva-refined .proof-label-after {
  right: auto;
  left: 16px;
}

body.ceva-refined .proof-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
  text-wrap: balance;
}

body.ceva-refined .proof-lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

body.ceva-refined .proof-list {
  display: grid;
  gap: 0;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

body.ceva-refined .proof-list li {
  display: grid;
  grid-template-columns: minmax(105px, 0.38fr) minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(21, 48, 54, 0.14);
  padding: 14px 0;
}

body.ceva-refined .proof-list li:last-child {
  border-bottom: 1px solid rgba(21, 48, 54, 0.14);
}

body.ceva-refined .proof-list b {
  color: var(--ink);
  line-height: 1.35;
}

body.ceva-refined .proof-list span {
  color: var(--muted);
  line-height: 1.48;
}

body.ceva-refined .timeline {
  border-color: #dce6e8;
  box-shadow: 0 12px 34px rgba(21, 48, 54, 0.08);
}

body.ceva-refined .rate-card {
  min-height: 126px;
  display: grid;
  align-content: center;
}

body.ceva-refined .rate-card b {
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
}

body.ceva-refined .estimator-band {
  margin-top: 12px;
  background: #ffffff;
  border-color: #dce6e8;
  box-shadow: 0 20px 54px rgba(21, 48, 54, 0.1);
}

body.ceva-refined .contact-copy {
  min-height: 480px;
}

body.ceva-refined .contact-whatsapp {
  margin-top: 26px;
}

body.ceva-refined .contact-form {
  align-content: center;
  padding: 24px;
}

@media (max-width: 920px) {
  body.ceva-refined .proof-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  body.ceva-refined .proof-media {
    aspect-ratio: 16 / 9;
  }

  body.ceva-refined .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.ceva-refined .section {
    padding: 50px 0;
  }

  body.ceva-refined .service-hero {
    min-height: 660px;
  }

  body.ceva-refined .service-hero-copy {
    padding-bottom: 70px;
  }

  body.ceva-refined .studio-signals {
    margin-top: -24px;
  }

  body.ceva-refined .studio-signal {
    min-height: 102px;
  }

  body.ceva-refined #surfaces {
    padding-top: 64px;
  }

  body.ceva-refined .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.ceva-refined .service-card {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  body.ceva-refined .service-card img {
    width: 112px;
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
  }

  body.ceva-refined .service-card > div {
    min-height: 190px;
    padding: 16px;
  }

  body.ceva-refined .service-card h3 {
    font-size: 1.08rem;
  }

  body.ceva-refined .service-card p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  body.ceva-refined .service-card em {
    padding-top: 10px;
    font-size: 0.8rem;
  }

  body.ceva-refined .proof-inner {
    width: min(100% - 28px, 1180px);
    padding: 50px 0;
  }

  body.ceva-refined .proof-media {
    aspect-ratio: 4 / 3;
  }

  body.ceva-refined .proof-copy h2 {
    font-size: 32px;
  }

  body.ceva-refined .proof-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body.ceva-refined .timeline {
    grid-template-columns: 1fr;
  }

  body.ceva-refined .timeline-step {
    min-height: 0;
  }

  body.ceva-refined .rate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ceva-refined .rate-card {
    min-height: 118px;
  }

  body.ceva-refined .contact-copy {
    min-height: 430px;
  }
}

@media (max-width: 1120px) {
  .service-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
    padding: 0;
  }

  .service-hero-copy {
    order: 2;
    padding: 32px 24px 44px;
  }

  .hero-compare {
    order: 1;
    height: clamp(320px, 50vw, 520px);
    min-height: 0;
    border-radius: 0;
    border-right: 0;
    border-left: 0;
  }

  .estimator-band {
    grid-template-columns: 1fr;
  }

  .estimate-head {
    position: static;
  }

  html[dir="rtl"] .service-hero-copy {
    text-align: right;
  }

  html[dir="rtl"] .service-hero h1 {
    width: min(620px, 100%);
    font-size: clamp(2.7rem, 8vw, 4.25rem);
    line-height: 1.04;
  }

  html[dir="rtl"] .hero-compare {
    height: clamp(300px, 45vw, 480px);
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .service-hero {
    width: 100%;
  }

  .service-hero-copy {
    padding: 26px 18px 36px;
  }

  .service-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-trust span {
    min-height: 0;
  }

  .service-hero .hero-actions .btn {
    width: 100%;
  }

  .hero-compare {
    height: 330px;
    min-height: 0;
  }

  .compare-label {
    bottom: 14px;
  }

  .compare-label-before {
    left: 14px;
  }

  .compare-label-after {
    right: 14px;
  }

  .hero-compare-divider span {
    width: 46px;
    height: 46px;
  }

  .estimator-band {
    width: min(100% - 24px, 1180px);
    padding: 14px;
  }

  .estimate-live-total b {
    font-size: 2.2rem;
  }

  .estimate-inline-result .estimate-lines li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  html[dir="rtl"] .hero-compare {
    height: 300px;
    min-height: 0;
    max-height: none;
  }

  html[dir="rtl"] .service-hero-copy {
    padding: 24px 18px 34px;
  }

  html[dir="rtl"] .service-hero h1 {
    font-size: clamp(2.2rem, 9.4vw, 3rem);
    line-height: 1.06;
  }

  html[dir="rtl"] .service-hero p {
    margin-top: 18px;
    font-size: 1.08rem;
    line-height: 1.52;
  }

  html[dir="rtl"] .compare-label {
    letter-spacing: 0;
    text-transform: none;
  }
}

/* CEVA PLUS service redesign */
body.studio {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --ink: #172126;
  --muted: #5b686f;
  --line: #d9e2e5;
  --accent: #0b7f8d;
  --accent-2: #72bf44;
  --soft: #e4f3f4;
  --paper: #eef3f4;
  --shadow: 0 18px 44px rgba(21, 48, 54, 0.12);
  background: var(--bg);
}

body.studio .topbar {
  border-bottom-color: rgba(23, 33, 38, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

body.studio .nav-wrap {
  min-height: 78px;
}

body.studio .brand {
  gap: 12px;
}

body.studio .brand-logo-mark {
  width: 62px;
  height: 62px;
}

body.studio .brand-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.studio .skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  border: 2px solid #ffffff;
  padding: 10px 14px;
  background: #172126;
  color: #ffffff;
  font-weight: 800;
}

body.studio .skip-link:focus {
  transform: translateY(0);
}

body.studio .brand-text b {
  color: #111a1e;
  font-size: 1.05rem;
}

body.studio .brand small {
  color: #607078;
  font-size: 0.72rem;
}

body.studio .nav-links {
  color: #49585f;
}

body.studio .language-switcher,
body.studio .lang {
  border-color: #d5e0e3;
  background: #f7fafb;
}

body.studio .service-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 82svh, 760px);
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background-color: #132328;
  background-image:
    linear-gradient(90deg, rgba(12, 25, 29, 0.9) 0%, rgba(12, 25, 29, 0.72) 48%, rgba(12, 25, 29, 0.16) 78%),
    var(--service-hero-image);
  background-position: center 42%;
  background-size: cover;
  color: #ffffff;
}

body.studio .service-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(0deg, rgba(7, 17, 20, 0.42), transparent);
}

body.studio .service-hero-copy {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0 112px;
}

body.studio .service-hero .eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border-left: 4px solid var(--accent-2);
  padding-left: 12px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

html[dir="rtl"] body.studio .service-hero .eyebrow {
  border-right: 4px solid var(--accent-2);
  border-left: 0;
  padding-right: 12px;
  padding-left: 0;
}

body.studio .service-hero h1,
html[dir="rtl"] body.studio .service-hero h1 {
  width: min(760px, 100%);
  margin: 0;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.04;
  text-wrap: balance;
}

body.studio .service-hero p,
html[dir="rtl"] body.studio .service-hero p {
  width: min(650px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
}

body.studio .hero-trust {
  width: min(760px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

body.studio .hero-trust span {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 12px;
  background: rgba(12, 25, 29, 0.48);
  color: #ffffff;
  font-size: 0.84rem;
  backdrop-filter: blur(8px);
}

body.studio .service-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

body.studio .service-hero .btn.secondary,
body.studio .service-hero .btn.light {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(12, 25, 29, 0.46);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

body.studio .studio-signals {
  margin-top: -48px;
  border-color: #dce6e8;
  background: #dce6e8;
  box-shadow: 0 16px 42px rgba(21, 48, 54, 0.14);
}

body.studio .studio-signal {
  min-height: 124px;
  background: rgba(255, 255, 255, 0.98);
}

body.studio .studio-signal b {
  color: var(--accent);
}

body.studio .section-head h2 {
  max-width: 780px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.1;
  text-wrap: balance;
}

body.studio .section-kicker {
  color: var(--accent);
  letter-spacing: 0;
}

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

body.studio .service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(21, 48, 54, 0.08);
}

body.studio .service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.studio .service-card > div {
  padding: 20px;
}

body.studio .service-card span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
}

body.studio .service-card h3 {
  margin: 7px 0 9px;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.2;
}

body.studio .service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

body.studio .service-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
}

body.studio .service-card-featured img {
  height: 100%;
  min-height: 330px;
  aspect-ratio: auto;
}

body.studio .service-card-featured > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

body.studio .service-card-cta {
  display: grid;
  align-content: end;
  min-height: 100%;
  border-color: #163b43;
  background: #163b43;
}

body.studio .service-card-cta span,
body.studio .service-card-cta h3,
body.studio .service-card-cta .text-link {
  color: #ffffff;
}

body.studio .service-card-cta p {
  color: rgba(255, 255, 255, 0.76);
}

body.studio .service-card-cta .text-link {
  display: inline-block;
  margin-top: 22px;
  border-bottom: 2px solid var(--accent-2);
  padding-bottom: 4px;
  font-weight: 850;
}

body.studio .coverage-band {
  width: 100%;
  margin: 32px 0 72px;
  background: #172126;
  color: #ffffff;
}

body.studio .coverage-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

body.studio .coverage-copy h2 {
  max-width: 520px;
  margin: 10px 0 20px;
  color: #ffffff;
  font-size: 42px;
  line-height: 1.1;
}

body.studio .coverage-copy > p:not(.section-kicker) {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.03rem;
  line-height: 1.65;
}

body.studio .coverage-band .section-kicker {
  color: #73d4d7;
}

body.studio .city-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.studio .city-route span {
  position: relative;
  min-width: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 9px 8px 9px 20px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

body.studio .city-route span::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e3b44d;
}

html[dir="rtl"] body.studio .city-route span {
  padding-right: 20px;
  padding-left: 8px;
}

html[dir="rtl"] body.studio .city-route span::before {
  right: 3px;
  left: auto;
}

body.studio .coverage-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

body.studio .coverage-facts p {
  margin: 0;
}

body.studio .coverage-facts b,
body.studio .coverage-facts span {
  display: block;
}

body.studio .coverage-facts b {
  color: #ffffff;
  font-size: 0.96rem;
}

body.studio .coverage-facts span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  line-height: 1.5;
}

body.studio .rate-card,
body.studio .timeline-step,
body.studio .contact-form,
body.studio .estimate-panel {
  background: #ffffff;
}

body.studio .rate-card b {
  color: #087580;
  font-size: 1.7rem;
}

body.studio .timeline-step b {
  background: #e1f2f3;
  color: #087580;
}

body.studio .footer {
  border-top: 1px solid #d8e3e5;
  background: #172126;
  color: rgba(255, 255, 255, 0.82);
}

body.studio.seo-service-page .seo-service {
  background: transparent;
}

body.studio.seo-service-page .seo-hero,
body.studio.seo-service-page .seo-service-card,
body.studio.seo-service-page .seo-faq details,
body.studio.seo-service-page .seo-conversion {
  border-color: var(--line);
  background: #ffffff;
}

@media (max-width: 920px) {
  body.studio .service-hero {
    min-height: 720px;
    background-image:
      linear-gradient(90deg, rgba(12, 25, 29, 0.9), rgba(12, 25, 29, 0.46)),
      var(--service-hero-image);
    background-position: 58% center;
  }

  body.studio .service-hero-copy {
    padding-top: 72px;
  }

  body.studio .service-hero h1,
  html[dir="rtl"] body.studio .service-hero h1 {
    font-size: 44px;
  }

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

  body.studio .coverage-inner {
    grid-template-columns: 1fr;
  }

  body.studio .service-card-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body.studio .nav-wrap {
    min-height: 68px;
  }

  body.studio .brand-logo-mark {
    width: 50px;
    height: 50px;
  }

  body.studio .brand-text b {
    font-size: 0.92rem;
  }

  body.studio .service-hero {
    min-height: 700px;
    background-image:
      linear-gradient(0deg, rgba(8, 18, 21, 0.94) 0%, rgba(8, 18, 21, 0.72) 58%, rgba(8, 18, 21, 0.3) 100%),
      var(--service-hero-image);
    background-position: 60% center;
  }

  body.studio .service-hero-copy {
    width: min(100% - 28px, 1180px);
    justify-content: flex-end;
    padding: 72px 0 72px;
  }

  body.studio .service-hero h1,
  html[dir="rtl"] body.studio .service-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  body.studio .service-hero p,
  html[dir="rtl"] body.studio .service-hero p {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.48;
  }

  body.studio .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 18px;
  }

  body.studio .hero-trust span {
    min-height: 36px;
  }

  body.studio .service-hero .hero-actions {
    margin-top: 20px;
  }

  body.studio .service-hero .hero-actions .btn:nth-child(3) {
    display: none;
  }

  body.studio .studio-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -26px;
  }

  body.studio .studio-signal {
    min-height: 118px;
    padding: 16px;
  }

  body.studio .section-head h2 {
    font-size: 32px;
  }

  body.studio .services-grid {
    grid-template-columns: 1fr;
  }

  body.studio .service-card-featured {
    display: block;
    grid-column: auto;
  }

  body.studio .service-card-featured img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  body.studio .service-card-cta {
    min-height: 280px;
  }

  body.studio .coverage-band {
    margin-bottom: 50px;
  }

  body.studio .coverage-inner {
    width: min(100% - 28px, 1180px);
    padding: 52px 0;
    gap: 30px;
  }

  body.studio .coverage-copy h2 {
    font-size: 32px;
  }

  body.studio .city-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.studio .coverage-facts {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Keep the refined service cards compact after the base redesign cascade. */
body.studio.ceva-refined .service-card img {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
}

body.studio.ceva-refined .service-card > div {
  padding: 22px;
}

@media (max-width: 620px) {
  body.studio.ceva-refined .service-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  body.studio.ceva-refined .service-card img {
    width: 112px;
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
  }

  body.studio.ceva-refined .service-card > div {
    min-height: 190px;
    padding: 16px;
  }

  body.studio.ceva-refined .service-card h3 {
    font-size: 1.08rem;
  }

  body.studio.ceva-refined .simple-room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.studio.ceva-refined .simple-room-grid button:last-child {
    grid-column: 1 / -1;
  }
}
