:root {
  --ink: #1a1730;
  --muted: #66637a;
  --paper: #f8f6f1;
  --paper-soft: #eeebe3;
  --purple: #4c148f;
  --purple-dark: #251052;
  --green: #6ea883;
  --mint: #dceee4;
  --amber: #e7b453;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.74);
  --stroke: rgba(255, 255, 255, 0.68);
  --shadow: 0 24px 80px rgba(31, 19, 55, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(76, 20, 143, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(110, 168, 131, 0.11) 0 1px, transparent 1px 100%),
    linear-gradient(130deg, #fbfaf6 0%, #f1eee6 42%, #e8f0e9 100%);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--purple-dark);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.topbar,
.hero-card,
.petlove-panel,
.floating-contact {
  border: 1px solid var(--stroke);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.topbar,
.floating-contact {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(31, 19, 55, 0.08);
  -webkit-backdrop-filter: blur(7px) saturate(106%);
  backdrop-filter: blur(7px) saturate(106%);
}

.topbar {
  position: fixed;
  top: 1rem;
  left: max(1rem, calc((100vw - 1180px) / 2));
  right: max(1rem, calc((100vw - 1180px) / 2));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.7rem 0.85rem;
  border-radius: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
}

.brand-mark img {
  width: 34px;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--purple);
  font-size: 0.95rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(76, 20, 143, 0.1);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
}

.menu-toggle span[aria-hidden="true"],
.menu-toggle span[aria-hidden="true"]::before,
.menu-toggle span[aria-hidden="true"]::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span[aria-hidden="true"]::before {
  transform: translateY(-6px);
}

.menu-toggle span[aria-hidden="true"]::after {
  transform: translateY(4px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: 100svh;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8.5rem, 12vw, 11rem) 1.2rem 4rem;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 6.3vw, 5.25rem);
  line-height: 0.96;
}

h2 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 680px;
  color: #403b57;
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
}

.hero-actions,
.petlove-actions,
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
}

.button.primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(76, 20, 143, 0.24);
}

.button.secondary {
  border: 1px solid rgba(76, 20, 143, 0.2);
  background: rgba(255, 255, 255, 0.52);
  color: var(--purple-dark);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 640px;
  margin: 2rem 0 0;
}

.quick-facts div,
.info-card,
.service-grid article {
  border: 1px solid rgba(76, 20, 143, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  padding: 1rem;
}

.quick-facts dt,
.info-card span,
.hero-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0.2rem 0 0;
  color: var(--purple-dark);
  font-size: 1.15rem;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.phone-frame {
  width: min(100%, 360px);
  border-radius: 42px;
  padding: 0.35rem;
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  border-radius: 36px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: 0;
  bottom: 9%;
  width: min(210px, 50vw);
  border-radius: 24px;
  padding: 1rem;
}

.hero-card strong,
.info-card strong {
  display: block;
  color: var(--purple-dark);
  font-size: 2rem;
  line-height: 1;
}

.hero-card small,
.info-card small {
  color: var(--muted);
}

.band {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 1.2rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading p {
  grid-column: 1 / -1;
}

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

.service-grid article span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--purple);
  font-weight: 900;
}

.service-grid p,
.petlove-panel p,
.footer p {
  color: var(--muted);
}

.petlove-band {
  max-width: none;
  padding-inline: 1.2rem;
}

.petlove-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.gallery figure:nth-child(2) {
  margin-top: 5rem;
}

.gallery img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.gallery figcaption {
  padding: 1rem;
  color: var(--purple-dark);
  font-weight: 900;
}

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

.info-card {
  min-height: 156px;
}

.info-card strong {
  margin: 0.7rem 0 0.35rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.2rem 6rem;
  border-top: 1px solid rgba(76, 20, 143, 0.14);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.footer a {
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
}

.floating-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  border-radius: 999px;
}

.floating-contact a {
  display: block;
  color: var(--purple-dark);
  font-weight: 900;
  padding: 0.9rem 1.15rem;
  text-decoration: none;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 6rem 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--stroke);
    border-radius: 24px;
    background: var(--white);
    padding: 0.75rem;
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 8rem;
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: min(74vw, 310px);
  }

  .quick-facts,
  .service-grid,
  .info-grid,
  .petlove-panel,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .petlove-actions {
    margin-top: 0;
  }

  .footer {
    flex-direction: column;
  }

  .footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 64px;
    border-radius: 22px;
  }

  .brand small {
    display: none;
  }

  .hero-section {
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(2.7rem, 17vw, 4.6rem);
  }

  .hero-actions,
  .map-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    right: 0.25rem;
    bottom: 0.5rem;
    width: 160px;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure:nth-child(2) {
    margin-top: 0;
  }

  .gallery img {
    min-height: 320px;
  }

  .floating-contact {
    left: 1rem;
    right: 1rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
