:root {
  color-scheme: light;
  --paper: #fffdf8;
  --paper-warm: #f7f1e7;
  --sand: #efe6d5;
  --wall: #e8d9c3;
  --ink: #191512;
  --muted: #625a50;
  --navy: #0d2436;
  --teal: #0e3a3a;
  --teal-soft: #315553;
  --terra: #c96f4a;
  --terra-dark: #913e25;
  --gold: #d9a441;
  --line: #ded4c5;
  --font-body: "Tajawal", Tahoma, Arial, sans-serif;
  --font-display: "Aref Ruqaa", "Tajawal", Tahoma, serif;
  --font-numbers: "Reem Kufi", "Tajawal", sans-serif;
  --page-width: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-space: clamp(76px, 10vw, 132px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-color: var(--teal) var(--paper-warm);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--teal);
  color: var(--paper);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--paper-warm);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--paper-warm);
  border-radius: 20px;
  background: var(--teal);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

img {
  display: block;
  max-width: 100%;
}

.page-width {
  width: min(var(--page-width), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  padding: 10px 18px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--teal);
  color: var(--paper);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.service-ribbon {
  min-height: 36px;
  background: var(--teal);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.ribbon-inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.ribbon-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.site-header {
  position: sticky;
  z-index: 20;
  inset-block-start: 0;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  background: var(--navy);
}

.site-header .logo-copy strong {
  color: var(--paper);
}

.site-header .logo-copy small {
  color: var(--paper-warm);
}

.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--teal);
}

.logo-mark svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.logo-copy {
  display: grid;
  line-height: 1.35;
}

.logo-copy strong {
  font-size: 16px;
  font-weight: 900;
}

.logo-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.main-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.main-nav a:hover {
  border-color: rgb(255 255 255 / 55%);
  background: rgb(255 255 255 / 10%);
  color: var(--paper);
}

.main-nav a[aria-current="page"] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.text-link:hover {
  color: var(--terra-dark);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  flex: 0 0 auto;
}

.button-dark {
  background: var(--teal);
  color: var(--paper);
}

.button-dark:hover {
  background: #092d2d;
}

.button-terra {
  background: var(--terra);
  color: var(--ink);
}

.button-terra:hover {
  background: #d7825e;
}

.button-outline {
  border-color: var(--teal);
  background: transparent;
  color: var(--teal);
}

.button-outline:hover {
  background: var(--teal);
  color: var(--paper);
}

.nav-call {
  min-height: 46px;
  padding-inline: 16px;
  font-size: 14px;
}

.site-header .nav-call {
  background: var(--terra);
  color: var(--ink);
}

.site-header .nav-call:hover {
  background: #d7825e;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  padding-block: clamp(50px, 7vw, 92px) 96px;
}

.hero-copy h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(3.5rem, 7.1vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.hero-word {
  color: var(--terra-dark);
}

.hero-script {
  display: inline-block;
  margin-block-start: 9px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.57em;
  letter-spacing: 0;
  line-height: 1.45;
}

.hero-description {
  max-width: 47ch;
  margin: 23px 0 27px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.phone-detail {
  display: inline-block;
  margin-block-start: 12px;
  color: var(--teal);
  font-family: var(--font-numbers);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-block-start: 30px;
  padding-block-start: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.proof-line span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.proof-line strong {
  color: var(--ink);
  font-weight: 800;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(25, 21, 18, 0.08);
  border-radius: 24px;
  background: var(--wall);
  box-shadow: 0 18px 48px rgba(48, 37, 25, 0.12);
  animation: hero-arrive 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wall-photo {
  position: relative;
  height: clamp(280px, 31vw, 410px);
  overflow: hidden;
  background: var(--sand);
}

.wall-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.photo-stamp {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.color-lab {
  display: grid;
  grid-template-columns: minmax(160px, 0.82fr) minmax(230px, 1.18fr);
  gap: 18px 28px;
  padding: 23px 25px 20px;
  background: var(--sand);
}

.color-lab-copy h2 {
  margin: 0;
  color: var(--teal);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

.color-lab-copy p {
  margin: 7px 0 0;
  color: #48443c;
  font-size: 14px;
  line-height: 1.6;
}

.sample-controls {
  display: grid;
  gap: 12px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.swatch {
  width: 29px;
  height: 29px;
  padding: 0;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(25, 21, 18, 0.25);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.swatch:hover {
  transform: scale(1.11);
}

.swatch.is-active {
  box-shadow: 0 0 0 2px var(--teal);
}

.sample-result {
  display: flex;
  align-items: center;
  gap: 11px;
}

.sample-wall {
  width: 56px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(25, 21, 18, 0.18);
  border-radius: 5px;
  background: radial-gradient(ellipse at 35% 25%, rgba(255, 255, 255, 0.55), transparent 72%), var(--sample-color, var(--wall));
  box-shadow: inset 0 0 8px rgba(25, 21, 18, 0.08);
  transition: background-color 180ms ease;
}

.sample-result p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.sample-result strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.color-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #51493f;
  font-size: 12px;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(38px, 7vw, 92px);
  padding-block: 0 var(--section-space);
}

.story-photo {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--sand);
}

.story-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo-label {
  position: absolute;
  inset-inline-start: 17px;
  inset-block-end: 17px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.story-copy h2,
.section-heading h2,
.services-heading h2,
.contact-copy h2,
.faq-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.24;
}

.story-copy h2 em {
  color: var(--terra-dark);
  font-style: normal;
}

.story-copy > p:not(.section-kicker) {
  max-width: 58ch;
  margin: 19px 0 22px;
  color: var(--muted);
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.care-list {
  display: grid;
  gap: 8px;
  margin: 0 0 23px;
  padding: 0;
  list-style: none;
}

.care-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.care-list svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 50%;
  background: #dbe5d8;
  color: var(--teal);
  stroke-width: 2.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 150ms ease;
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.services-section {
  padding-block: clamp(62px, 8vw, 96px);
  background: var(--teal);
  color: var(--paper);
}

.services-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-block-end: 42px;
}

.services-heading h2 {
  max-width: 14ch;
}

.services-heading > p {
  max-width: 34ch;
  margin: 0 0 7px;
  color: #d4dfd8;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 248, 0.3);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 155px;
  padding: 28px 20px 10px 0;
}

.service-item + .service-item {
  border-inline-start: 1px solid rgba(255, 253, 248, 0.24);
  padding-inline-start: 20px;
}

.service-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #d9a441;
  color: var(--teal);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.service-item h3 {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 800;
}

.service-item p {
  margin: 0;
  color: #d4dfd8;
  font-size: 14px;
  line-height: 1.7;
}

.work-section {
  padding-block: var(--section-space);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-block-end: 34px;
}

.section-heading > div {
  max-width: 70ch;
}

.section-heading > div > p {
  margin: 11px 0 0;
  color: var(--muted);
}

.section-heading .text-link {
  flex: 0 0 auto;
  margin-block-end: 8px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.comparison-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fffefa;
}

.comparison-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 4px 11px;
}

.comparison-heading h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
}

.comparison-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.compare {
  position: relative;
  aspect-ratio: 0.84;
  overflow: hidden;
  margin: 0;
  border-radius: 10px;
  background: #d7d0c4;
  isolation: isolate;
}

.compare > picture,
.compare-after > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.compare-before,
.compare-after,
.compare-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare-before,
.compare-after img {
  object-fit: cover;
}

.compare-before {
  object-position: center;
}

.compare-after {
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  pointer-events: none;
}

.compare-after img {
  object-position: center;
}

.compare-tag {
  position: absolute;
  z-index: 2;
  inset-block-start: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.tag-before {
  inset-inline-start: 12px;
}

.tag-after {
  inset-inline-end: 12px;
  background: var(--teal);
  color: var(--paper);
}

.compare-divider {
  position: absolute;
  z-index: 3;
  inset-block: 0;
  inset-inline-end: calc(100% - var(--split));
  width: 2px;
  transform: translateX(50%);
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(25, 21, 18, 0.16);
  pointer-events: none;
}

.compare-divider span {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  display: block;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 2px 8px rgba(25, 21, 18, 0.28);
}

.compare-divider span::before,
.compare-divider span::after {
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid var(--paper);
  border-left: 1.5px solid var(--paper);
  content: "";
}

.compare-divider span::before {
  left: 7px;
  transform: translateY(-50%) rotate(-45deg);
}

.compare-divider span::after {
  right: 7px;
  transform: translateY(-50%) rotate(135deg);
}

.compare-range {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.compare:focus-within .compare-divider span {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.gallery-section {
  padding-block: var(--section-space);
  background: var(--paper-warm);
}

.gallery-count {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}

.gallery-item {
  min-width: 0;
  margin: 0;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-photo {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--wall);
  text-align: start;
}

.gallery-photo picture {
  display: block;
}

.gallery-photo img {
  width: 100%;
  height: clamp(170px, 17vw, 220px);
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-photo:hover img {
  transform: scale(1.035);
}

.gallery-open {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-end: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.gallery-open svg {
  width: 15px;
  height: 15px;
}

.gallery-photo:hover .gallery-open,
.gallery-photo:focus-visible .gallery-open {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item figcaption {
  padding: 8px 3px 0;
  color: #39342f;
  font-size: 14px;
  font-weight: 700;
}

.quote-section {
  padding-block: clamp(80px, 12vw, 150px);
  text-align: center;
}

.quote-section p {
  margin: 0;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.45;
}

.quote-section span {
  color: var(--terra-dark);
}

.contact-section {
  padding-block: clamp(66px, 9vw, 110px);
  background: var(--teal);
  color: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
  align-items: center;
  gap: 30px 60px;
}

.contact-copy h2 {
  max-width: 17ch;
}

.contact-copy > p:last-child {
  max-width: 50ch;
  margin: 16px 0 0;
  color: #d4dfd8;
  font-size: 17px;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.button-paper {
  background: var(--paper);
  color: var(--teal);
}

.button-paper:hover {
  background: var(--sand);
}

.button-contact-outline {
  border-color: #b7c9c1;
  color: var(--paper);
}

.button-contact-outline:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--teal);
}

.warranty-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-block-start: 21px;
  border-top: 1px solid rgba(255, 253, 248, 0.25);
  color: #e1e9e3;
  font-size: 14px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px 90px;
  padding-block: var(--section-space);
}

.faq-heading h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 17px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  inset-inline-end: 2px;
  content: "+";
  color: var(--terra-dark);
  font-family: var(--font-numbers);
  font-size: 22px;
  line-height: 1.3;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 68ch;
  margin: -4px 0 18px;
  color: var(--muted);
}

.request-section {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 40px 72px;
  padding-block-end: var(--section-space);
}

.request-copy h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.24;
}

.request-copy p {
  max-width: 42ch;
  margin: 14px 0 0;
  color: var(--muted);
}

.request-form {
  display: grid;
  min-width: 0;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--paper-warm);
}

.request-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.request-field {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.request-field-wide {
  grid-column: 1 / -1;
}

.request-field input,
.request-field select,
.request-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.request-field textarea {
  min-height: 132px;
  resize: vertical;
}

.request-field :focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.request-form .button {
  justify-self: start;
}

.request-note {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding-block: 27px 19px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  background: var(--navy);
  color: var(--paper-warm);
}

.site-footer .logo-copy strong {
  color: var(--paper);
}

.site-footer .logo-copy small {
  color: var(--paper-warm);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(2, minmax(170px, 1fr));
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
  padding-block-end: 22px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.footer-brand > p,
.footer-services,
.footer-contact {
  color: var(--paper-warm);
  font-size: 14px;
}

.footer-brand > p {
  max-width: 34ch;
  margin: 14px 0 0;
  line-height: 1.8;
}

.footer-services h2,
.footer-contact h2 {
  margin: 0 0 12px;
  color: var(--paper);
  font-size: 16px;
  font-weight: 800;
}

.footer-services ul,
.footer-contact ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-content a {
  color: var(--paper);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.footer-content a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.developer-signature {
  display: flex;
  max-width: 380px;
  min-height: 59px;
  align-items: center;
  gap: 8px;
  margin: 14px auto 10px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 9px 9px 2px 9px;
  padding: 8px 10px;
  background: var(--navy);
  line-height: 1.25;
}

.developer-logo {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
}

.developer-copy {
  flex: 1;
  min-width: 0;
}

.developer-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.developer-heading h2 {
  margin: 0;
  color: var(--paper);
  font-size: 12px;
}

.developer-heading > span {
  border-radius: 999px;
  padding: 1px 2px;
  background: var(--gold);
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
}

.developer-copy > p {
  margin: 2px 0;
  color: var(--paper-warm);
  font-size: 9px;
}

.developer-phone {
  color: var(--paper-warm);
  font-size: 9px;
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-underline-offset: 2px;
}

.developer-links {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  direction: ltr;
}

.developer-links a {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  background: rgb(255 255 255 / 6%);
}

.developer-links a:hover {
  border-color: var(--gold);
}

.developer-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.developer-links img {
  width: 12px;
  height: 12px;
}

.footer-copyright {
  margin: 12px auto 0;
  padding-block-start: 12px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: var(--paper-warm);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.mobile-contact {
  position: fixed;
  z-index: 30;
  inset-inline-end: max(12px, env(safe-area-inset-left));
  inset-block-start: 50%;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.mobile-contact a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 160ms ease;
}

.mobile-contact a:hover {
  transform: scale(1.06);
}

.mobile-contact a:focus-visible {
  position: relative;
  z-index: 1;
}

.mobile-contact a span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-contact svg {
  width: 22px;
  height: 22px;
}

.mobile-call {
  background: var(--teal);
  color: var(--paper);
}

.mobile-whatsapp {
  background: var(--terra);
  color: var(--ink);
}

.mobile-instagram {
  background: var(--sand);
  color: var(--teal);
}

.subpage-hero {
  padding-block: clamp(52px, 7vw, 88px);
  background: var(--paper-warm);
}

.subpage-hero h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.subpage-hero p {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 23px;
}

.subpage-section {
  padding-block: var(--section-space);
}

.subpage-section > h2 {
  margin: 0 0 25px;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
}

.service-detail-list {
  border-top: 1px solid var(--line);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 18px 40px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.service-detail h2,
.service-detail h3 {
  margin: 0;
  color: var(--teal);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 900;
}

.service-detail p {
  max-width: 65ch;
  margin: 0;
  color: var(--muted);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}

.about-copy-card {
  min-width: 0;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 12px 12px 5px 12px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--navy);
  color: var(--paper-warm);
}

.about-intro img {
  width: 100%;
  max-height: 440px;
  border-radius: 16px;
  object-fit: cover;
}

.about-intro h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
}

.about-intro p {
  max-width: 65ch;
  color: var(--paper-warm);
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 44px;
  border-block: 1px solid var(--line);
}

.about-fact {
  padding: 24px 18px;
}

.about-fact + .about-fact {
  border-inline-start: 1px solid var(--line);
}

.about-fact strong {
  display: block;
  margin-block-end: 6px;
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 900;
}

.about-fact span {
  color: var(--muted);
  font-size: 14px;
}

.contact-page-panel {
  padding-block: clamp(42px, 6vw, 72px);
  border-radius: 18px;
  background: var(--teal);
  color: var(--paper);
}

.contact-page-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
}

.contact-page-panel p {
  max-width: 60ch;
  margin: 14px 0 24px;
  color: #d4dfd8;
}

.contact-page-panel .button-contact-outline {
  border-color: #b7c9c1;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-block-start: 34px;
}

.contact-detail {
  padding-block-start: 17px;
  border-top: 1px solid var(--line);
}

.contact-detail h3 {
  margin: 0 0 5px;
  color: var(--teal);
  font-size: 16px;
}

.contact-detail p,
.contact-detail a {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-detail a {
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.image-dialog {
  position: fixed;
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 92dvh;
  overflow: visible;
  padding: 16px;
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: 14px;
  background: #171715;
  color: var(--paper);
}

.image-dialog::backdrop {
  background: rgba(15, 17, 15, 0.86);
}

.image-dialog form {
  position: absolute;
  z-index: 1;
  inset-block-start: -14px;
  inset-inline-end: -14px;
}

.dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 253, 248, 0.45);
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
}

.dialog-image {
  width: 100%;
  max-height: calc(92dvh - 82px);
  object-fit: contain;
}

.dialog-caption {
  margin: 10px 0 0;
  color: var(--paper);
  text-align: center;
}

@keyframes hero-arrive {
  from {
    opacity: 0.85;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1500px) {
  :root {
    --page-width: 1320px;
  }
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 3px;
  }

  .main-nav a {
    font-size: 14px;
    padding-inline: 9px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(3.35rem, 7vw, 5.2rem);
  }

  .color-lab {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sample-controls {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .color-note {
    grid-column: 1;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-item:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .service-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 253, 248, 0.24);
  }

  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --section-space: 80px;
  }

  html {
    scroll-padding-top: 80px;
  }

  body {
    font-size: 16px;
  }

  .ribbon-inner {
    gap: 10px;
    font-size: 12px;
  }

  .site-header {
    position: relative;
  }

  .nav {
    min-height: 72px;
    flex-wrap: wrap;
    row-gap: 6px;
    padding-block-start: 10px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    padding-block-end: 10px;
  }

  .main-nav a {
    flex: 1 1 calc(33.333% - 6px);
    min-height: 39px;
  }

  .nav-call {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 13px;
  }

  .nav-call svg {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 48px 80px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(3.1rem, 13vw, 5.1rem);
  }

  .hero-description {
    max-width: 57ch;
    margin-block: 17px 21px;
  }

  .proof-line {
    gap: 8px 15px;
    margin-block-start: 24px;
    font-size: 13px;
  }

  .hero-visual {
    border-radius: 18px;
  }

  .wall-photo {
    height: clamp(225px, 63vw, 350px);
  }

  .color-lab {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    padding: 19px;
  }

  .sample-controls {
    grid-template-columns: 1fr;
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-photo {
    min-height: clamp(260px, 65vw, 430px);
  }

  .services-heading {
    display: block;
    margin-block-end: 31px;
  }

  .services-heading > p {
    margin-block-start: 10px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin-inline: auto;
  }

  .compare {
    aspect-ratio: 0.9;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 12px;
  }

  .gallery-item-wide {
    grid-column: span 1;
  }

  .gallery-photo img {
    height: clamp(125px, 36vw, 170px);
  }

  .gallery-open {
    inset-inline-start: 8px;
    inset-block-end: 8px;
    width: 32px;
    height: 32px;
    justify-content: center;
    padding: 0;
    opacity: 1;
    transform: none;
    font-size: 0;
  }

  .gallery-open svg {
    width: 17px;
    height: 17px;
  }

  .gallery-item figcaption {
    font-size: 13px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .contact-actions {
    max-width: 420px;
  }

  .warranty-note {
    grid-column: 1;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .request-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 20px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .about-intro img {
    max-height: 340px;
  }

  .contact-page-panel {
    padding-inline: 22px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .developer-signature {
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 8px;
  }

  .developer-logo {
    width: 24px;
    height: 24px;
  }

  .developer-copy {
    flex: 1;
  }

  .developer-links {
    gap: 3px;
  }

  .mobile-contact {
    inset-inline-end: max(8px, env(safe-area-inset-left));
    gap: 7px;
  }

  .mobile-contact a {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 460px) {
  :root {
    --gutter: 17px;
  }

  .request-section {
    padding-inline-end: 52px;
  }

  .footer-content,
  .footer-copyright {
    padding-inline-end: 52px;
  }

  .ribbon-inner {
    gap: 7px;
    font-size: 11px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .logo-copy strong {
    font-size: 14px;
  }

  .logo-copy small {
    font-size: 11px;
  }

  .nav {
    gap: 8px;
  }

  .nav-call {
    min-height: 39px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-line {
    gap: 6px 12px;
    font-size: 12px;
  }

  .color-lab {
    grid-template-columns: 1fr;
  }

  .sample-controls {
    grid-template-columns: 1fr auto;
  }

  .color-note {
    grid-column: 1;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item + .service-item,
  .service-item:nth-child(3) {
    min-height: auto;
    padding: 21px 0;
    border-inline-start: 0;
  }

  .service-item + .service-item {
    border-top: 1px solid rgba(255, 253, 248, 0.24);
  }

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    margin-block-start: 14px;
  }

  .gallery-count {
    display: inline-block;
    margin-block-start: 13px;
  }

  .gallery-grid {
    gap: 14px 9px;
  }

  .gallery-photo img {
    height: clamp(120px, 36vw, 155px);
  }

  .gallery-item figcaption {
    font-size: 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .request-fields {
    grid-template-columns: 1fr;
  }

  .request-field-wide {
    grid-column: auto;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-fact {
    padding: 18px 0;
  }

  .about-fact + .about-fact {
    border-top: 1px solid var(--line);
    border-inline-start: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
