:root {
  --ink: #172638;
  --muted: #657386;
  --line: #e3ebf1;
  --surface: #ffffff;
  --soft: #f6f8f4;
  --cream: #fbf6ed;
  --brand: #126a88;
  --brand-dark: #0c4d63;
  --accent: #8b6f3e;
  --green: #5f8f63;
  --green-soft: #edf5ea;
  --status: #5f8f63;
  --shadow: 0 18px 50px rgba(23, 38, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: var(--surface);
}

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

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

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

.topline {
  color: #536372;
  font-size: 14px;
  background: #f1f5f7;
}

.topline__inner,
.topline__links,
.header__inner,
.nav__inner,
.hero__buttons,
.section__head,
.product-card__meta,
.certificate__points {
  display: flex;
  align-items: center;
}

.topline__inner {
  min-height: 42px;
  justify-content: space-between;
  gap: 20px;
}

.topline__links {
  gap: 22px;
}

.accessibility,
.topline__links a {
  font-weight: 700;
}

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: 98px;
  gap: 28px;
}

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

.logo__image {
  width: 58px;
  height: 50px;
  display: block;
  object-fit: contain;
}

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

.logo strong {
  font-size: 22px;
  letter-spacing: 0;
}

.logo small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 2px;
}

.search {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr 96px;
  min-width: 360px;
  height: 50px;
  overflow: hidden;
  border: 2px solid var(--brand);
  border-radius: 8px;
  background: #fff;
}

.search input,
.search button {
  min-width: 0;
  border: 0;
  outline: 0;
}

.search input {
  padding: 0 16px;
}

.search button,
.product-card button,
.consult-form button {
  color: #fff;
  font-weight: 800;
  border: 0;
  background: var(--brand);
  cursor: pointer;
}

.header__contacts {
  display: grid;
  gap: 4px;
  min-width: 166px;
  text-align: right;
}

.phone {
  color: var(--ink);
  font-weight: 800;
}

.header__contacts span {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: var(--brand-dark);
}

.nav__inner {
  min-height: 54px;
  gap: 28px;
}

.catalog-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  color: #fff;
  font-weight: 800;
  border: 0;
  padding: 0 26px;
  background: var(--green);
  cursor: pointer;
}

.catalog-button span,
.catalog-button span::before,
.catalog-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.catalog-button span {
  position: relative;
}

.catalog-button span::before,
.catalog-button span::after {
  position: absolute;
  content: "";
  left: 0;
}

.catalog-button span::before {
  top: -6px;
}

.catalog-button span::after {
  top: 6px;
}

.nav a {
  font-weight: 800;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 22%, rgba(95, 143, 99, 0.2), transparent 30%),
    linear-gradient(110deg, #fbf6ed 0%, #f7fbf5 52%, #edf6f7 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  min-height: 560px;
  padding: 30px 0;
}

.catalog-panel {
  align-self: stretch;
  padding: 22px;
  border: 1px solid rgba(227, 235, 241, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.catalog-panel h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.catalog-panel a {
  display: block;
  padding: 12px 0;
  color: #34475a;
  border-bottom: 1px solid #edf2f5;
}

.catalog-panel a:last-child {
  border-bottom: 0;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 34px;
  align-items: center;
  min-width: 0;
}

.hero__copy {
  max-width: 700px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  margin: 14px 0 20px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero p {
  max-width: 630px;
  color: #405569;
  font-size: 19px;
  line-height: 1.65;
}

.hero__buttons {
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  border-radius: 8px;
}

.button--primary {
  color: #fff;
  background: var(--brand);
}

.button--ghost {
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid #bad5df;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 0;
}

.showcase-card {
  position: relative;
  display: grid;
  min-height: 194px;
  overflow: hidden;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.showcase-card--large {
  grid-column: 1 / -1;
  min-height: 300px;
  align-content: end;
}

.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(23, 38, 56, 0.04) 18%, rgba(23, 38, 56, 0.72) 100%);
}

.showcase-card strong,
.showcase-card span {
  position: relative;
  z-index: 1;
  color: #fff;
}

.showcase-card strong {
  align-self: end;
  font-size: 23px;
  line-height: 1.18;
}

.showcase-card span {
  color: #ddf0dd;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.stats article {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.stats article:first-child {
  border-left: 1px solid var(--line);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--brand);
  font-size: 34px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}

.section {
  padding: 76px 0;
}

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

.section__head {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.direction-card,
.category-tiles a,
.service-grid article,
.product-card,
.consult-form,
.product-modal {
  border-radius: 8px;
}

.direction-card {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.direction-card--children {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 247, 0.88)),
    url("assets/products/sdvig-ottobock-kimba-1.webp") right bottom / 52% auto no-repeat;
}

.direction-card--adults {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.92), rgba(251, 246, 237, 0.9)),
    url("assets/products/svoi-d0-bf-d0-be-d0-b4-d0-b3-d1-83-d0-b7-d0-bd-d0-b8-d0-ba-d0-b8-solomed-standard-d0-bb-d0-b5-d0-b3-d0-ba-d0-b0-d1-8f-d1-81-d1-82-d0-b5-d0-bf-d0-b5-d0-bd-d1-8c-d0-bd-d0-b5-d0-b4-d0-b5-d1-80-d0-b6-1.webp") right bottom / 48% auto no-repeat;
}

.direction-card h2 {
  max-width: 520px;
  margin: 10px 0 14px;
}

.direction-card p {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.category-section {
  background: #fff;
}

.category-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.category-tiles a {
  display: grid;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f8fbf8 100%);
}

.category-tiles span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-tiles strong {
  align-self: end;
  font-size: 21px;
  line-height: 1.2;
}

.catalog-count {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}

.catalog-filters {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 1fr 0.8fr 0.9fr;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog-filters label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-filters input,
.catalog-filters select {
  width: 100%;
  min-height: 42px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #f9fbfc;
  outline-color: var(--brand);
}

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

.product-card {
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto auto 1fr auto auto;
  min-height: 520px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.product-card__image {
  display: grid;
  min-height: 190px;
  border-radius: 8px;
  background-color: #f7fafb;
  overflow: hidden;
  place-items: center;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.product-card__category {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.product-card__source {
  width: fit-content;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef3f5;
}

.product-card h3 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.35;
}

.product-card__attrs {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.product-card__attrs span {
  display: block;
}

.product-card__meta {
  justify-content: space-between;
  gap: 10px;
}

.product-card__meta strong {
  font-size: 20px;
}

.product-card__meta span {
  color: var(--status);
  font-size: 13px;
  font-weight: 800;
}

.product-card button {
  min-height: 44px;
  border-radius: 8px;
}

.products__loading {
  grid-column: 1 / -1;
  color: var(--muted);
  margin: 0;
}

.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.catalog-more.is-hidden {
  display: none;
}

.certificate {
  padding: 78px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 77, 99, 0.96), rgba(95, 143, 99, 0.9)),
    linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
}

.certificate__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
}

.certificate .eyebrow,
.certificate p {
  color: #ecf8f5;
}

.certificate h2 {
  max-width: 720px;
  margin: 8px 0 18px;
  font-size: clamp(32px, 4vw, 46px);
}

.certificate p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.65;
}

.certificate__points {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.certificate__points span {
  color: #fff;
  font-weight: 800;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.consult-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
}

.consult-form h3 {
  margin-bottom: 4px;
  font-size: 22px;
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  outline-color: var(--brand);
}

.consult-form textarea {
  min-height: 96px;
  resize: vertical;
}

.consult-form button {
  min-height: 46px;
  border-radius: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.service-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.service-grid p {
  color: var(--muted);
  line-height: 1.58;
  margin-bottom: 0;
}

.product-modal {
  width: min(920px, calc(100% - 28px));
  max-height: min(820px, calc(100% - 28px));
  border: 0;
  padding: 0;
  box-shadow: 0 24px 70px rgba(21, 32, 51, 0.28);
}

.product-modal::backdrop {
  background: rgba(21, 32, 51, 0.5);
}

.product-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--ink);
  font-size: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.product-modal__body {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 28px;
  padding: 28px;
}

.product-modal__image {
  display: grid;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfc;
  place-items: center;
}

.product-modal__image img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
  padding: 16px;
}

.product-modal__content {
  padding-right: 34px;
}

.product-modal__content h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.2;
}

.product-modal__category {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.product-modal__price {
  display: block;
  margin: 18px 0;
  font-size: 26px;
}

.product-modal__description {
  color: var(--muted);
  line-height: 1.6;
}

.product-modal__attrs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.product-modal__attrs div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfc;
}

.product-modal__attrs strong,
.product-modal__attrs span {
  display: block;
}

.product-modal__attrs strong {
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 4px;
}

.product-modal__attrs span {
  color: var(--muted);
}

.footer {
  padding: 48px 0;
  color: #f4fbff;
  background: #152a3b;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer p {
  max-width: 350px;
  color: #c9d9e2;
  line-height: 1.6;
}

.footer h3 {
  color: #fff;
  font-size: 18px;
}

.footer a,
.footer span {
  display: block;
  color: #f4fbff;
  margin: 10px 0;
}

.footer .logo small {
  color: #c9d9e2;
}

@media (max-width: 1120px) {
  .header__inner {
    flex-wrap: wrap;
    padding: 18px 0;
  }

  .search {
    order: 3;
    flex-basis: 100%;
  }

  .hero__grid,
  .hero__content,
  .certificate__grid,
  .product-modal__body {
    grid-template-columns: 1fr;
  }

  .catalog-panel {
    display: none;
  }

  .catalog-panel.is-open {
    display: block;
  }

  .products,
  .catalog-filters,
  .directions__grid,
  .stats__grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-modal__content {
    padding-right: 0;
  }
}

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

  .topline__inner,
  .section__head,
  .nav__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topline__inner {
    padding: 10px 0;
  }

  .topline__links {
    flex-wrap: wrap;
  }

  .logo {
    min-width: 0;
  }

  .header__contacts {
    text-align: left;
  }

  .search {
    grid-template-columns: 1fr;
    height: auto;
  }

  .search input,
  .search button {
    min-height: 46px;
  }

  .nav {
    position: static;
  }

  .nav__inner {
    gap: 0;
    padding-bottom: 14px;
  }

  .nav a {
    padding: 8px 0;
  }

  .catalog-button {
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
  }

  .hero__grid {
    min-height: auto;
  }

  .hero__content {
    gap: 22px;
  }

  .hero__copy,
  .hero__content,
  .hero-showcase,
  .showcase-card {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 39px;
  }

  h2,
  .certificate h2 {
    font-size: 30px;
  }

  .hero-showcase,
  .stats__grid,
  .directions__grid,
  .category-tiles,
  .products,
  .catalog-filters,
  .service-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .showcase-card--large {
    min-height: 240px;
  }

  .stats article,
  .stats article:first-child {
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .direction-card {
    min-height: 290px;
    padding: 22px;
  }

  .product-modal__body {
    padding: 18px;
  }

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

/* 2026 immersive redesign */
:root {
  --ink: #31485a;
  --muted: #666666;
  --line: #e2e2e2;
  --surface: #ffffff;
  --soft: #f6f7f5;
  --brand: #4f9b57;
  --brand-dark: #3f8049;
  --accent: #a9dca6;
  --green: #4f9b57;
  --green-soft: #eef7ed;
  --status: #4f9b57;
  --coral: #e4b54f;
  --shadow: 0 20px 55px rgba(49, 72, 90, 0.13);
}

body {
  overflow-x: hidden;
  background: #fff;
}

.development-banner {
  position: relative;
  z-index: 40;
  color: #31485a;
  border-bottom: 1px solid #c8e2c6;
  background: #eef7ed;
  transition: opacity 220ms ease, transform 220ms ease;
}

.development-banner__inner {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 9px 0;
}

.development-banner__icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: 50%;
  background: var(--brand);
}

.development-banner p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  margin: 0;
  line-height: 1.4;
}

.development-banner p strong {
  flex: 0 0 auto;
  color: #31485a;
  font-size: 14px;
}

.development-banner p span {
  color: #5f7166;
  font-size: 13px;
}

.development-banner a {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
}

::selection {
  color: #fff;
  background: var(--brand);
}

.topline {
  color: #666666;
  background: #f3f5f2;
}

.topline a,
.topline__links a {
  color: #525252;
}

.header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: 96px;
}

.logo {
  min-width: 285px;
  gap: 12px;
}

.logo__mark {
  position: relative;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(6, 111, 182, 0.14);
}

.logo__image {
  position: absolute;
  width: 98px;
  height: auto;
  max-width: none;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -34%);
}

.logo strong {
  color: #31485a;
  font-size: 20px;
  letter-spacing: 0;
}

.logo small {
  color: #5f7180;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.search {
  max-width: 480px;
  border-color: #e2e2e2;
  background: #fafafa;
}

.search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 155, 87, 0.12);
}

.search button,
.consult-form button {
  color: #fff;
  background: var(--brand);
  transition: background 180ms ease, transform 180ms ease;
}

.search button:hover,
.consult-form button:hover {
  background: var(--brand-dark);
}

.nav {
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.nav a {
  position: relative;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 156px));
  overflow: hidden;
  color: #fff;
  background: #a9dca6;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 58%;
  content: "";
  background: #3f596b;
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  min-height: min(760px, calc(100vh - 156px));
  grid-template-columns: 230px minmax(0, 1fr);
}

.catalog-panel {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(52, 75, 91, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(49, 72, 90, 0.2);
}

.catalog-panel h2,
.catalog-panel a {
  color: #fff;
}

.catalog-panel a {
  border-color: rgba(255, 255, 255, 0.12);
}

.catalog-panel a:hover {
  color: #fff;
  background: rgba(169, 220, 166, 0.2);
  padding-left: 20px;
}

.hero__content {
  align-items: center;
  min-width: 0;
  grid-template-columns: minmax(430px, 0.92fr) minmax(420px, 1.08fr);
  gap: 24px;
  padding: 68px 0 82px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 0;
  color: #fff;
  background: transparent;
}

.hero .eyebrow {
  display: inline-block;
  width: auto;
  max-width: none;
  padding: 9px 12px;
  color: #ffffff;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: normal;
  background: #31485a;
  border-left: 4px solid #a9dca6;
}

.hero h1 {
  max-width: 680px;
  margin: 18px 0 22px;
  color: #fff;
  font-size: clamp(52px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  color: #a9dca6;
}

.hero p {
  max-width: 570px;
  color: #dfe5e8;
  font-size: 18px;
  line-height: 1.65;
}

.hero__buttons {
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  border-radius: 7px;
}

.button--primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(63, 128, 73, 0.28);
}

.button--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.hero .button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
}

.hero .button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero__trust {
  display: flex;
  gap: 26px;
  margin-top: 38px;
}

.hero__trust span {
  display: grid;
  gap: 4px;
  color: #c6d0d5;
  font-size: 12px;
  text-transform: uppercase;
}

.hero__trust strong {
  color: #fff;
  font-size: 18px;
  text-transform: none;
}

.hero-showcase {
  position: relative;
  display: block;
  min-height: 560px;
  perspective: 1100px;
  pointer-events: none;
}

.hero-logo-float,
.hero-product-float {
  position: absolute;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 65px rgba(49, 72, 90, 0.22);
  will-change: transform;
}

.hero-logo-float {
  top: 42%;
  left: 50%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateY(-10deg) rotateX(5deg);
  animation: float-logo 7s ease-in-out infinite;
}

.hero-logo-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-product-float {
  width: 152px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.hero-product-float img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
}

.hero-product-float span {
  display: block;
  padding: 9px 2px 1px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.hero-product-float--children {
  top: 9%;
  right: 3%;
  animation: float-card 6.5s ease-in-out infinite;
}

.hero-product-float--adults {
  right: 12%;
  bottom: 3%;
  animation: float-card 6.5s 1.3s ease-in-out infinite reverse;
}

.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 3;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 16px;
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes float-logo {
  0%, 100% { transform: translate(-50%, -50%) rotateY(-10deg) rotateX(5deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotateY(5deg) rotateX(-3deg) translateY(-15px); }
}

@keyframes float-card {
  0%, 100% { transform: translate3d(0, 0, 45px) rotateY(-7deg); }
  50% { transform: translate3d(-8px, -17px, 60px) rotateY(5deg); }
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}

.stats {
  position: relative;
  z-index: 2;
  border: 0;
  background: #fff;
  box-shadow: 0 -14px 35px rgba(16, 43, 63, 0.08);
}

.stats article strong {
  color: var(--brand);
}

.section {
  padding: 92px 0;
}

.directions {
  background: #f6f7f5;
}

.directions__grid {
  gap: 22px;
}

.direction-card {
  min-height: 390px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.direction-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 68px rgba(16, 43, 63, 0.17);
}

.direction-card--children {
  background-color: #edf6ec;
}

.direction-card--adults {
  background-color: #f3f3f1;
}

.category-tiles a {
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.category-tiles a:nth-child(3n + 1) { border-top: 4px solid var(--brand); }
.category-tiles a:nth-child(3n + 2) { border-top: 4px solid var(--accent); }
.category-tiles a:nth-child(3n + 3) { border-top: 4px solid var(--coral); }

.category-tiles a:hover {
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card {
  border-radius: 8px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card__image {
  border-radius: 6px;
}

.certificate {
  background: #3f8049;
}

.news-section {
  background: #fff;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-grid article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.news-grid article:nth-child(1) { border-top: 5px solid var(--brand); }
.news-grid article:nth-child(2) { border-top: 5px solid var(--accent); }
.news-grid article:nth-child(3) { border-top: 5px solid var(--coral); }

.news-grid article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.news-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-grid h3 {
  margin: 22px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.news-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.news-grid a {
  display: inline-block;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  background: #3f596b;
}

.footer__legal {
  margin-top: 38px;
  padding-top: 20px;
  color: #dbe5e8;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 1120px) {
  .hero .eyebrow {
    width: auto;
    max-width: none;
  }

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

  .hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  }

  .catalog-panel {
    position: absolute;
    top: 16px;
    left: 0;
    z-index: 8;
    width: 260px;
  }

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

@media (max-width: 820px) {
  .hero .eyebrow {
    width: auto;
    max-width: none;
  }

  .development-banner__inner {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    min-height: 68px;
  }

  .development-banner p {
    display: grid;
    gap: 2px;
  }

  .development-banner p strong {
    font-size: 13px;
  }

  .development-banner p span {
    font-size: 11px;
  }

  .development-banner a {
    display: none;
  }

  .topline,
  .header__contacts,
  .header .search {
    display: none;
  }

  .header__inner {
    min-height: 78px;
    flex-wrap: nowrap;
    padding: 10px 0;
  }

  .logo {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    z-index: 20;
    display: none;
    padding: 10px 0 18px;
    box-shadow: 0 22px 40px rgba(16, 43, 63, 0.16);
  }

  .nav.is-open {
    display: block;
  }

  .nav__inner {
    display: grid;
    align-items: stretch;
    gap: 0;
  }

  .nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .hero__grid {
    min-height: 760px;
  }

  .hero::before {
    width: 100%;
    clip-path: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
    padding: 70px 0 150px;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-showcase {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    min-height: 180px;
  }

  .hero-logo-float {
    left: auto;
    right: 1%;
    width: 150px;
    height: 125px;
    transform: none;
  }

  .hero-product-float {
    width: 115px;
  }

  .hero-product-float--children { top: 10px; right: 180px; }
  .hero-product-float--adults { right: 315px; bottom: 0; }
  .hero__scroll { display: none; }
}

@media (max-width: 600px) {
  .logo__mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .logo__image {
    width: 82px;
  }

  .logo strong {
    font-size: 17px;
  }

  .logo small {
    display: none;
  }

  .hero,
  .hero__grid {
    min-height: 720px;
  }

  .hero__content {
    display: block;
    padding: 64px 0 190px;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: 43px;
    line-height: 1.02;
  }

  .hero p {
    font-size: 16px;
  }

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

  .hero__buttons .button {
    width: 100%;
    text-align: center;
  }

  .hero__trust {
    justify-content: space-between;
    gap: 10px;
  }

  .hero__trust strong {
    font-size: 15px;
  }

  .hero-showcase {
    bottom: 18px;
    min-height: 150px;
  }

  .hero-logo-float {
    top: 28px;
    right: -10px;
    width: 124px;
    height: 105px;
  }

  .hero-product-float {
    width: 98px;
  }

  .hero-product-float--children { top: 1px; right: 126px; }
  .hero-product-float--adults { right: 228px; bottom: 4px; }

  .section {
    padding: 66px 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
