:root {
  color-scheme: light;
  --pv-ink: #101828;
  --pv-muted: #556070;
  --pv-navy: #123756;
  --pv-navy-deep: #0b2439;
  --pv-orange: #e96f32;
  --pv-orange-deep: #c95824;
  --pv-blue: #245071;
  --pv-radius: 8px;
  --pv-shadow: 0 16px 42px rgba(16, 24, 40, .09);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(233, 111, 50, .12), transparent 32rem),
    linear-gradient(180deg, #fbfcff 0%, #f5f7fb 48%, #ffffff 100%);
  color: var(--pv-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .32);
  outline-offset: 3px;
}

.site-header {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(16, 24, 40, .08);
  box-shadow: 0 10px 30px rgba(16, 24, 40, .05);
}

.site-header nav {
  min-height: 72px;
}

.site-logo-img {
  display: block;
  width: clamp(150px, 18vw, 210px);
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.footer-logo-img {
  display: block;
  width: min(190px, 80vw);
  height: auto;
  filter: brightness(0) invert(1);
}

.nav-dropdown-menu {
  border-radius: var(--pv-radius);
  border-color: rgba(16, 24, 40, .11);
  box-shadow: var(--pv-shadow);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a,
#mobile-menu a,
.filter-btn,
.btn-generate,
.calc-input,
.name-card,
.result-card,
.feed-table,
[class*="rounded-2xl"],
[class*="rounded-3xl"],
[class*="rounded-xl"] {
  border-radius: var(--pv-radius) !important;
}

.page-hero {
  min-height: clamp(360px, 48vw, 560px);
  display: grid;
  place-items: center;
  background:
    linear-gradient(118deg, rgba(11, 36, 57, .96) 0%, rgba(18, 55, 86, .9) 46%, rgba(233, 111, 50, .26) 100%),
    url("/images/petverze-hero.png") center/cover no-repeat,
    linear-gradient(135deg, var(--pv-navy-deep), var(--pv-orange));
  padding: clamp(4.5rem, 9vw, 7rem) 1rem;
}

.page-hero:before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent);
}

.page-hero:after {
  width: min(720px, 82vw);
  height: 180px;
  background: linear-gradient(90deg, rgba(18, 55, 86, .45), rgba(233, 111, 50, .34), rgba(255, 180, 96, .18));
  filter: blur(70px);
}

.page-hero h1 {
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-tools-block {
  display: grid;
  justify-items: center;
  gap: .8rem;
}

.hero-tools-title {
  color: #ffffff;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-tools-note {
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, .82) !important;
  font-size: .9rem;
  font-weight: 600;
}

.hero-tool-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: .4rem;
}

.hero-tool-arrows span {
  width: 16px;
  height: 16px;
  border-right: 3px solid var(--pv-orange);
  border-bottom: 3px solid var(--pv-orange);
  transform: rotate(45deg);
}

.hero-tools-block a {
  width: 190px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero p,
section p,
main p,
dd,
li {
  color: var(--pv-muted);
}

.page-hero p {
  color: rgba(236, 253, 245, .92);
}

.section-label {
  border-radius: 999px !important;
  color: var(--pv-navy);
  background: #fff4ed;
  border-color: rgba(233, 111, 50, .26);
}

.page-hero .section-label {
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .28);
}

main > .bg-white,
section .bg-white,
section .bg-slate-50,
main .bg-gray-50,
main .bg-green-50,
.name-card {
  border: 1px solid rgba(16, 24, 40, .09) !important;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06) !important;
}

main > .bg-white,
section .bg-white,
section .bg-slate-50 {
  background: rgba(255, 255, 255, .92) !important;
}

.group.bg-white:hover,
.name-card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 111, 50, .38) !important;
  box-shadow: 0 18px 48px rgba(16, 24, 40, .12) !important;
}

.filter-btn {
  border-color: rgba(16, 24, 40, .12);
  background: #ffffff;
  color: var(--pv-muted);
}

.filter-btn.active,
.btn-generate {
  background: linear-gradient(135deg, var(--pv-navy), var(--pv-orange));
  box-shadow: 0 12px 28px rgba(233, 111, 50, .24);
}

.btn-generate:hover {
  box-shadow: 0 16px 34px rgba(233, 111, 50, .3);
}

.calc-input {
  border-color: rgba(16, 24, 40, .14);
  background: #fff;
}

.calc-input:focus {
  border-color: var(--pv-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.name-card.saved,
.result-card {
  background: linear-gradient(135deg, #fff4ed, #eff6ff) !important;
  border-color: rgba(233, 111, 50, .38) !important;
}

.result-human-age {
  color: var(--pv-orange-deep);
  letter-spacing: 0;
}

.feed-table th {
  background: var(--pv-navy-deep);
}

.feed-table th:first-child,
.feed-table th:last-child {
  border-radius: 0 !important;
}

.feed-table td {
  color: var(--pv-muted);
}

footer {
  background: linear-gradient(135deg, #081927 0%, var(--pv-navy-deep) 54%, #3a1f12 100%) !important;
}

.\!text-green-600,
.text-emerald-300,
.text-emerald-400,
.text-emerald-600,
.text-emerald-700,
.text-emerald-800,
.text-green-500,
.text-green-700,
.text-green-800 {
  color: var(--pv-orange) !important;
}

.hover\:text-emerald-600:hover,
.group:hover .group-hover\:text-emerald-700 {
  color: var(--pv-orange-deep) !important;
}

.bg-emerald-500\/20,
.bg-emerald-950,
.bg-green-50,
.bg-green-100 {
  background-color: rgba(233, 111, 50, .12) !important;
}

.border-emerald-400\/30,
.border-emerald-900,
.border-green-200,
.border-green-300,
.border-green-500 {
  border-color: rgba(233, 111, 50, .35) !important;
}

.page-hero a.bg-white {
  color: var(--pv-navy) !important;
}

.page-hero a.bg-emerald-500\/20 {
  background: rgba(233, 111, 50, .28) !important;
  border-color: rgba(255, 255, 255, .28) !important;
  color: #ffffff !important;
}

.trusted-picks-page {
  color: var(--pv-ink);
}

.tp-intro {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.tp-intro h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--pv-navy);
}

.tp-intro p {
  margin-top: .45rem;
  color: var(--pv-muted);
}

.tp-pet-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin: 0 auto 2.5rem;
}

.tp-pet-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 46px;
  padding: .75rem 1.05rem;
  border: 2px solid rgba(18, 55, 86, .14);
  border-radius: var(--pv-radius);
  background: #fff;
  color: var(--pv-muted);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .05);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.tp-pet-tab:hover,
.tp-pet-tab:focus-visible,
.tp-pet-tab.tp-active {
  border-color: rgba(233, 111, 50, .55);
  color: var(--pv-orange-deep);
  transform: translateY(-1px);
}

.tp-pet-tab.tp-active {
  background: #fff4ed;
  box-shadow: 0 12px 28px rgba(233, 111, 50, .14);
}

.tp-pet-section.tp-is-hidden {
  display: none;
}

.tp-pet-section {
  scroll-margin-top: 96px;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(16, 24, 40, .08);
}

.tp-pet-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.tp-pet-heading > span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--pv-radius);
  background: #fff4ed;
  font-size: 1.7rem;
}

.tp-pet-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  font-weight: 850;
  color: var(--pv-navy);
  letter-spacing: 0;
}

.tp-pet-heading p {
  margin-top: .25rem;
  color: var(--pv-muted);
}

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

.tp-tier {
  min-width: 0;
}

.tp-tier-heading {
  margin-bottom: 1rem;
  text-align: center;
}

.tp-tier-heading h3 {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--pv-ink);
}

.tp-tier-heading span {
  display: inline-block;
  margin-top: .2rem;
  color: var(--pv-orange);
  font-size: .9rem;
  font-weight: 900;
}

.tp-card-stack {
  display: grid;
  gap: 1rem;
}

.tp-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(233, 111, 50, .24);
  border-radius: var(--pv-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.tp-card-media {
  display: block;
  margin-bottom: .9rem;
  border-radius: var(--pv-radius);
  background: #f8fafc;
  overflow: hidden;
}

.tp-card-media img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  padding: .35rem;
  background: #fff;
}

.tp-no-photo {
  height: 160px;
  display: grid;
  place-items: center;
  gap: .35rem;
  border: 2px dashed #d8e0eb;
  color: #94a3b8;
  text-align: center;
}

.tp-no-photo span {
  font-size: 1.8rem;
}

.tp-no-photo small {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tp-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .45rem;
}

.tp-brand {
  color: var(--pv-ink) !important;
  font-size: .9rem;
  font-weight: 850;
}

.tp-card h4 {
  color: var(--pv-muted);
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.35;
}

.tp-tag {
  align-self: flex-start;
  padding: .22rem .48rem;
  border-radius: 6px;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tp-tag-blue { background: #eff6ff; color: #1d4ed8; }
.tp-tag-green { background: #ecfdf5; color: #047857; }
.tp-tag-amber { background: #fffbeb; color: #b45309; }
.tp-tag-purple { background: #f5f3ff; color: #6d28d9; }
.tp-tag-orange { background: #fff4ed; color: var(--pv-orange-deep); }
.tp-tag-rose { background: #fff1f2; color: #be123c; }
.tp-tag-neutral { background: #f1f5f9; color: #475569; }

.tp-desc {
  flex: 1;
  color: var(--pv-muted) !important;
  font-size: .82rem;
}

.tp-price-label {
  color: #8b97a8 !important;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tp-price {
  color: var(--pv-ink) !important;
  font-size: .92rem;
  font-weight: 850;
}

.tp-card-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: .25rem;
  color: var(--pv-orange-deep);
  font-size: .9rem;
  font-weight: 850;
}

.tp-card-muted {
  color: #94a3b8;
  font-size: .85rem;
  font-style: italic;
}

.tp-disclaimer {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(233, 111, 50, .26);
  border-radius: var(--pv-radius);
  background: #fff7ed;
}

.tp-disclaimer h2 {
  color: var(--pv-navy);
  font-size: 1rem;
  font-weight: 850;
}

.tp-disclaimer p {
  margin-top: .45rem;
  color: #7c4a2e;
  font-size: .86rem;
}

@media (max-width: 900px) {
  .tp-tier-grid {
    grid-template-columns: 1fr;
  }

  .tp-pet-heading {
    align-items: flex-start;
  }
}

#toast {
  border-radius: var(--pv-radius);
}

@media (max-width: 640px) {
  .site-logo-img {
    width: 148px;
    max-height: 38px;
  }

  .page-hero {
    min-height: 340px;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 13vw, 3rem);
  }

  .hero-tools-block a {
    width: min(100%, 210px);
  }

  main,
  section {
    overflow-wrap: anywhere;
  }
}
