:root {
  --bg: #ffffff;
  --bg-muted: #f5f7fa;
  --text: #1f2933;
  --muted: #61707f;
  --line: #dce3ea;
  --dark: #111827;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --green: #16a34a;
  --green-dark: #15803d;
  --blue: #2563eb;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Inter", "Roboto", Arial, sans-serif;
  background: var(--bg);
  line-height: 1.6;
}

body.is-viber-fallback-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section--muted {
  background: var(--bg-muted);
}

.section--dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 0%, rgba(249, 115, 22, 0.22), transparent 32%),
    linear-gradient(135deg, #111827 0%, #1f2933 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 227, 234, 0.85);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo__image {
  width: 178px;
  height: auto;
  display: block;
  border-radius: 10px;
}

.logo strong,
.logo small {
  display: block;
}

.logo small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 26px;
  color: #3b4652;
  font-weight: 700;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.1;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.16);
}

.btn--large {
  min-height: 56px;
  padding: 16px 24px;
}

.btn--primary {
  color: #fff;
  background: var(--green);
}

.btn--primary:hover {
  background: var(--green-dark);
}

.btn--viber {
  color: #fff;
  background: #7360f2;
}

.btn--ghost {
  background: #fff;
  border-color: var(--line);
}

.btn--dark {
  color: #fff;
  background: var(--dark);
}

.icon-link {
  background: var(--bg-muted);
  position: relative;
  overflow: hidden;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: 10px;
  transition: transform 0.18s ease;
}

.icon-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
}
.icon-link .icon-phone {
  width: 75%;
  height: 75%;
  transform: translateY(-50%) translateX(-50%);
  top: 50%;
  left: 50%;
}

.icon-link:hover {
  transform: translateY(-2px) scale(1.04);
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 120px 0 96px;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.78) 44%, rgba(17, 24, 39, 0.34)),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.35), transparent 26%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #303944, #111827);
}

.hero__bg::after {
  position: absolute;
  right: 8%;
  bottom: 7%;
  width: min(440px, 44vw);
  height: min(440px, 44vw);
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, #f97316 0 20px, #e5e7eb 20px 34px, #1f2933 34px 60px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 42px;
  box-shadow: var(--shadow);
  opacity: 0.72;
  transform: rotate(-6deg);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__ticks li {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.hero-card {
  padding: 28px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card__label,
.stock {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  background: #dcfce7;
  border-radius: 999px;
}

.hero-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.15;
}

.hero-card p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section--dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-btn {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.slider-btn:hover {
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.image-slider {
  position: relative;
}

.slider-track {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.78));
}

.slide figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 1;
  max-width: 680px;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: #cbd5e1;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    width 0.18s ease,
    background 0.18s ease;
}

.slider-dot.is-active {
  width: 34px;
  background: var(--orange);
}

.catalog-grid,
.benefits-grid,
.products-grid,
.reviews-grid {
  display: grid;
  gap: 20px;
}

.catalog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.category-card,
.product-card,
.contacts-card,
.lead-form,
.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.category-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 26px;
}

.category-card__icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  place-items: center;
  font-size: 26px;
  background: var(--bg-muted);
  border-radius: 18px;
}

.category-card p {
  color: var(--muted);
}

.category-card a {
  margin-top: auto;
  color: var(--orange-dark);
  font-weight: 800;
}

.benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefits-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.benefits-grid strong,
.benefits-grid span {
  display: block;
}

.benefits-grid strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.benefits-grid span {
  color: var(--muted);
}

.products-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card__image {
  min-height: 170px;
  overflow: hidden;
  position: relative;

  background:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.55), transparent 24%),
    linear-gradient(135deg, #374151, #111827);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.product-card > *:not(.product-card__image) {
  margin-right: 20px;
  margin-left: 20px;
}

.product-card .stock {
  width: fit-content;
  margin-top: 20px;
}

.product-card p {
  color: var(--muted);
}

.product-card strong {
  display: block;
  margin-top: auto;
  margin-bottom: 18px;
  font-size: 22px;
}

.product-card .btn {
  margin-bottom: 20px;
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reviews-grid figure {
  margin: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.reviews-grid blockquote {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.reviews-grid figcaption {
  color: #fff;
  font-weight: 800;
}

.support-grid,
.contacts-grid,
.final-cta__grid,
.footer-grid {
  display: grid;
  gap: 32px;
}

.support-grid {
  grid-template-columns: 1fr 460px;
  align-items: start;
}

.support-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-chips a {
  padding: 10px 14px;
  font-weight: 800;
  background: var(--bg-muted);
  border-radius: 999px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  background: var(--bg-muted);
  border: 1px solid transparent;
  border-radius: 16px;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-note.is-success {
  color: var(--green-dark);
  font-weight: 800;
}

.contacts-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: stretch;
}

.contacts-card {
  padding: 30px;
}

.contacts-card p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.contact-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-weight: 700;
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.route-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 12px 18px;
  color: #fff;
  font-weight: 800;
  background: var(--dark);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.instagram-section {
  padding-top: 72px;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.insta-grid a {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.84)),
    radial-gradient(circle at 30% 25%, #f97316, transparent 28%),
    linear-gradient(135deg, #515bd4, #dd2a7b 55%, #f58529);
  border-radius: var(--radius);
  transition: transform 0.18s ease;
}

.insta-grid a:hover {
  transform: translateY(-4px);
}

.insta-grid span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: #fff;
  font-weight: 800;
}

.final-cta {
  padding: 64px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #fb923c);
}

.final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.final-cta h2 {
  margin-bottom: 10px;
}

.final-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.final-cta__grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  padding: 42px 0 92px;
  color: rgba(255, 255, 255, 0.84);
  background: #0b111a;
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer span,
.footer-links a {
  display: block;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: #fff;
}

.mobile-bar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.mobile-bar a {
  display: flex;
  flex: 1;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: var(--green);
  border-radius: 14px;
}

.mobile-bar a:last-child {
  background: #7360f2;
}

.viber-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(17, 24, 39, 0.58);
}

.viber-modal__card {
  width: min(440px, 100%);
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.viber-modal__card p {
  color: var(--muted);
}

.viber-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .nav {
    display: none;
  }

  .header-actions .btn--ghost,
  .header-actions .btn--viber {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 86px 0 72px;
  }

  .hero__grid,
  .support-grid,
  .contacts-grid,
  .final-cta__grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

  .catalog-grid,
  .benefits-grid,
  .products-grid,
  .reviews-grid,
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .slider-track {
    min-height: 430px;
  }

  .final-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .section {
    padding: 64px 0;
  }

  .site-header {
    gap: 12px;
  }

  .logo span:last-child {
    display: none;
  }

  .logo__image {
    width: 150px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero__actions,
  .contacts-actions,
  .final-cta__actions {
    flex-direction: column;
  }

  .hero__actions .btn,
  .contacts-actions .btn,
  .final-cta__actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 22px;
  }

  .slider-controls {
    width: 100%;
    justify-content: space-between;
  }

  .slider-track {
    min-height: 320px;
    border-radius: 24px;
  }

  .slide figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .catalog-grid,
  .benefits-grid,
  .products-grid,
  .reviews-grid,
  .insta-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: auto;
  }

  .contacts-card,
  .lead-form {
    padding: 22px;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px;
  }

  .mobile-bar {
    display: flex;
  }
}
