:root {
  --bg: #ffffff;
  --bg-muted: #f4f7fb;
  --text: #1a2233;
  --text-soft: #5b6678;
  --primary: #e63946;
  --primary-dark: #c22c39;
  --accent: #2a9d8f;
  --border: #e6ebf2;
  --shadow: 0 10px 30px rgba(20, 40, 80, 0.08);
  --radius: 16px;
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 10px 26px rgba(230, 57, 70, 0.4); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--full { width: 100%; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.logo__icon { font-size: 26px; }
.logo__img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.logo--light { color: #fff; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text-soft); font-weight: 600; transition: color 0.2s; }
.nav a:hover { color: var(--primary); }
.header .btn--primary { margin-left: 8px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #ffe3e5 0%, transparent 60%),
              linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
  padding: 70px 0 90px;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-soft);
  box-shadow: var(--shadow);
}
.hero__title { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 20px 0 16px; font-weight: 800; }
.hero__subtitle { font-size: 18px; color: var(--text-soft); max-width: 520px; }
.hero__actions { display: flex; gap: 14px; margin: 30px 0; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.stat b { display: block; font-size: 28px; color: var(--primary); }
.stat span { color: var(--text-soft); font-size: 14px; }

.hero__image { display: flex; justify-content: center; }
.hero__card {
  width: min(320px, 80vw);
  aspect-ratio: 1;
  border-radius: 40px;
  background: linear-gradient(145deg, #fff 0%, #ffeef0 100%);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 5s ease-in-out infinite;
}
.hero__emoji { font-size: clamp(96px, 18vw, 160px); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* Sections */
.section { padding: clamp(48px, 8vw, 80px) 0; }
.section--muted { background: var(--bg-muted); }
.section__title { font-size: clamp(26px, 3.5vw, 40px); text-align: center; font-weight: 800; }
.section__title--left { text-align: left; }
.section__subtitle { text-align: center; color: var(--text-soft); margin: 12px 0 46px; font-size: 18px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { font-size: 40px; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 15px; }

/* Menu tabs (category filters) */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.menu-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.menu-tab:hover { border-color: var(--primary); color: var(--primary); }
.menu-tab:active { transform: translateY(1px); }
.menu-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.28);
}
.menu-tab__emoji { font-size: 18px; line-height: 1; }

/* Menu */
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.product {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product__img {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  background: linear-gradient(145deg, #fff6f2, #ffeef0);
}
.product__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product__name { font-size: 19px; font-weight: 700; }
.product__desc { color: var(--text-soft); font-size: 14px; margin: 6px 0 10px; flex: 1; }
.product__unit { font-size: 13px; color: var(--text-soft); margin-bottom: 12px; }
.product__prices { display: flex; gap: 10px; margin: 14px 0 16px; margin-top: auto; }
.price {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price--retail { background: #fff6f2; border-color: #ffd9cf; }
.price--wholesale { background: #eefaf7; border-color: #c9ebe4; }
.price__label { font-size: 12px; color: var(--text-soft); font-weight: 600; }
.price__label em { font-style: normal; font-weight: 500; opacity: 0.8; }
.price__value { font-size: 19px; font-weight: 800; }
.price--retail .price__value { color: var(--primary); }
.price--wholesale .price__value { color: var(--accent); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { text-align: center; padding: 20px; }
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-soft); }

/* Reviews */
.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.review__stars { color: #ffb400; font-size: 18px; letter-spacing: 2px; margin-bottom: 10px; }
.review p { color: var(--text); font-style: italic; }
.review__author { margin-top: 14px; font-weight: 700; color: var(--text-soft); }

/* Order */
.order { background: linear-gradient(180deg, #fff 0%, #fbfdff 100%); }
.order__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.order__text { color: var(--text-soft); font-size: 18px; margin: 16px 0 24px; }
.order__list { list-style: none; display: grid; gap: 12px; font-weight: 600; }

/* Form */
.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: block; margin-bottom: 16px; }
.form__field span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form__field input,
.form__field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}
.form__field input.invalid,
.form__field textarea.invalid { border-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { font-size: 12px; color: var(--text-soft); text-align: center; margin-top: 12px; }
.form__status { margin-top: 14px; text-align: center; font-weight: 600; }
.form__status.ok { color: var(--accent); }
.form__status.err { color: var(--primary); }

/* Footer */
.footer { background: #10151f; color: #cbd3e0; padding: 56px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__desc { color: #8b96a8; margin-top: 14px; max-width: 320px; }
.footer__col h4 { color: #fff; margin-bottom: 14px; }
.footer__col p { margin-bottom: 8px; }
.footer__col a:hover { color: #fff; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  padding: 8px 16px;
  border: 1px solid #2a3140;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.social:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer__bottom { margin-top: 46px; border-top: 1px solid #1e2530; padding: 20px 0; font-size: 14px; color: #6f7a8c; }

/* Mobile nav */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { order: -1; }
  .order__inner { grid-template-columns: 1fr; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .burger { display: flex; margin-left: auto; }
  .header .btn--primary { display: none; }
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .product__prices { flex-direction: column; }
}
