/* 1. Hero Section */
.company-section {
    background-color: #ffffff;
    min-height: 637px;
    padding: 60px 0;
    display: flex;
    align-items: center;
}
.company-heading {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-dark, #071621);
    margin-bottom: 20px;
}
.company-text p {
    font-size: 20px;
    color: var(--color-dark, #071621);
    line-height: 1.6;
    margin-bottom: 20px;
}
.company-image {
    width: 100%;
    max-width: 564px;
    height: 347px;
    /* Исправленный путь: выходим из css (../) и заходим в media */
    background: url("../media/company.svg") center/contain no-repeat;
    margin: 0 auto;
}

/* 2. Advantages (Working with us) */
.advantages-section {
    padding: 60px 0;
}
.advantages-banner {
    /* Исправленный путь */
    background: url("../media/advantages_back.svg") center/cover no-repeat;
    min-height: 637px;
    padding: 40px;
    color: #f2f2f2;
    display: flex;
    align-items: center;
    border-radius: 12px;
}
.advantages-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #f2f2f2;
    margin-bottom: 60px;
}
.advantage-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 24px;
    line-height: 1.4;
    color: #f2f2f2;
    background: rgba(255, 255, 255, 0.04);
    padding: 15px 20px;
    border-radius: 12px;
    height: 100%;
    transition: background 0.3s;
}
.advantage-item:hover {
    background: rgba(255, 255, 255, 0.1);
}
.advantage-item img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 3. Values */
.values-section {
    min-height: 637px;
    padding: 60px 0;
    background: #ffffff;
    display: flex;
    align-items: center;
}
.values-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-dark, #071621);
    margin-bottom: 80px;
}
.values-text p {
    font-size: 24px;
    line-height: 1.6;
    color: var(--color-dark, #071621);
}
.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.value-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.value-item span {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-dark, #071621);
}

/* 4. What We Do */
.what-section {
    min-height: 637px;
    padding: 60px 0;
    background: #ffffff;
}
.what-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-dark, #071621);
    margin-bottom: 80px;
    text-align: left;
}
.what-item {
    text-align: center;
    margin-bottom: 40px;
}
.what-item img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 16px;
}
.what-item p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-dark, #071621);
}

/* 5. Why Choose Us */
.why-choose {
    padding: 60px 0;
}
.why-choose__title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-dark, #071621);
    margin-bottom: 80px;
    padding-left: 20px;
}
.why-choose__banner {
    /* Исправленный путь */
    background: url("../media/why_choose.svg") center/cover no-repeat;
    min-height: 638px;
    padding: 40px;
    display: flex;
    align-items: center;
    border-radius: 12px;
}
.why-choose__item {
    margin-bottom: 30px;
    text-align: center;
}
.why-choose__item h3 {
    font-size: 28px;
    font-weight: 700;
    color: #f2f2f2;
    margin-bottom: 8px;
}
.why-choose__item p {
    font-size: 22px;
    color: #f2f2f2;
}

/* ── Адаптив (≤ 992px): планшеты и мобилки ─────── */
@media (max-width: 991.98px) {
  /* Убираем фиксированные min-height — контент определяет высоту */
  .company-section, .advantages-section, .values-section,
  .what-section, .why-choose__banner, .advantages-banner {
    min-height: auto;
    padding: 40px 0;
  }
  .company-image {
    height: 250px;
    margin-top: 30px;
  }
  .why-choose__title {
    text-align: center;
    padding-left: 0;
    margin-bottom: 40px;
  }
  .what-item img { width: 140px; height: 140px; }
  .advantage-item { font-size: 18px; padding: 12px; }
  .advantage-item img { width: 50px; height: 50px; }
}

/* ── Мобилки (≤ 768px): компактнее ──────────────── */
@media (max-width: 767.98px) {
  .company-heading { font-size: 24px; }
  .company-text p { font-size: 16px; }
  .advantages-title { font-size: 22px; margin-bottom: 24px; }
  .values-title { font-size: 24px; margin-bottom: 32px; }
  .values-text p { font-size: 18px; }
  .what-title { font-size: 24px; margin-bottom: 32px; }
  .what-item p { font-size: 16px; }
  .why-choose__title { font-size: 24px; margin-bottom: 32px; }
  .why-choose__item h3 { font-size: 22px; }
  .why-choose__item p { font-size: 16px; }
  .value-item span { font-size: 18px; }
}

/* ── Телефоны (≤ 576px) ────────────────────────── */
@media (max-width: 575.98px) {
  .company-section, .advantages-section, .values-section,
  .what-section { padding: 24px 0; }
  .company-heading { font-size: 20px; }
  .advantages-banner, .why-choose__banner { padding: 20px; }
}