:root {
  --site-cream: #fff8ef;
  --site-cream-2: #fff3e2;
  --site-purple: #7665e8;
  --site-purple-dark: #5145bf;
  --site-mint: #28c7b8;
  --site-teal: #0f9f96;
  --site-coral: #ff7a6e;
  --site-navy: #172033;
  --site-muted: #667085;
  --site-border: #eadfd4;
  --site-surface: #ffffff;
  --site-soft: #f7fbfa;
  --site-shadow: 0 22px 60px rgba(23, 32, 51, .10);
  --site-radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  color: var(--site-navy);
  background: var(--site-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

img {
  max-width: 100%;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #ffefe3;
  transition: opacity .45s ease, visibility .45s ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-video-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(76vw, 420px);
  background: transparent;
  filter: none;
  box-shadow: none;
}

.preloader-video {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  filter: none;
  box-shadow: none;
  object-fit: contain;
}

.site-navbar {
  min-height: 76px;
  background: rgba(255, 248, 239, .82);
  border-bottom: 1px solid rgba(234, 223, 212, .72);
  backdrop-filter: blur(18px);
  transition: box-shadow .22s ease, background .22s ease, min-height .22s ease;
}

.site-navbar.is-scrolled {
  min-height: 66px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(23, 32, 51, .08);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--site-navy);
  font-size: 21px;
  font-weight: 900;
}

.brand-paw {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--site-purple), var(--site-mint));
  box-shadow: 0 14px 28px rgba(118, 101, 232, .20);
}

.site-navbar .nav-link {
  color: #435067;
  font-size: 14px;
  font-weight: 750;
  padding: 10px 11px;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--site-purple-dark);
}

.location-nav-item {
  min-width: 268px;
}

.site-location-selector {
  display: grid;
  grid-template-columns: 20px minmax(98px, 1fr) minmax(92px, 1fr);
  gap: 6px;
  align-items: center;
  min-height: 42px;
  padding: 5px 7px;
  border: 1px solid rgba(234, 223, 212, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 24px rgba(23, 32, 51, .06);
}

.site-location-selector > i {
  color: var(--site-purple-dark);
  font-size: 16px;
  text-align: center;
}

.site-location-selector .form-select {
  min-height: 30px;
  padding-top: 3px;
  padding-bottom: 3px;
  border: 0;
  border-radius: 999px;
  color: var(--site-navy);
  background-color: transparent;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.site-location-selector .form-select:focus {
  box-shadow: 0 0 0 2px rgba(118, 101, 232, .18);
}

.btn-site-primary,
.btn-site-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 18px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(23, 32, 51, .10);
}

.btn-site-primary {
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--site-purple), var(--site-teal));
}

.btn-site-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-site-secondary {
  border: 1px solid var(--site-border);
  color: var(--site-navy);
  background: #fff;
}

.site-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 54px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 122, 110, .18), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(40, 199, 184, .20), transparent 32%),
    linear-gradient(180deg, #fff8ef 0%, #fff 100%);
}

.site-hero::after {
  content: "";
  position: absolute;
  right: 5vw;
  bottom: 28px;
  width: 120px;
  height: 120px;
  border-radius: 36px;
  background: rgba(118, 101, 232, .10);
  transform: rotate(16deg);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #dfd4ff;
  border-radius: 999px;
  color: var(--site-purple-dark);
  background: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 850;
}

.site-hero h1 {
  max-width: 780px;
  margin: 18px 0 18px;
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: .96;
  font-weight: 950;
}

.site-hero p {
  max-width: 680px;
  color: var(--site-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(234, 223, 212, .75);
  border-radius: 30px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(14px);
}

.pet-orbit-card,
.feature-card,
.market-card,
.vet-card,
.product-site-card,
.event-site-card,
.place-card,
.testimonial-card,
.tool-card {
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: 0 12px 32px rgba(23, 32, 51, .06);
}

.pet-orbit-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px;
}

.pet-orbit-card i,
.feature-icon,
.tool-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--site-purple), var(--site-mint));
  font-size: 23px;
}

.pet-orbit-card strong,
.feature-card h3,
.market-card h3,
.vet-card h3,
.product-site-card h3,
.event-site-card h3,
.place-card h3,
.tool-card h3 {
  margin: 0;
  color: var(--site-navy);
  font-size: 18px;
  font-weight: 900;
}

.pet-orbit-card p,
.feature-card p,
.market-card p,
.vet-card p,
.product-site-card p,
.event-site-card p,
.place-card p,
.tool-card p {
  margin: 6px 0 0;
  color: var(--site-muted);
  line-height: 1.58;
}

.section-pad {
  padding: 86px 0;
}

.section-soft {
  background: linear-gradient(180deg, #ffffff 0%, var(--site-soft) 100%);
}

.section-title {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 12px 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 950;
}

.section-title p {
  margin: 0;
  color: var(--site-muted);
  font-size: 18px;
  line-height: 1.62;
}

.feature-card,
.tool-card,
.market-card,
.vet-card,
.product-site-card,
.event-site-card,
.place-card,
.testimonial-card {
  height: 100%;
  padding: 22px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover,
.tool-card:hover,
.market-card:hover,
.vet-card:hover,
.product-site-card:hover,
.event-site-card:hover,
.place-card:hover {
  transform: translateY(-5px);
  border-color: #d7cdfc;
  box-shadow: var(--site-shadow);
}

.step-card {
  position: relative;
  padding: 24px;
  border-left: 4px solid var(--site-mint);
  border-radius: var(--site-radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 32, 51, .06);
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--site-purple);
  font-weight: 900;
}

.passport-panel {
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--site-navy), #2f2a6d);
  color: #fff;
  box-shadow: var(--site-shadow);
}

.passport-panel .row {
  min-height: 460px;
}

.passport-panel p,
.passport-panel li {
  color: rgba(255, 255, 255, .78);
}

.passport-preview {
  margin: 28px;
  padding: 24px;
  border-radius: 24px;
  color: var(--site-navy);
  background: rgba(255, 255, 255, .92);
}

.qr-box {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  color: var(--site-purple-dark);
  background: repeating-linear-gradient(45deg, #efeafe, #efeafe 8px, #fff 8px, #fff 16px);
  font-size: 32px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f2fbfa;
  color: var(--site-teal);
  font-size: 12px;
  font-weight: 850;
}

.visual-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(118, 101, 232, .12), rgba(40, 199, 184, .14)),
    #fff;
  color: var(--site-purple);
  font-size: 48px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  background: #fff;
}

.filter-bar .form-control {
  max-width: 320px;
  border-radius: 999px;
}

.filter-chip {
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: #fff;
  color: var(--site-muted);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  border-color: transparent;
  background: var(--site-purple);
}

.site-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.site-pagination a {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  color: var(--site-muted);
  background: #fff;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(23, 32, 51, .05);
}

.site-pagination a.active,
.site-pagination a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--site-purple);
}

.site-pagination a.disabled {
  color: #a5adba;
  pointer-events: none;
  opacity: .62;
}

.stats-band {
  padding: 34px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--site-shadow);
}

.stat-item strong {
  display: block;
  color: var(--site-purple-dark);
  font-size: 38px;
  font-weight: 950;
}

.stat-item span {
  color: var(--site-muted);
  font-weight: 800;
}

.cta-panel {
  padding: 44px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 122, 110, .35), transparent 32%),
    linear-gradient(135deg, var(--site-purple), var(--site-teal));
  box-shadow: var(--site-shadow);
}

.site-breadcrumb {
  padding-top: 96px;
  background: var(--site-cream);
}

.site-page-hero {
  padding: 58px 0 44px;
  background:
    radial-gradient(circle at 82% 20%, rgba(40, 199, 184, .16), transparent 28%),
    var(--site-cream);
}

.site-page-hero h1 {
  margin: 12px 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  font-weight: 950;
}

.site-page-hero p {
  max-width: 760px;
  color: var(--site-muted);
  font-size: 19px;
  line-height: 1.62;
}

.site-footer {
  padding: 68px 0 28px;
  color: rgba(255, 255, 255, .78);
  background: var(--site-navy);
}

.site-footer h2 {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.site-footer a {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.footer-brand {
  color: #fff;
}

.footer-copy {
  max-width: 360px;
  margin: 16px 0 0;
  line-height: 1.7;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-form .form-control {
  min-height: 46px;
  border-radius: 999px;
  border: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom a {
  display: inline;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--site-purple);
  box-shadow: var(--site-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-pet {
  animation: floatPet 4.5s ease-in-out infinite;
}

@keyframes floatPet {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1199.98px) {
  .site-navbar .navbar-collapse {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #fff;
  }

  .location-nav-item {
    width: 100%;
    min-width: 0;
    margin: 8px 0;
  }

  .site-location-selector {
    border-radius: 18px;
    grid-template-columns: 24px 1fr 1fr;
  }
}

@media (max-width: 991.98px) {
  .site-hero {
    padding-top: 108px;
  }

  .dashboard-grid,
  .newsletter-form,
  .footer-bottom {
    display: grid;
  }

  .stats-band {
    padding: 24px;
  }
}

@media (max-width: 575.98px) {
  .site-hero {
    padding: 84px 0 12px;
  }

  .site-hero h1 {
    font-size: 36px;
    line-height: 1.03;
  }

  .site-hero p {
    font-size: 17px;
  }

  .hero-visual .pet-orbit-card:nth-child(n+2) {
    display: none;
  }

  .hero-visual {
    gap: 0;
    padding: 10px;
    border-radius: 20px;
  }

  .pet-orbit-card {
    grid-template-columns: 44px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .pet-orbit-card i,
  .feature-icon,
  .tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 19px;
  }

  .pet-orbit-card p {
    display: none;
  }

  .hero-actions,
  .filter-bar {
    display: grid;
  }

  .btn-site-primary,
  .btn-site-secondary,
  .filter-bar .form-control,
  .newsletter-form .btn {
    width: 100%;
  }

  .section-pad {
    padding: 58px 0;
  }

  .cta-panel,
  .passport-preview {
    padding: 24px;
  }
}
