@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root{
  /* Typography */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Scandinavian minimal palette */
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-2: #f1f3f5;
  --text: #101828;
  --muted: #667085;
  --border: #e4e7ec;
  --shadow: 0 8px 30px rgba(16, 24, 40, 0.08);

  --primary: #1f6feb;         /* crisp blue */
  --primary-600: #175cd3;
  --primary-700: #144aa3;
  --accent: #12b76a;          /* soft green */
  --danger: #d92d20;
  --warning: #f79009;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;

  /* Spacing */
  --container: 1200px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a{ color: var(--primary); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Layout */
.app-shell{
  min-height: 100%;
  display:flex;
  flex-direction:column;
}
.app-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.app-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, #ffffff, rgba(255,255,255,0) 60%),
              linear-gradient(135deg, var(--primary), #7c3aed);
  box-shadow: 0 10px 25px rgba(31,111,235,0.20);
}
.brand__name{ font-size: 16px; color: var(--text); }
.app-footer{
  margin-top:auto;
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}
.app-main{
  padding: 28px 0 44px;
}

/* Корзина и оформление заказа — одна колонка на узких экранах */
.cart-page-layout,
.checkout-page-layout {
  display: grid;
  gap: 24px;
}
@media (max-width: 768px) {
  .cart-page-layout,
  .checkout-page-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Surfaces */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.card--flat{ box-shadow:none; }
.card__body{ padding: 22px; }
.card__header{ padding: 18px 22px; border-bottom: 1px solid var(--border); }
.card__title{ margin: 0; font-size: 18px; letter-spacing: -0.02em; }
.card__subtitle{ margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* Forms */
.field{ display:flex; flex-direction:column; gap:8px; }
.label{ font-size: 13px; color: var(--muted); font-weight: 600; }
.hint{ font-size: 12px; color: var(--muted); }
.input{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  background: #fff;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, transform .05s ease;
}
.input:focus{
  border-color: rgba(31,111,235,0.55);
  box-shadow: 0 0 0 4px rgba(31,111,235,0.12);
}
.input--mono{ font-family: var(--font-mono); letter-spacing: .08em; }
.input--center{ text-align:center; }
.input[disabled]{ opacity:.6; cursor:not-allowed; }

.checkbox{
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--muted);
  font-size: 14px;
}
.checkbox input{ width: 18px; height: 18px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor:pointer;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: transform .05s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn[disabled]{ opacity: .55; cursor:not-allowed; transform:none; }
.btn--primary{
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color:#fff;
  box-shadow: 0 10px 25px rgba(31,111,235,0.20);
}
.btn--primary:hover{ box-shadow: 0 14px 30px rgba(31,111,235,0.26); }
.btn--ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover{ background: rgba(16,24,40,0.03); }
.btn--danger{
  background: rgba(217,45,32,0.08);
  border-color: rgba(217,45,32,0.20);
  color: var(--danger);
}
.btn--danger:hover{ background: rgba(217,45,32,0.12); }
.btn--full{ width: 100%; }

/* Alerts */
.alert{
  display:flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
}
.alert__icon{ width: 18px; height: 18px; margin-top: 2px; }
.alert--info{ border-color: rgba(31,111,235,0.25); background: rgba(31,111,235,0.06); }
.alert--success{ border-color: rgba(18,183,106,0.25); background: rgba(18,183,106,0.07); }
.alert--danger{ border-color: rgba(217,45,32,0.25); background: rgba(217,45,32,0.07); }
.alert--warning{ border-color: rgba(247,144,9,0.25); background: rgba(247,144,9,0.07); }

/* Auth page */
.auth-wrap{
  min-height: calc(100vh - 0px);
  display:grid;
  place-items:center;
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}
.auth-card{ 
  width: min(100%, 460px);
  position: relative;
  z-index: 10;
}
.auth-code{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.muted{ color: var(--muted); }
.h2{ margin: 0 0 10px; font-size: 20px; letter-spacing: -0.02em; }
.mt-16{ margin-top: 16px; }
.mt-20{ margin-top: 20px; }
.mt-24{ margin-top: 24px; }
.mb-16{ margin-bottom: 16px; }
.mb-20{ margin-bottom: 20px; }

/* Auth animations */
.auth-characters{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.auth-character{
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.4;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.auth-character--1{
  top: 15%;
  left: 10%;
  transform: translateY(0) scale(1);
}
.auth-character--2{
  top: 20%;
  right: 15%;
  transform: translateY(0) scale(0.9);
}
.auth-character--3{
  bottom: 25%;
  left: 12%;
  transform: translateY(0) scale(0.85);
}
.auth-character.character--active{
  opacity: 0.7;
  transform: translateY(-10px) scale(1.1);
}
.auth-character.character--pulse{
  animation: characterPulse 0.5s ease;
}
@keyframes characterPulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.15); }
}

/* Облачка */
.auth-clouds{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.auth-cloud{
  position: absolute;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.15);
  animation: floatCloud 20s infinite ease-in-out;
  user-select: none;
}
@keyframes floatCloud{
  0%{
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  10%{
    opacity: 0.15;
  }
  90%{
    opacity: 0.15;
  }
  100%{
    transform: translate(100px, -100px) rotate(360deg);
    opacity: 0;
  }
}

/* Анимации focus/blur для input */
.input--focused{
  transform: scale(1.02);
  box-shadow: 0 0 0 4px rgba(31,111,235,0.15) !important;
}
.input--filled{
  background: rgba(31,111,235,0.03);
}

/* Кнопка отключения анимаций */
.auth-animation-toggle{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s ease, transform 0.1s ease;
  z-index: 20;
  opacity: 0.6;
}
.auth-animation-toggle:hover{
  background: var(--surface-2);
  opacity: 1;
  transform: scale(1.05);
}
.auth-animation-toggle:active{
  transform: scale(0.95);
}

/* Текст "Мы не видим ваш код" */
.auth-privacy-notice{
  text-align: center;
  margin-top: 20px;
  padding: 12px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
  line-height: 1.5;
}
.auth-privacy-notice strong{
  color: var(--text);
  font-weight: 600;
}

/* Отключение анимаций */
.no-animations *,
.no-animations *::before,
.no-animations *::after{
  animation: none !important;
  transition: none !important;
}
.no-animations .auth-characters,
.no-animations .auth-clouds{
  display: none;
}

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 100;
}
.modal.is-open{ display:flex; }
.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(16,24,40,0.55);
  backdrop-filter: blur(2px);
}
.modal__panel{
  position: relative;
  width: min(100%, 520px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 28px 70px rgba(16,24,40,0.22);
}
.modal__header{
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.modal__title{
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.modal__body{ padding: 18px; color: var(--muted); }
.modal__footer{
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  display:flex;
  justify-content:flex-end;
  gap: 10px;
}
.modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(16,24,40,0.55);
  backdrop-filter: blur(2px);
}
.modal__content{
  position: relative;
  width: min(100%, 520px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 28px 70px rgba(16,24,40,0.22);
  max-height: 90vh;
  overflow-y: auto;
}
.modal__close{
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover{
  color: var(--text);
}

/* Модальное окно товара */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.75);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.product-modal-overlay.active {
  display: flex !important;
}

.product-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: #fff !important;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.3);
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  z-index: 10001;
}

.product-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-modal__close:hover {
  background: #fff;
  transform: scale(1.1);
}

.product-modal__content {
  padding: 0;
  overflow-y: auto;
}

.product-modal__loading,
.product-modal__error {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.product-modal__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px;
  border-bottom: 2px solid var(--border);
}

.product-modal__image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  max-height: 400px;
}

.product-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
}

.product-modal__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.product-modal__description {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.product-modal__characteristics-block {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-modal__characteristics {
  font-size: 14px;
  color: var(--text);
  padding: 12px 16px;
  background: var(--surface-2);
  border-radius: 12px;
  line-height: 1.5;
}

.product-modal__characteristics strong {
  color: var(--text);
  margin-right: 8px;
  font-weight: 700;
}

.product-modal__price-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.product-modal__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}

.product-modal__price-old {
  font-size: 20px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.product-modal__add-cart {
  margin-top: 16px;
  padding: 16px 24px;
  background: #101828;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.2);
}

.product-modal__add-cart:hover {
  background: #1a2332;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.3);
}

.product-modal__related {
  padding: 30px;
  background: #f8fafc;
  margin-top: 0;
}

.product-modal__related-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 24px;
  text-align: center;
}

.product-modal__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.product-modal__related-item {
  cursor: pointer;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.product-modal__related-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.15);
  border-color: rgba(31, 111, 235, 0.3);
}

.product-modal__related-img {
  width: 100%;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 10px;
}

.product-modal__related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal__related-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-modal__related-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

@media (max-width: 768px) {
  .product-modal__main {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .product-modal__title {
    font-size: 24px;
  }
  
  .product-modal__price {
    font-size: 28px;
  }
  
  .product-modal__related-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* Badge */
.badge{
  display:inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.badge--success{ background: rgba(18,183,106,0.1); color: var(--accent); }
.badge--danger{ background: rgba(217,45,32,0.1); color: var(--danger); }
.badge--warning{ background: rgba(247,144,9,0.1); color: var(--warning); }
.badge--info{ background: rgba(31,111,235,0.1); color: var(--primary); }
.badge--muted{ background: var(--surface-2); color: var(--muted); }

/* File input */
input[type="file"]{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  background: var(--surface);
  font-size: 14px;
  cursor: pointer;
}
input[type="file"]:focus{
  border-color: rgba(31,111,235,0.55);
  box-shadow: 0 0 0 4px rgba(31,111,235,0.12);
}

/* Select input */
select.input{
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667085' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
  appearance: none;
}

/* Radio group */
.radio-group label{
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.radio-group label:hover{
  background: var(--surface-2);
}
.radio-group input[type="radio"]:checked + span{
  font-weight: 600;
  color: var(--primary);
}
.radio-group input[type="radio"]:checked ~ *{
  border-color: var(--primary);
}

/* Smooth scrolling */
html{ scroll-behavior: smooth; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; scroll-behavior:auto !important; }
  html{ scroll-behavior: auto !important; }
}

/* =========================
   Home page (new design)
   All styles scoped to .home
   ========================= */
.home .app-main{ padding-top: 0; }
.home-header{ 
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(16,24,40,0.06);
}
.home-header__inner{ gap: 16px; padding: 16px 0; }
.home-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: var(--text);
  min-width: 220px;
  transition: opacity 0.2s ease;
}
.home-brand:hover{ text-decoration:none; opacity: 0.85; }
.home-brand__logo{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(16,24,40,0.12);
}
.home-brand__name{
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-size: 16px;
}
.home-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 24px;
  flex: 1;
}
.home-nav__link{
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration:none;
  opacity: 0.85;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 0;
}
.home-nav__link::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}
.home-nav__link:hover{ 
  text-decoration:none; 
  opacity: 1; 
  color: var(--primary); 
}
.home-nav__link:hover::after{ width: 100%; }
.home-header__actions{ display:flex; align-items:center; gap: 10px; }

/* User menu */
.user-menu{
  position: relative;
}
.user-menu__trigger{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.user-menu__trigger:hover{
  background: var(--bg-secondary);
  border-color: var(--primary);
  color: var(--primary);
}
.user-menu__icon{
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.user-menu__dropdown{
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
  padding: 8px;
  pointer-events: none;
  display: none;
}
.user-menu:hover .user-menu__dropdown,
.user-menu__trigger:focus + .user-menu__dropdown,
.user-menu__dropdown:hover,
.user-menu__dropdown[style*="display: block"]{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  display: block !important;
}
.user-menu__item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}
.user-menu__item:hover{
  background: var(--bg-secondary);
  color: var(--primary);
  text-decoration: none;
}
.user-menu__item svg{
  flex-shrink: 0;
  stroke-width: 2;
}
.user-menu__item--danger{
  color: #dc2626;
}
.user-menu__item--danger:hover{
  background: #fee2e2;
  color: #b91c1c;
}
.user-menu__divider{
  height: 1px;
  background: rgba(16, 24, 40, 0.1);
  margin: 4px 0;
}

.home-hero{
  position: relative;
  padding: 32px 0 20px;
  background: #fff;
  overflow: hidden;
}
.home-hero--banner {
  padding: 0;
}
.home-hero--banner .home-hero__inner {
  min-height: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.home-hero--banner .home-hero__content {
  pointer-events: auto;
  min-height: 0;
  padding: 24px 20px;
}
.home-hero__banner {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.home-hero__banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  max-height: 85vh;
}
.home-hero__inner{
  position: relative;
  min-height: 460px;
  background: transparent;
  border: none;
  overflow: visible;
  box-shadow: none;
}
.home-hero__stickers{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.home-sticker{
  position: absolute;
  width: clamp(140px, 18vw, 180px);
  height: clamp(140px, 18vw, 180px);
  max-width: 180px;
  max-height: 180px;
  filter: drop-shadow(0 18px 25px rgba(16,24,40,0.14));
  will-change: transform;
  object-fit: contain;
  pointer-events: auto;
  cursor: pointer;
  --escape-x: 0px;
  --escape-y: 0px;
}
/* Печать документов - над надписью "Ваш любимый" */
/* Слева: 3 облачка вертикально распределены */
.home-sticker--docs{ 
  left: 3%; 
  top: 8%; 
  transform: none;
  animation: floatDocs 4s ease-in-out infinite;
}
.home-sticker--photo{ 
  left: 2%; 
  top: 50%; 
  transform: translateY(-50%);
  animation: floatPhoto 4.5s ease-in-out infinite;
}
.home-sticker--id{ 
  left: 4%; 
  bottom: 12%; 
  width: clamp(120px, 16vw, 160px);
  height: clamp(120px, 16vw, 160px);
  max-width: 160px;
  max-height: 160px;
  transform: none;
  animation: floatId 5s ease-in-out infinite;
}
/* Справа: 3 облачка вертикально распределены */
.home-sticker--engraving{ 
  right: 3%; 
  top: 8%; 
  transform: none;
  animation: floatEngraving 4.2s ease-in-out infinite;
}
.home-sticker--mug{ 
  right: 2%; 
  top: 50%; 
  transform: translateY(-50%);
  animation: floatMug 4.8s ease-in-out infinite;
}
.home-sticker--shirt{ 
  right: 4%; 
  bottom: 12%; 
  width: clamp(120px, 16vw, 160px);
  height: clamp(120px, 16vw, 160px);
  max-width: 160px;
  max-height: 160px;
  transform: none;
  animation: floatShirt 5.2s ease-in-out infinite;
}
@keyframes floatDocs{
  0%, 100%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) rotate(-2deg); 
  }
  50%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) translateY(-8px) rotate(-2deg); 
  }
}
@keyframes floatPhoto{
  0%, 100%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) translateY(-50%) rotate(-6deg); 
  }
  50%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) translateY(calc(-50% - 8px)) rotate(-6deg); 
  }
}
@keyframes floatId{
  0%, 100%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) rotate(3deg); 
  }
  50%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) translateY(-8px) rotate(3deg); 
  }
}
@keyframes floatEngraving{
  0%, 100%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) rotate(6deg); 
  }
  50%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) translateY(-8px) rotate(6deg); 
  }
}
@keyframes floatMug{
  0%, 100%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) translateY(-50%) rotate(2deg); 
  }
  50%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) translateY(calc(-50% - 8px)) rotate(2deg); 
  }
}
@keyframes floatShirt{
  0%, 100%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) rotate(-4deg); 
  }
  50%{ 
    transform: translate(calc(var(--escape-x, 0px)), calc(var(--escape-y, 0px))) translateY(-8px) rotate(-4deg); 
  }
}
.home-hero__content{
  position: relative;
  z-index: 2;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 64px 20px 52px;
  min-height: 460px;
}
.home-hero__block{
  position: relative;
  z-index: 3;
  display:flex;
  flex-direction: column;
  align-items:center;
  text-align:center;
}
.home-hero__stickers{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.home-hero__title{
  margin: 0;
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: var(--text);
}
.home-hero__subtitle{
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
.home-hero__actions{
  margin-top: 24px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.home-cta{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.1);
  transition: all 0.2s ease;
}
.home-cta:hover{ 
  text-decoration:none; 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.14);
}
.home-cta:active{ transform: translateY(0); }
.home-cta--primary{
  background: #101828;
  border-color: rgba(16,24,40,0.2);
  color: #fff;
}
.home-cta--primary:hover{ background: #1a2332; }
.home-cta--ghost{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
}
.home-cta__icon{
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,0.15);
  font-weight: 900;
  font-size: 12px;
}
.home-cta__imgicon{ width: 16px; height: 16px; opacity: 0.9; }


.home-section{ padding: 40px 0; }
.home-section--tight{ padding: 24px 0 32px; }
.home-section__title{
  margin: 0 0 24px;
  text-align:center;
  color: rgba(31,111,235,0.85);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.2;
}
.home-center{ display:flex; justify-content:center; margin: 20px 0; }
.home-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 800;
  font-size: 14px;
  background: #101828;
  color: #fff;
  border: 1px solid rgba(16,24,40,0.2);
  box-shadow: 0 4px 12px rgba(16,24,40,0.12);
  transition: all 0.2s ease;
}
.home-pill:hover{ 
  text-decoration:none; 
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,24,40,0.18);
  background: #1a2332;
}
.home-pill:active{ transform: translateY(0); }
.home-pill--ghost{
  background: #fff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 2px 8px rgba(16,24,40,0.08);
}
.home-pill--ghost:hover{ background: var(--surface-2); }

.home-reviews__lead{
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto 20px;
}
.home-reviews__box{
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(16,24,40,0.08);
}
.home-reviews__link-wrap{
  display: flex;
  justify-content: center;
}
.home-reviews__link-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}
.home-reviews__link-btn:hover{
  background: var(--primary-hover, #5058c9);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}
.home-reviews__link-btn:active{ transform: translateY(0); }

.home-about{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 8px;
}
.home-services{
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16,24,40,0.88), rgba(16,24,40,0.75));
  color: #fff;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(16,24,40,0.16);
  position: sticky;
  top: 80px;
}
.home-services__title{
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #ffd34d;
  font-size: 18px;
}
.home-services__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.home-services__list li{
  margin: 0;
  padding: 0;
}
.home-services__list a{
  display: block;
  color: #fff;
  text-decoration:none;
  opacity: 0.92;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  padding: 10px 12px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
}
.home-services__list a:hover{ 
  opacity: 1; 
  text-decoration: none;
  transform: translateX(4px);
  color: #ffd34d;
  background: rgba(255, 211, 77, 0.15);
  border-color: rgba(255, 211, 77, 0.3);
  box-shadow: 0 2px 8px rgba(255, 211, 77, 0.2);
}
.home-services__btn{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration:none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.home-services__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  background: #1a2332;
}
.home-services__btn img{ width: 16px; height: 16px; filter: invert(1); }

.home-features{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  min-height: 0;
}
.home-feature{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 4px 20px rgba(16,24,40,0.08);
  min-height: 0;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.home-feature:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16,24,40,0.12);
  border-color: rgba(31,111,235,0.3);
}
.home-feature--easy{
  grid-column: auto;
  grid-row: auto;
}
.home-feature__head{
  display:flex;
  align-items:center;
  gap: 12px;
}
.home-feature__head img{ 
  width: 24px; 
  height: 24px; 
  filter: drop-shadow(0 2px 4px rgba(16,24,40,0.1));
}
.home-feature__title{ 
  font-weight: 900; 
  font-size: 16px;
  color: var(--text);
}
.home-feature__text{ 
  margin-top: 10px; 
  color: var(--muted); 
  font-size: 13px; 
  line-height: 1.5; 
  flex: 1;
}

.home-equipment{
  grid-column: 2 / 4;
  grid-row: 2;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items:center;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(16,24,40,0.08);
}
.home-equipment__text{ 
  color: var(--muted); 
  font-size: 14px; 
  line-height: 1.6;
}
.home-equipment__text strong{ 
  color: var(--text); 
  font-weight: 800;
}
.home-equipment__sub{ 
  margin-top: 12px; 
  color: var(--text); 
  font-weight: 800; 
  font-size: 15px;
  line-height: 1.5;
}
.home-equipment__sub strong{
  color: rgba(31,111,235,0.9);
}
.home-equipment__img{ 
  width: 100%; 
  height: auto; 
  object-fit: contain; 
  border-radius: 12px;
  filter: drop-shadow(0 4px 12px rgba(16,24,40,0.1));
}

.home-carousel{
  position: relative;
  margin-top: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
}
.home-carousel__viewport{
  width: min(100%, 920px);
  overflow: hidden;
  border-radius: 18px;
}
.home-carousel__track{
  display:flex;
  gap: 12px;
  padding: 6px;
  transform: translateX(0);
  transition: transform 300ms ease;
  will-change: transform;
}
.home-product{
  flex: 0 0 calc(25% - 9px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(16,24,40,0.08);
  text-align:center;
  transition: all 0.2s ease;
}
.home-product:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16,24,40,0.12);
  border-color: rgba(31,111,235,0.3);
}
.home-product__img{
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  height: 220px;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.home-product__img img{ 
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.3s ease;
}
.home-product:hover .home-product__img img{
  transform: scale(1.05);
}
.home-product__name{ 
  margin-top: 12px; 
  font-weight: 800; 
  font-size: 14px; 
  color: var(--text);
}
.home-product__price{
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.home-product__price-old{
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}
.home-product__price-new{
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.home-product__btn{
  margin-top: 12px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(16,24,40,0.12);
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}
.home-product__btn:hover{
  background: #1a2332;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16,24,40,0.18);
}
.home-product__btn:active{
  transform: translateY(0);
}
.home-carousel__nav{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  display:grid;
  place-items:center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(16,24,40,0.08);
}
.home-carousel__nav:hover{
  background: var(--surface-2);
  border-color: var(--primary);
  transform: scale(1.05);
}
.home-carousel__nav:active{ transform: scale(0.95); }
.home-carousel__nav:disabled{
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.home-carousel__nav img{ width: 20px; height: 20px; opacity: 0.7; }
.home-carousel__nav--prev img{ transform: rotate(180deg); }

.home-reviews__hint{
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.home-reviews{
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(16,24,40,0.08);
}
.home-reviews__carousel{
  position: relative;
  width: 100%;
  min-height: 580px;
}
.home-reviews__container{
  width: 100%;
  min-height: 580px;
  position: relative;
}
.home-reviews__frame{
  width: 100%;
  height: 580px;
  border: 0;
  display: block;
}
.home-reviews__footer{
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  text-align: center;
}
.home-reviews__footer .home-reviews__link-btn{
  display: inline-flex;
}
.home-reviews__open-all{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}
.home-reviews__open-all:hover{
  background: var(--primary-hover, #5058c9);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}
.home-reviews__open-all:active{ transform: translateY(0); }
.home-reviews__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(16,24,40,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: var(--text);
}
.home-reviews__nav:hover{
  background: var(--bg-secondary);
  box-shadow: 0 4px 12px rgba(16,24,40,0.15);
  transform: translateY(-50%) scale(1.05);
}
.home-reviews__nav--prev{
  left: 16px;
}
.home-reviews__nav--next{
  right: 16px;
}
.home-reviews__nav:disabled{
  opacity: 0.4;
  cursor: not-allowed;
}
.home-reviews__pagination{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 0 20px;
}
.home-reviews__pagination-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16,24,40,0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}
.home-reviews__pagination-dot.active{
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}
.home-reviews__loading{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 580px;
  color: var(--muted);
  font-size: 14px;
}
.home-link{ 
  color: var(--primary); 
  font-weight: 700; 
  font-size: 14px;
  text-decoration:none; 
  transition: all 0.2s ease;
}
.home-link:hover{ 
  text-decoration:underline; 
  color: var(--primary-600);
}

.home-contacts{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 14px;
  align-items: stretch;
}
.home-contacts__card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(16,24,40,0.08);
}
.home-contacts__addr{
  display:flex;
  align-items:flex-start;
  gap: 14px;
  margin-bottom: 4px;
}
.home-contacts__pin{
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ff4d4d, #b8002a);
  box-shadow: 0 8px 24px rgba(184, 0, 42, 0.3);
  flex-shrink: 0;
}
.home-contacts__addrline{ 
  font-weight: 900; 
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 2px;
}
.home-contacts__name{ 
  color: var(--muted); 
  font-weight: 700; 
  font-size: 14px; 
}
.home-call{
  margin-top: 16px;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  text-decoration:none;
  font-weight: 900;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16,24,40,0.15);
}
.home-call:hover{
  background: #1a2332;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,24,40,0.2);
}
.home-call:active{ transform: translateY(0); }
.home-call img{ width: 18px; height: 18px; filter: invert(1); }
.home-map{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(16,24,40,0.08);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.home-map__frame{
  width: 100%;
  height: 380px;
  min-height: 280px;
  border: 0;
  display: block;
}
.home-map__open{
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: var(--bg-secondary);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background 0.2s ease, color 0.2s ease;
}
.home-map__open:hover{
  background: var(--primary);
  color: #fff;
}

.home-faq{
  width: min(100%, 940px);
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.home-faq__item{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 4px 16px rgba(16,24,40,0.08);
  transition: all 0.2s ease;
}
.home-faq__item:hover{
  border-color: rgba(31,111,235,0.3);
  box-shadow: 0 6px 20px rgba(16,24,40,0.1);
}
.home-faq__item.is-open{
  border-color: rgba(31,111,235,0.4);
}
.home-faq__q{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  cursor:pointer;
  font-weight: 900;
  font-size: 15px;
  text-align:left;
  color: var(--text);
  transition: color 0.2s ease;
}
.home-faq__q:hover{ color: var(--primary); }
.home-faq__plus{ 
  font-size: 24px; 
  color: var(--muted); 
  font-weight: 300;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.home-faq__item.is-open .home-faq__plus{ 
  color: var(--primary); 
  transform: rotate(45deg);
}
.home-faq__a{
  padding: 0 20px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}
.home-faq__item.is-open .home-faq__a{
  padding: 0 20px 20px;
  max-height: 300px;
}

.home-social{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  border: 1px dashed var(--border);
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(16,24,40,0.06);
}
.home-social__title{ 
  font-weight: 900; 
  font-size: 16px;
  color: var(--text);
}
.home-social__links{ 
  display:flex; 
  gap: 12px; 
  flex-wrap:wrap; 
  justify-content:flex-end; 
}

.home-footer{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.home-footer__links{ 
  display:flex; 
  gap: 16px; 
  flex-wrap:wrap; 
}
.home-footer__links a{ 
  color: var(--muted); 
  font-weight: 600; 
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.home-footer__links a:hover{ 
  color: var(--primary); 
  text-decoration: underline;
}

@media (max-width: 1024px){
  .home-about{ 
    grid-template-columns: 1fr; 
    gap: 20px;
  }
  .home-services{ 
    position: static; 
    max-width: 100%;
  }
  .home-features{ 
    grid-template-columns: repeat(2, 1fr); 
    gap: 14px;
  }
  .home-feature--easy{
    grid-column: 1;
    grid-row: auto;
  }
  .home-equipment{ 
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  .home-contacts{ 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  .home-map__frame{ height: 300px; min-height: 240px; }
  .home-carousel__nav{ 
    display:none; 
  }
  .home-product{ 
    flex-basis: calc(50% - 6px); 
  }
  .home-hero__inner{ 
    min-height: 500px; 
  }
  .home-sticker{
    width: clamp(110px, 14vw, 150px);
    height: clamp(110px, 14vw, 150px);
    max-width: 150px;
    max-height: 150px;
  }
  .home-sticker--id,
  .home-sticker--shirt{
    width: clamp(90px, 12vw, 130px);
    height: clamp(90px, 12vw, 130px);
    max-width: 130px;
    max-height: 130px;
  }
  /* Слева: 3 облачка */
  .home-sticker--docs{ 
    left: 2%; 
    top: 6%; 
    transform: none;
  }
  .home-sticker--photo{ 
    left: 1%; 
    top: 50%; 
    transform: translateY(-50%);
  }
  .home-sticker--id{ 
    left: 3%; 
    bottom: 10%; 
    transform: none;
  }
  /* Справа: 3 облачка */
  .home-sticker--engraving{ 
    right: 2%; 
    top: 6%; 
    transform: none;
  }
  .home-sticker--mug{ 
    right: 1%; 
    top: 50%; 
    transform: translateY(-50%);
  }
  .home-sticker--shirt{ 
    right: 3%; 
    bottom: 10%; 
    transform: none;
  }
  .home-section{ 
    padding: 32px 0; 
  }
}

@media (max-width: 720px){
  .home-nav{ 
    display:none; 
  }
  .home-header__inner{ 
    justify-content:space-between; 
    padding: 14px 0;
  }
  .home-brand{ 
    min-width: 0; 
    gap: 8px;
  }
  .home-brand__logo{
    width: 28px;
    height: 28px;
  }
  .home-brand__name{
    font-size: 14px;
  }
  .home-header__actions{
    gap: 8px;
  }
  .home-header__actions .btn{
    padding: 8px 12px;
    font-size: 13px;
  }
  .user-menu__trigger{
    width: 36px;
    height: 36px;
  }
  .user-menu__icon{
    width: 18px;
    height: 18px;
  }
  .user-menu__dropdown{
    min-width: 180px;
    right: 0;
  }
  .user-menu__item{
    padding: 8px 10px;
    font-size: 13px;
  }
  .home-hero{ 
    padding: 24px 0 16px; 
  }
  .home-hero__content{ 
    padding: 48px 16px 40px; 
  }
  .home-hero__title{
    font-size: clamp(28px, 8vw, 42px);
  }
  .home-hero__subtitle{
    font-size: 14px;
  }
  .home-hero__actions{
    gap: 10px;
  }
  .home-cta{
    padding: 10px 16px;
    font-size: 13px;
  }
  .home-sticker{ 
    width: 90px; 
    height: 90px;
    max-width: 90px;
    max-height: 90px;
  }
  .home-sticker--id,
  .home-sticker--shirt{
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
  }
  /* Слева: 3 облачка */
  .home-sticker--docs{ 
    left: 1%; 
    top: 4%; 
    transform: none;
  }
  .home-sticker--photo{ 
    left: 0%; 
    top: 50%; 
    transform: translateY(-50%);
  }
  .home-sticker--id{ 
    left: 2%; 
    bottom: 8%; 
    transform: none;
  }
  /* Справа: 3 облачка */
  .home-sticker--engraving{ 
    right: 1%; 
    top: 4%; 
    transform: none;
  }
  .home-sticker--mug{ 
    right: 0%; 
    top: 50%; 
    transform: translateY(-50%);
  }
  .home-sticker--shirt{ 
    right: 2%; 
    bottom: 8%; 
    transform: none;
  }
  .home-product{ 
    flex-basis: calc(75% - 6px); 
  }
  .home-carousel__viewport{ 
    width: 100%; 
  }
  .home-features{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .home-feature--easy{
    grid-column: 1;
    grid-row: auto;
  }
  .home-equipment{
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr;
  }
  .home-section{ 
    padding: 28px 0; 
  }
  .home-section__title{
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 20px;
  }
  .home-services{
    padding: 16px;
  }
  .home-faq__q{
    padding: 16px 18px;
    font-size: 14px;
  }
  .home-faq__a{
    padding: 0 18px 0;
    font-size: 13px;
  }
  .home-faq__item.is-open .home-faq__a{
    padding: 0 18px 18px;
  }
}

