@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap');
/* Основные стили для hero-section */
.hero-section {
    display: flex;
    justify-content: space-between;
    padding: 80px 9%;
    background-color: #EFF8FF;
  }
  
  .sec1-right, .sec1-left {
    flex: 1;
    max-width: 50%;
  }
  
  .hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    color: #16100D;
    margin-top: 16px;
    margin-bottom: 20px;
    font-size: 66px;
  }
  
  .hero-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: #16100d82;
    margin-bottom: 40px;
  }
  
  .hero-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    max-width: 280px;
  }
  
  .hero-info {
    text-align: center;
    font-size: 16px;
    color: #16100D;

  }
  
  .hero-info b,
  .hero-info strong {
    display: block;
    font-weight: 600;
    color: #16100D;
    font-size: 28px;
    font-family: 'Syne', sans-serif;
  }

    .hero-info strong {
        margin-bottom: -15px;
    }
  
  .location-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-radius: 16px;
    margin-top: 70px;
    padding: 0 20px;
    max-width: 340px;
    padding-bottom: 20px;
  }
  
  .location-icon {
    width: 60px;
    height: 60px;
    margin: 20px 25px 0 0;
  }
  
  .location-text {
    font-size: 16px;
    font-weight: 500;
  }
  
  .location-text h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #16100D;
  }
  
  .location-text p {
    margin: 0;
    line-height: 1.5;
    color: #16100d81;
  }
  
  .search-image {
    width: 60px;
    height: 60px;
    margin: 20px 0 0 0;
    object-fit: cover;
  }
  
  /* Только маленькие смартфоны (до 575px) */
  /* Маленькие мобильные (до 575px) */
@media (max-width: 767px) {
  .hero-section {
      flex-direction: column;
      position: relative;
      padding: 30px 5% 120px; 
  }

  .hero-title {
    font-size: 36px;
    line-height: 0.8;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
  }

  .hero-subtitle {
      display: none;
  }

  .hero-info-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 40px 0 40px;
    margin-top: 20px;
    max-width: 100%;
    text-align: center; 
}

  .hero-info {
    text-align: center;
    font-size: 14px;
  }

  .hero-info b,
  .hero-info strong {
      font-size: 26px; 
      margin-bottom: 0;
      text-align: left;
  }

  .hero-info strong {
      margin-bottom: -15px;
  }

  .sec1-right {
      order: 1;
      max-width: 100%;
  }

  .sec1-left {
      order: 2;
      margin-top: 20px;
      max-width: 100%;
  }

  .sec1-image {
      width: 100%;
      max-width: 350px;
      margin: 0 0 60px 0;
  }

  .location-container {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      height: 87px;
      padding: 10px;
      border: 1.5px solid #025595;
      border-radius: 25px;
      background-color: #ffffff;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .search-image {
      margin: 0;
      padding: 0 20px 0 3px;
      width: 60px;
      height: 60px;
  }

  .location-icon {
      margin: 0;
      padding: 0 0 0 3px;
      width: 70px;
      height: 70px;
  }

  .location-text {
      font-size: 14px;
      text-align: left;
  }

  .location-text h3 {
      font-size: 16px;
      font-weight: 500;
      margin: 0;
      color: #16100D;
  }
}

/* Большие телефоны (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    padding: 40px 5% 100px;
    position: relative;
    background-color: #EFF8FF;
  }

.hero-title {
  font-size: 44px;
  line-height: 0.8;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
  width: 100%;
}

  .sec1-right {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #16100d82;
  }

  .hero-info-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px auto;
    max-width: 100%;
  }

  .hero-info {
    text-align: center;
    font-size: 16px;
  }

  .hero-info b,
  .hero-info strong {
    font-size: 28px;
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .sec1-left {
    order: 2;
    margin-top: 30px;
    width: 100%;
    text-align: center;
  }

  .sec1-image {
    max-width: 80%;
    height: auto;
  }

  .location-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    height: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border-radius: 16px;
    border: 1.5px solid #025595;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .location-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .search-image {
    width: 50px;
    height: 50px;
    margin-left: 15px;
  }

  .location-text {
    flex-grow: 1;
    text-align: left;
  }

  .location-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #16100D;
  }

  .location-text p {
    font-size: 14px;
    color: #16100d81;
    margin: 3px 0;
  }
}

/* Маленькие планшеты (768px - 991px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-section {
    display: flex;
    flex-direction: row;
    padding: 60px 5%;
    align-items: center;
    background-color: #EFF8FF;
  }

  .sec1-right {
    flex: 1;
    padding-right: 30px;
  }

  .sec1-left {
    flex: 1;
    text-align: center;
  }

  .hero-title {
    font-size: 50px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 600;
  }

  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    color: #16100d82;
  }

  .hero-info-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    max-width: 100%;
  }

  .hero-info {
    text-align: left;
    font-size: 16px;
  }

  .hero-info b,
  .hero-info strong {
    font-size: 28px;
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .hero-info strong {
    margin-bottom: -15px;
  }

  .sec1-image {
    max-width: 100%;
    height: auto;
  }

  .location-container {
    margin-top: 40px;
    max-width: 340px;
    padding: 0 20px 15px 20px;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 16px;
    border: 1.5px solid #025595;
  }

  .location-icon {
    width: 55px;
    height: 55px;
    margin-right: 15px;
  }

  .search-image {
    width: 55px;
    height: 55px;
    margin-left: 15px;
  }

  .location-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .location-text p {
    font-size: 15px;
    margin: 3px 0;
  }
}