html,
body {
  height: auto;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #ffffff 0%, #e5ccfa 50%, #c2a3e8 100%);
  background-size: cover;
  background-attachment: fixed;
}










.hero-v2 {
  text-align: center;
  padding: 140px 20px 100px;
  position: relative;
}

.hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px; 
  margin: 0 auto;
}

.hero-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain; 
  border-radius: 8px;
}

.hero-tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #a384ec;
  background: rgba(163, 132, 236, 0.1);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-big {
  font-size: 48px;
  font-weight: 700;
  color: #3b2e5a;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 20px;
  color: #5f5f5f;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}



.white-divider-visible {
  display: block;
  flex-shrink: 0;
  width: 60%;
  height: 2px;
  background-color: white;
  margin: 0px auto;
}












.home-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 100px 60px 50px;
  max-width: 1200px;
  margin: auto;
}

.section-card {
  background: white;
  border-radius: 32px;
  padding: 40px 30px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
  width: 285px;
}

.section-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.section-number {
  font-size: 40px;
  font-weight: 700;
  color: #a384ec;
  opacity: 0.2;
  position: absolute;
  top: 20px;
  right: 30px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #3b2e5a;
}

.section-arrow {
  margin-top: auto;
  font-size: 32px;
  color: #a384ec;
  align-self: flex-end;
  transition: transform 0.3s ease;
}

.section-card:hover .section-arrow {
  transform: translateX(5px);
}







/* --- WHY US блок --- */
.why-strip {
  display: flex;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  margin: 50px auto;
  width: 90%;
  max-width: 1120px;
  text-align: left;
  align-items: stretch;
  flex-shrink: 0;
}

.why-block-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
  border-left: 1px solid #eee;
  transition: all 0.4s ease-in-out;
}

.why-block-link:hover {
  background-color: #f6f2ff;
  cursor: pointer;
}


.why-block {
  flex: 1;
  padding: 30px;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-block:first-child {
  border-left: none;
}




.why-title {
  font-size: 17px;
  font-weight: 600;
  color: #2c1c50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-title span {
  font-size: 13px;
  color: #888;
  font-weight: normal;
}

.arrow-icon {
  margin-left: auto;
  color: #000;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.arrow-icon:hover {
  transform: scale(1.15);
}

.why-block p {
  font-size: 15px;
  color: #444;
  margin-top: 10px;
  line-height: 1.5;
}














/* --- КЕННЕЛ блок --- */
.kennel-block {
  position: relative;
  max-width: 1000px;
  margin: 50px auto;
  padding: 60px 60px 50px;
  background: white;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
}

.kennel-title {
  font-size: 46px;
  color: #000000;
  position: relative;
  z-index: 2;
  text-align: right;
}

.kennel-text {
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  margin-top: 20px;
  position: relative;
  z-index: 2;
  text-align: right;
}

.kennel-bg {
  position: absolute;
  font-size: 81px;
  font-weight: 800;
  color: #f0eaff;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  width: 100%;
}

.paws-about-1 {
  position: absolute;
  left: 70px;
  bottom: 40px;
  opacity: 0.2;
  height: 80px;
  width: 80px;
  transform: rotate(19deg);
}





.more-button-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.more-button {
  background-color: rgba(232, 232, 232, 0.6);
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 50px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: width 0.3s ease, background-color 0.3s ease;
  width: 42px;
  text-decoration: none;
}

.more-button .more-text {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.more-button .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transform: rotate(315deg);
  transition: transform 0.3s ease;
  position: absolute;
  left: 25%;
}

.more-button:hover {
  width: 120px;
  background-color: rgba(232, 232, 232, 0.6);
  padding: 0 20px 0 12px;

}

.more-button:hover .more-text {
  opacity: 1;
  transform: translateX(0);
  margin-left: 28px;
}

.more-button:hover .icon {
  transform: rotate(360deg);
  left: 10px;
}











/* --- ОТЗЫВ --- */
.reviews-history-section {
  position: relative;
  background: white;
  border-radius: 30px;
  padding: 60px;
  margin: 50px auto;
  max-width: 1000px;
  box-shadow: 0 20px 60px rgba(150, 100, 200, 0.15);
  width: 1000px;
}


.reviews-history-section .history-side-label {
  letter-spacing: 0.1em;
}


.paws-rev-1 {
  position: absolute;
  right: 70px;
  bottom: 60px;
  opacity: 0.2;
  height: 80px;
  width: 80px;
  transform: rotate(235deg);
}









/* --- ИСТОРИЯ --- */
.breed-history-section {
  position: relative;
  background: white;
  border-radius: 30px;
  padding: 60px;
  margin: 50px auto;
  max-width: 1000px;
  box-shadow: 0 20px 60px rgba(150, 100, 200, 0.15);
}

.breed-history-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.history-side-label {
  position: absolute;
  top: 0;
  left: -60px;
  height: 100%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #b28bd424;
  font-weight: 700;
  font-size: 80px;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.history-title {
  font-size: 46px;
  font-weight: 800;
  color: #2a2a2a;
  margin-bottom: 30px;
  margin-left: 30px;
}

.history-content {
  min-height: 180px;
  margin-left: 30px;
  transition: opacity 0.3s ease;
}

.history-part {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

.history-part p {
  font-size: 18px;
}

.history-part.active {
  display: block;
  opacity: 1;
}

.history-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  width: 100%;
}

.history-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, #e0c7ff, #c09bff);
  color: #5e2f94;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(134, 72, 197, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.history-dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
  transform: skewX(-20deg);
  transition: left 0.4s ease;
}

.history-dot:hover::before {
  left: 100%;
}

.history-dot:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(134, 72, 197, 0.35);
}

.history-dot.active {
  background: linear-gradient(145deg, #a864f1, #8b3ce0);
  color: white;
  box-shadow: 0 0 12px rgba(170, 119, 255, 0.6);
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.paws-1 {
  position: absolute;
  right: 20px;
  bottom: 10px;
  opacity: 0.2;
  height: 80px;
  width: 80px;
  transform: rotate(343deg);
}






















.footer-block {
  background: #ffffffb1;
  border-radius: 40px;
  margin: 100px auto 20px;
  padding: 60px 90px;
  box-shadow: 0 0 1px 0 rgba(187, 177, 230, 0.15), 0 6px 12px 0 rgba(133, 120, 188, 0.15);
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  width: 86%;
  backdrop-filter: blur(14px);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 30px;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 200px;
}

.footer-center {
  flex: 2;
  min-width: 250px;
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
  color: #3b2e5a;
  margin-bottom: 10px;
}

.footer-made-by {
  font-size: 14px;
  color: #999;
}

.footer-made-by a {
  color: #a384ec;
  text-decoration: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  text-align: left;
  margin: 6px 0;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #a384ec;
}

.footer-contact {
  font-size: 15px;
  color: #555;
  margin: 6px 0;
  text-align: right;
}


.footer-right {
  flex-direction: column;
  display: flex;
  text-align: right;
  text-decoration: none;
  color: black;
  gap: 10px;
}

.footer-right a {
  text-decoration: none;
  color: black;
}





@media (max-width: 900px) {

  .home-sections {
    display: flex;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    gap: 20px;
    margin: unset;
  }

  .section-card {
    width: 100%;
    box-sizing: border-box;
  }

  .why-strip {
    display: flex;
    flex-direction: column;
  }

  .breed-history-section {
    margin: 50px 20px;
    padding: 60px 20px;
  }

  .history-title {
    margin: 0 0 0 30px;
  }

  .history-side-label {
    filter: blur(5px);
    left: -20px;
  }

  .paws-1 {
    filter: blur(5px);
  }


  .kennel-block {
    margin: 50px 20px;
    padding: 60px 40px;    
  }

  .kennel-bg {
    filter: blur(5px);
  }

  .reviews-history-section {
    width: unset;
    margin: 50px 20px;
    padding: 60px 40px;
  }

  .history-nav {
    z-index: 1;
  }


  .footer-container {
    justify-content: center;
  }

  .footer-block {
    width: unset;
    margin: 100px 20px 20px;
  }

  .footer-links li {
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }
}