@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --page: #ffffff;
  --surface: #f4f5f5;
  --surface-deep: #e7e9e9;
  --ink: #14201a;
  --muted: #5b6a61;
  --brand: #2f5d49;
  --brand-hover: #264d3c;
  --wa: #1a9c4e;
  --wa-hover: #15843f;
  --wa-ink: #ffffff;
  --sale: #c43d4b;
  --amber: #bf6a1a;
  --amber-ink: #a35a12;
  --amber-soft: #fcefdd;
  --amber-line: #f0d9bf;
  --font-family: "Manrope Variable", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--page);
  color: var(--ink);
  font-family: var(--font-family);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

.hidden {
  display: none !important;
}

.content-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.header-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.header-delivery-badge {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.header-wa-button,
.whatsapp-card-button,
.modal-wa-button,
.card-wa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--wa);
  color: var(--wa-ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.header-wa-button:hover,
.whatsapp-card-button:hover,
.modal-wa-button:hover,
.card-wa-button:hover {
  background-color: var(--wa-hover);
  transform: scale(1.02);
}

.header-wa-button {
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
}

.wa-icon-img {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

/* Hero */
.hero-section {
  padding: 80px 0 64px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  max-width: 880px;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 auto 20px;
}

.hero-subtitle {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}

.hero-features-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.hero-feature-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  color: var(--amber-ink);
}

.hero-feature-item + .hero-feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 44px;
  background: var(--amber-line);
  transform: translateY(-50%);
}

.hero-feature-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber);
}

.hero-feature-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-feature-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-preview-col {
  display: none;
}

.primary-action-btn {
  display: inline-block;
  background: var(--brand);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 999px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.primary-action-btn:hover {
  background: var(--brand-hover);
  transform: scale(1.03);
}
/* Каталог */
.catalog-section {
  padding: 8px 0 72px;
}

.section-header-block {
  margin-bottom: 32px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.section-description {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.15s ease;
}

.product-card:hover {
  transform: scale(1.015);
}

.video-container {
  aspect-ratio: 9 / 16;
  max-height: 500px;
  width: 100%;
  background: var(--surface-deep);
  cursor: pointer;
  overflow: hidden;
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 18px 18px 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.card-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.card-old-price {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  white-space: nowrap;
}

.card-discount-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--sale);
  white-space: nowrap;
}

.card-specs {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.card-wa-button {
  margin-top: auto;
  width: 100%;
  min-height: 46px;
  font-size: 14px;
  border-radius: 14px;
  padding: 8px 12px;
}

.card-wa-button .wa-icon-img {
  width: 20px;
  height: 20px;
}

.card-wa-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Подвал */
.site-footer {
  padding: 48px 0;
  background: var(--surface);
  border-radius: 32px 32px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 12px;
  mix-blend-mode: multiply;
}

.footer-address {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--muted);
}

.whatsapp-card-button {
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
}

/* Плеер */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 15, 0.82);
  backdrop-filter: blur(8px);
}

.video-modal-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  max-height: 94dvh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  border-radius: 28px;
  overflow: hidden;
}

.modal-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: calc(94dvh - 84px);
  background: #000000;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.modal-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000000;
}

.modal-close-btn,
.modal-sound-btn {
  position: absolute;
  top: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.modal-close-btn {
  left: 14px;
  font-size: 18px;
  font-weight: 700;
}

.modal-sound-btn {
  right: 14px;
}

.modal-close-btn:hover,
.modal-sound-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.sound-svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.modal-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-play-overlay.visible {
  opacity: 1;
}

.modal-play-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  margin-left: 3px;
}

.modal-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 12px;
  background: rgba(0, 0, 0, 0.45);
}

.modal-progress-track {
  position: relative;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
}

.modal-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--wa);
  border-radius: 4px;
  transition: width 0.05s linear;
}

.modal-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-control-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.control-svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.modal-time-display {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.modal-product-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
}

.modal-product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.modal-product-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
}

.modal-price-current {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
}

.modal-old-price {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  white-space: nowrap;
}

.modal-discount-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--sale);
  white-space: nowrap;
}

.modal-wa-button {
  flex-shrink: 0;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
}

.modal-wa-button .wa-icon-img {
  width: 18px;
  height: 18px;
}

@media (max-width: 1040px) {
  .hero-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    width: 100%;
    margin-bottom: 24px;
  }

  .hero-feature-item {
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 6px;
    text-align: center;
  }

  .hero-feature-item + .hero-feature-item::before {
    height: 56px;
  }

  .hero-feature-icon {
    width: 52px;
    height: 52px;
  }

  .hero-feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .hero-feature-label {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .content-container {
    padding: 0 16px;
  }

  .header-container {
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  }

  .brand-link {
    min-height: 44px;
  }

  .brand-logo-img {
    height: 32px;
  }

  .header-delivery-badge {
    display: none;
  }

  .header-wa-button {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .header-wa-button .wa-icon-img {
    width: 18px;
    height: 18px;
  }

  .hero-section {
    padding: 28px 0 32px;
  }

  .hero-title {
    font-size: 34px;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-preview-col {
    display: block;
    width: 100%;
    margin-top: 20px;
  }

  .hero-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-thumb-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--surface);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    transition: transform 0.15s ease;
  }

  .hero-thumb-card:hover {
    transform: scale(1.02);
  }

  .hero-thumb-video-wrapper {
    aspect-ratio: 9 / 16;
    max-height: 200px;
    width: 100%;
    background: var(--surface-deep);
    overflow: hidden;
  }

  .hero-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-thumb-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px 12px;
  }

  .hero-thumb-title {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-thumb-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 6px;
  }

  .hero-thumb-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--brand);
  }

  .hero-thumb-old-price {
    font-size: 11px;
    color: var(--muted);
    text-decoration: line-through;
    white-space: nowrap;
  }

  .hero-thumb-discount-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--sale);
    white-space: nowrap;
  }

  .primary-action-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
  }
  .catalog-section {
    padding: 0 0 48px;
  }

  .section-header-block {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-description {
    font-size: 14px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card {
    border-radius: 18px;
  }

  .product-card-body {
    gap: 4px;
    padding: 10px 10px 12px;
  }

  .card-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-price {
    font-size: 16px;
  }

  .card-old-price,
  .card-discount-badge {
    font-size: 12px;
  }

  .card-specs {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-wa-button {
    min-height: 44px;
    margin-top: 6px;
    padding: 6px 8px;
    gap: 6px;
    font-size: 12px;
    border-radius: 12px;
  }

  .card-wa-button .wa-icon-img {
    width: 15px;
    height: 15px;
  }

  .card-wa-button span {
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .site-footer {
    padding: 32px 0;
    border-radius: 24px 24px 0 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .whatsapp-card-button {
    width: 100%;
  }

  .video-modal-overlay {
    padding: 0;
  }

  .video-modal-dialog {
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .modal-video-wrapper {
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
    max-height: none;
  }

  .modal-product-bar {
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .modal-wa-button {
    min-height: 44px;
  }

  .modal-product-title {
    font-size: 13px;
    max-width: 150px;
  }

  .modal-wa-button {
    padding: 9px 12px;
    font-size: 12px;
  }

  .modal-close-btn,
  .modal-sound-btn {
    top: calc(12px + env(safe-area-inset-top));
    width: 44px;
    height: 44px;
  }

  .modal-close-btn {
    left: 12px;
    font-size: 18px;
  }

  .modal-sound-btn {
    right: 12px;
  }
}

/* Заставка и появление блоков */
.intro {
  display: none;
}

.motion-ready .intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--page);
  transition: opacity 0.5s ease;
}

.motion-ready .intro.is-leaving {
  opacity: 0;
}

.intro-logo {
  width: 150px;
  height: auto;
  mix-blend-mode: multiply;
  opacity: 0;
  transform: scale(0.88);
  animation: intro-logo-in 0.8s ease forwards;
}

@keyframes intro-logo-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes intro-logo-fade {
  to {
    opacity: 1;
  }
}

.motion-calm .intro-logo {
  transform: none;
  animation-name: intro-logo-fade;
}

.motion-calm [data-reveal] {
  transform: none;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: scale(0.97);
}

.motion-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
