/* UNOWA Landing — styles from Frame 15 + iPhone mockups */

:root {
  --color-bg: #F8F8F8;
  --color-surface: #ffffff;
  --color-primary: #04477A;
  --color-primary-hover: #033a62;
  --color-accent: #FF9933;
  --color-accent-hover: #e68a2e;
  --color-nav-gradient-end: #0782E0;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --font: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --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.5;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header — темно-синій градієнт, білий текст, помаранчева кнопка (макет) */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(90deg, #04477A 0%, #0782E0 100%);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo__img {
  display: block;
  flex-shrink: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

.nav__list a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav__list a:hover {
  opacity: 0.9;
}

.nav__cta {
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: var(--radius);
}

.nav__cta:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone {
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
}

@media (max-width: 992px) {
  .header__actions {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #04477A 0%, #0782E0 100%);
    box-shadow: var(--shadow);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .header__phone {
    display: none;
  }

  .burger {
    display: flex;
  }
}

/* Hero — фон #F8F8F8, текст зліва, глобус справа (макет) */
.hero {
  padding: 80px 0 100px;
  background: #F8F8F8;
  color: var(--color-text);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.hero__content {
  flex: 1 1 52%;
  min-width: 0;
  max-width: 580px;
}

.hero__title {
  margin: 0 0 16px;
  /*font-size: clamp(3.4375rem, 3.5vw, 2.25rem);*/
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
}

.hero__line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  margin-bottom: 20px;
  border-radius: 2px;
}

.hero__subtitle {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.hero__media {
  flex: 0 0 auto;
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__img {
  width: 100%;
  max-width: 380px;
  max-height: 380px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 992px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    max-width: none;
  }

  .hero__line {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__media {
    max-width: 320px;
    justify-content: center;
  }

  .hero__img {
    max-width: 100%;
    max-height: 320px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 64px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__media {
    max-width: 280px;
  }

  .hero__img {
    max-height: 280px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
text-transform: uppercase;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
}

.btn--secondary {
  background: #fff;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-bg);
  border-color: var(--color-text);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: rgba(14, 116, 144, 0.08);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.9375rem;
}

.btn--full {
  width: 100%;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section__title {
  margin: 0 0 32px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
}

/* Заголовок з помаранчевими лініями (Міжнародні бренди) */
.section__title--lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.section__title--lines::before,
.section__title--lines::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 2px;
  background: var(--color-accent);
}

@media (max-width: 480px) {
  .section__title--lines::before,
  .section__title--lines::after {
    max-width: 40px;
  }
}

/* Блок Міжнародні бренди */
.brands-section {
  background: var(--color-surface);
}

.brands-slider {
  overflow-x: scroll;
  overflow-y: hidden;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  scrollbar-gutter: stable;
}

.brands-slider:active {
  cursor: grabbing;
}

.brands-slider a,
.brands-slider button {
  cursor: pointer;
}

.brands-slider__track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.brands-slider::-webkit-scrollbar {
  height: 8px;
}

.brands-slider::-webkit-scrollbar-track {
  background: var(--color-bg);
  border-radius: 4px;
}

.brands-slider::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.brands-card {
  flex: 0 0 auto;
  width: 300px;
  min-height: 260px;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-snap-align: start;
  border: 1px solid var(--color-border);
}

.brands-card__logo {
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: block;
}

.brands-card__logo-img {
  max-width: 160px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.brands-card__logo--blue { color: #2563eb; }
.brands-card__logo--purple { color: #7c3aed; }
.brands-card__logo--green { color: #059669; }
.brands-card__logo--black { color: #1e293b; font-weight: 800; }
.brands-card__logo--mikko { color: #059669; font-weight: 600; }
.brands-card__logo--med { color: #2563eb; }
.brands-card__logo--zmrobo { color: #dc2626; }
.brands-card__logo--zmrobo .brands-card__logo-sub { font-size: 0.85em; color: #1e293b; font-weight: 600; display: block; margin-top: 2px; }

.brands-card__desc {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.brands-card__btn {
  display: block;
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 20px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: auto;
}

.brands-card__btn:hover {
  background: var(--color-accent-hover);
}

/* Why us (Чому обирають нас) — помаранчевий заголовок, глобус зліва на сітці, список з синіми іконками справа */
.why-us {
  padding: 0;
}

.why-us__header {
  background: var(--color-accent);
  padding: 20px 24px;
}

.why-us__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: left;
}

.why-us__body {
  background: #fff;
  padding: 48px 0;
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Ліва колонка — сітка + глобус */
.why-us__globe {
  background-color: #fff;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 32px;
}

.why-us__globe-img {
  width: 100%;
  max-width: 320px;
  max-height: 320px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08));
}

/* Права колонка — список з іконками */
.why-us__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-us__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-weight: 500;
  color: var(--color-text);
}

.why-us__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0782E0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us__icon svg {
  width: 24px;
  height: 24px;
}

.why-us__icon--free {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.why-us__text {
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .why-us__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-us__globe {
    min-height: 260px;
    padding: 24px;
  }

  .why-us__globe-img {
    max-width: 240px;
    max-height: 240px;
  }

  .why-us__body {
    padding: 32px 0;
  }

  .why-us__title {
    text-align: center;
  }
}

/* Audience + Documents (два блоки) */
.audience-docs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.audience-block__list,
.docs-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.audience-block__list li,
.docs-block__list li {
  padding: 14px 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 500;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.audience-block .section__title,
.docs-block .section__title {
  text-align: left;
}

@media (max-width: 768px) {
  .audience-docs__grid {
    grid-template-columns: 1fr;
  }
}

/* About — біла картка, заголовок з помаранчевою пігулкою та лінією, два стовпці (макет) */
.about .section__title {
  display: none;
}

.about__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 40px 48px 48px;
}

.about__title-wrap {
  /*display: flex;*/
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}

.about__title-line {
  flex: 0 0 48px;
  height: 2px;
  background: #4a5568;
  margin-right: 12px;
}

.about__title {
  margin: 0;
  /*font-size: 1.25rem;*/
  font-weight: 400;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: #FFA500;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  display: inline-block;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about__content {
  max-width: none;
  margin: 0;
}

.about__lead {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 16px;
  line-height: 1.6;
}

.about__content p {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}

.about__content p:last-child {
  margin-bottom: 0;
}

.about__media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-bg);
}

.about__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 280px;
}

@media (max-width: 768px) {
  .about__card {
    padding: 28px 24px 32px;
  }

  .about__title-wrap {
    margin-bottom: 24px;
  }

  .about__title-line {
    flex: 0 0 24px;
    margin-right: 8px;
  }

  .about__title {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about__media {
    order: -1;
  }

  .about__img {
    min-height: 220px;
  }
}

/* Brand cards (картки комплектів з описом + Каталог) */
.brands__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.brand-card {
  background: var(--color-surface);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brand-card__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.brand-card__desc {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.brand-card__link {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.brand-card__link:hover {
  text-decoration: underline;
}

/* Kits grid */
.kits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}

.kit-card {
  aspect-ratio: 1;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.kit-card__label {
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 480px) {
  .kits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Directions */
.directions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.direction-card {
  background: var(--color-surface);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.direction-card__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.direction-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .directions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .directions__grid {
    grid-template-columns: 1fr;
  }
}

/* For whom */
.for-whom__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.for-whom__list li {
  padding: 16px 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 500;
}

/* Documents */
.documents__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.documents__list li {
  padding: 16px 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 500;
}

/* About kits */
.about-kits__text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Product spotlight */
.spotlight {
  position: relative;
  background: var(--color-surface);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.spotlight__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
}

.spotlight__title {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.spotlight__desc {
  margin: 0 0 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.spotlight__meta {
  margin: 0 0 24px;
  font-weight: 600;
  color: var(--color-primary);
}

@media (max-width: 480px) {
  .spotlight {
    padding: 28px 20px;
  }

  .spotlight__badge {
    top: 16px;
    right: 16px;
  }
}

/* Form — блок консультацій: синя панель зліва, форма справа (макет) */
.form-section {
  padding: 64px 0;
}

.form-section__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.form-section__panel {
  padding: 48px 40px;
}

.form-section__panel--left {
  background: linear-gradient(135deg, #04477A 0%, #0782E0 100%);
  background-image:
    linear-gradient(135deg, #04477A 0%, #0782E0 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-section__heading {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-section__panel--right {
  background: #fff;
}

.form-section__intro {
  margin: 0 0 28px;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
  text-align: left;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label-text {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.form__input {
  padding: 10px 0 12px;
  font-family: var(--font);
  font-size: 1rem;
  border: none;
  border-bottom: 2px solid #0782E0;
  border-radius: 0;
  background: transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input::placeholder {
  color: #94a3b8;
}

.form__input:focus {
  outline: none;
  border-bottom-color: #04477A;
}

.form__phone-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid #0782E0;
  padding-bottom: 2px;
}

.form__phone-prefix {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--color-text);
  flex-shrink: 0;
}

.form__input--phone {
  flex: 1;
  min-width: 120px;
  border: none;
  padding-left: 0;
}

.form__input--phone:focus {
  border-bottom: none;
}

.form__error {
  font-size: 0.875rem;
  color: #dc2626;
  margin-top: 4px;
}

.form__error[hidden] {
  display: none;
}

.form__submit {
  margin-top: 8px;
  padding: 16px 24px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #F7941D;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.form__submit:hover {
  background: #e08618;
}

@media (max-width: 768px) {
  .form-section__card {
    grid-template-columns: 1fr;
  }

  .form-section__panel {
    padding: 32px 24px;
  }

  .form-section__panel--left {
    padding: 36px 24px;
  }

  .form-section__heading {
    font-size: 1.35rem;
  }
}

/* Footer — синій фон, глобус і адреса по центру, контакти справа, копірайт зліва */
.footer {
  padding: 56px 0 28px;
  background: #1A6EDF;
  color: #fff;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.footer__center {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__globe {
  width: 100px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer__address {
  margin: 0;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 1;
}

.footer__contacts {
  grid-column: 3;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer__contacts-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer__contacts-line {
  display: block;
  width: 48px;
  height: 2px;
  background: #fff;
  margin-bottom: 8px;
}

.footer__link {
  font-size: 0.9375rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__copy {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 1;
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer__center {
    grid-column: 1;
  }

  .footer__contacts {
    grid-column: 1;
    align-items: center;
    text-align: center;
  }

  .footer__globe {
    width: 80px;
  }
}

/* Адаптація під широкі екрани (1920px) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
    padding-left: 80px;
    padding-right: 80px;
  }

  .hero {
    padding: 100px 0 120px;
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__subtitle {
    max-width: 520px;
  }

  .hero__media {
    max-width: 480px;
  }

  .hero__img {
    max-width: 440px;
    max-height: 440px;
  }

  .section {
    padding: 80px 0;
  }

  .section__title {
    margin-bottom: 40px;
    font-size: 2rem;
  }

  .brands-section .container {
    padding-left: 80px;
    padding-right: 80px;
  }

  .brands-card {
    width: 320px;
    min-height: 280px;
    padding: 28px;
  }

  .form-section__card {
    max-width: none;
  }

  .about__card {
    padding: 48px;
  }

  .why-us__body {
    padding: 64px 0;
  }

  .footer__inner {
    padding-top: 48px;
    padding-bottom: 32px;
  }
}


/* ── Хвиля 1, 08.09.2026: пояснення під заголовком брендів, згода у формі,
   реквізити у футері, сторінки каталогів і політики ── */

.brands-section__note {
  max-width: 760px;
  margin: -8px auto 28px;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form__consent input {
  flex: 0 0 auto;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

.form__consent a { color: inherit; text-decoration: underline; }

.footer__legal {
  display: block;
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.85;
}

.footer__link--small { font-size: inherit; text-decoration: underline; }

/* ── Прості внутрішні сторінки ── */

.page {
  padding: 48px 0 64px;
}

.page__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 12px;
}

.page__lead {
  max-width: 780px;
  margin: 0 0 32px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.page h2 {
  margin: 32px 0 12px;
  font-size: 1.25rem;
}

.page p, .page li { line-height: 1.6; }

.page__back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.catalogs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.catalog-card__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.catalog-card__desc {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.catalog-card__meta {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.catalog-card__btn {
  align-self: flex-start;
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.catalog-card__btn:hover { opacity: 0.9; }

.form-status {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.form-status--ok { background: #e7f6ec; color: #17603a; }
.form-status--error { background: #fdecea; color: #8a1c13; }


/* ── 08.09.2026: розширена форма зворотного зв'язку ── */

.form__label-hint {
  font-weight: 400;
  opacity: 0.65;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 76px;
  font-family: inherit;
  line-height: 1.5;
}

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-contacts {
  list-style: none;
  margin: 28px 0 12px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.form-contacts__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-contacts__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.form-contacts__value {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  word-break: break-word;
}

.form-contacts__value:hover { text-decoration: underline; }

.form-contacts__note {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.75;
  line-height: 1.5;
}

/* ── Поява секцій при прокручуванні ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Telegram ── */

.header__tg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header__tg:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.8);
}

.footer__link--tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tg-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 14px;
  border-radius: 999px;
  background: #2aabee;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(42, 171, 238, 0.35);
  transition: gap 0.25s ease, padding 0.25s ease, background 0.2s ease;
}

.tg-float:hover { background: #1f96d4; gap: 10px; padding-right: 20px; }

.tg-float .tg-icon { width: 22px; height: 22px; flex: 0 0 auto; }

.tg-float__text {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: max-width 0.25s ease;
}

.tg-float:hover .tg-float__text { max-width: 200px; }

@media (max-width: 768px) {
  .header__tg { display: none; }
  .tg-float { right: 14px; bottom: 14px; padding: 12px; }
  .tg-float:hover { gap: 0; padding-right: 12px; }
  .tg-float__text { display: none; }
}

.brands-slider.is-autoscrolling {
  scroll-snap-type: none;
}

/* Виправлення 08.09.2026: ліва панель форми стала flex-рядком і розсипала контакти */
.form-section__panel--left {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 22px;
}

.form-section__heading {
  text-align: left;
}

.form-contacts {
  margin: 0;
  width: 100%;
}

.form-contacts__note {
  max-width: 320px;
}

@media (max-width: 900px) {
  .form-section__panel--left {
    gap: 18px;
  }

  .form-contacts {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.footer__geo {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.8;
}

/* ── Сторінки напрямів ── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.feature-card {
  padding: 22px 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.feature-card__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.direction-brand {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.direction-brand h2 { margin-top: 0; }
.direction-brand p { margin: 0; color: var(--color-text-muted); }

.direction-audience,
.direction-others {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.direction-audience li,
.direction-others li {
  padding: 8px 16px;
  background: var(--color-surface);
  border-radius: 999px;
  font-size: 0.9375rem;
  box-shadow: var(--shadow);
}

.direction-others a { color: inherit; text-decoration: none; font-weight: 600; }
.direction-others a:hover { color: var(--color-accent); }

.direction-catalog { margin: 24px 0 8px; }

.faq {
  display: grid;
  gap: 10px;
  margin-bottom: 8px;
}

.faq__item {
  padding: 16px 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.faq__q {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--color-accent);
  font-weight: 700;
}

.faq__item[open] .faq__q::before { content: "–"; }

.faq__a {
  margin: 10px 0 0 18px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.direction-cta {
  margin: 40px 0 8px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #04477A 0%, #0782E0 100%);
  color: #fff;
}

.direction-cta h2 { margin-top: 0; color: #fff; }
.direction-cta p { color: rgba(255, 255, 255, 0.9); }
.direction-cta .btn { margin: 6px 10px 0 0; }
.direction-cta .btn--secondary { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.6); }

/* Секція напрямів на головній */
.directions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.direction-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.direction-card:hover { transform: translateY(-3px); }

.direction-card__title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
}

.direction-card__text {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.direction-card__link {
  align-self: flex-start;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.direction-card__link:hover { text-decoration: underline; }

/* ── Перемикач мов ── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.lang-switch__item {
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0.75;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.lang-switch__item:hover { opacity: 1; }

.lang-switch__item.is-active {
  background: rgba(255, 255, 255, 0.22);
  opacity: 1;
}

.page .lang-switch {
  margin: 0 0 18px;
  border-color: rgba(15, 23, 42, 0.18);
}

.page .lang-switch__item { color: var(--color-text); }
.page .lang-switch__item.is-active { background: rgba(15, 23, 42, 0.08); }

@media (max-width: 900px) {
  .lang-switch { margin-left: 8px; }
}

/* Віджет Binotel GetCall стоїть у правому нижньому куті (78×78, z-index 200001) —
   піднімаємо кнопку Telegram над ним і вирівнюємо їхні центри по вертикалі */
.tg-float {
  bottom: 112px;
  right: 36px;
}

@media (max-width: 768px) {
  .tg-float {
    bottom: 110px;
    right: 36px;
  }
}

/* Кнопка Binotel GetCall приходить із inline-стилем left: 2% — переносимо її
   в правий нижній кут, під кнопку Telegram (та стоїть на 108 px вище) */
.bingc-phone-button {
  left: auto !important;
  right: 14px !important;
  bottom: 14px !important;
}

@media (max-width: 768px) {
  .bingc-phone-button {
    right: 10px !important;
    bottom: 10px !important;
  }
}

/* ── Шапка: ущільнення, щоб меню не налазило на телефон ── */
.header__inner {
  gap: 16px;
}

.header__phone,
.nav__list a {
  white-space: nowrap;
}

@media (max-width: 1600px) {
  .logo { font-size: 1.25rem; }
  .nav__list { gap: 18px; }
  .nav__list a { font-size: 0.875rem; }
  .nav__cta { padding: 9px 16px; }
  .header__phone { font-size: 0.9375rem; }
  .header__tg { margin-left: 10px; padding: 6px 12px; }
  .lang-switch { margin-left: 10px; }
}

/* Третя мова додала ширини — з 1400 ховаємо підпис Telegram і тиснемо меню */
@media (max-width: 1400px) {
  .nav__list { gap: 14px; }
  .nav__list a { font-size: 0.8125rem; }
  .nav__cta { padding: 8px 13px; }
  .header__tg span { display: none; }
  .header__tg { margin-left: 8px; padding: 7px 9px; }
  .header__phone { font-size: 0.875rem; }
  .lang-switch { margin-left: 8px; padding: 2px; }
  .lang-switch__item { padding: 4px 7px; font-size: 0.75rem; }
}

@media (max-width: 1250px) {
  .logo { font-size: 1.0625rem; }
  .logo__img { width: 32px; height: 32px; }
  .nav__list { gap: 13px; }
  .nav__list a { font-size: 0.8125rem; }
  .nav__cta { padding: 8px 12px; }
  .header__phone { font-size: 0.875rem; }
  .header__tg span { display: none; }
  .header__tg { margin-left: 8px; padding: 7px 9px; }
  .lang-switch { margin-left: 8px; }
  .lang-switch__item { padding: 4px 8px; font-size: 0.75rem; }
}

@media (max-width: 1200px) {
  .header__phone { display: none; }
}

/* ── Кнопка «Зв'язатися» компактніша, телефон завжди в один рядок ── */
.nav__cta {
  padding: 8px 14px;
  font-size: 0.8125rem;
  letter-spacing: 0;
}

.header__phone {
  white-space: nowrap;
  flex-shrink: 0;
}

.header__tg,
.lang-switch {
  flex-shrink: 0;
}

/* меню стискається першим, а не телефон */
.nav {
  min-width: 0;
}

@media (max-width: 1600px) {
  .nav__cta { padding: 7px 12px; font-size: 0.78125rem; }
}

@media (max-width: 1400px) {
  .nav__cta { padding: 6px 10px; font-size: 0.75rem; }
}

/* ── Головне: щоб меню не налазило на телефон на широких екранах ──
   nav розтягувався через nowrap у пунктах і накривав номер. Тепер меню
   компактне за замовчуванням і стискається першим, телефон недоторканий. */
.nav {
  flex: 0 1 auto;
  min-width: 0;
}

.nav__list {
  gap: 18px;
  flex-wrap: nowrap;
}

.nav__list a {
  font-size: 0.875rem;
}

.nav__cta {
  padding: 8px 14px;
  font-size: 0.8125rem;
}

.header__phone,
.header__tg,
.lang-switch {
  flex-shrink: 0;
}

/* Логотип в один рядок — місця вистачає */
.logo span { white-space: nowrap; }

/* трохи повітря між кнопкою «Зв'язатися» і номером */
.header__phone { margin-left: 14px; }

/* ── ФІНАЛЬНЕ вирівнювання шапки ──
   Причина накладання: nav стискався (flex-shrink), а пункти всередині мають nowrap,
   тож список вилазив за межі свого блоку й накривав номер. Тепер nav не стискається,
   а місце звільняє менший логотип і компактніше меню. */
.header__inner {
  gap: 12px;
  flex-wrap: nowrap;
}

.logo {
  font-size: 1.125rem;
  flex-shrink: 0;
  gap: 8px;
}

.logo__img {
  width: 34px;
  height: 34px;
}

.nav {
  flex: 0 0 auto;
  min-width: 0;
}

.nav__list {
  gap: 15px;
}

.nav__list a {
  font-size: 0.8125rem;
}

.nav__cta {
  padding: 8px 12px;
  font-size: 0.78125rem;
}

.header__phone {
  margin-left: 10px;
  font-size: 0.9375rem;
}

@media (max-width: 1500px) {
  .logo { font-size: 1rem; }
  .nav__list { gap: 12px; }
  .nav__list a { font-size: 0.78125rem; }
  .header__tg span { display: none; }
}

@media (max-width: 1300px) {
  .header__phone { display: none; }
}

/* ── Шапка: вміщаємо все в контейнер 1200px (1300–1919px) ── */
@media (max-width: 1919px) {
  .logo { font-size: 1rem; }
  .logo__img { width: 32px; height: 32px; }
  .nav__list { gap: 12px; }
  .nav__list a { font-size: 0.78125rem; }
  .nav__cta { padding: 7px 11px; font-size: 0.75rem; }
  .header__tg span { display: none; }
  .header__phone { margin-left: 8px; font-size: 0.875rem; }
  .lang-switch { margin-left: 10px; padding: 2px; }
  .lang-switch__item { padding: 4px 7px; font-size: 0.75rem; }
}

@media (max-width: 1300px) {
  .header__phone { display: none; }
}

/* ── Глобус: куля обертається навколо власної нахиленої осі (script.js) ── */
.globe-spin {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.globe-spin__frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
}

.globe-spin__ball {
  position: absolute;
  z-index: 1;
  left: 16.607%;
  top: 9.821%;
  width: 66.964%;
  height: 66.964%;
  display: block;
}

canvas.globe-spin__ball--live {
  background: none;
  pointer-events: none;
}

/* ── Шапка на мобільних: лого + перемикач мов + бургер в один рядок ── */
@media (max-width: 768px) {
  .header__inner {
    gap: 8px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo { font-size: 0.9375rem; gap: 6px; }
  .logo__img { width: 30px; height: 30px; }

  .lang-switch {
    margin-left: auto;
    padding: 2px;
    gap: 1px;
  }

  .lang-switch__item { padding: 4px 6px; font-size: 0.6875rem; }

  .burger { flex: 0 0 auto; margin-left: 0; }
}

@media (max-width: 400px) {
  .header__inner {
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo { font-size: 0.8125rem; gap: 5px; }
  .logo__img { width: 26px; height: 26px; }
  .lang-switch__item { padding: 3px 5px; font-size: 0.625rem; }
}

/* ── Довгі слова не ламають сітку на вузьких екранах ── */
body {
  overflow-wrap: break-word;
  word-break: normal;
}

.about__content,
.about__content p,
.hero__text,
.feature-card__text,
.faq__a,
.section p,
.section li {
  min-width: 0;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .about__grid,
  .why-us__grid,
  .feature-grid,
  .form-contacts { min-width: 0; }

  .about__grid > *,
  .why-us__grid > *,
  .feature-grid > * { min-width: 0; }
}
