/* ZEN — стили из 1111(3).zip. Шрифты, отступы и размеры сохранены. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-V.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Corinthia";
  src: url("../fonts/corinthia.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Prata";
  src: url("../fonts/Prata-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "CoFo Gothic VF Trial";
  src: url("../fonts/cofogothicvftrial-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --dark: #1e1712;
  --hero-reduction: 0svh;
  --hero-margin: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  font-family: var(--sans);
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  background: #fff;
  z-index: 100;
  padding: 10px;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 92px;
  padding: 18px clamp(20px, 2.2vw, 45px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  background: transparent;
  transition: background .4s, box-shadow .4s, height .4s, padding .4s;
}

.header-left, .header-right {
  display: flex;
  gap: clamp(12px, 1.8vw, 38px);
  align-items: center;
  min-height: 44px;
}

.header-right {
  justify-content: flex-end;
}

.header-phone {
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}

.header-details, .header-appointment {
  border: 1px solid #444;
  padding: 8px 13px;
  background: rgba(248,248,243,.15);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  text-decoration: none;
  color: #222;
  white-space: nowrap;
  line-height: 1.15;
}

.header-details:hover, .header-appointment:hover {
  background: #232323;
  color: white;
}

.brand-logo {
  align-self: start;
  text-decoration: none;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-stretch: condensed;
  font-weight: 400;
  font-size: clamp(50px, 5.4vw, 90px);
  letter-spacing: -.09em;
  padding-right: .09em;
  transition: font-size .4s;
}

.menu-toggle {
  display: flex;
  width: 34px;
  height: 25px;
  padding: 3px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: space-around;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.page-scrolled .site-header {
  background: rgba(244,244,241,.97);
  box-shadow: 0 1px 5px rgba(0,0,0,.05);
  height: 75px;
  padding-top: 14px;
  padding-bottom: 12px;
  align-items: center;
}

.page-scrolled .brand-logo {
  font-size: 55px;
}

.site-menu {
  position: fixed;
  z-index: 49;
  right: 20px;
  top: 79px;
  width: min(300px, calc(100vw - 40px));
  background: #f4f3ef;
  
  padding: 10px 20px;
}

.site-menu a {
  display: block;
  text-decoration: none;
  border-bottom: 1px solid #c9c8c4;
  padding: 16px 8px;
  font-size: 14px;
  text-transform: uppercase;
}

.site-menu a:hover {
  color: var(--burgundy);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - var(--hero-margin));
  height: calc(50svh - var(--hero-reduction));
  min-height: 510px;
  margin: 0 auto;
  background: #f1f1ed;
}

.hero-picture {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../img/hero-snow-reference.webp") center center / cover no-repeat;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(2,18,26,.05) 35%, rgba(2,22,30,.28));
  z-index: -1;
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  bottom: clamp(35px, 5.3vh, 78px);
  left: 30px;
  right: 30px;
  margin: 0 auto;
  max-width: 1150px;
  text-align: center;
  text-transform: uppercase;
  color: #f5f5f3;
  font-size: clamp(14px, 1.5vw, 27px);
  font-weight: 400;
  line-height: 1.32;
  text-shadow: 0 1px 4px rgba(0,0,0,.32);
}

.snow {
  position: absolute;
  inset: -45% -10%;
  pointer-events: none;
  z-index: -2;
  background-repeat: repeat;
}

.snow-back {
  background-image: radial-gradient(circle,rgba(255,255,255,.93) 0 2px, transparent 3px), radial-gradient(circle,rgba(255,255,255,.7) 0 3px,transparent 4px), radial-gradient(circle,rgba(255,255,255,.5) 0 1px,transparent 2px);
  background-size: 137px 119px, 231px 269px, 87px 99px;
  background-position: 0 0, 54px 38px, 12px 72px;
  opacity: .78;
  animation: snowfall 22s linear infinite;
}

.snow-front {
  background-image: radial-gradient(circle,rgba(255,255,255,.98) 0 2px,transparent 4px), radial-gradient(circle,rgba(255,255,255,.7) 0 5px,transparent 7px);
  background-size: 189px 177px, 378px 321px;
  background-position: 91px 19px, 167px 144px;
  opacity: .5;
  filter: blur(.5px);
  animation: snowfall 15s linear infinite reverse;
}

@keyframes snowfall {0% { transform: translate3d(0, -6%,0) } 100% { transform: translate3d(-2%, 8%, 0) }}

.advent {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 4vw, 30px) clamp(16px, 2.1vw, 46px) clamp(60px, 7vw, 110px);
}

.advent-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 auto clamp(46px, 5.8vw, 92px);
  max-width: 850px;
}

.advent-script {
  position: relative;
  z-index: 1;
}

.advent h1 {
  margin: 0 0 12px;
}

.advent-heading p {
  margin: 0 auto;
 
}

.advent-snowflake {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  color: #e8e8e4;
  line-height: 1;
  user-select: none;
  font-size: clamp(85px, 12vw, 220px);
  opacity: .72;
}

.flake-one {
  top: 4%;
  left: 5%;
  transform: rotate(-20deg);
}

.flake-two {
  top: 5%;
  right: 8%;
  transform: rotate(20deg);
}

.flake-three {
  top: 31%;
  left: 39%;
  transform: rotate(33deg);
  opacity: .18;
}

.flake-four {
  bottom: -2%;
  right: 4%;
  font-size: clamp(150px, 22vw, 380px);
}

.flake-five {
  bottom: 4%;
  left: 4%;
  transform: rotate(12deg);
}

.calendar {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}


.calendar-weekdays > div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 4px;
  text-align: center;
  text-transform: uppercase;
  margin-right: -1px;
}

.calendar-day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  min-width: 0;
  padding: 0;
  color: #091315;
  overflow: hidden;
  transition: background .2s;
}

.day-face {
  display: block;
  line-height: 1;
  transition: opacity .2s;
}

.calendar-day-outline .day-face:not(.day-face-gift) {
  color: transparent;
}

.day-face-gift {
  display: flex;
  align-items: center;
  justify-content: center;
}

.day-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  text-align: center;
}

.day-reveal::before {
  content: "❄";
  position: absolute;
  opacity: .13;
  font-size: 100px;
  right: -15px;
  top: 5px;
}

.day-reveal-script {
  position: relative;
  z-index: 1;
  line-height: 1.15;
}

.day-reveal-date {
  position: relative;
  z-index: 1;
}


.calendar-day-past:hover {
  background: transparent;
}

.calendar-instruction {
  color: #6b6966;
  text-align: center;
  margin: 30px auto 0;
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(350px, 34%) minmax(0,1fr);
  min-height: 520px;
  color: #f3f2ee;
}

.contact-form-wrap {
  padding: clamp(45px, 5vw, 90px) clamp(20px, 3.1vw, 64px);
}

.contact h2 {
    font-family: var(--display);
    font-size: clamp(23px, 2vw, 49px);
    line-height: 1.1;
    font-weight: 500;
    margin: 0 0 18px;
    letter-spacing: 1px;
}

.contact p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 430px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 460px;
}

.lead-form > input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid #706760;
  border-radius: 0;
  outline-offset: 3px;
  color: #fff;
  font-size: 14px;
}

.lead-form > input::placeholder {
  color: #c9c6c3;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #aca8a3;
  font-size: 11px;
  line-height: 1.45;
  margin: 8px 0 3px;
}

.consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
  accent-color: var(--burgundy);
  cursor: pointer;
}

/* Чекбокс нижней формы: светлая рамка и маленький чёрный квадрат внутри (макет Figma).
   Только #contact; размеры шрифтов, отступы и чекбоксы модальной формы не затрагиваются. */
#contact .lead-form .consent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  border: 1px solid #8d8984;
  border-radius: 0;
  background: transparent;
}

#contact .lead-form .consent input[type="checkbox"]:checked {
  background: #f1f1ed;
}

#contact .lead-form .consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  background: #020a0a;
}

#contact .lead-form .consent input[type="checkbox"]:focus-visible {
  outline: 2px solid #ecebe7;
  outline-offset: 3px;
}

.submit-button {
  height: 48px;
  margin-top: 3px;
  background: transparent;
  border: 1px solid #aca59f;
  color: #f6f4f0;
  font-size: 14px;
  transition: background .2s, color .2s;
}

.submit-button:hover {
  background: #ecebe7;
  color: #16110e;
}

.form-status {
  display: none;
  margin: 6px 0 0 !important;
  font-size: 13px !important;
  color: #d9c4bd;
}

.form-status.visible {
  display: block;
}

.contact-photo {
  min-height: 420px;
  background: url("https://zen.yard.ru/img/newimg/contacts.webp") center / cover no-repeat, url("../img/contact-reference.webp") center / cover no-repeat, #293c39;
}

.site-footer {
  grid-template-columns: minmax(110px, 190px) minmax(180px,1fr) minmax(170px,1fr) minmax(170px,1fr) 160px;
  gap: 20px;
  align-items: start;
  font-size: 13px;
  line-height: 1.65;
}

.footer-mark {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 39px;
  letter-spacing: -.12em;
  transform: rotate(-45deg);
  width: max-content;
  margin: 20px 0;
}

.footer-contacts a {
  display: block;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-developer strong {
  font-size: 18px;
}

.footer-legal {
  font-size: 9px;
  line-height: 1.4;
}

dialog {
  border: 0;
  padding: 0;
  margin: auto;
  box-shadow: 0 24px 90px rgba(0,0,0,.23);
}

dialog::backdrop {
  background: rgba(2,13,14,.7);
}

.gift-dialog {
  overflow: hidden;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 0;
  background: #e3e1dc;
  color: #30302f;
  font-size: 25px;
  line-height: 1;
}

.dialog-close:hover {
  background: #dad6d0;
}

.modal-gift-icon {
  display: block;
  color: #a63c49;
  margin: 0 auto 4px;
}

.gift-script {
  font-size: clamp(31px, 4.7vw, 52px);
  color: #9f343c;
  line-height: 1;
  transform: rotate(-3deg);
}

.gift-dialog h2 {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(35px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  margin: 16px auto 5px;
  max-width: 590px;
}

.gift-description {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto 24px;
}

.gift-cta {
  position: relative;
  z-index: 1;
  padding: 13px 30px;
  min-width: 170px;
  background: transparent;
  border: 1px solid #3c4342;
  font-size: 13px;
}

.gift-cta:hover {
  background: #252d2e;
  color: #fff;
}

.modal-flake {
  position: absolute;
  color: #e8e7e3;
  font-size: 130px;
  pointer-events: none;
}

.modal-flake-left {
  top: 14px;
  left: 30px;
}

.modal-flake-right {
  right: 25px;
  bottom: 10px;
}

.form-dialog {
  color: #182124;
}

.form-dialog:not([open]) {
  display: none;
}

.form-dialog-photo {
  background: linear-gradient(135deg, #8da7af 0%, #dee2de 55%, #536964 100%);
}

.form-dialog p {
  margin: 0 0 20px;
  font-size: 13px;
}

.lead-form-light > input {
  border-color: #9e9d98;
  color: #1f2222;
}

.lead-form-light > input::placeholder {
  color: #777;
}

.lead-form-light .consent {
  color: #6d6c68;
}

.lead-form-light .submit-button {
  border-color: #1b2524;
  color: #1b2524;
}

.lead-form-light .submit-button:hover {
  background: #1b2524;
  color: white;
}

.lead-form-light .form-status {
  color: #974453;
}

:root {
  --paper: #f1f1ed;
  --ink: #020a0a;
  --burgundy: #8c303a;
  --sans: "Inter", Arial, sans-serif;
}

body {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  color: #f1f1ed;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit;
  line-height: 1;
}

.brand-logo-svg {
  display: block;
  width: clamp(92px, 9vw, 172px);
  height: auto;
  aspect-ratio: 172 / 73;
  transition: width .35s ease;
}

.site-header .header-details, .site-header .header-appointment {
  background: transparent;
}

.site-header .header-details:hover, .site-header .header-appointment:hover {
  color: #020a0a;
  background: #f1f1ed;
}

.site-header.page-scrolled, .page-scrolled .site-header {
  color: #020a0a;
  background: #f1f1ed;
}

.page-scrolled .brand-logo-svg {
  width: clamp(83px, 6vw, 125px);
}


.site-header .menu-toggle {
  color: inherit;
}

.advent {
  background-color: #f1f1ed;
  /* Декоративный фон заголовка из предоставленного изображения */
  background-image: url("../img/advent-heading-snowflakes-light.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.advent-script {
  color: #8c303a;
}

.advent h1 {
  font-size: clamp(36px, 4vw, 72px);
  line-height: 1.3;
}

.advent-heading p {
  font-family: "CoFo Gothic VF Trial", "Inter", sans-serif;
  font-weight: 200;
  font-size: clamp(12px, 1.25vw, 24px);
  line-height: 1.18;
}

.calendar-weekdays > div {
  font-family: var(--display);
  font-weight: 400;
  background: var(--paper);
}

.calendar-days {
  border-bottom: 0;
}

.calendar-day {
  background: var(--paper);
}

.day-face {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

.calendar-day-outline .day-face:not(.day-face-gift) {
  -webkit-text-stroke: 1px #020a0a;
}

.date-gift-icon {
  color: var(--burgundy);
}

.day-reveal {
  color: #f1f1ed;
  background: #8c303a;
}

.day-reveal-script {
  font-size: clamp(21px, 2.7vw, 45px);
}

.day-reveal-date {
  font-family: var(--sans);
  font-size: clamp(10px, 1vw, 16px);
}

.calendar-day-past {
  cursor: pointer;
}

.day-past-static {
  position: absolute;
  inset: 0;
  flex-direction: column;
  color: rgba(140,48,58,.28);
  transition: none !important;
}

.day-past-number {
  font-family: var(--display);
  line-height: 1;
}

.day-past-static .date-gift-icon {
  color: rgba(140,48,58,.30);
}

.day-past-label {
  font-family: var(--sans);
  white-space: normal;
  max-width: 100%;
  text-align: center;
}

.calendar-day-past:hover,
.calendar-day-past:focus,
.calendar-day-past:active {
  background: var(--paper);
}

.calendar-day-past:hover .day-past-static,
.calendar-day-past:focus .day-past-static {
  opacity: 1;
  transform: none;
}

.calendar-day-past:focus-visible {
  outline: 2px solid #8c303a;
  outline-offset: -3px;
}

.calendar-day-future, .calendar-day-today {
  cursor: pointer;
}

.site-footer {
  display: block;
  padding: clamp(36px, 4vw, 70px) clamp(22px, 3vw, 60px) 34px;
  background: #f1f1ed;
  color: #020a0a;
  font: 300 13px/1.5 var(--sans);
}

.footer-inner {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: clamp(35px, 4vw, 80px);
}

.footer-main {
  display: grid;
  grid-template-columns: 133px minmax(150px,200px) minmax(175px,230px);
  align-items: start;
  column-gap: clamp(25px, 3vw, 70px);
}

.footer-brand {
  width: 133px;
  height: 133px;
  color: #020a0a;
  display: block;
}

.footer-brand svg {
  display: block;
  width: 133px;
  height: 133px;
}

.footer-address {
  margin: 0 0 26px;
}

.footer-phone {
  text-decoration: none;
  white-space: nowrap;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-menu a {
  text-decoration: none;
}

.footer-menu a:hover, .footer-phone:hover {
  text-decoration: underline;
}

.footer-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  min-width: 270px;
  max-width: 480px;
  flex: 1;
}

.footer-top-links {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(35px,4vw,90px);
}

.footer-social {
  display: flex;
  gap: 10px;
  padding-top: 38px;
}

.footer-social a {
  display: block;
  width: 30px;
  height: 30px;
}

.footer-social img {
  display: block;
  width: 30px;
  height: 30px;
}

.footer-developer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.12;
}

.footer-developer svg {
  width: 80px;
  height: 54px;
}

.footer-legal {
  grid-column: auto;
  font: 300 10px/1.25 var(--sans);
  color: #777873;
  margin: 22px 0 0;
  text-align: right;
}

.site-header,
.site-header:not(.page-scrolled),
.page-scrolled .site-header {
  color: #020a0a;
}

.site-header .header-details,
.site-header .header-appointment {
  border-color: #020a0a;
  color: #020a0a;
}

.site-header .header-details:hover,
.site-header .header-appointment:hover,
.page-scrolled .site-header .header-details:hover,
.page-scrolled .site-header .header-appointment:hover {
  background: #020a0a;
  color: #f1f1ed;
}

.advent {
  padding-left: clamp(23px, 3vw, 60px);
  padding-right: clamp(23px, 3vw, 60px);
}

/* Общий контейнер календарного блока для широких мониторов.
   Заголовок, сетка и подпись центрируются, максимальная ширина — 1900px. */
.advent-container {
  width: 100%;
  max-width: 1900px;
  margin-inline: auto;
}

.calendar {
  width: 100%;
  max-width: 1900px;
}

.calendar-weekdays > div {
  min-height: clamp(48px, 6.3vw, 76px);
  font-size: clamp(11px, 1.05vw, 17px);
}

.calendar-day {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: .57;
}

.day-face {
  font-size: clamp(37px, 6.45vw, 127px);
}

.date-gift-icon {
  display: block;
  width: min(50%, 90px);
  height: auto;
}

.day-past-static {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
}

.day-past-number {
  font-size: 50px;
}

.calendar-day-past, .calendar-day-past:hover, .calendar-day-past:active {
  background: var(--paper);
}

.calendar-day-past .day-past-static,
.calendar-day-past:hover .day-past-static {
  opacity: 1;
  transform: none;
}

.selected-gift {
  border-left: 2px solid #cfc1b9;
  padding: 8px 0 8px 12px;
  color: #f1f1ed;
  font-size: 13px;
}

.modal-gift-icon {
  object-fit: contain;
}

:root {
  --script: "Corinthia", cursive;
  --display: "Prata", Georgia, serif;
  --line: #ad565a;
}

.advent-script,
.gift-script,
.day-reveal-script {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
}

.advent-script {
  font-size: clamp(75px, 7.8125vw, 150px);
  line-height: .98;
  transform: none;
  margin-bottom: -27px;
}

.advent h1 {
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  margin-top: 0;
}


.calendar-weekdays > div {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}


.calendar-days {
  margin-top: -1px;
}

.calendar-day {
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-day:nth-child(7n) {
  border-right: 1px solid var(--line);
}

.calendar-preview-label {
  display: inline-block;
  margin: 16px auto 0;
  padding: 8px 12px;
  border: 1px solid #d2b8bb;
  color: #8c303a;
  background: #faf7f4;
  font-family: var(--sans);
  font-size: 12px;
}

.calendar-preview-label a {
  text-decoration: underline;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.calendar-weekdays > div,
.calendar-weekdays > div:last-child {
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.calendar-days > .calendar-day,
.calendar-days > .calendar-day:nth-child(7n) {
  margin: 0;
  box-sizing: border-box;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-days {
  gap: 0 !important;
  row-gap: 0 !important;
  border-left: 1px solid var(--line);
}

.calendar-days > .calendar-separator {
  box-sizing: border-box;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-days > .calendar-day {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-day-future {
  cursor: pointer !important;
}

.calendar-day:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: -3px;
  z-index: 1;
}

.form-dialog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  box-sizing: border-box;
  
  width: min(1180px, calc(100vw - 90px), calc((100dvh - 96px) * 1.849));
  max-width: none;
  aspect-ratio: 1380 / 746;
  min-height: 0;
  max-height: calc(100dvh - 96px);
  padding: 0;
  overflow: hidden;
  background: #f1f1ed;
  color: #020a0a;
  border-radius: 0;
}

.form-dialog-photo {
  min-width: 0;
  min-height: 0;
  background: url("../img/meeting-building.jpg") center / cover no-repeat;
}

.form-dialog-content {
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  padding: 36px 40px 32px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}

.form-dialog h2 {
  flex: 0 0 auto;
  margin: 0 0 14px;
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.form-dialog .form-dialog-intro {
  flex: 0 0 auto;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #343a39;
  margin: 0 0 20px;
}

.form-dialog .lead-form {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  gap: 10px;
  max-width: none;
  min-height: max-content;
}

.form-dialog .lead-form > input:not([type="hidden"]) {
  box-sizing: border-box;
  width: 100%;
  height: 54px;
  min-height: 54px;
  padding: 10px 20px;
  border: 1px solid #a8aaa7;
  border-radius: 0;
  color: #020a0a;
  background: transparent;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.form-dialog .lead-form > input::placeholder {
  color: #575e5d;
  opacity: 1;
}

.form-dialog .form-dialog-consent {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 9px 0 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.36;
  color: #343a39;
}

.form-dialog .form-dialog-consent + .form-dialog-consent {
  margin-top: 0;
}

.form-dialog .form-dialog-consent input {
  appearance: none;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  position: relative;
  border: 1px solid #aaa9a5;
  border-radius: 0;
  background: transparent;
}

.form-dialog .form-dialog-consent input:checked {
  border-color: #aaa9a5;
  background: transparent;
}

.form-dialog .form-dialog-consent input:checked::after {
  content: "";
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #020a0a;
  border: 0;
  transform: translate(-50%, -50%);
}

.form-dialog .form-dialog-consent input:focus-visible {
  outline: 2px solid #8c303a;
  outline-offset: 3px;
}

.form-dialog .form-dialog-consent a {
  color: inherit;
  text-decoration: none;
}

.form-dialog .form-dialog-consent a:hover,
.form-dialog .form-dialog-consent a:focus-visible {
  text-decoration: underline;
}

.form-dialog .submit-button {
  flex: 0 0 auto;
  width: 100%;
  height: 54px;
  min-height: 54px;
  margin: auto 0 0;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid #020a0a;
  border-radius: 0;
  color: #020a0a;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

.form-dialog .form-status {
  
  margin: 4px 0 0 !important;
}

.form-dialog .dialog-close {
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: #e3dfd9;
  font: 300 22px/1 Arial, sans-serif;
}

.hero-wordmark {
  display: none;
}

.mobile-menu-dimmer {
  display: none;
}

.calendar-day[data-day] {
  cursor: pointer !important;
}

.calendar-day[data-day] > .day-reveal {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 1.25vw, 23px);
  padding: 8px 5px;
  color: #fffaf4;
  background-color: #8c303a;
  background-image: url("../img/calendar-hover-snowflakes-clean.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s;
}

.calendar-day[data-day] .day-reveal-script {
  display: block;
  position: relative;
  z-index: 2;
  font-family: var(--script);
      font-size: clamp(36px, 3vw, 120px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.015em;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-3deg);
  text-shadow: 0 .5px 1px rgba(0,0,0,.08);
}

.calendar-day[data-day] .day-reveal-underline {
  display: block;
  position: relative;
  z-index: 2;
  width: 166px; 
  height: 14px;
  max-width: 80%;
  flex-shrink: 0;
  background: url("../img/calendar-hover-underline.svg") center / contain no-repeat;
}

.calendar-day[data-day]:focus-visible > .day-reveal {
  opacity: 1 !important;
  visibility: visible;
}

.calendar-days > .calendar-separator {
  height: 25px !important;
  min-height: 25px !important;
  background: var(--paper);
}

.calendar-day[data-day] .date-gift-icon {
  width: clamp(46px, 6vw, 82px);
  max-width: 78%;
  height: auto;
  object-fit: contain;
}

.calendar-day .day-face.day-face-gift .date-gift-icon,
.calendar-day .day-face-gift .date-gift-icon {
  width: clamp(52px, 6.5vw, 86px);
}

.day-past-static {
  justify-content: center !important;
  align-content: center;
  gap: clamp(5px, .8vw, 12px);
  padding: 10% 4% 8% !important;
}

.day-past-static .date-gift-icon {
  width: clamp(30px, 3.4vw, 52px) !important;
  max-width: 72%;
  opacity: 0.68;
}

.day-past-number {
  color: rgba(140,48,58,.28) !important;
}

.day-past-label {
  color: rgba(140,48,58,.30) !important;
  font-size: 24px;
  line-height: 1.1;
}

.modal-gift-icon {
  width: clamp(68px, 7vw, 100px);
  height: auto;
}

#calendar-days .calendar-day[data-day],
#calendar-days .calendar-day[data-day]:hover,
#calendar-days .calendar-day[data-day]:focus,
#calendar-days .calendar-day[data-day] *,
#calendar-days .calendar-day[data-day] *::before,
#calendar-days .calendar-day[data-day] *::after {
  cursor: default !important;
}

.gift-dialog {
  position: relative;
  width: min(880px, calc(100vw - 72px));
  max-width: 880px;
  min-height: 0;
  max-height: calc(100dvh - 36px);
  padding: clamp(30px, 3.8vw, 48px) 30px clamp(35px, 4vw, 52px);
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f1f1ed;
  color: #101010;
  text-align: center;
  border: 0;
  border-radius: 0;
  box-shadow: 0 14px 48px rgba(0,0,0,.14);
}

.gift-dialog::backdrop {
  background: rgba(9, 17, 17, .70);
}

.gift-dialog > :not(.gift-dialog-snow) {
  position: relative;
  z-index: 1;
}

.gift-dialog .gift-dialog-snow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

}

.gift-dialog .dialog-close {
  position: absolute;
  z-index: 4;
  top: 13px;
  right: 13px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  padding: 0;
  background: #e8e6e1;
  color: #333;
  font: 300 18px/1 Arial, sans-serif;
  border: 0;
  border-radius: 0;
}

.gift-dialog .dialog-close:hover {
  background: #dad6cf;
}

.gift-dialog .modal-gift-icon {
  display: block;
  width: 64px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  margin: 0 auto 5px;
  color: #8c303a;
  transform: none;
}

.gift-dialog .gift-script {
  font-family: var(--script);
  font-size: clamp(28px, 3.5vw, 39px);
  font-weight: 400;
  line-height: 1;
  color: #9b3c46;
  transform: none;
  margin: 0 auto 19px;
}

.gift-dialog #gift-title {
  font-family: "Prata", Georgia, serif;
  color: #111;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.025em;
  max-width: 760px;
  margin: 0 auto 9px;
}

.gift-dialog .gift-description {
  font-family: "Inter", Arial, sans-serif;
  color: #282828;
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1.5;
  max-width: 660px;
  margin: 0 auto 28px;
}

.gift-dialog .gift-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 155px;
  min-height: 39px;
  padding: 9px 20px;
  border: 1px solid #818681;
  border-radius: 0;
  background: transparent;
  color: #333;
  font: 400 12px/1.2 "Inter", Arial, sans-serif;
  text-decoration: none;
  transition: color .2s, background .2s, border-color .2s;
}

.gift-dialog .gift-cta:hover,
.gift-dialog .gift-cta:focus-visible {
  background: #8c303a;
  border-color: #8c303a;
  color: #fff;
}


.weekday-short {
  display: none;
}

#gift-dialog.gift-dialog {
  box-sizing: border-box ;
  position: fixed ;
  inset: auto ;
  top: 50% ;
  left: 50% ;
  right: auto ;
  bottom: auto ;
  margin: 0 ;
  transform: translate(-50%, -50%) ;
  width: 818px ;
  max-width: calc(100vw - 32px) ;
  height: 477px ;
  min-height: 0 ;
  max-height: calc(100dvh - 32px) ;
  aspect-ratio: auto ;
  overflow: hidden ;
  background: #f1f1ed ;
  color: #020a0a ;
  box-shadow: 0 16px 48px rgba(0,0,0,.14) ;
  border: 0 ;
  border-radius: 0 ;
  padding: 0 ;
  text-align: center;
}

#gift-dialog.gift-dialog:not([open]) {
  display: none ;
}

#gift-dialog.gift-dialog[open] {
  display: grid ;
  place-items: center ;
}

#gift-dialog.gift-dialog::backdrop {
  background: rgba(9,17,17,.72) ;
}



#gift-dialog.gift-dialog > .dialog-close {
  display: grid ;
  place-items: center ;
  position: absolute ;
  z-index: 3 ;
  top: 20px ;
  right: 20px ;
  width: 40px ;
  height: 40px ;
  padding: 0 ;
  background: #e3dfd9 ;
  color: #020a0a ;
  border: 0 ;
  border-radius: 0 ;
  font: 400 24px/1 Arial, sans-serif ;
}

#gift-dialog.gift-dialog > .gift-dialog-content {
  position: relative ;
  z-index: 1 ;
  display: flex ;
  flex-direction: column ;
  align-items: center ;
  justify-content: center ;
  gap: 39px ;
  box-sizing: border-box ;
  width: 670px ;
  max-width: calc(100% - 52px) ;
  height: auto ;
  min-height: 0 ;
  padding: 0 ;
  margin: auto ;
  text-align: center ;
}

#gift-dialog .gift-dialog-top,
#gift-dialog .gift-dialog-info {
  display: flex ;
  flex-direction: column ;
  align-items: center ;
  justify-content: flex-start ;
  width: 100% ;
  margin: 0 ;
  padding: 0 ;
}

#gift-dialog .gift-dialog-top {
  gap: 15px ;
}

#gift-dialog.gift-dialog .modal-gift-icon {
  display: block ;
  flex: 0 0 auto;
  width: 87px ;
  height: 88px ;
  max-height: 88px ;
  object-fit: contain ;
  margin: 0 ;
  transform: none ;
}

#gift-dialog.gift-dialog .gift-script {
  display: block ;
  flex: 0 0 auto;
  width: 100% ;
  height: 46px ;
  padding: 0 ;
  margin: 0 ;
  font-family: "Corinthia", cursive ;
  font-size: 50px ;
  font-style: normal ;
  font-weight: 400 ;
  line-height: 46px ;
  color: #8c303a ;
  text-align: center ;
  transform: none ;
}

#gift-dialog .gift-dialog-info {
  gap: 19px ;
}

#gift-dialog.gift-dialog #gift-title {
  width: 100% ;
  max-width: none ;
  margin: 0 ;
  padding: 0 ;
  font: 400 40px/1 "Prata", Georgia, serif ;
  letter-spacing: 0 ;
  color: #020a0a ;
  text-align: center ;
  overflow-wrap: normal ;
}

#gift-dialog.gift-dialog .gift-description {
  width: 100% ;
  max-width: none ;
  margin: 0 ;
  padding: 0 ;
  font-family: "CoFo Gothic VF Trial", "Inter", Arial, sans-serif ;
  font-size: 24px ;
  font-style: normal ;
  font-weight: 200 ;
  line-height: 28px ;
  color: #020a0a ;
  text-align: center ;
}

#gift-dialog.gift-dialog .gift-cta {
  display: inline-flex ;
  flex: 0 0 auto ;
  align-items: center ;
  justify-content: center ;
  width: 202px ;
  min-width: 202px ;
  max-width: none ;
  height: 52px ;
  min-height: 52px ;
  padding: 0 ;
  margin: 0 ;
  border: 1px solid #020a0a ;
  border-radius: 0 ;
  background: transparent ;
  color: #020a0a ;
  font-family: "CoFo Gothic VF Trial", "Inter", Arial, sans-serif ;
  font-size: 18px ;
  font-weight: 200 ;
  line-height: 24px ;
  text-align: center ;
}

#gift-dialog.gift-dialog .gift-cta:hover {
  background: #8c303a ;
  border-color: #8c303a ;
  color: white ;
}

#gift-dialog.gift-dialog.gift-dialog--long > .gift-dialog-content {
  gap: 24px ;
}

#gift-dialog.gift-dialog.gift-dialog--long #gift-title {
  font-size: 40px ;
  line-height: 1.04 ;
}

#gift-dialog.gift-dialog.gift-dialog--long .gift-description {
  font-size: 24px ;
  line-height: 28px ;
}


/* Снежинки при наведении: бледно-светлые, без изображения курсора. */
#calendar-days .calendar-day[data-day] > .day-reveal {
  background-color: #8c303a;
  background-image: none;
}
#calendar-days .calendar-day[data-day] > .day-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Прозрачный рисунок снежинок поверх бордовой ячейки. */
  background: url("../img/calendar-hover-snowflakes-clean.png") center / 100% 100% no-repeat;
  /* Осветляем снежинки, не затрагивая текст и бордовый фон. */
  filter: brightness(0) invert(1);
  opacity: 0.1;
  -webkit-mask: none;
  mask: none;
}
#calendar-days .calendar-day[data-day] .day-reveal-script,
#calendar-days .calendar-day[data-day] .day-reveal-underline {
  position: relative;
  z-index: 2;
}

/* ZEN v29 — подпись подарка масштабируется по ширине ЯЧЕЙКИ,
   а не по ширине окна браузера. Макетные 42px сохраняются
   там, где хватает места; в узких ячейках текст не обрезается. */
#calendar-days > .calendar-day[data-day] {
  container-type: inline-size;
}

#calendar-days .calendar-day[data-day] .day-reveal-script {
  font-size: clamp(7px, 18cqw, 46px);
  max-width: calc(100% - 4px);
  white-space: nowrap;
}

/* ZEN v30 — блок заявки и содержимое футера в контейнере 1900px.
   Фоновый цвет секций по-прежнему занимает ширину экрана. */

.contact-inner {
  width: 100%;
  max-width: 1900px;
  min-height: 520px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(350px, 36%) minmax(0, 1fr);
}
.site-footer .footer-inner {
  width: 100%;
  max-width: 1900px;
  margin-inline: auto;
}
/* Блок заявки — две колонки */
.contact {
    display: block;
    width: 100%;
    background: #1d1712;
}

.contact > .contact-inner {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
    width: 100%;
    max-width: 1900px;
    min-height: 520px;
    margin: 0 auto;
}

.contact-inner > .contact-form-wrap,
.contact-inner > .contact-photo {
    min-width: 0;
}

.contact-inner > .contact-photo {
    height: 100%;
    min-height: 520px;
    background-position: center;
    background-size: cover;
}

/* ==========================================================
   МЕДИА-ЗАПРОСЫ — собраны в конце файла, в исходном порядке
   ========================================================== */

/* ============================================================
   КАЛЕНДАРЬ: пустой угол после последней даты декабря.
   Последние незаполненные ячейки объединяются в декоративную
   область без внутренних линий. Даты, размеры и разделители
   остальных строк не изменяются.
   2026: после 31 декабря 3 ячейки; 2025: 4 ячейки.
   ============================================================ */
.calendar-days > .calendar-day-blank {
  pointer-events: none;
  opacity: 1;
  background: var(--paper);
}

/* Первый пустой блок после 31-го закрывает всё свободное место. */
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  background: var(--paper);
}

/* Автоматически охватываем 1–6 оставшихся колонок. */
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank:nth-last-child(1) { grid-column: span 1; }
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank:nth-last-child(2) { grid-column: span 2; }
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank:nth-last-child(3) { grid-column: span 3; }
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank:nth-last-child(4) { grid-column: span 4; }
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank:nth-last-child(5) { grid-column: span 5; }
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank:nth-last-child(6) { grid-column: span 6; }

/* Последующие пустые элементы не создают новую строку. */
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank ~ .calendar-day-blank {
  display: none;
}

/* Отдельное прозрачное изображение: светлые снежинки без курсора. */
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background: url("../img/calendar-corner-snowflakes-light.png") center center / 100% 100% no-repeat;
  pointer-events: none;
}

/* В мобильной сетке используется ::after для высоты обычных дат.
   У объединённого угла он не должен растягивать строку. */
.calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank::after {
  content: none;
  display: none;
  padding: 0;
}

/* ZEN v38: прошедшие даты кликабельны, но без состояния hover.
   Защита на случай HTML, созданного старой версией app.js. */
#calendar-days .calendar-day.calendar-day-past[data-day] > .day-reveal {
  display: none;
}
#calendar-days .calendar-day.calendar-day-past[data-day]:hover,
#calendar-days .calendar-day.calendar-day-past[data-day]:active {
  background: var(--paper);
}
#calendar-days .calendar-day.calendar-day-past[data-day]:hover > .day-past-static {
  opacity: 1;
  transform: none;
}


/* ZEN / SendIt: обязательные поля. Форма сохраняет исходные размеры и шрифты. */


#zen-meeting-form .consent.zen-consent-invalid,
#zen-footer-form .consent.zen-consent-invalid {
  color: #c85b67;
}

#zen-meeting-form .consent.zen-consent-invalid input[type="checkbox"],
#zen-footer-form .consent.zen-consent-invalid input[type="checkbox"],
#zen-meeting-form input[type="checkbox"].si-error,
#zen-footer-form input[type="checkbox"].si-error {
  border-color: #a23542;
  box-shadow: 0 0 0 2px rgba(162,53,66,.15);
}

.lead-form > .zen-field-hint:empty { display: none; }
.lead-form > .zen-field-hint:not(:empty) {
  display: block;
  margin: -15px 0 2px;
  color: #f2a2ad;
  font: 400 12px/1.35 "Inter", Arial, sans-serif;
}
.form-dialog .lead-form > .zen-field-hint:not(:empty) { color: #a23542; }

/* Единое компактное окно «Спасибо» для обеих форм ZEN. */
.zen-thanks-dialog {
  box-sizing: border-box;
  width: min(460px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 46px 32px 38px;
  border: 0;
  border-radius: 0;
  overflow: auto;
  background: #f1f1ed;
  color: #020a0a;
  box-shadow: 0 20px 75px rgba(0,0,0,.15);
}
.zen-thanks-dialog:not([open]) { display: none; }
.zen-thanks-dialog::backdrop { background: rgba(2,13,14,.70); }
.zen-thanks-content { text-align: center; }
.zen-thanks-icon { display: block; margin: 0 auto 18px; color: #8c303a; }
.zen-thanks-dialog h2 {
  margin: 0 0 14px;
  font: 400 34px/1.2 "Prata", Georgia, serif;
}
.zen-thanks-dialog p {
  margin: 0 auto 28px;
  max-width: 350px;
  font: 400 16px/1.5 "Inter", Arial, sans-serif;
}
.zen-thanks-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: #e3dfd9;
  color: #020a0a;
  font: 300 24px/1 Arial, sans-serif;
}
.zen-thanks-ok {
  min-width: 202px;
  min-height: 48px;
  padding: 9px 25px;
  border: 1px solid #020a0a;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 400 16px/1.4 "Inter", Arial, sans-serif;
}
.zen-thanks-ok:hover { background: #020a0a; color: #f1f1ed; }
.zen-thanks-close:focus-visible, .zen-thanks-ok:focus-visible { outline: 2px solid #8c303a; outline-offset: 2px; }

@media (hover:hover) and (pointer:fine) {
.calendar-day-future:hover .day-reveal, .calendar-day-today:hover .day-reveal, .calendar-day-future:focus-visible .day-reveal, .calendar-day-today:focus-visible .day-reveal {
    opacity: 1;
  }

.calendar-day-future:hover .day-face, .calendar-day-today:hover .day-face {
    opacity: 0;
  }

}

@media (max-width: 1100px) {
.site-footer {
    grid-template-columns: 130px 1fr 1fr 160px;
  }

.footer-links {
    grid-column: 2 / 4;
  }

.footer-developer {
    grid-column: 4;
    grid-row: 1;
  }

.footer-legal {
    grid-column: 2 / -1;
  }

}

@media (max-width: 767px) {
html {
    scroll-padding-top: 80px;
  }

.site-header {
    align-items: center;
  }

.brand-logo {
    font-size: 54px;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

.header-left {
    grid-column: 2;
    grid-row: 1;
  }

.header-phone {
    font-size: 14px;
  }

.header-details, .header-appointment {
    display: none;
  }

.header-right {
    grid-column: 3;
    grid-row: 1;
    min-width: 36px;
  }

.menu-toggle {
    display: flex;
    width: 35px;
    height: 29px;
  }

.page-scrolled .brand-logo {
    font-size: 48px;
  }

.advent {
    padding: 30px 14px 30px;
  }

.advent-heading {
    margin-bottom: 42px;
  }

.advent-snowflake {
    font-size: 100px;
  }

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

.contact-form-wrap {
    padding: 48px 22px 52px;
  }

.contact h2 {
    font-size: 26px;
  }

.contact-photo {
    height: clamp(220px, 55vw, 480px);
    min-height: 0;
  }

.site-footer {
    display: grid;
    grid-template-columns: minmax(85px, .5fr) 1fr;
    gap: 22px;
    padding: 40px 24px;
    font-size: 14px;
  }

.footer-mark {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 46px;
  }

.footer-address {
    grid-column: 2;
    grid-row: 1;
  }

.footer-contacts {
    grid-column: 2;
    grid-row: 2;
  }

.footer-links {
    grid-column: 1 / -1;
    grid-row: 3;
  }

.footer-developer {
    grid-column: 2;
    grid-row: 4;
    align-self: end;
  }

.footer-legal {
    grid-column: 1 / -1;
    grid-row: 5;
  }

}

@media (max-width: 440px) {
.site-header {
    padding-left: 15px;
    padding-right: 15px;
  }

.brand-logo {
    font-size: 48px;
  }

.hero-caption {
    max-width: 290px;
    font-size: 16px;
  }

.advent h1 {
    font-size: 37px;
  }

.advent-script {
    font-size: 50px;
  }

.day-reveal {
    padding: 2px;
    gap: 1px;
  }

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

.form-dialog-photo {
    min-height: 160px;
  }

.form-dialog-content {
    padding: 25px 20px 27px;
  }

.form-dialog h2 {
    font-size: 34px;
  }

.modal-flake {
    font-size: 75px;
  }

.gift-dialog {
    padding: 45px 20px 34px;
  }

.gift-dialog h2 {
    font-size: 35px;
  }

.gift-description {
    font-size: 13px;
  }

}

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

*, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

}

@media (hover: hover) and (pointer: fine) {
.calendar-day-future:hover .day-reveal, .calendar-day-today:hover .day-reveal,
  .calendar-day-future:focus-visible .day-reveal, .calendar-day-today:focus-visible .day-reveal {
    opacity: 1;
  }

.calendar-day-future:hover .day-face, .calendar-day-today:hover .day-face,
  .calendar-day-future:focus-visible .day-face, .calendar-day-today:focus-visible .day-face {
    opacity: 0;
  }

}

@media (max-width: 1100px) {
.footer-main {
    grid-template-columns: 98px minmax(130px,1fr) minmax(140px,1fr);
    gap: 20px;
  }

.footer-brand, .footer-brand svg {
    width: 98px;
    height: 98px;
  }

.footer-side {
    min-width: 210px;
  }

}

@media (max-width: 767px) {
.brand-logo-svg {
    width: 100px;
  }

.page-scrolled .brand-logo-svg {
            width: 58px !important;
  }

.advent h1 {
    font-size: 32px;
  }

.footer-inner {
    display: block;
  }

.footer-main {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 18px 25px;
  }

.footer-brand {
    grid-row: 1 / span 2;
  }

.footer-brand, .footer-brand svg {
    width: 104px;
    height: 104px;
  }

.footer-info {
    grid-column: 2;
  }

.footer-menu {
    grid-column: 1 / -1;
    gap: 7px;
    margin-top: 8px;
  }

.footer-side {
    max-width: none;
    min-width: 0;
    margin-top: 28px;
  }

.footer-top-links {
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
  }

.footer-social {
    padding: 0;
  }

.footer-legal {
    width: 100%;
    margin-top: 23px;
    font-size: 9px;
    text-align: right;
  }

}

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

.brand-logo-svg {
           width: 68px !important;
  }

.advent {
    padding-left: 11px;
    padding-right: 11px;
  }

.calendar-weekdays > div {
    font-size: 5px;
    min-height: 36px;
  }

.calendar-day {
    height: clamp(54px, 16.5vw, 72px);
  }

.day-face {
    font-size: clamp(28px, 8.7vw, 42px);
  }

.day-reveal-script {
    font-size: 11px;
  }

.day-reveal-date {
    font-size: 7px;
  }

.date-gift-icon {
    width: 28px;
  }

.day-past-static {
    padding: 4% 1% 6%;
  }

.day-past-number {
    font-size: 14px;
  }

.day-past-static .date-gift-icon {
    width: 20px;
  }

.day-past-label {
    font-size: 6px;
  }

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

.footer-info {
    font-size: 13px;
  }

.footer-developer {
    font-size: 11px;
  }

.footer-developer svg {
    width: 60px;
    height: 41px;
  }

}

@media (min-width: 768px) {


.site-header .header-right {
    padding-right: 0;
  }

}

@media (max-width: 767px) {
.site-header .menu-toggle {
    display: flex;
  }

.advent {
    padding-left: clamp(15px, 5vw, 26px);
    padding-right: clamp(15px, 5vw, 26px);
  }

.calendar-weekdays > div {
    font-size: clamp(5px, 1.18vw, 9px);
  }

.calendar-day {
    height: auto;
    min-height: 0;
    aspect-ratio: .51;
  }

.day-face {
    font-size: clamp(24px, 7.3vw, 49px);
  }

.date-gift-icon {
    width: min(64%, 56px);
  }

.day-past-number {
    font-size: 14px;
  }

.day-past-label {
    white-space: normal;
  }

.day-reveal-script {
    font-size: clamp(9px, 2.3vw, 18px);
  }

.day-reveal-date {
    font-size: clamp(7px, 1.7vw, 13px);
  }

}

@media (max-width: 767px) {
.advent-script {
    font-size: clamp(80px, 13.2vw, 96px);
    line-height: .92;
    margin-bottom: -18px;
  }

.advent h1 {
    margin-top: 0;
  }

}

@media (max-width: 767px) {
.calendar-days {
    row-gap: 0;
    gap: 0;
  }

}

@media (min-width: 1100px) and (max-height: 850px) {
.form-dialog-content { padding: 55px 42px 54px; }

.form-dialog h2 { font-size: 30px; line-height: 1.16; margin-bottom: 9px; }

.form-dialog .form-dialog-intro { font-size: 17px; line-height: 1.3; margin-bottom: 30px; }

.form-dialog .lead-form { gap: 20px; }

.form-dialog .lead-form > input:not([type="hidden"]) { height: 48px; min-height: 48px; font-size: 16px; padding: 9px 14px; }

.form-dialog .form-dialog-consent { font-size: 15px; line-height: 1.28; gap: 11px; margin-top: 5px; }

.form-dialog .form-dialog-consent input { width: 18px; height: 18px; flex-basis: 18px; }

.form-dialog .form-dialog-consent input:checked::after { width: 7px; height: 7px; }

.form-dialog .submit-button { height: 48px; min-height: 48px; font-size: 16px; }

}

@media (min-width: 768px) and (max-height: 540px) {
.form-dialog { max-height: calc(100dvh - 24px); }

.form-dialog-content { padding-top: 18px; padding-bottom: 18px; }

}

@media (min-width: 768px) and (max-width: 1099px) {
.form-dialog {
    width: min(900px, calc(100vw - 70px), calc((100dvh - 90px) * 1.849));
    height: auto;
    aspect-ratio: 1380 / 746;
    max-height: calc(100dvh - 40px);
  }

.form-dialog-content {
    padding: 30px 25px 25px;
    overflow-y: auto;
  }

.form-dialog h2 { font-size: 24px; margin-bottom: 12px; }

.form-dialog .form-dialog-intro { margin-bottom: 15px; font-size: 15px; line-height: 1.3; }

.form-dialog .lead-form { gap: 8px; }

.form-dialog .lead-form > input:not([type="hidden"]) { height: 43px; min-height: 43px; font-size: 15px; padding: 8px 13px; }

.form-dialog .form-dialog-consent { font-size: 13px; line-height: 1.32; gap: 10px; margin-top: 10px; }

.form-dialog .form-dialog-consent input { width: 16px; height: 16px; flex-basis: 16px; }

.form-dialog .form-dialog-consent input:checked::after { width: 6px; height: 6px; }

.form-dialog .submit-button { height: 44px; min-height: 44px; margin-top: auto; font-size: 15px; }

}

@media (max-width: 767px) {
.site-header {
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 16px 22px;
    height: 66px;
    gap: 8px;
    background: transparent;
    color: #050f13;
  }

.site-header .brand-logo {
    display: none;
  }

.site-header .header-left {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

.site-header .header-right {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

.site-header .menu-toggle {
    color: #000;
    width: 26px;
    height: 22px;
    padding: 0;
  }

.site-header .menu-toggle span {
    height: 1px;
  }

.hero-wordmark {
    display: block;
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
   top: clamp(40px, 7svh, 58px);
    text-align: center;
    pointer-events: none;
    font: 400 clamp(55px, 12vw, 80px)/1 Arial, sans-serif;
    letter-spacing: -.065em;
    color: #020b10;
  }

.hero-picture {
    background-position: center center;
  }

.hero-caption {
    max-width: 320px;
    bottom: 8%;
    font-size: clamp(12px, 3.2vw, 17px);
  }

.mobile-menu-dimmer:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 79;
    background: rgba(0,0,0,.32);
  }

.site-menu:not([hidden]) {
    top: 12px;
    right: 12px;
    bottom: auto;
    left: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 80;
  }

.site-menu-head {
    display: flex;
    align-items: center;
    gap: 10px;
  }

.site-menu-head .site-menu-logo {
    display: block;
    flex: 0 0 auto;
    text-transform: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: 400 25px/1 Arial, sans-serif;
    letter-spacing: -.06em;
    text-decoration: none;
    color: #091011;
  }

.site-menu-head .site-menu-phone {
    display: block;
    margin: auto;
    padding: 0;
    border: 0;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    color: #171d20;
  }

.site-menu-close {
    display: block;
    background: none;
    border: 0;
    font: 300 29px/1 Arial,sans-serif;
    padding: 0;
  }

.site-menu-appointment {
    width: 100%;
    border-radius: 0;
    padding: 11px 7px;
    text-align: center;
    font: 400 13px/1.3 var(--sans);
    color: #222;
  }

.site-menu-photo {
    position: relative;
    display: block !important;
    width: 100%;
    aspect-ratio: .65;
    padding: 0 !important;
    margin: 0;
    border: 0 !important;
    color: #fff;
    overflow: hidden;
  }

.site-menu-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 59% center;
  }

.site-menu-photo::after {
    content: "";
    position: absolute;
    inset: 62% 0 0;
    background: linear-gradient(transparent,rgba(0,0,0,.47));
  }

.site-menu-photo span {
    position: absolute;
    z-index: 1;
    bottom: 8%;
    left: 7%;
    right: 7%;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font: 400 clamp(12px,3vw,17px)/1.3 var(--sans);
  }

.zen-menu-open {
    overflow: hidden;
  }

.zen-menu-open .site-header {
    visibility: hidden;
  }

.form-dialog {
    display: block;
    width: min(390px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    height: fit-content;
    aspect-ratio: auto;
    min-height: 0;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

.form-dialog:not([open]) { display: none; }

.form-dialog-photo { display: none; }

.form-dialog-content {
    padding: 40px 22px 25px;
    min-height: 0;
  }

.form-dialog h2 {
    max-width: 280px;
    margin-bottom: 16px;
    font-size: 25px;
    line-height: 1.16;
  }

.form-dialog .form-dialog-intro {
    margin-bottom: 27px;
    font-size: 14px;
    line-height: 1.4;
  }

.form-dialog .lead-form { gap: 12px; }

.form-dialog .lead-form > input:not([type="hidden"]) {
    height: 48px;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 14px;
  }

.form-dialog .form-dialog-consent {
    margin-top: 14px;
    font-size: 12px;
    gap: 10px;
    line-height: 1.38;
  }

.form-dialog .form-dialog-consent + .form-dialog-consent { margin-top: 2px; }

.form-dialog .form-dialog-consent input { width: 16px; height: 16px; flex-basis: 16px; }

.form-dialog .form-dialog-consent input:checked::after { width: 6px; height: 6px; }

.form-dialog .submit-button {
    margin-top: 24px;
    height: 48px;
    min-height: 48px;
    font-size: 14px;
  }

.form-dialog .dialog-close { top: 12px; right: 12px; width: 30px; height: 30px; font-size: 18px; }

}

@media (max-width: 370px) {
.site-menu:not([hidden]) {
    padding: 10px 20px;
  }

.site-menu-appointment {
    margin-top: 14px;
  }

}

@media (min-width: 768px) and (max-width: 1399px) {
.calendar-day[data-day] .day-reveal-script {
    font-size: clamp(25px, 3vw, 42px);
  }

}

@media (hover: hover) and (pointer: fine) {
.calendar-day[data-day]:hover > .day-reveal,
  .calendar-day[data-day]:focus-visible > .day-reveal {
    opacity: 1 !important;
    visibility: visible;
  }

}

@media (max-width: 767px) {
.calendar-day[data-day] > .day-reveal {
    gap: clamp(3px, 1vw, 8px);
    padding: 3px 1px;
  }

.calendar-day[data-day] .day-reveal-script {
    line-height: .78;
  }

.calendar-day[data-day] .day-reveal-underline {
    width: 72%;
    height: 6px;
  }

}

@media (max-width: 390px) {
.calendar-day[data-day] .day-reveal-script {
    font-size: clamp(7px, 1.4vw, 11px);
  }

}

@media (prefers-reduced-motion: reduce) {
.calendar-day[data-day] > .day-reveal {
    transition: none;
  }

}

@media (max-width: 767px) {
.site-menu:not([hidden]) {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: min(430px, 100vw) !important;
    bottom: auto !important;
  }

.site-menu-head {
    flex: 0 0 auto;
   
    margin-bottom: 8px;
  }

.site-menu-head .site-menu-logo {
    font-size: 27px;
  }

.site-menu-close {
    font-size: 35px;
    width: 32px;
    height: 38px;
    margin-left: 7px;
  }

.site-menu-appointment {
    flex: 0 0 auto;
    min-height: 50px !important;
    margin: 17px 0 20px !important;
    font-size: clamp(12px, 3.6vw, 16px) !important;
    letter-spacing: -.025em;
    background: transparent !important;
    border: 1px solid #101818 !important;
  }

.site-menu .site-menu-photo {
    display: block !important;
    position: relative !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: #80a2b6;
  }

.site-menu .site-menu-photo img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 51% 50% !important;
    transform: scale(1.18);
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
  }

.site-menu:not([hidden]) .site-menu-photo img {
    transform: scale(1);
  }

.site-menu .site-menu-photo::after {
    inset: 55% 0 0;
    pointer-events: none;
  }

.site-menu .site-menu-photo span {
    position: absolute !important;
    display: block !important;
    z-index: 2 !important;
    left: 6% !important;
    right: 6% !important;
    bottom: clamp(14px, 5.5vh, 46px) !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: clamp(12px,3.45vw,19px) !important;
    color: white !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }



.hero-picture {
    /* Компенсация сдвига вверх: не открываем фон под фото. */
    bottom: min(0px, var(--zen-hero-shift, 0px));
    transform: translate3d(0, var(--zen-hero-shift, 0px), 0) scale(var(--zen-hero-zoom, 1.12)) !important;
    transform-origin: 50% 45%;
    will-change: transform;
  }

.hero-wordmark {
    transform: translate3d(0, var(--zen-title-shift, 0px), 0);
    opacity: var(--zen-title-opacity, 1);
    will-change: transform, opacity;
  }

.hero-caption {
    transform: translate3d(0, var(--zen-caption-shift, 0px),0);
  }

.snow {
    transform: translate3d(0, var(--zen-snow-shift, 0px),0);
  }

}

@media (max-width: 767px) and (max-height: 500px) {
.site-menu-appointment {
    margin: 5px 0 8px !important;
    min-height: 38px !important;
  }

.site-menu-head {
    min-height: 32px;
  }

}

@media (prefers-reduced-motion: reduce) {
.hero, .hero-picture, .hero-wordmark, .hero-caption, .site-menu .site-menu-photo img {
    transition: none !important;
    will-change: auto !important;
  }

}

@media (max-width: 767px) {
.calendar-day[data-day] .date-gift-icon,
  .calendar-day .day-face.day-face-gift .date-gift-icon,
  .calendar-day .day-face-gift .date-gift-icon {
    width: clamp(22px, 7vw, 38px) !important;
    max-width: 74%;
  }

.day-past-static {
    gap: 4px;
    padding: 6% 2% 5% !important;
  }

.day-past-static .date-gift-icon {
    width: clamp(16px, 5vw, 24px) !important;
  }

.day-past-label {
    font-size: 6px !important;
  }

}

@media (max-width: 767px) {
.gift-dialog {
    width: calc(100vw - 28px);
    padding: 36px 19px 32px;
  }

.gift-dialog .modal-gift-icon {
    width: 54px;
  }

.gift-dialog .gift-script {
    font-size: 31px;
    margin-bottom: 15px;
  }

.gift-dialog #gift-title {
    font-size: clamp(21px, 5.1vw, 29px);
    line-height: 1.3;
  }

.gift-dialog .gift-description {
    font-size: 12px;
    margin-bottom: 24px;
  }

.gift-dialog .dialog-close {
    top: 10px;
    right: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
.gift-dialog .gift-cta {
    transition: none;
  }

}

@media (max-width: 767px) {
.page-scrolled .site-header {
  position: fixed !important; 
        grid-template-columns: 60px minmax(0, 1fr) 40px !important;
       
        height: 58px !important;
        padding: 5px 20px !important;
      
  }

.page-scrolled .site-header .brand-logo {
    display: flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
  }

.page-scrolled .site-header .brand-logo-svg {
    display: block !important;
    width: 68px !important;
    height: auto !important;
  }

.page-scrolled .site-header .header-left {
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
   
  }

.page-scrolled .site-header .header-phone {
    display: block !important;
    font-size: 14px;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    color: #091011 !important;
  }

.page-scrolled .site-header .header-right {
    display: flex !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

.page-scrolled .site-header .menu-toggle {
    display: flex !important;
    width: 25px !important;
    height: 22px !important;
    margin: 0 !important;
  }

}

@media (max-width: 370px) {
.page-scrolled .site-header .brand-logo-svg {
    width: 58px !important;
  }

}

@media (max-width: 850px) and (min-width: 768px) {
#gift-dialog.gift-dialog > .gift-dialog-content {
    gap: clamp(16px, 3vw, 39px) ;
  }

#gift-dialog.gift-dialog #gift-title {
    font-size: clamp(26px, 4.3vw, 40px) ;
  }

#gift-dialog.gift-dialog .gift-description {
    font-size: clamp(15px, 2.7vw, 24px) ;
  }

}

@media (max-height: 540px) and (min-width: 768px) {
#gift-dialog.gift-dialog {
    height: calc(100dvh - 24px) ;
  }

#gift-dialog.gift-dialog > .gift-dialog-content {
    gap: 16px ;
  }

#gift-dialog.gift-dialog .modal-gift-icon {
    width: 66px ;
    height: 66px ;
  }

#gift-dialog.gift-dialog .gift-script {
    font-size: 41px ;
    height: 39px ;
    line-height: 39px ;
  }

#gift-dialog.gift-dialog #gift-title {
    font-size: 30px ;
  }

#gift-dialog.gift-dialog .gift-description {
    font-size: 18px ;
  }

}

@media (max-width: 767px) {
.advent-heading p {
    max-width: 430px;
	font-size:18px
  ;}

.calendar {
    width: 100% !important;
    overflow: visible !important;
  }

.calendar-weekdays, .calendar-days {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0,1fr)) !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.weekday-full {
    display: none !important;
  }

.weekday-short {
    display: block !important;
  }

.calendar-weekdays > div {
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    font: 400 clamp(9px, 2.6vw, 12px)/1 "Prata", Georgia, serif !important;
    letter-spacing: 0 !important;
  }

.calendar-days > .calendar-day {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    aspect-ratio: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: var(--paper) !important;
    border-right: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

.calendar-days > .calendar-day::after {
    content: "";
    display: block;
    padding-top: 140%;
    pointer-events: none;
  }

.calendar-days > .calendar-separator {
    box-sizing: border-box !important;
    height: 10px !important;
    min-height: 10px !important;
    border-right: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    background: var(--paper) !important;
  }

.calendar-days > .calendar-day-blank {
    visibility: visible !important;
    pointer-events: none !important;
  }

.calendar-days > .calendar-day[data-day] > .day-face {
    font-size: 6.8vw !important;
    line-height: 1 !important;
  }

.calendar-days > .calendar-day[data-day] .date-gift-icon {
    width: clamp(24px, 7vw, 38px) !important;
    max-width: 90% !important;
    height: auto !important;
  }

.calendar-days > .calendar-day-past .day-past-static {
    inset: 0 !important;
    gap: 2px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-evenly !important;
    padding: 4px 1px !important;
  }

.calendar-days > .calendar-day-past .day-past-number {
    font-size: 14px !important;
  }

.calendar-days > .calendar-day-past .date-gift-icon {
    width: clamp(15px,4vw,23px) !important;
  }

.calendar-days > .calendar-day-past .day-past-label {
    font-size: 6px !important;
  }

.calendar-day[data-day] > .day-reveal {
    z-index: 2 !important;
  }

.calendar-day[data-day] .day-reveal-script {
    font-size: clamp(8px, 2.2vw, 13px) !important;
  }

#gift-dialog.gift-dialog[open] {
    width: min(370px, calc(100vw - 30px)) ;
    max-width: calc(100vw - 30px) ;
    height: auto ;
    max-height: calc(100dvh - 32px) ;
    overflow-x: hidden ;
    overflow-y: auto ;
    padding: 35px 20px 30px ;
    display: block ;
  }

#gift-dialog.gift-dialog:not([open]) {
    display: none ;
  }

#gift-dialog.gift-dialog > .gift-dialog-content {
    width: 100% ;
    max-width: 100% ;
    height: auto ;
    gap: 18px ;
  }

#gift-dialog.gift-dialog .gift-dialog-top {
    gap: 7px ;
  }

#gift-dialog.gift-dialog .modal-gift-icon {
    width: 62px ;
    height: 63px ;
    max-height: none ;
  }

#gift-dialog.gift-dialog .gift-script {
    font-size: 36px ;
    line-height: 37px ;
    height: 37px ;
  }

#gift-dialog.gift-dialog .gift-dialog-info {
    gap: 9px ;
  }

#gift-dialog.gift-dialog #gift-title {
    font-size: clamp(22px, 5.8vw, 28px) ;
    line-height: 1.18 ;
  }

#gift-dialog.gift-dialog .gift-description {
    font-size: 13px ;
    line-height: 1.45 ;
  }

#gift-dialog.gift-dialog .gift-cta {
    width: 168px ;
    min-width: 168px ;
    height: 42px ;
    min-height: 42px ;
    font-size: 12px ;
  }

#gift-dialog.gift-dialog > .dialog-close {
    width: 28px ;
    height: 28px ;
    top: 9px ;
    right: 9px ;
    font-size: 17px ;
  }

#gift-dialog.gift-dialog.gift-dialog--long > .gift-dialog-content {
    gap: 13px ;
  }

#gift-dialog.gift-dialog.gift-dialog--long #gift-title {
    font-size: 22px ;
  }

#gift-dialog.gift-dialog.gift-dialog--long .gift-description {
    font-size: 12px ;
  }

}

@media (max-width: 767px) {
.site-menu .site-menu-photo {
    display: none !important;
  }

}

/* Сохраняем мобильный футер: в исходном CSS позднее базовое правило
   перекрывало ранний медиа-запрос. После группировки восстановлен итоговый вид. */
@media (max-width: 767px) {
  .site-footer {
    display: block;
    padding: clamp(36px, 4vw, 70px) clamp(22px, 3vw, 60px) 34px;
    font: 300 13px/1.5 var(--sans);
  }
}

/* ZEN v27 — декоративные снежинки в заголовке на узких экранах. */
@media (max-width: 767px) {
  .advent {
    background-size: auto 235px;
  }
}

/* ZEN v30 — адаптивный внутренний контейнер заявки. */
@media (max-width: 767px) {
 .contact >  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
}

/* Мобильная сетка: декоративный угол без бордовых внутренних линий. */
@media (max-width: 767px) {
  .calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank {
    border-right: 0 !important;
    border-bottom: 0 !important;
  }
  .calendar-days > .calendar-day[data-day="31"] + .calendar-day-blank ~ .calendar-day-blank {
    display: none !important;
  }
}
/* Убираем стандартную обводку Chrome при фокусе */

#zen-footer-form input:focus,
#zen-footer-form input:focus-visible,
#zen-meeting-form input:focus,
#zen-meeting-form input:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
}



#zen-discount-btn {
  position: fixed !important;
  z-index: 65;
  left: auto !important;
  right: calc(24px + env(safe-area-inset-right, 0px)) !important;
  top: auto !important;
  bottom: calc(26px + env(safe-area-inset-bottom, 0px)) !important;
  width: max-content;
  max-width: calc(100vw - 32px);
  min-width: 0;
  min-height: 54px;
  padding: 13px 32px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 0 !important;
  background: #8c303a;
  color: #fff;
  font: 400 19px/1.2 var(--sans, Inter, Arial, sans-serif);
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer;
  transform: scale(1);
  transform-origin: right center;
  animation: zen-discount-pulse 3s ease-in-out infinite;
}
#zen-discount-btn span {font-size:18px;}
#zen-discount-btn[hidden], .zen-menu-open #zen-discount-btn { display: none !important; }
#zen-discount-btn img { width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; }
#zen-discount-btn::before {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  inset: -50% auto -50% -50%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), rgba(255,255,255,.08), transparent);
  transform: skewX(-22deg) translateX(-150%);
  animation: zen-discount-shine 4.3s ease-in-out infinite;
}
#zen-discount-btn:hover, #zen-discount-btn:focus-visible { background: #792630; }
#zen-discount-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes zen-discount-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(.92); }
}
@keyframes zen-discount-shine {
  0%, 22% { transform: skewX(-22deg) translateX(-150%); }
  64%, 100% { transform: skewX(-22deg) translateX(600%); }
}
/* Reserve space at the end so the floating CTA does not obscure the final footer text. */
.site-footer { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
.zen-application-gift { display: none; }
#form-dialog.form-dialog--application[open] {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  max-width: none;
  height: auto;
  aspect-ratio: 1380 / 746;
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 0;
  background: #efefeb;
  color: #020a0a;
  overflow: hidden;
}
#form-dialog.form-dialog--application::backdrop { background: rgba(4,12,14,.65); }
#form-dialog.form-dialog--application .form-dialog-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  background: #8c303a;
  overflow: hidden;
}
#form-dialog.form-dialog--application .form-dialog-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/zen-application-snow.png") center / 100% 100% no-repeat;
  opacity: .85;
}
#form-dialog.form-dialog--application .zen-application-gift {
  position: relative;
  display: block;
  width: 50%;
  max-height: 65%;
  height: auto;
  object-fit: contain;
}
#form-dialog.form-dialog--application .form-dialog-content {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(36px,4.15vw,82px) clamp(24px,3vw,76px) clamp(25px,4vw,80px);
  overflow-y: auto;
  scrollbar-width: thin;
}
#form-dialog.form-dialog--application h2 {
  font-family: Prata, Georgia, serif;
  font-size: clamp(22px,2.1vw,36px);
  line-height: 1.24;
  font-weight: 400;
  margin: 0 0 18px;
  max-width: none;
  letter-spacing: -.03em;
}
#form-dialog.form-dialog--application .form-dialog-intro {
  margin: 0 0 clamp(18px,2.2vw,38px);
  font: 400 clamp(13px,1vw,18px)/1.4 var(--sans, Inter, Arial, sans-serif);
  color: #020a0a;
}
#form-dialog.form-dialog--application .lead-form {
  flex: 1 0 auto;
  gap: 0;
  min-height: 0;
}
#form-dialog.form-dialog--application .lead-form > input:not([type="hidden"]) {
  height: clamp(40px,3vw,55px);
  min-height: clamp(40px,3vw,55px);
  padding: 8px 20px;
  font: 400 clamp(14px,1vw,18px)/1.35 var(--sans, Inter, Arial, sans-serif);
  border: 1px solid #a6a6a4;
  margin: 0 0 13px;
  background: transparent;
}
#form-dialog.form-dialog--application .form-dialog-consent {
  margin: 8px 0 12px;
  gap: 12px;
  font: 400 clamp(12px,1vw,17px)/1.4 var(--sans, Inter, Arial, sans-serif);
}
#form-dialog.form-dialog--application .form-dialog-consent input {
  width: 19px; height: 19px; flex: 0 0 19px;
}
#form-dialog.form-dialog--application .submit-button {
  margin: auto 0 0;
  min-height: 42px;
  height: clamp(42px,3vw,55px);
  font: 400 clamp(14px,1vw,18px)/1.35 var(--sans, Inter, Arial, sans-serif);
  border: 1px solid #020a0a;
  background: transparent;
  color: #020a0a;
}
#form-dialog.form-dialog--application .submit-button:hover { background: #020a0a; color: #fff; }
#form-dialog.form-dialog--application .dialog-close {
  top: 16px; right: 16px; width: 36px; height: 36px;
  background: #e0ddd7; border: 0; color: #020a0a;
  font: 300 24px/1 Arial,sans-serif;
}
/* Keep native inline red highlighting; hide redundant SendIt text in these two forms. */
#zen-meeting-form [data-si-error], #zen-footer-form [data-si-error] { display: none !important; }
#zen-meeting-form .zen-field-invalid, #zen-footer-form .zen-field-invalid,
#zen-meeting-form .zen-consent-invalid input, #zen-footer-form .zen-consent-invalid input,
#zen-meeting-form .si-error, #zen-footer-form .si-error { border-color: #b32837 !important; outline: 1px solid #b32837; }
#zen-meeting-form .zen-consent-invalid, #zen-footer-form .zen-consent-invalid { color: #b32837 !important; }
/* Only hide local validation warning; preserve actual server errors. */
#zen-meeting-form .form-status:not(.zen-server-error), #zen-footer-form .form-status:not(.zen-server-error) { display: none !important; }
#zen-meeting-form .form-status.zen-server-error { color: #a32232; font-size: 13px !important; }
#zen-thanks-dialog { border: 0; border-radius: 0; padding: 40px 28px; width: min(440px,calc(100vw - 32px)); box-sizing: border-box; background: #efefeb; color: #020a0a; text-align: center; }
#zen-thanks-dialog:not([open]) { display: none; }
#zen-thanks-dialog::backdrop { background: rgba(4,12,14,.65); }
#zen-thanks-dialog .zen-thanks-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; background: #e0ddd7; border: 0; font: 24px/1 Arial,sans-serif; cursor: pointer; }
#zen-thanks-dialog .zen-thanks-icon { color: #8c303a; margin: 0 auto 16px; }
#zen-thanks-dialog h2 { font: 400 30px/1.25 Prata,Georgia,serif; margin: 0 0 12px; }
#zen-thanks-dialog p { margin: 0 0 22px; font: 400 15px/1.5 var(--sans,Inter,Arial,sans-serif); }
#zen-thanks-dialog .zen-thanks-ok { border: 1px solid #020a0a; padding: 12px 28px; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 767px) {
  /* ZEN — первый экран на мобильных, по макету. */
  #zen-discount-btn {
    left: calc(20px + env(safe-area-inset-left, 0px)) !important;
    right: calc(20px + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto;
    max-width: none;
    min-height: 54px;
    padding: 12px 10px;
    font-size: clamp(14px, 4.35vw, 18px);
    gap: 10px;
    transform-origin: center center;
  }
  #zen-discount-btn img {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
  .hero .hero-caption {
    left: calc(20px + env(safe-area-inset-left, 0px));
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    max-width: 350px;
    margin: 0 auto;
    font-size: clamp(14px, 4.2vw, 18px);
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
  }
  #form-dialog.form-dialog--application[open] { display: block; width: min(440px,calc(100vw - 40px)); height: auto; max-height: calc(100dvh - 24px); aspect-ratio: auto; overflow-y: auto; }
  #form-dialog.form-dialog--application .form-dialog-photo { display: none; }
  #form-dialog.form-dialog--application .form-dialog-content { padding: 55px 20px 30px; overflow: visible; }
  #form-dialog.form-dialog--application h2 { font-size: clamp(27px,7.5vw,38px); max-width: 260px; line-height: 1.22; margin-bottom: 18px; }
  #form-dialog.form-dialog--application .form-dialog-intro { font-size: 16px; margin-bottom: 27px; line-height: 1.4; }
  #form-dialog.form-dialog--application .lead-form > input:not([type="hidden"]) { height: 52px; min-height: 52px; font-size: 16px; padding: 10px 15px; margin-bottom: 10px; }
  #form-dialog.form-dialog--application .form-dialog-consent { font-size: 15px; line-height: 1.4; margin: 18px 0 0; gap: 15px; }
  #form-dialog.form-dialog--application .form-dialog-consent input { width: 24px; height: 24px; flex: 0 0 24px; }
  #form-dialog.form-dialog--application .submit-button { margin: 30px 0 0; height: 52px; min-height: 52px; font-size: 16px; }
  #form-dialog.form-dialog--application .dialog-close { top: 10px; right: 10px; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { #zen-discount-btn, #zen-discount-btn::before { animation: none; } }

.iziToast-wrapper {
  display: none !important;
}



/* ZEN — только страница политики. Основной CSS не изменяется. */
body.zen-policy-page .site-header {
    background: #f1f1ed;
    color: #020a0a;
    box-shadow: 0 1px 0 rgba(2,10,10,.12);
}
.zen-policy {
    --policy-paper: #f1f1ed;
    --policy-ink: #020a0a;
    --policy-accent: #8c303a;
    --policy-line: #d4d0ca;
    --policy-muted: #666965;
    background: var(--policy-paper);
    color: var(--policy-ink);
    font-family: var(--sans, "Inter", Arial, sans-serif);
    padding: 122px clamp(20px, 5vw, 100px) clamp(48px, 7vw, 100px);
    min-height: 75vh;
}
.zen-policy__container { max-width: 1440px; margin: 0 auto; }
.zen-policy__breadcrumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
    font-size: 13px; color: var(--policy-muted);
}
.zen-policy__breadcrumbs a { text-decoration: none; }
.zen-policy__breadcrumbs a:hover { color: var(--policy-accent); text-decoration: underline; }
.zen-policy__heading {
    text-align: center;
    padding: clamp(34px, 5vw, 76px) 0 clamp(36px, 5vw, 72px);
}
.zen-policy__heading::after {
    content: ""; display: block; width: 72px; height: 1px;
    margin: 28px auto 0; background: var(--policy-accent);
}
.zen-policy__eyebrow {
    color: var(--policy-accent); font: 400 13px/1.5 var(--sans, "Inter", Arial, sans-serif);
    text-transform: uppercase; letter-spacing: .14em; margin: 0 0 20px;
}
.zen-policy__heading h1 {
    max-width: 1100px; margin: 0 auto;
    font: 400 clamp(29px, 3.4vw, 58px)/1.25 var(--display, "Prata", Georgia, serif);
    overflow-wrap: anywhere;
}
.zen-policy__layout {
    display: grid; grid-template-columns: minmax(0, 1fr);
    align-items: start; gap: clamp(32px, 5vw, 90px);
}
.zen-policy__layout.has-toc { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
.zen-policy__sidebar { min-width: 0; position: sticky; top: 105px; max-height: calc(100vh - 130px); overflow-y: auto; padding-right: 18px; }
.zen-policy__sidebar[hidden] { display: none !important; }
.zen-policy__toc-title {
    margin: 0 0 20px; color: var(--policy-accent); font-size: 12px;
    font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.zen-policy__toc-list { list-style: none; margin: 0; padding: 0; }
.zen-policy__toc-list li { margin: 0; padding: 0; }
.zen-policy__toc-list a {
    display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 8px;
    padding: 9px 0; color: var(--policy-muted); text-decoration: none;
    font-size: 13px; line-height: 1.45; transition: color .2s;
}
.zen-policy__toc-list a:hover, .zen-policy__toc-list a[aria-current="location"] { color: var(--policy-accent); }
.zen-policy__toc-list a span:first-child { font-variant-numeric: tabular-nums; }
.zen-policy__content {
    width: 100%; max-width: 920px; margin: 0 auto; min-width: 0;
    font-size: 16px; line-height: 1.75; overflow-wrap: anywhere;
}
.has-toc .zen-policy__content { border-left: 1px solid var(--policy-line); padding-left: clamp(24px, 3vw, 56px); margin-left: 0; }
.zen-policy__content h2, .zen-policy__content h3 {
    font-family: var(--display, "Prata", Georgia, serif); font-weight: 400; line-height: 1.35;
    margin: 40px 0 20px; color: var(--policy-ink); scroll-margin-top: 110px;
}
.zen-policy__content h2 { font-size: clamp(23px, 2vw, 32px); border-top: 1px solid var(--policy-line); padding-top: 30px; }
.zen-policy__content h3 { font-size: clamp(20px, 1.6vw, 25px); }
.zen-policy__content > h2:first-child, .zen-policy__content > h3:first-child { border: 0; margin-top: 0; padding-top: 0; }
.zen-policy__content p { margin: 0 0 16px; }
.zen-policy__content ul, .zen-policy__content ol { margin: 0 0 22px; padding-left: 24px; }
.zen-policy__content li { margin: 0 0 7px; padding-left: 4px; }
.zen-policy__content li::marker { color: var(--policy-accent); }
.zen-policy__content a { color: var(--policy-accent); text-underline-offset: 4px; }
.zen-policy__content [id] { scroll-margin-top: 110px; }
.zen-policy__bottom {
    margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--policy-line);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px;
    font-size: 14px;
}
.zen-policy__bottom a { color: var(--policy-accent); text-decoration: none; }
.zen-policy__bottom a:hover { text-decoration: underline; }
.zen-policy a:focus-visible { outline: 2px solid var(--policy-accent); outline-offset: 3px; }
@media (max-width: 900px) {
    .zen-policy__layout.has-toc { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .zen-policy__sidebar { position: static; max-height: none; overflow: visible; padding: 20px; border: 1px solid var(--policy-line); }
    .has-toc .zen-policy__content { padding-left: 0; border-left: 0; margin: 0 auto; }
}
@media (max-width: 767px) {
    .zen-policy { padding: 86px 20px 44px; }
    .zen-policy__heading { text-align: left; padding: 35px 0; }
    .zen-policy__heading::after { margin-left: 0; }
    .zen-policy__heading h1 { font-size: clamp(26px, 6vw, 34px); }
    .zen-policy__desktop-break { display: none; }
    .zen-policy__content { font-size: 15px; line-height: 1.7; }
    .zen-policy__content h2 { margin-top: 30px; padding-top: 24px; }
    .zen-policy__content [id] { scroll-margin-top: 80px; }
}
@media print {
    body.zen-policy-page .site-header, body.zen-policy-page .site-footer,
    body.zen-policy-page .zen-discount-btn, .zen-policy__sidebar,
    .zen-policy__breadcrumbs, .zen-policy__bottom { display: none !important; }
    .zen-policy { background: #fff; color: #000; padding: 0; }
    .zen-policy__layout.has-toc { display: block; }
    .has-toc .zen-policy__content { max-width: none; border: 0; padding: 0; }
    .zen-policy__content h2, .zen-policy__content h3 { break-after: avoid; }
}

/* ZEN — футер по макету. Только существующий блок #footer. */
#footer.site-footer {
  display: block;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 4.8vw, 92px) clamp(24px, 2.1vw, 40px)
           calc(clamp(86px, 4.8vw, 92px) + env(safe-area-inset-bottom, 0px));
  background: #f1f1ed;
  color: #020a0a;
  font: 300 13px/1.5 var(--sans, "Inter", Arial, sans-serif);
}
#footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 35%);
  align-items: stretch;
  gap: 32px;
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
}
#footer .footer-main {
  display: grid;
  grid-template-columns: 133px minmax(130px, max-content) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(24px, 2.6vw, 50px);
  row-gap: 0;
  min-width: 0;
}
#footer .footer-brand,
#footer .footer-brand svg {
  display: block;
  width: 133px;
  height: 133px;
  color: inherit;
}
#footer .footer-brand { grid-column: 1; grid-row: 1; }
#footer .footer-info,
#footer .footer-menu {
  display: grid;
  grid-template-rows: minmax(32px, auto) auto;
  align-items: start;
  align-content: start;
  gap: 26px;
  min-width: 0;
  margin: 0;
  font: inherit;
}
#footer .footer-info { grid-column: 2; grid-row: 1; }
#footer .footer-menu { grid-column: 3; grid-row: 1; }
#footer .footer-address {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  line-height: 1.3;
}
#footer .footer-phone,
#footer .footer-menu a {
  color: inherit;
  text-decoration: none;
  line-height: 1.3;
}
#footer .footer-phone { white-space: nowrap; }
#footer .footer-menu a:hover,
#footer .footer-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
#footer .footer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  gap: 20px;
}
#footer .footer-top-links {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}
#footer .footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}
#footer .footer-social a,
#footer .footer-social img {
  display: block;
  width: 34px;
  height: 34px;
}
#footer .footer-social a { transition: opacity .2s; }
#footer .footer-social a:hover { opacity: .7; }
#footer .footer-developer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.12;
  text-align: center;
  align-self: auto;
}
#footer .footer-developer svg { display: block; width: 80px; height: 54px; }
#footer .footer-legal {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  max-width: 480px;
  margin: 0;
  color: #777873;
  text-align: right;
  font: 300 10px/1.25 var(--sans, "Inter", Arial, sans-serif);
}
#footer a:focus-visible { outline: 2px solid #8c303a; outline-offset: 4px; }

/* Планшеты: сохраняем левую группу, правую переносим ниже. */
@media (min-width: 768px) and (max-width: 1099px) {
  #footer .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  #footer .footer-main { grid-template-columns: 110px minmax(130px, max-content) minmax(0, 1fr); }
  #footer .footer-brand, #footer .footer-brand svg { width: 110px; height: 110px; }
}

/* Смартфоны: две колонки вверху, документы и нижняя группа — отдельно. */
@media (max-width: 767px) {
  #footer.site-footer {
    padding: 40px 20px calc(106px + env(safe-area-inset-bottom, 0px));
  }
  #footer .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  #footer .footer-main { grid-template-columns: 104px minmax(0, 1fr); gap: 24px 18px; }
  #footer .footer-brand, #footer .footer-brand svg { width: 104px; height: 104px; }
  #footer .footer-info { grid-column: 2; grid-row: 1; gap: 18px; }
  #footer .footer-menu { grid-column: 1 / -1; grid-row: 2; grid-template-rows: auto auto; gap: 12px; }
  #footer .footer-side { gap: 24px; }
  #footer .footer-top-links { justify-content: space-between; align-items: flex-end; }
  #footer .footer-developer { font-size: 11px; }
  #footer .footer-developer svg { width: 60px; height: 41px; }
  #footer .footer-legal { text-align: left; max-width: none; font-size: 10px; }
  #footer .footer-legal br { display: none; }
}



/* ZEN: календарь первым, баннер вторым. Добавить в конец основного CSS. */
body.zen-calendar-first #site-header {
    background: var(--paper, #f1f1ed);
    color: var(--ink, #020a0a);
}
body.zen-calendar-first .zen-calendar-first-main {
    padding-top: 92px;
}
@media (max-width: 767px) {
    body.zen-calendar-first .zen-calendar-first-main {
        padding-top: 58px;
    }
    body.zen-calendar-first #site-header {
        grid-template-columns: 68px minmax(0, 1fr) 39px !important;
        height: 58px !important;
        padding: 5px 20px !important;
    }
    body.zen-calendar-first #site-header .brand-logo {
        display: flex !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        align-self: center !important;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
    }
    body.zen-calendar-first #site-header .brand-logo-svg {
        width: 68px !important;
        height: auto !important;
    }
    body.zen-calendar-first #site-header .header-left {
        display: flex !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: center !important;
    }
    body.zen-calendar-first #site-header .header-phone {
        font-size: 14px;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
    body.zen-calendar-first #site-header .header-right {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: center !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
    body.zen-calendar-first #site-header .menu-toggle {
        width: 25px !important;
        height: 22px !important;
        margin: 0 !important;
    }
}
@media (max-width: 370px) {
    body.zen-calendar-first #site-header .brand-logo-svg {
        width: 58px !important;
    }
}

/* Отступ между блоком с изображением и футером */
.contact {
    margin-top: 60px;
}

/* Мобильная версия */
@media (max-width: 767px) {
    .contact {
        margin-top: 30px;
    }
}



* ZEN: styles scoped to the burger; load AFTER existing style.css. */
#site-header #menu-toggle {
  display:flex !important;
  flex:0 0 34px;
  width:34px !important;
  height:34px !important;
  padding:0 !important;
  gap:0;
  border:0;
  background:transparent;
  flex-direction:column;
  justify-content:space-between;
  color:inherit;
}
#site-header #menu-toggle span { display:block; width:100%; height:1px !important; background:currentColor; }
#site-header #menu-toggle { padding-block:4px !important; }
@media (min-width:768px) {
  #site-header .header-right { gap:clamp(10px,1.3vw,20px); }
}
body.zen-menu-open { overflow:hidden; }
body.zen-menu-open #site-header { visibility:hidden; }
body.zen-menu-open #zen-discount-btn { display:none !important; }
#mobile-menu-dimmer { display:none !important; }
#site-menu.zen-burger-menu[hidden] { display:none !important; }
#site-menu.zen-burger-menu:not([hidden]) {
  display:grid !important;
  grid-template-columns:minmax(0,34%) minmax(0,66%);
  grid-template-rows:auto minmax(min-content,1fr) auto;
  align-items:center;
  position:fixed !important;
  inset:0 !important;
  width:100% !important;
  max-width:none !important;
  height:100vh !important;
  height:100dvh !important;
  max-height:none !important;
  margin:0 !important;
  padding:40px !important;
  gap:20px;
  box-sizing:border-box;
  background:#f1f1ed !important;
  color:#020a0a;
  font-family:"CoFo Gothic VF Trial", var(--sans, Arial, sans-serif);
  font-weight:200;
  font-size:16px;
  line-height:1.375;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  z-index:100 !important;
  transform:none !important;
  animation:zenBurgerAppear .2s ease-out;
}
@keyframes zenBurgerAppear { from {opacity:0;} to {opacity:1;} }
#site-menu.zen-burger-menu a {
  color:inherit;
  text-decoration:none;
  border:0;
  margin:0;
  padding:0;
  background:transparent;
  font:inherit;
  text-transform:none;
}
#site-menu .zen-burger-title { grid-area:1/1; display:block; width:60px; z-index:2; justify-self:start; }
#site-menu .zen-burger-wordmark { display:block; width:60px; height:auto; }
#site-menu .zen-burger-links { grid-area:2/1; align-self:center; position:relative; z-index:2; }
#site-menu .zen-burger-links a { display:block; width:max-content; max-width:100%; font-size:16px; line-height:1.375; text-transform:uppercase; font-weight:200; }
#site-menu .zen-burger-links a:hover, #site-menu .zen-burger-links a:focus-visible { font-weight:400; color:#020a0a; }
#site-menu .zen-burger-close {
  position:fixed !important; top:40px; right:40px;
  display:grid !important; place-items:center; width:34px; height:34px;
  margin:0; padding:0; border:0; background:transparent; color:#020a0a;
  z-index:5;
}
#site-menu .zen-burger-close svg { width:100%; height:100%; }
#site-menu .zen-burger-bottom { grid-area:3/1; z-index:2; align-self:end; }
#site-menu .zen-burger-phones { display:grid; gap:4px; font-size:16px; }
#site-menu .zen-burger-phones a { display:inline; white-space:nowrap; text-decoration:none; }
#site-menu .zen-burger-phones a:hover { text-decoration:underline; }
#site-menu .zen-burger-appointment {
  display:block; width:max-content !important; max-width:100%; min-height:0 !important;
  margin:10px 0 0 !important; padding:3px 8px !important; border:1px solid #020a0a !important;
  background:transparent !important; border-radius:0; color:#020a0a;
  font:inherit !important; text-transform:none; white-space:normal;
}
#site-menu .zen-burger-appointment:hover { background:#020a0a !important; color:#f1f1ed; }
#site-menu .zen-burger-symbol { grid-area:3/2; align-self:end; justify-self:end; }
#site-menu .zen-burger-symbol svg { display:block; width:132px; height:auto; }
#site-menu .zen-burger-gallery { position:fixed; inset:0 0 0 auto; width:66vw; pointer-events:none; z-index:3; overflow:hidden; }
#site-menu .zen-burger-gallery img { width:100%; height:100%; object-fit:cover; display:block; }
#site-menu .zen-burger-gallery img[hidden] { display:none !important; }
#site-menu.zen-burger-menu.zen-gallery-visible .zen-burger-close { color:white; filter:drop-shadow(0 1px 3px #000); }
#site-menu.zen-burger-menu :focus-visible { outline:2px solid currentColor; outline-offset:3px; }
@media (max-width:767px) {
  #site-header #menu-toggle { flex-basis:26px; width:26px !important; height:24px !important; padding-block:2px !important; }
  #site-menu.zen-burger-menu:not([hidden]) {
    display:flex !important; flex-direction:column; align-items:stretch; justify-content:flex-start;
    padding: max(24px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom)) !important;
    gap:0;
  }
  #site-menu .zen-burger-title { align-self:flex-start; flex:none; margin-bottom:22px; }
  #site-menu .zen-burger-close { top:max(24px,env(safe-area-inset-top)); right:24px; width:25px; height:25px; }
  #site-menu .zen-burger-links { flex:1 0 auto; display:flex; flex-direction:column; align-items:center; justify-content:center; width:100%; padding:0; }
  #site-menu .zen-burger-links a { padding:5px 0; line-height:1.375; text-align:center; }
  #site-menu .zen-burger-bottom { flex:none; align-self:stretch; padding-top:24px; padding-right:42px; }
  #site-menu .zen-burger-phones { font-size:clamp(12px,3.55vw,16px); }
  #site-menu .zen-burger-appointment { font-size:14px !important; }
  #site-menu .zen-burger-gallery { display:none !important; }
  #site-menu .zen-burger-symbol { align-self:flex-end; margin-top:-40px; pointer-events:none; }
  #site-menu .zen-burger-symbol svg { width:40px; height:auto; }
}
@media (min-width:768px) and (max-height:520px) {
  #site-menu.zen-burger-menu:not([hidden]) { padding:20px 40px !important; gap:12px; }
  #site-menu .zen-burger-close { top:20px; }
}
@media (prefers-reduced-motion:reduce) { #site-menu.zen-burger-menu { animation:none !important; } }


/* Фотография по умолчанию в меню ZEN */

@media (min-width: 768px) {
    #site-menu .zen-burger-gallery {
        background: url("https://zen.yard.ru/img/menu1.jpg")
                    center center / cover no-repeat;
    }

    #site-menu .zen-burger-gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #site-menu .zen-burger-close {
        color: #fff !important;
        filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
    }
}
