:root {
  --paper: #fbf7f2;
  --panel: #ffffff;
  --mist: #f0eeec;
  --ink: #241f1d;
  --muted: #6f6460;
  --line: rgba(36, 31, 29, 0.14);
  --accent: #8e3151;
  --accent-strong: #6d1f3b;
  --sage: #87955b;
  --clay: #d7b8a8;
  --blush: #f6e2e9;
  --blue: #dcecf2;
  --shadow: 0 22px 70px rgba(36, 31, 29, 0.14);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

.site-header,
.hero,
.notice,
.social-strip,
.section,
.site-footer {
  width: 100%;
  max-width: 100vw;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  position: relative;
  display: grid;
  width: 76px;
  min-width: 76px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  line-height: 1;
}

.brand-logo-script {
  position: absolute;
  top: -3px;
  left: 0;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 31px;
  font-weight: 400;
}

.brand-logo-serif {
  position: absolute;
  right: 0;
  bottom: 1px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.site-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--mist);
}

.header-action {
  justify-self: end;
  padding: 10px 15px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.header-action:hover,
.button:hover,
.social-link:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  padding: clamp(30px, 6vw, 76px);
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(36, 31, 29, 0.9),
      rgba(36, 31, 29, 0.48) 48%,
      rgba(36, 31, 29, 0.06)
    ),
    linear-gradient(0deg, rgba(36, 31, 29, 0.74), rgba(36, 31, 29, 0.04));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.hero-logo-mark {
  position: relative;
  width: 220px;
  height: 88px;
  margin-bottom: 28px;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.hero-logo-mark span {
  position: absolute;
  top: -8px;
  left: 0;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 78px;
  font-weight: 400;
  line-height: 1;
}

.hero-logo-mark strong {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5d0dc;
}

h1,
h2,
h3,
h4,
p,
li,
span {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 18px;
  max-width: 840px;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.1vw, 58px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.16;
}

h4 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-note {
  max-width: none;
  margin-bottom: 28px;
  color: #f7dfe7;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  color: var(--ink);
  background: #fff;
}

.button.full {
  width: 100%;
}

.hero-facts {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 56px);
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(640px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(36, 31, 29, 0.62);
  backdrop-filter: blur(16px);
}

.hero-facts div {
  padding: 17px;
}

.hero-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 18px;
}

.hero-facts span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.notice {
  display: flex;
  gap: 10px;
  padding: 20px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.notice span {
  min-width: 0;
  color: var(--muted);
}

.social-strip {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.social-strip strong,
.social-strip span {
  display: block;
}

.social-strip span {
  color: var(--muted);
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.social-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-weight: 900;
  text-align: center;
}

.social-link.instagram {
  color: var(--accent-strong);
  background: #f9e6ee;
}

.social-link.telegram {
  color: #1e566d;
  background: #e5f2f7;
}

.social-link.pending {
  color: var(--muted);
  background: var(--mist);
  cursor: not-allowed;
  opacity: 0.72;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
}

.section-heading p:not(.eyebrow),
.format-card p,
.filling-list p,
.price-rules p,
.bento-grid li,
.order-copy p,
.delivery-card p {
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

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

.intro-grid article,
.format-card,
.filling-list article,
.price-rules article,
.bento-grid article,
.order-form,
.estimate {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 45px rgba(36, 31, 29, 0.06);
}

.intro-grid article:hover,
.format-card:hover,
.filling-list article:hover,
.price-rules article:hover,
.bento-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(36, 31, 29, 0.1);
}

.intro-grid article,
.format-card,
.filling-list article,
.price-rules article,
.bento-grid article {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.intro-grid article {
  padding: 22px;
}

.intro-grid span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--sage);
  font-weight: 900;
}

.formats,
.prices {
  background: var(--mist);
}

.works {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.format-grid,
.price-rules,
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.format-card,
.price-rules article,
.bento-grid article {
  padding: 24px;
}

.price-line {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 25px;
  font-weight: 900;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.photo-row figure,
.gallery-grid {
  margin: 0;
}

.photo-row img,
.gallery-grid img {
  width: 100%;
  height: 440px;
  border-radius: 8px;
  object-fit: cover;
}

.photo-row figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 14px;
  margin-top: 30px;
}

.work-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(36, 31, 29, 0.08);
}

.work-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card.tall {
  grid-row: span 2;
}

.work-card.wide {
  grid-column: span 2;
}

.work-card img,
.works-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.work-card:hover img,
.works-strip img:hover {
  transform: scale(1.045);
}

.work-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(0deg, rgba(36, 31, 29, 0.7), rgba(36, 31, 29, 0));
}

.work-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.works-strip {
  display: grid;
  grid-auto-columns: minmax(170px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.works-strip img {
  height: 170px;
  border-radius: 8px;
  scroll-snap-align: start;
}

.filling-showcase {
  position: relative;
  margin: 32px 0 42px;
}

.filling-track {
  display: grid;
  grid-auto-columns: minmax(520px, 620px);
  grid-auto-flow: column;
  gap: 16px;
  padding: 0 6px 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) rgba(36, 31, 29, 0.08);
}

.filling-track:focus {
  outline: 3px solid rgba(142, 49, 81, 0.16);
  outline-offset: 4px;
}

.filling-slide {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(36, 31, 29, 0.08);
  scroll-snap-align: start;
}

.filling-slide img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.filling-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
}

.filling-slide-copy span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}

.filling-slide-copy h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 1.55vw, 30px);
  line-height: 1.08;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.filling-slide-copy p {
  margin: 0;
  color: var(--muted);
}

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 38px rgba(36, 31, 29, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-button svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.slider-button.prev {
  left: -10px;
}

.slider-button.next {
  right: -10px;
}

.filling-groups {
  display: grid;
  gap: 28px;
}

.filling-group {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.group-title {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
}

.group-title h3 {
  font-size: 34px;
}

.group-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.premium .group-title {
  background: var(--ink);
}

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

.filling-list article {
  padding: 20px;
}

.bento-grid ul {
  margin: 0;
  padding-left: 20px;
}

.bento-grid li + li {
  margin-top: 9px;
}

.gallery {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.delivery {
  color: #fff;
  background: var(--ink);
}

.delivery .eyebrow {
  color: #dce6b9;
}

.delivery-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.delivery-card p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.order-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 24px;
  align-items: end;
}

.order-copy .eyebrow,
.order-copy h2,
.order-copy p {
  grid-column: 1;
}

.order-copy .estimate {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
}

.estimate {
  margin-top: 0;
  padding: 22px;
}

.estimate span,
.estimate strong,
.estimate small {
  display: block;
}

.estimate span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate strong {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 28px;
}

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

.order-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}

fieldset {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

fieldset:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
}

label.wide {
  grid-column: 1 / -1;
}

fieldset:first-of-type label,
fieldset:nth-of-type(3) label:nth-of-type(3),
fieldset:nth-of-type(4) label:nth-of-type(-n + 2) {
  grid-column: span 2;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(142, 49, 81, 0.55);
  outline: 3px solid rgba(142, 49, 81, 0.16);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 20px;
  margin: -6px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span,
.site-footer a {
  color: var(--muted);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .intro,
  .order,
  .delivery-card,
  .filling-group {
    grid-template-columns: 1fr;
  }

  .order-copy {
    grid-template-columns: 1fr;
  }

  .order-copy .estimate {
    grid-column: 1;
    grid-row: auto;
  }

  .order-copy,
  .group-title {
    position: static;
  }

  .format-grid,
  .price-rules,
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bento-format-grid {
    grid-template-columns: 1fr;
  }

  .bento-format-item + .bento-format-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* Иконки соцсетей */
.social-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.social-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(36, 31, 29, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(36, 31, 29, 0.12);
}

.social-icon.instagram {
  color: #8e3151;
  background: #f9e6ee;
}

.social-icon.telegram {
  color: #1e566d;
  background: #e5f2f7;
}

.social-icon.pending {
  color: #9e9792;
  background: #f1ece7;
  cursor: not-allowed;
  opacity: 0.75;
}

.social-icon.pending:hover {
  transform: none;
  box-shadow: 0 6px 18px rgba(36, 31, 29, 0.06);
}

@media (max-width: 760px) {
  .social-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-actions {
    justify-content: flex-start;
  }
}
/* Фикс карточки Бенто MINI / MAXI */
.bento-format-card {
  padding: 0 !important;
  overflow: hidden;
}

.bento-format-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  height: 100%;
}

.bento-format-item {
  padding: 24px !important;
}

.bento-format-item + .bento-format-item {
  border-left: 1px solid var(--line) !important;
  border-top: 0 !important;
  background: rgba(251, 247, 242, 0.55);
}

.bento-format-item h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.bento-format-item .price-line {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.2;
}

.bento-format-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .bento-format-grid {
    grid-template-columns: 1fr !important;
  }

  .bento-format-item + .bento-format-item {
    border-left: 0 !important;
    border-top: 1px solid var(--line) !important;
  }
}
/* Вкладки работ */
.works-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.works-tab {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s ease;
}

.works-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.works-tab.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.work-panel[hidden] {
  display: none;
}

.works-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.works-gallery .work-card {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(36, 31, 29, 0.08);
}

.works-gallery .work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.works-gallery .work-card:hover img {
  transform: scale(1.045);
}

.works-empty {
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1050px) {
  .works-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .works-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-tab {
    padding: 10px 14px;
    font-size: 14px;
  }
}
.works-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin-top: 24px;
  padding: 32px 24px;
  border: 1px dashed rgba(36, 31, 29, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #f8f3f5 100%);
  text-align: center;
}

.works-empty-inner {
  max-width: 460px;
}

.works-empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #f9e6ee;
  color: var(--accent);
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(36, 31, 29, 0.08);
}

.works-empty strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

.works-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.filling-list article {
  position: relative;
  padding: 22px 24px;
  overflow: hidden;
  border-color: rgba(36, 31, 29, 0.1);
  box-shadow: 0 14px 36px rgba(36, 31, 29, 0.055);
}

.filling-list article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  content: "";
  background: var(--accent);
  opacity: 0.75;
}

.filling-list article:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(36, 31, 29, 0.1);
}

.filling-list h4 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.25;
}

.filling-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
.group-title {
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(36, 31, 29, 0.12);
}

.group-title h3 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1;
}

.group-title p {
  font-size: 14px;
  line-height: 1.45;
}
.filling-groups {
  gap: 48px;
}
.filling-list {
  gap: 16px;
}
#worksPlaceholder.is-hidden {
  display: none !important;
}
/* Улучшенная форма заявки */
.order {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 1280px;
}

.order-copy {
  display: block;
  position: sticky;
  top: 110px;
}

.order-copy .eyebrow,
.order-copy h2,
.order-copy p,
.order-copy .estimate {
  grid-column: auto;
  grid-row: auto;
}

.order-copy h2 {
  margin-bottom: 16px;
}

.order-copy p {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.55;
}

.order-copy .estimate {
  margin-top: 24px;
  border-radius: 18px;
  background: #fff;
}

.order-form {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(36, 31, 29, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(36, 31, 29, 0.1);
}

.order-form fieldset {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid rgba(36, 31, 29, 0.11);
}

.order-form fieldset:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.order-form legend {
  grid-column: 1 / -1;
  width: fit-content;
  margin-bottom: 2px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: #f9e6ee;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.order-form label {
  grid-column: span 4;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

/* Контакты */
.order-form fieldset:first-of-type label {
  grid-column: span 6;
}

/* Заказ */
.order-form fieldset:nth-of-type(2) label {
  grid-column: span 3;
}

.order-form fieldset:nth-of-type(2) label:nth-of-type(5),
.order-form fieldset:nth-of-type(2) label:nth-of-type(6) {
  grid-column: span 4;
}

/* Вкус и декор */
.order-form fieldset:nth-of-type(3) label:nth-of-type(1),
.order-form fieldset:nth-of-type(3) label:nth-of-type(2),
.order-form fieldset:nth-of-type(3) label:nth-of-type(3) {
  grid-column: span 4;
}

.order-form fieldset:nth-of-type(3) label:nth-of-type(4) {
  grid-column: span 6;
}

/* Получение */
.order-form fieldset:nth-of-type(4) label:nth-of-type(1),
.order-form fieldset:nth-of-type(4) label:nth-of-type(2) {
  grid-column: span 6;
}

.order-form fieldset:nth-of-type(4) label.wide {
  grid-column: 1 / -1;
}

.order-form input,
.order-form select,
.order-form textarea {
  min-height: 46px;
  padding: 11px 13px;
  border-radius: 12px;
  border-color: rgba(36, 31, 29, 0.14);
  background: #fbf7f2;
  font-size: 14px;
  font-weight: 700;
}

.order-form textarea {
  min-height: 110px;
}

.order-form input::placeholder,
.order-form textarea::placeholder {
  color: rgba(111, 100, 96, 0.8);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: rgba(142, 49, 81, 0.6);
  background: #fff;
  outline: 4px solid rgba(142, 49, 81, 0.13);
}

.order-form .button.full {
  min-height: 56px;
  margin-top: 2px;
  border-radius: 16px;
  font-size: 15px;
  box-shadow: 0 16px 38px rgba(142, 49, 81, 0.22);
}

.order-form .button.full:hover {
  box-shadow: 0 20px 46px rgba(142, 49, 81, 0.28);
}

.form-note {
  text-align: center;
}

/* Адаптация формы */
@media (max-width: 1050px) {
  .order {
    grid-template-columns: 1fr;
  }

  .order-copy {
    position: static;
  }

  .order-form fieldset {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .order-form label,
  .order-form fieldset:first-of-type label,
  .order-form fieldset:nth-of-type(2) label,
  .order-form fieldset:nth-of-type(2) label:nth-of-type(5),
  .order-form fieldset:nth-of-type(2) label:nth-of-type(6),
  .order-form fieldset:nth-of-type(3) label:nth-of-type(1),
  .order-form fieldset:nth-of-type(3) label:nth-of-type(2),
  .order-form fieldset:nth-of-type(3) label:nth-of-type(3),
  .order-form fieldset:nth-of-type(3) label:nth-of-type(4),
  .order-form fieldset:nth-of-type(4) label:nth-of-type(1),
  .order-form fieldset:nth-of-type(4) label:nth-of-type(2) {
    grid-column: span 3;
  }

  .order-form fieldset:nth-of-type(4) label.wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .order-form {
    padding: 20px;
    border-radius: 20px;
  }

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

  .order-form label,
  .order-form fieldset:first-of-type label,
  .order-form fieldset:nth-of-type(2) label,
  .order-form fieldset:nth-of-type(2) label:nth-of-type(5),
  .order-form fieldset:nth-of-type(2) label:nth-of-type(6),
  .order-form fieldset:nth-of-type(3) label:nth-of-type(1),
  .order-form fieldset:nth-of-type(3) label:nth-of-type(2),
  .order-form fieldset:nth-of-type(3) label:nth-of-type(3),
  .order-form fieldset:nth-of-type(3) label:nth-of-type(4),
  .order-form fieldset:nth-of-type(4) label:nth-of-type(1),
  .order-form fieldset:nth-of-type(4) label:nth-of-type(2),
  .order-form fieldset:nth-of-type(4) label.wide {
    grid-column: 1 / -1;
  }
}
/* Компактная современная форма заявки */
.order {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 720px);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
  justify-content: center;
  max-width: 1180px;
}

.order-copy {
  display: block;
  position: sticky;
  top: 110px;
}

.order-copy .eyebrow,
.order-copy h2,
.order-copy p,
.order-copy .estimate {
  grid-column: auto;
  grid-row: auto;
}

.order-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 4vw, 58px);
}

.order-copy p {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.55;
}

.order-copy .estimate {
  margin-top: 26px;
  border-radius: 20px;
  background: #fff;
}

.compact-order-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(36, 31, 29, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(36, 31, 29, 0.1);
}

.form-card-intro {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f9e6ee;
}

.form-card-intro strong {
  color: var(--accent);
  font-size: 15px;
  font-weight: 950;
}

.form-card-intro span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.compact-order-form fieldset {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.compact-order-form label {
  grid-column: span 3;
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.compact-order-form input,
.compact-order-form select,
.compact-order-form textarea {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(36, 31, 29, 0.14);
  border-radius: 13px;
  background: #fbf7f2;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.compact-order-form textarea {
  min-height: 96px;
  resize: vertical;
}

.compact-order-form input:focus,
.compact-order-form select:focus,
.compact-order-form textarea:focus {
  border-color: rgba(142, 49, 81, 0.58);
  background: #fff;
  outline: 4px solid rgba(142, 49, 81, 0.12);
}

.form-accordion {
  border: 1px solid rgba(36, 31, 29, 0.1);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.form-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
}

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

.form-accordion summary span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.form-accordion summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.form-accordion summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.form-accordion[open] summary::after {
  content: "–";
}

.form-accordion fieldset {
  padding: 0 16px 16px;
}

.form-comment {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.compact-order-form .button.full {
  min-height: 54px;
  border-radius: 16px;
  font-size: 15px;
  box-shadow: 0 16px 38px rgba(142, 49, 81, 0.22);
}

.compact-order-form .button.full:hover {
  box-shadow: 0 20px 46px rgba(142, 49, 81, 0.28);
}

.compact-order-form .form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.compact-order-form .form-status {
  min-height: 18px;
  margin: -4px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1050px) {
  .order {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .order-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .compact-order-form {
    padding: 18px;
    border-radius: 22px;
  }

  .compact-order-form fieldset {
    grid-template-columns: 1fr;
  }

  .compact-order-form label {
    grid-column: 1 / -1;
  }

  .form-accordion summary {
    align-items: flex-start;
  }

  .form-accordion summary small {
    display: none;
  }
}
/* Фикс новой компактной формы: всё снова в одну аккуратную колонку */
.compact-order-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.compact-order-form > * {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

.compact-order-form .form-card-intro {
  min-height: auto !important;
  padding: 16px 18px !important;
}

.compact-order-form .form-main-grid,
.compact-order-form .form-accordion fieldset {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.compact-order-form label {
  grid-column: auto !important;
}

.compact-order-form .form-comment {
  grid-column: 1 / -1 !important;
}

.form-accordion summary {
  min-height: 64px;
}

.form-accordion summary span {
  overflow-wrap: normal;
  word-break: normal;
}

.form-accordion summary small {
  max-width: 260px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .compact-order-form .form-main-grid,
  .compact-order-form .form-accordion fieldset {
    grid-template-columns: 1fr !important;
  }

  .form-accordion summary small {
    display: none;
  }
}
.set-fillings {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.set-fillings[hidden] {
  display: none !important;
}

.set-fillings label {
  grid-column: auto !important;
}

@media (max-width: 760px) {
  .set-fillings {
    grid-template-columns: 1fr;
  }
}
/* ===== МОБИЛЬНАЯ ВЕРСИЯ: финальные правки ===== */
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 54px 18px;
  }

  .section-heading {
    max-width: none;
  }

  h1 {
    font-size: 44px;
    line-height: 0.98;
  }

  h2 {
    font-size: 36px;
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  h3 {
    font-size: 24px;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
  }

  p,
  li {
    font-size: 16px;
    line-height: 1.55;
  }

  /* Важное уведомление */
  .notice {
    display: block;
    padding: 26px 18px;
  }

  .notice strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.25;
  }

  .notice span {
    display: block;
    font-size: 17px;
    line-height: 1.55;
    text-align: left;
  }

  /* Соцсети */
  .social-strip {
    display: grid;
    gap: 18px;
    padding: 26px 18px;
  }

  .social-actions {
    display: flex;
    justify-content: flex-start;
  }

  /* Как устроен заказ */
  .intro {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intro-grid article {
    max-width: none;
    padding: 24px;
  }

  .intro-grid h3 {
    font-size: 26px;
  }

  /* Форматы, стоимость, карточки */
  .format-grid,
  .price-rules,
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .format-card,
  .price-rules article,
  .bento-grid article {
    max-width: none !important;
    padding: 24px;
  }

  .format-card h3,
  .price-rules h3 {
    font-size: 26px;
    line-height: 1.15;
  }

  .price-line {
    font-size: 28px;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
  }

  .bento-format-card {
    padding: 0 !important;
  }

  .bento-format-grid {
    grid-template-columns: 1fr !important;
  }

  .bento-format-item {
    padding: 24px !important;
  }

  .bento-format-item + .bento-format-item {
    border-left: 0 !important;
    border-top: 1px solid var(--line) !important;
  }

  .bento-format-item .price-line {
    font-size: 24px;
  }

  /* Работы */
  .works-tabs {
    gap: 10px;
  }

  .works-tab {
    padding: 10px 14px;
    font-size: 15px;
  }

  .works-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .works-gallery .work-card {
    border-radius: 14px;
  }

  /* Начинки в слайдере */
  .filling-showcase {
    margin-top: 26px;
    overflow: hidden;
  }

  .filling-track {
    grid-auto-columns: calc(100vw - 36px);
    gap: 14px;
    padding: 0 0 16px;
  }

  .filling-slide {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 16px;
  }

  .filling-slide img {
    height: 330px;
    min-height: 0;
    object-fit: cover;
  }

  .filling-slide-copy {
    padding: 22px;
  }

  .filling-slide-copy h3 {
    font-size: 28px;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  .filling-slide-copy p {
    font-size: 16px;
  }

  .slider-button {
    display: none;
  }

  /* Список начинок */
  .filling-group {
    grid-template-columns: 1fr;
  }

  .group-title {
    position: static;
    padding: 24px;
    border-radius: 18px;
  }

  .group-title h3 {
    font-size: 34px;
  }

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

  .filling-list article {
    max-width: none !important;
    padding: 24px;
  }

  .filling-list h4 {
    font-size: 23px;
    line-height: 1.15;
  }

  .filling-list p {
    font-size: 16px;
    line-height: 1.55;
  }

  /* Форма */
  .order {
    grid-template-columns: 1fr;
    padding-right: 18px;
    padding-left: 18px;
  }

  .order-copy {
    position: static;
  }

  .order-form,
  .compact-order-form {
    max-width: none !important;
    padding: 20px;
    border-radius: 22px;
  }

  .compact-order-form .form-main-grid,
  .compact-order-form .form-accordion fieldset {
    grid-template-columns: 1fr !important;
  }

  .compact-order-form label {
    grid-column: 1 / -1 !important;
  }

  .form-accordion summary small {
    display: none;
  }

  /* Подвал */
  .site-footer {
    display: grid;
    gap: 16px;
  }

  .footer-links {
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .format-card h3,
  .price-rules h3,
  .filling-list h4 {
    font-size: 22px;
  }

  .price-line {
    font-size: 25px;
  }

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

  .filling-track {
    grid-auto-columns: calc(100vw - 32px);
  }
}
/* ===== Фикс hero и цен на мобильной версии ===== */
@media (max-width: 760px) {
  .hero-note {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    font-size: 17px;
    line-height: 1.35;
  }

  .price-line,
  .estimate strong,
  .group-title h3 {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .format-card .price-line,
  .bento-format-item .price-line {
    font-size: 24px;
    line-height: 1.15;
  }

  .price-rules article p {
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 430px) {
  .format-card .price-line,
  .bento-format-item .price-line {
    font-size: 22px;
  }

  .estimate strong {
    font-size: 25px;
  }

  .group-title h3 {
    font-size: 30px;
  }
}
/* ===== ПК: понятный блок соцсетей ===== */
@media (min-width: 761px) {
  .social-strip {
    margin: 0;
    padding: 24px clamp(18px, 4vw, 56px);
    background: #fff;
  }

  .social-strip > div:first-child {
    display: grid;
    gap: 4px;
  }

  .social-strip > div:first-child strong {
    font-size: 20px;
    line-height: 1.2;
  }

  .social-strip > div:first-child span {
    font-size: 16px;
  }

  .social-actions {
    gap: 12px;
  }

  .social-icon {
    width: auto;
    min-width: 150px;
    height: 56px;
    gap: 10px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 900;
  }

  .social-icon svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
  }

  .social-icon::after {
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
  }

  .social-icon.instagram::after {
    content: "Instagram";
  }

  .social-icon.telegram::after {
    content: "Telegram";
  }

  .social-icon.pending::after {
    content: "Бот скоро";
  }
}
/* ===== Контакты внизу ===== */
.contacts-section {
  background: var(--paper);
}

.contacts-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(36, 31, 29, 0.08);
}

.contacts-card h2 {
  margin-bottom: 14px;
}

.contacts-card p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.contacts-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px;
}

.contact-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 950;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(36, 31, 29, 0.1);
}

.primary-contact {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

/* ===== Плавающая кнопка К заявке / Наверх ===== */
.smart-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 18px 44px rgba(36, 31, 29, 0.24);
  font-weight: 950;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.smart-float:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
  box-shadow: 0 22px 54px rgba(36, 31, 29, 0.3);
}

@media (max-width: 760px) {
  .contacts-card {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 22px;
  }

  .contacts-actions {
    grid-template-columns: 1fr;
  }

  .smart-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }
}
/* ===== Мобильная шапка: компактная лента ===== */

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px 8px;
    background: rgba(251, 247, 242, 0.96);
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand-logo {
    width: 72px;
    min-width: 72px;
    height: 42px;
  }

  .brand > span:last-child {
    display: none;
  }

  .site-nav {
    width: 100%;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    padding: 0 2px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(36, 31, 29, 0.12);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 6px 18px rgba(36, 31, 29, 0.05);
    font-size: 13px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .site-nav a[href="#order"] {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 8px 22px rgba(142, 49, 81, 0.18);
  }
}

@media (max-width: 380px) {
  .site-nav a {
    padding: 7px 10px;
    font-size: 12px;
  }
}

/* ===== Отзывы: сообщения клиентов ===== */
.reviews-single {
  padding: 64px clamp(18px, 4vw, 56px) 56px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fcf8fa 0%, #f7f3ef 100%);
}

.reviews-single-head {
  margin-bottom: 28px;
}

.reviews-single-heading {
  max-width: 760px;
}

.reviews-single-subtitle {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.reviews-single-slider {
  position: relative;
  padding: 0 70px;
}

.reviews-single-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reviews-single-viewport::-webkit-scrollbar {
  display: none;
}

.reviews-single-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.review-single-item {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.review-single-phone {
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
}

.review-single-chat-bg {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(36, 31, 29, 0.08);
  border-radius: 28px;
  background-color: #efe7de;
  background-image:
    radial-gradient(rgba(142, 49, 81, 0.06) 1px, transparent 1px),
    radial-gradient(rgba(135, 149, 91, 0.06) 1px, transparent 1px);
  background-position:
    0 0,
    12px 12px;
  background-size: 24px 24px;
  box-shadow: 0 18px 42px rgba(36, 31, 29, 0.06);
}

.review-single-bubble {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 16px 18px 28px;
  border-radius: 18px 18px 18px 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(36, 31, 29, 0.08);
}

.review-single-bubble::after {
  display: none;
}

.review-single-name {
  margin-bottom: 10px;
  color: #168c64;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.review-single-text {
  color: #241f1d;
  font-size: 17px;
  line-height: 1.45;
  word-break: break-word;
}

.review-single-time {
  margin-top: 10px;
  color: #8f8a86;
  font-size: 13px;
  line-height: 1;
  text-align: right;
}

.review-single-meta {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.review-single-tag {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin: 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--blush);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.reviews-single-arrow {
  position: absolute;
  top: 42%;
  z-index: 10;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(36, 31, 29, 0.1);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(36, 31, 29, 0.08);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  opacity: 0.78;
  transform: translateY(-50%);
  transition:
    transform 160ms ease,
    background 160ms ease,
    opacity 160ms ease;
  backdrop-filter: blur(10px);
}

.reviews-single-prev {
  left: 8px;
}

.reviews-single-next {
  right: 8px;
}

.reviews-single-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.96);
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
}

.reviews-single-arrow:disabled {
  cursor: default;
  opacity: 0.22;
}

@media (max-width: 1180px) {
  .review-single-item {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 760px) {
  .reviews-single {
    padding: 48px 16px;
  }

  .reviews-single-subtitle {
    font-size: 17px;
  }

  .reviews-single-slider {
    padding: 0;
  }

  .reviews-single-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .reviews-single-viewport::-webkit-scrollbar {
    display: none;
  }

  .reviews-single-track {
    gap: 14px;
    padding: 0 2px;
  }

  .review-single-item {
    flex: 0 0 calc(100vw - 44px);
  }

  .review-single-chat-bg {
    padding: 12px;
    border-radius: 24px;
  }

  .review-single-bubble {
    width: 100%;
    padding: 14px 14px 22px;
    border-radius: 18px;
  }

  .review-single-name {
    font-size: 14px;
  }

  .review-single-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .review-single-time {
    margin-top: 8px;
    font-size: 12px;
  }

  .review-single-meta {
    min-height: auto;
    margin-top: 10px;
  }

  .review-single-tag {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .reviews-single-arrow {
    display: none;
  }
}

/* ===== Notice: аккуратная сетка ===== */
.notice {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.notice strong,
.notice span {
  display: block;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .notice {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }
}
/* ===== Фото во весь экран / Lightbox ===== */

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(18, 14, 14, 0.94);
  backdrop-filter: blur(10px);
}

.lightbox-stage {
  width: 100vw;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 76px 92px 90px;
  cursor: grab;
  touch-action: none;
}

.lightbox-stage:active {
  cursor: grabbing;
}

#lightboxImage {
  width: auto;
  height: auto;
  max-width: min(86vw, 1180px);
  max-height: min(78vh, 820px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transform-origin: center center;
  transition: transform 120ms ease;
  will-change: transform;
}

.image-lightbox.is-dragging #lightboxImage {
  transition: none;
}

.lightbox-close,
.lightbox-arrow,
.lightbox-tools button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    opacity 160ms ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover,
.lightbox-tools button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 34px;
  line-height: 1;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.03);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-tools {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.lightbox-tools button {
  min-width: 48px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
}

.lightbox-counter {
  position: fixed;
  left: 22px;
  bottom: 28px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.works-gallery .work-card {
  cursor: zoom-in;
}

@media (max-width: 760px) {
  .lightbox-stage {
    height: 100dvh;
    padding: 68px 14px 88px;
  }

  #lightboxImage {
    max-width: 100%;
    max-height: calc(100dvh - 156px);
    border-radius: 10px;
    box-shadow: none;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .lightbox-arrow {
    display: none;
  }

  .lightbox-counter {
    left: 16px;
    bottom: 22px;
    font-size: 13px;
  }

  .lightbox-tools {
    bottom: 18px;
  }

  .lightbox-tools button {
    min-width: 44px;
    height: 40px;
    padding: 0 12px;
  }
}
/* ===== Lightbox: фиксы размера и поведения ===== */

.lightbox-stage {
  touch-action: none;
}

#lightboxImage {
  max-width: min(78vw, 980px);
  max-height: min(78vh, 760px);
}

.lightbox-arrow {
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

@media (max-width: 760px) {
  #lightboxImage {
    max-width: 100%;
    max-height: calc(100dvh - 150px);
  }
}
/* ===== Успешная отправка формы ===== */

.form-success {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 34px 24px;
  border: 1px solid rgba(142, 49, 81, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(246, 226, 233, 0.85), transparent 34%),
    #fff;
  text-align: center;
  box-shadow: 0 18px 45px rgba(36, 31, 29, 0.08);
  animation: successFadeIn 0.36s ease both;
}

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

.form-success-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 30px;
  font-weight: 900;
}

.form-success h3 {
  margin: 4px 0 0;
  font-size: 28px;
}

.form-success p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.order-form.is-sent fieldset,
.order-form.is-sent .form-card-intro,
.order-form.is-sent .form-actions {
  display: none;
}

@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ===== После отправки заявки: скрыть форму и показать успех ===== */

.order-form.is-sent {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.order-form.is-sent > *:not(.form-success) {
  display: none !important;
}

.order-form.is-sent .form-success {
  display: grid !important;
}

.form-success[hidden] {
  display: none !important;
}
/* ===== Lightbox: стабильный свайп на телефоне ===== */

@media (max-width: 760px) {
  .lightbox-stage {
    overscroll-behavior: contain;
  }

  #lightboxImage {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}
.lightbox-stage {
  touch-action: none;
}

#lightboxImage {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* ===== Обо мне ===== */

.about {
  background:
    radial-gradient(circle at top left, rgba(246, 226, 233, 0.78), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.about-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.about-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(36, 31, 29, 0.14);
}

.about-photo::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  pointer-events: none;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 2vw, 28px) 0;
}

.about-copy h2 {
  max-width: 720px;
  margin-bottom: 22px;
}

.about-copy p {
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 18px;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.about-points span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(142, 49, 81, 0.18);
  border-radius: 999px;
  color: var(--accent-strong);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(36, 31, 29, 0.06);
}

@media (max-width: 900px) {
  .about-card {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 420px;
  }

  .about-copy {
    padding: 0;
  }
}

@media (max-width: 560px) {
  .about {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .about-photo {
    min-height: 380px;
    border-radius: 14px;
  }

  .about-photo::after {
    inset: 12px;
    border-radius: 10px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .about-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-points span {
    justify-content: center;
    text-align: center;
  }
}
/* ===== Обо мне: убираем лишние плашки ===== */

.about-points {
  display: none !important;
} 