@charset "UTF-8";
@font-face {
  font-family: "DelaGothicOne";
  src: url("/fonts/DelaGothicOne/DelaGothicOne-Regular.ttf") format("truetype");
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  font-family: "DelaGothicOne", sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: normal;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

p {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.wrapper {
  max-width: 1200px;
  width: calc(100% - 80px);
  margin-left: auto;
  margin-right: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo img {
  height: 80px;
  display: block;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

section {
  margin: 0 0 60px;
}

nav ul {
  display: flex;
  flex-direction: row;
  row-gap: 10px;
  -moz-column-gap: 32px;
       column-gap: 32px;
}
nav ul li a {
  color: #135C41;
  display: block;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.banner-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4/2;
}
.banner-main > img {
  width: 100%;
  height: 100%;
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}
.banner-main h1 {
  font-size: 70px;
  font-weight: 400;
}
.banner-main .wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
  height: 100%;
  color: white;
}
.banner-main .title {
  font-size: 22px;
}

.stats {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 40px 20px;
  font-family: "Comic Sans MS", cursive, sans-serif;
}
.stats h2 {
  font-size: 2em;
  margin: 0;
}
.stats .stat p {
  margin-top: 10px;
}

.about {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.about > * {
  flex: 1;
}
.about h2 {
  font-size: 2em;
  margin-bottom: 20px;
}
.about .image-block img {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  color: #144c3c;
  border: 1px solid #144c3c;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #144c3c;
  color: #fff;
}

.pets-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
  justify-content: center;
}
.pets-container .pet-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease;
  flex: 1 1 calc(25% - 15px);
}
@media (max-width: 1200px) {
  .pets-container .pet-card {
    flex: 1 1 calc(33.333% - 20px);
    /* 3 колонки */
  }
}
@media (max-width: 900px) {
  .pets-container .pet-card {
    flex: 1 1 calc(50% - 20px);
    /* 2 колонки */
  }
}
@media (max-width: 600px) {
  .pets-container .pet-card {
    flex: 1 1 100%;
    /* 1 колонка */
    max-width: 100%;
  }
}
.pets-container .pet-card:hover {
  transform: translateY(-5px);
}
.pets-container .pet-card .pet-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}
.pets-container .pet-card .pet-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Адаптация для разных экранов */
@media (max-width: 1200px) {
  .pet-card {
    flex: 1 1 calc(33.333% - 20px);
    /* 3 колонки */
  }
}
@media (max-width: 900px) {
  .pet-card {
    flex: 1 1 calc(50% - 20px);
    /* 2 колонки */
  }
}
@media (max-width: 600px) {
  .pet-card {
    flex: 1 1 100%;
    /* 1 колонка */
    max-width: 100%;
  }
}
.image-block {
  position: relative;
  aspect-ratio: 3/2;
}
.image-block img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.image-block.ar3-2 {
  aspect-ratio: 3/2;
}
.image-block.ar1-1 {
  aspect-ratio: 1/1;
}

.help-section .help-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.help-section .help-grid .help-card {
  background-color: #f1f6e9;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 20px);
  gap: 20px;
  color: #135C41;
}
@media (max-width: 900px) {
  .help-section .help-grid .help-card {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 600px) {
  .help-section .help-grid .help-card {
    flex: 1 1 100%;
  }
}
.help-section .help-grid .help-card .icon {
  color: #135C41;
}

footer {
  background-color: #f1f6e9;
  color: #135C41;
  padding: 60px 0;
}
footer .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .footer .logo img {
  height: 140px;
  display: block;
}
footer .footer nav {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 30px;
  justify-content: space-between;
}
footer .footer nav p {
  text-align: right;
}

.bread {
  margin: 60px 0 40px;
  display: flex;
  gap: 10px;
  font-size: 16px;
}

.catalog {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.catalog .img {
  position: relative;
}
.catalog .img img {
  width: 100%;
}

.blocks {
  display: grid;
  /* Автоподстройка с минимальной шириной 250px */
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.block {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.block-img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}

.block-content {
  padding: 20px;
}

.block-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.block-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.inner {
  display: flex;
  gap: 30px;
}
.inner .img img {
  width: 100%;
}
.inner > div {
  flex-grow: 1;
  flex-basis: 0;
}