:root {
  --green-dark: #1f3b2d;
  --green-deep: #2d4a37;
  --green-mid: #557c5f;
  --green-soft: #eef4ed;
  --green-accent: #7aa35a;
  --green-accent-dark: #648847;
  --olive-light: #dfe9d7;
  --sand: #f7f5ef;
  --text-main: #263128;
  --text-soft: #66736a;
  --white: #ffffff;
}

body {
  background: linear-gradient(180deg, #f9fbf7 0%, #eef4ed 100%);
  color: var(--text-main);
}

.text-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* сколько строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.navbar {
  background: rgba(31, 59, 45, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(31, 59, 45, 0.12);
}

.navbar-brand,
.navbar .nav-link {
  color: #fff !important;
}

.navbar .nav-link {
  opacity: 0.9;
}

.navbar .nav-link:hover {
  opacity: 1;
}

.hero {
  background:
    linear-gradient(rgba(21, 41, 30, 0.62), rgba(21, 41, 30, 0.62)),
    radial-gradient(circle at top right, rgba(122, 163, 90, 0.30), transparent 32%),
    linear-gradient(135deg, #2d4a37, #557c5f);
  color: #fff;
  padding: 96px 0 80px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  margin-bottom: 32px;
  box-shadow: 0 12px 30px rgba(31, 59, 45, 0.15);
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-block;
  font-size: 14px;
  margin-bottom: 16px;
}

.hero-side-block {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
}

.section-title {
  color: var(--green-dark);
  font-weight: 700;
}

.filter-box,
.info-block {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(34, 51, 39, 0.06);
}

.filter-box {
  padding: 18px;
}

.info-block {
  padding: 28px;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid #d8e2d5;
  min-height: 46px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green-accent);
  box-shadow: 0 0 0 .2rem rgba(122, 163, 90, 0.18);
}

.coffee-card {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(34, 51, 39, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
  background: var(--white);
}

.coffee-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(34, 51, 39, 0.14);
}

.coffee-image {
  height: 220px;
  object-fit: cover;
  background: var(--olive-light);
}

.badge-soft {
  background: #e7f0e1;
  color: var(--green-deep);
  font-weight: 600;
}

.coffee-meta {
  color: var(--green-mid);
}

.price {
  color: var(--green-accent-dark);
  font-size: 1.2rem;
  font-weight: 700;
}

.btn-coffee {
  background: var(--green-accent);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
}

.btn-coffee:hover {
  background: var(--green-accent-dark);
  color: #fff;
}

.modal-coffee {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
}

.text-muted {
  color: var(--text-soft) !important;
}

footer {
  color: var(--text-soft);
}

@media (max-width: 991.98px) {
  .hero {
    padding: 72px 0 60px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .coffee-image {
    height: 200px;
  }
}
.hero.hero-home {
  position: relative;
  min-height: 620px;
  padding: 0;
  margin-bottom: 32px;
  overflow: hidden;
  color: #fff;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 12px 30px rgba(31, 59, 45, 0.15);
  background:
    linear-gradient(
      90deg,
      rgba(12, 24, 18, 0.88) 0%,
      rgba(18, 45, 31, 0.78) 42%,
      rgba(18, 45, 31, 0.52) 100%
    ),
    url('/site-materials/main.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero.hero-home .container {
  position: relative;
  z-index: 2;
}

.hero.hero-home .row {
  min-height: 620px;
  align-items: center;
}

.hero.hero-home .hero-content {
  max-width: 760px;
  padding: 72px 0;
}

.hero.hero-home h1 {
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero.hero-home .lead {
  max-width: 680px;
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
}

.hero.hero-home .btn-success {
  background-color: var(--green-accent);
  border-color: var(--green-accent);
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(18, 45, 31, 0.2);
}

.hero.hero-home .btn-success:hover,
.hero.hero-home .btn-success:focus {
  background-color: var(--green-accent-dark);
  border-color: var(--green-accent-dark);
  box-shadow: 0 12px 24px rgba(18, 45, 31, 0.26);
}

@media (max-width: 1199.98px) {
  .hero.hero-home {
    min-height: 580px;
  }

  .hero.hero-home .row {
    min-height: 580px;
  }

  .hero.hero-home .hero-content {
    max-width: 700px;
  }
}

@media (max-width: 991.98px) {
  .hero.hero-home {
    min-height: 520px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background-position: center center;
  }

  .hero.hero-home .row {
    min-height: 520px;
  }

  .hero.hero-home .hero-content {
    max-width: 100%;
    padding: 64px 0;
  }

  .hero.hero-home h1 {
    font-size: 2.5rem;
  }

  .hero.hero-home .lead {
    font-size: 1.08rem;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero.hero-home {
    min-height: 460px;
    margin-bottom: 24px;
    background-position: center center;
  }

  .hero.hero-home .row {
    min-height: 460px;
  }

  .hero.hero-home .hero-content {
    padding: 52px 0;
  }

  .hero.hero-home h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .hero.hero-home .lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .hero.hero-home .btn-success {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero.hero-home {
    min-height: 420px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .hero.hero-home .row {
    min-height: 420px;
  }

  .hero.hero-home .hero-content {
    padding: 44px 0;
  }

  .hero.hero-home h1 {
    font-size: 1.8rem;
  }
}