:root {
  --color-bg: #fdfaf6;
  --color-surface: #ffffff;
  --color-primary: #7c9a6e;
  --color-primary-dark: #5f7a54;
  --color-accent: #d98a8a;
  --color-accent-dark: #c46f6f;
  --color-text: #3a3a3a;
  --color-muted: #7a7a7a;
  --color-border: #ece5da;
  --shadow-sm: 0 2px 8px rgba(60, 50, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(60, 50, 40, 0.10);
  --radius: 14px;
  --maxw: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { color: var(--color-accent-dark); }

h1, h2, h3, h4 { line-height: 1.2; color: #2f2f2f; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 70px 0; }
.section--alt { background: #f4efe7; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head p { color: var(--color-muted); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  font-size: 1rem;
}
.btn:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--color-accent); }
.btn--accent:hover { background: var(--color-accent-dark); }
.btn--ghost { background: transparent; color: var(--color-primary-dark); border: 2px solid var(--color-primary); }
.btn--ghost:hover { background: var(--color-primary); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: #2f2f2f; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
}
.brand small { display: block; font-size: .7rem; font-weight: 500; color: var(--color-muted); letter-spacing: .5px; }

.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-weight: 600; color: #444; }
.nav__links a:hover, .nav__links a.is-active { color: var(--color-primary-dark); }
.nav__toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: #444; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f7f2ea 0%, #eef3e9 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0;
}
.hero__badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: .85rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero p.lead { font-size: 1.15rem; color: var(--color-muted); max-width: 480px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.hero__art {
  position: relative;
  border-radius: 24px;
  min-height: 320px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 6rem;
  box-shadow: var(--shadow-md);
}
.hero__art span { filter: drop-shadow(0 6px 12px rgba(0,0,0,.15)); }

/* Cards / grid */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { font-size: 2.2rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--color-muted); margin: 0; }

/* Product card */
.product {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product__img {
  height: 180px;
  display: grid; place-items: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #f0f4ec, #fbeaea);
}
.product__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__price { font-weight: 700; color: var(--color-primary-dark); font-size: 1.1rem; margin-top: auto; }
.product__tag { font-size: .75rem; color: var(--color-muted); }

/* Features list */
.feature { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.feature__icon {
  flex: 0 0 46px; height: 46px; border-radius: 12px;
  background: #eef3e9; display: grid; place-items: center; font-size: 1.4rem;
}
.feature h3 { margin: 0 0 4px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--color-muted); font-size: .95rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat__num { font-size: 2.4rem; font-weight: 800; color: var(--color-primary-dark); }
.stat__label { color: var(--color-muted); font-size: .9rem; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--color-text);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124,154,110,.15);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-error { color: var(--color-accent-dark); font-size: .85rem; margin-top: 4px; }
.alert {
  padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-weight: 600;
}
.alert--success { background: #eaf4e6; color: #4a6b3f; border: 1px solid #cfe3c6; }
.alert--error { background: #fbe9e9; color: #a84444; border: 1px solid #f1cccc; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 12px; margin-bottom: 16px; }
.info-list .ico { font-size: 1.3rem; }
.info-list strong { display: block; }
.info-list span { color: var(--color-muted); font-size: .95rem; }

/* Map placeholder */
.map {
  height: 260px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #e8eee4, #f6ecec);
  display: grid; place-items: center; color: var(--color-muted); border: 1px solid var(--color-border);
}

/* Footer */
.site-footer { background: #2f3a2c; color: #cfd8c9; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.site-footer a { color: #cfd8c9; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .85rem; color: #9fab98;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; padding: 56px 0; }
  .hero__art { min-height: 220px; order: -1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav__links.is-open { max-height: 320px; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 14px 20px; border-top: 1px solid var(--color-border); }
  .nav__toggle { display: block; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
