/* ===== AGYN9 — фирменные цвета =====
   тёмно-синий #0C2C3C | синий #1A6F9E | голубой #1E90C2 | бирюзово-синий #0B4F6C | белый #FFFFFF */
:root {
  --ink: #0C2C3C;
  --blue: #1A6F9E;
  --sky: #1E90C2;
  --teal: #0B4F6C;
  --white: #FFFFFF;
  --tint: #F2F8FB;
  --line: #DCEAF2;
  --wa: #25D366;
  --shadow: 0 10px 30px rgba(12, 44, 60, .10);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, .btn { font-family: 'Montserrat', system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

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

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: .2s;
  white-space: nowrap;
}
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--primary { background: var(--sky); color: #fff; }
.btn--primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--sky); color: var(--blue); background: #fff; }
.btn--outline:hover { background: var(--tint); transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1eb857; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(37, 211, 102, .35); }

/* ===== Шапка ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.header__logo img { height: 52px; width: auto; }
.header__nav { display: flex; gap: 22px; margin-left: auto; }
.header__nav a { color: var(--ink); font-weight: 500; font-size: 14.5px; transition: color .2s; }
.header__nav a:hover { color: var(--sky); }
.header__cta { font-size: 13.5px; padding: 10px 16px; }
.header__burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.header__burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(30, 144, 194, .16), transparent 60%),
    radial-gradient(700px 450px at -10% 110%, rgba(26, 111, 158, .12), transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding: 70px 20px 60px;
}
.hero__kicker {
  color: var(--blue); font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px;
}
.hero h1 { font-size: 44px; line-height: 1.15; font-weight: 800; }
.hero h1 span { color: var(--sky); }
.hero__sub { margin: 18px 0 28px; font-size: 18px; color: #3A5568; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges {
  display: flex; gap: 36px; list-style: none; margin-top: 40px; flex-wrap: wrap;
}
.hero__badges li { display: flex; flex-direction: column; }
.hero__badges b { font-family: 'Montserrat'; font-size: 26px; color: var(--teal); font-weight: 800; }
.hero__badges span { font-size: 13.5px; color: #5A7484; }
.hero__img img { width: 100%; max-width: 470px; height: auto; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(12, 44, 60, .18)); }

/* ===== Секции ===== */
.section { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: linear-gradient(135deg, var(--teal), var(--ink)); color: #fff; }
.section__title { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section__title--left { text-align: left; }
.section--dark .section__title { color: #fff; }
.section__sub { text-align: center; color: #5A7484; margin-bottom: 40px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ===== Продукция ===== */
.products__grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; transition: .25s;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--sky); }
.product__img { background: var(--tint); border-radius: 10px; padding: 12px; margin-bottom: 18px; }
.product h3 { font-size: 21px; color: var(--teal); margin-bottom: 12px; }
.product__specs { list-style: none; font-size: 14px; color: #3A5568; flex: 1; margin-bottom: 18px; }
.product__specs li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.product__specs li b { color: var(--ink); font-weight: 600; text-align: right; }
.product .btn { width: 100%; }

/* ===== Преимущества ===== */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); transition: .25s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature__icon {
  width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sky), var(--blue)); font-size: 26px; margin-bottom: 16px;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: #5A7484; }

/* ===== Видео ===== */
.video__wrap {
  position: relative; max-width: 860px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.video__wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== О нас ===== */
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.about__item {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius); padding: 30px;
}
.about__year { font-family: 'Montserrat'; font-size: 42px; font-weight: 800; color: var(--sky); line-height: 1; margin-bottom: 14px; }
.about__plus { color: #fff; }
.about__item p { color: rgba(255, 255, 255, .85); font-size: 15px; }

/* ===== Каталог ===== */
.catalog__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.catalog__cover img {
  max-width: 340px; margin: 0 auto; border-radius: 10px;
  box-shadow: 0 20px 50px rgba(12, 44, 60, .25); transform: rotate(-2deg);
}
.catalog__text p { color: #3A5568; margin-bottom: 18px; max-width: 520px; }
.catalog__list { list-style: none; margin-bottom: 28px; }
.catalog__list li { padding: 6px 0 6px 30px; position: relative; color: #3A5568; }
.catalog__list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px;
  background: var(--sky); border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
}

/* ===== Галереи ===== */
.gallery { display: grid; gap: 18px; margin-top: 10px; }
.gallery--reviews { grid-template-columns: repeat(6, 1fr); }
.gallery img {
  width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; object-position: top;
  border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in;
  transition: .2s; background: #fff;
}
.gallery img:hover { transform: scale(1.04); box-shadow: var(--shadow); border-color: var(--sky); }

/* ===== CTA ===== */
.cta { background: linear-gradient(135deg, var(--blue), var(--sky)); padding: 70px 0; }
.cta__inner { text-align: center; color: #fff; }
.cta h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta p { opacity: .9; margin-bottom: 28px; }

/* ===== Футер ===== */
.footer { background: var(--ink); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; gap: 22px; }
.footer__logo { height: 54px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer p { color: rgba(255, 255, 255, .65); font-size: 13.5px; }

/* ===== Плавающий WhatsApp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .4); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Лайтбокс ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(12, 44, 60, .92);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 8px; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 14px; right: 22px; background: none; border: 0;
  color: #fff; font-size: 46px; cursor: pointer; line-height: 1;
}

/* ===== Адаптив ===== */
@media (max-width: 992px) {
  .hero h1 { font-size: 36px; }
  .products__grid, .features__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery--reviews { grid-template-columns: repeat(4, 1fr); }
  .header__nav { display: none; }
  .header__burger { display: block; margin-left: auto; }
  .header__cta { margin-left: auto; }
  .header__nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 18px 20px; gap: 14px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
}
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; padding: 46px 20px 40px; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__badges { justify-content: center; gap: 26px; }
  .hero__img { order: -1; }
  .hero__img img { max-width: 300px; }
  .section { padding: 52px 0; }
  .section__title { font-size: 26px; }
  .catalog__inner { grid-template-columns: 1fr; gap: 30px; }
  .catalog__cover img { max-width: 250px; }
  .section__title--left { text-align: center; }
  .catalog__text { text-align: center; }
  .catalog__text p, .catalog__list { text-align: left; }
  .about__grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .header__cta { display: none; }
}
@media (max-width: 560px) {
  .products__grid, .features__grid { grid-template-columns: 1fr; }
  .gallery--reviews { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 29px; }
  .btn--lg { width: 100%; }
}
