:root {
  --bg: #D6C4AE;
  --surface: #ffffff;
  --text: #152018;
  --muted: #49584b;
  --line: #dbe5d8;
  --brand: #2f6b43;
  --brand-soft: #e7f3e9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.5;
}

.wrap {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 20px;
}

.header {
  background-color: #D6C4AE;
  border-bottom: 1px solid var(--line);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-logo {
  height: 70px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.top-nav a {
  color: #1f5e36;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.top-nav a:hover {
  text-decoration: underline;
}

h1 {
  margin: 0 0 10px;
  line-height: 1.15;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
}

h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

.hero {
  margin-bottom: 20px;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.home-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.home-search input {
  width: 100%;
  border: 1px solid #bba98f;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fffdf9;
}

.home-search button {
  border: 1px solid #a48f72;
  border-radius: 10px;
  background: #f5eee3;
  padding: 0 14px;
  font-size: 1rem;
  cursor: pointer;
}

.home-hero-label {
  margin-top: 20px;
  font-weight: 700;
  text-align: center;
}

.pet-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.pet-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #1e4f30;
  border: 1px solid #b8c9b7;
  background: #f7fbf6;
  border-radius: 999px;
  min-width: 110px;
  height: 34px;
  padding: 0 12px;
  font-size: 0.92rem;
}

.pet-quick-links a:hover {
  background: #eef7ed;
}

.muted {
  color: var(--muted);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumbs a {
  color: #1f5e36;
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.panel {
  background: color-mix(in srgb, var(--surface) 94%, #e9f2e6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0 0;
}

.panel h2:first-child {
  margin-top: 0;
}

.panel h3 {
  margin: 14px 0 8px;
}

.grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(18, 36, 22, 0.06);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(18, 36, 22, 0.08);
  border-color: #c2d8bf;
}

.card-link {
  display: block;
  padding: 14px;
  color: var(--text);
  text-decoration: none;
}

.animal-thumb-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

.animal-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.animals-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 170px));
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.animal-tile {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.animal-name {
  color: var(--text);
  text-decoration: none;
  text-align: center;
}

.animal-name:hover {
  text-decoration: underline;
}

.card-meta {
  padding: 0 14px 14px;
  font-size: 0.92rem;
}

.part-safety-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
}

.part-safety-icon {
  display: block;
  width: 40px;
  height: auto;
}

.part-card-link {
  text-align: center;
}

.part-card .card-meta {
  display: flex;
  justify-content: center;
}

.parts-sections {
  margin-top: 16px;
}

.parts-list {
  display: grid;
  gap: 14px;
}

.part-section {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.part-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.part-section h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}

.part-section h3 a {
  color: #1f5e36;
  text-decoration: none;
}

.part-section h3 a:hover {
  text-decoration: underline;
}

.part-summary {
  margin: 8px 0 0;
}

.pet-safety-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}

.pet-safety-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.pet-safety-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pet-safety-avatar {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 999px;
}

.pet-safety-name {
  font-weight: 700;
  margin-bottom: 3px;
}

.pet-safety-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.pet-safety-readmore {
  display: inline-block;
  margin-top: 8px;
  color: #1f5e36;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
}

.pet-safety-readmore:hover {
  text-decoration: underline;
}

.foods-card {
  background: linear-gradient(165deg, #ffffff 0%, #f3f8f2 100%);
  border-color: #c7d8c5;
  box-shadow: 0 8px 20px rgba(18, 36, 22, 0.1);
}

.foods-card-link {
  text-align: center;
}

.foods-card-link strong {
  display: block;
}

.foods-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.foods-intro-ad {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px;
}

.pets-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.pets-intro-ad {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.about-ad {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px;
}

.foods-filter-bar {
  margin: 10px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.foods-controls {
  margin-left: auto;
  white-space: nowrap;
}

.foods-filter {
  margin: 0;
  flex: 1 1 auto;
}

.foods-filter input {
  width: 100%;
  max-width: 360px;
  border: 1px solid #b8c9b7;
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  background: #fffdf9;
}

@media (max-width: 640px) {
  .foods-intro-layout {
    grid-template-columns: 1fr;
  }

  .pets-intro-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .foods-filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .foods-controls {
    margin-left: 0;
    white-space: normal;
  }
}

.foods-safety-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.foods-safety-icon {
  width: 40px;
  height: auto;
  display: block;
}

.summary-text {
  margin-top: 6px;
}

.food-overview p {
  margin: 0 0 10px;
}

.food-overview p:last-child {
  margin-bottom: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 1px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
}

.pill.safe {
  background: #d1f0d7;
  border-color: #95c8a0;
  color: #1f5e36;
}

.pill.supplement {
  background: #d7f2ef;
  border-color: #88ccc3;
  color: #115b55;
}

.pill.treat,
.pill.caution {
  background: #ffeab8;
  border-color: #ddb86a;
  color: #6b4b0e;
}

.pill.avoid {
  background: #ffd2c4;
  border-color: #df8a72;
  color: #7a2f1f;
}

.pill.toxic,
.pill.emergency {
  background: #c62828;
  border-color: #8e1d1d;
  color: #ffffff;
}

.pill.unknown {
  background: #e8edec;
  border-color: #c6d0cd;
  color: #3f4c48;
}

.safety-list {
  display: grid;
  gap: 10px;
}

.safety {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 12px;
}

.safety strong {
  text-transform: capitalize;
}

.safety-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.safety-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.01em;
}

.safety-pill.safe {
  background: #d1f0d7;
  border-color: #95c8a0;
  color: #1f5e36;
}

.safety-pill.supplement {
  background: #d7f2ef;
  border-color: #88ccc3;
  color: #115b55;
}

.safety-pill.treat,
.safety-pill.caution {
  background: #ffeab8;
  border-color: #ddb86a;
  color: #6b4b0e;
}

.safety-pill.avoid {
  background: #ffd2c4;
  border-color: #df8a72;
  color: #7a2f1f;
}

.safety-pill.toxic,
.safety-pill.emergency {
  background: #c62828;
  border-color: #8e1d1d;
  color: #ffffff;
}

.safety p {
  margin: 6px 0 0;
}

.safety-meta {
  margin-top: 8px;
  font-size: 0.92rem;
}

.safety-meta p {
  margin: 4px 0;
}

.safety-meta ul {
  margin: 4px 0 0;
  padding-left: 18px;
}

.safety.safe {
  background: #e6f6e9;
  border-color: #b8dfbf;
}

.safety.supplement {
  background: #e9f8f6;
  border-color: #b3ddd8;
}

.safety.treat,
.safety.caution {
  background: #fff4d8;
  border-color: #ecd08d;
}

.safety.avoid {
  background: #ffe0d7;
  border-color: #e9a796;
}

.safety.toxic,
.safety.emergency {
  background: #ffd0cc;
  border-color: #e28a83;
}

.children-list {
  padding-left: 18px;
}

.children-list a {
  color: #1f5e36;
}

.simple-list {
  margin: 0;
  padding-left: 18px;
}

.simple-list li {
  margin: 4px 0;
}

.simple-list a {
  color: #1f5e36;
}

.sources-panel.simple-list {
  font-size: 0.88rem;
}

.confidence-pill {
  display: inline-flex;
  margin: 0;
  border-radius: 999px;
  border: 1px solid #c7d8c5;
  background: #eef5ed;
  padding: 4px 10px;
  text-transform: capitalize;
  font-weight: 700;
}

.rules-list {
  display: grid;
  gap: 10px;
}

.rule-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}

.rule-card h3 {
  margin: 0 0 6px;
  text-transform: capitalize;
  font-size: 1rem;
}

.rule-card ul {
  margin: 0;
  padding-left: 18px;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.table th,
.table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table thead th {
  background: #edf4eb;
  font-size: 0.92rem;
}

.table tr:last-child td {
  border-bottom: none;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  color: var(--muted);
  text-align: center;
  background: color-mix(in srgb, var(--surface) 92%, #eef4ec);
}

.footer-inner {
  padding-top: 16px;
  padding-bottom: 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 10px;
}

.footer-nav a {
  color: #1f5e36;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  margin: 0 auto;
  max-width: 72ch;
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-meta {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .wrap {
    padding: 14px;
  }

  .header .wrap {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .top-nav {
    justify-content: center;
  }

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

  .home-hero {
    min-height: 240px;
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}

.animal-summary {
  margin: 2px 0 0;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.35;
}

.pets-list {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.pet-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbf6 100%);
  border: 1px solid #c8d8c6;
  box-shadow: 0 8px 18px rgba(26, 45, 29, 0.12);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.pet-row:hover {
  transform: translateY(-3px);
  border-color: #9fc19c;
  box-shadow: 0 14px 26px rgba(26, 45, 29, 0.18);
}

.pet-row-image {
  display: block;
  text-align: center;
}

.pet-row-thumb {
  width: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.pet-row-body {
  min-width: 0;
  padding-right: 16px;
}

.pet-row-name {
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.pet-row-name:hover {
  text-decoration: underline;
}

.pet-row-summary {
  margin: 6px 0 0;
}

.pet-summary-hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 14px;
  margin-top: 8px;
}

.pet-summary-hero-image {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
}

.pet-summary-hero-copy p {
  margin: 0;
}

.pet-summary-hero-copy p + p {
  margin-top: 6px;
}

@media (max-width: 640px) {
  .pet-row {
    grid-template-columns: 1fr;
  }

  .pet-summary-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

:root{
  --bg: #fbfaf7;
  --card: #f2eadc;
  --card2: #f7f1e7;
  --text: #1c1c1c;
  --muted: #555;
  --accent: #2f7a4f;     /* matches your green nav */
  --accent2: #2f80ed;    /* optional blue accent */
  --border: rgba(0,0,0,.08);
  --shadow: 0 14px 35px rgba(0,0,0,.10);
}

.hero-card{
  max-width: 980px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);

  /* subtle pattern */
  background:
    radial-gradient(800px 260px at 10% 10%, rgba(47,122,79,.12), transparent 55%),
    radial-gradient(600px 260px at 90% 30%, rgba(47,128,237,.10), transparent 55%),
    linear-gradient(180deg, var(--card2), var(--card));
}

.hero-top{
  display: grid;
  grid-template-columns: 1.1fr .55fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy h1{
  margin: 0 0 8px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-subtitle{
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--muted);
}

.hero-search{
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-search input{
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.16);
  padding: 0 14px;
  font-size: 16px;
  background: rgba(255,255,255,.72);
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}

.hero-search input:focus{
  border-color: rgba(47,122,79,.55);
  box-shadow: 0 0 0 4px rgba(47,122,79,.18);
}

.hero-search button{
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.16);
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.65));
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.hero-search button:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.10);
}

.hero-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 6px 0 14px;
}

.chip-label{
  font-size: 13px;
  color: var(--muted);
  margin-right: 2px;
}

.chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(0,0,0,.10);
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
  background: rgba(255,255,255,.88);
}

.pet-row{
  margin-top: 6px;
}

.pet-row-label{
  font-weight: 600;
  font-size: 13px;
  color: #3a3a3a;
  margin-bottom: 8px;
}

.pet-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pet-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.62);
  text-decoration: none;
  color: var(--text);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.pet-btn img{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: block;
}

.pet-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0,0,0,.10);
}

.pet-btn.is-active{
  border-color: rgba(47,122,79,.55);
  box-shadow: 0 0 0 4px rgba(47,122,79,.14);
  background: rgba(255,255,255,.82);
}

.hero-micro{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.badge{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(0,0,0,.08);
}

/* optional right-side visual "sparkle" block */
.hero-art{
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background:
    radial-gradient(220px 220px at 30% 25%, rgba(47,128,237,.18), transparent 60%),
    radial-gradient(220px 220px at 70% 65%, rgba(47,122,79,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.25));
  position: relative;
  overflow: hidden;
}

.hero-art-inner{
  position: absolute;
  inset: 0;
}

.sparkle{
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 8px rgba(255,255,255,.18);
}

.sparkle.s1{ left: 18%; top: 22%; }
.sparkle.s2{ left: 68%; top: 38%; }
.sparkle.s3{ left: 40%; top: 72%; }

/* responsive */
@media (max-width: 860px){
  .hero-top{ grid-template-columns: 1fr; }
  .hero-art{ min-height: 120px; }
  .hero-copy h1{ font-size: 38px; }
}

/* Home hero override: simple section with background image */
.home-hero {
  max-width: 880px;
  margin: 0 auto 20px;
  padding: 50px 180px 18px 250px;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.35) 0 4px, transparent 4px 16px),
    radial-gradient(circle at 85% 82%, rgba(255, 255, 255, 0.28) 0 3px, transparent 3px 14px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    url("/images/home_hero5.png") center center / cover no-repeat;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero p {
  margin: 0;
  color: #334338;
  max-width: 60ch;
}

.home-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.home-search input {
  width: 100%;
  border: 1px solid #bba98f;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fffdf9;
}

.home-search button {
  border: 1px solid #a48f72;
  border-radius: 10px;
  background: #f5eee3;
  padding: 0 14px;
  font-size: 0.95rem;
  cursor: pointer;
}

.home-hero-label {
  margin-top: 22px !important;
  font-weight: 700;
}

.pet-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  justify-content: center;
}

.pet-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: #18452a;
  border: 1px solid #b8c9b7;
  background: #f7fbf6;
  border-radius: 999px;
  min-width: 110px;
  height: 34px;
  padding: 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(22, 44, 27, 0.08);
  transition: transform 130ms ease, box-shadow 130ms ease, border-color 130ms ease, background 130ms ease;
}

.pet-quick-links a:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 16px rgba(22, 44, 27, 0.15);
}

.pet-quick-links .pet-link-dog {
  background: #eef7ff;
  border-color: #95badf;
}

.pet-quick-links .pet-link-dog:hover {
  background: #e2f0fd;
  border-color: #7faad8;
}

.pet-quick-links .pet-link-cat {
  background: #fff0f6;
  border-color: #e2a8c0;
}

.pet-quick-links .pet-link-cat:hover {
  background: #ffe6f1;
  border-color: #d892af;
}

.pet-quick-links .pet-link-rabbit {
  background: #f2f9ec;
  border-color: #a8c98f;
}

.pet-quick-links .pet-link-rabbit:hover {
  background: #ebf6e1;
  border-color: #95bb79;
}

.pet-quick-links .pet-link-parrot {
  background: #fff7e8;
  border-color: #e3bf82;
}

.pet-quick-links .pet-link-parrot:hover {
  background: #fff2dc;
  border-color: #d6ae69;
}

@media (max-width: 640px) {
  .home-hero {
    min-height: 240px;
    padding: 14px;
  }
}

.level-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.levels-summary p {
  margin: 0;
}

.levels-summary-badges {
  margin: 8px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.levels-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.levels-copy p:last-child,
.levels-note p {
  margin-bottom: 0;
}

.levels-content {
  margin-top: 14px;
  padding: 2px 0;
}

.levels-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.levels-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.level-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
  background: transparent;
  box-shadow: 0 3px 10px rgba(18, 36, 22, 0.05);
}

.level-item p {
  margin: 10px 0 0;
}

.level-item strong {
  letter-spacing: 0.02em;
}

.level-item.safe {
  border-color: #9dcda5;
}

.level-item.supplement {
  border-color: #91ccc4;
}

.level-item.treat {
  border-color: #e3bf74;
}

.level-item.avoid {
  border-color: #d98269;
}

.level-item.toxic {
  border-color: #cb6a65;
}

.level-card {
  margin: 0;
  padding: 16px;
}

.level-card h2 {
  margin: 0;
}

.level-card h3 {
  margin: 12px 0 6px;
  font-size: 0.95rem;
}

.level-card p {
  margin: 0;
}

.level-card .simple-list {
  margin-top: 0;
}

.level-card.safe {
  border-color: #a9d6b0;
}

.level-card.supplement {
  border-color: #99d4cd;
}

.level-card.treat {
  border-color: #e8c682;
}

.level-card.avoid {
  border-color: #df8a72;
}

.level-card.toxic {
  border-color: #cc6b67;
}

@media (max-width: 860px) {
  .levels-grid {
    grid-template-columns: 1fr;
  }
}
