/* ═══ Оформлення публічного сайту та адаптивні компоненти ═══ */

/* ── Підключення шрифту ── */
@font-face {
  font-family: Unbounded;
  src: url("../assets/fonts/w2/Unbounded-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* ── Підключення шрифту ── */
@font-face {
  font-family: Unbounded;
  src: url("../assets/fonts/w2/Unbounded-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
/* ── Підключення шрифту ── */
@font-face {
  font-family: Unbounded;
  src: url("../assets/fonts/w2/Unbounded-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
/* ── Підключення шрифту ── */
@font-face {
  font-family: Montserrat;
  src: url("../assets/fonts/w2/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* ── Підключення шрифту ── */
@font-face {
  font-family: Montserrat;
  src: url("../assets/fonts/w2/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
/* ── Підключення шрифту ── */
@font-face {
  font-family: "Segoe Print";
  src: url("../assets/fonts/w2/segoepr.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* ── Основні змінні кольорів і розмірів ── */
:root {
  --color-background: #f6f5ef;
  --green: #338309;
  --yellow: #faab01;
  --danger: #a52b21;
  --ink: #20251c;
  --muted: #74776b;
  --line: #dedfd4;
  --container-width: 1192px;
}
/* ── Оформлення елементів *, ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* ── Базова поведінка документа ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
/* ── Базове оформлення сторінки ── */
body {
  margin: 0;
  background: var(--color-background);
  color: var(--ink);
  font:
    14px/1.7 Montserrat,
    Arial,
    sans-serif;
}
/* ── Оформлення елементів a ── */
a {
  color: inherit;
  text-decoration: none;
}
/* ── Кнопки та їхні стани ── */
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
/* ── Оформлення елементів img ── */
img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* ── Кнопки та їхні стани ── */
button,
a {
  -webkit-tap-highlight-color: transparent;
}
/* ── Оформлення елементів :focus-visible ── */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}
/* ── Оформлення елементів h1, ── */
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Unbounded, Arial, sans-serif;
}
h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.25;
}
/* ── Оформлення елементів h3 ── */
h3 {
  font-weight: 400;
  line-height: 1.45;
}
/* ── Оформлення елементів .container ── */
.container {
  width: min(var(--container-width), calc(100% - 80px));
  margin-inline: auto;
}
/* ── Оформлення елементів .green ── */
.green {
  color: var(--green);
}
/* ── Оформлення елементів .handwritten ── */
.handwritten {
  font-family: "Segoe Print", cursive;
  font-weight: 400;
  letter-spacing: -0.06em;
}
/* ── Оформлення елементів .sr-only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ── Оформлення елементів .skip-link ── */
.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  z-index: 10001;
}
.skip-link:focus {
  transform: none;
}
/* ── Оформлення елементів .site-header ── */
.site-header {
  border-bottom: 1px solid var(--line);
}
/* ── Шапка та навігація ── */
.header-inner {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.header-inner nav {
  display: flex;
  gap: 30px;
  font-size: 12px;
  font-weight: 600;
}
.header-inner nav a {
  transition: color 0.2s;
}
.header-inner nav a:hover {
  color: var(--green);
}
/* ── Кнопки та їхні стани ── */
.button {
  border: 0;
  background: var(--green);
  color: white;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 8px 9px 8px 24px;
  min-height: 50px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #276b06;
  transform: translateY(-2px);
}
/* ── Оформлення елементів .arrow-circle ── */
.arrow-circle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font:
    23px Arial,
    sans-serif;
  flex-shrink: 0;
}
/* ── Шапка та навігація ── */
.header-order {
  min-height: 44px;
  font-size: 11px;
  padding-left: 20px;
  gap: 22px;
}
.header-order .arrow-circle {
  width: 29px;
  height: 29px;
}
/* ── Оформлення елементів .text-link ── */
.text-link {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.text-link span {
  font-size: 21px;
}
.text-link:hover {
  color: var(--green);
}
/* ── Перший екран ── */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 50px;
  padding-block: 76px 64px;
}
/* ── Оформлення елементів .eyebrow ── */
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
}
.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
/* ── Оформлення елементів h1 ── */
h1 {
  font-size: clamp(38px, 4.05vw, 58px);
  position: relative;
  line-height: 1.22;
}
/* ── Перший екран ── */

.hero-copy > p {
  color: var(--muted);
  max-width: 400px;
  margin-top: 25px;
  font-size: 14px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}

/* ── Оформлення елементів .tiny-spark ── */

/* ── Оформлення елементів .image-placeholder ── */
.image-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e9ecdf;
  overflow: hidden;
  color: #89947a;
}
/* ── Перший екран ── */
.hero-art {
  aspect-ratio: 1.06;
  border-radius: 26px;
  background: #e7eadc;
}
/* ── Оформлення елементів .placeholder-cross ── */
.placeholder-cross {
  font: 300 32px/1 Montserrat;
  color: #9ba58d;
}

.placeholder-caption {
  font-size: 10px;
  color: #7b866e;
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 100%;
  text-align: center;
}

/* ── Оформлення елементів .corner-one ── */

/* ── Оформлення елементів .benefits ── */

/* ── Оформлення елементів .benefit-icon ── */

/* ── Оформлення елементів .benefits strong ── */

/* ── Оформлення елементів .section ── */
.section {
  padding-block: 100px;
}
/* Відступи перенесених кроків між Hero та послугами. */
.hero + .process-section {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 40px;
}
.section-label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 600;
  margin-bottom: 18px;
}
/* ── Оформлення елементів h2 ── */
h2 {
  font-size: clamp(26px, 3vw, 40px);
}
/* ── Оформлення елементів h2 .handwritten ── */
h2 .handwritten {
  color: var(--green);
  font-size: 1.3em;
  line-height: 0.8;
}
/* ── Оформлення елементів .section-heading > p ── */
.section-heading > p {
  max-width: 295px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  padding-bottom: 4px;
}
/* ── Оформлення елементів .services-grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
/* ── Картки послуг ── */
.service-card {
  padding: 12px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #faf9f3;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}
.service-art {
  height: 195px;
  border-radius: 11px;
}
.service-art .placeholder-caption {
  font-size: 8px;
  bottom: 16px;
}
.service-art .placeholder-cross {
  font-size: 24px;
}
.service-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 3px 5px;
}
.service-name h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.service-name > span {
  font-size: 20px;
  color: var(--green);
}
.service-card > p {
  font-size: 9px;
  color: var(--muted);
  padding-inline: 3px;
}
/* ── Оформлення елементів .stickers-art ── */
.stickers-art {
  background: #eee7d4;
}
/* ── Оформлення елементів .flyers-art ── */
.flyers-art {
  background: #e6e9df;
}
/* ── Оформлення елементів .banners-art ── */
.banners-art {
  background: #ebe6dc;
}
/* ── Оформлення елементів .compact-service ── */
.compact-service {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 23px 18px;
  min-height: 90px;
}
.compact-service h3 {
  font-size: 11px;
  flex: 1;
}
.compact-service > span:last-child {
  font-size: 18px;
}
/* ── Оформлення елементів .line-icon ── */
.line-icon {
  font-size: 26px;
  color: var(--green);
}
/* ── Оформлення елементів .other-service ── */
.other-service {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.other-service .line-icon {
  color: var(--yellow);
}
/* ── Форма калькулятора та оформлення замовлення ── */

/* ── Оформлення елементів .small-label ── */

/* ── Форма калькулятора та оформлення замовлення ── */

/* ── Поля форми ── */

/* ── Оформлення елементів .static-select ── */

/* ── Поля форми ── */

/* ── Оформлення елементів .finish-options ── */

/* ── Оформлення елементів .fine-print ── */

/* ── Блок підсумку й ціни ── */

/* ── Кнопки та їхні стани ── */

/* ── Блок підсумку й ціни ── */

/* ── Форма калькулятора та оформлення замовлення ── */

/* ── Приклади робіт ── */

.work-card {
  grid-column: span 2;
  min-width: 0;
}
.work-card:nth-child(n + 4) {
  grid-column: span 3;
}

.work-card figcaption {
  padding: 17px 2px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.work-card h3 {
  font-size: 11px;
  font-weight: 400;
}
.work-card figcaption > span {
  font-size: 19px;
  color: var(--green);
}
/* ── Компактне звернення щодо нестандартного замовлення ── */
.custom-order {
  padding-top: 40px;
}
.custom-order-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.custom-order-copy {
  max-width: 760px;
}
.custom-order h2 {
  font-size: 20px;
  line-height: 1.4;
}
.custom-order p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.custom-order .button {
  flex-shrink: 0;
  justify-content: center;
  padding-inline: 30px;
}
@media (max-width: 800px) {
  .custom-order {
    padding-top: 28px;
  }
  .custom-order-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }
  .custom-order h2 {
    font-size: 18px;
  }
}
/* ── Файли та конструктор макета ── */
.artwork-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: 100px;
}
.artwork-card {
  background: #e8eddf;
  border-radius: 22px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.artwork-card h3 {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.artwork-card > p {
  font-size: 12px;
  max-width: 290px;
  color: #636c58;
  margin: 18px 0 0;
}

/* ── Оформлення елементів .yellow-card ── */
.yellow-card {
  background: var(--yellow);
}
.yellow-card > .eyebrow,
.yellow-card > p,
.yellow-card .handwritten {
  color: var(--ink);
}
.yellow-card .handwritten {
  font-size: 1.25em;
}

/* ── Етапи роботи ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
  margin: 75px 30px 40px;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  height: 1px;
  border-top: 2px dashed #a9b297;
  transform: rotate(-3deg);
}
.process-card {
  padding: 28px;
  background: #fcfbf6;
  border: 1px solid #dedfd3;
  outline: 8px solid #fcfbf6;
  border-radius: 15px;
  position: relative;
  box-shadow: 6px 12px 14px #30382314;
  transform: rotate(-6deg);
}
.process-card:nth-child(2) {
  transform: rotate(5deg);
  margin-top: 30px;
  margin-bottom: -30px;
}
.process-card:nth-child(3) {
  transform: rotate(-4deg);
}
/* ── Оформлення елементів .pin ── */
.pin {
  position: absolute;
  left: calc(50% - 7px);
  top: -20px;
  width: 14px;
  height: 14px;
  border: 4px solid #f8f7f0;
  box-shadow:
    0 0 0 1px #dedfd3,
    2px 3px 4px #0002;
  border-radius: 50%;
  background: var(--green);
}
/* ── Оформлення елементів .step-number ── */
.step-number {
  font: 400 24px Unbounded;
  color: var(--green);
}
/* ── Етапи роботи ── */
.process-card h3 {
  font-size: 14px;
  margin: 24px 0 13px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.process-card p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}

.process-note {
  display: block;
  text-align: right;
  font-size: 30px;
  margin: 0 40px;
  color: var(--green);
  transform: rotate(-5deg);
}
/* ── Контакти та розташування ── */
.contact-section {
  padding: 76px 0;
  background: var(--green);
  color: white;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
}
.contact-section .section-label {
  color: #e1ebd0;
}
.contact-section h2 {
  font-size: 36px;
}
.contact-section h2 .handwritten {
  color: var(--yellow);
}
.contact-copy > p {
  color: #e1ebd0;
  font-size: 12px;
  margin-top: 23px;
}

/* ── Кнопки та їхні стани ── */
.button-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.button-yellow:hover {
  background: #ffc135;
}
.button-yellow .arrow-circle {
  background: var(--ink);
  color: var(--yellow);
}
/* ── Контакти та розташування ── */

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #ffffff35;
}
.contact-details span {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #d7e7c6;
}
.contact-details strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
  margin-top: 10px;
}
.contact-details small {
  display: block;
  font-size: 9px;
  color: #d7e7c6;
  margin-top: 5px;
}
/* ── Оформлення елементів .location-art ── */
.location-art {
  height: 335px;
  border-radius: 24px;
  background: #f6f5ef13;
  border: 1px solid #ffffff35;
  color: #d4e1c5;
}
.location-art .placeholder-cross,
.location-art .placeholder-caption {
  color: #d4e1c5;
}
/* ── Оформлення елементів .site-footer ── */
.site-footer {
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 120px;
  position: relative;
}
.site-footer > p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
/* ── Підвал сторінки ── */
.footer-logo {
  width: 170px;
}
/* ── Оформлення елементів .site-footer > p ── */
.site-footer > p {
  font-size: 9px;
  color: var(--muted);
  flex: 1;
}
/* ── Підвал сторінки ── */
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 9px;
  color: var(--muted);
  margin-left: auto;
}
/* ── Повернення до початку сторінки ── */

/* ── Адаптивність і налаштування пристрою ── */
@media (min-width: 1600px) {
  .hero {
    padding-block: 95px 80px;
  }
}
/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 56px);
  }
  .header-inner {
    gap: 20px;
  }
  .header-inner nav {
    gap: 20px;
    font-size: 11px;
  }
  .hero {
    gap: 25px;
  }
  h1 {
    font-size: 40px;
  }
  
  .hero-copy > p {
    max-width: 340px;
    font-size: 12px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-actions .button {
    font-size: 10px;
    gap: 15px;
    padding-left: 17px;
  }
  .hero-art {
    aspect-ratio: 1;
  }
  .service-art {
    height: 174px;
  }
  .service-name h3 {
    font-size: 10px;
  }
  .compact-service {
    padding: 18px 12px;
    gap: 9px;
  }
  .compact-service h3 {
    font-size: 9px;
  }
  
  .artwork-card {
    padding: 30px;
  }
  
  .artwork-card > p {
    max-width: 250px;
  }
  .contact-inner {
    gap: 40px;
  }
  .contact-section h2 {
    font-size: 30px;
  }
  .process-grid {
    gap: 34px;
    margin-inline: 18px;
  }
  .process-card {
    padding: 23px;
  }
  .process-card h3 {
    font-size: 12px;
  }
  .footer-links {
    gap: 12px;
  }
  .site-footer {
    gap: 22px;
  }
}
/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 800px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 110px;
    padding-block: 14px;
    gap: 10px;
  }
  .header-inner nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 32px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .header-order {
    font-size: 10px;
    min-height: 38px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 45px;
    gap: 35px;
  }
  .hero-copy {
    max-width: 560px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 450px;
  }
  h1 {
    font-size: clamp(37px, 7vw, 53px);
  }
  
  .hero-art {
    aspect-ratio: 1.35;
    max-width: 650px;
    width: 100%;
    justify-self: center;
  }
  
  
  
  
  .section {
    padding-block: 70px;
  }
  .artwork-section {
    padding-bottom: 70px;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading > p {
    max-width: 220px;
    font-size: 11px;
  }
  h2 {
    font-size: 29px;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-art {
    height: 215px;
  }
  .service-name h3 {
    font-size: 12px;
  }
  .compact-service h3 {
    font-size: 12px;
  }
  
  
  
  
  
  
  
  
  
  
  .work-card,
  .work-card:nth-child(n + 4) {
    grid-column: span 1;
  }
  .work-card:last-child {
    grid-column: span 2;
  }
  
  .artwork-section {
    gap: 16px;
  }
  .artwork-card h3 {
    font-size: 25px;
  }
  .artwork-card > p {
    font-size: 11px;
  }
  
  .process-grid {
    gap: 24px;
    margin-inline: 8px;
  }
  .process-card {
    padding: 18px;
  }
  .process-card h3 {
    font-size: 11px;
  }
  .process-card p {
    font-size: 10px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .location-art {
    height: 290px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-block: 28px;
    gap: 20px;
  }
  .footer-logo {
    width: 150px;
  }
  .site-footer > p {
    font-size: 8px;
  }
  .footer-links {
    flex: 1;
    order: 3;
  }
  
}
/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner nav {
    gap: 24px;
    font-size: 10px;
  }
  .header-order {
    gap: 12px;
    padding-left: 15px;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
    margin-bottom: 24px;
  }
  h1 {
    font-size: 35px;
    line-height: 1.3;
  }
  
  .hero-copy > p {
    font-size: 12px;
    line-height: 1.85;
    max-width: 310px;
  }
  .hero-actions {
    gap: 21px;
  }
  .hero-actions .button {
    font-size: 9px;
    gap: 12px;
  }
  .hero-actions .text-link {
    font-size: 10px;
    gap: 8px;
  }
  
  .hero-art {
    aspect-ratio: 1.1;
  }
  
  
  
  
  
  
  .section {
    padding-block: 58px;
  }
  .artwork-section {
    padding-bottom: 58px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: 280px;
    font-size: 11px;
  }
  .section-label {
    font-size: 8px;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 26px;
  }
  .services-grid {
    gap: 11px;
  }
  .service-card {
    padding: 8px 8px 14px;
    border-radius: 13px;
  }
  .service-art {
    height: 158px;
  }
  .service-name {
    padding: 12px 1px 4px;
  }
  .service-name h3 {
    font-size: 9px;
  }
  .service-name > span {
    font-size: 15px;
  }
  .service-card > p {
    font-size: 7px;
    line-height: 1.8;
  }
  .compact-service {
    padding: 17px 10px;
    gap: 8px;
    min-height: 70px;
  }
  .compact-service h3 {
    font-size: 9px;
  }
  .line-icon {
    font-size: 20px;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .work-card h3 {
    font-size: 9px;
  }
  .work-card:first-child {
    grid-column: span 2;
  }
  
  .work-card:nth-child(4) {
    grid-column: span 2;
  }
  
  .artwork-section {
    grid-template-columns: 1fr;
  }
  .artwork-card {
    padding: 30px;
  }
  .artwork-card > p {
    max-width: 265px;
  }
  
  
  .process-grid {
    grid-template-columns: 1fr;
    margin: 55px 24px 35px;
    gap: 38px;
  }
  .process-grid::before {
    height: 100%;
    width: 0;
    top: 0;
    left: 50%;
    border-top: 0;
    border-left: 2px dashed #a9b297;
  }
  .process-card {
    padding: 25px;
    transform: rotate(-4deg);
  }
  .process-card:nth-child(2) {
    margin: 0;
    transform: rotate(4deg);
  }
  .process-card:nth-child(3) {
    transform: rotate(-3deg);
  }
  .process-card h3 {
    font-size: 14px;
    margin-top: 17px;
  }
  .process-card p {
    font-size: 11px;
    max-width: 220px;
  }
  
  .process-note {
    margin: 0 20px;
    font-size: 26px;
  }
  .contact-section {
    padding-block: 50px;
  }
  .contact-section h2 {
    font-size: 29px;
  }
  .contact-copy > p {
    font-size: 11px;
  }
  
  
  .contact-details {
    gap: 18px;
  }
  .contact-details strong {
    font-size: 9px;
  }
  .contact-details small {
    font-size: 8px;
  }
  .location-art {
    height: 265px;
  }
  .footer-logo {
    width: 125px;
  }
  .site-footer {
    gap: 18px;
  }
  .site-footer > p {
    font-size: 7px;
  }
  .footer-links {
    font-size: 8px;
  }
}
/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 360px) {
  h1 {
    font-size: 31px;
  }
  
  .hero-actions {
    gap: 13px;
  }
  .hero-actions .button {
    padding-left: 12px;
    gap: 8px;
  }
  .header-inner nav {
    gap: 18px;
  }
  
  
}
/* ── Адаптивність і налаштування пристрою ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Keep the smallest mobile layouts within the viewport. */
/* ── Перший екран ── */
.hero-copy {
  min-width: 0;
}
/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 360px) {
  h1 {
    font-size: clamp(25px, 8.1vw, 29px);
  }
  .hero-actions {
    flex-wrap: wrap;
    row-gap: 18px;
  }
  .header-inner {
    column-gap: 8px;
  }
  .header-order {
    padding-left: 11px;
    gap: 7px;
    font-size: 9px;
  }
  .header-order .arrow-circle {
    width: 27px;
    height: 27px;
  }
  .contact-section h2 {
    font-size: 25px;
  }
  .artwork-card h3 {
    font-size: 22px;
  }
  
}

/* Scattered service lettering with hand-drawn accents. */
/* ── Оформлення елементів .word-cloud ── */
.word-cloud {
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  padding: 18px 0;
  align-self: center;
  color: var(--green);
}
.word-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3%;
  min-height: 35px;
  padding-block: 5px;
}
.word-row:nth-child(3n + 1) {
  padding-right: 8%;
}
.word-row:nth-child(3n + 2) {
  padding-left: 7%;
}
/* ── Картки послуг ── */
.service-word {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  font-family: Unbounded, sans-serif;
  font-weight: 600;
  font-size: clamp(10px, 4.4cqi, 25px);
  line-height: 1.35;
  white-space: nowrap;
  transform: translate(var(--escape-x, 0px), var(--escape-y, 0px));
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Рух напису не переміщує область натискання посилання. */
.service-word[href] {
  transform: none;
}
.service-word[href] .word-ink {
  translate: var(--escape-x, 0px) var(--escape-y, 0px);
  transition:
    translate 650ms cubic-bezier(0.22, 1, 0.36, 1),
    scale 350ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
/* Напис трохи збільшується, коли курсор затримався на ньому (клас додає main.js). */
.service-word[href].is-zoomed .word-ink {
  scale: 1.14;
}
@media (prefers-reduced-motion: reduce) {
  .service-word[href] .word-ink {
    translate: none;
    transition: none;
  }
  .service-word[href].is-zoomed .word-ink {
    scale: none;
  }
}
/* ── Оформлення елементів .word-ink ── */
.word-ink {
  position: relative;
  display: block;
  transform: rotate(-3deg);
}
.word-row:nth-child(even) .word-ink {
  transform: rotate(3deg);
}
/* ── Картки послуг ── */
.service-word:nth-child(even) .word-ink {
  transform: rotate(2deg);
}
/* ── Оформлення елементів .word-row:nth-child(3n) .service-word, ── */
.word-row:nth-child(3n) .service-word,
.service-word:nth-child(even) {
  font-weight: 700;
}
.word-row:nth-child(8) .service-word {
  font-size: 4.1cqi;
}
.word-row:nth-child(13) .service-word {
  font-size: 3.55cqi;
}
/* ── Оформлення елементів .sketch-ring, ── */
.sketch-ring,
.sketch-underline {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sketch-ring {
  width: 114%;
  height: 145%;
  left: -7%;
  top: -22%;
}
.sketch-underline {
  width: 100%;
  height: 9px;
  left: 0;
  bottom: -5px;
}
.sketch-ring path,
.sketch-underline path {
  vector-effect: non-scaling-stroke;
}
/* ── Перший екран ── */
.hero-actions {
  flex-wrap: wrap;
}
.hero-actions > .button {
  padding: 17px 24px;
  min-height: 50px;
}
.hero-actions .sketch-contact {
  position: relative;
  display: inline-flex;
  justify-content: center;
  padding: 12px 18px;
  color: var(--green);
  font-family: Unbounded, sans-serif;
  font-weight: 600;
  text-decoration: none;
}
/* ── Оформлення елементів .sketch-contact .sketch-ring ── */
.sketch-contact .sketch-ring {
  width: 110%;
  height: 115%;
  left: -5%;
  top: -7%;
}
.sketch-contact:hover {
  color: var(--ink);
}
/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 1100px) {
  .word-row {
    min-height: 29px;
    padding-block: 5px;
  }
}
/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 800px) {
  .word-cloud {
    max-width: 580px;
    justify-self: center;
    padding-block: 12px;
  }
  .word-row {
    min-height: 33px;
    padding-block: 6px;
  }
}
/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 480px) {
  .word-row {
    min-height: 27px;
    padding-block: 5px;
  }
  .hero-actions > .button {
    padding: 15px 17px;
  }
  .hero-actions .sketch-contact {
    padding: 10px 13px;
  }
}
/* ── Адаптивність і налаштування пристрою ── */
@media (prefers-reduced-motion: reduce) {
  .service-word {
    transform: none;
    transition: none;
  }
}

/* Uneven spacing keeps the word arrangement informal and compact. */
/* ── Оформлення елементів .word-row ── */
.word-row {
  min-height: 32px;
  padding-block: 3px;
}
/* ── Картки послуг ── */
.service-word {
  font-size: clamp(10px, 4cqi, 23px);
}
/* ── Оформлення елементів .word-row:nth-child(4) ── */
.word-row:nth-child(4) {
  padding-right: 12%;
}
.word-row:nth-child(5) {
  padding-left: 16%;
}
.word-row:nth-child(6) {
  padding-right: 19%;
}
.word-row:nth-child(9) {
  padding-left: 10%;
}
.word-row:nth-child(11) {
  padding-left: 18%;
}
.word-row:nth-child(12) {
  padding-right: 10%;
}
/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 480px) {
  .word-row {
    min-height: 27px;
    padding-block: 5px;
  }
}

/* Crop the bottom strip of the supplied map within its rounded frame. */
/* ── Оформлення елементів .location-map ── */
.location-map {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.location-map img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: calc(100% + 40px);
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

/* Reveal the return-to-top link after reaching the services section. */
/* ── Оформлення елементів .scroll-top ── */
.scroll-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(
    max(24px, env(safe-area-inset-bottom)) + var(--footer-offset, 0px)
  );
  z-index: 50;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 15%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100px) scale(0.7);
  transition:
    transform 550ms cubic-bezier(0.22, 1.25, 0.36, 1),
    opacity 250ms ease,
    visibility 0s linear 550ms;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.scroll-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-top.is-visible:hover {
  transform: translateY(-3px);
}

.scroll-top:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 480px) {
  .scroll-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(
      max(16px, env(safe-area-inset-bottom)) + var(--footer-offset, 0px)
    );
  }
}

/* ── Адаптивність і налаштування пристрою ── */
@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: none;
    transform: none;
  }
}

/* Equal social buttons retain each brand's original artwork. */
/* ── Контакти та розташування ── */
.contact-copy {
  min-width: 0;
}

.contact-socials {
  margin-top: 28px;
  padding: 5px;
  margin-inline: -5px;
}

/* ── Кнопки соціальних мереж ── */
.social-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 13px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.social-button img {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-button:hover,
.social-button:focus-visible {
  background: #e7e7e7;
  color: var(--green);
}

.social-button:focus-visible,
.contact-email:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* ── Контакти та розташування ── */
.contact-email {
  min-width: 0;
  text-decoration: none;
}

/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 480px) {
  .social-buttons {
    gap: 8px;
  }

  .social-button {
    gap: 6px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .social-button img {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }
}

/* ── Адаптивність і налаштування пристрою ── */
@media (prefers-reduced-motion: reduce) {
  .social-button {
    transition: none;
  }
}

/* A handwritten invitation points up to the clickable map. */
/* ── Оформлення елементів .location-block ── */
.location-block {
  min-width: 0;
}

/* ── Оформлення елементів .map-caption ── */
.map-caption {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  height: 68px;
  padding-right: 34px;
  color: var(--yellow);
  pointer-events: none;
}

.map-caption .handwritten {
  font-size: 32px;
  line-height: 1.2;
  transform: rotate(-7deg);
}

.map-caption svg {
  width: 76px;
  height: 66px;
  align-self: flex-start;
  margin-top: -6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 480px) {
  .map-caption {
    padding-right: 20px;
  }

  .map-caption .handwritten {
    font-size: 28px;
  }
}

/* Keep navigation together at the right edge of the header. */
/* ── Шапка та навігація ── */
.header-inner nav {
  margin-left: auto;
}

.header-inner .header-order {
  justify-content: center;
  padding: 12px 22px;
  gap: 0;
  flex-shrink: 0;
  text-align: center;
  width: 124px;
}

/* Replace each content-photo src in HTML; the frame handles the crop. */
/* ── Оформлення елементів .photo-slot .content-photo ── */
.photo-slot .content-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-slot:has(.content-photo:not([src="assets/images/photo-placeholder.svg"]))
  > span {
  display: none;
}

/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 800px) {
  .header-inner .header-order {
    margin-left: auto;
  }

  .header-inner nav {
    justify-content: flex-end;
  }
}

/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 360px) {
  .header-inner .header-order {
    padding-inline: 14px;
  }
}
@media (max-width: 480px) {
  .header-inner .header-order {
    width: 96px;
    padding-inline: 12px;
  }
}

/* Improve supporting copy without changing the heading hierarchy. */
/* ── Картки послуг ── */
.service-card > p,
.work-card h3,
.process-card p,
.contact-details strong,
.contact-details small,
.site-footer > p,
.footer-links{
  font-size: 13px;
  line-height: 1.7;
}

/* ── Оформлення елементів .section-label, ── */
.section-label,
.contact-details span,
.eyebrow {
  font-size: 11px;
}

.section-heading > p,
.artwork-card > p,
.contact-copy > p{
  font-size: 14px;
}

/* ── Картки послуг ── */
.service-name h3,
.compact-service h3,
.process-card h3 {
  font-size: 13px;
}

/* ── Оформлення елементів .site-footer ── */
.site-footer {
  flex-wrap: wrap;
}

/* ── Підвал сторінки ── */
.footer-links {
  flex-wrap: wrap;
}

/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 800px) {
  .service-card > p,
  .work-card h3,
  .process-card p,
  .contact-details strong,
  .contact-details small,
  .site-footer > p,
  .footer-links{
    font-size: 12px;
  }

  .section-heading > p,
  .artwork-card > p,
  .contact-copy > p{
    font-size: 13px;
  }
}

/* ── Адаптивність і налаштування пристрою ── */
@media (max-width: 480px) {
  .social-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-button {
    font-size: 11px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .eyebrow,
  .section-label{
    font-size: 10px;
  }

  .service-name h3,
  .compact-service h3 {
    font-size: 11px;
  }
}

/* Dynamic calculator: two select columns and three checkbox columns. */
/* ── Форма калькулятора та оформлення замовлення ── */

/* ── Блок підсумку й ціни ── */

#estimate-summary {
  overflow-wrap: anywhere;
}

/* ── Адаптивність і налаштування пристрою ── */

/* ── Адаптивність і налаштування пристрою ── */

/* Підсумок подовжується разом із вмістом без внутрішньої прокрутки. */
/* ── Форма калькулятора та оформлення замовлення ── */

/* ── Блок підсумку й ціни ── */

/* ── Список і деталі замовлень ── */

/* ── Блок підсумку й ціни ── */

/* ── Адаптивність і налаштування пристрою ── */

/* Calculator checkout only: native dialog supplies focus trapping and modality. */
/* ── Особистий кабінет ── */

#account-dialog [hidden] {
  display: none !important;
}

#account-delete-form {
  grid-column: 1 / -1;
}

#account-delete-form > p {
  margin-top: 16px;
}

#account-orders {
  list-style: none;
  padding: 4px;
  max-height: min(420px, 50dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--green) var(--color-background);
}
#account-orders li {
  padding: 16px;
  margin-top: 12px;
  border-radius: 14px;
  background: #e8eddf;
  overflow-wrap: anywhere;
}
#account-orders p {
  margin-top: 8px;
  font-size: 14px;
}

/* ── Форма калькулятора та оформлення замовлення ── */

#calculator-order-description {
  margin: 12px 0 20px;
  font-size: 14px;
}

/* ── Адаптивність і налаштування пристрою ── */

/* ── Згода у публічних формах ── */

#order-checkout[hidden],
#print-artwork[hidden] {
  display: none;
}

/* ── Підтвердження щойно створеного замовлення ── */

#order-success-number {
  font-weight: 600;
  font-size: 18px;
  color: var(--green);
}

/* ── Спільні дії публічних форм і читабельна історія ── */

#account-logout{
  justify-content: center;
  padding: 12px 20px;
  white-space: normal;
}
/* Повторне підтвердження email — текстова дія на одному рівні з описом. */
#account-resend-verification {
  background: transparent;
  color: var(--danger);
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
  font: inherit;
  box-shadow: none;
  transform: none;
}
#account-resend-verification:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#account-resend-verification:focus-visible {
  outline: 2px solid var(--danger);
  outline-offset: 4px;
}
#account-logout {
  justify-self: end;
  width: auto;
  margin: 0;
  background: var(--yellow);
  color: #000;
}
.footer-links a {
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
}
#account-orders summary {
  cursor: pointer;
}
#account-orders summary strong {
  font-weight: 600;
}

/* Позиції одного замовлення в калькуляторі та кабінеті. */

#calculator-items-total { margin-top: 18px; font-weight: 600; }
#calculator-items-status { margin-top: 10px; font-size: 13px; }
#calculator-order-open:disabled { opacity: .6; cursor: not-allowed; }

/* На мобільних хмару слів не показуємо. */
@media (max-width: 800px) {
  .word-cloud {
    display: none;
  }
}

/* Кнопки без стрілки: однакові відступи та текст по центру на всіх сторінках. */
.button:not(:has(.arrow-circle)):not(.header-order) {
  justify-content: center;
  padding: 8px 28px;
}

/* Підвал на вузьких екранах: елементи йдуть одне під одним, а не накладаються. */
@media (max-width: 800px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-block: 36px;
  }
  .site-footer > p {
    position: static;
    transform: none;
    flex: none;
  }
  .footer-links {
    margin-left: 0;
  }
}

/* ── Мобільне меню: «Замовити» + кнопка з трьома смужками, решта пунктів у списку ── */
.nav-toggle {
  display: none;
}
@media (max-width: 800px) {
  .site-header {
    position: relative;
    z-index: 60;
  }
  .site-header .header-inner {
    flex-wrap: nowrap;
    min-height: 84px;
    padding-block: 12px;
    gap: 10px;
  }
  .site-header .header-inner #header-logo {
    width: clamp(120px, 34vw, 200px);
  }
  .site-header .header-inner .header-order {
    width: auto;
    margin-left: auto;
    padding: 12px 20px;
  }
  .nav-toggle {
    display: inline-flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition:
      border-color 0.2s,
      background 0.2s;
  }
  .nav-toggle:hover,
  .nav-toggle[aria-expanded="true"] {
    border-color: var(--green);
  }
  .nav-toggle:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition:
      transform 0.25s,
      opacity 0.2s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .site-header .header-inner nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    order: 0;
    width: auto;
    margin: 0;
    padding: 6px 18px 12px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--color-background);
    box-shadow: 0 20px 30px rgb(32 37 28 / 12%);
  }
  .site-header .header-inner nav.is-open {
    display: flex;
  }
  .site-header .header-inner nav a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .site-header .header-inner nav a:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 380px) {
  .site-header .header-inner .header-order {
    padding-inline: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle,
  .nav-toggle span {
    transition: none;
  }
}

/* ── Модальне вікно контактів ── */
.modal-open{overflow:hidden}
.contact-modal{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:22px;background:var(--color-background);color:var(--ink);overflow:auto;box-shadow:0 30px 80px rgb(32 37 28/35%)}
.contact-modal::backdrop{background:rgb(32 37 28/55%);backdrop-filter:blur(3px)}
.contact-modal[open]{animation:cm-in .22s ease-out}
@keyframes cm-in{from{opacity:0;transform:translateY(14px) scale(.98)}}
.cm-box{position:relative;padding:36px 34px 30px}
.cm-box h2{margin:10px 0 8px;font-family:Unbounded,sans-serif;font-size:clamp(24px,5vw,32px);line-height:1.1}
.cm-lead{margin:0 0 22px;color:var(--muted);font-size:15px}
.cm-close{position:absolute;top:16px;right:16px;width:40px;height:40px;border:1.5px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:24px;line-height:1;cursor:pointer;transition:border-color .2s,color .2s}
.cm-close:hover{border-color:var(--green);color:var(--green)}
.cm-list{display:flex;flex-wrap:wrap;gap:10px}
.cm-info{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px;padding-top:22px;border-top:1px solid var(--line);font-size:13px}
.cm-info span{display:block;margin-bottom:6px;color:var(--muted);font-size:11px;letter-spacing:.08em}
.cm-info strong{display:block;font-weight:600;line-height:1.4}
.cm-info small{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.cm-map{display:inline-block;margin-top:8px;color:var(--green);font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media (max-width:520px){.cm-box{padding:30px 20px 24px}.cm-info{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.contact-modal[open]{animation:none}}

/* ── Наші роботи: стрічка з фото та відео ── */
.wk-wrap{position:relative}
.wk-track{display:flex;gap:18px;overflow-x:auto;padding:4px 2px 18px;scroll-snap-type:x proximity;scroll-padding-inline:2px;scrollbar-width:thin;scrollbar-color:var(--line) transparent;-webkit-overflow-scrolling:touch}
.wk-track:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:12px}
.wk-card{flex:0 0 clamp(210px,22vw,276px);margin:0;scroll-snap-align:start}
.wk-open{position:relative;display:block;width:100%;aspect-ratio:9/16;padding:0;border:0;border-radius:18px;overflow:hidden;background:#e8e9df;cursor:zoom-in;box-shadow:0 14px 34px rgb(32 37 28/14%);transition:transform .3s ease,box-shadow .3s ease}
.wk-open:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgb(32 37 28/20%)}
.wk-open:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.wk-open img,.wk-open video{display:block;width:100%;height:100%;object-fit:cover}
.wk-play{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgb(32 37 28/62%);color:#fff;font-size:11px;padding-left:2px;pointer-events:none;transition:opacity .2s}
.wk-open.is-playing .wk-play{opacity:0}
.wk-card figcaption{padding:12px 4px 0}
.wk-card h3{margin:0 0 3px;font-family:Montserrat,sans-serif;font-size:14px;font-weight:600;line-height:1.3}
.wk-card figcaption span{color:var(--muted);font-size:12px;line-height:1.4}
.wk-arrow{position:absolute;top:calc(50% - 40px);display:none;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:var(--ink);font-size:20px;cursor:pointer;box-shadow:0 8px 22px rgb(32 37 28/22%);transition:background .2s,color .2s,opacity .2s}
.wk-arrow:hover{background:var(--green);color:#fff}
.wk-arrow[disabled]{opacity:0;pointer-events:none}
.wk-prev{left:-14px}.wk-next{right:-14px}
@media (hover:hover) and (min-width:801px){.wk-arrow{display:grid}}
.wk-lightbox{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:20px;background:#111;overflow:hidden;box-shadow:0 30px 80px rgb(0 0 0/50%)}
.wk-lightbox::backdrop{background:rgb(20 24 17/78%);backdrop-filter:blur(4px)}
.wk-lightbox img,.wk-lightbox video{display:block;width:100%;max-height:calc(100dvh - 24px);object-fit:contain;background:#111}
.wk-lightbox .cm-close{z-index:2;background:rgb(255 255 255/90%);border-color:transparent}

/* ── Мобільна оптимізація: читабельність, зручні дотики, без обрізання фото ── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (hover: none) {
  .wk-open:hover { transform: none; box-shadow: 0 14px 34px rgb(32 37 28 / 14%); }
}
@media (max-width: 480px) {
  .header-order { min-height: 44px; font-size: 12px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.4px; }
  .section-label { font-size: 11px; }
  .hero-copy > p { font-size: 14px; line-height: 1.7; max-width: 340px; }
  .hero-actions .button { font-size: 12px; min-height: 48px; }
  .hero-actions .text-link { font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; }
  .process-card p { font-size: 13px; line-height: 1.6; }
  .service-art { height: auto; aspect-ratio: 4 / 3; }
  .service-name h3 { font-size: 13px; }
  .compact-service h3 { font-size: 13px; }
  .services-grid .service-card > p { font-size: 12px; line-height: 1.5; }
  .custom-order-inner .button, .branding-copy .button { min-height: 48px; }
  .wk-card figcaption span { font-size: 12.5px; }
  .wk-play { width: 36px; height: 36px; }
  .social-button { min-height: 52px; font-size: 13px; }
  .social-button span { font-size: 13px; }
  .contact-details span { font-size: 11px; }
  .contact-details strong { font-size: 13px; }
  .contact-details small { font-size: 13px; }
  .site-footer > p, .site-footer > p span { font-size: 12.5px; }
  .footer-links a { display: inline-block; padding: 12px 6px; font-size: 13px; }
  .legal-back { min-height: 44px; display: inline-flex; align-items: center; }
  .cm-close { width: 44px; height: 44px; }
}
