.season-winter {
  --winter-rim: #ccdde7;
  --winter-glass: linear-gradient(145deg, #ffffffee 8%, #fafbfeef 43%, #edf3f8e6);
  --winter-sheen: radial-gradient(ellipse at 90% 0%, #e1ebf378, transparent 58%);
  --winter-shadow: 0 12px 38px #305f8017, inset 0 1px 1px #ffffffeb;
  --winter-ornaments: url("ornaments.webp");
  --winter-red: #b32236;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.season-winter .header {
  background: linear-gradient(132deg, #fffffff5 15%, #f8fafcf2 72%, #f1f5f8ee);
  border-color: #e0eef6;
  box-shadow: 0 10px 32px #435a7016, inset 0 1px 1px #fff;
}

.season-winter :is(.hero-content h1 span, .hero-offer, .principles, .main-contact-card p) { color: #5e7183; }

.season-winter :is(.nav, .mobile-nav, .hero-profile, .hero-reviews,
  .pricing-dock .pricing-tabs, .site-footer .footer-panel, .dialog, .price-card, .main-contact-card) {
  background: var(--winter-sheen), var(--winter-glass);
  border-color: var(--winter-rim);
  box-shadow: var(--winter-shadow);
}

.season-winter .nav {
  background: linear-gradient(125deg, #fafcfce6, #edf2f5e0);
  border-color: #d9e5eb;
  box-shadow: inset 0 1px 3px #fff, 0 2px 7px #384e5c0c;
}

.season-winter :is(.selected-image, .project-visual) {
  outline: 1px solid #d4e2ec;
  box-shadow: 0 4px 14px #42637d17;
}

.season-winter :is(.button-glass, .selected-section .works-link, .footer-panel nav a,
  .footer-panel .footer-call, .hero-profile-arrow, .icon-button) {
  background: linear-gradient(150deg, #fcfeff, #e2f2fc);
  border-color: var(--winter-rim);
}

.season-winter :is(.nav-thumb, .pricing-thumb, .footer-call-icon) {
  background: linear-gradient(150deg, #fff, #d9edf8);
}

.season-winter .hero-credentials { position: relative; }
.winter-hero-shelf {
  position: absolute;
  inset: auto 3% calc(100% - 1px);
  display: flex;
  align-items: end;
  justify-content: center;
  gap: clamp(10px, 2.4vw, 36px);
  pointer-events: none;
}

.winter-hero-shelf img,
.winter-footer-scene img {
  display: block;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(2px 5px 5px #415f7340);
}

.winter-hero-shelf .winter-moroz { width: clamp(66px, 8.2vw, 119px); }
.winter-hero-shelf .winter-tree {
  width: clamp(86px, 10.6vw, 156px);
  margin-bottom: -4px;
  animation: winter-tree-light 7s ease-in-out infinite;
}

.season-winter .price-card-featured { position: relative; }
.season-winter .price-card-featured::after {
  content: "";
  position: absolute;
  right: clamp(24px, 9%, 67px);
  top: calc(100% - 10px);
  width: clamp(51px, 7vw, 99px);
  height: 66px;
  background: url("scarf-drape.webp") center top / contain no-repeat;
  filter: drop-shadow(2px 4px 4px #712e304d);
  pointer-events: none;
}

.season-winter .site-footer .footer-panel {
  position: relative;
}
.winter-footer-scene {
  position: relative;
  display: flex;
  align-items: end;
  gap: clamp(12px, 3vw, 38px);
  padding-inline: clamp(14px, 6vw, 90px);
  height: clamp(103px, 12vw, 173px);
}
.winter-footer-scene .winter-snegurochka { width: clamp(61px, 7vw, 105px); }
.winter-globe {
  position: relative;
  z-index: 1;
  order: 3;
  display: block;
  width: clamp(68px, 8vw, 103px);
  aspect-ratio: 1;
  margin-bottom: -10px;
  background: var(--winter-ornaments) left bottom / 200% 200% no-repeat;
  filter: drop-shadow(0 4px 5px #315a7e2b);
  pointer-events: none;
}
.winter-footer-scene .winter-gift { margin-left: auto; }
.winter-footer-scene .winter-globe:last-child { margin-left: auto; }
.winter-footer-scene .winter-gift + .winter-globe:last-child { margin-left: 0; }

.winter-gift-stop {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  block-size: max(clamp(61px, 6vw, 93px), clamp(64px, 7.1vw, 91px));
  transition: block-size .43s cubic-bezier(.26,.72,.27,1) .38s;
}
.winter-gifts-complete .winter-gift-stop { block-size: 0; }
.winter-gifts-no-transition .winter-gift-stop { transition: none; }
.winter-gift-stop .winter-gift { margin-right: clamp(1px, 4.6vw, 70px); }
.winter-gift-stop:is([data-gift-stop="about"], [data-gift-stop="prices"]) { justify-content: flex-start; }
.winter-gift-stop:is([data-gift-stop="about"], [data-gift-stop="prices"]) .winter-gift {
  margin-right: 0;
  margin-left: clamp(1px, 4.6vw, 70px);
}

.winter-gift {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(64px, 7.1vw, 91px);
  aspect-ratio: 1;
  flex: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 27%;
  transition: opacity .48s ease, transform .52s cubic-bezier(.26,.72,.27,1), visibility 0s;
}
.winter-gifts-complete .winter-gift {
  opacity: 0;
  transform: translateY(-8px) scale(.82);
  visibility: hidden;
  pointer-events: none;
  transition-delay: 0s, 0s, .52s;
}
.winter-gifts-no-transition .winter-gift { transition: none; }
.winter-gift:focus-visible { outline: 2px solid #28648a; outline-offset: 4px; }
.winter-gift-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--winter-ornaments) left top / 200% 200% no-repeat;
  filter: hue-rotate(var(--gift-hue, 0deg)) drop-shadow(0 6px 7px #315a7e32);
  transition: transform .38s cubic-bezier(.2,.65,.25,1);
}
.winter-gift:hover .winter-gift-image { transform: translateY(-4px) rotate(-4deg) scale(1.045); }
[data-winter-gift="about"] { --gift-hue: 120deg; }
[data-winter-gift="steps"] { --gift-hue: 55deg; }
[data-winter-gift="prices"] { --gift-hue: -88deg; }
[data-winter-gift="footer"] { --gift-hue: 170deg; }
.winter-gift-check {
  position: absolute;
  right: 1px;
  bottom: 5px;
  display: none;
  place-items: center;
  width: 23px;
  aspect-ratio: 1;
  background: #fcf9fa;
  border: 1px solid #edccd2;
  border-radius: 50%;
}
.winter-gift.is-found .winter-gift-check { display: grid; }
.winter-gift-check img { width: 13px; height: 13px; }

.winter-gift-dock {
  --gift-open-width: min(calc(100vw - 28px), 392px);
  --gift-ease: cubic-bezier(.3,.15,.22,1);
  --gift-size-duration: 620ms;
  --gift-size-delay: 115ms;
  --gift-expand: 0fr;
  --gift-detail-opacity: 0;
  --gift-detail-offset: 7px;
  --gift-detail-duration: 200ms;
  --gift-detail-delay: 0ms;
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 318px);
  transition: width var(--gift-size-duration) var(--gift-ease) var(--gift-size-delay);
}
.winter-gift-dock-button {
  display: grid;
  grid-template-rows: var(--gift-expand) auto;
  width: 100%;
  min-height: 46px;
  padding: 6px 11px;
  border: 1px solid #d5dae3;
  border-radius: 24px;
  background: linear-gradient(145deg, #fffffffb, #f2f6fbf5);
  box-shadow: inset 0 1px 0 #fff, 0 4px 10px #24344c13, 0 13px 32px #263b531d;
  color: #293041;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font: inherit;
  cursor: pointer;
  text-align: left;
  transform-origin: center bottom;
  transition:
    grid-template-rows var(--gift-size-duration) var(--gift-ease) var(--gift-size-delay),
    border-color .3s ease,
    transform .34s var(--gift-ease);
}
.winter-gift-dock-button:focus-visible { outline: 2px solid #51759a; outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .winter-gift-dock:hover .winter-gift-dock-button { transform: scale(.984); }
}
.winter-gift-dock-details {
  display: block;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  opacity: var(--gift-detail-opacity);
  transform: translateY(var(--gift-detail-offset));
  transition: opacity var(--gift-detail-duration) ease var(--gift-detail-delay),
    transform var(--gift-detail-duration) var(--gift-ease) var(--gift-detail-delay);
}
.winter-gift-dock-info {
  display: grid;
  width: calc(var(--gift-open-width) - 24px);
  gap: 6px;
  padding: 12px clamp(8px, 2.4vw, 14px) 10px;
  justify-items: center;
  text-align: center;
  color: #536072;
  font-size: 13px;
  line-height: 1.42;
}
.winter-gift-dock-info strong { font-size: 16px; font-weight: 550; color: #293041; }
.winter-gift-dock-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-bottom: 3px;
  border-radius: 13px;
  border: 1px solid #d5e4ef;
  background: linear-gradient(135deg, #fff, #e2edf8);
  box-shadow: inset 0 1px 1px #fff, 0 3px 8px #4a678013;
  transition: background .35s ease, border-color .35s ease;
}
.winter-gift-dock-icon img { width: 20px; height: 20px; opacity: .74; }
.winter-gift-dock.is-complete .winter-gift-dock-icon {
  background: linear-gradient(135deg, #fbfffc, #e2f6ea);
  border-color: #cbe4d4;
}
.winter-gift-dock-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(6px, 2vw, 10px);
  min-height: 32px;
  padding-inline: clamp(5px, 2vw, 8px);
  white-space: nowrap;
  font-size: clamp(12px, 3.3vw, 14px);
  font-weight: 500;
}
.winter-gift-dock-row strong { font-weight: 550; }
.winter-gift-dock-count { color: #5e6879; font-size: 11px; font-variant-numeric: tabular-nums; }
.winter-gift-dock-marker { display: grid; place-items: center; width: 20px; }
.winter-gift-dock-marker > * { grid-area: 1 / 1; transition: opacity .28s ease, transform .3s var(--gift-ease); }
.winter-gift-dock-check {
  width: 17px;
  height: 17px;
  opacity: 0;
  transform: scale(.72);
  filter: invert(32%) sepia(48%) saturate(863%) hue-rotate(98deg) brightness(91%) contrast(89%);
}
.winter-gift-dock.is-complete .winter-gift-dock-check { opacity: 1; transform: none; }
.winter-gift-dock.is-complete .winter-gift-dock-count { opacity: 0; transform: scale(.72); }
.winter-gift-dock:has(.winter-gift-dock-button[aria-expanded="true"]) {
  --gift-size-duration: 720ms;
  --gift-size-delay: 0ms;
  --gift-expand: 1fr;
  --gift-detail-opacity: 1;
  --gift-detail-offset: 0;
  --gift-detail-duration: 350ms;
  --gift-detail-delay: 340ms;
  width: var(--gift-open-width);
}
.winter-gift-toast {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  width: min(100%, 335px);
  padding: 11px 15px;
  border-radius: 18px;
  border: 1px solid #dae0e8;
  background: #fcfdfff7;
  box-shadow: 0 9px 24px #22384f21;
  color: #536072;
  font-size: 12px;
  line-height: 1.42;
  opacity: 0;
  transform: translate(-50%, 8px) scale(.98);
  transition: opacity .25s ease, transform .31s cubic-bezier(.2,.7,.3,1);
  pointer-events: none;
}
.winter-gift-toast strong { display: block; margin-bottom: 2px; color: #283245; font-size: 14px; }
.winter-gift-toast.is-visible { opacity: 1; transform: translate(-50%, 0) scale(1); }

.winter-price-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f9e5e8;
  color: var(--winter-red);
  font-weight: 680;
  line-height: 1.35;
}
.winter-gift-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid #c0d3e4;
  border-radius: 999px;
  background: linear-gradient(#e5eff9, #d5e7f7);
  box-shadow: inset 0 1px 3px #6a8daf29, 0 1px 1px #fff;
}
.winter-gift-progress span {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(#caddf0, #c1d8ed);
  box-shadow: inset 0 1px 1px #ffffff64;
}
.winter-gift-progress .is-filled {
  background: linear-gradient(#e85d6a, #c83346);
  box-shadow: inset 0 1px 1px #ffb0b78e, 0 1px 2px #aa2f474a;
}
.winter-gift-progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(#5ab988, #238851);
  box-shadow: inset 0 1px 1px #c7ffdd88, 0 1px 2px #19804944;
  opacity: 0;
  transition: opacity .45s ease;
}
.winter-gift-dock.is-complete .winter-gift-progress span::after { opacity: 1; }

.price-value > .winter-price-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 3px;
  font-size: 14px;
  letter-spacing: normal;
  line-height: 1.25;
}
.winter-price-meta del { color: #626674; text-decoration-thickness: 1px; }
.winter-price-badge { font-size: 12px; }
.has-winter-price > :is(strong, span:not(.winter-price-meta)) { color: var(--winter-red); }
.winter-snow {
  position: fixed;
  z-index: 70;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.winter-drift {
  --winter-drift-inset: 0px;
  --winter-drift-border: 0px;
  position: absolute;
  z-index: 2;
  top: calc(-20px - var(--winter-drift-border));
  left: var(--winter-drift-inset);
  width: calc(100% - 2 * var(--winter-drift-inset));
  height: 23px;
  pointer-events: none;
}
.season-winter .mobile-nav > .winter-drift {
  opacity: 1;
  transform: none;
  transition: none;
}

.season-winter :is(.hero-profile, .hero-reviews, .steps-tabs, .project-card, .page-works .filters,
  .contact-card, .works-link, .footer-call, .footer-panel nav a).has-winter-drift {
  position: relative;
}
.season-winter :is(.selected-grid .selected-work, .page-works .project-card, .about-photo).has-winter-drift {
  overflow: visible;
}
.season-winter :is(.selected-work.has-winter-drift > .selected-image, .project-card.has-winter-drift > .project-visual) {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.season-winter .about-photo.has-winter-drift > img {
  --portrait-radius: 34px;
  border-radius: inherit;
  clip-path: inset(0 round var(--portrait-radius));
  transition: transform 1s var(--ease), clip-path 1s var(--ease);
}
.season-winter .about-photo.has-winter-drift:hover > img {
  clip-path: inset(1.22% round var(--portrait-radius));
}
.season-winter :is(.step-panels, .main-contact-card).has-winter-drift {
  overflow: visible;
}
@supports (overflow-clip-margin: 20px) {
  .season-winter :is(.step-panels, .main-contact-card).has-winter-drift {
    overflow: clip;
    overflow-clip-margin: 20px;
  }
}
@media (max-width: 640px) {
  .season-winter .about-photo.has-winter-drift > img { --portrait-radius: 28px; }
  .season-winter .main-contact-card.has-winter-drift {
    overflow: clip visible;
    overflow-clip-margin: 0;
  }
  .season-winter .main-contact-card.has-winter-drift .contact-sculpture {
    clip-path: inset(-8px 60px 44px -8px round 0 0 28px 0);
  }
}

@keyframes winter-tree-light {
  0%, 100% { filter: brightness(1) drop-shadow(2px 5px 5px #415f7340); }
  50% { filter: brightness(1.12) drop-shadow(2px 5px 5px #415f7340); }
}
@media (max-width: 760px) {
  .winter-hero-shelf {
    position: relative;
    inset: auto;
    gap: 14px;
    margin-bottom: -10px;
  }
}

@media (max-width: 390px) {
  .winter-footer-scene { padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .winter-hero-shelf .winter-tree { animation: none; }
  .winter-gift-image, .winter-gift-dock, .winter-gift-dock-button,
  .winter-gift-dock-details, .winter-gift-toast { transition: none; }
  .winter-gift, .winter-gift-stop, .winter-gift-dock-marker > *, .winter-gift-progress span::after { transition: none; }
  .winter-snow, .winter-drift { display: none; }
}
