/* АГРОЦЕНТР — лендінг кафе */
:root {
  --color-bg: #faf8f5;
  --color-dark: #2c2416;
  --color-accent: #6b4423;
  --color-accent-light: #a67c52;
  --color-text: #3d3529;
  --color-muted: #6b5d4f;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  --shadow: 0 4px 20px rgba(44, 36, 22, 0.08);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  border-bottom: 1px solid rgba(44, 36, 22, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44, 36, 22, 0.5) 0%, rgba(44, 36, 22, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section:nth-child(even) {
  background: #fff;
  box-shadow: var(--shadow);
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--color-dark);
  margin: 0 0 1rem;
}

.section-intro {
  color: var(--color-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-img-wrap { order: -1; }
}

.about-text p,
.text-block p {
  margin: 0 0 1rem;
}

.about-img-wrap,
.card-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img,
.card-img {
  width: 100%;
  height: auto;
  display: block;
}

.card-img-wrap {
  margin: 2rem 0;
  max-width: 700px;
}

.text-block h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-accent);
  margin: 2rem 0 0.5rem;
}

.text-block h3:first-child {
  margin-top: 0;
}

/* Values */
.values-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.values-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(44, 36, 22, 0.08);
  padding-left: 1.5rem;
  position: relative;
}

.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.values-list li:last-child {
  border-bottom: none;
}

/* Contact / footer nav */
.contact p {
  margin-bottom: 1rem;
}

.footer-nav {
  margin-top: 2rem;
}

.footer-nav a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(44, 36, 22, 0.08);
}

/* Privacy page */
.page-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  margin: 2rem 0 1rem;
}

.privacy-content {
  padding: 2rem 0 4rem;
}

.privacy-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-dark);
  margin: 2.5rem 0 0.75rem;
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content p,
.privacy-content ul {
  margin: 0 0 1rem;
  color: var(--color-text);
}

.privacy-content ul {
  padding-left: 1.5rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

.last-update {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
