:root {
  --primary: #2c5a4a;
  --primary-dark: #1e3d32;
  --accent: #4a7c6f;
  --earth: #8b7355;
  --bg: #f7f5f2;
  --card: #ffffff;
  --text: #2c3e50;
  --text-light: #5a6a7a;
  --border: #e0dcd6;
  --shadow: 0 4px 20px rgba(44, 90, 74, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Language */
.lang-en { display: none; }
body.en .lang-ru { display: none; }
body.en .lang-en { display: inline; }
body.en .lang-en-block { display: block; }
body.en .lang-ru-block { display: none; }

.lang-switch {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.lang-switch:hover {
  background: rgba(255,255,255,0.15);
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.logo-wrap img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-text {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.logo-text small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* Hero */
.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  background: url('images/hero2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 61, 50, 0.55), rgba(30, 61, 50, 0.75));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 4rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(44, 90, 74, 0.12);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.5rem;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

.about-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

footer h4 {
  color: white;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

footer p, footer a {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

footer a:hover {
  color: white;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 60vh;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .logo-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 1rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
