: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-stats {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.hero-stat-num {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.hero-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.hero-stat-divider {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}

@media (max-width: 430px) {
  .hero-stats {
    gap: 14px;
    padding: 10px 18px;
  }

  .hero-stat-num {
    font-size: 20px;
  }
}

.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 .section-heading h2 {
  color: #fff;
}

.delivery .section-heading {
  max-width: 100%;
  margin-bottom: 32px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 36px;
}

.delivery-info-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px 32px;
}

.delivery-info-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.delivery-info-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.delivery-note {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.delivery-map {
  max-width: 1180px;
  margin: 0 auto 32px;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

.delivery-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
}

.delivery-cta {
  text-align: center;
  margin: 0 auto;
}

/* старый .delivery-card — оставляем для совместимости */
.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;
}

@media (max-width: 600px) {
  .delivery-grid {
    grid-template-columns: 1fr;
  }
}

.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;
}

.works-empty[hidden] {
  display: none !important;
}

@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;
}

.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 100%;
  }

  .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;
} 

/* ===== Доработка 2: витрина, живая галерея, чат-отзывы, мягкие переходы ===== */
.cake-canvas {
  display: none;
}

.section {
  position: relative;
}

.section::before {
  position: absolute;
  top: 18px;
  right: clamp(18px, 6vw, 90px);
  width: 168px;
  height: 28px;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background:
    radial-gradient(circle at 14px 14px, rgba(179, 63, 103, 0.12) 0 9px, transparent 10px),
    radial-gradient(circle at 54px 14px, rgba(229, 192, 172, 0.18) 0 12px, transparent 13px),
    radial-gradient(circle at 98px 14px, rgba(127, 143, 88, 0.12) 0 8px, transparent 9px),
    radial-gradient(circle at 138px 14px, rgba(179, 63, 103, 0.1) 0 10px, transparent 11px);
  filter: blur(0.1px);
}

.works-gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 82px;
}

.works-gallery .work-card {
  grid-column: span 3;
  grid-row: span 3;
  aspect-ratio: auto;
}

.works-gallery .work-card--portrait {
  grid-row: span 4;
}

.works-gallery .work-card--landscape {
  grid-column: span 4;
}

.works-gallery .work-card--feature {
  grid-column: span 5;
  grid-row: span 4;
}

.works-gallery .work-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 48%, rgba(45, 37, 34, 0.2)),
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.26), transparent 28%);
  opacity: 0;
  transition: opacity 300ms var(--ease-soft);
}

.works-gallery .work-card:hover::before {
  opacity: 1;
}

.fillings {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(253, 232, 238, 0.55), transparent 42%),
    linear-gradient(315deg, rgba(242, 247, 236, 0.7), transparent 46%);
}

.filling-showcase {
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(126, 86, 74, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 246, 241, 0.76));
  box-shadow: 0 24px 70px rgba(102, 68, 55, 0.12);
}

.filling-slide {
  border: 1px solid rgba(126, 86, 74, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 28% 8%, rgba(255, 255, 255, 0.82), transparent 32%),
    linear-gradient(180deg, #fff, #fff5f0);
  box-shadow: 0 18px 44px rgba(102, 68, 55, 0.1);
}

.filling-slide:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 24% 8%, rgba(255, 255, 255, 0.86), transparent 32%),
    linear-gradient(180deg, #fff, #f4f8ee);
}

.filling-slide:nth-child(3n + 3) {
  background:
    radial-gradient(circle at 24% 8%, rgba(255, 255, 255, 0.86), transparent 32%),
    linear-gradient(180deg, #fff, #fdf0f5);
}

.filling-slide img {
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(80, 53, 44, 0.14);
}

.filling-slide-copy span {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ca6f89);
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
}

.filling-list article {
  position: relative;
  overflow: hidden;
}

.filling-list article::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 92px;
  height: 92px;
  border-radius: 42% 58% 44% 56%;
  pointer-events: none;
  content: "";
  background: rgba(253, 232, 238, 0.75);
}

.filling-list article:nth-child(2n)::after {
  background: rgba(242, 247, 236, 0.85);
}

.reviews-single {
  box-shadow: 0 24px 70px rgba(102, 68, 55, 0.1);
}

.review-single-chat-bg {
  position: relative;
  padding-top: 46px;
  background-color: #f4ede7;
}

.review-single-chat-bg::before {
  position: absolute;
  top: 16px;
  left: 20px;
  color: rgba(45, 37, 34, 0.36);
  content: "●  ●  ●";
  font-size: 11px;
  letter-spacing: 5px;
}

.review-single-bubble {
  border-radius: 22px 22px 22px 9px;
}

.review-single-bubble::after {
  position: absolute;
  left: -8px;
  bottom: 12px;
  display: block;
  width: 18px;
  height: 18px;
  content: "";
  background: #fff;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.order-form {
  position: relative;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 20px;
}

.order-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(126, 86, 74, 0.12);
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.86);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.order-steps b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 12px;
}

.form-card-intro,
.form-accordion,
.form-comment,
.form-actions {
  position: relative;
}

.form-card-intro::before,
.form-accordion::before,
.form-comment::before,
.form-actions::before {
  position: absolute;
  top: -8px;
  left: -8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ca6f89);
  box-shadow: 0 10px 24px rgba(179, 63, 103, 0.2);
  font-size: 12px;
  font-weight: 950;
}

.form-card-intro::before {
  content: "1";
}

.form-accordion:nth-of-type(1)::before {
  content: "2";
}

.form-accordion:nth-of-type(2)::before {
  content: "3";
}

.form-comment::before {
  content: "4";
}

.form-actions::before {
  content: "✓";
}

@media (max-width: 1050px) {
  .works-gallery .work-card,
  .works-gallery .work-card--landscape,
  .works-gallery .work-card--feature {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .section::before {
    display: none;
  }

  .works-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
  }

  .works-gallery .work-card,
  .works-gallery .work-card--portrait,
  .works-gallery .work-card--landscape,
  .works-gallery .work-card--feature {
    grid-column: span 1;
    grid-row: span 2;
  }

  .works-gallery .work-card--feature {
    grid-column: span 2;
  }

  .order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-steps span {
    justify-content: flex-start;
    font-size: 12px;
  }
}

/* ===== Мягкая версия: живой кондитерский вайб ===== */
:root {
  --paper: #fff8f2;
  --panel: rgba(255, 255, 255, 0.86);
  --mist: #f8ede8;
  --ink: #2d2522;
  --muted: #7b6c65;
  --line: rgba(126, 86, 74, 0.16);
  --accent: #b33f67;
  --accent-strong: #8d294d;
  --sage: #7f8f58;
  --clay: #e5c0ac;
  --blush: #fde8ee;
  --blue: #e3f2f5;
  --shadow: 0 24px 70px rgba(102, 68, 55, 0.12);
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 38px;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  background:
    linear-gradient(180deg, #fff8f2 0%, #fff3ed 42%, #f8f7ef 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(179, 63, 103, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 143, 88, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 72%, transparent 100%);
}

.site-header {
  grid-template-columns: 1fr auto;
  border-bottom-color: rgba(126, 86, 74, 0.1);
  background: rgba(255, 248, 242, 0.82);
  box-shadow: 0 10px 34px rgba(80, 53, 44, 0.06);
}

.site-nav {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.site-nav a {
  border-radius: 999px;
  transition:
    color 220ms var(--ease-soft),
    background 220ms var(--ease-soft),
    transform 220ms var(--ease-soft);
}

.site-nav a:hover {
  transform: translateY(-1px);
  background: #fff2f6;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(80, 53, 44, 0.08);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.nav-toggle-lines {
  display: grid;
  gap: 5px;
}

.nav-toggle-lines span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 240ms var(--ease-soft),
    opacity 240ms var(--ease-soft);
}

body.nav-open .nav-toggle-lines span:first-child {
  transform: translateY(3.5px) rotate(42deg);
}

body.nav-open .nav-toggle-lines span:last-child {
  transform: translateY(-3.5px) rotate(-42deg);
}

.hero {
  min-height: min(780px, calc(100vh - 24px));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 28px 80px rgba(72, 45, 38, 0.14);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.hero::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
}

.hero::after {
  display: none;
}

.hero-media {
  will-change: transform;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(43, 31, 29, 0.78), rgba(43, 31, 29, 0.42) 48%, rgba(43, 31, 29, 0.1)),
    linear-gradient(0deg, rgba(43, 31, 29, 0.68), rgba(43, 31, 29, 0.02));
}

.hero-media img {
  transform: scale(1.04);
  will-change: transform;
}

.cake-canvas {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.62;
  mix-blend-mode: normal;
}

.hero-content {
  z-index: 2;
}

h1 {
  font-size: clamp(40px, 6.6vw, 88px);
  font-weight: 900;
  line-height: 1;
}

h2 {
  font-weight: 900;
}

.hero-note {
  white-space: normal;
}

.button,
.social-link,
.social-icon,
.works-tab,
.contact-button,
.smart-float,
.order-form input,
.order-form select,
.order-form textarea {
  border-radius: 999px;
}

.button {
  min-height: 52px;
  padding: 14px 22px;
  box-shadow: 0 12px 30px rgba(80, 53, 44, 0.08);
  transition:
    transform 260ms var(--ease-soft),
    background 260ms var(--ease-soft),
    box-shadow 260ms var(--ease-soft),
    border-color 260ms var(--ease-soft);
}

.button:hover,
.social-link:hover,
.contact-button:hover,
.smart-float:hover {
  transform: translateY(-3px);
}

.button.primary,
.primary-contact,
.smart-float,
.works-tab.active {
  background: linear-gradient(135deg, var(--accent), #ca6f89);
  box-shadow: 0 18px 44px rgba(179, 63, 103, 0.24);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.notice,
.social-strip,
.intro-grid article,
.format-card,
.filling-list article,
.price-rules article,
.bento-grid article,
.order-form,
.estimate,
.contacts-card,
.about-card,
.reviews-single-viewport,
.works-empty {
  border-radius: var(--radius-md);
}

.notice,
.social-strip {
  width: min(1328px, calc(100% - clamp(24px, 6vw, 96px)));
  margin: 22px auto 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(80, 53, 44, 0.07);
}

.section {
  padding-top: clamp(72px, 9vw, 130px);
  padding-bottom: clamp(72px, 9vw, 130px);
}

.intro-grid article,
.format-card,
.filling-list article,
.price-rules article,
.bento-grid article,
.order-form,
.estimate,
.contacts-card,
.about-card {
  border-color: rgba(126, 86, 74, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  transition:
    transform 340ms var(--ease-soft),
    box-shadow 340ms var(--ease-soft),
    border-color 340ms var(--ease-soft);
}

.intro-grid article:hover,
.format-card:hover,
.filling-list article:hover,
.price-rules article:hover,
.bento-grid article:hover {
  transform: translateY(-6px) rotate(-0.35deg);
  border-color: rgba(179, 63, 103, 0.22);
  box-shadow: 0 30px 78px rgba(102, 68, 55, 0.16);
}

.format-card:nth-child(2n),
.price-rules article:nth-child(2n),
.filling-list article:nth-child(2n) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 249, 0.86));
}

.format-card:nth-child(3n),
.price-rules article:nth-child(3n),
.filling-list article:nth-child(3n) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 247, 236, 0.86));
}

.works-tabs {
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(126, 86, 74, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  width: fit-content;
  max-width: 100%;
}

.works-tab {
  border-color: transparent;
  background: transparent;
}

.works-gallery {
  gap: clamp(14px, 2vw, 22px);
}

.works-gallery .work-card,
.work-card {
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(80, 53, 44, 0.12);
}

.works-gallery .work-card:hover img {
  transform: scale(1.07) rotate(0.4deg);
}

.filling-showcase,
.reviews-single {
  border-radius: var(--radius-lg);
}

.reviews-single {
  margin: 24px clamp(12px, 3vw, 40px);
  border: 1px solid rgba(126, 86, 74, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.96), rgba(248, 238, 231, 0.86));
}

.review-single-phone {
  border-radius: 30px;
}

.order {
  background:
    linear-gradient(135deg, rgba(253, 232, 238, 0.58), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 249, 241, 0.68));
}

.order-form input,
.order-form select,
.order-form textarea {
  background: rgba(255, 255, 255, 0.92);
}

.order-form textarea {
  border-radius: 22px;
}

.about-photo,
.about-photo::after,
.about-photo img {
  border-radius: var(--radius-md);
}

.smart-float {
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
}

.reveal-item {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 720ms var(--ease-soft),
    transform 720ms var(--ease-soft);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand-logo {
    width: 74px;
    min-width: 74px;
  }

  .nav-toggle {
    position: fixed;
    top: 10px;
    right: 14px;
    left: auto;
    z-index: 120;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

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

  .site-nav {
    position: fixed;
    top: 66px;
    right: 12px;
    left: 12px;
    display: grid;
    gap: 8px;
    max-height: calc(100dvh - 86px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(126, 86, 74, 0.13);
    border-radius: 26px;
    background: rgba(255, 250, 246, 0.96);
    box-shadow: 0 30px 80px rgba(80, 53, 44, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition:
      opacity 240ms var(--ease-soft),
      transform 240ms var(--ease-soft);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav a {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 13px 14px;
    border: 1px solid rgba(126, 86, 74, 0.12);
    background: #fff;
    font-size: 15px;
  }

  .hero {
    min-height: 720px;
    padding: 120px 24px 54px;
    border-radius: 0 0 32px 32px;
    align-items: end;
  }

  .hero::before {
    inset: 12px;
    border-radius: 24px;
  }

  .hero::after {
    display: none;
  }

  .cake-canvas {
    opacity: 0.42;
  }

  .hero-logo-mark {
    width: 186px;
    height: 78px;
    margin-bottom: 22px;
  }

  .hero-logo-mark span {
    font-size: 66px;
  }

  .hero-logo-mark strong {
    font-size: 32px;
  }

  h1 {
    font-size: clamp(34px, 10.2vw, 43px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-note {
    font-size: 16px;
  }

  .hero-lead,
  .hero-note {
    max-width: 100%;
  }

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

  .hero-content {
    width: 100%;
    max-width: min(100%, clamp(330px, 72vw, 620px));
    overflow: hidden;
  }

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

  .notice,
  .social-strip {
    width: calc(100% - 28px);
    margin-top: 14px;
    padding: 18px;
    border-radius: 24px;
  }

  .social-strip {
    align-items: flex-start;
  }

  .works-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: 24px;
    scrollbar-width: none;
  }

  .works-tabs::-webkit-scrollbar {
    display: none;
  }

  .works-tab {
    flex: 0 0 auto;
  }

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

  .smart-float {
    right: auto;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    min-width: 112px;
    width: min(220px, calc(100vw - 44px));
    max-width: calc(100vw - 28px);
    padding: 0 16px;
    border-radius: 999px;
    transform: translateX(-50%);
  }

  .smart-float:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 700px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero-content {
    width: 100%;
    max-width: min(100%, 340px);
    overflow: hidden;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

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

  .smart-float {
    right: auto;
    left: 50%;
    width: min(220px, calc(100vw - 44px));
    transform: translateX(-50%);
  }

  .smart-float:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* Финальная мягкая версия: форма, начинки, отзывы */
.order-steps {
  display: none !important;
}

.form-card-intro::before,
.form-accordion::before,
.form-comment::before,
.form-actions::before {
  display: none !important;
  content: none !important;
}

.form-card-intro,
.form-accordion,
.form-comment,
.form-actions {
  overflow: hidden;
}

.fillings {
  margin-top: clamp(36px, 6vw, 84px);
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 46px);
  border-radius: clamp(30px, 4vw, 58px);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 214, 226, 0.78), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(210, 238, 216, 0.72), transparent 28%),
    linear-gradient(135deg, #fff8f2 0%, #fff1f7 48%, #f7fff6 100%);
}

.filling-showcase {
  margin-top: 34px;
  padding: clamp(14px, 2.5vw, 26px);
  border: 1px solid rgba(188, 75, 116, 0.13);
  border-radius: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 30px 90px rgba(119, 69, 74, 0.12);
  backdrop-filter: blur(14px);
}

.filling-track {
  grid-auto-columns: minmax(min(86vw, 620px), 760px);
  gap: 22px;
  padding: 4px 8px 20px;
  scrollbar-width: none;
  scrollbar-color: #c44f7c rgba(255, 255, 255, 0.75);
}

.filling-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.filling-slide {
  grid-template-columns: minmax(220px, 0.95fr) minmax(260px, 1fr);
  min-height: 390px;
  border: 1px solid rgba(188, 75, 116, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 241, 0.96)),
    #fff;
  box-shadow: 0 24px 70px rgba(93, 55, 53, 0.13);
}

.filling-slide img {
  min-height: 390px;
  border-radius: 30px;
  object-fit: cover;
  transform: scale(0.96);
  box-shadow: 0 18px 48px rgba(86, 51, 45, 0.16);
}

.filling-slide-copy {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
}

.filling-slide-copy span {
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #7e2e4b;
  background: #ffe2eb;
}

.filling-slide-copy h3 {
  font-size: clamp(26px, 3vw, 42px);
}

.filling-slide-copy p {
  max-width: 34rem;
  color: #77655e;
  font-size: 17px;
  line-height: 1.65;
}

.reviews-single {
  margin-top: clamp(42px, 7vw, 90px);
  padding: clamp(54px, 7vw, 94px) clamp(18px, 4vw, 46px);
  border-radius: clamp(30px, 4vw, 58px);
  background:
    radial-gradient(circle at 10% 22%, rgba(216, 240, 216, 0.7), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(255, 212, 228, 0.72), transparent 28%),
    linear-gradient(135deg, #fff9f4 0%, #fff0f7 54%, #f4fff3 100%);
}

.reviews-single-head {
  max-width: 820px;
}

.reviews-single-slider {
  margin-top: 30px;
  padding: clamp(14px, 2.5vw, 26px);
  border: 1px solid rgba(188, 75, 116, 0.13);
  border-radius: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 90px rgba(119, 69, 74, 0.12);
  backdrop-filter: blur(14px);
}

.reviews-single-track {
  gap: 20px;
  padding: 2px 2px 18px;
}

.review-single-item {
  scroll-snap-align: start;
}

.review-single-phone {
  padding: 12px;
  border: 1px solid rgba(126, 86, 74, 0.12);
  border-radius: 34px;
  background: linear-gradient(180deg, #fff 0%, #fff8f4 100%);
  box-shadow: 0 24px 62px rgba(86, 51, 45, 0.13);
}

.review-single-chat-bg {
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.36) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.36) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.36) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.36) 75%),
    linear-gradient(135deg, #eaf7ec, #fff4f8);
  background-position:
    0 0,
    10px 10px,
    0 0;
  background-size:
    20px 20px,
    20px 20px,
    auto;
}

.review-single-chat-bg::before {
  display: none;
}

.review-single-bubble {
  max-width: 92%;
  margin-left: auto;
  padding: 22px 22px 18px;
  border-radius: 26px 26px 8px 26px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(90, 61, 55, 0.14);
}

.review-single-bubble::after {
  right: 0;
  bottom: -8px;
  border-top: 14px solid #fff;
  border-left: 18px solid transparent;
  background: none;
  content: "";
}

.review-single-name {
  color: #4f8f5b;
  font-weight: 900;
}

.review-single-text {
  color: #372b28;
  font-size: 17px;
  line-height: 1.62;
}

.review-single-time {
  color: #9a8982;
}

.review-single-meta {
  padding: 14px 10px 2px;
}

.review-single-tag {
  border: 1px solid rgba(188, 75, 116, 0.14);
  border-radius: 999px;
  color: #8a3a59;
  background: #ffe7ef;
}

.filling-list article::after {
  display: none !important;
  content: none !important;
}

.estimate-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  margin-bottom: 8px;
}

.estimate .estimate-price strong {
  margin: 0;
  color: var(--accent);
}

.estimate del {
  color: rgba(126, 86, 74, 0.58);
  font-size: 17px;
  font-weight: 900;
  text-decoration-thickness: 2px;
}

.estimate em {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #7e2e4b;
  background: #ffe2eb;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .fillings,
  .reviews-single {
    padding: 42px 14px;
    border-radius: 34px;
  }

  .filling-showcase,
  .reviews-single-slider {
    padding: 10px;
    border-radius: 30px;
  }

  .filling-track {
    grid-auto-columns: minmax(82vw, 1fr);
    gap: 14px;
  }

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

  .filling-slide img {
    height: 240px;
    min-height: 240px;
    border-radius: 24px;
  }

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

  .review-single-chat-bg {
    min-height: 250px;
    padding: 20px;
  }

  .review-single-bubble {
    max-width: 100%;
  }
}

/* Мессенджеры, отзывы и микроанимации */
.submit-choice,
.success-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.messenger-submit,
.success-actions .button {
  min-height: 56px;
}

.button.whatsapp-submit,
.success-actions .success-whatsapp {
  background: linear-gradient(135deg, #21b35b, #57d280);
  box-shadow: 0 18px 44px rgba(33, 179, 91, 0.18);
}

.button.telegram-submit,
.success-actions .success-telegram {
  background: linear-gradient(135deg, #2a9bdc, #65c3f1);
  box-shadow: 0 18px 44px rgba(42, 155, 220, 0.18);
}

.button,
.contact-button,
.works-tab,
.review-single-phone,
.filling-slide,
.filling-list article,
.price-rules article {
  transition:
    transform 220ms var(--ease-soft),
    box-shadow 220ms var(--ease-soft),
    border-color 220ms var(--ease-soft),
    background 220ms var(--ease-soft);
}

.button,
.contact-button {
  position: relative;
  overflow: hidden;
}

.button::after,
.contact-button::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.34) 48%, transparent 62% 100%);
  opacity: 0;
  transform: translateX(-80%);
}

.button:hover::after,
.contact-button:hover::after {
  animation: soft-shine 780ms var(--ease-soft);
}

.review-single-phone:hover,
.filling-slide:hover,
.filling-list article:hover,
.price-rules article:hover {
  transform: translateY(-4px);
}

.review-single-chat-bg {
  position: relative;
  min-height: 316px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 76px 22px 24px;
  border-radius: 30px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.34) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.34) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.34) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.34) 75%),
    linear-gradient(135deg, #e9f4e8 0%, #fff3f8 100%);
  background-position:
    0 0,
    10px 10px,
    0 0;
  background-size:
    20px 20px,
    20px 20px,
    auto;
}

.review-single-chat-bg::before {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  display: flex;
  height: 44px;
  align-items: center;
  padding-left: 54px;
  border-radius: 18px;
  color: #24553a;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(77, 73, 66, 0.08);
  content: "Клиент · Находка";
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.review-single-chat-bg::after {
  position: absolute;
  top: 23px;
  left: 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, #83d59a, #36a96b);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.06);
  content: "";
}

.review-single-bubble {
  width: min(100%, 330px);
  margin: 0;
  padding: 18px 18px 30px;
  border-radius: 6px 22px 22px 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(90, 61, 55, 0.12);
  animation: message-pop 520ms var(--ease-soft) both;
}

.review-single-bubble::before {
  position: absolute;
  top: 0;
  left: -8px;
  border-top: 12px solid #fff;
  border-left: 12px solid transparent;
  content: "";
}

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

.review-single-name {
  color: #2f8d57;
}

.review-single-time::after {
  color: #56a7dc;
  content: "  ✓✓";
  font-weight: 900;
}

@keyframes soft-shine {
  0% {
    opacity: 0;
    transform: translateX(-80%);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(80%);
  }
}

@keyframes message-pop {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .submit-choice,
  .success-actions {
    grid-template-columns: 1fr;
  }

  .review-single-chat-bg {
    min-height: 300px;
    padding: 72px 18px 22px;
  }

  .review-single-bubble {
    width: min(100%, 310px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover::after,
  .contact-button:hover::after,
  .review-single-bubble {
    animation: none !important;
  }
}

/* Отзывы: ближе к реальному интерфейсу WhatsApp */
.reviews-single-slider {
  background: rgba(255, 255, 255, 0.78);
}

.review-single-phone {
  overflow: hidden;
  border: 1px solid rgba(24, 63, 47, 0.08);
  border-radius: 30px;
  background: #eee7dc;
  box-shadow:
    0 22px 54px rgba(50, 40, 34, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.review-single-chat-bg {
  min-height: 282px;
  padding: 74px 18px 18px;
  border: 0;
  border-radius: 24px 24px 18px 18px;
  background-color: #efe7dc;
  background-image:
    radial-gradient(circle at 11px 13px, rgba(77, 100, 75, 0.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 36px 31px, rgba(123, 91, 63, 0.06) 0 1px, transparent 1.5px),
    linear-gradient(30deg, transparent 0 46%, rgba(123, 91, 63, 0.035) 47% 50%, transparent 51% 100%),
    linear-gradient(150deg, transparent 0 46%, rgba(77, 100, 75, 0.035) 47% 50%, transparent 51% 100%),
    linear-gradient(180deg, #f7f1e8 0%, #efe3d7 100%);
  background-size:
    48px 48px,
    56px 56px,
    42px 42px,
    48px 48px,
    auto;
  box-shadow: inset 0 0 0 1px rgba(86, 64, 48, 0.08);
}

.review-single-chat-bg::before {
  top: 0;
  right: 0;
  left: 0;
  height: 56px;
  padding-left: 66px;
  border-radius: 24px 24px 0 0;
  color: #fff;
  background: linear-gradient(180deg, #075e54 0%, #064d45 100%);
  box-shadow: 0 10px 20px rgba(7, 94, 84, 0.16);
  content: "Клиент · Находка";
  font-size: 15px;
  font-weight: 800;
}

.review-single-chat-bg::after {
  top: 13px;
  left: 24px;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.76);
  background: linear-gradient(135deg, #ff7aa8, #d63566);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  color: #fff;
  content: "♥";
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.review-single-bubble {
  width: min(100%, 388px);
  min-height: 0;
  margin: 8px 0 0;
  padding: 14px 16px 34px;
  border-radius: 7px 14px 14px 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 20, 26, 0.13);
}

.review-single-bubble::before {
  top: 0;
  left: -9px;
  width: 10px;
  height: 14px;
  border: 0;
  background: #fff;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.review-single-name {
  display: none !important;
}

.review-single-text {
  color: #111b21;
  font-size: 17px;
  line-height: 1.48;
}

.review-single-time {
  position: absolute;
  right: 14px;
  bottom: 10px;
  margin: 0;
  color: #667781;
  font-size: 12px;
  text-align: right;
}

.review-single-time::after {
  color: #53bdeb;
  content: " ✓✓";
  font-size: 15px;
  letter-spacing: -2px;
}

.review-single-meta {
  display: none !important;
}

.review-single-tag {
  min-height: 34px;
  border: 1px solid rgba(213, 53, 102, 0.18);
  color: #8a3a59;
  background: #ffe2eb;
}

@media (max-width: 760px) {
  .review-single-chat-bg {
    min-height: 286px;
    padding: 72px 16px 22px;
  }

  .review-single-bubble {
    width: min(100%, 330px);
    padding: 13px 14px 34px;
  }
}

/* Финальные правки: ровная галерея и спокойнее hero-десерты */
.works-hint {
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 24px;
  padding: 10px 14px;
  border: 1px solid rgba(179, 63, 103, 0.14);
  border-radius: 999px;
  color: #8a3a59;
  background: rgba(255, 226, 235, 0.72);
  font-size: 14px;
  font-weight: 850;
}

.works-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: auto;
  gap: clamp(14px, 2vw, 22px);
}

.works-gallery .work-card,
.works-gallery .work-card--portrait,
.works-gallery .work-card--landscape,
.works-gallery .work-card--feature {
  grid-column: auto !important;
  grid-row: auto !important;
  aspect-ratio: 1 / 1;
}

.works-gallery .work-card img {
  height: 100%;
}

.cake-canvas {
  opacity: 0.5;
}

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

@media (max-width: 760px) {
  .works-hint {
    margin-top: 10px;
    border-radius: 20px;
    font-size: 13px;
  }

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

  .cake-canvas {
    opacity: 0.38;
  }
}

/* Mobile polish: hero CTA, review swipe cue, and softer about spacing */
.reviews-swipe-hint {
  display: none;
}

@media (max-width: 760px) {
  .hero-actions {
    justify-items: center;
    align-items: center;
  }

  .hero-actions .button {
    width: min(320px, 100%);
  }

  .smart-float.is-hidden-on-hero {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(16px);
  }

  .reviews-swipe-hint {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: -8px 0 18px;
    padding: 9px 14px;
    border: 1px solid rgba(179, 63, 103, 0.16);
    border-radius: 999px;
    color: #8a3a59;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 30px rgba(80, 53, 44, 0.08);
    font-size: 13px;
    font-weight: 850;
  }

  .reviews-swipe-hint::after {
    content: "›";
    margin-left: 8px;
    font-size: 20px;
    line-height: 1;
  }

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

  .reviews-single-viewport {
    padding-right: 0;
  }

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

  .review-single-item {
    flex-basis: min(86vw, 360px);
  }

  .reviews-single-arrow {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    opacity: 0.9;
  }

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

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

  .about {
    padding-right: 14px;
    padding-left: 14px;
  }

  .about-card {
    overflow: hidden;
    border-radius: 30px;
  }

  .about-copy {
    box-sizing: border-box;
    padding: 30px 24px 36px;
  }

  .about-copy h2 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .about-copy p {
    font-size: 18px;
    line-height: 1.58;
  }
}

@media (max-width: 430px) {
  .about-copy {
    padding-right: 22px;
    padding-left: 22px;
  }
}

/* ===== FAQ ===== */
.faq-section .section-heading {
  margin-bottom: 36px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: 0 6px 28px rgba(36, 31, 29, 0.08);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--mist);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== Точки-индикаторы отзывов ===== */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--clay);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, width 0.25s;
  flex-shrink: 0;
}

.reviews-dot.is-active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

.reviews-dot:hover:not(.is-active) {
  background: var(--muted);
}
