:root {
  --bg: #fbf6f2;
  --bg-hero: #f4e8e2;
  --bg-muted: #efe1da;
  --blue: #bcd6f0;
  --card: rgba(255, 255, 255, 0.86);
  --text: #2f2a28;
  --muted: #6e6764;
  --accent: #b77a7d;
  --accent-strong: #a45f63;
  --border: rgba(46, 40, 39, 0.12);
  --shadow: 0 18px 50px rgba(46, 40, 39, 0.08);
  --shadow-soft: 0 10px 30px rgba(46, 40, 39, 0.06);
  --radius: 22px;
  --radius-lg: 32px;
  --max-width: 1200px;
  --section-space: 104px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(920px 620px at 12% 5%, rgba(241, 215, 216, 0.95) 0%, transparent 62%),
    radial-gradient(980px 660px at 88% 12%, rgba(122, 199, 197, 0.82) 0%, transparent 64%),
    radial-gradient(900px 620px at 70% 62%, rgba(239, 225, 218, 0.85) 0%, transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: "Karla", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  padding-top: var(--header-height);
}

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

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

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(164, 95, 99, 0.35);
  outline-offset: 3px;
}

p {
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: "Crimson Pro", ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: var(--section-space) 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  z-index: 10000;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  border-bottom: 1px solid rgba(46, 40, 39, 0.08);
  background: rgba(251, 246, 242, 0.78);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(46, 40, 39, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  color: var(--accent);
  animation: float 6s ease-in-out infinite;
}

.brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-name {
  font-family: "Crimson Pro", ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 500;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 200ms ease, background-color 200ms ease;
}

.site-nav a:hover {
  background: rgba(183, 122, 125, 0.12);
  color: var(--text);
}

.site-nav a.is-active {
  background: rgba(183, 122, 125, 0.16);
  color: var(--text);
}

.site-nav .nav-cta {
  background: var(--accent-strong);
  color: #fff;
  padding: 10px 14px;
}

.site-nav .nav-cta.is-active,
.site-nav .nav-cta:hover {
  background: #914e51;
  color: #fff;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0);
  box-shadow: 0 16px 30px rgba(164, 95, 99, 0.22);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.btn-primary:hover {
  background: #914e51;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(164, 95, 99, 0.26);
}

.btn-ghost,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid rgba(164, 95, 99, 0.35);
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.5);
  transition: transform 180ms ease, background-color 180ms ease;
}

.btn-ghost:hover,
.btn-secondary:hover {
  background: rgba(183, 122, 125, 0.12);
  transform: translateY(-1px);
}

.hero {
  padding-top: 56px;
}

.hero-grid {
  position: relative;
  background: linear-gradient(180deg, rgba(244, 232, 226, 0.92), rgba(251, 246, 242, 0.72));
  border: 1px solid rgba(46, 40, 39, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 96px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: center;
}

.hero-grid::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 18px;
  width: 230px;
  height: 160px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27320%27%20height%3D%27200%27%20viewBox%3D%270%200%20320%20200%27%3E%0A%20%20%3Cpath%20d%3D%27M8%20160%20C70%20125%2C%20140%20110%2C%20200%2080%20C245%2055%2C%20280%2040%2C%20312%2020%27%20stroke%3D%27%23c7a39a%27%20stroke-width%3D%276%27%20stroke-linecap%3D%27round%27%20fill%3D%27none%27%20opacity%3D%270.6%27/%3E%0A%20%20%3Cpath%20d%3D%27M88%20132%20C110%20118%2C%20130%20104%2C%20150%2092%27%20stroke%3D%27%23c7a39a%27%20stroke-width%3D%274%27%20stroke-linecap%3D%27round%27%20fill%3D%27none%27%20opacity%3D%270.55%27/%3E%0A%20%20%3Cg%20transform%3D%27translate%2878%20124%29%27%20opacity%3D%270.9%27%3E%0A%20%20%20%20%3Ccircle%20cx%3D%270%27%20cy%3D%27-10%27%20r%3D%279%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2710%27%20cy%3D%27-2%27%20r%3D%279%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%277%27%20cy%3D%2710%27%20r%3D%279%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%27-7%27%20cy%3D%2710%27%20r%3D%279%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%27-10%27%20cy%3D%27-2%27%20r%3D%279%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%270%27%20cy%3D%270%27%20r%3D%273%27%20fill%3D%27%23f8d8e2%27/%3E%0A%20%20%3C/g%3E%0A%20%20%3Cg%20transform%3D%27translate%28152%2096%29%27%20opacity%3D%270.88%27%3E%0A%20%20%20%20%3Ccircle%20cx%3D%270%27%20cy%3D%27-9%27%20r%3D%278%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%279%27%20cy%3D%27-1%27%20r%3D%278%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%276%27%20cy%3D%279%27%20r%3D%278%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%27-6%27%20cy%3D%279%27%20r%3D%278%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%27-9%27%20cy%3D%27-1%27%20r%3D%278%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%270%27%20cy%3D%270%27%20r%3D%273%27%20fill%3D%27%23f8d8e2%27/%3E%0A%20%20%3C/g%3E%0A%20%20%3Cg%20transform%3D%27translate%28224%2068%29%27%20opacity%3D%270.86%27%3E%0A%20%20%20%20%3Ccircle%20cx%3D%270%27%20cy%3D%27-8%27%20r%3D%277%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%278%27%20cy%3D%27-1%27%20r%3D%277%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%275%27%20cy%3D%278%27%20r%3D%277%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%27-5%27%20cy%3D%278%27%20r%3D%277%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%27-8%27%20cy%3D%27-1%27%20r%3D%277%27%20fill%3D%27%23f2b7c7%27/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%270%27%20cy%3D%270%27%20r%3D%272.5%27%20fill%3D%27%23f8d8e2%27/%3E%0A%20%20%3C/g%3E%0A%20%20%3Cellipse%20cx%3D%27188%27%20cy%3D%2788%27%20rx%3D%2712%27%20ry%3D%274%27%20fill%3D%27%237ac7c5%27%20opacity%3D%270.4%27%20transform%3D%27rotate%28-18%20188%2088%29%27/%3E%0A%20%20%3Cellipse%20cx%3D%27116%27%20cy%3D%27112%27%20rx%3D%279%27%20ry%3D%273.5%27%20fill%3D%27%237ac7c5%27%20opacity%3D%270.35%27%20transform%3D%27rotate%2812%20116%20112%29%27/%3E%0A%3C/svg%3E")
    no-repeat;
  background-size: contain;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero-grid > * {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 10px;
}

.hero-text p {
  margin-top: 18px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-bullets {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-bullets li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 8px;
  background: rgba(183, 122, 125, 0.55);
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  justify-items: end;
}

.hero-photo {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(46, 40, 39, 0.1);
  box-shadow: var(--shadow);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(241, 215, 216, 0.52), rgba(122, 199, 197, 0.42));
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(0.96);
  transform: scale(1.03);
}

.hero-card {
  width: min(420px, 100%);
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(46, 40, 39, 0.1);
  box-shadow: var(--shadow-soft);
}

.hero-card-title {
  font-weight: 600;
  color: var(--text);
}

.hero-card-text {
  margin-top: 6px;
  color: var(--muted);
}

.section-head {
  max-width: 62ch;
}

.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.section-head p {
  margin-top: 10px;
}

.about-grid {
  margin-top: 28px;
  display: grid;
  gap: 34px;
  align-items: start;
}

.about-grid--portrait {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
}

.about-portrait {
  display: grid;
  gap: 12px;
}

.about-portrait img {
  border-radius: var(--radius);
  border: 1px solid rgba(46, 40, 39, 0.1);
  box-shadow: var(--shadow-soft);
  filter: saturate(0.86) contrast(0.96);
}

.micro-claim {
  color: rgba(110, 103, 100, 0.95);
  font-size: 0.98rem;
}

.checklist {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.checklist li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(183, 122, 125, 0.18);
  border: 1px solid rgba(183, 122, 125, 0.28);
  margin-top: 4px;
  flex: 0 0 auto;
}

.cards-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.process-card,
.service-card,
.price-card,
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card button {
  margin-top: auto;
  align-self: center;
}

.process-card:hover,
.service-card:hover,
.price-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.92);
}

.card-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(46, 40, 39, 0.1);
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
  transition: filter 220ms ease, transform 220ms ease;
}

.process-card:hover .card-media img,
.service-card:hover .card-media img {
  filter: saturate(1) contrast(1);
  transform: scale(1.02);
}

.process-card h3,
.service-card h3,
.price-card h3,
.blog-card h3 {
  font-size: 1.45rem;
}

.process-card p,
.service-card p,
.price-card p,
.blog-card p {
  margin-top: 10px;
}

.card-cta {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-strong);
  font-weight: 500;
}

.card-cta:hover {
  text-decoration: underline;
}

.price-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.price-card > * {
  position: relative;
  z-index: 1;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(46, 40, 39, 0.1);
  color: rgba(110, 103, 100, 0.95);
}

.badge--accent {
  background: rgba(164, 95, 99, 0.12);
  border-color: rgba(164, 95, 99, 0.22);
  color: var(--accent-strong);
}

.price-bg {
  position: absolute;
  inset: -10px -10px auto auto;
  width: 68%;
  max-width: 320px;
  aspect-ratio: 3 / 2;
  opacity: 0.14;
  transform: rotate(-2deg);
  pointer-events: none;
  z-index: 0;
}

.price-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.95);
}

.price-time {
  margin-top: 14px;
  font-weight: 600;
  color: var(--text);
}

.price-amount {
  font-size: 1.6rem;
  color: var(--accent-strong);
  margin-top: 4px;
}

.price-feel {
  margin-top: 10px;
}

.fine-list {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 8px;
  color: rgba(110, 103, 100, 0.92);
  font-size: 0.98rem;
}

.fine-list li {
  display: flex;
  gap: 10px;
}

.fine-list li::before {
  content: "•";
  color: rgba(183, 122, 125, 0.65);
}

.vedomi-box {
  background: rgba(239, 225, 218, 0.78);
  border: 1px solid rgba(46, 40, 39, 0.08);
  border-radius: var(--radius-lg);
  padding: 76px 56px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.quote {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  color: var(--text);
  max-width: 30ch;
  margin: 0 auto;
}

.vedomi-text {
  margin: 18px auto 0;
  max-width: 70ch;
}

.cards-grid--blog {
  margin-top: 24px;
}

.blog-cover {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(46, 40, 39, 0.08);
  margin-bottom: 14px;
  aspect-ratio: 16 / 9;
}

.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(0.96);
  transition: filter 220ms ease, transform 220ms ease;
}

.blog-card:hover .blog-cover img {
  filter: saturate(1) contrast(1);
  transform: scale(1.02);
}

.blog-more {
  margin-top: 18px;
}

.blog-more summary {
  list-style: none;
  cursor: pointer;
}

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

.blog-more-content {
  margin-top: 14px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(46, 40, 39, 0.08);
}

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

.gallery-item {
  width: 100%;
  padding: 0;
  border: 1px solid rgba(46, 40, 39, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: auto;
  filter: saturate(0.84) contrast(0.96);
  transition: filter 220ms ease, transform 220ms ease;
}

.gallery-item:hover img {
  filter: saturate(1) contrast(1);
  transform: scale(1.02);
}

.footer-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.footer-lead {
  margin-top: 10px;
  max-width: 46ch;
}

.footer-address {
  margin-top: 18px;
  font-style: normal;
  line-height: 1.85;
  color: rgba(47, 42, 40, 0.92);
}

.footer-address strong {
  font-weight: 600;
  color: var(--text);
}

.footer-address a {
  color: rgba(47, 42, 40, 0.92);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(164, 95, 99, 0.35);
  text-underline-offset: 3px;
}

.footer-address a:hover {
  color: var(--accent-strong);
  text-decoration-color: rgba(164, 95, 99, 0.55);
}

.footer-support {
  margin-top: 14px;
  font-size: 0.95rem;
  color: rgba(110, 103, 100, 0.92);
  max-width: 52ch;
}

.footer-form {
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-form label {
  display: grid;
  gap: 8px;
  color: rgba(47, 42, 40, 0.92);
  font-weight: 500;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(46, 40, 39, 0.12);
  background: rgba(251, 246, 242, 0.6);
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.footer-form input:focus,
.footer-form textarea:focus {
  border-color: rgba(164, 95, 99, 0.45);
  box-shadow: 0 0 0 4px rgba(122, 199, 197, 0.28);
}

.footer-form textarea {
  resize: vertical;
}

.site-footer .btn-primary {
  box-shadow: none;
  transform: none;
  transition: background-color 180ms ease;
}

.site-footer .btn-primary:hover {
  transform: none;
}

.form-hint {
  font-size: 0.92rem;
  color: rgba(110, 103, 100, 0.92);
}

.site-footer {
  padding: 72px 0 44px;
  scroll-margin-top: calc(var(--header-height) + 20px);
  background: rgba(239, 225, 218, 0.92);
  border-top: 1px solid rgba(46, 40, 39, 0.08);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(46, 40, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: rgba(110, 103, 100, 0.95);
}

.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav a {
  padding: 2px 0;
  color: rgba(110, 103, 100, 0.95);
}

.footer-nav a:hover {
  background: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(183, 122, 125, 0.35);
  text-underline-offset: 4px;
  color: var(--text);
}

.site-footer small {
  color: rgba(110, 103, 100, 0.95);
}

body.lightbox-open {
  overflow: hidden;
}

body.order-open {
  overflow: hidden;
}

body.service-open {
  overflow: hidden;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.order-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 42, 40, 0.45);
  backdrop-filter: blur(10px);
}

.order-modal-dialog {
  position: relative;
  width: min(820px, 100%);
  border-radius: 26px;
  background: rgba(251, 246, 242, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  padding: 22px;
  transform: translateY(10px);
  transition: transform 220ms ease;
  max-height: calc(100dvh - 48px);
  overflow: hidden;
}

.order-modal.is-open .order-modal-dialog {
  transform: translateY(0);
}

.order-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(46, 40, 39, 0.12);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  line-height: 1;
  font-size: 1.35rem;
}

.order-modal-body {
  display: grid;
  gap: 16px;
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.order-modal-text {
  color: rgba(110, 103, 100, 0.95);
  white-space: pre-line;
}

.order-modal-note {
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(164, 95, 99, 0.12);
  border: 1px solid rgba(164, 95, 99, 0.22);
  color: var(--accent-strong);
  font-weight: 600;
  width: fit-content;
}

.order-modal-qr {
  width: min(260px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px solid rgba(46, 40, 39, 0.1);
  background: rgba(255, 255, 255, 0.65);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.order-modal-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-modal-form {
  gap: 14px;
}

.footer-form label.order-modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: rgba(47, 42, 40, 0.92);
}

.order-modal-consent input {
  margin-top: 4px;
}

.order-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.order-modal-actions .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.price-card .price-order-btn {
  margin-top: 16px;
  justify-self: start;
}

.footer-form label.order-modal-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(47, 42, 40, 0.92);
  font-weight: 500;
}

.footer-form label.order-modal-consent input {
  width: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 42, 40, 0.45);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  width: min(920px, 100%);
  border-radius: 26px;
  background: rgba(251, 246, 242, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  padding: 18px;
  transform: translateY(10px);
  transition: transform 220ms ease;
}

.lightbox.is-open .lightbox-dialog {
  transform: translateY(0);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(46, 40, 39, 0.12);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.lightbox-picture {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(46, 40, 39, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.lightbox-picture img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.lightbox-caption {
  color: rgba(110, 103, 100, 0.95);
  padding: 0 6px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

  .brand-icon {
    animation: none;
  }

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

  .btn-primary,
  .btn-ghost,
  .btn-secondary,
  .process-card,
  .service-card,
  .price-card,
  .blog-card,
  .card-media img,
  .blog-cover img,
  .gallery-item,
  .gallery-item img,
  .lightbox,
  .lightbox-dialog {
    transition: none;
  }
}

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

  .hero-grid {
    padding: 72px 44px;
    gap: 40px;
  }

  .site-footer {
    padding: 60px 0 40px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 860px) {
  body {
    padding-top: 74px;
  }

  .site-header {
    height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    background: rgba(251, 246, 242, 0.95);
    border: 1px solid rgba(46, 40, 39, 0.1);
    border-radius: 20px;
    padding: 14px;
    display: grid;
    gap: 10px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    height: calc(100dvh - 96px);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

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

  .site-nav a {
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .site-nav .nav-cta {
    justify-content: center;
  }

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

  .hero-visual {
    justify-items: start;
  }

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

  .vedomi-box {
    padding: 64px 28px;
  }
}

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

  .container {
    padding: 0 18px;
  }

  body {
    padding-top: 68px;
  }

  .site-header {
    height: 68px;
  }

  .site-nav {
    top: 68px;
    left: 12px;
    right: 12px;
    height: calc(100dvh - 84px);
    max-height: calc(100dvh - 84px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 10px;
    max-width: min(72vw, 340px);
  }

  .brand-name {
    font-size: 1.05rem;
    white-space: normal;
    line-height: 1.15;
  }

  .nav-toggle {
    padding: 8px 12px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    padding: 62px 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost,
  .btn-secondary {
    width: 100%;
  }

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

  .site-footer {
    padding: 52px 0 34px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 16px;
  }
}
