:root {
  --ink: #1c1914;
  --muted: #5e584e;
  --line: #e4dccf;
  --paper: #f4f0e7;
  --card: #fffdf9;
  --green: #143d2b;
  --green-2: #1f5c40;
  --gold: #c8922a;
  --gold-2: #e2b15a;
  --shadow: 0 18px 40px rgba(28, 25, 20, 0.08);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Manrope, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 400px at 90% -10%, rgba(226, 177, 90, 0.28), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 6vw;
  background: rgba(244, 240, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand { flex-shrink: 0; }
.brand svg { height: 84px; width: auto; display: block; }
.logo-gold, .logo-agro, .logo-gps {
  font-family: Montserrat, Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo-gold { font-size: 108px; fill: #EB8824; }
.logo-agro { font-size: 108px; fill: #0A481E; }
.logo-gps {
  font-size: 78px;
  fill: #fff;
  letter-spacing: 0.12em;
  text-anchor: middle;
}
.nav { display: flex; gap: 18px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: white; }
.langs button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 700;
}
.langs button[aria-pressed="true"] { background: var(--green); color: white; }
.phone { font-weight: 800; text-decoration: none; white-space: nowrap; }

.hero, .catalog, .help, .delivery, .contacts, .product, .app-download {
  width: min(1120px, calc(100% - 8vw));
  margin: 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 20px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--green-2);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1.05; margin: 0 0 14px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 8px; }
.lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-photo {
  margin: 0;
  background: var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 420px; object-fit: contain; background: white; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary { background: var(--green); color: white; }
.btn-ghost { background: white; border-color: var(--line); }
.btn:hover { transform: translateY(-1px); }

.catalog { padding: 36px 0 10px; }
.section-head { max-width: 640px; margin-bottom: 22px; }
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.card:hover { border-color: #c9b48a; }
.card-photo { background: #f7f4ee; aspect-ratio: 16/10; }
.card-photo img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 16px 18px 18px; display: grid; gap: 8px; }
.card-tag {
  margin: 0;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card h3 { margin: 0; font-size: 1.45rem; }
.card p { margin: 0; color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.card-price { display: flex; flex-direction: column; font-size: 1.45rem; font-weight: 800; line-height: 1.15; }
.card-price small { font-size: 0.95rem; font-weight: 700; color: var(--muted); }
.price .card-price { font-size: 2rem; }
.price .card-price small { font-size: 1.15rem; }
.card-more { font-weight: 700; color: var(--green-2); }

.help { padding: 42px 0; }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.help-grid article, .delivery, .contacts, .app-download {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.help-grid article { padding: 18px; }
.help-grid h3 { margin: 0 0 8px; font-size: 1.35rem; }
.help-grid p { margin: 0; color: var(--muted); }

.delivery, .contacts, .app-download {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px;
  margin-bottom: 16px;
}
.delivery p, .contacts p, .app-download p { color: var(--muted); }
.app-note { margin: 8px 0 0; color: var(--muted); }
.app-actions { margin-top: 10px; }
.app-download .contact-actions { margin-top: 0; flex-shrink: 0; flex-wrap: nowrap; }
.person { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin: 8px 0; }
.phone-large { display: inline-block; font-size: 1.5rem; margin-bottom: 8px; }

.product { padding: 28px 0 48px; }
.back { display: inline-block; margin-bottom: 16px; font-weight: 700; color: var(--green-2); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.gallery {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
}
#photo { width: 100%; height: 460px; object-fit: contain; background: white; border-radius: 14px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: white;
  border-radius: 10px;
  cursor: pointer;
}
.thumbs button[aria-pressed="true"] { border-color: var(--green); }
.thumbs img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; }
.product-info h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.price { font-size: 2rem; font-weight: 800; margin: 8px 0; }
#product-specs { margin: 16px 0; padding-left: 18px; }
#product-specs li { margin: 6px 0; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 6vw 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .top { flex-wrap: wrap; padding: 12px 4vw; }
  .nav { order: 3; width: 100%; gap: 14px; }
  .hero, .product-layout, .cards, .help-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero-photo img, #photo { height: 280px; }
  .delivery, .contacts, .app-download { flex-direction: column; align-items: flex-start; }
  .phone { font-size: 0.92rem; }
  .brand svg { height: 62px; }
}
