:root {
  --bg: #e8e0d1;
  --surface: #f3eee6;
  --surface-2: #ddd3c1;
  --green: #3e5444;
  --green-dark: #2f4034;
  --green-soft: #66786a;
  --line: #d6ccba;
  --muted: #868d82;
  --shadow: 0 10px 30px rgba(47, 64, 52, .08);
  --shadow-lg: 0 24px 60px rgba(47, 64, 52, .14);
  --radius: 22px;
  --sans: 'Arimo', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--green);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: .01em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green-soft);
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .04em;
  transition: transform .2s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--bg); box-shadow: 0 8px 20px rgba(62, 84, 68, .25); }
.btn-primary:hover { background: var(--green-dark); }
.btn-light { background: var(--surface); color: var(--green); border-color: var(--line); }
.btn-light:hover { background: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: transparent;
  transition: box-shadow .2s, background .2s;
}
.nav.scrolled {
  background: rgba(232, 224, 209, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 88px; }
.brand img { height: 58px; width: auto; }
.links { display: flex; gap: 34px; margin: 0 auto; font-family: var(--display); font-size: 15.5px; }
.links a { text-decoration: none; color: var(--green-soft); position: relative; padding: 4px 0; transition: color .2s; }
.links a:hover, .links a.active { color: var(--green); }
.links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--green); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.icon-link { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--green); transition: background .2s; }
.icon-link:hover { background: var(--surface); }
.icon-link svg { width: 22px; height: 22px; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: var(--surface); border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--green); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 72px;
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -88px; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(232, 224, 209, .72) 0%, rgba(232, 224, 209, .8) 65%, var(--bg) 100%),
    url('/assets/hero-bg.jpg') center 60% / cover no-repeat;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.06;
  font-weight: 400;
  color: var(--green-dark);
}
.hero h1 span { font-weight: 300; color: var(--green-soft); }
.lead { max-width: 470px; margin: 22px 0 32px; color: var(--green-soft); font-size: 16.5px; }
.hero h1 + .hero-actions { margin-top: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1; color: var(--green-dark); }
.hero-stats span { font-size: 13px; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero-circle {
  width: min(460px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4f6855, var(--green) 55%, var(--green-dark));
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg), inset 0 0 0 14px rgba(232, 224, 209, .08);
  overflow: hidden;
}
.hero-circle.photo { background-size: cover; background-position: center; }
.hero-turtle { width: 72%; opacity: .95; transform: rotate(-8deg); }
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(243, 238, 230, .94);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--display); font-weight: 500; font-size: 15px; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.fc-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-size: 20px; }
.fc-1 { top: 8%; left: -2%; }
.fc-2 { bottom: 8%; right: -2%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- section titles ---------- */
.section-title { margin-bottom: 36px; }
.section-title h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--green-dark); line-height: 1.15; }
.section-title.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* ---------- featured slider ---------- */
.featured { padding: 40px 0 80px; }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.arrow:hover { transform: translateY(-1px); }
.arrow svg { width: 20px; height: 20px; }
.arrow-fill { background: var(--green); color: var(--bg); border-color: var(--green); }

.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 22px) / 4);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 70px 4px 36px;
  margin: -40px -4px -24px;
}
.slider::-webkit-scrollbar { display: none; }
.f-card {
  scroll-snap-align: start;
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 96px 22px 22px;
  box-shadow: var(--shadow);
  text-align: left;
  border: 0;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.f-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.f-card .f-img {
  position: absolute; top: -56px; left: 50%;
  width: 140px; height: 140px; margin-left: -70px;
  border-radius: 50%;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow);
}
.f-card .tag {
  align-self: flex-start;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-soft); background: var(--bg);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.f-card h3 { font-size: 19px; font-weight: 500; color: var(--green-dark); }
.f-card .ru { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.f-card .f-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; }
.f-card .f-price { font-family: var(--display); font-weight: 600; font-size: 20px; }
.f-card .plus { width: 38px; height: 38px; border-radius: 12px; background: var(--green); color: var(--bg); display: grid; place-items: center; font-size: 20px; }

/* image / placeholder */
.ph {
  background: linear-gradient(145deg, #e3dac9, #d4c9b5);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph img.ph-icon { width: 62%; opacity: .55; }
.ph.has-img { background-size: cover; background-position: center; }

/* ---------- menu ---------- */
.menu-sec { padding: 90px 0 100px; background: var(--surface); border-radius: 40px 40px 0 0; }
.tabs {
  display: flex; justify-content: center; gap: 6px;
  width: max-content; max-width: 100%;
  margin: 0 auto 22px;
  padding: 6px;
  background: var(--bg);
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs button {
  border: 0; background: none;
  padding: 11px 26px; border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .03em;
  color: var(--green-soft); transition: background .2s, color .2s;
  white-space: nowrap;
}
.tabs button.active { background: var(--green); color: var(--bg); box-shadow: 0 6px 16px rgba(62, 84, 68, .25); }

.chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0 auto 48px; max-width: 900px;
}
.chips a {
  text-decoration: none;
  font-size: 13.5px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--green-soft);
  transition: background .2s, color .2s, border-color .2s;
}
.chips a:hover { border-color: var(--green); color: var(--green); }

.cat-block { margin-bottom: 52px; }
.cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cat-head h3 { font-size: 26px; color: var(--green-dark); }
.cat-head span { color: var(--muted); font-size: 14px; letter-spacing: .06em; }
.cat-head .count { margin-left: auto; font-size: 13px; }

.items { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px 12px 12px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 18px;
  text-align: left;
  width: 100%;
  transition: border-color .2s, transform .2s, background .2s;
}
.item:not(:has(.thumb)) { padding: 18px 20px; min-height: 72px; }
.item:hover { border-color: var(--line); background: #ebe4d7; }
.item .thumb { width: 68px; height: 68px; border-radius: 14px; flex: none; }
.item .info { flex: 1; min-width: 0; }
.item .name { font-weight: 700; font-size: 15px; color: var(--green-dark); line-height: 1.3; }
.item .ru { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.item .vol { display: inline-block; margin-top: 6px; font-size: 11.5px; letter-spacing: .04em; color: var(--green-soft); background: var(--surface); padding: 2px 8px; border-radius: 999px; }
.item .price { font-family: var(--display); font-weight: 600; font-size: 18px; white-space: nowrap; color: var(--green-dark); }
.item.sold-out { opacity: .5; }
.item.sold-out .price { text-decoration: line-through; }
.badge { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--green-soft); color: var(--bg); vertical-align: 2px; font-weight: 500; }

.note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }

/* ---------- about ---------- */
.about { padding-top: 0; padding-bottom: 90px; background: var(--surface); max-width: none; }
.about-card {
  max-width: 1132px; margin: 0 auto;
  display: grid; grid-template-columns: 160px 1.2fr 1fr; gap: 40px; align-items: center;
  background: var(--bg);
  border-radius: 32px;
  padding: 44px 48px;
}
.about-card h2 { font-size: 32px; color: var(--green-dark); margin-bottom: 12px; }
.about-card p { margin: 0; color: var(--green-soft); }
.about-turtle { width: 160px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.features li { background: var(--surface); border-radius: 16px; padding: 14px 18px; }
.features strong { display: block; font-family: var(--display); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.features span { color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
.footer { background: var(--green-dark); color: var(--bg); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 40px; }
.footer-logo { width: 220px; }
.footer h4 { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; opacity: .7; }
.footer a { display: block; text-decoration: none; margin-bottom: 8px; font-size: 16px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer p { margin: 0; font-size: 13.5px; opacity: .75; line-height: 1.7; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(232, 224, 209, .15); font-size: 13px; opacity: .6; }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(36, 48, 40, .55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: fade .2s ease;
}
.modal[hidden] { display: none; }
.modal-card {
  position: relative; width: 100%; max-width: 440px;
  background: var(--surface); border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); animation: rise .25s ease;
}
.modal-img { aspect-ratio: 4 / 3; }
.modal-img.ph img.ph-icon { width: 40%; }
.modal-body { padding: 24px 26px 26px; }
.modal-body h3 { font-size: 26px; color: var(--green-dark); font-weight: 500; }
.modal-body .muted { margin: 4px 0 0; }
.modal-desc { color: var(--green-soft); white-space: pre-line; margin: 14px 0 0; }
.modal-desc:empty { display: none; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.price-lg { font-family: var(--display); font-size: 26px; font-weight: 600; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(243, 238, 230, .92); font-size: 24px; line-height: 1; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .slider { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .about-card { grid-template-columns: 1fr 1fr; }
  .about-turtle { display: none; }
}
@media (max-width: 860px) {
  .links {
    position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); padding: 8px 24px 20px;
    box-shadow: 0 12px 24px rgba(47, 64, 52, .08);
    display: none;
  }
  .links.open { display: flex; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .links a.active::after { display: none; }
  .nav-right { margin-left: auto; }
  .burger { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { min-height: 0; order: -1; }
  .hero-circle { width: min(340px, 82vw); }
  .items { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 72px; gap: 10px; }
  .hero::before { top: -72px; }
  .links { top: 72px; padding: 8px 16px 20px; }
  .brand img { height: 44px; }
  .btn-sm { padding: 9px 14px; font-size: 13px; }
  .icon-link { display: none; }
  .hero-stats { gap: 26px; }
  .float-card { padding: 8px 12px 8px 8px; }
  .fc-icon { width: 34px; height: 34px; font-size: 17px; }
  .float-card strong { font-size: 13.5px; }
  .float-card small { font-size: 11.5px; }
  .fc-1 { left: 0; top: 4%; }
  .fc-2 { right: 0; bottom: 2%; }
  .slider { grid-auto-columns: 72%; gap: 16px; }
  .arrows { display: none; }
  .menu-sec { padding: 64px 0 56px; border-radius: 28px 28px 0 0; }
  .tabs { width: 100%; justify-content: flex-start; }
  .tabs button { padding: 10px 18px; font-size: 14px; flex: 1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin: 0 -16px 36px; padding: 0 16px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { flex: none; }
  .cat-head h3 { font-size: 22px; }
  .item { padding: 10px 14px 10px 10px; gap: 12px; }
  .item .thumb { width: 58px; height: 58px; }
  .about { padding-bottom: 64px; }
  .about-card { grid-template-columns: 1fr; padding: 30px 22px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card, .modal, .modal-card { animation: none; }
}
