:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-2: #090f18;
  --panel: rgba(15, 18, 24, 0.88);
  --panel-2: rgba(20, 25, 34, 0.92);
  --text: #f4f6f8;
  --muted: rgba(244, 246, 248, 0.66);
  --soft: rgba(244, 246, 248, 0.42);
  --line: rgba(93, 130, 224, 0.24);
  --line-strong: rgba(31, 79, 216, 0.7);
  --blue: #1f4fd8;
  --blue-2: #88a9ff;
  --danger: #ef6f6c;
  --ok: #27b357;
  --radius: 6px;
  --max: 1180px;
  --side: 292px;
  --font: Inter, "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Narrow", "Roboto Condensed", Impact, var(--font);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

:root[data-theme="bright"] {
  color-scheme: light;
  --bg: #f7f8fb;
  --bg-2: #eef3fb;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-2: rgba(247, 248, 251, 0.94);
  --text: #0d1422;
  --muted: rgba(13, 20, 34, 0.66);
  --soft: rgba(13, 20, 34, 0.42);
  --line: rgba(31, 79, 216, 0.17);
  --line-strong: rgba(31, 79, 216, 0.58);
  --shadow: 0 18px 44px rgba(7, 20, 61, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background:
    linear-gradient(rgba(136, 169, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 79, 216, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 76% 10%, rgba(31, 79, 216, 0.2), transparent 32%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  background-size: 44px 44px, 44px 44px, auto, auto;
}

:root[data-theme="bright"] body {
  background:
    linear-gradient(rgba(31, 79, 216, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 79, 216, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(31, 79, 216, 0.12), transparent 30%),
    linear-gradient(135deg, #fff, var(--bg), var(--bg-2));
  background-size: 52px 52px, 52px 52px, auto, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 6px);
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 12px;
  background: var(--blue);
  color: #fff;
}

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

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  width: var(--side);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 24px;
  border-right: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(136, 169, 255, 0.04) 1px, transparent 1px),
    rgba(5, 7, 11, 0.9);
  background-size: 32px 32px, auto;
  backdrop-filter: blur(18px);
}

:root[data-theme="bright"] .site-header {
  background:
    linear-gradient(rgba(31, 79, 216, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
}

.brand-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.brand strong {
  font-size: 18px;
  line-height: 1;
  font-weight: 850;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-nav a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(136, 169, 255, 0.12);
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  font-weight: 850;
}

.site-nav a:last-child {
  border-bottom: 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: var(--blue-2);
}

.header-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.phone-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 850;
}

.button,
.theme-toggle,
.file-import {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  font-weight: 850;
}

.button-small {
  min-height: 44px;
}

.button-glass,
.theme-toggle {
  color: var(--text);
  background:
    linear-gradient(rgba(136, 169, 255, 0.05) 1px, transparent 1px),
    rgba(31, 79, 216, 0.1);
  background-size: 14px 14px, auto;
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line-strong);
}

.language-switcher button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

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

main,
.site-footer {
  margin-left: var(--side);
}

main > section,
.project-hero,
.gallery-archive,
.division-hero,
.renovation-calc {
  padding: clamp(74px, 9vw, 128px) clamp(24px, 6vw, 72px);
}

.hero-protocol {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 56% 30%, rgba(31, 79, 216, 0.18), transparent 35%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent 45%);
}

:root[data-theme="bright"] .hero-shade {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 850;
}

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

.hero-protocol h1,
.division-hero h1,
.gallery-archive h1,
.project-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-protocol h1 span {
  display: block;
}

.hero-protocol h1 span:nth-child(2),
.gallery-archive h1 span,
.project-hero h1 span {
  color: var(--blue-2);
}

.hero-protocol h1 span:nth-child(3) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
}

.hero-lede,
.division-hero p,
.section-heading p,
.project-story p,
.gallery-archive p,
.renovation-copy p,
.service-lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
}

.hero-lede {
  margin: 24px auto 0;
}

.hero-metrics {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  display: grid;
  gap: 6px;
  text-align: center;
}

.hero-metrics dt {
  color: var(--blue-2);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 0;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  line-height: 1.4;
}

.hero-symbol {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.hero-symbol-square {
  width: 70px;
  height: 70px;
  top: 22%;
  left: 17%;
  border: 1px solid var(--line-strong);
  transform: rotate(11deg);
}

.hero-symbol-corner {
  width: 110px;
  height: 110px;
  right: 6%;
  bottom: 18%;
  border: 1px solid var(--line-strong);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 50%;
}

.hero-symbol-dots {
  width: 86px;
  height: 54px;
  left: 36%;
  bottom: 25%;
  background-image: radial-gradient(circle, var(--blue) 2px, transparent 2px);
  background-size: 16px 16px;
}

.scroll-cue {
  display: none;
}

.ticker {
  position: fixed;
  inset: 0 0 auto var(--side);
  z-index: 85;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker-track span {
  padding: 8px 28px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 13px;
  font-weight: 850;
}

.ticker-track span::after {
  content: "//";
  margin-left: 28px;
  opacity: 0.55;
}

[dir="rtl"] {
  --font: Dubai, "Segoe UI", Tahoma, Arial, sans-serif;
  --display: Dubai, "Segoe UI", Tahoma, Arial, sans-serif;
}

[dir="rtl"] body {
  text-align: right;
  font-family: var(--font);
}

[dir="rtl"] .hero-protocol h1,
[dir="rtl"] .division-hero h1,
[dir="rtl"] .gallery-archive h1,
[dir="rtl"] .project-hero h1,
[dir="rtl"] .section-heading h2,
[dir="rtl"] .service-intro h2,
[dir="rtl"] .division-feature h2,
[dir="rtl"] .renovation-copy h1,
[dir="rtl"] .renovation-copy h2,
[dir="rtl"] .project-story h2,
[dir="rtl"] .gallery-cta h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
}

[dir="rtl"] .eyebrow,
[dir="rtl"] .site-nav a,
[dir="rtl"] .division-nav a,
[dir="rtl"] .ticker-track span,
[dir="rtl"] .button,
[dir="rtl"] button {
  letter-spacing: 0;
}

[dir="rtl"] .site-header {
  inset: 0 0 0 auto;
  border-right: 0;
  border-left: 1px solid var(--line-strong);
}

[dir="rtl"] main,
[dir="rtl"] .site-footer {
  margin-left: 0;
  margin-right: var(--side);
}

[dir="rtl"] .ticker {
  inset: 0 var(--side) auto 0;
}

[dir="rtl"] .division-nav {
  margin-left: 0;
  margin-right: var(--side);
}

[dir="rtl"] .site-nav a,
[dir="rtl"] .division-nav a,
[dir="rtl"] .boq-table th,
[dir="rtl"] .boq-table td {
  text-align: right;
}

[dir="rtl"] .brand,
[dir="rtl"] .boq-head,
[dir="rtl"] .kitchen-builder-head,
[dir="rtl"] .department-card,
[dir="rtl"] .service-card {
  direction: rtl;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section-heading,
.service-intro,
.platform-top,
.method,
.media-strip,
.seo-section,
.gallery-archive-head {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.section-heading h2,
.service-intro h2,
.division-feature h2,
.renovation-copy h1,
.renovation-copy h2,
.project-story h2,
.gallery-cta h2 {
  max-width: 820px;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: balance;
}

.portfolio-grid,
.project-gallery-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.portfolio-tile,
.project-card {
  position: relative;
  min-height: 260px;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  color: #fff;
  text-decoration: none;
}

.portfolio-tile.wide,
.project-card.wide {
  grid-column: span 6;
}

.portfolio-tile.tall,
.project-card.tall {
  grid-row: span 2;
  min-height: 540px;
}

.portfolio-tile img,
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02) brightness(0.72);
  transition: filter 180ms ease, transform 180ms ease;
}

.portfolio-tile:hover img,
.project-card:hover img {
  filter: grayscale(0) contrast(1) brightness(0.9);
  transform: scale(1.025);
}

.portfolio-tile::after,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(136, 169, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
  background-size: 10px 10px, auto;
}

.portfolio-tile span,
.project-card h2,
.project-card span {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
}

.portfolio-tile span,
.project-card h2 {
  bottom: 18px;
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 850;
}

.project-card span {
  bottom: 66px;
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 850;
}

.project-card dl {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 18px;
  margin: 0;
}

.project-card dt {
  color: var(--soft);
  font-size: 10px;
  text-transform: uppercase;
}

.project-card dd {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.services,
.platform,
.method,
.media-strip,
.inquiry,
.seo-section,
.gallery-cta,
.project-story,
.project-visuals,
.division-grid,
.prefab-creation-strip {
  border-top: 1px solid var(--line);
}

.service-intro,
.division-hero,
.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.service-proof-card,
.division-hero figure,
.project-hero > img,
.project-visuals figure {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-proof-card img,
.division-hero figure img,
.project-hero > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) brightness(0.72);
}

.service-proof-card div,
.division-hero figcaption,
.project-visuals figcaption {
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
}

.service-proof-card span,
.service-proof-card strong {
  display: block;
}

.service-proof-card span {
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 850;
}

.service-proof-card strong {
  margin-top: 6px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.service-list,
.division-grid,
.method-steps,
.app-grid,
.focus-grid,
.faq-grid,
.project-specs,
.prefab-creation-strip {
  width: min(var(--max), 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-list article,
.division-grid article,
.method-steps article,
.app-card,
.focus-grid article,
.faq-grid article,
.project-specs article,
.renovation-card,
.kitchen-builder,
.finish-selector,
.renovation-summary,
.boq-panel,
.estimator,
.lead-form,
.estimate-output,
.signal-card,
.material-card,
.material-board,
.material-empty,
.moodboard-control,
.mood-option,
.prefab-creation-strip article {
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(136, 169, 255, 0.035) 1px, transparent 1px),
    var(--panel);
  background-size: 28px 28px, auto;
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-list span,
.division-grid span,
.method-steps span,
.project-specs span,
.boq-head span,
.app-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 850;
}

.service-list h3,
.division-grid h2,
.method-steps h3,
.app-card h3,
.faq-grid h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.1;
}

.service-list p,
.division-grid p,
.method-steps p,
.app-card p,
.faq-grid p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.division-nav {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: var(--side);
  padding: 9px clamp(24px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.88);
  backdrop-filter: blur(18px);
}

:root[data-theme="bright"] .division-nav {
  background: rgba(255, 255, 255, 0.9);
}

.division-nav a,
.gallery-tabs a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 850;
  padding: 8px 10px;
}

.division-nav a:hover,
.division-nav a[aria-current="page"],
.gallery-tabs a:hover,
.gallery-tabs a.is-active {
  color: var(--blue-2);
}

.division-hero {
  padding-top: clamp(92px, 10vw, 140px);
}

.division-actions,
.boq-actions,
.advanced-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.division-feature,
.gallery-cta {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(28px, 5vw, 56px);
}

.gallery-archive-head {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
}

.gallery-mark {
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  opacity: 0.45;
  background:
    linear-gradient(45deg, transparent 49%, var(--line-strong) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, var(--line-strong) 50%, transparent 51%);
}

.gallery-filter-bar {
  width: min(var(--max), 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 28px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.project-hero {
  min-height: 70svh;
}

.project-hero > img {
  min-height: 420px;
}

.project-specs {
  margin-top: 0;
}

.project-specs article strong {
  display: block;
  font-size: 18px;
}

.project-visuals {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.project-visuals figure {
  margin: 0;
}

.project-visuals img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) brightness(0.78);
}

.project-story {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(28px, 6vw, 72px);
}

.renovation-calc {
  display: grid;
  gap: 28px;
}

.renovation-copy {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.renovation-tool {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

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

.stepper {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 8px;
  margin-top: 18px;
}

.stepper button,
.stepper input,
input,
select,
textarea {
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  padding: 0 12px;
}

:root[data-theme="bright"] .stepper button,
:root[data-theme="bright"] .stepper input,
:root[data-theme="bright"] input,
:root[data-theme="bright"] select,
:root[data-theme="bright"] textarea {
  background: rgba(255, 255, 255, 0.82);
}

.kitchen-builder-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.kitchen-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.kitchen-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.kitchen-item label,
label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

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

.finish-selector label {
  padding: 18px;
  border: 1px solid var(--line);
}

.finish-selector label:has(input:checked) {
  border-color: var(--line-strong);
  background: rgba(31, 79, 216, 0.16);
}

.finish-selector input {
  position: absolute;
  opacity: 0;
}

.renovation-summary dl {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 18px 0 0;
}

.renovation-summary dt,
.renovation-summary dd {
  margin: 0;
}

.renovation-summary dt {
  color: var(--soft);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 850;
}

.renovation-summary dd {
  font-size: 20px;
  font-weight: 850;
}

.boq-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.boq-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 18px;
}

.boq-head h3 {
  margin: 0;
  font-size: 24px;
}

.boq-totals {
  min-width: 260px;
  border: 1px solid var(--line);
  padding: 16px;
}

.boq-totals strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.boq-table-wrap {
  overflow-x: auto;
}

.boq-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.boq-table th,
.boq-table td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.boq-table th {
  color: var(--blue-2);
  text-transform: uppercase;
  font-size: 12px;
}

.boq-row-rooms,
.boq-row-halls {
  background: rgba(31, 79, 216, 0.08);
}

.boq-row-bathrooms,
.boq-row-kitchens {
  background: rgba(136, 169, 255, 0.06);
}

body[data-calculator-department] .renovation-calc {
  padding-inline: clamp(20px, 3vw, 36px);
}

body[data-calculator-department] .renovation-copy,
body[data-calculator-department] .renovation-tool,
body[data-calculator-department] .boq-panel {
  width: 100%;
  max-width: none;
}

.inquiry {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 72px);
}

.estimator {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.estimate-output {
  grid-column: 1 / -1;
  display: block;
  color: var(--blue-2);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 850;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form textarea {
  min-height: 120px;
  padding-top: 12px;
}

.app-dialog,
.lightbox {
  width: min(860px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text);
  padding: 24px;
}

.lightbox::backdrop,
.app-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.lightbox img {
  max-height: 72vh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-close {
  float: right;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
}

.moodboard-layout,
.app-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.moodboard-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 420px);
  gap: 22px;
}

.material-board {
  min-height: 620px;
  position: relative;
}

.moodboard-control {
  display: grid;
  gap: 14px;
}

.material-card,
.mood-option {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
}

.material-card img,
.mood-option img {
  width: 74px;
  height: 74px;
  object-fit: cover;
}

.tool-embed-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}

.tool-frame {
  width: 100%;
  min-height: 920px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(24px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.85);
}

:root[data-theme="bright"] .site-footer {
  background: rgba(255, 255, 255, 0.86);
}

.site-footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-style: normal;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  min-width: 96px;
  height: 48px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  box-shadow: var(--shadow);
}

@media (min-width: 1121px) {
  .floating-whatsapp {
    display: none;
  }
}

.strip-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.strip-track img,
.method-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) brightness(0.72);
}

.method {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 72px);
}

.seo-section {
  display: grid;
  gap: 26px;
}

.faq-grid {
  margin-top: 0;
}

@media (max-width: 1120px) {
  :root {
    --side: 0px;
  }

  .site-header {
    position: sticky;
    inset: 0 0 auto 0;
    width: 100%;
    min-height: 78px;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  main,
  .site-footer,
  .division-nav {
    margin-left: 0;
  }

  [dir="rtl"] main,
  [dir="rtl"] .site-footer,
  [dir="rtl"] .division-nav {
    margin-right: 0;
  }

  .site-nav {
    display: flex;
    gap: 12px;
    margin-left: auto;
    border: 0;
  }

  .site-nav a {
    border: 0;
    padding: 8px 0;
    font-size: 12px;
  }

  .header-actions {
    margin-top: 0;
    display: flex;
    align-items: center;
  }

  .phone-link {
    display: none;
  }

  .ticker {
    left: 0;
  }

  [dir="rtl"] .ticker {
    right: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    padding: 8px 12px;
    text-transform: uppercase;
    font-weight: 850;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .nav-open .site-nav {
    display: grid;
  }

  .header-actions {
    order: 2;
  }

  .hero-protocol h1,
  .division-hero h1,
  .gallery-archive h1,
  .project-hero h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .service-intro,
  .division-hero,
  .project-hero,
  .project-story,
  .project-visuals,
  .inquiry,
  .method,
  .tool-embed-section,
  .moodboard-workspace {
    grid-template-columns: 1fr;
  }

  .portfolio-grid,
  .project-gallery-grid,
  .service-list,
  .division-grid,
  .method-steps,
  .app-grid,
  .focus-grid,
  .faq-grid,
  .project-specs,
  .prefab-creation-strip,
  .renovation-grid,
  .finish-selector,
  .estimator {
    grid-template-columns: 1fr;
  }

  .portfolio-tile,
  .portfolio-tile.wide,
  .portfolio-tile.tall,
  .project-card,
  .project-card.wide,
  .project-card.tall {
    grid-column: span 1;
    min-height: 260px;
  }

  .gallery-archive-head {
    grid-template-columns: 1fr;
  }

  .gallery-mark {
    display: none;
  }

  .kitchen-item,
  .renovation-summary dl {
    grid-template-columns: 1fr;
  }

  .boq-head,
  .division-feature,
  .gallery-cta,
  .site-footer {
    display: grid;
  }
}
