/* Voxlare Schweiz – Чиста таблиця стилів (de-CH) */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --vx-forest: #1e3a2f;
  --vx-forest-deep: #13251d;
  --vx-forest-mid: #2b4e3f;
  --vx-sage: #5f8566;
  --vx-cream: #fbf7f0;
  --vx-cream-alt: #f2ebe0;
  --vx-terracotta: #c46e38;
  --vx-terracotta-hover: #a95927;
  --vx-amber: #e6a845;
  --vx-ink: #242624;
  --vx-muted: #5a5d58;
  --vx-border: #e3dbce;
  --vx-white: #ffffff;
  --vx-radius: 16px;
  --vx-shadow: 0 10px 28px rgba(30, 58, 47, 0.08);
  --vx-transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--vx-ink);
  background: var(--vx-cream);
}

h1, h2, h3, h4, .vx-brand-text {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.2;
}

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

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

.vx-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Шапка з коректним position: sticky */
.vx-header {
  background: var(--vx-forest);
  border-bottom: 3px solid var(--vx-sage);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(19, 37, 29, 0.18);
}

.vx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.vx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--vx-white);
}

.vx-brand-text {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vx-brand-text span {
  color: var(--vx-amber);
}

.vx-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.vx-nav a {
  color: #d6e3da;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: var(--vx-transition);
}

.vx-nav a:hover,
.vx-nav a.is-active {
  color: var(--vx-amber);
  border-bottom-color: var(--vx-amber);
}

.vx-nav .vx-nav-cta {
  background: var(--vx-terracotta);
  color: var(--vx-white);
  padding: 9px 18px;
  border-radius: 999px;
  border-bottom: none;
  font-weight: 600;
}

.vx-nav .vx-nav-cta:hover {
  background: var(--vx-amber);
  color: var(--vx-forest-deep);
}

.vx-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--vx-white);
  border-radius: 10px;
  padding: 7px 11px;
  cursor: pointer;
}

/* Кнопки */
.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--vx-transition);
}

.vx-btn-primary {
  background: var(--vx-terracotta);
  color: var(--vx-white);
}

.vx-btn-primary:hover {
  background: var(--vx-terracotta-hover);
  transform: translateY(-1px);
}

.vx-btn-outline {
  background: transparent;
  border-color: rgba(251, 247, 240, 0.45);
  color: var(--vx-white);
}

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

.vx-btn-dark-outline {
  background: transparent;
  border-color: var(--vx-forest);
  color: var(--vx-forest);
}

.vx-btn-dark-outline:hover {
  background: var(--vx-forest);
  color: var(--vx-white);
}

/* Hero та банери сторінок */
.vx-hero {
  background: linear-gradient(145deg, var(--vx-forest) 0%, var(--vx-forest-mid) 60%, #446650 100%);
  color: var(--vx-white);
  padding: 76px 0;
}

.vx-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.vx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 168, 69, 0.14);
  border: 1px solid rgba(230, 168, 69, 0.4);
  color: var(--vx-amber);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.vx-hero h1 {
  font-size: 2.9rem;
  margin-bottom: 18px;
}

.vx-hero h1 span {
  color: var(--vx-amber);
}

.vx-hero p {
  font-size: 1.08rem;
  color: rgba(251, 247, 240, 0.9);
  margin-bottom: 28px;
  max-width: 540px;
}

.vx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vx-hero-media img {
  border-radius: var(--vx-radius);
  box-shadow: 0 22px 48px rgba(10, 22, 16, 0.35);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.vx-page-banner {
  background: var(--vx-forest);
  color: var(--vx-white);
  padding: 52px 0;
}

.vx-page-banner h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.vx-page-banner p {
  color: #cfe0d5;
  max-width: 680px;
}

/* Секції та сітки */
.vx-section {
  padding: 72px 0;
}

.vx-section-alt {
  background: var(--vx-cream-alt);
}

.vx-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.vx-section-head h2 {
  font-size: 2.1rem;
  color: var(--vx-forest);
  margin-bottom: 10px;
}

.vx-section-head h2 span {
  color: var(--vx-terracotta);
}

.vx-section-head p {
  color: var(--vx-muted);
}

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

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

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

/* Картки */
.vx-card {
  background: var(--vx-white);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius);
  padding: 26px;
  box-shadow: var(--vx-shadow);
  transition: var(--vx-transition);
}

.vx-card:hover {
  transform: translateY(-3px);
}

.vx-card h3 {
  color: var(--vx-forest);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.vx-card p {
  color: var(--vx-muted);
  font-size: 0.95rem;
}

.vx-product-card {
  background: var(--vx-white);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--vx-shadow);
}

.vx-product-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.vx-product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vx-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--vx-cream-alt);
  color: var(--vx-forest);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.vx-sku {
  font-size: 0.8rem;
  color: var(--vx-muted);
  margin-bottom: 6px;
}

.vx-price-row {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--vx-border);
}

.vx-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vx-forest);
}

/* Фільтр каталогу */
.vx-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.vx-filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--vx-border);
  background: var(--vx-white);
  color: var(--vx-forest);
  font-weight: 600;
  cursor: pointer;
  transition: var(--vx-transition);
}

.vx-filter-btn.is-active,
.vx-filter-btn:hover {
  background: var(--vx-forest);
  color: var(--vx-white);
  border-color: var(--vx-forest);
}

/* Списки переваг, статті, юридичні тексти */
.vx-list {
  list-style: none;
  margin: 16px 0 22px;
}

.vx-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--vx-muted);
}

.vx-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vx-sage);
  font-weight: 700;
}

.vx-prose {
  max-width: 820px;
  margin: 0 auto;
  background: var(--vx-white);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius);
  padding: 40px;
  box-shadow: var(--vx-shadow);
}

.vx-prose h2 {
  color: var(--vx-forest);
  font-size: 1.45rem;
  margin: 28px 0 10px;
}

.vx-prose h2:first-child {
  margin-top: 0;
}

.vx-prose p,
.vx-prose li {
  color: var(--vx-muted);
  margin-bottom: 12px;
}

.vx-prose ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.vx-prose a {
  color: var(--vx-terracotta);
  text-decoration: underline;
}

/* Форма контактів */
.vx-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vx-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--vx-forest);
}

.vx-field input,
.vx-field select,
.vx-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfc5b4;
  border-radius: 10px;
  font: inherit;
  background: var(--vx-white);
  color: var(--vx-ink);
}

.vx-field textarea {
  min-height: 120px;
  resize: vertical;
}

.vx-map-box {
  border-radius: var(--vx-radius);
  overflow: hidden;
  border: 1px solid var(--vx-border);
  background: var(--vx-white);
  box-shadow: var(--vx-shadow);
}

/* Футер */
.vx-footer {
  background: var(--vx-forest-deep);
  color: #bfd0c4;
  padding: 58px 0 28px;
}

.vx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.vx-footer h4 {
  color: var(--vx-white);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.vx-footer a {
  display: block;
  color: #b7cbbd;
  font-size: 0.93rem;
  margin-bottom: 8px;
  transition: var(--vx-transition);
}

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

.vx-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: #8ba593;
}

/* Cookie-банер */
.vx-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--vx-forest);
  color: #eaf1ec;
  border-top: 3px solid var(--vx-sage);
  padding: 16px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 200;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
}

.vx-cookie-bar.is-visible {
  display: flex;
}

.vx-cookie-bar a {
  color: var(--vx-amber);
  text-decoration: underline;
}

.vx-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.vx-cookie-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.vx-cookie-accept {
  background: var(--vx-amber);
  color: var(--vx-forest-deep);
}

.vx-cookie-decline {
  background: transparent;
  color: #d6e3da;
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 960px) {
  .vx-hero-grid,
  .vx-grid-4,
  .vx-grid-3,
  .vx-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vx-hero h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 760px) {
  .vx-burger {
    display: inline-flex;
  }
  .vx-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--vx-forest-mid);
    padding: 20px 24px 26px;
    border-bottom: 2px solid var(--vx-sage);
  }
  .vx-nav.is-open {
    display: flex;
  }
  .vx-hero-grid,
  .vx-grid-4,
  .vx-grid-3,
  .vx-grid-2,
  .vx-footer-grid {
    grid-template-columns: 1fr;
  }
  .vx-prose {
    padding: 24px;
  }
  .vx-cookie-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
