/* AKRO Belarus — akro-p.by */
@font-face {
  font-family: "Aeonik Pro";
  src: url("../assets/fonts/Aeonik-Pro/AeonikProTRIAL-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik Pro";
  src: url("../assets/fonts/Aeonik-Pro/AeonikProTRIAL-LightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik Pro";
  src: url("../assets/fonts/Aeonik-Pro/AeonikProTRIAL-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik Pro";
  src: url("../assets/fonts/Aeonik-Pro/AeonikProTRIAL-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik Pro";
  src: url("../assets/fonts/Aeonik-Pro/AeonikProTRIAL-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik Pro";
  src: url("../assets/fonts/Aeonik-Pro/AeonikProTRIAL-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Mitrovica";
  src: url("../assets/fonts/mitrovica/mitrovica-Regular/milota-Regular.woff2") format("woff2"),
       url("../assets/fonts/mitrovica/mitrovica-Regular/milota-Regular.woff") format("woff"),
       url("../assets/fonts/mitrovica/mitrovica-Regular/milota-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mitrovica";
  src: url("../assets/fonts/mitrovica/mitrovica-Medium/milota-Medium.woff2") format("woff2"),
       url("../assets/fonts/mitrovica/mitrovica-Medium/milota-Medium.woff") format("woff"),
       url("../assets/fonts/mitrovica/mitrovica-Medium/milota-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mitrovica";
  src: url("../assets/fonts/mitrovica/mitrovica-Bold/milota-Bold.woff2") format("woff2"),
       url("../assets/fonts/mitrovica/mitrovica-Bold/milota-Bold.woff") format("woff"),
       url("../assets/fonts/mitrovica/mitrovica-Bold/milota-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #c2a83e;
  --gold-hover: #d4ba4f;
  --water: #d7fdec;
  --pine: #008F77;
  --mint: #00bc9c;
  --teal: #14453d;
  --dark: #181d27;
  --blue: #002642;
  --violet: #331e38;
  --white: #ffffff;
  --muted: rgba(24, 29, 39, 0.85);
  --bir-grad: linear-gradient(90deg, #39939f 11.5%, #71b3ba 132.74%);
  --radius-xl: 24px;
  --radius-l: 16px;
  --radius-m: 13px;
  --radius-s: 4px;
  --radius: var(--radius-s);
  --container: 1330px;
  --font: "Aeonik Pro", system-ui, sans-serif;
  --mitrovica: "Mitrovica", system-ui, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--dark);
  background: #F2F3F8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section--water {
  background: var(--water);
}

.section--delivery {
  position: relative;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.section--delivery__bg {
  position: absolute;
  inset: -20% 0;
  z-index: -1;
  background: url("../assets/images/green-blur-bg.jpg") center / cover no-repeat;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.section--delivery__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 69, 61, 0.05);
}

.section__eyebrow {
  font-family: var(--mitrovica);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--bir-grad);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section__title {
  font-family: var(--mitrovica);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 12px;
}

@media (min-width: 1367px) {
  .section__title {
    font-size: calc(clamp(1.5rem, 3vw, 2.25rem) + 4px);
  }
}

@media (min-width: 861px) {
  .section--delivery .section__title {
    max-width: 66%;
  }

  .section--delivery .section__subtitle {
    max-width: 87%;
  }

  .section--compare .section__title {
    max-width: 70%;
  }

  #pomesheniya .section__title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  }

  .compare__grid {
    margin-top: 25px;
  }
}

#pomesheniya .section__title,
#pomesheniya .section__subtitle {
  max-width: none;
}

.section__subtitle {
  margin: 0 0 40px;
  max-width: 40rem;
  color: var(--muted);
}

.section--delivery .section__subtitle {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-l);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

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

.btn--gold:hover {
  background: var(--gold-hover);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--pine);
}

.btn--ghost-dark:hover {
  background: var(--teal);
  color: var(--white);
}

.dark-button {
  padding-top: 10px;
  padding-bottom: 10px;
  background:
    radial-gradient(57.22% 58.06% at 38.81% 40.15%, rgba(17, 174, 200, 0.32) 0%, rgba(142, 217, 215, 0) 100%),
    linear-gradient(94deg, #51939a 13.32%, #07414b 151.1%);
  color: var(--white);
}

.dark-button:hover {
  filter: brightness(1.08);
}

.section--delivery .btn {
  background:
    radial-gradient(74.63% 74.64% at 26.87% 37.88%, rgba(17, 182, 200, 0.39) 0%, rgba(36, 91, 125, 0) 100%),
    linear-gradient(94deg, #2a6b8c 13.32%, #04304e 151.1%);
  background-blend-mode: overlay, normal;
  color: var(--white);
}

.section--delivery .btn:hover {
  filter: brightness(1.08);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 38, 66, 0.94);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-bottom: 1px solid rgba(194, 168, 62, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  font-family: var(--mitrovica);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--white);
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-family: var(--mitrovica);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}

.nav a:hover {
  color: #77c1b4;
  opacity: 1;
}

.header__phone {
  font-family: var(--mitrovica);
  font-size: 0.875rem;
  font-weight: 500;
  color: #77c1b4;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: #d8ecea;
  color: var(--dark);
  overflow: hidden;
}

@media (min-width: 861px) {
  .hero {
    max-height: 700px;
  }
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 56px 0;
}

.hero__content {
  max-width: 640px;
}

.hero__brand {
  font-family: var(--mitrovica);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.hero__title {
  font-family: var(--mitrovica);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--dark);
}

@media (min-width: 861px) {
  .hero__title {
    font-size: 2.75rem;
  }
}

.hero__media {
  width: 100%;
}

.hero__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: rgba(0, 38, 66, 0.08);
  box-shadow: 0 12px 36px rgba(0, 38, 66, 0.12);
}

.hero__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero__text {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 36rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-bottom: 36px;
}

.hero__stat strong {
  display: block;
  font-family: var(--mitrovica);
  font-size: 1.5rem;
  color: var(--teal);
}

.hero__stat span {
  font-size: 0.875rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btn--case {
  padding: 10px 20px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: transparent;
  border: 1px solid #51939a;
  color: #07414b;
}

.hero .btn--case:hover,
.hero .btn--case:focus-visible {
  background:
    radial-gradient(57.22% 58.06% at 38.81% 40.15%, rgba(17, 174, 200, 0.32) 0%, rgba(142, 217, 215, 0) 100%),
    linear-gradient(94deg, #51939a 13.32%, #07414b 151.1%);
  border-color: transparent;
  color: var(--white);
}

/* Benefits — Sber trust-section layout */
.benefits {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
  background: radial-gradient(ellipse 85% 75% at 50% 28%, #e7e7e7 0%, #b5e3dc 38%, #a3cfd1 72%, #89c6be 100%);
}

.benefits__stage {
  position: relative;
  width: min(100%, 1440px);
  min-height: 640px;
  margin: 0 auto;
}

.benefits__center {
  position: absolute;
  top: 36%;
  left: 50%;
  z-index: 2;
  width: min(90%, 560px);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.benefits.is-visible .benefits__center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.benefits__title {
  margin: 0;
  font-family: var(--mitrovica);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.benefits__card {
  position: absolute;
  z-index: 3;
  width: 300px;
  opacity: 0;
  transition:
    opacity 0.95s cubic-bezier(0.34, 1.25, 0.64, 1),
    transform 0.95s cubic-bezier(0.34, 1.25, 0.64, 1);
}

.benefits__card--tl {
  top: 11%;
  left: calc(clamp(16px, 4vw, 56px) + 50px);
  transform: translate(42vw, 28vh) scale(0.86);
  transition-delay: 0.08s;
}

.benefits__card--tr {
  top: 11%;
  right: calc(clamp(16px, 4vw, 56px) + 50px);
  transform: translate(-42vw, 28vh) scale(0.86);
  transition-delay: 0.16s;
}

.benefits__card--bl {
  bottom: 11%;
  left: calc(clamp(16px, 4vw, 56px) + 50px);
  transform: translate(42vw, -28vh) scale(0.86);
  transition-delay: 0.24s;
}

.benefits__card--br {
  bottom: 11%;
  right: calc(clamp(16px, 4vw, 56px) + 50px);
  transform: translate(-42vw, -28vh) scale(0.86);
  transition-delay: 0.32s;
}

.benefits.is-visible .benefits__card {
  opacity: 1;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1);
}

.benefits__card-move {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: rgba(20, 69, 61, 0.84);
  color: var(--white);
  text-align: left;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 38, 66, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform;
}

.benefits__card:hover .benefits__card-move {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0, 38, 66, 0.22);
}

.benefits__content {
  position: relative;
  z-index: 1;
}

.benefits__card h3 {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
}

.benefits__card p {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.benefits__decor {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.3s ease;
  will-change: transform;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
}

.benefits__decor--tr {
  top: -34px;
  right: -22px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
}

.benefits__decor--tr-out {
  top: -42px;
  right: -48px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
}

.benefits__decor--bl {
  bottom: -46px;
  left: -38px;
  width: 118px;
  height: 118px;
  border-radius: 24px;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(-12deg);
}

.benefits__decor--br {
  top: -36px;
  right: -28px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.benefits__card:hover .benefits__decor--tr,
.benefits__card:hover .benefits__decor--tr-out,
.benefits__card:hover .benefits__decor--br {
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.08);
}

.benefits__card:hover .benefits__decor--bl {
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(-12deg) scale(1.08);
}

/* Applications */
#pomesheniya {
  padding-bottom: 36px;
  background:
    radial-gradient(52.78% 50.82% at 4.61% 45.39%, rgba(218, 246, 243, 0.88) 0%, rgba(175, 209, 205, 0) 100%),
    radial-gradient(58.67% 47.52% at 62.05% 36.92%, rgba(163, 213, 217, 0.77) 0%, rgba(163, 213, 217, 0) 100%),
    linear-gradient(0deg, #ecf5f9 3.82%, #eaf2f4 13%, #c8d9d9 26.16%, #a0ccc9 38.78%, #85c3c1 61.88%, #89c6be 79.12%);
  background-repeat: no-repeat;
  background-color: #89c6be;
}

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

.app-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card__media {
  width: 70%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-l);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.app-card__media:hover img {
  transform: scale(1.06);
}

.app-card__label {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--dark);
}

/* Compare */
.section--compare {
  padding-bottom: 43px;
  background:
    radial-gradient(circle, #8ed9d7 10%, transparent 39%),
    linear-gradient(180deg, #ecf5f9 18.71%, #e8f5f9 24.88%, #feffff 62.32%, #f2f1ef 100%);
  background-size: 60% 60%, auto;
  background-position: calc(-40vw - 200px) 0, 0 0;
  background-repeat: no-repeat;
  overflow: hidden;
}

.section--compare .section__title {
  margin-bottom: 20px;
}

.compare__layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.compare__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 75%;
  flex-shrink: 0;
}

.compare__visual {
  width: 25%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-left: 16px;
}

.compare__plitka {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.compare-card {
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 22px;
  border-radius: var(--radius-l);
  background: transparent;
  border: none;
  overflow: hidden;
}

.compare-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.compare__grid > .compare-card:nth-child(1)::before {
  background-image: url("../assets/images/beton.jpg");
}

.compare__grid > .compare-card:nth-child(2)::before {
  background-image: url("../assets/images/plitki.jpg");
}

.compare__grid > .compare-card:nth-child(3)::before {
  background-image: url("../assets/images/nalivnoj.jpg");
}

.compare-card--win {
  background: transparent;
  color: var(--white);
}

.compare-card--win::before {
  background-image: url("../assets/images/pvh.jpg");
}

.compare-card--win::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(291deg, #39939f -60.39%, #71b3ba 97.59%);
  opacity: 0.75; /* полупрозрачный градиент поверх фото */
  z-index: 1;
}

.compare-card h3 {
  position: relative;
  z-index: 2;
  font-family: var(--font);
  font-size: calc(1rem + 5px);
  font-weight: 500;
  margin: 0 0 8px;
}

.compare-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.compare-card--win p {
  color: rgba(255, 255, 255, 0.8);
}

/* Catalog */
#catalog {
  padding-top: 0;
  --glow-left: rgba(137, 205, 212, 0.78);
  --glow-right: #CEE9F2;
  background:
    radial-gradient(circle, var(--glow-left) 10%, transparent 39%),
    radial-gradient(circle, var(--glow-right) 0%, transparent 50%),
    linear-gradient(
      180deg,
      #f2f1ef 1.29%,
      rgba(227, 224, 217, 0.91) 16.26%,
      rgba(227, 224, 217, 0.81) 28.19%,
      #e8e7e4 42.77%,
      rgba(232, 245, 249, 0.52) 63.52%,
      #e8f5f9 76.41%,
      #ecf5f9 82.58%,
      #f2f3f8 93.1%
    );
  background-position: -40vw 300px, 40vw 100px, 0 0;
  background-repeat: no-repeat;
  overflow: hidden;
}

#catalog .section__title {
  margin-bottom: 40px;
}

.section__title-soft {
  opacity: 0.72;
}

.catalog__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.65);
  border: none;
  border-radius: var(--radius-l);
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0, 38, 66, 0.08);
}

.product-card__gallery {
  position: relative;
}

.product-card__main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: transparent;
  border-radius: var(--radius);
}

.product-card__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.product-card__main img.is-active {
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s;
}

.product-card__gallery:hover .gallery-nav {
  opacity: 1;
}

.gallery-nav--prev {
  left: 8px;
}

.gallery-nav--next {
  right: 8px;
}

.product-card__thumbs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.product-card__thumbs button {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  background: none;
}

.product-card__thumbs button.is-active {
  opacity: 1;
  border-color: var(--gold);
}

.product-card__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__content {
  display: flex;
  flex-direction: column;
  padding: 0 4px 8px;
}

.product-card__name {
  font-family: var(--font);
  font-size: 1.23rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: -6px 0 14px;
  line-height: 1.3;
}

.product-card__list {
  flex: 1;
  margin-bottom: 16px;
}

.product-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(61, 112, 104, 0.12);
  font-size: 0.875rem;
}

.product-card__list li span:first-child {
  color: var(--muted);
}

.product-card__prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.old-price {
  font-family: var(--font);
  font-size: 0.9rem;
  color: #7c7c7c;
  text-decoration: line-through;
}

.old-price[hidden] {
  display: none !important;
}

.new-price {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}

/* Cases / gallery */
#foto {
  padding-bottom: 36px;
  background: linear-gradient(184deg, #F2F3F8 35.88%, #E6F6F9 100.68%);
}

#foto .section__title {
  margin-bottom: 40px;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 284px;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--pine);
}

.case-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__panel {
  position: relative;
  z-index: 1;
  width: calc(50% - 50px);
  max-width: 100%;
  margin: 80px 0 15px 20px;
}

.case-card__glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  pointer-events: none;
}

.case-card__body {
  position: relative;
  z-index: 1;
  padding: 13px 20px 20px;
}

.case-card__body h3 {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--dark);
}

.case-card__body p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

.case-card__body .btn {
  margin-top: 16px;
  padding: 10px 20px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: transparent;
  border: 1px solid #51939a;
  color: #07414b;
  -webkit-appearance: none;
  appearance: none;
}

#foto .case-card__body .btn:hover,
#foto .case-card__body .btn:focus-visible {
  background:
    radial-gradient(57.22% 58.06% at 38.81% 40.15%, rgba(17, 174, 200, 0.32) 0%, rgba(142, 217, 215, 0) 100%),
    linear-gradient(94deg, #51939a 13.32%, #07414b 151.1%);
  border-color: transparent;
  color: var(--white);
}

/* Reviews */
#otziv {
  padding-top: 48px;
  background: linear-gradient(180deg, #E6F6F9 0%, #E8F5F9 25.17%, #B5D9D9 100%);
}

#otziv .section__title {
  margin-bottom: 40px;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.reviews-carousel__viewport {
  overflow: hidden;
}

.reviews-carousel__track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 168px;
  padding: 24px;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(61, 112, 104, 0.12);
}

.review-card__text {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--dark);
}

.review-card__author {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-align: right;
}

.reviews-carousel__btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(61, 112, 104, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--teal);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.reviews-carousel__btn:hover:not(:disabled) {
  background: var(--white);
  border-color: var(--gold);
}

.reviews-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Calc form */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.calc__form {
  display: grid;
  gap: 14px;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-family: var(--font);
  margin-bottom: 6px;
  color: #BEE3E1;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-field input:focus,
.form-field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form-field select option {
  color: var(--dark);
}

/* Contacts */
.contacts__item dt {
  background: var(--bir-grad);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.contacts__list {
  display: grid;
  gap: 20px;
}

.contacts__item {
  display: grid;
  gap: 4px;
}

.contacts__item dt {
  font-family: var(--mitrovica);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contacts__item dd {
  margin: 0;
  font-size: 1.05rem;
}

.contacts__item a:hover {
  color: var(--gold);
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 28px 0;
  font-size: 0.875rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer a:hover {
  color: var(--gold);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 29, 39, 0.72);
}

.modal__dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-m);
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}

.modal__title {
  font-family: var(--mitrovica);
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.modal__text {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.modal__form {
  display: grid;
  gap: 12px;
}

.modal__form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(61, 112, 104, 0.3);
  border-radius: var(--radius-m);
  background: #f8fffc;
  color: var(--dark);
}

.modal__form input:focus {
  outline: 2px solid var(--gold);
}

.modal__success {
  display: none;
  text-align: center;
  padding: 16px 0;
}

.modal__success.is-visible {
  display: block;
}

.modal__success h3 {
  font-family: var(--mitrovica);
  color: var(--teal);
  margin: 0 0 8px;
}

body.modal-open {
  overflow: hidden;
}

/* Reveal animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__layout {
  animation: fadeUp 0.7s ease both;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .catalog__body {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 280px 1fr;
  }

  .apps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare__grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .compare__visual {
    display: none;
  }

  .reviews-carousel {
    gap: 12px;
  }

  .reviews-carousel__btn {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }
}

@media (max-width: 1024px) {
  .benefits {
    padding: 56px 0;
  }

  .benefits__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-height: auto;
    padding: 0 16px;
  }

  .benefits__center {
    position: static;
    width: 100%;
    max-width: 520px;
    transform: none;
    opacity: 0;
  }

  .benefits:not(.is-visible) .benefits__center {
    transform: translateY(24px) scale(0.96);
  }

  .benefits.is-visible .benefits__center {
    opacity: 1;
    transform: none;
  }

  .benefits__card {
    position: static;
    width: 100%;
    max-width: 400px;
    opacity: 0;
    transform: translateY(36px) scale(0.94);
  }

  .benefits__card--tl,
  .benefits__card--tr,
  .benefits__card--bl,
  .benefits__card--br {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .benefits.is-visible .benefits__card {
    opacity: 1;
    transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1);
  }
}

@media (max-width: 860px) {
  .nav,
  .header__phone {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--blue);
    padding: 12px 0;
    border-bottom: 1px solid rgba(194, 168, 62, 0.25);
  }

  .nav.is-open a {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .calc,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .case-card__panel {
    width: calc(100% - 40px);
    margin: 80px 0 15px 20px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .cases__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: calc(clamp(1.5rem, 3vw, 2.25rem) + 2px);
  }

  .benefits__title {
    font-size: calc(clamp(2rem, 4vw, 3rem) + 2px);
  }

  .section--compare {
    padding-bottom: 29px;
  }

  #pomesheniya {
    padding-bottom: 24px;
  }

  .apps__grid,
  .compare__grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    align-items: center;
    text-align: center;
  }

  .app-card__media {
    width: 78%;
    margin-inline: auto;
  }

  .app-card__label {
    font-size: 1.4rem;
    text-align: center;
  }

  .compare__grid {
    width: 100%;
  }

  .compare-card h3 {
    font-size: 2.36rem;
    line-height: 115%;
  }

  .compare-card p {
    font-size: 1.6rem;
  }

  #catalog {
    background: linear-gradient(
      180deg,
      #f2f1ef 1.29%,
      rgba(227, 224, 217, 0.91) 16.26%,
      rgba(227, 224, 217, 0.81) 28.19%,
      #e8e7e4 42.77%,
      rgba(232, 245, 249, 0.52) 63.52%,
      #e8f5f9 76.41%,
      #ecf5f9 82.58%,
      #f2f3f8 93.1%
    );
    background-position: 0 0;
  }

  .reviews-carousel {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 12px 16px;
  }

  .reviews-carousel__viewport {
    grid-column: 1 / -1;
    order: 0;
  }

  .reviews-carousel__btn {
    justify-self: center;
  }

  .reviews-carousel__btn--prev,
  .reviews-carousel__btn--next {
    order: 0;
  }

  .gallery-nav {
    opacity: 1;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Scroll reveal — Lab21-like fade/slide */
.reveal {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal--text {
  transform: translate3d(0, 36px, 0);
  transition-duration: 1.05s;
}

.reveal--card {
  transform: translate3d(0, 56px, 0);
  transition-duration: 0.9s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--text,
  .reveal--card {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
