:root {
  --purple: #6f2477;
  --purple-dark: #3d1544;
  --beige: #f8f3ec;
  --ink: #171217;
  --white: #ffffff;
  --muted: #6e5f6c;
  --shadow: 0 18px 50px rgba(61, 21, 68, 0.16);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--beige);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  align-items: center;
  background: rgba(248, 243, 236, 0.9);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 14px clamp(18px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
}

.brand img {
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(61, 21, 68, 0.12);
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  justify-content: center;
}

.main-nav a {
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle {
  background: transparent;
  border: 1px solid rgba(111, 36, 119, 0.22);
  border-radius: 999px;
  color: var(--purple-dark);
  cursor: pointer;
  display: none;
  font: inherit;
  font-weight: 700;
  padding: 10px 16px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.button-small {
  background: var(--purple);
  color: var(--white);
  min-height: 42px;
  padding: 10px 20px;
}

.button-primary {
  background: var(--purple);
  color: var(--white);
}

.button-secondary {
  background: var(--white);
  color: var(--purple-dark);
}

.button-outline {
  background: transparent;
  border: 1px solid rgba(111, 36, 119, 0.32);
  color: var(--purple-dark);
}

.hero {
  min-height: 94vh;
  padding: 96px clamp(14px, 4vw, 46px) 26px;
  position: relative;
}

.hero-carousel {
  background: #0b080c;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: calc(94vh - 122px);
  min-height: 540px;
  overflow: hidden;
  position: relative;
}

.hero-slide {
  background: #0b080c;
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 720ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.slide--hero-pet img {
  object-fit: contain;
  object-position: right center;
}

.hero-carousel::after {
  background: linear-gradient(90deg, rgba(11, 8, 12, 0.82), rgba(23, 18, 23, 0.46), rgba(11, 8, 12, 0.08));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  color: var(--white);
  left: clamp(32px, 7vw, 96px);
  max-width: 610px;
  position: absolute;
  top: 50%;
  transform: translateY(-42%);
  z-index: 3;
}

.hero-kicker {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 7vw, 90px);
  line-height: 0.94;
  margin: 0 0 20px;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  margin: 0 0 30px;
  max-width: 520px;
}

.carousel-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 999px;
  color: var(--purple-dark);
  cursor: pointer;
  display: flex;
  font-size: 40px;
  height: 52px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  z-index: 4;
}

.carousel-arrow-prev {
  left: 20px;
}

.carousel-arrow-next {
  right: 20px;
}

.carousel-dots {
  bottom: 24px;
  display: flex;
  gap: 10px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 4;
}

.carousel-dots button {
  background: rgba(255, 255, 255, 0.56);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 10px;
  padding: 0;
  width: 10px;
}

.carousel-dots button.is-active {
  background: var(--white);
  width: 28px;
}

.quick-cta,
.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 64px clamp(18px, 4vw, 32px);
}

.quick-cta {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.quick-cta span,
.section-heading span,
.about-card span {
  color: var(--purple);
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.quick-cta h2,
.section-heading h2,
.about-card h2 {
  color: var(--purple-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  margin: 0;
}

.section-heading {
  margin-bottom: 26px;
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.about-card,
.contact-grid article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(111, 36, 119, 0.12);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(61, 21, 68, 0.08);
  padding: 24px;
}

.service-card h3,
.contact-grid strong {
  color: var(--purple-dark);
  display: block;
  font-size: 20px;
  margin: 0 0 8px;
}

.service-card p,
.about-card p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.about-card {
  margin: 0 auto;
  max-width: 850px;
  text-align: center;
}

.about-card p {
  font-size: 18px;
  margin-top: 18px;
}

.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.site-footer {
  color: var(--muted);
  padding: 28px 18px 40px;
  text-align: center;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto auto;
    padding: 12px 16px;
  }

  .main-nav {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    left: 16px;
    padding: 18px;
    position: absolute;
    right: 16px;
    top: 78px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    justify-content: center;
  }

  .button-small {
    min-height: 40px;
    padding: 10px 16px;
  }

  .hero {
    min-height: 88vh;
    padding: 88px 12px 18px;
  }

  .hero-carousel {
    height: calc(88vh - 106px);
    min-height: 520px;
  }

  .hero-carousel::after {
    background: linear-gradient(180deg, rgba(11, 8, 12, 0.16), rgba(23, 18, 23, 0.36), rgba(11, 8, 12, 0.84));
  }

  .slide--hero-pet img {
    object-position: center;
  }

  .hero-content {
    left: 24px;
    max-width: calc(100% - 48px);
    right: 24px;
    text-align: center;
    top: 66%;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .carousel-arrow {
    height: 44px;
    width: 44px;
  }

  .quick-cta,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand img {
    height: 50px;
    width: 50px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-kicker {
    font-size: 25px;
  }
}
