@font-face {
  font-family: Cormorant Garamond;
  src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Dorper em Foco — tokens shared by every section and component. */
:root {
  --wine: #770d17;
  --wine-dark: #500a11;
  --wine-deep: #28090d;
  --paper: #fff;
  --surface: #f6f3f1;
  --rose: #f4e9e7;
  --ink: #241d1e;
  --muted: #66585a;
  --line: #dfcfcc;
  --gold: #e1c39d;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(40px, 7.5vw, 144px);
  --section: clamp(64px, 6.5vw, 120px);
  --radius: 4px;
  --header-height: 124px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 18px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.dialog-open {
  overflow: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(64px, 6.4vw, 112px);
}
h2 {
  font-size: clamp(44px, 4.3vw, 76px);
}
h3 {
  font-size: clamp(30px, 2.6vw, 42px);
}
p {
  max-width: 65ch;
}
p + p {
  margin-top: 20px;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #b55b22;
  outline-offset: 6px;
}
::selection {
  background: var(--wine);
  color: white;
}
section[id] {
  scroll-margin-top: 20px;
}
.container {
  width: min(1920px, calc(100% - var(--gutter)));
  margin-inline: auto;
  min-width: 0;
}
.section {
  padding-block: var(--section);
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reverse {
  transform: rotate(180deg);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: white;
  color: var(--wine);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 54px;
  padding: 15px 24px;
  background: var(--wine);
  color: white;
  border: 1px solid var(--wine);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
}
.button-light {
  background: white;
  color: var(--wine);
  border-color: white;
}
.button-light:hover {
  background: var(--rose);
  color: var(--wine);
  border-color: var(--rose);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  width: fit-content;
}
.text-link .icon {
  transition: transform 0.2s;
}
.text-link:hover .icon {
  transform: translateX(4px);
}
.wine-link {
  color: var(--wine);
}
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wine);
  margin-bottom: 26px;
}
.section-label > span {
  color: var(--muted);
  border-right: 1px solid var(--line);
  padding-right: 16px;
  letter-spacing: 0;
}
.intro {
  font-size: clamp(20px, 1.65vw, 24px);
  line-height: 1.55;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.section-heading > p {
  max-width: 440px;
  color: var(--muted);
}

/* Full brand + navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(119, 13, 23, 0.1);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: block;
  flex-shrink: 0;
  width: 204px;
  padding-block: 8px;
}
.brand img {
  width: 100%;
  height: 108px;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.6vw, 48px);
  margin-left: auto;
}
.desktop-nav a {
  font-size: 16px;
  position: relative;
  padding-block: 14px;
  white-space: nowrap;
}
.desktop-nav a::after {
  position: absolute;
  content: "";
  height: 1px;
  bottom: 7px;
  left: 0;
  width: 0;
  background: var(--wine);
  transition: width 0.2s;
}
.desktop-nav a:hover {
  color: var(--wine);
}
.desktop-nav a:hover::after {
  width: 100%;
}
.header-contact {
  margin-left: 14px;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  padding: 12px 16px;
  min-height: 48px;
  font-size: 16px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.icon-button:hover {
  background: var(--rose);
  color: var(--wine);
}

/* Hero is fluid across wide desktops and becomes a vertical composition on phones. */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--wine-deep);
  color: white;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(40, 9, 13, 0.97) 0%,
    rgba(40, 9, 13, 0.89) 25%,
    rgba(40, 9, 13, 0.42) 53%,
    rgba(40, 9, 13, 0) 78%
  );
  z-index: -1;
}
.hero-inner {
  min-height: clamp(670px, 44.5vw, 860px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 64px 88px;
  position: relative;
}
.hero-copy {
  width: 53%;
  max-width: 800px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 32px;
  font-weight: 600;
}
.small-line {
  width: 32px;
  height: 1px;
  background: #d5b6b2;
  flex-shrink: 0;
}
.hero-lead {
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.5;
  margin-top: 24px;
}
.hero-description {
  font-size: 17px;
  max-width: 390px;
  color: #eee0dc;
  line-height: 1.65;
  margin-top: 20px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 30px;
  margin-top: 32px;
}
.hero-discover {
  position: absolute;
  bottom: 26px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #f3dfda;
  letter-spacing: 0.03em;
  min-height: 28px;
}
.hero-discover .icon {
  width: 17px;
  height: 17px;
}
.vertical-line {
  height: 25px;
  width: 1px;
  background: #c79996;
}
.origin-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.origin-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  font-size: 14px;
}
.origin-inner > span,
.origin-inner > a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.origin-inner > span:nth-child(2) {
  border-inline: 1px solid var(--line);
  padding-inline: clamp(24px, 5vw, 100px);
}
.origin-inner > a {
  color: var(--wine);
}
.origin-inner .icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

/* The cabanha and the breed */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
}
.about-copy h2 {
  margin-bottom: 28px;
}
.about-copy > p:not(.section-label) {
  color: var(--muted);
}
.about-copy .intro {
  color: var(--ink) !important;
}
.about-copy .text-link {
  margin-top: 24px;
}
.about-figure {
  position: relative;
  padding-bottom: 24px;
}
.about-figure > img {
  width: 100%;
  height: clamp(400px, 36vw, 610px);
  object-fit: cover;
  border-radius: var(--radius);
}
.about-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 18px;
}
.image-note {
  position: absolute;
  bottom: 90px;
  left: -24px;
  padding: 22px 30px;
  background: white;
  border-left: 3px solid var(--wine);
  box-shadow: 0 10px 35px #241d1e0a;
  display: flex;
  flex-direction: column;
  font-size: 15px;
}
.image-note strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: var(--wine);
}
.creation-section {
  background: var(--surface);
}
.creation-layout {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: stretch;
}
.creation-visual {
  position: relative;
  min-height: 580px;
}
.creation-visual > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  font-size: 14px;
  padding: 56px 28px 24px;
  background: linear-gradient(transparent, #160f0dc9);
}
.creation-details {
  display: grid;
  gap: 28px;
  padding-block: 4px;
}
.creation-details article + article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.detail-number {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  margin-bottom: 12px;
}
.creation-details h3 {
  margin-bottom: 14px;
}
.creation-details p {
  font-size: 17px;
  color: var(--muted);
}

/* Cleopatra: an editorial award panel, without an invented animal portrait. */
.champion-section {
  background: var(--wine);
  color: white;
  padding-block: var(--section);
  position: relative;
  overflow: hidden;
}
.champion-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.champion-seal {
  position: relative;
  text-align: center;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #ffffff45;
  padding: 36px 22px;
  background: radial-gradient(ellipse at center, #ad3a421f, transparent 65%);
}
.champion-seal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #ffffff1f;
  pointer-events: none;
}
.seal-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ead0c7;
}
.laurel {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  height: 106px;
  margin-top: 16px;
}
.laurel-branch {
  width: 36px;
  height: 64px;
}
.laurel-branch:last-child {
  transform: scaleX(-1);
}
.trophy {
  width: 52px;
  height: 52px;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
  stroke-linejoin: round;
}
.seal-title {
  font: 600 clamp(62px, 5.2vw, 94px) / 1 var(--serif);
  letter-spacing: -0.04em;
}
.seal-event {
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 18px;
}
.seal-year {
  font: 600 44px/1.4 var(--serif);
  letter-spacing: 0.1em;
  color: var(--gold);
}
.seal-rule {
  width: 52px;
  height: 1px;
  background: #ffffff50;
  margin-block: 20px;
}
.seal-name {
  font: 600 32px/1.1 var(--serif);
  font-style: italic;
}
.champion-copy .section-label {
  color: #f0cbbb;
}
.champion-copy .section-label > span {
  color: #e5bcb1;
  border-color: #ffffff45;
}
.champion-copy h2 {
  font-size: clamp(44px, 4.3vw, 76px);
  margin-bottom: 28px;
}
.champion-copy > .intro {
  color: white;
  font-size: 24px;
}
.champion-copy > p:not(.section-label):not(.intro) {
  color: #f1deda;
}
.award-details {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 24px;
  padding-block: 28px;
  margin-top: 28px;
  border-block: 1px solid #ffffff40;
}
.award-details span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.award-details small {
  font-size: 13px;
  color: #e8c3b9;
}
.award-details strong {
  font-size: 16px;
  font-weight: 600;
}
.champion-copy .text-link {
  margin-top: 24px;
}

/* Plantel: real counts, editable slots and category filters. */
.herd-summary {
  display: flex;
  gap: 44px;
  text-align: center;
  padding-right: 16px;
}
.herd-summary > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 100px;
}
.herd-summary > div + div {
  border-left: 1px solid var(--line);
  padding-left: 44px;
}
.herd-summary strong {
  font: 600 78px/0.95 var(--serif);
  color: var(--wine);
  letter-spacing: -0.05em;
}
.herd-summary span {
  font-size: 15px;
  color: var(--muted);
}
.plantel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 8px 32px;
}
.plantel-toolbar > p {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
}
.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.filter-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 4px;
  font-size: 15px;
}
.filter-button span {
  font-size: 13px;
  opacity: 0.8;
}
.filter-button:hover {
  border-color: var(--wine);
  color: var(--wine);
}
.filter-button[aria-pressed="true"] {
  background: var(--wine);
  color: white;
  border-color: var(--wine);
}
.plantel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.animal-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid #e5dbd7;
  padding: 30px;
  min-height: 280px;
  border-radius: var(--radius);
}
.animal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
}
.animal-category {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
}
.profile-soon {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.animal-card h3 {
  font-size: 36px;
  margin-bottom: 14px;
}
.animal-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.animal-footnote {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
}
.animal-card .text-link {
  margin-top: auto;
  font-size: 14px;
  padding-top: 20px;
}
.animal-featured {
  background: var(--wine);
  color: white;
  border-color: var(--wine);
}
.animal-featured h3 {
  font-size: 46px;
}
.animal-featured .animal-category,
.animal-featured p {
  color: #f2dcd4;
}
.animal-featured .animal-top > .icon {
  color: var(--gold);
}
.animal-sire {
  background: white;
  border-color: #b58c88;
}
.plantel-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 26px;
}
.plantel-contact p {
  font-size: 16px;
  color: var(--muted);
}
.plantel-contact a {
  white-space: nowrap;
}

/* Gallery and frequently asked questions */
.gallery-section {
  background: var(--surface);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 20px;
}
.gallery-item {
  padding: 0;
  border: 0;
  position: relative;
  overflow: hidden;
  background: var(--wine-deep);
  color: white;
  text-align: left;
  border-radius: var(--radius);
}
.gallery-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover > img {
  transform: scale(1.035);
}
.gallery-wide {
  grid-row: span 2;
}
.gallery-item:last-child > img {
  object-position: 78% 46%;
}
.gallery-item > span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 60px 28px 24px;
  font-size: 16px;
  background: linear-gradient(transparent, #1c140fe0);
}
.gallery-item .icon {
  width: 20px;
  height: 20px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 120px);
}
.faq-layout h2 {
  margin-bottom: 24px;
}
.faq-layout > div > p:not(.section-label) {
  max-width: 370px;
  color: var(--muted);
  font-size: 17px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  color: var(--wine);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list details > p {
  font-size: 17px;
  color: var(--muted);
  padding-bottom: 26px;
  max-width: 62ch;
}
.faq-list a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--wine);
}

/* Contact and footer */
.contact-section {
  background: var(--wine-deep);
  color: white;
  padding-block: 80px;
}
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}
.contact-inner .section-label {
  color: #e7bcae;
}
.contact-inner h2 {
  font-size: clamp(44px, 4.5vw, 80px);
  margin-bottom: 24px;
}
.contact-inner p:not(.section-label) {
  font-size: 18px;
  color: #f0d9d2;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.contact-actions .button {
  padding: 20px 28px;
}
.contact-actions > .text-link {
  margin-top: 8px;
}
.site-footer {
  padding-top: 40px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 32px;
}
.footer-brand {
  width: 190px;
}
.footer-main > p {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  color: var(--wine);
}
.footer-main nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 36px;
  font-size: 15px;
}
.footer-main nav a {
  padding-block: 5px;
}
.footer-main nav a:hover {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  min-height: 44px;
}
.back-top > .icon {
  transform: rotate(180deg);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  font-size: 13px;
  color: var(--muted);
}

/* Dialogs remain truly hidden until showModal() sets open. */
dialog {
  border: 0;
}
dialog::backdrop {
  background: #200a11b8;
  backdrop-filter: blur(5px);
}
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(440px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  background: white;
  padding: 24px 28px;
  color: var(--wine);
  overflow-y: auto;
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 26px;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-block: 18px 28px;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  font-family: var(--serif);
  font-size: 32px;
  border-bottom: 1px solid #e8dedb;
}
.mobile-menu nav a > span {
  font: 400 13px var(--sans);
  color: var(--muted);
}
.mobile-menu > .button {
  width: 100%;
  margin-bottom: 16px;
}
.mobile-menu > .text-link {
  font-size: 15px;
}
.gallery-dialog {
  position: fixed;
  inset: 0;
  max-width: calc(100% - 32px);
  width: 1200px;
  max-height: calc(100dvh - 32px);
  padding: 56px 24px 20px;
  background: #201719;
  color: white;
  border-radius: 4px;
  overflow: auto;
}
.gallery-dialog figure > img {
  max-height: calc(100dvh - 210px);
  width: 100%;
  object-fit: contain;
  min-height: 120px;
}
.gallery-dialog figcaption {
  font-size: 16px;
  text-align: center;
  margin-top: 18px;
}
.lightbox-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-color: #ffffff50;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 16px;
  font-size: 14px;
}
.gallery-controls > .icon-button {
  border-color: #ffffff50;
}

@media (min-width: 1800px) {
  .hero-copy {
    width: 48%;
  }
  .hero-description {
    font-size: 20px;
    max-width: 480px;
  }
  .hero-actions {
    margin-top: 40px;
  }
  .about-copy > p:not(.section-label) {
    font-size: 20px;
  }
  .creation-details p {
    font-size: 19px;
  }
  .animal-card {
    padding: 36px;
    min-height: 300px;
  }
  .gallery-grid {
    grid-template-rows: 330px 330px;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    gap: 24px;
  }
  .desktop-nav {
    gap: 24px;
  }
  .header-contact {
    margin-left: 0;
    padding-inline: 18px;
  }
  .brand {
    width: 180px;
  }
  .plantel-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .champion-layout {
    gap: 48px;
  }
  .award-details {
    gap: 16px;
    grid-template-columns: 1fr 1fr;
  }
  .award-details > span:last-child {
    grid-column: 1 / -1;
  }
  .footer-main {
    flex-wrap: wrap;
  }
  .origin-inner > span:nth-child(2) {
    padding-inline: 24px;
  }
  .origin-inner {
    gap: 16px;
    font-size: 13px;
  }
  .hero-actions {
    gap: 16px 24px;
  }
  .creation-visual {
    min-height: 620px;
  }
}
@media (max-width: 1099px) {
  :root {
    --header-height: 108px;
    --gutter: 64px;
  }
  .header-inner {
    justify-content: space-between;
  }
  .brand {
    width: 166px;
  }
  .brand img {
    height: 91px;
  }
  .desktop-nav {
    display: none;
  }
  .header-contact {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-inner {
    min-height: 700px;
  }
  .hero-copy {
    width: 59%;
  }
  .hero h1 {
    font-size: 74px;
  }
  .hero-image {
    object-position: 68% center;
  }
  .hero::before {
    background: linear-gradient(
      90deg,
      #28090df5 0%,
      #28090dd9 25%,
      #28090d59 70%,
      transparent
    );
  }
  .hero-actions {
    max-width: 330px;
  }
  .hero-discover {
    font-size: 12px;
  }
  .origin-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 18px;
    gap: 12px 22px;
  }
  .origin-inner > span:nth-child(2) {
    border-right: 0;
  }
  .origin-inner > a {
    justify-content: center;
  }
  .about-grid {
    gap: 40px;
  }
  .about-figure > img {
    height: 530px;
  }
  .about-figure figcaption {
    flex-direction: column;
    gap: 4px;
  }
  .creation-layout {
    gap: 40px;
  }
  .champion-copy > .intro {
    font-size: 21px;
  }
  .champion-seal {
    min-height: 480px;
  }
  .seal-event {
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .champion-copy h2 {
    font-size: 48px;
  }
  .plantel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid {
    grid-template-rows: 240px 240px;
  }
  .contact-inner {
    gap: 32px;
  }
  .contact-actions .button {
    padding: 18px;
    font-size: 15px;
  }
  .contact-inner .section-label {
    font-size: 12px;
  }
  .footer-main > p {
    display: none;
  }
}
@media (max-width: 767px) {
  :root {
    --header-height: 100px;
    --gutter: 40px;
    --section: 64px;
  }
  body {
    font-size: 16px;
    line-height: 1.7;
  }
  h1 {
    font-size: 58px;
  }
  h2 {
    font-size: 46px;
  }
  .header-inner {
    gap: 16px;
  }
  .brand {
    width: 150px;
    padding-block: 5px;
  }
  .brand img {
    height: 88px;
  }
  .header-contact {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .section-label {
    font-size: 12px;
    letter-spacing: 0.13em;
    margin-bottom: 22px;
  }
  .section-heading {
    display: block;
    margin-bottom: 32px;
  }
  .section-heading > p {
    margin-top: 24px;
    font-size: 16px;
  }
  .section-heading > .text-link {
    margin-top: 24px;
  }
  .intro {
    font-size: 20px;
  }
  .button {
    min-height: 54px;
    font-size: 16px;
  }
  .hero-image {
    height: 360px;
    object-position: 72% 35%;
    object-fit: cover;
    top: 0;
    bottom: auto;
  }
  .hero::before {
    background: linear-gradient(
      0deg,
      var(--wine-deep) 0%,
      var(--wine-deep) 48%,
      #28090df5 59%,
      #28090d18 87%,
      #28090d0a 100%
    );
  }
  .hero-inner {
    min-height: 0;
    padding-top: 265px;
    padding-bottom: 36px;
  }
  .hero-copy {
    width: 100%;
    max-width: 500px;
  }
  .hero h1 {
    font-size: clamp(52px, 11.5vw, 80px);
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    gap: 12px;
  }
  .small-line {
    width: 20px;
  }
  .hero-lead {
    margin-top: 22px;
    font-size: 21px;
  }
  .hero-description {
    font-size: 16px;
    margin-top: 16px;
    max-width: 380px;
  }
  .hero-actions {
    margin-top: 26px;
    gap: 16px 24px;
    max-width: none;
  }
  .hero-actions > .button {
    padding-inline: 22px;
  }
  .hero-actions > .text-link {
    font-size: 15px;
  }
  .hero-discover {
    display: none;
  }
  .origin-inner {
    justify-content: flex-start;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 22px;
    font-size: 14px;
  }
  .origin-inner > span:nth-child(2) {
    border: 0;
    padding: 0 0 0 30px;
  }
  .origin-inner > a {
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-top: 2px;
    gap: 10px;
    font-size: 13px;
  }
  .about-grid,
  .creation-layout,
  .champion-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .about-grid {
    gap: 36px;
  }
  .about-copy h2 {
    margin-bottom: 24px;
  }
  .about-copy > p:not(.section-label) {
    font-size: 16px;
  }
  .about-copy > .intro {
    font-size: 20px !important;
  }
  .about-copy .text-link {
    margin-top: 20px;
  }
  .about-figure > img {
    height: auto;
    aspect-ratio: 1.18;
    object-fit: cover;
  }
  .about-figure {
    padding-bottom: 0;
  }
  .about-figure figcaption {
    font-size: 12px;
  }
  .image-note {
    left: -6px;
    bottom: 78px;
    padding: 16px 22px;
    font-size: 13px;
  }
  .image-note strong {
    font-size: 28px;
  }
  .creation-layout {
    gap: 32px;
  }
  .creation-visual {
    min-height: 0;
    aspect-ratio: 1.2;
  }
  .creation-details {
    gap: 24px;
  }
  .creation-details article + article {
    padding-top: 24px;
  }
  .creation-details h3 {
    font-size: 34px;
  }
  .creation-details p {
    font-size: 16px;
  }
  .photo-label {
    font-size: 13px;
    padding: 48px 20px 20px;
  }
  .champion-layout {
    gap: 40px;
  }
  .champion-copy {
    grid-row: 1;
  }
  .champion-copy h2 {
    font-size: 46px;
  }
  .champion-copy > .intro {
    font-size: 21px;
  }
  .champion-copy > p:not(.section-label) {
    font-size: 16px;
  }
  .award-details {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-block: 22px;
    margin-top: 24px;
  }
  .award-details > span:last-child {
    grid-column: auto;
  }
  .award-details small {
    font-size: 12px;
  }
  .award-details strong {
    font-size: 15px;
  }
  .champion-copy .text-link {
    font-size: 15px;
  }
  .champion-seal {
    min-height: 430px;
  }
  .seal-title {
    font-size: 76px;
  }
  .seal-event {
    font-size: 15px;
  }
  .herd-summary {
    justify-content: flex-start;
    text-align: left;
    gap: 32px;
    margin-top: 32px;
    padding: 0;
  }
  .herd-summary > div {
    min-width: 90px;
  }
  .herd-summary > div + div {
    padding-left: 32px;
  }
  .herd-summary strong {
    font-size: 64px;
  }
  .herd-summary span {
    font-size: 14px;
  }
  .plantel-toolbar {
    padding-top: 0;
    padding-bottom: 24px;
    gap: 24px;
  }
  .plantel-toolbar > p {
    font-size: 16px;
  }
  .filter-group {
    gap: 8px;
    flex-shrink: 1;
  }
  .filter-button {
    font-size: 14px;
    padding: 11px 13px;
    gap: 6px;
  }
  .plantel-grid {
    gap: 14px;
  }
  .animal-card {
    padding: 24px;
    min-height: 280px;
  }
  .animal-card h3 {
    font-size: 32px;
  }
  .animal-featured h3 {
    font-size: 42px;
  }
  .animal-top {
    margin-bottom: 24px;
  }
  .plantel-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
  }
  .plantel-contact p {
    font-size: 15px;
  }
  .plantel-contact a {
    white-space: normal;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 240px;
    gap: 14px;
  }
  .gallery-wide {
    grid-column: span 2;
    grid-row: auto;
  }
  .gallery-item > span {
    font-size: 14px;
    line-height: 1.4;
    padding: 50px 18px 18px;
  }
  .gallery-item:not(.gallery-wide) > span .icon {
    display: none;
  }
  .gallery-item:last-child > img {
    object-position: 75%;
  }
  .faq-layout {
    gap: 32px;
  }
  .faq-layout h2 {
    margin-bottom: 20px;
  }
  .faq-layout > div > p:not(.section-label) {
    font-size: 16px;
  }
  .faq-list summary {
    font-size: 16px;
    padding-block: 22px;
    gap: 16px;
  }
  .faq-list details > p {
    font-size: 16px;
  }
  .contact-section {
    padding-block: 56px;
  }
  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
  }
  .contact-inner h2 {
    font-size: 46px;
  }
  .contact-inner .section-label {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .contact-inner p:not(.section-label) {
    font-size: 16px;
  }
  .contact-actions {
    align-items: flex-start;
    width: 100%;
    gap: 16px;
  }
  .contact-actions .button {
    font-size: 16px;
    padding: 18px 20px;
  }
  .contact-actions .text-link {
    margin-top: 4px;
  }
  .site-footer {
    padding-top: 28px;
  }
  .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
    align-items: center;
  }
  .footer-brand {
    width: 150px;
  }
  .footer-brand img {
    height: 98px;
  }
  .footer-main nav {
    gap: 8px 24px;
    font-size: 14px;
    grid-template-columns: 1fr;
  }
  .back-top {
    grid-column: 1 / -1;
    justify-content: flex-start;
    font-size: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    padding-block: 22px;
  }
  .gallery-dialog {
    padding: 56px 16px 20px;
  }
  .gallery-dialog figcaption {
    font-size: 15px;
  }
  .mobile-menu {
    padding: 20px 24px;
  }
}
@media (max-width: 479px) {
  .plantel-grid {
    grid-template-columns: 1fr;
  }
  .animal-card {
    min-height: 260px;
    padding: 26px;
  }
  .animal-card h3 {
    font-size: 36px;
  }
  .animal-featured h3 {
    font-size: 46px;
  }
  .animal-category,
  .profile-soon {
    font-size: 13px;
  }
  .animal-card p {
    font-size: 16px;
  }
  .animal-footnote {
    font-size: 13px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 260px 260px;
  }
  .gallery-wide {
    grid-column: auto;
  }
  .gallery-item:not(.gallery-wide) > span .icon {
    display: block;
  }
  .gallery-item > span {
    font-size: 16px;
  }
  .gallery-item:last-child > img {
    object-position: 75%;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }
  .origin-inner > a {
    font-size: 12px;
  }
  .contact-actions > .button {
    width: 100%;
    gap: 12px;
    font-size: 15px;
  }
  .contact-actions > .button > .icon:last-child {
    margin-left: auto;
  }
}
@media (max-width: 359px) {
  :root {
    --gutter: 32px;
  }
  .brand {
    width: 132px;
  }
  .menu-toggle {
    padding-inline: 12px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-image {
    height: 330px;
  }
  .hero-inner {
    padding-top: 245px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .filter-button {
    padding-inline: 10px;
    font-size: 13px;
  }
  .filter-group {
    gap: 6px;
  }
  .contact-actions > .button {
    font-size: 14px;
    padding-inline: 14px;
  }
  .section-label {
    font-size: 11px;
  }
  .award-details {
    grid-template-columns: 1fr 1fr;
  }
  .seal-event {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .gallery-item:hover > img,
  .button:hover {
    transform: none;
  }
}

/* Fotografias reais do plantel, preservadas por inteiro. */
.animal-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f3eee7;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.animal-card h3 {
  overflow-wrap: anywhere;
}

/* Social actions: one component, two surface treatments. */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid var(--wine);
  border-radius: var(--radius);
  background: var(--wine);
  color: white;
  font: 600 16px/1.4 var(--sans);
  text-decoration: none;
  transition: background 0.2s;
}
.social-link:hover {
  background: var(--wine-dark);
}
.social-link .social-external {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}
.champion-section .social-link,
.contact-section .social-link {
  background: white;
  color: var(--wine);
  border-color: white;
}
.champion-section .social-link:hover,
.contact-section .social-link:hover {
  background: var(--rose);
  border-color: var(--rose);
}
.champion-copy .social-link {
  margin-top: 28px;
}
.contact-actions > .social-link {
  width: 100%;
}
.contact-actions {
  min-width: min(340px, 100%);
}
/* Contact buttons show the channel and its readable value (phone, handle, e-mail). */
.contact-link {
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 22px;
  text-align: left;
}
.contact-link-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.contact-link-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.contact-link-value {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.contact-link-value:empty {
  display: none;
}
.contact-link-text:has(.contact-link-value:empty) .contact-link-label {
  color: inherit;
  font-size: 16px;
  letter-spacing: 0;
}
.mobile-menu > .social-link {
  display: flex;
  width: 100%;
  margin-block: 16px;
}
.faq-list .social-link {
  text-decoration: none;
  color: white;
  margin-block: 8px;
}
.animal-photo-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
}
.animal-photo-button img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
}
.animal-card > .animal-photo-button {
  margin-bottom: 24px;
}
.photo-enlarge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wine-deep);
  color: white;
  font: 400 13px/1.5 var(--sans);
  padding: 10px;
  min-height: 40px;
}
.animal-photo-button:hover .photo-enlarge {
  background: var(--wine-dark);
}
.champion-portrait {
  min-width: 0;
}
.champion-portrait figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #ffffff45;
}
.champion-portrait figcaption > .icon {
  color: var(--gold);
}
.champion-portrait strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.champion-portrait small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #f0d9d2;
}
.location-section.has-map {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.location-copy address {
  white-space: pre-line;
  font-style: normal;
  margin-block: 26px 20px;
  font-size: 18px;
}
.location-copy p:not(.section-label) {
  color: var(--muted);
  margin-bottom: 24px;
}
.location-copy > .text-link {
  display: flex;
  margin-top: 18px;
}
.location-map {
  min-height: 420px;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-intro {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  padding: 32px;
  text-align: center;
}
.map-intro > .icon {
  width: 36px;
  height: 36px;
  color: var(--wine);
}
.location-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
}
@media (max-width: 767px) {
  .social-link.header-contact {
    display: none;
  }
  .section-heading > .social-link {
    margin-top: 24px;
  }
  .location-section.has-map {
    grid-template-columns: 1fr;
  }
  .location-map,
  .location-map iframe,
  .map-intro {
    min-height: 340px;
  }
  .contact-actions {
    min-width: 0;
  }
  .plantel-contact > .social-link {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-link {
    transition: none;
  }
}
