:root {
  --bg: #F5F7F4;
  --surface: #FFFFFF;
  --soft: #E7EFEA;
  --ink: #1C2B24;
  --muted: #323333;
  --line: #D9E2DC;
  --brand: #2E6A4F;
  --brand-2: #245740;
  --on-brand: #FFFFFF;
  --sun: #F3D27A;
  --c-dogs: #A86A12;
  --c-cats: #87479B;
  --c-health: #2A7A56;
  --c-care: #22758A;
  --c-training: #3B5FAD;
  --c-nutrition: #B85A24;
  --c-adoption: #B0405F;
  --c-pets: #56636F;
  --radius: 12px;
  --wrap: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme:dark) {
  :root {
    --bg: #fafafa;
    --surface: #18211D;
    --soft: #1F2B25;
    --ink: #2e2e2e;
    --muted: #464646;
    --line: #2A3832;
    --brand: #2F6E52;
    --brand-2: #24563F;
    --sun: #F3D27A;
    --c-dogs: #E0A64A;
    --c-cats: #C99AD8;
    --c-health: #6CC79B;
    --c-care: #6CC2D5;
    --c-training: #91AEEB;
    --c-nutrition: #EE9A68;
    --c-adoption: #EB8BA6;
    --c-pets: #A9B5C0;
  }
}

* {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01"
}

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

a {
  color: inherit
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px
}

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

.small {
  font-size: .85rem
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  padding: 8px 12px;
  z-index: 50
}

.skip:focus {
  left: 8px
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, #b17650 92%, transparent);
  backdrop-filter: blur(10px);
}

.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 62px
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  color: white;
}

.nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  overflow: hidden
}

.nav a,
.mnav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  color: #ffff;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap
}

.nav a:hover,
.nav a[aria-current] {
  color: #ffffff;
  background: #a36640;
}

.search-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  background: #a36640;
}

.menu-btn {
  display: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  padding: 7px 12px;
  cursor: pointer
}

.mnav {
  display: none
}

@media (max-width:980px) {
  .nav {
    display: none
  }

  .search-link {
    margin-left: auto
  }

  .menu-btn {
    display: block
  }

  .mnav:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 20px 14px
  }

  .mnav a {
    background: var(--soft);
    color: var(--ink)
  }
}

/* Hero */
.hero {
  background: #fff;
  color: #000;
  position: relative;
  overflow: hidden
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 360px;
  height: 360px;
  opacity: .10;
  background: url("paw.svg") center/contain no-repeat;
  transform: rotate(-18deg);
  pointer-events: none
}

.hero-in {
  padding: 56px 20px 44px;
  position: relative;
  z-index: 1
}

.hero h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 0;
  max-width: 22ch
}

.lede {
  font-size: 1.05rem;
  opacity: .88;
  margin: 12px 0 24px;
  max-width: 54ch
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
  max-width: 620px;
  border: 1px solid var(--line)
}

.hero-search svg {
  color: var(--muted);
  flex: none
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 10px 0;
  outline: none
}

.hero-search button {
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 10px;
  background: var(--sun);
  color: #3A2A00;
  padding: 10px 18px;
  cursor: pointer
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px
}

.topic {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 8px 6px 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgb(0 0 0 / 18%);
}

.topic:hover {
  background: rgba(255, 255, 255, .22)
}

.topic .n {
  font-size: .78rem;
  background: rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 1px 8px
}

/* Sections */
.sec-title {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -.01em;
  margin: 44px 0 18px
}

.latest .sec-title {
  margin-top: 40px
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line)
}

.side-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line)
}

.side-list li>a {
  display: block;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 6px
}

.side-list li>a:hover {
  color: var(--brand)
}

@media (prefers-color-scheme:dark) {

  .side-list li>a:hover,
  .card-title a:hover {
    color: var(--c-health)
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px
}

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

  .grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

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

/* Cards */
.card .thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #ababab;
}

.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease
}

.card:hover .thumb img {
  transform: scale(1.03)
}

.card-body {
  padding-top: 14px
}

.card-title {
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.01em;
  margin: 8px 0 6px
}

.card.lead .card-title {
  font-size: 1.45rem;
  line-height: 1.25
}

.card-title a {
  text-decoration: none
}

.card-title a:hover {
  color: var(--brand)
}

.excerpt {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.card.lead .excerpt {
  font-size: 1rem
}

.meta {
  font-size: .83rem;
  margin: 10px 0 0
}

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.cat {
  --c: var(--c-pets);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--c);
  border-radius: 999px
}

.cat:hover {
  background: color-mix(in srgb, var(--c) 22%, transparent)
}

.c-dogs {
  --c: var(--c-dogs)
}

.c-cats {
  --c: var(--c-cats)
}

.c-health {
  --c: var(--c-health)
}

.c-care {
  --c: var(--c-care)
}

.c-training {
  --c: var(--c-training)
}

.c-nutrition {
  --c: var(--c-nutrition)
}

.c-adoption {
  --c: var(--c-adoption)
}

.c-pets {
  --c: var(--c-pets)
}

/* Pager */
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 48px 0 8px
}

.pager a,
.pager span {
  min-width: 40px;
  text-align: center;
  text-decoration: none;
  padding: 8px 12px;
  background: #b7815e;
  font-size: .92rem;
  font-weight: 500;
  color: #fff;
}

.pager a[aria-current] {
  background: #a36640;
  color: #fff;
  border-color: var(--brand)
}

.pager .off {
  opacity: 0.9
}

/* Page heads */
.page-head {
  padding-top: 40px
}

.page-head h1 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -.02em;
  margin: 6px 0 6px;
  display: flex;
  align-items: center;
  gap: 12px
}

.page-head .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c)
}

.crumbs {
  font-size: .88rem;
  color: var(--muted);
  margin: 0
}

.crumbs a {
  text-decoration: none
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline
}

.page-head .hero-search {
  margin-top: 18px;
  background: var(--surface)
}

/* Post */
.post-head {
  display: grid;
  grid-template-columns: 230px minmax(0, 700px);
  gap: 0 56px;
  justify-content: center;
  padding-top: 36px
}

.post-head>* {
  grid-column: 2
}

.post-head h1 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 10px 0 14px
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-size: .9rem
}

.post-hero {
  max-width: 1026px;
  margin: 28px auto 0
}

.post-hero img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px;
  background: var(--soft)
}

.post-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 700px);
  gap: 56px;
  justify-content: center;
  margin-top: 36px
}

.post-side {
  position: relative
}

.toc {
  position: sticky;
  top: 86px;
  font-size: .88rem;
  max-height: calc(100vh - 110px);
  overflow: auto
}

.toc-title {
  font-weight: 650;
  margin: 0 0 8px;
  font-size: .9rem
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line)
}

.toc a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  padding: 5px 0 5px 12px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  line-height: 1.35
}

.toc a:hover {
  color: var(--ink)
}

.toc a.on {
  color: var(--brand);
  border-left-color: var(--brand);
  font-weight: 500
}

@media (prefers-color-scheme:dark) {
  .toc a.on {
    color: var(--c-health);
    border-left-color: var(--c-health)
  }
}

@media (max-width:1000px) {

  .post-layout,
  .post-head {
    grid-template-columns: minmax(0, 700px)
  }

  .post-head>* {
    grid-column: 1
  }

  .toc {
    position: static;
    max-height: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px
  }

  .toc ol {
    border: 0
  }

  .toc a {
    padding-left: 0;
    border: 0
  }
}

/* Prose */
.prose {
  font-size: 1.06rem;
  line-height: 1.75;
  min-width: 0
}

.prose>*:first-child {
  margin-top: 0
}

.prose p {
  margin: 0 0 1.15em
}

.prose h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -.015em;
  font-weight: 650;
  margin: 2em 0 .6em
}

.prose h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 650;
  margin: 1.6em 0 .5em
}

.prose h4 {
  font-size: 1rem;
  font-weight: 650;
  margin: 1.4em 0 .4em
}

.prose a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px
}

@media (prefers-color-scheme:dark) {
  .prose a {
    color: var(--c-health)
  }
}

.prose strong {
  font-weight: 650
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.2em
}

.prose li {
  margin: .35em 0
}

.prose li::marker {
  color: var(--brand)
}

.prose figure {
  margin: 1.8em 0
}

.prose figure img {
  border-radius: var(--radius)
}

.prose figcaption {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 8px
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--sun);
  color: var(--ink);
  font-size: 1.02rem
}

.prose blockquote p:last-child {
  margin: 0
}

.table-wrap {
  overflow-x: auto;
  margin: 1.6em 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: .93rem;
  line-height: 1.5
}

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

.prose th {
  background: var(--soft);
  font-weight: 650
}

.prose tr:last-child td {
  border-bottom: 0
}

.keypoints {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 2em;
  border-left: 4px solid var(--brand)
}

.kp-title {
  font-weight: 650;
  margin: 0 0 6px !important
}

.keypoints ul {
  margin: 0
}

.faq {
  display: grid;
  gap: 10px;
  margin: 1.2em 0 2em
}

.faq details {
    color: white;
    background: #b57f5c;
    border: 1px solid #b57f5c;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 14px 48px 14px 18px;
  position: relative;
  line-height: 1.45
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 11px;
  font-size: 1.3rem;
  color: #f3d27a;
  font-weight: 400
}

.faq details[open] summary::after {
  content: "–"
}

.faq-a {
  padding: 0 18px 4px;
  color: var(--muted)
}

.faq-a p {
  margin: 0 0 .9em
}

.related {
  border-top: 1px solid var(--line);
  margin-top: 64px
}

/* Search */
.results {
  display: grid;
  gap: 4px;
  max-width: 820px
}

.result {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  align-items: center
}

.result img {
  width: 120px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  background: var(--soft)
}

.result h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  line-height: 1.35
}

.result p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted)
}

.result:hover h3 {
  color: var(--brand)
}

mark {
  background: color-mix(in srgb, var(--sun) 55%, transparent);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px
}

/* Buttons, 404, footer */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  margin: 8px 8px 0 0
}

.btn.ghost {
  background: var(--soft);
  color: var(--ink)
}

.notfound {
  padding-bottom: 40px
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: black;
  padding: 36px 0 24px
}

.foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px
}

.foot p {
  max-width: 46ch;
  font-size: .92rem
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-content: start;
  justify-content: flex-end
}

.foot nav a {
  text-decoration: none;
  font-size: .92rem;
  color: var(--muted)
}

.foot nav a:hover {
  color: var(--ink)
}

.copy {
  margin-top: 20px
}

@media (max-width:700px) {
  .foot {
    grid-template-columns: 1fr
  }

  .foot nav {
    justify-content: flex-start
  }

  .hero-in {
    padding: 40px 20px 34px
  }

  .result {
    grid-template-columns: 88px 1fr
  }

  .result img {
    width: 88px
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important
  }
}

@media (max-width:700px) {
  .hero::after {
    display: none
  }
}

mark {
  padding: 0
}
/* Páginas About, Contact, Privacy, Terms */
.legal{max-width:780px}
.legal .page-head{padding-left:0;padding-right:0}
.legal .prose{margin-top:24px}
.contact-box{border:1px solid var(--line);border-radius:12px;padding:20px 24px;margin-bottom:2em}
.contact-label{margin:0 0 2px!important;font-size:.9rem;font-weight:600;opacity:.7}
.contact-mail{font-size:1.15rem;font-weight:600;margin:0 0 12px!important;word-break:break-all}
.contact-box .btn{color:#fff;text-decoration:none;margin:0}
.copy{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between}
.legal-links{display:flex;flex-wrap:wrap;gap:6px 16px}
.legal-links a{text-decoration:none;color:inherit}
.legal-links a:hover{text-decoration:underline}
