@font-face {
  font-family: "Oswald Local";
  src: url("assets/oswald-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --lavender-dark: #9b70c3;
  --lavender: #aa86d0;
  --lavender-light: #c9aee2;
  --white: #fff;
  --page-gap: clamp(12px, 1.04vw, 20px);
  --cta-outset: clamp(38px, 4vh, 45px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #fbf9fd;
  color: var(--white);
  font-family: "Trebuchet MS", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--page-gap);
  padding-bottom: calc(var(--page-gap) + var(--cta-outset));
  overflow: visible;
}

.hero {
  isolation: isolate;
  position: relative;
  min-height: calc(100vh - var(--page-gap) - var(--page-gap) - var(--cta-outset));
  min-height: calc(100svh - var(--page-gap) - var(--page-gap) - var(--cta-outset));
  border-radius: clamp(30px, 2.6vw, 50px);
  background: #9f7ec6;
  overflow: visible;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 48px;
  padding: clamp(26px, 3.3vh, 38px) clamp(36px, 4.2vw, 80px) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(29px, 2vw, 38px);
  line-height: 1;
  letter-spacing: -0.5px;
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.82;
}

.brand__logo {
  display: block;
  width: clamp(210px, 13.5vw, 260px);
  height: auto;
  filter: brightness(0) invert(1);
}

.brand__sprig {
  position: relative;
  display: block;
  width: 28px;
  height: 48px;
  transform: rotate(18deg);
}

.brand__sprig::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 1px;
  width: 3px;
  height: 46px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(24deg);
  transform-origin: bottom;
}

.brand__sprig i {
  position: absolute;
  width: 12px;
  height: 7px;
  border-radius: 90% 10% 90% 10%;
  background: currentColor;
}

.brand__sprig i:nth-child(1) { left: 0; top: 31px; transform: rotate(25deg); }
.brand__sprig i:nth-child(2) { left: 13px; top: 23px; transform: rotate(-34deg); }
.brand__sprig i:nth-child(3) { left: 3px; top: 16px; transform: rotate(25deg); }
.brand__sprig i:nth-child(4) { left: 15px; top: 8px; transform: rotate(-34deg); }
.brand__sprig i:nth-child(5) { left: 8px; top: 0; transform: rotate(42deg); }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 5.5vw, 104px);
  font-size: clamp(18px, 1.25vw, 24px);
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.quick-contacts {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 24px;
}

.phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.phone-hours {
  font-size: clamp(11px, 0.72vw, 14px);
  line-height: 1;
  opacity: 0.88;
  white-space: nowrap;
}

.max-link {
  display: block;
  width: clamp(38px, 2.4vw, 46px);
  line-height: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.max-link img {
  display: block;
  width: 100%;
  height: auto;
}

.max-link:hover,
.max-link:focus-visible,
.phone-number:hover,
.phone-number:focus-visible,
.phone-mobile:hover,
.phone-mobile:focus-visible {
  opacity: 0.78;
  transform: translateY(-3px);
}

.phone-number {
  font-size: clamp(18px, 1.2vw, 23px);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease;
}

.phone-mobile {
  display: none;
  font: 700 32px/1 Arial, sans-serif;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero__copy {
  position: relative;
  z-index: 10;
}

.hero__title {
  display: flex;
  flex-direction: column;
  margin: clamp(34px, 4vh, 46px) clamp(48px, 4.7vw, 90px) 0;
  font-family: "Oswald Local", "Arial Narrow", sans-serif;
  font-size: clamp(82px, 7.4vw, 142px);
  font-stretch: condensed;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 0.88;
  text-transform: none;
}

.hero__title span:last-child {
  align-self: flex-end;
  margin-top: 0.22em;
}

.mobile-break {
  display: none;
}

.hero__lead,
.hero__hours {
  position: absolute;
  z-index: 11;
  margin: 0;
  font-size: clamp(17px, 1.3vw, 25px);
  line-height: 1.45;
}

.hero__lead {
  top: clamp(128px, 13vh, 144px);
  left: clamp(48px, 5vw, 96px);
}

.hero__hours {
  top: calc(100% + clamp(28px, 3vh, 42px));
  right: clamp(48px, 5vw, 96px);
}

.hero__hours span {
  display: block;
}

.hero__dogs {
  position: absolute;
  z-index: 6;
  bottom: -52px;
  left: 50%;
  width: clamp(1280px, 96vw, 1880px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.hero__video {
  display: block;
  bottom: 0;
  border: 0;
  outline: 0;
  background: #9f7ec6;
  object-fit: contain;
  object-position: center bottom;
  filter: brightness(0.985) saturate(0.985);
  backface-visibility: hidden;
  -webkit-mask-image: radial-gradient(
    ellipse 78% 105% at 50% 100%,
    #000 0%,
    #000 74%,
    rgba(0, 0, 0, 0.9) 84%,
    rgba(0, 0, 0, 0.35) 94%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 78% 105% at 50% 100%,
    #000 0%,
    #000 74%,
    rgba(0, 0, 0, 0.9) 84%,
    rgba(0, 0, 0, 0.35) 94%,
    transparent 100%
  );
}

.hero__cta {
  position: absolute;
  z-index: 30;
  bottom: calc(0px - var(--cta-outset));
  left: 50%;
  display: flex;
  min-width: clamp(390px, 27vw, 520px);
  min-height: clamp(76px, 8vh, 90px);
  align-items: center;
  justify-content: center;
  border: 6px solid #fbf9fd;
  border-radius: 999px;
  background: linear-gradient(135deg, #ad85d1, #bf9dde);
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.35) inset;
  font-size: clamp(23px, 1.65vw, 31px);
  font-weight: 600;
  transform: translateX(-50%);
  transition: filter 180ms ease, padding-bottom 180ms ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  filter: brightness(1.08);
  padding-bottom: 5px;
}

.anchor-marker {
  position: absolute;
  bottom: 0;
}

@media (min-width: 1025px) and (max-width: 2199px) {
  .hero {
    min-height: clamp(1020px, 108svh, 1180px);
  }

  .hero__lead {
    transform: none;
  }
}

@media (min-width: 2200px) {
  .page-shell {
    --page-gap: clamp(20px, 1.05vw, 40px);
    --cta-outset: clamp(50px, 3.5vh, 76px);
    padding: var(--page-gap);
    padding-bottom: calc(var(--page-gap) + var(--cta-outset));
  }

  .hero {
    min-height: clamp(1350px, 108svh, 2320px);
    border-radius: clamp(50px, 2.6vw, 90px);
  }

  .site-header {
    grid-template-columns: minmax(320px, 1fr) auto minmax(320px, 1fr);
    gap: clamp(56px, 4vw, 120px);
    padding: clamp(38px, 3.3vh, 76px) clamp(90px, 4.2vw, 170px) 0;
  }

  .brand__logo {
    width: clamp(300px, 13.5vw, 520px);
  }

  .main-nav {
    gap: clamp(80px, 5.5vw, 180px);
    font-size: clamp(26px, 1.25vw, 48px);
  }

  .quick-contacts {
    gap: clamp(28px, 1.8vw, 56px);
  }

  .max-link {
    width: clamp(52px, 2.4vw, 92px);
  }

  .phone-number {
    font-size: clamp(26px, 1.2vw, 46px);
  }

  .phone-hours {
    font-size: clamp(15px, 0.72vw, 28px);
  }

  .hero__title {
    margin: clamp(50px, 4vh, 86px) clamp(100px, 4.7vw, 180px) 0;
    font-size: clamp(152px, 7vw, 270px);
  }

  .hero__lead,
  .hero__hours {
    font-size: clamp(26px, 1.3vw, 50px);
  }

  .hero__lead {
    top: clamp(180px, 13vh, 280px);
    left: clamp(110px, 5vw, 192px);
    transform: none;
  }

  .hero__hours {
    top: calc(100% + clamp(34px, 3vh, 64px));
    right: clamp(110px, 5vw, 192px);
  }

  .hero__dogs {
    width: clamp(2100px, 92vw, 3500px);
  }

  .hero__cta {
    bottom: calc(0px - var(--cta-outset));
    min-width: clamp(650px, 27vw, 1040px);
    min-height: clamp(104px, 8vh, 180px);
    border-width: clamp(7px, 0.32vw, 12px);
    font-size: clamp(34px, 1.65vw, 64px);
  }
}

@media (max-width: 1390px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 28px;
  }

  .main-nav {
    gap: clamp(28px, 4vw, 60px);
  }

  .hero__dogs {
    width: clamp(1100px, 96vw, 1320px);
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: clamp(930px, 108svh, 1080px);
    border-radius: clamp(30px, 3.8vw, 40px);
  }

  .site-header {
    padding-inline: 34px;
  }

  .main-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero__title {
    margin: clamp(54px, 7vh, 72px) clamp(30px, 4.5vw, 46px) 0;
    font-size: clamp(68px, 8.4vw, 86px);
    line-height: 0.94;
  }

  .hero__title span:last-child {
    align-self: flex-start;
  }

  .hero__lead,
  .hero__hours {
    top: calc(100% + clamp(22px, 3vh, 32px));
    font-size: clamp(16px, 2vw, 20px);
  }

  .hero__lead {
    left: clamp(30px, 4.5vw, 46px);
  }

  .hero__hours {
    right: clamp(30px, 4.5vw, 46px);
  }

  .hero__video {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70%;
    border-radius: 0 0 clamp(30px, 3.8vw, 40px) clamp(30px, 3.8vw, 40px);
    object-fit: contain;
    object-position: center bottom;
    transform: none;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 5%,
      #000 11%,
      #000 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 5%,
      #000 11%,
      #000 100%
    );
  }
}

@media (max-width: 700px) {
  .page-shell {
    --page-gap: 8px;
    --cta-outset: 0px;
    padding: var(--page-gap);
    padding-bottom: calc(var(--page-gap) + var(--cta-outset));
  }

  .hero {
    min-height: calc(100svh - var(--page-gap) - var(--page-gap) - var(--cta-outset));
    border-radius: 28px;
  }

  .site-header {
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    padding: 24px 20px 0;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    gap: 7px;
    justify-self: center;
    font-size: 25px;
  }

  .brand__logo {
    width: 165px;
  }

  .brand__sprig {
    width: 20px;
    height: 35px;
    transform: scale(0.75) rotate(18deg);
    transform-origin: left center;
  }

  .quick-contacts {
    display: contents;
  }

  .max-link {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 36px;
  }

  .phone-number {
    display: none;
  }

  .phone-mobile {
    display: block;
    font-size: 31px;
  }

  .phone-block {
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-self: start;
  }

  .phone-hours {
    display: none;
  }

  .hero__title {
    align-items: center;
    margin: 58px 18px 0;
    font-size: clamp(40px, 11.4vw, 52px);
    line-height: 0.96;
    letter-spacing: -0.018em;
    text-align: center;
  }

  .hero__title span {
    max-width: none;
  }

  .hero__title span:last-child {
    align-self: center;
    margin-top: 0.2em;
    white-space: nowrap;
  }

  .mobile-break {
    display: inline;
  }

  .hero__lead,
  .hero__hours {
    left: 50%;
    right: auto;
    width: calc(100% - 36px);
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.35;
    text-align: center;
    text-shadow: 0 1px 8px rgba(83, 49, 111, 0.24);
    transform: translateX(-50%);
  }

  .hero__lead {
    top: calc(100% + 20px);
  }

  .hero__hours {
    top: calc(100% + 88px);
  }

  .hero__dogs {
    bottom: -95px;
    width: max(800px, 160vw);
  }

  .hero__video {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 39%;
    border-radius: 0 0 28px 28px;
    object-fit: cover;
    object-position: center bottom;
    transform: none;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 7%,
      #000 15%,
      #000 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 7%,
      #000 15%,
      #000 100%
    );
  }

  .hero__cta {
    top: 54%;
    bottom: auto;
    min-width: 0;
    width: calc(100% - 46px);
    min-height: 62px;
    border: 3px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    font-size: 19px;
    transform: translate(-50%, -50%);
  }
}

@media (max-height: 760px) and (min-width: 701px) {
  .hero__title {
    margin-top: 28px;
    font-size: clamp(70px, 6.7vw, 110px);
  }

  .hero__dogs {
    width: min(1320px, 96vw);
  }

  .hero__lead {
    top: clamp(112px, 16vh, 128px);
  }

  .hero__hours {
    top: calc(100% + 24px);
  }
}

/* Services section */
.services-section {
  position: relative;
  margin-top: clamp(90px, 9vw, 150px);
  padding: clamp(70px, 6vw, 120px) var(--page-gap) clamp(80px, 7vw, 130px);
  overflow: visible;
  background: #fbf9fd;
  color: #3d2d56;
}

.services-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "showcase intro"
    "showcase cards"
    "showcase booking";
  grid-template-columns: minmax(330px, 0.68fr) minmax(650px, 1.32fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(42px, 4vw, 82px);
  row-gap: 22px;
  width: min(100%, 2200px);
  margin: 0 auto;
}

.services-intro {
  grid-area: intro;
  max-width: 1120px;
  padding-bottom: clamp(42px, 4vw, 74px);
}

.services-intro__title {
  margin: 0;
  font-family: "Oswald Local", "Arial Narrow", sans-serif;
  font-size: clamp(42px, 3.3vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-transform: uppercase;
}

.services-intro__title > span {
  display: block;
  color: inherit;
  white-space: nowrap;
}

.services-intro__title em {
  color: #9f7ec6;
  font-style: normal;
}

.services-intro__subtitle {
  margin: 22px 0 0;
  color: #715e88;
  font-size: clamp(18px, 1.3vw, 25px);
  line-height: 1.35;
  white-space: nowrap;
}

.services-showcase {
  isolation: isolate;
  position: relative;
  grid-area: showcase;
  min-height: clamp(690px, 49vw, 900px);
  padding: clamp(205px, 15vw, 285px) 20px 0 clamp(24px, 3vw, 56px);
}

.services-paws {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.services-paw {
  position: absolute;
  display: block;
  width: 220px;
  aspect-ratio: 1;
  color: #eef1f3;
}

.services-paw i {
  position: absolute;
  display: block;
  background: currentColor;
}

.services-paw i:first-child {
  left: 27%;
  top: 38%;
  width: 54%;
  height: 50%;
  border-radius: 52% 48% 58% 42% / 48% 48% 52% 52%;
  transform: rotate(-8deg);
}

.services-paw i:nth-child(2) {
  left: 2%;
  top: 31%;
  width: 24%;
  height: 31%;
  border-radius: 55% 45% 52% 48%;
  transform: rotate(-38deg);
}

.services-paw i:nth-child(3) {
  left: 21%;
  top: 2%;
  width: 23%;
  height: 31%;
  border-radius: 55% 45% 52% 48%;
  transform: rotate(-18deg);
}

.services-paw i:nth-child(4) {
  left: 52%;
  top: 0;
  width: 22%;
  height: 30%;
  border-radius: 48% 52% 44% 56%;
  transform: rotate(15deg);
}

.services-paw i:nth-child(5) {
  right: 0;
  top: 26%;
  width: 22%;
  height: 30%;
  border-radius: 48% 52% 44% 56%;
  transform: rotate(34deg);
}

.services-paw--one {
  top: clamp(-48px, -2vw, -18px);
  left: clamp(-135px, -6vw, -72px);
  width: clamp(580px, 40vw, 760px);
  transform: translateX(calc(0px - var(--page-gap))) rotate(-17deg);
  transform-origin: center;
  animation: services-paw-float 6.5s ease-in-out -1.5s infinite;
  will-change: transform, opacity;
}

@keyframes services-paw-float {
  0%, 100% {
    opacity: 0.52;
    transform: translateX(calc(0px - var(--page-gap))) translateY(0) rotate(-17deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(calc(0px - var(--page-gap))) translateY(-26px) rotate(-11deg) scale(1.06);
  }
}

.services-showcase h3 {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: "Oswald Local", "Arial Narrow", sans-serif;
  font-size: clamp(38px, 3vw, 56px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.services-showcase__tags {
  position: relative;
  z-index: 4;
  height: 130px;
  margin-top: 42px;
}

.services-showcase__tags span {
  position: absolute;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: clamp(16px, 1.25vw, 23px);
  white-space: nowrap;
}

.services-showcase__tags span:first-child {
  top: 0;
  left: 0;
  min-width: clamp(220px, 15vw, 300px);
  padding: 0 30px;
  background: #ff9fa4;
  transform: rotate(-3deg);
}

.services-showcase__tags span:last-child {
  top: 56px;
  left: clamp(125px, 10vw, 190px);
  min-width: clamp(150px, 11vw, 210px);
  padding: 0 26px;
  background: #8d62b7;
  transform: rotate(8deg);
}

.services-showcase__cat {
  position: absolute;
  z-index: 2;
  right: clamp(-55px, -2vw, -20px);
  bottom: clamp(125px, 10.5vw, 225px);
  display: block;
  width: clamp(580px, 41vw, 810px);
  height: auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 7%, #000 17%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 7%, #000 17%, #000 100%);
  pointer-events: none;
  user-select: none;
}

.services-grid {
  grid-area: cards;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  grid-template-rows: repeat(3, minmax(245px, 1fr));
  gap: clamp(16px, 1.3vw, 24px);
  min-height: clamp(795px, 57vw, 1035px);
}

.service-card {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 1.5vw, 28px);
  background-repeat: no-repeat;
  color: #fff;
  box-shadow: 0 12px 35px rgba(79, 52, 103, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(79, 52, 103, 0.14);
}

.service-card__open {
  position: absolute;
  z-index: 4;
  inset: 0;
  border: 0;
  border-radius: inherit;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

.service-card__open::after {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(61, 45, 86, 0.44);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  content: "Подробнее ↗";
  backdrop-filter: blur(8px);
}

.service-card__open:focus-visible {
  box-shadow: inset 0 0 0 4px #ff9fa4;
}

.service-card--orthopedics .service-card__open::after,
.service-card--sterilization .service-card__open::after {
  border-color: rgba(61, 45, 86, 0.22);
  background: rgba(255, 255, 255, 0.82);
  color: #3d2d56;
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.service-card h3 {
  padding: clamp(18px, 1.6vw, 30px);
  font-size: clamp(20px, 1.45vw, 28px);
  font-weight: 600;
}

.service-card p {
  position: absolute;
  left: clamp(18px, 1.6vw, 30px);
  bottom: clamp(18px, 1.6vw, 30px);
  font-size: clamp(16px, 1.12vw, 22px);
  line-height: 1.3;
}

.service-card--therapy {
  background-color: #ff9fa4;
  background-image: url("assets/service-therapy-cutout.png");
  background-position: right bottom;
  background-size: auto 96%;
  background-repeat: no-repeat;
}

.service-card--neurology {
  background-color: #9f7ec6;
  background-image: url("assets/service-neurology.png");
  background-position: right center;
  background-size: auto 145%;
}

.service-card--cardiology {
  background-color: #9f7ec6;
  background-image: url("assets/service-cardiology.png");
  background-position: center;
  background-size: cover;
}

.service-card--orthopedics {
  background-color: #fbf9fd;
  background-image: url("assets/service-orthopedics.png");
  background-position: right center;
  background-size: auto 118%;
  color: #3d2d56;
}

.service-card--sterilization {
  grid-column: 2;
  grid-row: 3;
  background-color: #fff;
  background-image: url("assets/service-sterilization-cat.png");
  background-position: right center;
  background-size: auto 118%;
  color: #3d2d56;
}

.service-card--sterilization h3 {
  max-width: 58%;
  font-size: clamp(19px, 1.25vw, 26px);
  line-height: 1.12;
}

.service-card--cremation {
  grid-column: 1;
  grid-row: 3;
  background-color: #9f7ec6;
  background-image:
    linear-gradient(90deg, rgba(78, 52, 103, 0.6) 0%, rgba(78, 52, 103, 0.12) 62%, transparent 100%),
    url("assets/service-cremation-urn.png");
  background-position: center, right center;
  background-size: cover, cover;
}

.services-booking {
  grid-area: booking;
  display: flex;
  min-height: clamp(70px, 5.5vw, 96px);
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #9f7ec6;
  color: #fff;
  font-size: clamp(21px, 1.5vw, 29px);
  font-weight: 600;
  transition: filter 180ms ease, transform 180ms ease;
}

.services-booking:hover,
.services-booking:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

@media (min-width: 3000px) {
  .services-section__inner {
    width: min(100%, 3400px);
    column-gap: 130px;
  }

  .services-intro {
    max-width: 1700px;
    padding-bottom: 110px;
  }

  .services-intro__title {
    font-size: 112px;
  }

  .services-intro__subtitle {
    margin-top: 34px;
    font-size: 38px;
  }

  .services-showcase {
    min-height: 1320px;
    padding-top: 420px;
  }

  .services-showcase h3 {
    font-size: 82px;
  }

  .services-showcase__cat {
    bottom: 300px;
    width: 950px;
  }

  .services-grid {
    grid-template-columns: minmax(500px, 0.72fr) minmax(760px, 1.28fr);
    grid-template-rows: repeat(3, minmax(420px, 1fr));
    min-height: 1350px;
    gap: 34px;
  }

  .service-card h3 {
    padding: 42px;
    font-size: 42px;
  }

  .service-card p {
    left: 42px;
    bottom: 42px;
    font-size: 34px;
  }

  .services-booking {
    min-height: 138px;
    font-size: 42px;
  }
}

@media (max-width: 1200px) {
  .services-section__inner {
    grid-template-areas:
      "intro intro"
      "showcase cards"
      "showcase booking";
    grid-template-columns: minmax(285px, 0.62fr) minmax(0, 1.38fr);
    column-gap: 34px;
  }

  .services-intro {
    max-width: 940px;
    padding-left: clamp(20px, 5vw, 64px);
  }

  .services-showcase {
    min-height: 660px;
    padding-top: 30px;
  }

  .services-showcase__cat {
    right: -10px;
    bottom: 110px;
    width: clamp(380px, 48vw, 540px);
  }

  .services-grid {
    grid-template-columns: minmax(210px, 0.8fr) minmax(300px, 1.2fr);
    grid-template-rows: repeat(3, minmax(230px, 1fr));
    min-height: 750px;
  }
}

@media (max-width: 820px) {
  .services-section {
    margin-top: 72px;
    padding-top: 64px;
    overflow-x: clip;
  }

  .services-section__inner {
    grid-template-areas:
      "intro"
      "showcase"
      "cards"
      "booking";
    grid-template-columns: 1fr;
    row-gap: 24px;
    width: 100%;
    min-width: 0;
  }

  .services-intro,
  .services-showcase,
  .services-grid,
  .services-booking {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .services-intro {
    padding: 0 18px 28px;
  }

  .services-intro__title {
    font-size: clamp(34px, 6.7vw, 50px);
  }

  .services-intro__title > span {
    white-space: normal;
  }

  .services-showcase {
    min-height: 0;
    padding: 20px 22px 0;
  }

  .services-showcase h3 {
    font-size: 40px;
  }

  .services-showcase__tags {
    margin-top: 32px;
  }

  .services-showcase__cat {
    position: relative;
    right: auto;
    bottom: auto;
    width: clamp(540px, 108vw, 700px);
    margin: -62px auto 0;
    transform: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(220px, 1fr));
    min-height: 696px;
  }

  .service-card--sterilization,
  .service-card--cremation {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card h3 {
    padding: 18px;
    font-size: 20px;
  }

  .service-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-card p {
    left: 18px;
    bottom: 18px;
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .services-section {
    padding-inline: 8px;
    padding-bottom: 70px;
  }

  .services-intro {
    padding-inline: 12px;
  }

  .services-intro__title {
    font-size: clamp(29px, 9.2vw, 42px);
    line-height: 1.04;
  }

  .services-intro__subtitle {
    font-size: clamp(11px, 3.55vw, 17px);
  }

  .services-showcase {
    min-height: 0;
  }

  .services-showcase h3 {
    font-size: 36px;
  }

  .services-showcase__tags span:first-child {
    min-width: 205px;
  }

  .services-showcase__tags span:last-child {
    left: 118px;
  }

  .services-showcase__cat {
    width: min(480px, 112vw);
    margin-top: -82px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, minmax(230px, 64vw));
    min-height: 0;
  }

  .service-card--sterilization h3 {
    max-width: 64%;
  }

  .service-card {
    min-height: 230px;
  }

  .services-booking {
    min-height: 66px;
    font-size: 20px;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .services-paw--one {
    animation: none !important;
  }
}
