:root {
  --paper: #53c8c8;
  --paper-deep: rgba(255, 255, 255, 0.16);
  --paper-light: rgba(255, 255, 255, 0.1);
  --surface: rgba(255, 255, 255, 0.34);
  --ink: #0b3538;
  --muted: rgba(6, 43, 46, 0.86);
  --line: rgba(11, 53, 56, 0.24);
  --accent: #064f53;
  --accent-soft: rgba(255, 255, 255, 0.86);
  --moss: #0f777a;
  --dark: #064e52;
  --section-space: 128px;
  --section-heading-space: 56px;
  --heading: "Philosopher", "Palatino Linotype", Palatino, serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", "Aptos", "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
    url("assets/images/tiffany-smoke.webp") center top / 100% auto repeat-y,
    #53c8c8;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

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

::selection {
  color: white;
  background: var(--accent);
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

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

button {
  cursor: pointer;
  touch-action: manipulation;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  font-synthesis: none;
  font-weight: 700;
  font-kerning: normal;
  letter-spacing: -0.025em;
  text-rendering: optimizeLegibility;
}

h1 {
  font-size: clamp(4rem, 5.35vw, 4.8rem);
  line-height: 1;
}

h2 {
  font-size: clamp(3rem, 4vw, 3.45rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.9rem;
  line-height: 1.12;
}

em {
  color: var(--accent);
  font-style: normal;
  font-weight: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.section {
  padding: var(--section-space) max(20px, calc((100vw - 1248px) / 2));
}

.section-wide {
  padding-right: max(20px, calc((100vw - 1248px) / 2));
  padding-left: max(20px, calc((100vw - 1248px) / 2));
}

.section-tint {
  background: rgba(255, 255, 255, 0.14);
}

.surface-white {
  background: #ffffff;
}

.surface-tiffany {
  color: #ffffff;
  background: #15979a;
}

.surface-tiffany h1,
.surface-tiffany h2,
.surface-tiffany h3,
.surface-tiffany em,
.surface-tiffany .eyebrow,
.surface-tiffany .signature,
.surface-tiffany .text-link {
  color: #ffffff;
}

.surface-tiffany .about-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.surface-tiffany-deep {
  background: #07676b;
}

.surface-smoke {
  background:
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
    url("assets/images/tiffany-smoke.webp") center top / 100% auto repeat-y,
    #53c8c8;
}

.section-dark {
  color: white;
  background: rgba(3, 70, 76, 0.78);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark em,
.price h1,
.price h2,
.price h3,
.price em {
  color: #ffffff;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.lead {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: white;
  background: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  transition: color 250ms ease, background 250ms ease, transform 250ms ease;
}

.button:hover {
  color: var(--ink);
  background: transparent;
  transform: translateY(-2px);
}

.button svg,
.text-link svg,
.services-grid svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button-small {
  min-height: 48px;
  gap: 12px;
  padding: 12px 18px;
}

.button-light {
  border-color: white;
  color: var(--ink);
  background: white;
}

.button-light:hover {
  border-color: white;
  color: white;
  background: transparent;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.text-link svg {
  transition: transform 250ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link-light {
  color: white;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(11, 53, 56, 0.16);
  background: rgba(121, 211, 209, 0.97);
}

.header-inner {
  display: grid;
  width: min(1248px, calc(100% - 40px));
  height: 88px;
  align-items: center;
  margin: auto;
  grid-template-columns: 1fr auto auto;
  gap: 42px;
}

.brand {
  display: inline-flex;
  width: 64px;
  height: 64px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.82rem;
  font-weight: 500;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  min-height: calc(100vh - 88px);
  align-items: center;
  padding-top: 72px;
  padding-bottom: 96px;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.94fr);
  gap: 76px;
}

.hero-copy {
  max-width: 610px;
}

.hero-copy .lead {
  max-width: 510px;
  margin-top: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 40px;
}

.location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 54px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.location span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
}

.hero-visual {
  position: relative;
  height: min(680px, calc(100vh - 180px));
  min-height: 560px;
  overflow: hidden;
  background: #d8d1c8;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 60%, rgba(18, 17, 15, 0.62));
  content: "";
}

.hero-media-fallback,
.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.hero-media-fallback {
  z-index: 0;
}

.hero-media-video {
  z-index: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero-media-video::-webkit-media-controls {
  display: none !important;
}

.hero-video-slot {
  background: #073f42;
}

.hero-video-slot .hero-media-fallback,
.hero-video-slot .hero-media-video {
  object-fit: cover;
  object-position: center bottom;
}

.hero-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.hero-visual figcaption strong {
  font-weight: 500;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: var(--section-heading-space);
}

.section-heading > div {
  max-width: 740px;
}

.section-heading > div > p:last-child {
  max-width: 570px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.works {
  background: #ffffff;
}

.filters {
  display: flex;
  gap: 30px;
  margin: -8px 0 66px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filters button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  font-size: 0.84rem;
}

.filters button.is-active {
  border-color: var(--ink);
  color: var(--ink);
}

.portfolio-carousel-shell {
  position: relative;
}

.carousel-actions {
  margin-bottom: 24px;
}

.carousel-actions > p {
  color: var(--muted);
  font-size: 0.78rem;
}

.carousel-arrow {
  position: absolute;
  top: 46%;
  z-index: 8;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(6, 53, 56, 0.94);
  box-shadow: 0 10px 28px rgba(3, 42, 45, 0.3);
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.carousel-arrow:hover:not(:disabled) {
  background: #032f32;
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow:disabled {
  cursor: default;
  opacity: 0.52;
}

.carousel-arrow-prev {
  left: 16px;
}

.carousel-arrow-next {
  right: 16px;
}

.portfolio-carousel {
  display: grid;
  overflow-x: auto;
  padding: 0 0 24px;
  grid-auto-columns: clamp(320px, 58vw, 720px);
  grid-auto-flow: column;
  gap: 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) rgba(11, 53, 56, 0.1);
  scrollbar-width: thin;
}

.portfolio-carousel::-webkit-scrollbar {
  height: 5px;
}

.portfolio-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--accent);
}

.project-card {
  min-width: 0;
  scroll-snap-align: start;
}

.project-image {
  position: relative;
  height: clamp(460px, 52vw, 650px);
  overflow: hidden;
  background: rgba(11, 53, 56, 0.08);
}

.project-image img,
.project-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: flex;
  min-width: 168px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 18px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 53, 56, 0.94);
  box-shadow: 0 12px 32px rgba(3, 42, 45, 0.34);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.video-play b {
  font-size: 1rem;
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.has-video.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}

.project-card.has-video .project-view {
  opacity: 1;
  transform: none;
}

.project-card:hover .project-image img {
  transform: scale(1.018);
}

.project-view {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  color: white;
  background: rgba(23, 23, 21, 0.83);
  font-size: 0.72rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.project-card:hover .project-view {
  opacity: 1;
  transform: none;
}

.project-card > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.project-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 5px;
}

.project-title h3 {
  font-size: 2.15rem;
}

.project-title span {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.project-link {
  width: max-content;
  margin-top: 18px;
}

.empty-state {
  padding: 70px 0;
  color: var(--muted);
  text-align: center;
}

.project-card.is-hidden {
  display: none;
}

/* Для старих робіт без підтверджених характеристик показуємо лише медіа. */
#portfolio-carousel > .project-card:nth-child(-n + 19) > p,
#portfolio-carousel > .project-card:nth-child(-n + 19) > .project-title {
  display: none;
}

.directions {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.directions .section-heading > p {
  max-width: 430px;
  color: var(--muted);
}

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

.direction-card {
  position: relative;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(34px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(11, 53, 56, 0.16);
  border-radius: 22px;
}

.direction-art {
  background: #e6f7f5;
}

.direction-paint {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 62%),
    #0b5559;
  color: white;
}

.direction-number {
  position: absolute;
  top: 20px;
  right: 28px;
  color: rgba(11, 53, 56, 0.18);
  font-family: var(--heading);
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 1;
}

.direction-paint .direction-number {
  color: rgba(255, 255, 255, 0.12);
}

.direction-card h3 {
  max-width: 600px;
  margin: 10px 0 22px;
  font-size: clamp(2.4rem, 3.5vw, 3.45rem);
}

.direction-card > p:not(.eyebrow):not(.direction-note) {
  max-width: 610px;
  color: var(--muted);
}

.direction-paint > p:not(.eyebrow):not(.direction-note) {
  color: rgba(255, 255, 255, 0.85);
}

.direction-card ul {
  display: grid;
  width: 100%;
  margin: 30px 0;
  padding: 0;
  border-top: 1px solid rgba(11, 53, 56, 0.18);
  list-style: none;
}

.direction-card li {
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid rgba(11, 53, 56, 0.14);
  font-size: 0.9rem;
}

.direction-card li::before {
  display: inline-block;
  width: 22px;
  margin-left: -22px;
  content: "✓";
  font-weight: 700;
}

.direction-paint ul,
.direction-paint li {
  border-color: rgba(255, 255, 255, 0.2);
}

.direction-note {
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

.direction-card .button {
  margin-top: auto;
}

.direction-paint .button {
  color: var(--ink);
  background: white;
}

.about {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

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

.about-title {
  grid-column: 8 / -1;
  margin-bottom: 2px;
}

.about-title h2 {
  max-width: 600px;
}

.about-image {
  height: 680px;
  grid-column: 1 / 7;
  grid-row: 1 / 3;
  overflow: hidden;
}

.about-image img {
  height: 100%;
  object-fit: cover;
}

.about-copy {
  max-width: 500px;
  grid-column: 8 / -1;
}

.about-copy p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1.02rem;
}

.signature {
  margin: 18px 0 28px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
  transform: rotate(-7deg);
  transform-origin: left;
}

.services {
  padding-bottom: var(--section-space);
}

.services .section-heading {
  max-width: 780px;
}

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

.services-grid article {
  display: grid;
  min-height: 160px;
  align-items: start;
  padding: 38px 34px 34px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
}

.services-grid article:nth-child(odd) {
  padding-right: 48px;
  border-right: 1px solid var(--line);
}

.services-grid article:nth-child(even) {
  padding-left: 48px;
}

.services-grid article > span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
}

.services-grid h3 {
  margin-bottom: 14px;
}

.services-grid p {
  max-width: 410px;
  color: var(--muted);
  font-size: 0.94rem;
}

.services-grid article > a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 250ms ease, background 250ms ease;
}

.services-grid article:hover > a {
  color: white;
  background: var(--ink);
}

.materials .section-heading {
  display: block;
}

.materials .section-heading > div {
  max-width: none;
}

.materials .section-heading > p {
  max-width: 620px;
  margin-top: 32px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.material-card {
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(11, 53, 56, 0.14);
  border-radius: 18px;
  background: #effaf9;
}

.material-card h3 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 2.6vw, 2.55rem);
}

.material-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.material-card p + p {
  margin-top: 16px;
}

.material-number {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}



.process {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.art-heading-accent {
  color: #203d70;
}

#process .section-heading h2,
#process .section-heading h2 em {
  color: #bde9ff;
}

.dark-heading > p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.88);
}

.section-dark .eyebrow {
  color: var(--accent-soft);
}

.process-grid {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  grid-template-columns: repeat(6, 1fr);
}

.process-grid article {
  position: relative;
  padding: 48px 22px 0 0;
}

.process-grid article > span {
  color: var(--accent-soft);
  font-size: 0.74rem;
}

.process-icon {
  position: absolute;
  top: -27px;
  left: 0;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #ffffff;
  background: #075d62;
  box-shadow: 0 0 0 8px #075156;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.process-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.process-grid article:hover .process-icon {
  color: var(--dark);
  background: #d9f6f3;
  transform: translateY(-3px);
}

.process-grid h3 {
  margin-top: 12px;
  font-size: 1.45rem;
}

.process-grid p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.65;
}

.counter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.75rem;
}

.counter i {
  width: 45px;
  height: 1px;
  background: var(--line);
}

.price {
  color: white;
  background: #07676b;
}

.price .eyebrow {
  color: #c8eeeb;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 130px;
}

.price-note {
  max-width: 470px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.88);
}

.price-details .lead {
  color: white;
  font-size: 1.5rem;
}

.price-details ul {
  display: grid;
  margin: 38px 0 30px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
  grid-template-columns: repeat(2, 1fr);
}

.price-details li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
}

.price-details li span {
  margin-right: 18px;
  color: #c8eeeb;
  font-size: 0.68rem;
}

.price-details > p:not(.lead) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.price-details .button {
  margin-top: 30px;
}

.request {
  background:
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
    url("assets/images/tiffany-smoke.webp") center top / 100% auto repeat-y,
    #53c8c8;
}

.request-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 120px;
}

.request-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.request-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.02rem;
}

.request-contact {
  display: grid;
  max-width: 470px;
  margin-top: 46px;
  gap: 14px;
}

.request-contact-title {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.contact-list {
  display: grid;
  gap: 8px;
}

.contact-link {
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(11, 53, 56, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.36);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(11, 53, 56, 0.38);
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-1px);
}

.contact-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--dark);
}

.contact-icon img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.contact-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
  line-height: 1.28;
}

.contact-copy small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-copy strong {
  font-size: 0.86rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.project-form {
  display: grid;
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 70px rgba(4, 65, 68, 0.2);
  gap: 32px;
}

.request-forms {
  min-width: 0;
}

.form-view-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.request-forms .project-form {
  display: none;
}

#request-view-mural:checked ~ #mural-form,
#request-view-paint:checked ~ #paint-form {
  display: grid;
}

.form-switcher {
  display: grid;
  margin-bottom: 12px;
  padding: 6px;
  border: 1px solid rgba(11, 53, 56, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.form-switch {
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

#request-view-mural:checked ~ .form-switcher label[for="request-view-mural"],
#request-view-paint:checked ~ .form-switcher label[for="request-view-paint"] {
  color: white;
  background: var(--dark);
  box-shadow: 0 8px 24px rgba(4, 65, 68, 0.18);
}

.form-view-radio:focus-visible ~ .form-switcher {
  outline: 3px solid rgba(9, 177, 177, 0.32);
  outline-offset: 3px;
}

.form-switch-hint {
  margin: 0 4px 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.paint-form-hint {
  display: none;
}

#request-view-paint:checked ~ .form-switch-hint .mural-form-hint {
  display: none;
}

#request-view-paint:checked ~ .form-switch-hint .paint-form-hint {
  display: inline;
}

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

.choice-list label {
  position: relative;
  cursor: pointer;
}

.choice-list input {
  position: absolute;
  opacity: 0;
}

.choice-list label > span {
  display: grid;
  min-height: 116px;
  margin: 0;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(11, 53, 56, 0.2);
  border-radius: 12px;
  background: rgba(238, 250, 249, 0.72);
  gap: 6px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.choice-list label > span strong {
  font-size: 0.84rem;
}

.choice-list label > span small {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.45;
}

.choice-list input:checked + span {
  border-color: var(--ink);
  background: #e2f6f4;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.choice-list input:focus-visible + span {
  outline: 3px solid rgba(9, 177, 177, 0.28);
  outline-offset: 2px;
}

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

.paint-wall-state {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.price-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.price-actions .button {
  margin-top: 0;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.project-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.project-form legend,
.project-form label > span {
  display: block;
  margin-bottom: 11px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.project-form legend span,
.project-form label > span i {
  margin-right: 11px;
  color: var(--accent);
  font-style: normal;
}

.project-form label > span small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
}

.project-form label > span .required-label {
  color: #76231d;
  font-weight: 700;
}

.field-help {
  max-width: 620px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.wall-location-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.wall-location-inline > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.wall-location-inline label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
}

.wall-location-inline label > span {
  margin: 0;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0;
}

.wall-location-inline input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.78rem;
  transition: color 200ms ease, background 200ms ease;
}

.chips button.is-active {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.dimensions-row label > span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.idea-field {
  display: grid;
  gap: 10px;
}

.project-form label {
  display: block;
}

.project-form input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.project-form textarea {
  width: 100%;
  border: 1px solid rgba(11, 53, 56, 0.24);
  border-radius: 9px;
  outline: 0;
  background: rgba(238, 250, 249, 0.72);
  font-size: 1rem;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.project-form input:not([type="file"]):not([type="checkbox"]):not([type="radio"]) {
  height: 48px;
  padding: 0 14px;
}

.project-form textarea {
  min-height: 112px;
  padding: 13px 14px;
  resize: vertical;
}

.project-form input:focus,
.project-form textarea:focus {
  border-color: var(--ink);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(9, 177, 177, 0.14);
}

.project-form input::placeholder,
.project-form textarea::placeholder {
  color: rgba(11, 53, 56, 0.56);
}

.upload-field {
  position: relative;
}

.upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.upload-field b {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px dashed rgba(11, 53, 56, 0.34);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(238, 250, 249, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  transition: border 200ms ease, color 200ms ease, background 200ms ease;
}

.upload-field-compact b {
  min-height: 50px;
  justify-content: flex-start;
  padding: 12px 14px;
  font-size: 0.72rem;
}

.upload-field:hover b,
.upload-field:focus-within b {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface);
}

.upload-field b.is-error {
  border-color: #8f3029;
  color: #76231d;
  background: #fff1ef;
}

.upload-field b.is-selected {
  border-style: solid;
  border-color: var(--accent);
  color: var(--ink);
  background: #e8f8f6;
}

.project-form.was-validated .upload-field input:invalid + b {
  border-color: #8f3029;
  color: #76231d;
  background: #fff1ef;
}

.upload-limit {
  margin-top: -22px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.73rem;
}

.consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}

.consent span {
  margin: 0 !important;
  font-size: inherit !important;
  font-weight: 400 !important;
}

.submit-button {
  width: 100%;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.business-note {
  margin-top: -18px;
  color: var(--ink);
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.business-note span {
  color: var(--accent);
  font-weight: 700;
}

.response-time {
  margin-top: -24px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.form-error {
  margin-top: -20px;
  color: #7a2923;
  font-size: 0.78rem;
  text-align: center;
}

.draft-form-message {
  margin-top: -12px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  background: rgba(9, 177, 177, 0.1);
  font-size: 0.78rem;
}

.draft-form-message[hidden] {
  display: none;
}

.local-draft-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  background: rgba(23, 23, 21, 0.82);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.local-draft-badge.is-visible {
  opacity: 1;
}

.simple-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
}

.simple-card {
  width: min(680px, 100%);
  padding: 70px 54px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.simple-card h1 {
  margin-bottom: 24px;
}

.simple-card > p:not(.eyebrow) {
  margin-bottom: 34px;
  color: var(--muted);
}

.simple-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: -10px 0 34px;
  color: var(--ink);
  font-size: 0.78rem;
}

.simple-contact-list a {
  min-height: 34px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(11, 53, 56, 0.3);
}

.form-success {
  min-height: 530px;
  padding: 72px 54px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.form-success > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 54px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--moss);
}

.form-success h3 {
  max-width: 470px;
  margin: 12px 0 24px;
  font-size: 2.4rem;
}

.form-success > p:not(.eyebrow) {
  color: var(--muted);
}

.form-success .text-link {
  margin-top: 40px;
}

.reviews {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.reviews-carousel-shell {
  position: relative;
}

.review-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.reviews-carousel {
  display: grid;
  overflow-x: auto;
  padding: 0 0 24px;
  grid-auto-columns: min(760px, 72vw);
  grid-auto-flow: column;
  gap: 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) rgba(11, 53, 56, 0.1);
  scrollbar-width: thin;
}

.reviews-carousel::-webkit-scrollbar {
  height: 5px;
}

.reviews-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--accent);
}

.review-card {
  min-width: 0;
  align-self: center;
  scroll-snap-align: start;
}

.review-card > a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(11, 53, 56, 0.2);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(3, 42, 45, 0.12);
  cursor: zoom-in;
}

.review-card img {
  width: 100%;
  height: auto;
  max-height: 74vh;
  object-fit: contain;
}

.review-carousel-arrow {
  position: static;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(6, 53, 56, 0.94);
  box-shadow: 0 10px 28px rgba(3, 42, 45, 0.3);
  font-size: 1.35rem;
  line-height: 1;
  transform: none;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.review-carousel-arrow:hover:not(:disabled) {
  background: #032f32;
  transform: translateY(-2px);
}

.review-carousel-arrow:disabled {
  cursor: default;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.review-carousel-prev,
.review-carousel-next {
  right: auto;
  left: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 120px;
}

.faq-grid > div:first-child > p:not(.eyebrow) {
  max-width: 400px;
  margin-top: 28px;
  color: var(--muted);
}

.faq-grid .text-link {
  margin-top: 32px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary i {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 1.25rem;
  font-style: normal;
  transition: transform 250ms ease;
}

.accordion details[open] summary i {
  transform: rotate(45deg);
}

.accordion details p {
  max-width: 620px;
  padding: 0 40px 24px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 720px;
  place-items: center;
  overflow: hidden;
  color: white;
}

.final-cta > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.1) saturate(0.72) contrast(1.04);
}

.final-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 66, 70, 0.22) 0%, rgba(2, 45, 49, 0.56) 52%, rgba(2, 30, 34, 0.86) 100%),
    linear-gradient(90deg, rgba(9, 177, 177, 0.2), rgba(9, 177, 177, 0.02));
}

.final-content {
  position: relative;
  z-index: 2;
  width: min(850px, calc(100% - 40px));
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 23, 26, 0.68);
}

.final-content h2 {
  color: #bde9ff;
  font-size: clamp(3.5rem, 5vw, 5rem);
  text-wrap: balance;
}

.final-content > .final-subtitle {
  max-width: 30rem;
  margin: 28px auto 0;
  color: #ffffff;
  font-family: var(--heading);
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

.final-content > p:not(.final-subtitle) {
  max-width: 34rem;
  margin: 44px auto 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  font-style: italic;
  color: rgba(255, 255, 255, 0.94);
}

.final-content > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 44px;
}

.final-content .button {
  text-shadow: none;
}

.footer {
  padding: 78px max(20px, calc((100vw - 1248px) / 2)) 24px;
  color: white;
  background: rgba(2, 55, 61, 0.9);
}

.footer-main {
  display: grid;
  min-height: 330px;
  grid-template-columns: 1.6fr 0.7fr 1.35fr;
  gap: 40px;
}

.brand-light {
  width: 96px;
  height: 96px;
  min-height: 96px;
}

.footer-main > div:first-child p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
}

.footer-main nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.85rem;
}

.footer-contact-title {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.footer-contact-link {
  min-height: 48px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  color: white;
  background: transparent;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  border-color: transparent;
  color: white;
  background: transparent;
  transform: translateX(3px);
}

.footer-contact-link .contact-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.footer-contact-link .contact-icon img {
  width: 19px;
  height: 19px;
}

.footer-contact-link .contact-copy small {
  color: rgba(255, 255, 255, 0.58);
}

.footer-contact-link .contact-copy strong {
  color: white;
  font-size: 0.78rem;
}

.footer-main a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  display: grid;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.66rem;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 20px;
}

.legal-page {
  min-height: 100vh;
  padding: 120px max(20px, calc((100vw - 900px) / 2));
}

.legal-back {
  display: inline-flex;
  margin-bottom: 70px;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-page header {
  max-width: 760px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.legal-page header > p:last-child {
  max-width: 630px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-content {
  display: grid;
  gap: 42px;
  margin-top: 62px;
}

.legal-content section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 52px;
}

.legal-content h2 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-content ul {
  margin: 0;
  padding-left: 18px;
}

.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 22px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .hero {
    gap: 44px;
    grid-template-columns: 1fr 0.9fr;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 56px;
  }

  .process-grid article:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .request-grid,
  .faq-grid {
    gap: 70px;
  }
}

@media (max-width: 820px) {
  :root {
    --section-space: 88px;
    --section-heading-space: 44px;
  }

  html {
    scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px));
  }

  body.has-site-header {
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding-top: env(safe-area-inset-top, 0px);
    background: #79d3d1;
  }

  h1 {
    font-size: 3rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 2.45rem;
    line-height: 1.06;
  }

  h3 {
    font-size: 1.65rem;
  }

  .materials .section-heading > p {
    max-width: none;
    margin-top: 22px;
    margin-left: 0;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .directions-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    min-height: 0;
  }

  .section {
    padding: var(--section-space) 20px;
  }

  .header-inner {
    width: calc(100% - 40px);
    height: 72px;
    grid-template-columns: 1fr auto;
  }

  .site-header .brand {
    width: 52px;
    height: 52px;
    min-height: 52px;
    max-width: 52px;
    overflow: hidden;
  }

  .site-header .brand img {
    width: 52px;
    height: 52px;
    max-width: 52px;
    flex: 0 0 52px;
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-button {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
  }

  .menu-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 14px;
  }

  .menu-icon b {
    position: absolute;
    right: 0;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 250ms ease, top 250ms ease;
  }

  .menu-icon b:first-child {
    top: 3px;
  }

  .menu-icon b:last-child {
    top: 10px;
    width: 15px;
  }

  .menu-icon.is-open b:first-child,
  .menu-icon.is-open b:last-child {
    top: 7px;
    width: 22px;
  }

  .menu-icon.is-open b:first-child {
    transform: rotate(45deg);
  }

  .menu-icon.is-open b:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: calc(72px + env(safe-area-inset-top, 0px));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px 20px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 250ms ease, transform 250ms ease, visibility 250ms;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 2rem;
  }

  .mobile-menu nav small {
    color: var(--accent);
    font-family: var(--sans);
    font-size: 0.66rem;
  }

  .mobile-menu .button {
    width: 100%;
    flex-shrink: 0;
    margin-top: 24px;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: 64px;
    padding-bottom: 88px;
    gap: 56px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy .lead {
    margin-top: 24px;
    font-size: 1.2rem;
  }

  .hero-actions {
    display: grid;
    margin-top: 32px;
    gap: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    width: max-content;
  }

  .location {
    margin-top: 36px;
  }

  .hero-visual {
    height: 460px;
    min-height: 0;
  }

  .hero-media-fallback,
  .hero-media-video {
    object-position: center bottom;
  }

  .section-heading {
    display: block;
    margin-bottom: var(--section-heading-space);
  }

  .section-heading > .text-link,
  .works-heading > .text-link {
    margin-top: 24px;
  }

  .filters {
    margin: 0 -20px 48px;
    padding: 0 20px;
    gap: 24px;
  }

  .carousel-actions > p {
    display: none;
  }

  .portfolio-carousel {
    margin-right: -20px;
    grid-auto-columns: min(86vw, 560px);
  }

  .project-card {
    margin-bottom: 0;
  }

  .project-card .project-image {
    height: 500px;
  }

  .carousel-arrow {
    top: 43%;
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .carousel-arrow-prev {
    left: 8px;
  }

  .carousel-arrow-next {
    right: 8px;
  }

  .project-title {
    display: block;
  }

  .project-title h3 {
    font-size: 1.8rem;
  }

  .project-title span {
    display: block;
    margin-top: 4px;
  }

  .about-grid {
    display: flex;
    flex-direction: column;
  }

  .about-title {
    order: 1;
    margin: 0 0 34px;
  }

  .about-image {
    height: 490px;
    order: 2;
  }

  .about-copy {
    order: 3;
    margin-top: 24px;
  }

  .services-grid {
    display: block;
  }

  .services-grid article,
  .services-grid article:nth-child(odd),
  .services-grid article:nth-child(even) {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    grid-template-columns: 42px 1fr auto;
  }

  .process-grid {
    display: block;
    margin-left: 22px;
    padding-left: 22px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .process-grid article,
  .process-grid article:nth-child(n+4) {
    min-height: 180px;
    padding: 0 0 42px 20px;
    border-top: 0;
  }

  .process-icon {
    top: 0;
    left: -49px;
    box-shadow: 0 0 0 7px #075156;
  }

  .process-grid h3 {
    margin-top: 12px;
  }

  .process-grid p {
    max-width: 430px;
  }

  .price-grid,
  .request-grid,
  .faq-grid {
    display: block;
  }

  .price-grid {
    gap: 0;
  }

  .price-details {
    margin-top: 52px;
  }

  .request-copy {
    position: static;
  }

  .project-form {
    margin-top: 58px;
  }

  .request-forms {
    margin-top: 58px;
  }

  .request-forms .project-form {
    margin-top: 0;
  }

  .request-contact {
    max-width: 520px;
  }

  .reviews-carousel {
    margin-right: -20px;
    grid-auto-columns: min(86vw, 680px);
  }

  .review-card {
    align-self: center;
  }

  .review-carousel-arrow {
    width: 52px;
    height: 52px;
  }

  .review-carousel-prev {
    right: auto;
    left: auto;
  }

  .review-carousel-next {
    right: auto;
    left: auto;
  }

  .faq-grid > div:first-child {
    margin-bottom: 54px;
  }

  .final-cta {
    min-height: 650px;
    place-items: end stretch;
  }

  .legal-page {
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .legal-back {
    margin-bottom: 48px;
  }

  .legal-content section {
    display: block;
  }

  .legal-content h2 {
    margin-bottom: 12px;
  }

  .final-content {
    width: auto;
    padding: 0 20px 68px;
    text-align: left;
  }

  .final-content h2 {
    font-size: 3rem;
  }

  .final-content > .final-subtitle {
    max-width: 24rem;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.25rem;
  }

  .final-content > p:not(.final-subtitle) {
    margin: 36px 0 0;
  }

  .final-content > div {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 520px) {
  :root {
    --section-space: 72px;
    --section-heading-space: 40px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .button {
    min-height: 52px;
  }

  .hero-visual {
    height: 440px;
  }

  .portfolio-carousel {
    grid-auto-columns: 88vw;
  }

  .project-card .project-image {
    height: 440px;
  }

  .carousel-arrow {
    top: 42%;
    width: 48px;
    height: 48px;
  }

  .video-play {
    min-width: 154px;
    min-height: 54px;
  }

  .hero-visual figcaption {
    right: 16px;
    left: 16px;
    align-items: flex-end;
    gap: 16px;
    line-height: 1.4;
  }

  .hero-visual figcaption strong {
    flex: 0 0 auto;
  }

  .hero-visual figcaption span {
    max-width: 58%;
    text-align: right;
  }

  .services-grid article {
    grid-template-columns: 34px minmax(0, 1fr) 46px;
  }

  .services-grid article > a {
    display: grid;
    width: 46px;
    height: 46px;
    align-self: center;
  }

  .material-card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .material-card h3 {
    font-size: 2rem;
  }

  .price-details ul {
    display: block;
  }

  .form-row {
    display: block;
  }

  .choice-list {
    grid-template-columns: 1fr;
  }

  .choice-list label > span {
    min-height: 0;
  }

  .form-switcher {
    grid-template-columns: 1fr;
  }

  .form-row label + label {
    margin-top: 30px;
  }

  .dimensions-row {
    gap: 10px;
  }

  .dimensions-row input {
    padding: 0 11px !important;
  }

  .project-form {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .project-form legend,
  .project-form label > span {
    font-size: 0.82rem;
  }

  .carousel-arrow:disabled {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .form-success {
    min-height: 0;
    padding: 48px 24px;
  }

  .reviews-carousel {
    grid-auto-columns: 88vw;
  }

  .review-card {
    align-self: center;
  }

  .review-carousel-arrow {
    width: 48px;
    height: 48px;
  }

  .accordion summary {
    min-height: 70px;
    font-size: 1.08rem;
  }

  .final-content > div {
    display: grid;
    gap: 20px;
  }

  .footer {
    padding-top: 64px;
  }

  .footer-main {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-main > div:first-child {
    grid-column: auto;
  }

  .footer-main nav a,
  .footer-social a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .footer-social {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .footer-bottom a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
  }

  .footer-bottom span:nth-child(3),
  .footer-bottom span:nth-child(4) {
    display: none;
  }

  .simple-card {
    padding: 42px 24px;
  }

  .simple-card .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.farby_check li::before {
  display: inline-block;
  width: 22px;
  margin-left: 2px;
  content: "✓";
  font-weight: 700;
}

.rozpis {
  color: #3b29ca;
}

.svit_farb {
  color: #4b76df;
}

.svit_farbuv {
  color: #a2b9e2;
}/* Плаваюча кнопка Telegram */

.telegram-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #229ed9;
  color: #ffffff;

  border-radius: 50%;
  text-decoration: none;

  box-shadow: 0 6px 22px rgba(34, 158, 217, 0.35);

  z-index: 9999;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.telegram-floating svg {
  width: 32px;
  height: 32px;
}

.telegram-floating:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(34, 158, 217, 0.55);
}

.telegram-tooltip {
  position: absolute;
  right: 72px;

  background: #172036;
  color: white;

  padding: 10px 14px;
  border-radius: 10px;

  font-size: 13px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;
}

.telegram-floating:hover .telegram-tooltip {
  opacity: 1;
}

/* Адаптація для смартфонів */

@media (max-width: 768px) {
  .telegram-floating {
    right: 16px;
    bottom: 20px;
    width: 54px;
    height: 54px;
  }

  .telegram-floating svg {
    width: 29px;
    height: 29px;
  }
}
