    .peterfood *,
    .peterfood *::before,
    .peterfood *::after {
      box-sizing: border-box;
    }

    div.peterfood{
	background: white;
	line-height: 1.3;
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	margin: 0 auto;
    }
    
    div.peterfood .container {
      width: min(100% - 2rem, 1280px);
      margin-inline: auto;
    }
    
    div.peterfood .hero {
      position: relative;
      isolation: isolate;
    }
    
    div.peterfood .hero__img {
      display: block;
      width: 100%;
      height: auto;
      background: #e6e6ea;
    }
    
   div.peterfood  header.herobig {display:none;}
   div.peterfood  header.herosmall {display:block;}
   div.peterfood .hero__overlay {
    inset: 0;
    display: flex;
    align-items: center;  
    flex-direction: column;
    justify-content: center;
    padding: 10px 20px;
    color: #111;
    min-height: 450px;
  }

  div.peterfood  .hero__logo img {
    margin-top:4px;  
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;  /* сохраняет пропорции, вписывая в контейнер */
  }
  div.peterfood .hero__logo {
    width: min(150px, 100%);
    min-height: 25px;
    margin-top: 10px;
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
 }
 div.peterfood  .hero__logo .logo {
   display: block;
   width: 100%;
   height:auto;
 }
div.peterfood  .hero__content {
  width: 100%;             
  max-width: 375px;
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;      
}
div.peterfood .hero__title {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
div.peterfood  .hero__year {
  font-weight: 450;
  font-size: 0.85em;
}

div.peterfood  .hero__subtitle {
  font-size: 20px;
  line-height: 1.2;
  color: #333;
  font-weight:500;
  margin-bottom: 20px;
}

div.peterfood  .hero__btn {
  display: inline-block;
  align-self: flex-start;
  background-color: #FFD43B;
  color: #111;
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 16px 16px;
  border-radius: 50px;
  margin-top: 4px;
  text-align:center;
  width:100%;
  transition: background-color 0.2s ease;
  margin-top: 25px;
}
}

div.peterfood  .hero__btn:hover {
  background-color: #f3c423;
}

@media (min-width: 750px) {
    div.peterfood  .hero__overlay {
	padding: 30px 60px;
    }

div.peterfood  .hero__logo {
  width: min(120px, 100%);
  display: block;
  align-self: flex-start;
  padding: 0;
  font-size: 30px;
  font-weight: 800;
  min-height: 25px;
  margin-top: 10px;
}
    
div.peterfood  .hero__title {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

div.peterfood  .hero__year {
  font-weight: 450;
  font-size: 0.85em;
}

div.peterfood  .hero__subtitle {
  font-size: 20px;
  line-height: 1.2;
  color: #333;
  margin-bottom: 20px;
}

div.peterfood  .hero__btn {
  display: inline-block;
  align-self: flex-start;
  background-color: #FFD43B;
  color: #111;
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  margin-top: 4px;
  padding: 16px 16px;
  width:100%;
  transition: background-color 0.2s ease;
  margin-top: 25px;
}
}
    
@media (min-width: 1125px) {
    div.peterfood  .hero__overlay {
	position:absolute;
	padding: 30px 60px;
	min-height: 100px;
    }

div.peterfood  .hero__logo {
  width: min(300px, 100%);
  display: block;
  align-self: flex-start;
  padding: 0;
  font-size: 30px;
  font-weight: 800;
  min-height: 25px;
  margin-top: 10px;
} 

div.peterfood  .hero__logo .logo {
  display: block;
  width: 70%;
  height: auto;
}

  div.peterfood .hero__title {
    font-size: 30px;
  }
  div.peterfood  .hero__subtitle {
    font-size: 24px;
  }
  div.peterfood  .hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;        
    font-size: 15px;
    padding: 16px 100px;
    margin-top: 10px;
    width:auto;
    font-weight:bold;
    }

    div.peterfood  header.herobig {display:block;}

    div.peterfood  header.herosmall {display:none;}

    div.peterfood  .hero__content {
    min-width:450px;  
    max-width: 45%;
    gap: 20px;	
    display: flex;
    flex-direction: column;
    gap: 6px; /* Расстояние между заголовком, текстом и кнопкой */
    justify-self: start;
    margin-right: auto;   
    }

    div.peterfood  div.logo__overlay {
     position:absolute;
     right:50px;
     top:50px;
     width: min(300px, 100%);
     min-height: 25px;
    }
    
}

@media (min-width: 1400px) {
    div.peterfood  .hero__overlay {
	position:absolute;
        padding: 40px 80px;
  }

div.peterfood  .hero__logo {
  width: min(350px, 100%);
  display: block;
  align-self: flex-start;
  padding: 0;
  min-height: 25px;
  margin-top: 10px;
} 

div.peterfood  .hero__logo .logo{
  display:block;
  width: 70%;
  height: auto;
  float: right;
}

div.peterfood  .hero__logo .logo img {
  text-align:right;
}

  div.peterfood  .hero__title {
    font-size: 34px;
  }
  div.peterfood  .hero__subtitle {
    font-size: 28px;
  }
  div.peterfood  .hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;        
    font-size: 20px;
    padding: 15px 120px;
    margin-top: 1px;
  }

    div.peterfood  header.herobig {display:block;}

    div.peterfood  header.herosmall {display:none;}

    div.peterfood .hero__content {
     min-width:450px;  
     max-width: 45%;
     gap: 20px;	
     display: flex;
     flex-direction: column;
     gap: 6px;
     justify-self: start;
     margin-right: auto;    
    }

    div.peterfood  div.logo__overlay {
     position:absolute;
     right:50px;
     top:50px;
     width: min(300px, 100%);
     min-height: 25px;
    }
}
