:root {
  --bg: #FBF5E8;
  --bg-soft: #F4ECD8;
  --bg-card: #FFFFFF;
  --ink: #2D2A24;
  --ink-soft: #5E5648;
  --ink-muted: #8A8170;
  --green: #4A6B3A;
  --green-dark: #3A5530;
  --green-light: #E8EFDD;
  --accent: #C97A40;
  --accent-dark: #A55F2C;
  --accent-light: #F5E3CE;
  --line: #E5DCC4;
  --shadow-sm: 0 2px 8px rgba(74, 107, 58, 0.06);
  --shadow: 0 10px 30px rgba(74, 107, 58, 0.10);
  --shadow-lg: 0 20px 50px rgba(74, 107, 58, 0.15);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1120px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  line-height: 1.6;
  font-size: 16px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(circle at 5% 0%, rgba(74, 107, 58, 0.06), transparent 50%),
    radial-gradient(circle at 100% 30%, rgba(201, 122, 64, 0.05), transparent 50%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}

/* ============== HEADER ============== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 232, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  flex-shrink: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  font-size: 15px;
  line-height: 1.2;
}

.brand-text span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav {
  display: none;
  margin-left: auto;
  gap: 24px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--green-dark); }

.header-cta {
  margin-left: auto;
  padding: 9px 16px;
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.header-cta:hover { background: var(--green); transform: translateY(-1px); }

@media (min-width: 820px) {
  .site-nav { display: flex; }
  .header-cta { margin-left: 0; }
}

/* ============== LAYOUT ============== */

main { flex: 1; }

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

section { padding: 56px 0; }

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

h1, h2, h3 { color: var(--green-dark); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(26px, 5vw, 38px); margin: 0 0 8px; }
h3 { font-size: 20px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.section-sub {
  color: var(--ink-muted);
  font-size: 16px;
  margin: 0;
}

/* ============== HERO ============== */

.hero {
  padding: 36px 0 64px;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-logo {
  width: min(50vw, 200px);
  height: auto;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(30px, 6.5vw, 52px);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(16px, 3.8vw, 19px);
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  min-height: 52px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary { background: var(--green-dark); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-secondary { background: #fff; color: var(--green-dark); border-color: var(--green-dark); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--green-light); transform: translateY(-2px); }

.hero-meta {
  color: var(--ink-muted);
  font-size: 15px;
  margin: 0;
}

.hero-meta strong { color: var(--ink); }

/* ============== FEATURES ============== */

.features {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  margin: 0 20px;
  padding: 48px 24px;
}

.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: var(--container);
  margin: 0 auto;
}

@media (min-width: 600px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px;
}

.feature h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.feature p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ============== PRODUCTS ============== */

.products .container { max-width: var(--container); }

.products-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100px;
  opacity: 0.35;
  background: linear-gradient(180deg, var(--card-color, var(--green-light)) 0%, transparent 100%);
  z-index: 0;
}

.product-card > * { position: relative; z-index: 1; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.product-card--milk     { --card-color: #DCE5F4; }
.product-card--cheese   { --card-color: #F5E3B8; }
.product-card--meat     { --card-color: #F0CDC4; }
.product-card--poultry  { --card-color: #F5E3CE; }
.product-card--sausages { --card-color: #E5C8B8; }

.product-emoji {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 10px;
}

.product-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.product-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.products-note {
  text-align: center;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 15px;
}

.products-note a { color: var(--green-dark); font-weight: 600; }

/* ============== ABOUT ============== */

.about {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin: 0 20px;
  padding: 56px 24px;
  text-align: center;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about p {
  font-size: clamp(16px, 3.5vw, 18px);
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.about p strong { color: var(--ink); }

/* ============== STEPS ============== */

.steps-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: var(--container);
  margin: 0 auto;
}

@media (min-width: 780px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}

.step h3 { color: var(--ink); font-size: 18px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ============== CONTACTS ============== */

.contacts-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.contacts-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) { .contacts-grid { grid-template-columns: 1fr 1.2fr; } }

.contact-info {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-info h3 { font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.contact-info .address { color: var(--ink-soft); margin-bottom: 18px; }

.contact-info .hours {
  padding: 14px 16px;
  background: var(--green-light);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 15px;
}

.contact-info .hours strong { color: var(--green-dark); }

.phones {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: 14px;
  text-decoration: none;
  min-height: 56px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.phone-link:hover { background: var(--accent-light); transform: translateY(-1px); }
.phone-name { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.phone-num { color: var(--green-dark); font-weight: 700; letter-spacing: 0.3px; font-size: 16px; }

.messengers {
  display: grid;
  gap: 8px;
}

.messenger-card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  min-height: 52px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.messenger-card:hover { background: var(--accent-light); transform: translateY(-1px); }

.messenger-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  max-width: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.messenger-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.messenger-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.2;
  overflow: hidden;
}

.messenger-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

.messenger-handle {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .messenger-icon { width: 36px; height: 36px; min-width: 36px; max-width: 36px; flex-basis: 36px; }
  .messenger-icon svg { width: 36px; height: 36px; }
  .messenger-name { font-size: 15px; }
  .messenger-handle { font-size: 13px; }
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  min-height: 360px;
  position: relative;
}

.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.map-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 10px 16px;
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, background 0.15s ease;
  z-index: 2;
}

.map-cta:hover { background: var(--green); transform: translateY(-2px); }

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  color: var(--ink-muted);
  min-height: 360px;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(74,107,58,0.04) 12px 24px),
    var(--bg-soft);
}

.map-placeholder p { font-size: 17px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.map-placeholder small { font-size: 13px; }

/* ============== FINAL CTA ============== */

.final-cta {
  text-align: center;
  background: var(--green-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 20px;
  padding: 56px 24px;
}

.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 520px; margin: 0 auto 28px; }

.final-cta .btn-primary { background: #fff; color: var(--green-dark); }
.final-cta .btn-primary:hover { background: var(--bg-soft); }
.final-cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.final-cta .btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ============== FOOTER ============== */

.site-footer {
  text-align: center;
  padding: 32px 20px 24px;
  color: var(--ink-muted);
  font-size: 14px;
}

.site-footer p { margin: 0 0 4px; }

/* ============== ANIM ============== */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

@media (max-width: 480px) {
  .features, .about, .final-cta { margin-left: 12px; margin-right: 12px; border-radius: var(--radius); padding-left: 18px; padding-right: 18px; }
  section { padding: 44px 0; }
}
