/* Criadero De La Mazorra — línea editorial: fotografía a sangre, Fraunces para los
   titulares e Inter para el texto, tinta y verde bosque sobre hueso, acentos en latón.
   Fuentes propias (OFL) en /assets/fonts; sin dependencias externas. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
    --ink: #121a16;
    --forest: #1c3329;
    --forest-2: #2a4a3b;
    --moss: #6b7a5e;
    --bone: #f3efe6;
    --paper: #fbf9f4;
    --brass: #b0894f;
    --brass-2: #8c6a37;
    --text: #222a25;
    --muted: #6a716b;
    --line: rgba(18, 26, 22, .12);
    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--brass-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; color: var(--ink); margin: 0 0 .45em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 350; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.005em; }
em { font-family: var(--serif); font-style: italic; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }
.eyebrow { font: 600 .72rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 1.2em; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: #d8bd8d; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* Botones */
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 15px 28px; border-radius: 0; text-decoration: none; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--ink); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s; }
.button:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.button::after { content: "→"; font-size: 1rem; letter-spacing: 0; transition: transform .25s var(--ease); }
.button:hover::after { transform: translateX(4px); }
.button-light { background: #fff; color: var(--ink); border-color: #fff; }
.button-ghost { background: transparent; color: inherit; border-color: currentColor; }
.button-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }
.link-arrow { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 10px; border-bottom: 1px solid var(--brass); padding-bottom: 6px; }
.link-arrow::after { content: "→"; letter-spacing: 0; }
.on-dark .link-arrow { color: #fff; }

/* Cabecera: transparente sobre la foto de portada, sólida al bajar (site.js). */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; color: #fff; transition: background .35s var(--ease), box-shadow .35s; }
.site-header.solid, body:not(.has-hero) .site-header { background: rgba(18, 26, 22, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
body:not(.has-hero) main { padding-top: 84px; }
.has-hero .site-header:not(.solid) { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 14px; line-height: 1; }
/* Logotipo (dibujo a línea negro sobre transparente): en blanco sobre fondos oscuros. */
.brand-logo { width: 86px; height: auto; filter: invert(1); opacity: .95; }
.brand-text { display: grid; }
.footer-logo { width: 150px; height: auto; filter: invert(1); opacity: .9; margin-bottom: 18px; }
.intro-mark { width: 150px; height: auto; opacity: .85; margin-bottom: 26px; }
.brand-name, .brand-sub { white-space: nowrap; }
@media (max-width: 520px) {
    .brand-logo { width: 52px; } .brand { gap: 10px; } .brand-name { font-size: 1.2rem; } .brand-sub { letter-spacing: .2em; font-size: .56rem; }
    .hero-facts { gap: 10px 28px; } .hero-facts strong { font-size: 1.8rem; }
}
.brand:hover { color: #fff; }
.brand-name { font: 400 1.6rem/1 var(--serif); letter-spacing: -.01em; }
.brand-sub { font: 600 .62rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #d8bd8d; margin-top: 7px; }
.nav-desktop { display: none; }
.nav-desktop a { color: rgba(255,255,255,.86); text-decoration: none; font: 500 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 10px 0; margin-left: clamp(14px, 1.8vw, 28px); position: relative; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: #d8bd8d; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-desktop a:hover, .nav-desktop a[aria-current] { color: #fff; }
.nav-desktop a:hover::after, .nav-desktop a[aria-current]::after { transform: scaleX(1); }
.menu summary { list-style: none; cursor: pointer; font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 12px 0 12px 16px; display: flex; gap: 10px; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 22px; height: 8px; border-top: 1px solid; border-bottom: 1px solid; }
.menu[open] nav { position: fixed; inset: 84px 0 0; background: var(--ink); display: grid; align-content: start; padding: 28px var(--gutter); gap: 4px; overflow-y: auto; }
.menu nav a { color: #fff; text-decoration: none; font: 400 1.9rem/1.3 var(--serif); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.menu nav a[aria-current] { color: #d8bd8d; }
@media (min-width: 1100px) {
    .menu { display: none; }
    .nav-desktop { display: flex; align-items: center; }
}

/* Portada */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; z-index: -2; animation: settle 2.4s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,18,15,.85) 0%, rgba(12,18,15,.2) 60%, rgba(12,18,15,.3) 100%); }
/* Escritorio: portada partida, texto sobre tinta a la izquierda y foto a la derecha. */
@media (min-width: 1000px) {
    .hero > img { left: 34%; width: 66%; }
    .hero::after { background: linear-gradient(90deg, var(--ink) 34%, rgba(18,26,22,.55) 46%, rgba(18,26,22,0) 62%), linear-gradient(0deg, rgba(12,18,15,.55) 0%, rgba(12,18,15,0) 35%); }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-text { padding-bottom: clamp(56px, 10vh, 120px); padding-top: 140px; width: 100%; }
.hero h1 { color: #fff; max-width: 11ch; margin-bottom: .35em; }
.hero h1 em { color: #e3cb9f; font-weight: 300; }
.hero .lead { color: rgba(255,255,255,.86); max-width: 46ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 48px; margin: 42px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.22); max-width: 760px; list-style: none; }
.hero-facts li { display: grid; gap: 6px; }
.hero-facts strong { font: 300 2.3rem/1 var(--serif); color: #fff; }
.hero-facts span { font: 500 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* Cabecera de sección con foto */
.page-hero { position: relative; min-height: 62vh; display: grid; align-items: end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,18,15,.82) 0%, rgba(12,18,15,.25) 55%, rgba(12,18,15,.35) 100%); }
.page-hero .wrap { width: 100%; padding-top: 130px; padding-bottom: clamp(40px, 7vh, 80px); }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero .lead { color: rgba(255,255,255,.85); }
.page-hero .crumbs, .page-hero .crumbs a { color: rgba(255,255,255,.75); }
.crumbs { font: 500 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.crumbs a { text-decoration: none; }

/* Secciones */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(48px, 6vw, 88px) 0; }
.section + .section.tight { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin: 0; max-width: 20ch; }
.on-dark { background: var(--ink); color: rgba(255,255,255,.82); }
.on-dark h2, .on-dark h3 { color: #fff; }
.bg-bone { background: var(--bone); }

/* Presentación */
.intro { display: grid; gap: clamp(48px, 6vw, 112px); align-items: center; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.05fr .95fr; } }
.statement { font: 300 clamp(1.7rem, 2.8vw, 2.5rem)/1.28 var(--serif); color: var(--ink); letter-spacing: -.01em; margin: 0 0 .9em; }
.statement em { color: var(--brass-2); }
.signature { font: italic 400 1.2rem/1.3 var(--serif); color: var(--forest-2); margin-top: 1.6em; }
.intro-photo { position: relative; margin: 0 28px 28px 0; }
.intro-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: relative; }
.intro-photo::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--brass); }

/* Razas: losetas altas */
.breeds { display: grid; gap: 16px; }
@media (min-width: 760px) { .breeds { grid-template-columns: repeat(3, 1fr); } }
.breed-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; text-decoration: none; background: var(--forest); }
.breed-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.breed-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,18,15,.85) 0%, rgba(12,18,15,0) 55%); }
.breed-tile:hover img { transform: scale(1.06); }
.breed-tile:hover { color: #fff; }
.breed-tile .tile-text { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; }
.breed-tile h3 { color: #fff; font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin: 0 0 8px; font-weight: 350; }
.breed-tile span { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #d8bd8d; }

/* Tarjetas de perro y camada */
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.card { position: relative; }
.card > a { display: block; text-decoration: none; color: inherit; }
.card .photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d9d3c4; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card > a:hover .photo img { transform: scale(1.05); }
.card .info { padding: 16px 2px 0; }
.card h3 { margin: 0 0 6px; font-size: 1.35rem; transition: color .2s; }
.card > a:hover h3 { color: var(--brass-2); }
.card .meta { font: 500 .7rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.titles { font: 600 .68rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 6px; }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--paper); color: var(--ink); font: 700 .62rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 8px 12px; }
.tag-en_venta { background: var(--brass); color: #fff; }
.tag-camada, .tag-stud { background: var(--forest); color: #fff; }
.tag-vendido, .tag-fallecido, .tag-retirado { background: #6f726e; color: #fff; }
.no-photo { display: block; width: 100%; height: 100%; min-height: 200px; background: radial-gradient(circle at 30% 30%, #3a5546, var(--forest)); }
.litter-card .photo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 8 / 5; }
.litter-card .photo.single { grid-template-columns: 1fr; }
.litter-card .availability { color: var(--forest-2); font-weight: 600; margin: 8px 0 0; font-size: .95rem; }

/* Palmarés en cifras */
.numbers { display: grid; gap: 1px; background: rgba(255,255,255,.12); grid-template-columns: 1fr; border: 1px solid rgba(255,255,255,.12); }
@media (min-width: 640px) { .numbers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .numbers { grid-template-columns: repeat(3, 1fr); } }
.number { background: var(--ink); padding: 34px 30px; display: grid; align-content: start; gap: 12px; }
.number strong { font: 300 clamp(3.2rem, 5vw, 4.4rem)/.9 var(--serif); color: #e3cb9f; }
.number span { font-size: .98rem; line-height: 1.45; color: rgba(255,255,255,.82); }

/* Mosaico de fotos */
.mosaic { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } .mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; } .mosaic a:nth-child(6), .mosaic a:nth-child(7) { grid-column: span 2; } }
.mosaic a { overflow: hidden; display: block; background: #d9d3c4; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic a:hover img { transform: scale(1.05); }

/* Servicios numerados */
.services { display: grid; gap: 0 clamp(32px, 5vw, 80px); counter-reset: s; }
@media (min-width: 860px) { .services { grid-template-columns: 1fr 1fr; } }
.service { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 6px 20px; counter-increment: s; }
.service::before { content: counter(s, decimal-leading-zero); font: 300 1.4rem/1.2 var(--serif); color: var(--brass); grid-row: span 2; }
.service h3 { margin: 0; font-size: 1.35rem; }
.service p { margin: 0; color: var(--muted); }
.places { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.places li { border: 1px solid var(--line); padding: 9px 16px; font-size: .92rem; background: var(--paper); }

/* Llamada final con foto */
.cta { position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate; padding: clamp(96px, 14vw, 180px) 0; background: var(--ink); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(12,18,15,.62); z-index: -1; }
.cta h2 { color: #fff; max-width: 20ch; margin: 0 auto .4em; }
.cta p { max-width: 52ch; margin: 0 auto; color: rgba(255,255,255,.86); }
.cta .actions { justify-content: center; }
.cta .eyebrow { justify-content: center; color: #d8bd8d; }

/* Ficha del perro */
.dog-hero { position: relative; min-height: 88vh; display: grid; align-items: end; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.dog-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.dog-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,18,15,.9) 0%, rgba(12,18,15,.2) 50%, rgba(12,18,15,.3) 100%); }
.dog-hero .wrap { width: 100%; padding-top: 140px; padding-bottom: 56px; }
.dog-hero h1 { color: #fff; margin-bottom: .15em; }
.dog-hero .titles { color: #e3cb9f; font-size: .78rem; }
.dog-hero .crumbs, .dog-hero .crumbs a { color: rgba(255,255,255,.75); }
.dog-hero .subtitle { font: italic 300 clamp(1.1rem, 1.8vw, 1.45rem)/1.4 var(--serif); color: rgba(255,255,255,.85); margin: 0; }
.dog-hero .tags { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.dog-hero .tag { position: static; }
.dog-hero.no-image { min-height: 56vh; background: radial-gradient(circle at 70% 20%, var(--forest-2), var(--ink)); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0; }
.facts div { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font: 600 .64rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; font: 400 1.2rem/1.3 var(--serif); color: var(--ink); }
.facts dd a { text-decoration: none; }
.facts b.titles { display: block; font-size: .6rem; margin-bottom: 2px; }
.dog-body { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) { .dog-body.with-aside { grid-template-columns: 1fr 380px; align-items: start; } }
.sale-box { background: var(--ink); color: rgba(255,255,255,.85); padding: 36px; position: sticky; top: 110px; }
.sale-box h2 { color: #fff; font-size: 2rem; margin-bottom: .2em; }
.sale-box .price { font: 300 1.4rem/1.3 var(--serif); color: #e3cb9f; margin-bottom: 0; }
.prose { max-width: 68ch; font-size: 1.05rem; }

/* Galería común del stack (/_stack/ui/gallery.css): sólo el tema de esta web. */
.sg { --sg-bg: var(--ink); --sg-accent: var(--brass); --sg-ratio: 16 / 10; color: var(--ink); }
.sg-lb-cap { font-family: var(--serif); font-style: italic; }

/* Botón «volver» de fichas y camadas (site.js vuelve atrás si se llegó desde la web). */
.back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 10px 16px 10px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; text-decoration: none; font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: rgba(12,18,15,.35); backdrop-filter: blur(6px); transition: background .25s, border-color .25s; }
.back::before { content: "←"; font-size: 1rem; letter-spacing: 0; }
.back:hover { background: rgba(12,18,15,.7); border-color: #e3cb9f; color: #fff; }

/* Árbol genealógico con líneas de unión */
.pedigree-scroll { overflow-x: auto; padding-bottom: 8px; }
.pedigree-grid { --gap: 32px; display: grid; grid-template-columns: repeat(3, minmax(210px, 1fr)); grid-template-rows: auto repeat(8, minmax(56px, auto)); column-gap: var(--gap); row-gap: 8px; min-width: 740px; }
.pedigree-head { display: contents; }
.pedigree-head span { font: 600 .64rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; }
.pedigree-cell { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 12px 16px; background: #fff; border: 1px solid var(--line); font-size: .95rem; line-height: 1.35; }
.pedigree-cell.g1 { font: 400 1.2rem/1.3 var(--serif); }
.pedigree-cell.sire { box-shadow: inset 3px 0 0 var(--forest-2); }
.pedigree-cell.dam { box-shadow: inset 3px 0 0 var(--brass); }
.pedigree-cell a { text-decoration: none; }
.pedigree-cell a:hover { color: var(--brass-2); }
.pedigree-cell b.titles { display: block; font-size: .58rem; margin-bottom: 3px; }
.pedigree-cell .unknown { color: #b4b0a5; }
.pedigree-cell.g1::after, .pedigree-cell.g2::after { content: ""; position: absolute; right: calc(var(--gap) / -2 - 1px); top: 50%; width: calc(var(--gap) / 2); border-top: 1px solid var(--moss); }
.pedigree-cell.g2::before, .pedigree-cell.g3::before { content: ""; position: absolute; left: calc(var(--gap) / -2 - 1px); width: calc(var(--gap) / 2); border-left: 1px solid var(--moss); }
.pedigree-cell.g2.sire::before, .pedigree-cell.g3.sire::before { top: 50%; bottom: -5px; border-top: 1px solid var(--moss); }
.pedigree-cell.g2.dam::before, .pedigree-cell.g3.dam::before { top: -5px; bottom: 50%; border-bottom: 1px solid var(--moss); }

/* Palmarés (página) */
.award-groups { display: grid; gap: clamp(56px, 7vw, 96px); }
.award-group { display: grid; gap: 24px; }
@media (min-width: 900px) { .award-group { grid-template-columns: 300px 1fr; } }
.award-group > h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.award { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 16px; }
.award .count { font: 300 2.8rem/1 var(--serif); color: var(--brass); }
.award h3 { font-size: 1.25rem; margin: 6px 0 10px; }
.award ul { list-style: none; padding: 0; margin: 0; color: var(--muted); display: grid; gap: 4px; }
.award li::before { content: "— "; color: var(--brass); }
.award-list { list-style: none; padding: 0; display: grid; gap: 12px; margin: 0; }
.award-list li { padding: 20px 24px; background: var(--bone); font: 400 1.15rem/1.4 var(--serif); }
.award-list li span { display: block; font: 500 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* Camada */
.parents { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); max-width: 820px; }
.parent-label { font: 600 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 14px; }
.puppies { border-collapse: collapse; width: 100%; max-width: 820px; }
.puppies th { font: 600 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink); }
.puppies td { padding: 16px 14px; border-bottom: 1px solid var(--line); }
.pup-disponible { color: #2f6b3d; font-weight: 600; }
.pup-reservado { color: var(--brass-2); font-weight: 600; }
.pup-vendido { color: #8a8a8a; }

/* Galerías y vídeos */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; }
.chips a { padding: 11px 18px; border: 1px solid var(--line); text-decoration: none; font: 500 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--paper); }
.chips a:hover { border-color: var(--brass); color: var(--ink); }
.gallery-card .photo { aspect-ratio: 4 / 3; }
.video-grid { display: grid; gap: clamp(32px, 3vw, 48px); grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); }
.video-card { margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card figcaption { font: 400 1.2rem/1.35 var(--serif); margin-top: 14px; }
.video-card figcaption span { display: block; font: 500 .68rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* Contacto */
.contact-grid { display: grid; gap: clamp(48px, 6vw, 112px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-list { display: grid; gap: 28px; margin: 0 0 32px; }
.contact-list dt { font: 600 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-list dd { margin: 0; font: 400 1.3rem/1.45 var(--serif); }
.contact-list dd a { text-decoration: none; }
.contact-form { display: grid; gap: 22px; background: #fff; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.contact-form label { display: grid; gap: 6px; font: 600 .64rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea { font: 400 1.05rem/1.4 var(--sans); padding: 12px 0; border: 0; border-bottom: 1px solid rgba(18,26,22,.25); background: transparent; color: var(--ink); border-radius: 0; text-transform: none; letter-spacing: 0; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--brass); }
.contact-form .check { display: flex; gap: 12px; align-items: flex-start; font: 400 .92rem/1.5 var(--sans); text-transform: none; letter-spacing: 0; color: var(--text); cursor: pointer; }
.contact-form .check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--forest); cursor: pointer; }
.contact-form button { justify-self: start; }
[data-form-status] { margin: 0; padding: 14px 16px; font-size: 16px; font-weight: 700; }
[data-form-status][data-state=success] { background: #e4f1e6; color: #1e5b2c; }
[data-form-status][data-state=error] { background: #fbe9e7; color: #8c1d18; }

/* Patrocinadores (encima del pie) */
.sponsors { background: var(--bone); padding: 44px 0; border-top: 1px solid var(--line); }
.sponsors .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; }
.sponsors-title { font: 600 .64rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0; }
.sponsor-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px 44px; align-items: center; }
.sponsor-list a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--muted); font-size: .9rem; }
.sponsor-list img { height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.sponsor-list a:hover img { filter: none; opacity: 1; }

/* Pie */
.site-footer { background: var(--ink); color: rgba(255,255,255,.68); padding: clamp(64px, 8vw, 104px) 0 36px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #e3cb9f; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand { font: 350 2.1rem/1.1 var(--serif); color: #fff; margin: 0 0 14px; }
.footer-title { font: 600 .64rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #d8bd8d; margin: 0 0 18px; }
.footer-links { display: grid; gap: 9px; }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
.footer-bottom nav { display: flex; gap: 20px; }

.prose-page { max-width: 760px; padding-top: 56px; padding-bottom: 96px; }

/* Aparición suave al entrar en pantalla (site.js añade .js y .in) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Móvil: la foto de portada queda detrás del texto, así que se oscurece más. */
@media (max-width: 999px) {
    .hero::after { background: linear-gradient(0deg, rgba(12,18,15,.92) 0%, rgba(12,18,15,.6) 55%, rgba(12,18,15,.4) 100%); }
}
@media (max-width: 520px) { .breed-tile { aspect-ratio: 4 / 3; } }

/* Camada: emparejamiento padre × madre. Dos copias impresas (borde de papel, sombra,
   un leve giro) que se solapan en el centro, con el «×» en latón sobre la unión. */
.pairing-section { padding-top: clamp(56px, 7vw, 104px); }
.pairing { position: relative; display: flex; justify-content: center; align-items: flex-start; max-width: 940px; margin: 0 auto; }
.pairing .parent { margin: 0; width: min(46%, 380px); display: grid; justify-items: center; gap: 26px; text-align: center; position: relative; }
.pairing .parent.sire { z-index: 1; }
.pairing .parent.dam { margin-left: -36px; margin-top: 56px; }
.pairing .portrait { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; padding: 10px 10px 10px; box-shadow: 0 1px 2px rgba(18,26,22,.08), 0 18px 40px -12px rgba(18,26,22,.35); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pairing .sire .portrait { transform: rotate(-2.5deg); }
.pairing .dam .portrait { transform: rotate(2deg); }
.pairing a.portrait:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 1px 2px rgba(18,26,22,.08), 0 26px 50px -12px rgba(18,26,22,.4); }
.pairing .portrait img, .pairing .portrait .no-photo { width: 100%; height: 100%; object-fit: cover; }
.pairing figcaption { display: grid; gap: 6px; justify-items: center; }
.pairing .parent-label, .pairing .titles { margin: 0; }
.parent-name { font: 400 clamp(1.35rem, 2.2vw, 1.85rem)/1.15 var(--serif); color: var(--ink); }
.parent-name a { text-decoration: none; }
.parent-name a:hover { color: var(--brass-2); }
.cross { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; }
.cross span { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #e3cb9f; display: grid; place-items: center; font: 300 2rem/1 var(--serif); box-shadow: 0 0 0 6px var(--paper), 0 10px 24px rgba(18,26,22,.25); }
.litter-facts { display: flex; flex-wrap: wrap; justify-content: center; margin: clamp(40px, 5vw, 64px) auto 0; max-width: 940px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.litter-facts div { padding: 22px clamp(20px, 3vw, 44px); text-align: center; }
.litter-facts div + div { border-left: 1px solid var(--line); }
.litter-facts dt { font: 600 .64rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.litter-facts dd { margin: 0; font: 400 1.15rem/1.3 var(--serif); color: var(--ink); }
@media (max-width: 640px) {
    .pairing .parent { width: 52%; gap: 16px; }
    .pairing .parent.dam { margin-left: -4%; margin-top: 40px; }
    .pairing .portrait { padding: 6px; }
    .cross span { width: 44px; height: 44px; font-size: 1.4rem; box-shadow: 0 0 0 4px var(--paper); }
    .parent-name { font-size: 1.1rem; }
    .litter-facts div + div { border-left: 0; }
    .litter-facts div { flex: 1 1 50%; padding: 16px 10px; }
}

/* Árbol en móvil: lista sangrada; la rejilla de tres columnas sólo en pantallas anchas. */
.pedigree-list { display: none; list-style: none; padding: 0; margin: 0; }
.pedigree-list ol { list-style: none; margin: 6px 0 0; padding: 0 0 0 18px; border-left: 1px solid var(--moss); }
.pedigree-list li { position: relative; padding: 6px 0 6px 0; }
.pedigree-list ol > li { padding-left: 14px; }
.pedigree-list ol > li::before { content: ""; position: absolute; left: -1px; top: 1.15em; width: 12px; border-top: 1px solid var(--moss); }
.pedigree-list .pl-1 { padding: 16px 18px; background: #fff; border: 1px solid var(--line); margin-bottom: 10px; font: 400 1.15rem/1.3 var(--serif); }
.pedigree-list .pl-1.sire { box-shadow: inset 3px 0 0 var(--forest-2); }
.pedigree-list .pl-1.dam { box-shadow: inset 3px 0 0 var(--brass); }
.pedigree-list .pl-2 { font: 400 1rem/1.35 var(--sans); }
.pedigree-list .pl-3 { font: 400 .92rem/1.35 var(--sans); color: var(--muted); }
.pedigree-list .pl-label { display: block; font: 600 .62rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pedigree-list a { text-decoration: none; }
.pedigree-list b.titles { display: block; font-size: .58rem; }
@media (max-width: 760px) {
    .pedigree-list { display: block; }
    .pedigree-scroll { display: none; }
}
