/* OceCats — estilos principales. Sin dependencias, mobile-first. */
@view-transition { navigation: auto; }

:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-2: #f3ede4;
  --text: #1f1a16;
  --muted: #6b6159;
  --line: #e6ddd1;
  --brand: #c8702a;
  --brand-ink: #9a4f14;
  --brand-soft: #f8e7d6;
  --accent: #1f7a6d;
  --accent-soft: #dcefeb;
  --warn: #b3261e;
  --warn-soft: #fbe9e7;
  --ink-spot: #3a2414;
  --shadow: 0 1px 2px rgb(40 25 10 / .06), 0 8px 24px rgb(40 25 10 / .07);
  --radius: 16px;
  --radius-sm: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141210; --surface: #1d1a17; --surface-2: #26221e; --text: #f2ece4; --muted: #b3a89c;
    --line: #362f29; --brand: #e08a43; --brand-ink: #f0a86a; --brand-soft: #3a2616; --accent: #4fb5a5;
    --accent-soft: #173430; --warn: #ff8a80; --warn-soft: #3b1a17; --ink-spot: #1d1a17;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141210; --surface: #1d1a17; --surface-2: #26221e; --text: #f2ece4; --muted: #b3a89c;
  --line: #362f29; --brand: #e08a43; --brand-ink: #f0a86a; --brand-soft: #3a2616; --accent: #4fb5a5;
  --accent-soft: #173430; --warn: #ff8a80; --warn-soft: #3b1a17; --ink-spot: #1d1a17;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .3); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--text); color: var(--bg); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 32px, 820px); }
.small { font-size: .875rem; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 65ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
main { display: block; outline: none; padding-bottom: 4rem; }
section { margin-block: clamp(2.5rem, 5vw, 4.5rem); }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.25rem; border-radius: 999px; border: 0; background: var(--brand); color: #fff; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--brand-ink); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand-ink); }
.btn.full { width: 100%; justify-content: center; }
.linklike { background: none; border: 0; color: var(--brand-ink); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); view-transition-name: header; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text); font: 700 1.35rem var(--serif); }
.brand b { color: var(--brand); }
.logo-mark { width: 34px; height: 34px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .5rem .7rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--brand-soft); color: var(--brand-ink); }
.header-actions { display: flex; gap: .4rem; align-items: center; }
.btn-agent { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 .9rem var(--font); cursor: pointer; }
.btn-agent svg { width: 18px; height: 18px; fill: var(--brand); }
.btn-agent:hover { border-color: var(--brand); }
kbd { font: 500 .7rem var(--font); padding: .1rem .35rem; border-radius: 5px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .btn-agent kbd { display: none; }
  .menu-btn { display: grid; }
  .main-nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem 16px 1.25rem; transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; box-shadow: var(--shadow); }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 520px) { .btn-agent span { display: none; } .brand span { font-size: 1.2rem; } }

/* Migas */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 1.25rem 0 0; margin: 0 0 1rem; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .35rem; opacity: .6; }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { margin-top: 0; padding-block: clamp(2rem, 5vw, 4.5rem); background: radial-gradient(1200px 400px at 90% -10%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1.05fr 1fr; }
.hero .hl { color: var(--brand); font-style: italic; }
.hero-media img, .hero-media .img-fallback { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-media { margin: 0; }
.hero-agent, .agent-form.inline { display: flex; gap: .5rem; background: var(--surface); padding: .4rem; border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 560px; margin-top: 1.5rem; }
.hero-agent input, .agent-form.inline input { flex: 1; min-width: 0; border: 0; background: transparent; font: 1rem var(--font); color: var(--text); padding: .6rem 1rem; outline: none; }
.quick { font-size: .92rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { order: -1; } }

/* Tarjetas */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; }
.card-grid, .breed-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.card-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.breed-grid { grid-template-columns: repeat(auto-fill, minmax(min(100% , 230px), 1fr)); }
@media (max-width: 520px) { .breed-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }
.card a, .breed-card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card a:hover, .breed-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card-media { aspect-ratio: 3/2; overflow: hidden; background: var(--surface-2); }
.card-media img, .card-media svg, .card-media .img-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-body h2, .card-body h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.card-body p { color: var(--muted); font-size: .93rem; margin: 0 0 .4rem; }
.breed-card .card-body p:first-of-type { font-size: .82rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags span { font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tags .tag-hypo { background: var(--accent-soft); color: var(--accent); }
.breed-card[hidden] { display: none; }
.img-fallback { background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); aspect-ratio: 3/2; width: 100%; }

/* Spotlight / CTA */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1rem, 3vw, 2rem); }
.spotlight figure { margin: 0; }
.spotlight img, .spotlight svg { border-radius: 20px; width: 100%; }
@media (max-width: 760px) { .spotlight { grid-template-columns: 1fr; } }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 24px; background: linear-gradient(120deg, var(--brand-soft), var(--accent-soft)); }
.cta-band h2 { margin-bottom: .25rem; }
.cta-band p { margin: 0; color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.link-list a { display: block; padding: 1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); }
.link-list a:hover { border-color: var(--brand); }
.link-list span { display: block; color: var(--muted); font-size: .9rem; margin-top: .2rem; }

/* Cabeceras de página */
.page-head { padding-block: .5rem 1rem; }
.guide-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.guide-head .hero-img { margin: 0; }
.hero-img img { border-radius: 22px; width: 100%; box-shadow: var(--shadow); }
.meta { font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .guide-head { grid-template-columns: 1fr; } }

/* Prosa */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose table, .compare-out table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td, .compare-out th, .compare-out td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th, .compare-out thead th { background: var(--surface-2); font-weight: 700; }
.note, .callout { padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--accent-soft); }
.callout.warn { background: var(--warn-soft); border-left: 4px solid var(--warn); margin: 1rem 0; }
.brand-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin: 1rem 0; }
.brand-card { display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font: inherit; }
.brand-card h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.brand-card p { margin: 0; font-size: .93rem; color: var(--muted); }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: .5rem; }
.guide-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.toc { position: sticky; top: 90px; font-size: .92rem; }
.toc h2 { font-size: 1rem; font-family: var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .3rem .8rem; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: var(--brand-ink); border-left-color: var(--brand); }
@media (max-width: 960px) { .guide-layout { grid-template-columns: 1fr; gap: 1rem; } .toc { position: static; } }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: .6rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1rem; margin: 0; color: var(--muted); }

/* Ficha de raza */
.breed-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: 2rem; }
.breed-hero-media { margin: 0; }
.breed-hero-media img, .breed-hero-media svg { border-radius: 26px; width: 100%; box-shadow: var(--shadow); view-transition-name: breed-photo; }
.breed-hero-media figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.alt-names { color: var(--muted); font-style: italic; }
@media (max-width: 860px) { .breed-hero { grid-template-columns: 1fr; } .breed-hero-media { order: -1; } }
.breed-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.breed-facts { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.breed-facts h2 { font-size: 1.2rem; }
.breed-facts dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0 0 1rem; font-size: .95rem; }
.breed-facts dt { color: var(--muted); }
.breed-facts dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 960px) { .breed-layout { grid-template-columns: 1fr; } .breed-facts { position: static; order: -1; } }
.meters { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin: 1.25rem 0; }
.meter { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .95rem; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.dots i.on { background: var(--brand); border-color: var(--brand); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fit > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.fit ul { list-style: none; padding: 0 !important; margin: 0; }
.fit .yes li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.fit .no li::before { content: "✕ "; color: var(--warn); font-weight: 700; }
@media (max-width: 640px) { .fit { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; font-weight: 600; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.5rem; position: sticky; top: 76px; z-index: 5; }
.filters label { display: grid; gap: .2rem; font-size: .8rem; color: var(--muted); font-weight: 600; }
.filters .f-search { flex: 1 1 220px; }
.filters input[type=search], .filters select, .compare-form select { font: 1rem var(--font); padding: .55rem .75rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); color: var(--text); width: 100%; }
.filters .check { display: flex; align-items: center; gap: .4rem; font-size: .95rem; color: var(--text); padding-bottom: .55rem; }
.filters .check input { width: 18px; height: 18px; accent-color: var(--brand); }
.filters .count { margin-left: auto; font-weight: 700; color: var(--brand-ink); padding-bottom: .55rem; }
@media (max-width: 700px) { .filters { position: static; } .filters label:not(.f-search):not(.check) { flex: 1 1 30%; } }
.empty { padding: 2rem; text-align: center; color: var(--muted); }

/* Comparador */
.compare-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.compare-form label { display: grid; gap: .3rem; flex: 1 1 200px; font-weight: 600; }
.compare-form .vs { font: italic 700 1.4rem var(--serif); color: var(--brand); padding-bottom: .4rem; }
.compare-out { margin: 1.5rem 0; }
.compare-heads { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare-heads a { text-decoration: none; color: var(--text); }
.compare-heads img { border-radius: var(--radius); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.compare-out td.win { color: var(--accent); font-weight: 700; }

/* Test */
.quiz { display: grid; gap: 1rem; }
.quiz fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.2rem; margin: 0; }
.quiz legend { font-weight: 700; padding: 0 .4rem; font-family: var(--serif); font-size: 1.1rem; }
.quiz label { display: inline-flex; align-items: center; gap: .45rem; margin: .35rem 1.2rem .35rem 0; cursor: pointer; }
.quiz input { accent-color: var(--brand); width: 18px; height: 18px; }
.quiz .btn { justify-self: start; }

/* Resultados (asistente y test) */
.results { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.result a { display: grid; grid-template-columns: 76px 1fr; gap: .9rem; align-items: center; padding: .6rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); }
.result a:hover, .result a[aria-selected="true"] { border-color: var(--brand); background: var(--brand-soft); }
.result img, .result .thumb { width: 76px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.result strong { display: block; }
.result span { font-size: .87rem; color: var(--muted); display: block; }
.result .score { color: var(--accent); font-weight: 700; }
.answer { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--accent-soft); margin: .25rem 0 .75rem; }
.answer p:last-child { margin: 0; }

/* Diálogo del asistente */
dialog.agent { width: min(680px, calc(100% - 24px)); max-height: min(78vh, 720px); padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); color: var(--text); box-shadow: 0 30px 80px rgb(0 0 0 / .35); margin-top: 10vh; overflow: hidden; }
dialog.agent[open] { display: flex; flex-direction: column; animation: pop .18s ease-out; }
dialog.agent::backdrop { background: rgb(20 14 8 / .45); backdrop-filter: blur(3px); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.agent-form:not(.inline) { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.agent-form:not(.inline) input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 1.1rem var(--font); outline: none; }
.agent-icon svg { width: 22px; height: 22px; fill: var(--brand); }
.agent-close { border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); border-radius: 6px; font: 600 .75rem var(--font); padding: .25rem .5rem; cursor: pointer; }
.agent-body { padding: 1rem; overflow-y: auto; }
.agent-hint { color: var(--muted); font-size: .92rem; }
.agent-hint button { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; margin: .2rem; color: var(--text); cursor: pointer; font: .85rem var(--font); }
.agent-hint button:hover { border-color: var(--brand); }
.agent-body[data-inline] { padding: 1rem 0; }

/* Pie */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 3rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer-grid h2 { font: 700 .8rem var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--brand); }
.footer-grid p { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding: 1.2rem 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

.notfound { text-align: center; padding-top: 4rem; }
.notfound .agent-form { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}
@media print { .site-header, .site-footer, dialog, .filters, .toc, .breed-facts button { display: none !important; } }
