/* ---------------- HERO ---------------- */

.hero {
  background:
    linear-gradient(rgb(20 19 14 / 81%), rgb(10 16 9 / 50%)),
    url(https://derevyashka48.ru/static/images/vagonka.webp);
    background-size: cover;
    background-position: center;
    padding: 90px 40px;
    color: #fff;
}

.hero-inner {
  max-width: 600px;
  margin: auto;
<!--   display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; -->
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.hero-actions a {
  display: block;
  padding: 16px 20px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  transition: background 0.3s;
}

.hero-actions a:hover {
  background: rgba(197,225,165,0.25);
}

/* ---------------- SECTION ---------------- */

.section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
}

.section h2 {
  font-size: 28px;
  color: var(--brown-dark);
  margin-bottom: 25px;
  text-align: center;
}

/* ---------------- START BLOCK ---------------- */

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.start-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  cursor: pointer;
}

.start-card h3 {
  margin-bottom: 10px;
  color: var(--brown-dark);
}

.start-card a, .podbor {
  display: inline-block;
  margin-top: 10px;
  color: var(--color-medium-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 16px;
  border: 2px solid var(--color-medium-green);
  border-radius: 6px;
  transition: all 0.3s;
}

/* ---------------- TASKS ---------------- */

.tasks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.task-card {
  background: var(--color-light-green);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  transition: transform 0.25s;
}

.task-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* ---------------- CATEGORIES ---------------- */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px 15px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  height: 275px;
  width: 300px;
}
.category-card:hover {
  transform: translateY(-5px);
}
.category-card img {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
  display: block;
  margin: auto;
}

.category-title {
  font-weight: bold;
  text-align: center;
  color: var(--color-dark-green);
  font-size: 26px;
}
.category-link{
  text-decoration: none
}
/* ---------------- BENEFITS ---------------- */

.benefits {
  background: var(--brown-light);
  padding: 50px 40px;
}

.benefits-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.benefit {
  font-weight: 600;
  color: var(--brown-dark);
}

/* ---------------- CTA ---------------- */

.cta {
  background: var(--green-light);
  padding: 60px 40px;
  text-align: center;
}

.cta h2 {
  margin-bottom: 15px;
}

.cta a {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: var(--green);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}
.calculation-buttons {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 10px 0;
}

.calculation-buttons h4 {
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

.calc-btn {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    background: white;
    border: 2px solid #4a6fa5;
    border-radius: 6px;
    color: #4a6fa5;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.calc-btn:hover {
    background: var(--color-medium-green);
    color: white;
    transform: translateX(5px);
}

.calc-btn:active {
    transform: translateX(5px) scale(0.98);
}
.start-card-calc {
  cursor: pointer;
  transition: background-color 0.2s;
  padding: 16px;
  border-radius: 8px;
  
}

.start-card-calc:hover,
.start-card-calc:focus {
  background-color: #f0f8ff; 
  outline: 2px solid var(--color-light-green);
  outline-offset: 2px;
}


.start-card-calc__action {
  color: #007bff;
  text-decoration: underline;
}