﻿:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-soft: #f0ebe1;
  --text: #1f2022;
  --muted: #676b73;
  --primary: #194a7a;
  --accent: #bb7a3c;
  --border: #ddd3c3;
  --shadow: 0 14px 40px rgba(20, 25, 35, 0.1);
  --max-width: 1160px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 5% 15%, rgba(187, 122, 60, 0.15), transparent 28%),
    radial-gradient(circle at 95% 5%, rgba(25, 74, 122, 0.2), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(var(--max-width), 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--primary);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-switch a.active {
  color: var(--primary);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  padding: 1rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(240, 235, 225, 0.9));
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: clamp(1.2rem, 2vw, 2.2rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  align-content: center;
}

.kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.15;
}

.hero p {
  color: var(--muted);
  max-width: 40ch;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-1px);
  opacity: 0.95;
}

.slider-box {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 420px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.9s ease;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

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

.slider-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.9rem;
  display: flex;
  gap: 0.45rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
}

.section {
  padding: 4.3rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 2.3vw, 2.4rem);
  margin-bottom: 1.6rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 60ch;
}

.category {
  margin-bottom: 2.2rem;
  background: var(--surface);
  border-radius: 0.95rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 26px rgba(30, 34, 40, 0.08);
  padding: 1.1rem;
}

.category h3 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.product-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.slider-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  height: 2.35rem;
  width: 2.35rem;
  border-radius: 50%;
  cursor: pointer;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  background: var(--primary);
  color: #fff;
}

.product-track {
  overflow: hidden;
}

.product-page {
  display: none;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-page.active {
  display: grid;
}

.product-page img {
  width: 100%;
  height: auto;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
}

.about-card,
.contact-card {
  background: linear-gradient(165deg, #fff, var(--surface-soft));
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(30, 34, 40, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-item {
  padding: 0.95rem;
  border-radius: 0.7rem;
  background: #fff;
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-item span {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.35rem;
}

.contact-item.address {
  grid-column: 1 / -1;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.6rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero,
.section {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .slider-box {
    min-height: 340px;
  }

  .product-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.6rem 1rem 1rem;
    background: rgba(245, 243, 238, 0.98);
    border-bottom: 1px solid var(--border);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-menu.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.3rem 0;
  }

  .lang-switch {
    margin-top: 0.3rem;
    align-self: flex-start;
  }

  .slider-box {
    min-height: 280px;
  }

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

  .section {
    padding: 3rem 0;
  }
}
