:root {
  --bg: #fff8f3;
  --bg-soft: #fff2e8;
  --panel: #ffffff;
  --text: #2b221f;
  --text-soft: #6f5d57;
  --brand: #f58f6c;
  --brand-strong: #ee6f48;
  --line: #f2ddd0;
  --shadow: 0 20px 50px rgba(121, 72, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffaf6 0%, #fff4eb 100%);
}

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(7px);
  background: rgba(255, 248, 243, 0.84);
  border-bottom: 1px solid rgba(242, 221, 208, 0.8);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--text-soft);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--brand-strong);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

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

.lang-item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 0.3rem 0.52rem;
  border-radius: 999px;
  line-height: 1;
}

.lang-item.is-active {
  color: var(--brand-strong);
  background: #fff2ea;
}

.flag {
  font-size: 0.92rem;
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  background: #fff;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: stretch;
}

.kicker {
  margin: 0 0 0.5rem;
  color: var(--brand-strong);
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
}

.hero-copy {
  margin: 1rem 0 0;
  max-width: 60ch;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  box-shadow: 0 10px 30px rgba(238, 111, 72, 0.28);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
}

.hero-slider {
  border-radius: 22px;
  background: radial-gradient(circle at top right, #ffd8c5 0%, #f8a987 42%, #f58f6c 100%);
  color: #fff8f3;
  padding: 2rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.slide-label {
  margin: 0;
  font-weight: 700;
  opacity: 0.93;
}

.hero-slider h2 {
  margin: 0.45rem 0 0.7rem;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

.hero-slider p {
  margin: 0;
  line-height: 1.6;
}

.slide-link {
  margin-top: 1.1rem;
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 0.58rem 0.95rem;
  font-weight: 600;
}

.slide-dots {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.42rem;
}

.slide-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.slide-dots span.is-active {
  width: 20px;
  background: #fff;
}

.section {
  padding: 3rem 0;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
}

.product-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(120, 65, 30, 0.06);
}

.badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  background: #ffe1d1;
  color: #99553c;
  font-weight: 700;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.card a {
  margin-top: 0.8rem;
  display: inline-block;
  color: var(--brand-strong);
  font-weight: 700;
}

.why-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
}

.why-item h3 {
  margin: 0 0 0.4rem;
}

.why-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.about-block {
  background: linear-gradient(120deg, #fff1e4, #ffe5d5);
  border: 1px solid #f6d3bf;
  border-radius: 22px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.about-block h2 {
  margin: 0;
}

.about-block p {
  margin: 0.7rem 0 0;
  color: #694c43;
  max-width: 68ch;
  line-height: 1.7;
}

.site-footer {
  margin-top: 2rem;
  background: #2f2522;
  color: #f4e8e3;
  padding: 2.3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 0.55rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0.2rem 0;
  color: #e4d2cc;
}

.footer-grid a:hover {
  color: #ffd8c5;
}

.footer-bottom {
  margin-top: 1.35rem;
  border-top: 1px solid rgba(255, 226, 210, 0.2);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: #cfb7ae;
  font-size: 0.92rem;
}

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

  .about-block {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .main-nav {
    display: none;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 0.6rem 0;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-grid,
  .product-grid,
  .why-grid,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-slider {
    min-height: 300px;
  }
}
