:root{--ink:#39302c;--muted:#82756d;--line:#eadfD5;--paper:#fffdfb;--sand:#f5eee8;--accent:#b89062;--dark:#322c29}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fcf9f6;color:var(--ink);font:13px/1.55 Manrope,Arial,sans-serif}.shell,.site-header{width:min(1180px,calc(100% - 32px));margin-inline:auto}.site-header{position:sticky;z-index:10;top:12px;height:62px;border:1px solid #eee5de;border-radius:18px;background:#fffdfbea;backdrop-filter:blur(10px);display:flex;align-items:center;padding:0 22px;box-shadow:0 7px 22px #795d4410}.logo{font:500 21px/1 'Playfair Display',serif;text-decoration:none;color:var(--ink);letter-spacing:-.8px}.logo span{font:400 16px Manrope,sans-serif;letter-spacing:-1px}nav{display:flex;gap:25px;margin:auto}nav a,.header-actions>a:not(.button),footer a{color:var(--muted);text-decoration:none;font-size:11px}.header-actions{display:flex;align-items:center;gap:16px}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--dark);border-radius:8px;background:var(--dark);padding:12px 20px;color:#fff;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap;transition:.2s}.button:hover{transform:translateY(-2px);background:#4c403a}.button.small{padding:9px 15px}.button.ghost{background:transparent;color:var(--dark);border-color:#cfb9a5}.menu-toggle{display:none}.section{background:var(--paper);border:1px solid #f0e7e0;border-radius:19px;margin-top:14px;padding:34px 30px;box-shadow:0 7px 18px #6c4f3510}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--accent);font-weight:700;font-size:9px;margin:0 0 5px}h1,h2,h3{font-family:'Playfair Display',serif;font-weight:500;line-height:1.05;margin:0}h1{font-size:42px;letter-spacing:-1.8px}h2{font-size:27px;letter-spacing:-1px;text-align:center}h3{font-size:18px}.intro{margin:8px auto 0;text-align:center;max-width:730px;color:var(--muted);font-size:11px}.hero{display:grid;grid-template-columns:1.35fr .85fr;min-height:420px;margin-top:24px;border-radius:23px;overflow:hidden;background:#fffdfa;border:1px solid #f1e7df}.hero-copy{padding:57px 55px 36px;position:relative;z-index:2}.hero-copy>p:not(.eyebrow){max-width:520px;margin:17px 0;color:#6c625c;font-size:12px}.hero-buttons{display:flex;gap:10px;margin-top:22px}.stats{display:flex;gap:28px;margin-top:33px;color:var(--accent);font-size:19px}.stats b{font:600 10px Manrope;color:var(--muted);vertical-align:2px}.hero-art{position:relative;background:linear-gradient(140deg,#f5eee8,#fbf8f5);overflow:hidden}.arch{position:absolute;width:290px;height:380px;border-radius:150px 150px 0 0;border:1px solid #fff;bottom:0;left:50%;transform:translateX(-50%);background:#f9f6f3}.sun{position:absolute;width:250px;height:250px;border-radius:50%;background:#f4eae1;top:-77px;right:-48px}.hero-art p{position:absolute;bottom:48px;left:48px;font:22px/1.2 'Playfair Display';color:#9b8170}.leaf{position:absolute;right:36px;bottom:12px;color:#c8a786;font:110px/1 serif;transform:rotate(-25deg);opacity:.65}.features{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;margin-top:25px}.features article{border:1px solid #e6d3c1;border-radius:13px;padding:19px 14px;text-align:center;min-height:140px}.features span{font-size:27px;color:#c79d78}.features h3{font:600 12px Manrope;margin:10px 0 6px}.features p{margin:0;color:var(--muted);font-size:10px}.trust{margin:12px auto 0;border-radius:8px;background:#fdfaf8;box-shadow:0 3px 11px #80634a13;padding:8px;text-align:center;color:var(--muted);font-size:10px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:21px}.service-card{display:flex;flex-direction:column;padding:23px;border-radius:14px;border:1px solid #e6d3c1;min-height:300px;background:linear-gradient(135deg,#fffdfb,#fcf7f2)}.service-card p{font-size:11px;color:var(--muted);margin:7px 0}.service-card ul{padding-left:16px;margin:8px 0 auto;color:#72645c;font-size:10px}.service-card div{border-top:1px solid #eee4dc;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.service-card span{color:#a58c79;font-size:9px}.text-button{color:var(--dark);font-weight:700;font-size:9px;text-decoration:none}.team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:22px}.team-grid article{padding:9px;border:1px solid #eee3dc;border-radius:13px;background:#fffdfb}.team-grid img{width:100%;height:155px;object-fit:cover;object-position:top;border-radius:9px;filter:saturate(.75)}.team-grid h3{font:600 12px Manrope;margin:9px 3px 2px}.team-grid p,.team-grid small{display:block;margin:0 3px;color:var(--muted);font-size:9px}.team-grid small{margin-top:8px;color:#a47b5d}.help{display:flex;align-items:center;gap:17px;margin-top:19px;border-radius:13px;background:#fbf7f3;padding:16px 22px}.help>span{font-size:30px;color:#d4af8e}.help h3{font-size:17px}.help p{font-size:10px;color:var(--muted);margin:3px 0}.help .button{margin-left:auto}.works{display:grid;grid-template-columns:220px 1fr;gap:22px}.works h2{text-align:left}.works-copy>p:not(.eyebrow){color:var(--muted);font-size:11px;margin:12px 0 20px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.photo,.atmos-grid div{background:linear-gradient(145deg,#eee4db,#fbf7f2);border-radius:10px;min-height:120px;position:relative;overflow:hidden}.photo:before{content:'';position:absolute;inset:20% 26%;border:1px solid #d3c3b8;border-radius:7px}.photo:after{content:'✧';position:absolute;inset:32% 0 auto;text-align:center;color:#c3ae9d;font-size:25px}.photo span{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#806e61}.p2,.p5{background:linear-gradient(145deg,#f4ece6,#e7d8cc)}.p3,.p6{background:linear-gradient(145deg,#e9e0db,#fbf8f4)}.atmos-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;margin-top:22px}.atmos-grid div{display:flex;align-items:end;justify-content:center;padding:10px;color:#716159;font-size:9px;text-align:center}.booking{display:grid;grid-template-columns:250px 1fr;gap:28px}.calendar{border:1px solid #e6d3c1;border-radius:14px;padding:22px;background:#fbf8f5}.calendar>span{font-size:36px;color:#bc916a}.calendar h3{font-size:18px;margin:8px 0}.calendar p{font-size:10px;color:var(--muted);margin-bottom:20px}.calendar .button{width:100%;font-size:9px;padding:11px}form h2{text-align:left}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.form-grid input{min-width:0;border:1px solid #e9ddd4;border-radius:6px;padding:11px;font:10px Manrope;background:#fff}.form-grid .wide{grid-column:span 2}form label{font-size:9px;color:var(--muted);display:block;margin-bottom:12px}form .button{float:right}.review-section{display:grid;grid-template-columns:1fr 1fr;gap:50px}.review-section h2{text-align:left}blockquote{margin:18px 0 0;padding:20px;border-radius:12px;background:#fbf7f3;font:15px/1.45 'Playfair Display';color:#5c4e47}blockquote footer{font:600 10px Manrope;margin-top:13px;color:#a27d63}.faq details{border-bottom:1px solid #ecdfd6;padding:10px 0;font-size:10px}.faq summary{cursor:pointer;font-weight:700}.faq details p{color:var(--muted);margin:7px 0 0}footer{margin-top:14px;background:#f5ede7;padding-top:32px}.footer-grid{display:grid;grid-template-columns:1.2fr .7fr 1fr;gap:30px}.footer-grid h3{font-size:19px;margin:13px 0 5px}.footer-grid p{font-size:10px;color:var(--muted);margin:0}.footer-grid>div:nth-child(2){display:flex;flex-direction:column;gap:8px}.footer-grid .button{margin-top:15px}.copyright{text-align:center;margin:27px 0 0;padding:12px;border-top:1px solid #e6d8cf;font-size:9px;color:#9b8778}
@media(max-width:800px){.site-header{top:8px;height:54px;padding:0 14px}.site-header nav,.header-actions>a:not(.button){display:none}.header-actions{margin-left:auto;margin-right:10px}.header-actions .button{padding:8px 10px;font-size:9px}.menu-toggle{display:flex;margin-left:auto;order:1;width:30px;height:24px;border:0;background:none;flex-direction:column;gap:6px;justify-content:center}.menu-toggle i{height:1px;background:var(--ink);width:22px}.site-header nav.open{display:flex;position:absolute;top:61px;right:0;left:0;flex-direction:column;gap:0;padding:10px 18px;background:#fffdfb;border:1px solid #eee5de;border-radius:14px;box-shadow:0 8px 15px #573a2512}.site-header nav.open a{display:block;padding:10px}.hero{grid-template-columns:1fr;min-height:0;margin-top:17px}.hero-copy{padding:38px 24px 30px}h1{font-size:31px}.hero-art{height:205px}.hero-art p{bottom:24px;left:28px;font-size:19px}.arch{height:230px;width:210px}.features{grid-template-columns:repeat(2,1fr)}.features article:last-child{grid-column:span 2}.service-grid,.team-grid{grid-template-columns:repeat(2,1fr)}.service-card{min-height:250px}.service-card:last-child{grid-column:span 2}.team-grid article:last-child{grid-column:span 2}.team-grid img{height:180px}.help{align-items:flex-start;flex-wrap:wrap;padding:15px}.help .button{margin:0 0 0 47px}.works,.booking,.review-section{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}.atmos-grid{grid-template-columns:repeat(2,1fr)}.atmos-grid div:last-child{grid-column:span 2}.footer-grid{grid-template-columns:1fr}.section{padding:27px 18px}.shell,.site-header{width:min(100% - 20px,1180px)}}
@media(max-width:420px){.header-actions{display:none}.menu-toggle{margin-left:auto}.stats{gap:14px;flex-direction:column;margin-top:25px}.hero-buttons{flex-direction:column;align-items:stretch}.features{grid-template-columns:1fr}.features article:last-child,.service-card:last-child,.team-grid article:last-child{grid-column:auto}.service-grid,.team-grid{grid-template-columns:1fr}.team-grid img{height:210px}.help .button{margin-left:0;width:100%}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.booking{gap:16px}.photo{min-height:100px}}

.master-placeholder{height:155px;border:1px solid #e7dbd0;border-radius:9px;background:linear-gradient(145deg,#f2e9e0,#fbf8f5)}
.team-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:800px){.master-placeholder{height:180px}.team-grid article:last-child{grid-column:auto}}
@media(max-width:420px){.master-placeholder{height:210px}}

/* Сохраняем место под будущий подзаголовок в hero-блоке. */
.hero-buttons{margin-top:112px}

/* Выбор удобного мессенджера в форме быстрой записи. */
.booking form{display:flex;flex-direction:column;min-height:100%}.messenger-choice{margin:2px 0 16px;padding:0;border:0}.messenger-choice legend{padding:0;margin-bottom:8px;color:var(--muted);font-size:9px}.messenger-options{display:flex;gap:8px}.messenger-option{position:relative;display:inline-flex;align-items:center;gap:6px;margin:0!important;padding:7px 10px;border:1px solid #e4d7cd;border-radius:8px;background:#fffdfa;color:var(--ink)!important;font-size:9px!important;line-height:1;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}.messenger-option input{position:absolute;opacity:0;pointer-events:none}.messenger-option span{display:grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:#eee5de;color:#4a4c4f;font-size:7px;font-weight:800;letter-spacing:-.3px}.messenger-option b{font:700 9px Manrope}.messenger-option:has(input:checked){border-color:var(--accent);background:#eff5ef}.messenger-option:has(input:checked) span{background:var(--accent);color:#fff}.messenger-option:hover{border-color:var(--accent);transform:translateY(-1px)}.consent{margin-bottom:6px!important}.privacy-consent{margin-bottom:14px!important}.privacy-consent a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.booking form>.button{margin-top:auto;align-self:flex-end}.booking .calendar{display:flex;flex-direction:column}.booking .calendar .button{margin-top:auto}
@media(max-width:420px){.messenger-options{gap:6px}.messenger-option{flex:1;justify-content:center;padding:7px 5px}.messenger-option b{font-size:8px}.booking form>.button{width:100%}}
.booking textarea {
  box-sizing: border-box;
  min-height: 96px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #e9ddd4;
  border-radius: 6px;
  background: #fff;
  resize: vertical;
  color: var(--ink);
  font: 10px Manrope, sans-serif;
}

.booking button:disabled {
  cursor: wait;
  opacity: .65;
}

.form-message {
  width: 100%;
  min-height: 1.5em;
  margin: 16px 0 0;
  font-size: 14px;
}

.form-message:empty {
  display: none;
}

.form-message.is-success {
  padding: 16px 18px;
  border: 1px solid #8eb9a2;
  border-radius: 10px;
  background: #edf7f1;
  box-shadow: 0 8px 24px rgba(39, 108, 82, .12);
  color: #1f6248;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.form-message.is-error {
  padding: 12px 14px;
  border: 1px solid #e4aaaa;
  border-radius: 8px;
  background: #fff2f2;
  color: #a33a3a;
}

.phone-field {
  min-width: 0;
}

.phone-field input {
  width: 100%;
}

.phone-field small {
  display: block;
  margin: 4px 2px 0;
  color: var(--muted);
  font-size: 8px;
}

.booking form.was-validated .form-grid input:invalid {
  border-color: #c74747;
  background: #fff7f7;
  box-shadow: 0 0 0 2px rgba(199, 71, 71, .1);
}

.booking form.was-validated .phone-field:has(input:invalid) small {
  color: #aa3434;
  font-weight: 700;
}

.booking form.was-validated .consent:has(input:invalid),
.booking form.was-validated .privacy-consent:has(input:invalid) {
  margin-inline: -8px;
  padding: 8px;
  border: 1px solid #d65353;
  border-radius: 7px;
  background: #fff1f1;
  color: #a72f2f;
  font-weight: 700;
}

.booking form.was-validated .consent:has(input:invalid) input,
.booking form.was-validated .privacy-consent:has(input:invalid) input {
  accent-color: #c74747;
  outline: 2px solid rgba(199, 71, 71, .25);
}

.messenger-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.messenger-option {
  min-width: 0;
  padding: 6px 7px;
  justify-content: center;
  flex: none;
}

.messenger-option span {
  width: 16px;
  min-width: 16px;
  height: 16px;
  border-radius: 3px;
  font-size: 6px;
}

@media (max-width: 420px) {
  .messenger-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .messenger-option:last-child {
    grid-column: 1 / -1;
  }

  .booking .consent,
  .booking .privacy-consent {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    margin-bottom: 7px !important;
    padding-block: 3px;
    font-size: 10px;
    line-height: 1.45;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .booking .consent input,
  .booking .privacy-consent input {
    width: 14px;
    height: 14px;
    margin: 1px 0 0;
  }

.booking .consent span,
  .booking .privacy-consent span {
    min-width: 0;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
}

/* Секция отзывов: три будущие карточки и навигация для расширения ленты. */
.review-section {
  display: block;
  padding-block: 46px;
}

.reviews-heading {
  text-align: center;
}

.reviews-heading .eyebrow {
  margin-bottom: 7px;
}

.reviews-heading .intro {
  margin-top: 10px;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 3px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-height: 190px;
  padding: 26px;
  border: 1px dashed #cfb9a5;
  border-radius: 14px;
  background: #fbf7f3;
  scroll-snap-align: start;
}

.review-card--placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.review-card--placeholder p {
  margin: 0;
  font: 400 14px/1.35 'Playfair Display', serif;
}

.reviews-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}

.reviews-arrow::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 14px solid var(--dark);
}

.reviews-arrow--next::before {
  border-right: 0;
  border-left: 14px solid var(--dark);
}

.reviews-arrow:hover:not(:disabled) {
  transform: scale(1.13);
}

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

@media (max-width: 800px) {
  .review-section {
    padding-block: 36px;
  }

  .reviews-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 9px;
    margin-top: 24px;
  }

  .review-card {
    flex-basis: calc((100% - 16px) / 2);
    min-height: 170px;
    padding: 22px;
  }

  .reviews-arrow {
    width: 24px;
    height: 40px;
  }
}

@media (max-width: 520px) {
  .reviews-carousel { grid-template-columns: 22px minmax(0, 1fr) 22px; gap: 5px; }
  .reviews-track { gap: 12px; padding-bottom: 8px; }
  .review-card { flex-basis: 100%; min-height: 150px; }
  .reviews-arrow { width: 18px; height: 34px; }
  .reviews-arrow::before { border-top-width: 8px; border-bottom-width: 8px; border-right-width: 10px; }
  .reviews-arrow--next::before { border-left-width: 10px; }
}

/* Выбор способа связи: компактные квадратные кнопки без растягивания формы. */
.booking .messenger-options {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 9px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}

.booking .messenger-options::-webkit-scrollbar {
  display: none;
}

.booking .messenger-option {
  display: flex;
  flex: 0 0 42px;
  flex-direction: row;
  gap: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.booking .messenger-option span {
  width: 30px;
  min-width: 30px;
  height: 30px;
}

.booking .messenger-option span:has(img),
.booking .messenger-option:has(input:checked) span:has(img) {
  width: 32px;
  min-width: 32px;
  height: 32px;
  background: transparent;
  overflow: hidden;
  border-radius: 7px;
}

.booking .messenger-option:has(input:checked) {
  border-color: transparent;
  background: transparent;
  transform: scale(1.08);
}

.booking .messenger-option img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}

/* У исходных файлов разная пустая область вокруг знака — приводим видимый размер к VK. */
.booking .messenger-option img[src$="telegram.webp"] { transform: scale(1.2); }
.booking .messenger-option img[src$="whatsapp.webp"] { transform: scale(1.1); }
.booking .messenger-option img[src$="max.webp"] {
  content: url("assets/max-tight.webp");
  transform: scale(1);
}

.booking .messenger-option b {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 420px) {
  .booking .messenger-options {
    gap: 7px;
  }

  .booking .messenger-option {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
}

/* Контактный футер с мягким градиентным переходом к фону страницы. */
body.theme-atelier footer {
  position: relative;
  margin-top: 0;
  padding-top: 112px;
  overflow: hidden;
  background: linear-gradient(to bottom, #eee6dc 0, #ede4da 18px, #ebe1d7 42px, #e8ddd2 70px, #e5d8cb 100px, #e2d3c4 142px, #e2d3c4 100%);
}

body.theme-atelier footer::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: -6%;
  width: 112%;
  height: 158px;
  background: linear-gradient(to bottom, rgba(226, 211, 196, 0), rgba(226, 211, 196, .08) 28%, rgba(226, 211, 196, .2) 54%, rgba(226, 211, 196, .44) 78%, rgba(226, 211, 196, .72));
  filter: blur(34px);
  pointer-events: none;
}

body.theme-atelier footer > * { position: relative; z-index: 1; }
body.theme-atelier .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(38px, 4.4vw, 56px); align-items: center; }
body.theme-atelier .footer-contacts { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 340px; }
body.theme-atelier .footer-contacts .logo { margin-bottom: 28px; }
body.theme-atelier .footer-phone { display: inline-block; margin-bottom: 13px; color: #332b27; font: 600 clamp(22px, 2.25vw, 30px)/1.1 'Playfair Display', serif; letter-spacing: -.35px; text-decoration: none; text-shadow: 0 6px 18px rgba(76, 54, 37, .12); }
body.theme-atelier .footer-phone:hover { color: #176f61; }
body.theme-atelier .footer-address { margin: 0; color: #514842; font: 500 18px/1.38 'Playfair Display', serif; }
body.theme-atelier .footer-messengers { display: flex; gap: 10px; margin-top: 24px; }
body.theme-atelier .footer-messengers a { display: grid; place-items: center; width: 38px; height: 38px; transition: transform .2s ease, filter .2s ease; }
body.theme-atelier .footer-messengers a:hover { transform: translateY(-3px); filter: drop-shadow(0 8px 8px rgba(57, 40, 28, .18)); }
body.theme-atelier .footer-messengers img { display: block; width: 32px; height: 32px; border-radius: 7px; object-fit: contain; }
body.theme-atelier .footer-map { justify-self: center; width: 100%; max-width: 310px; margin: 0 auto; }
body.theme-atelier .footer-map-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 5; border-radius: 24px; box-shadow: 0 16px 32px rgba(79, 57, 40, .12); }
body.theme-atelier .footer-map-frame::after { content: ''; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 18px 7px rgba(226, 211, 196, .92), inset 0 0 5px 2px rgba(226, 211, 196, .72); pointer-events: none; }
body.theme-atelier .footer-map iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; }
body.theme-atelier .footer-map-link { display: inline-block; margin-top: 11px; color: #403630; font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
body.theme-atelier .footer-cta { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-left: clamp(0px, 1vw, 14px); }
body.theme-atelier .footer-cta h3 { max-width: 330px; color: #3b312c; font-size: clamp(24px, 2.2vw, 31px); line-height: 1.15; text-wrap: balance; }
body.theme-atelier .footer-cta .button { align-self: flex-start; min-width: 128px; margin-top: 26px; padding: 11px 24px; border-color: #4a4c4f; border-radius: 14px; background: #4a4c4f; box-shadow: 0 10px 24px rgba(50, 44, 41, .22); }
body.theme-atelier .footer-cta .button:hover { border-color: #35373a; background: #35373a; box-shadow: 0 14px 30px rgba(50, 44, 41, .3); }
body.theme-atelier .footer-bottom { display: flex; justify-content: center; margin-top: 34px; padding-block: 18px; border-top: 1px solid rgba(88, 64, 47, .18); }
body.theme-atelier .footer-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 19px; }
body.theme-atelier .footer-legal button { padding: 2px 0; border: 0; border-radius: 0; background: transparent; color: #51443b; font: 600 12px/1.45 Manrope, sans-serif; text-decoration: underline; text-decoration-color: rgba(81, 68, 59, .35); text-underline-offset: 3px; cursor: pointer; transition: color .2s, text-decoration-color .2s; }
body.theme-atelier .footer-legal button:hover { color: #176f61; text-decoration-color: currentColor; }
body.theme-atelier .footer-legal button:focus-visible { outline: 2px solid rgba(23, 111, 97, .45); outline-offset: 3px; }
body.theme-atelier .copyright { flex: 0 0 auto; margin: 0; padding: 0; border: 0; color: #716052; font-size: 10px; }

.demo-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 18px;
  border: 1px solid rgba(145, 97, 42, .25);
  border-radius: 14px;
  background: rgba(255, 247, 228, .9);
  box-shadow: 0 8px 22px rgba(87, 63, 45, .08);
  color: #594735;
  font-size: 12px;
  line-height: 1.45;
}

.demo-notice strong {
  flex: 0 0 auto;
  color: #80571f;
  font-size: 12px;
}

.form-demo-notice {
  margin-top: 12px;
  padding: 11px 13px;
  border-left: 3px solid #b98646;
  border-radius: 0 9px 9px 0;
  background: rgba(255, 247, 228, .72);
  color: #64513d;
  font-size: 11px;
  line-height: 1.5;
}

.form-demo-notice strong { color: #80571f; }

@media (max-width: 600px) {
  .demo-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin-top: 12px;
    padding: 11px 13px;
    font-size: 11px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  body.theme-atelier footer { padding-top: 72px; background: linear-gradient(to bottom, #eee6dc 0, #ece3d9 22px, #e9dfd4 48px, #e6dacd 76px, #e2d3c4 112px, #e2d3c4 100%); }
  body.theme-atelier footer::before { height: 124px; filter: blur(30px); }
  body.theme-atelier .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px 44px; align-items: center; }
  body.theme-atelier .footer-contacts { grid-column: 1; grid-row: 1; max-width: none; }
  body.theme-atelier .footer-contacts .logo { margin-bottom: 22px; }
  body.theme-atelier .footer-phone { font-size: 24px; }
  body.theme-atelier .footer-address { font-size: 17px; }
  body.theme-atelier .footer-legal { margin-top: 16px; }
  body.theme-atelier .footer-map { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; }
  body.theme-atelier .footer-map-frame { aspect-ratio: 16 / 7; }
  body.theme-atelier .footer-cta { grid-column: 2; grid-row: 1; align-self: center; padding-left: 0; }
  body.theme-atelier .footer-cta h3 { max-width: 300px; font-size: clamp(25px, 3.8vw, 31px); }
  body.theme-atelier .footer-bottom { margin-top: 24px; }
}

@media (max-width: 600px) {
  body.theme-atelier footer { padding-top: 74px; background: linear-gradient(to bottom, #eee6dc 0, #ece3d9 22px, #e9dfd4 48px, #e6dacd 78px, #e2d3c4 114px, #e2d3c4 100%); }
  body.theme-atelier footer::before { height: 126px; filter: blur(30px); }
  body.theme-atelier .footer-grid, body.theme-atelier .footer-bottom { width: calc(100% - 32px); }
  body.theme-atelier .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  body.theme-atelier .footer-contacts { width: 100%; max-width: none; }
  body.theme-atelier .footer-phone { font-size: 24px; }
  body.theme-atelier .footer-address { font-size: 17px; }
  body.theme-atelier .footer-map { justify-self: center; width: min(100%, 340px); max-width: 340px; margin-inline: auto; }
  body.theme-atelier .footer-map-frame { aspect-ratio: 1; }
  body.theme-atelier .footer-map-link { display: block; }
  body.theme-atelier .footer-cta { padding-left: 0; }
  body.theme-atelier .footer-cta h3 { max-width: 330px; }
  body.theme-atelier .footer-bottom { margin-top: 30px; }
  body.theme-atelier .footer-legal { margin-top: 17px; }
}

/* На планшетах и телефонах используем такое же растворение, как на десктопе. */
@media (max-width: 900px) {
  body.theme-atelier footer {
    overflow: visible;
    background: #e2d3c4;
  }

  body.theme-atelier footer::before {
    display: block;
    top: -112px;
    left: 0;
    width: 100%;
    height: 114px;
    background: linear-gradient(to bottom, rgba(226, 211, 196, 0) 0%, rgba(226, 211, 196, .03) 15%, rgba(226, 211, 196, .1) 34%, rgba(226, 211, 196, .24) 53%, rgba(226, 211, 196, .47) 72%, rgba(226, 211, 196, .75) 88%, #e2d3c4 100%);
    filter: none;
  }
}

/* Точная балансировка только для десктопного футера. */
@media (min-width: 901px) {
  body.theme-atelier footer {
    padding-top: 68px;
    overflow: visible;
    background: #e2d3c4;
  }

  body.theme-atelier footer::before {
    display: block;
    top: -112px;
    left: 0;
    width: 100%;
    height: 114px;
    background: linear-gradient(to bottom, rgba(226, 211, 196, 0) 0%, rgba(226, 211, 196, .03) 15%, rgba(226, 211, 196, .1) 34%, rgba(226, 211, 196, .24) 53%, rgba(226, 211, 196, .47) 72%, rgba(226, 211, 196, .75) 88%, #e2d3c4 100%);
    filter: none;
  }

  body.theme-atelier #reviews { box-shadow: none; }
  body.theme-atelier .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
  body.theme-atelier .footer-contacts { width: 100%; max-width: none; }
  body.theme-atelier .footer-map { width: calc(100% + 22px); max-width: none; transform: translateX(-44.5px); }
  body.theme-atelier .footer-map-frame { aspect-ratio: 8 / 7; }
  body.theme-atelier .footer-cta { width: 100%; padding: 24px 0 0; justify-content: flex-start; }
  body.theme-atelier .footer-cta h3 { max-width: none; }
  body.theme-atelier .footer-bottom { margin-top: 28px; }
}

body.theme-atelier .site-header .logo,
body.theme-atelier .footer-contacts .logo { font-size: 23px; }

body.theme-atelier .site-header .logo span,
body.theme-atelier .footer-contacts .logo span { font-size: 17px; }

@media (min-width: 901px) {
  body.theme-atelier .site-header .logo,
  body.theme-atelier .footer-contacts .logo { font-size: 24px; }

  body.theme-atelier .site-header .logo span,
  body.theme-atelier .footer-contacts .logo span { font-size: 18px; }
}

/* Равные внешние поля и визуальный баланс планшетного футера. */
@media (min-width: 601px) and (max-width: 900px) {
  body.theme-atelier .footer-grid,
  body.theme-atelier .footer-bottom { width: calc(100% - 48px); }

  body.theme-atelier .footer-grid { gap: 34px clamp(28px, 5vw, 40px); }
  body.theme-atelier .footer-cta { align-self: start; justify-self: end; align-items: flex-start; justify-content: flex-start; width: min(100%, 300px); padding: 0; }
  body.theme-atelier .footer-cta h3 { width: 100%; margin: 0; }
  body.theme-atelier .footer-cta .button { align-self: flex-start; margin-top: 24px; }
}
