:root {
  --ink: #20241f;
  --muted: #687064;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #ded8ca;
  --brand: #273f2f;
  --brand-2: #48613f;
  --accent: #8a2f2a;
  --gold: #b98b3d;
  --soft: #f0eee6;
  --focus: #0f62fe;
  --shadow: 0 18px 45px rgba(32, 36, 31, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
iframe,
object {
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin-inline: auto;
}

.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: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(39, 63, 47, 0.14);
  backdrop-filter: blur(16px);
}

.top-strip {
  background: var(--brand);
  color: #edf4ec;
  font-size: 0.82rem;
}

.top-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
}

.top-strip span {
  white-space: nowrap;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  gap: 16px;
  max-width: 1420px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 212px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav > a,
.nav-group > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 8px;
  border-radius: 6px;
  color: #253329;
  white-space: nowrap;
}

.site-nav > a:hover,
.nav-group:hover > a,
.site-nav a.is-active {
  background: #edf1e9;
  color: var(--brand);
}

.nav-group {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nav-group::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 250px;
  padding: 10px;
  border: 1px solid rgba(39, 63, 47, 0.16);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-panel--wide {
  min-width: 340px;
}

.nav-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #2b342e;
  font-weight: 650;
}

.nav-panel a:hover {
  background: var(--soft);
}

.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-cta {
  margin-left: 6px;
  background: var(--accent);
  color: #fff !important;
}

.nav-cta:hover {
  background: #6f2521 !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--brand);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(820px, 78svh);
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--brand);
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 24, 19, 0.8), rgba(20, 24, 19, 0.46) 48%, rgba(20, 24, 19, 0.12)),
    linear-gradient(0deg, rgba(20, 24, 19, 0.62), rgba(20, 24, 19, 0.06) 50%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: 1180px;
  margin-inline: auto;
  padding: 92px 0 44px;
}

.hero__content {
  max-width: min(790px, 100%);
  color: #fff;
  overflow-wrap: break-word;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--accent);
  color: #fff;
}

.button--primary:hover {
  background: #6f2521;
  color: #fff;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.button--dark {
  background: var(--brand);
  color: #fff;
}

.button--ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--brand);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.hero-kpis div {
  min-height: 108px;
  padding: 22px;
  color: #fff;
  background: rgba(20, 24, 19, 0.2);
}

.hero-kpis strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-kpis span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.section {
  padding: 92px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--surface {
  background: var(--soft);
  border-block: 1px solid rgba(39, 63, 47, 0.1);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.card-grid,
.feature-grid,
.document-grid,
.news-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(5, 1fr);
}

.document-grid {
  grid-template-columns: repeat(4, 1fr);
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.content-card,
.feature-card,
.document-card,
.news-card,
.fact-card {
  border: 1px solid rgba(39, 63, 47, 0.12);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(32, 36, 31, 0.06);
}

.content-card,
.feature-card,
.document-card,
.fact-card {
  padding: 24px;
}

.content-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.content-card h3,
.feature-card h3,
.document-card h3,
.fact-card h3,
.news-card h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

.content-card p,
.feature-card p,
.document-card p,
.fact-card p,
.news-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.content-card a,
.document-card a,
.news-card a {
  margin-top: auto;
  padding-top: 20px;
  color: var(--brand);
  font-weight: 850;
}

.feature-card {
  min-height: 250px;
}

.feature-card::before,
.document-card::before,
.fact-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 4px;
  background: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.split-media {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.split-content h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
}

.split-content p {
  color: var(--muted);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 24px 0;
}

.logo-row img {
  width: auto;
  max-height: 92px;
  object-fit: contain;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: #fff;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 42px;
  align-items: end;
  min-height: 380px;
  padding: 72px 0 54px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}

.page-hero p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.page-hero__image {
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #fff;
  font-weight: 800;
}

.article-shell .breadcrumb {
  color: var(--muted);
}

.article-shell .breadcrumb a {
  color: var(--brand);
}

.page-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.side-nav h2 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.side-nav a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid rgba(39, 63, 47, 0.1);
  color: var(--brand);
  font-weight: 750;
}

.article-shell {
  min-width: 0;
  border-radius: var(--radius);
}

.prose {
  color: #29302a;
  font-size: 1.04rem;
}

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

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  margin: 1.4em 0 0.55em;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0;
}

.prose h1,
.prose h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.prose p {
  margin: 0 0 1.05em;
}

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

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

.prose li + li {
  margin-top: 0.35em;
}

.prose img {
  display: block;
  max-width: 100%;
  border-radius: var(--radius);
}

.prose figure {
  margin: 24px 0;
}

.prose video,
.prose iframe,
.prose object {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.94rem;
}

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

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

.prose td:first-child,
.prose th:first-child {
  width: 42%;
  color: var(--brand);
  font-weight: 800;
}

.wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wp-block-gallery figure {
  margin: 0;
}

.page-catalogo-de-sementales-2 .page-layout {
  grid-template-columns: 1fr;
}

.page-catalogo-de-sementales-2 .side-nav {
  display: none;
}

.page-catalogo-de-sementales-2 .prose {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-catalogo-de-sementales-2 .prose > .wp-block-group,
.page-catalogo-de-sementales-2 .prose > div.wp-block-group {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(32, 36, 31, 0.06);
}

.page-catalogo-de-sementales-2 .prose figure {
  margin: 0 0 14px;
}

.page-catalogo-de-sementales-2 .prose img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-catalogo-de-sementales-2 .prose h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.page-catalogo-de-sementales-2 .prose table {
  font-size: 0.86rem;
}

.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
}

.chip.is-active,
.chip:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-card__image {
  aspect-ratio: 16 / 10;
  background: var(--brand);
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 250ms ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.03);
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.post-header {
  margin-bottom: 34px;
}

.post-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.04;
}

.post-image {
  margin: 26px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.post-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
}

.form-panel {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.form-panel h2 {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--brand);
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.check-field {
  display: flex;
  align-items: start;
  gap: 10px;
  grid-column: 1 / -1;
  color: var(--muted);
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-status {
  margin: 12px 0 0;
  color: var(--brand);
  font-weight: 800;
}

.media-placeholder {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 0.94rem;
}

.empty-state {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.site-footer {
  background: #17231b;
  color: #e8ece6;
}

.footer-visual {
  min-height: 190px;
  background-image:
    linear-gradient(0deg, rgba(23, 35, 27, 0.78), rgba(23, 35, 27, 0.34)),
    url("../assets/images/footer-hero-big.jpg");
  background-position: center;
  background-size: cover;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px 0 34px;
}

.footer-logo {
  width: 220px;
  height: auto;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
}

.site-footer p {
  max-width: 340px;
  color: rgba(232, 236, 230, 0.76);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: rgba(232, 236, 230, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(232, 236, 230, 0.16);
  color: rgba(232, 236, 230, 0.62);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1120px) {
  .brand img {
    width: 188px;
  }

  .site-nav {
    font-size: 0.86rem;
  }

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

  .page-catalogo-de-sementales-2 .prose {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .container,
  .hero__inner {
    width: calc(100% - 28px);
    max-width: 1180px;
  }

  .top-strip {
    display: none;
  }

  .nav-shell {
    min-height: 68px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    max-height: calc(100svh - 68px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: auto;
    padding: 16px 20px 26px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .menu-open .site-nav {
    display: flex;
  }

  .site-nav > a,
  .nav-group > a {
    min-height: 48px;
    padding: 0 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-group {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-group::after {
    display: none;
  }

  .nav-panel,
  .nav-panel--wide {
    position: static;
    min-width: 0;
    padding: 2px 0 8px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-panel a {
    padding: 8px 0;
    color: var(--muted);
  }

  .nav-cta {
    margin: 14px 0 0;
    justify-content: center;
    border-radius: 0 !important;
  }

  .hero {
    min-height: 760px;
  }

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

  .section {
    padding: 70px 0;
  }

  .section-head,
  .split,
  .page-hero__inner,
  .page-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
  }

  .card-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .side-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .brand img {
    width: 168px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__inner {
    padding: 72px 0 28px;
  }

  .hero-kpis,
  .card-grid,
  .feature-grid,
  .document-grid,
  .news-grid,
  .page-catalogo-de-sementales-2 .prose,
  .form-grid,
  .wp-block-gallery {
    grid-template-columns: 1fr;
  }

  .hero-kpis div {
    min-height: 92px;
    padding: 18px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .split-media,
  .split-media img {
    min-height: 320px;
  }

  .page-hero__inner {
    min-height: 0;
    padding: 48px 0 38px;
  }

  .page-hero__image {
    min-height: 190px;
  }

  .content-card,
  .feature-card,
  .document-card,
  .fact-card,
  .news-card__body,
  .form-panel {
    padding: 18px;
  }

  .prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .footer-bottom {
    display: block;
  }
}

/* Rediseño 2026 B: minimalista, suave y redondeado. */
:root {
  --ink: #1f241f;
  --muted: #697168;
  --paper: #f6f4ee;
  --surface: rgba(255, 255, 255, 0.86);
  --line: rgba(31, 36, 31, 0.12);
  --brand: #335f43;
  --brand-2: #78936d;
  --accent: #9c4b34;
  --gold: #b99054;
  --blue: #526f8f;
  --soft: #ece8dc;
  --focus: #2563eb;
  --shadow: 0 22px 70px rgba(31, 36, 31, 0.11);
  --radius: 26px;
}

*,
*::before,
*::after {
  border-radius: var(--radius) !important;
}

html {
  background: var(--paper);
}

body {
  background:
    radial-gradient(900px 520px at 14% -8%, rgba(120, 147, 109, 0.22), transparent 62%),
    radial-gradient(760px 520px at 92% 0%, rgba(185, 144, 84, 0.16), transparent 58%),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 42%, #efebe0 100%);
  color: var(--ink);
  font-size: 16px;
}

a:hover {
  color: var(--brand);
}

::selection {
  background: rgba(120, 147, 109, 0.32);
  color: var(--ink);
}

.container {
  max-width: 1160px;
}

#main:focus {
  outline: none;
}

.skip-link {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow);
}

.site-header {
  background: rgba(246, 244, 238, 0.76);
  border-bottom: 1px solid rgba(31, 36, 31, 0.08);
  backdrop-filter: blur(22px);
}

.top-strip {
  display: block;
  background: transparent;
  color: var(--muted);
  border-bottom: 1px solid rgba(31, 36, 31, 0.06);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.top-strip__inner {
  min-height: 34px;
  justify-content: space-between;
}

.top-strip span {
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-shell {
  width: calc(100% - 40px);
  min-height: 78px;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.brand img {
  width: 196px;
  filter: saturate(0.9);
}

.site-nav {
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: none;
}

.site-nav > a,
.nav-group > a {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  color: #2f382f;
}

.site-nav > a:hover,
.nav-group:hover > a,
.site-nav a.is-active {
  border-color: rgba(51, 95, 67, 0.16);
  background: rgba(51, 95, 67, 0.08);
  color: var(--brand);
  box-shadow: none;
}

.nav-panel {
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(31, 36, 31, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 55px rgba(31, 36, 31, 0.13);
  backdrop-filter: blur(18px);
}

.nav-panel a {
  border: 0;
  color: var(--ink);
}

.nav-panel a:hover {
  background: rgba(51, 95, 67, 0.08);
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(51, 95, 67, 0.24);
}

.nav-cta:hover {
  background: #264b34 !important;
  color: #fff !important;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(31, 36, 31, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(31, 36, 31, 0.1);
}

.menu-toggle span:not(.sr-only) {
  height: 2px;
  background: var(--ink);
}

.hero {
  min-height: min(790px, 80svh);
  align-items: end;
  border-bottom: 0;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(20, 28, 20, 0.68), rgba(20, 28, 20, 0.34) 54%, rgba(20, 28, 20, 0.1)),
    linear-gradient(0deg, rgba(20, 28, 20, 0.58), rgba(20, 28, 20, 0.04) 58%);
}

.hero::after {
  display: none;
}

.hero__inner {
  display: block;
  width: calc(100% - 40px);
  max-width: 1160px;
  padding: 118px 0 46px;
}

.hero__content {
  max-width: 780px;
  padding: 0;
  border-left: 0;
  color: #fff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 28px;
  height: 2px;
}

.hero h1,
.page-hero h1,
.section-head h2,
.split-content h2,
.post-header h1,
.prose h1,
.prose h2 {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: none;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(4.2rem, 11vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.hero__lead {
  max-width: 660px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.button-row {
  gap: 10px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(31, 36, 31, 0.12);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(31, 36, 31, 0.16);
}

.button--primary {
  background: #fff;
  color: var(--brand);
}

.button--primary:hover {
  background: #f4f7ef;
  color: var(--brand);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  backdrop-filter: blur(12px);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.button--dark {
  background: var(--brand);
  color: #fff;
}

.button--ghost {
  border-color: rgba(31, 36, 31, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
}

.hero-kpis {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 54px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-kpis div,
.hero-kpis div:nth-child(2),
.hero-kpis div:nth-child(3),
.hero-kpis div:nth-child(4) {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(16px);
}

.hero-kpis strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.hero-kpis span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.section {
  padding: 92px 0;
}

.section--surface {
  background: rgba(236, 232, 220, 0.7);
  border-block: 1px solid rgba(31, 36, 31, 0.08);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 0;
  border-bottom: 0;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.section-head p {
  color: var(--muted);
  font-weight: 500;
}

.card-grid,
.feature-grid,
.document-grid,
.news-grid {
  gap: 18px;
}

.content-card,
.feature-card,
.document-card,
.news-card,
.fact-card,
.side-nav,
.form-panel,
.empty-state {
  border: 1px solid rgba(31, 36, 31, 0.09);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.content-card:hover,
.feature-card:hover,
.document-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(31, 36, 31, 0.14);
}

.content-card,
.feature-card,
.document-card,
.fact-card {
  padding: 26px;
}

.content-card h3,
.feature-card h3,
.document-card h3,
.fact-card h3,
.news-card h3 {
  font-size: 1.18rem;
  font-weight: 820;
  text-transform: none;
}

.content-card p,
.feature-card p,
.document-card p,
.fact-card p,
.news-card p {
  color: var(--muted);
  font-weight: 500;
}

.content-card a,
.document-card a,
.news-card a {
  color: var(--brand);
  font-weight: 820;
  text-transform: none;
}

.feature-card::before,
.document-card::before,
.fact-card::before,
.feature-card:nth-child(even)::before,
.document-card:nth-child(even)::before {
  width: 34px;
  height: 4px;
  background: var(--gold);
}

.split {
  grid-template-columns: 1.03fr 0.97fr;
  gap: 48px;
}

.split-media {
  min-height: 540px;
  border: 0;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.split-media::after {
  display: none;
}

.split-content {
  padding: 0;
  border-left: 0;
}

.split-content h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.logo-row img {
  max-height: 92px;
  padding: 10px;
  border: 1px solid rgba(31, 36, 31, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(31, 36, 31, 0.09);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(51, 95, 67, 0.92), rgba(31, 36, 31, 0.84)),
    var(--brand);
  border-bottom: 0;
}

.page-hero__inner {
  grid-template-columns: 1fr 0.72fr;
  min-height: 390px;
  padding: 72px 0 54px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1;
  text-shadow: none;
}

.page-hero p {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero__image,
.post-image {
  border: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.breadcrumb {
  text-transform: none;
  font-weight: 750;
}

.page-layout {
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 42px;
}

.side-nav {
  top: 126px;
  padding: 18px;
}

.side-nav h2,
.site-footer h2 {
  color: var(--muted);
  font-weight: 850;
}

.side-nav a {
  padding: 10px 0;
  color: var(--brand);
  font-weight: 750;
  text-transform: none;
}

.side-nav a:hover {
  padding-left: 0;
  background: transparent;
  color: var(--accent);
}

.article-shell {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.prose {
  color: #29302a;
}

.prose h1,
.prose h2 {
  border-bottom: 1px solid rgba(31, 36, 31, 0.12);
  padding-bottom: 10px;
}

.prose h3,
.prose h4 {
  font-weight: 820;
  text-transform: none;
}

.prose a {
  color: var(--accent);
  text-decoration-thickness: 1px;
}

.prose img,
.prose video,
.prose iframe,
.prose object,
.prose table,
.page-catalogo-de-sementales-2 .prose > .wp-block-group,
.page-catalogo-de-sementales-2 .prose > div.wp-block-group {
  border: 1px solid rgba(31, 36, 31, 0.1);
  box-shadow: var(--shadow);
}

.prose td,
.prose th {
  border-color: rgba(31, 36, 31, 0.1);
}

.news-toolbar {
  padding: 16px;
  border: 1px solid rgba(31, 36, 31, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.chip {
  min-height: 36px;
  border: 1px solid rgba(31, 36, 31, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand);
  box-shadow: none;
  text-transform: none;
}

.chip.is-active,
.chip:hover {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.news-card__image {
  border-bottom: 1px solid rgba(31, 36, 31, 0.08);
  background: var(--soft);
}

.news-card__body {
  padding: 22px;
}

.meta {
  color: var(--muted);
  font-weight: 720;
  text-transform: none;
}

.post-header {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(31, 36, 31, 0.12);
}

.form-panel {
  padding: 26px;
}

.field input,
.field textarea,
.field select {
  border: 1px solid rgba(31, 36, 31, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.media-placeholder {
  border: 1px dashed rgba(31, 36, 31, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.site-footer {
  background: #20271f;
  border-top: 0;
  color: #edf0e9;
}

.footer-visual {
  min-height: 210px;
  border-bottom: 0;
  background-image:
    linear-gradient(0deg, rgba(32, 39, 31, 0.72), rgba(32, 39, 31, 0.18)),
    url("../assets/images/footer-hero-big.jpg");
}

.footer-logo {
  width: 220px;
  padding: 10px;
  border: 0;
  background: #fff;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(237, 240, 233, 0.14);
}

@media (max-width: 1240px) {
  .top-strip {
    display: none;
  }

  .nav-shell {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    inset: 72px 12px auto 12px;
    max-height: calc(100svh - 86px);
    padding: 12px;
    border: 1px solid rgba(31, 36, 31, 0.1);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(31, 36, 31, 0.16);
  }

  .site-nav > a,
  .nav-group > a {
    border-bottom: 1px solid rgba(31, 36, 31, 0.08);
  }

  .nav-panel,
  .nav-panel--wide {
    border: 0;
    box-shadow: none;
  }

  .nav-cta {
    border-radius: var(--radius) !important;
  }
}

@media (max-width: 900px) {
  .nav-shell {
    min-height: 72px;
  }

  .brand {
    box-shadow: none;
  }

  .hero__inner {
    padding: 80px 0 34px;
  }

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

  .section-head,
  .split,
  .page-hero__inner,
  .page-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-shell {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .container,
  .hero__inner {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 154px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 22vw, 5.4rem);
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  }

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

  .hero-kpis div,
  .hero-kpis div:nth-child(2),
  .hero-kpis div:nth-child(3),
  .hero-kpis div:nth-child(4),
  .hero-kpis div:nth-child(odd) {
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section {
    padding: 68px 0;
  }

  .section-head h2,
  .split-content h2,
  .page-hero h1 {
    line-height: 1.03;
  }

  .split-content {
    padding-left: 0;
  }
}

/* ACTIVO AHORA: cambio grande de composición, color y posiciones. */
:root {
  --ink: #13201a;
  --muted: #607166;
  --paper: #eef3ec;
  --surface: #fbfaf3;
  --line: rgba(19, 32, 26, 0.1);
  --brand: #0f5b47;
  --brand-2: #79a56e;
  --accent: #d75f3f;
  --gold: #efb95b;
  --blue: #527fa8;
  --soft: #dfe9da;
  --shadow: 0 28px 90px rgba(19, 32, 26, 0.13);
  --radius: 30px;
}

body {
  background:
    linear-gradient(90deg, rgba(15, 91, 71, 0.06) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, #f8f5ea 0%, var(--paper) 38%, #e2eddf 100%);
  color: var(--ink);
}

.site-header {
  top: 14px;
  width: calc(100% - 28px);
  margin-inline: auto;
  border: 1px solid rgba(19, 32, 26, 0.08);
  background: rgba(251, 250, 243, 0.88);
  box-shadow: 0 18px 60px rgba(19, 32, 26, 0.1);
}

.top-strip {
  display: none;
}

.nav-shell {
  min-height: 74px;
  width: calc(100% - 28px);
}

.brand img {
  width: 174px;
}

.nav-cta {
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(215, 95, 63, 0.24);
}

.hero {
  min-height: auto;
  padding: 132px 0 64px;
  background: transparent !important;
  overflow: visible;
}

.hero::before,
.hero::after {
  display: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: 26px;
  width: calc(100% - 40px);
  max-width: 1200px;
  padding: 0;
  align-items: stretch;
}

.hero__media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 34%, rgba(19, 32, 26, 0.18)),
    linear-gradient(90deg, rgba(19, 32, 26, 0.1), transparent 48%);
}

.hero__media-label {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 1;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 18px 20px;
  background: rgba(251, 250, 243, 0.88);
  box-shadow: 0 18px 42px rgba(19, 32, 26, 0.16);
  backdrop-filter: blur(18px);
}

.hero__media-label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__media-label strong {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.25rem;
  line-height: 0.9;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  min-height: 650px;
  padding: 48px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero h1 {
  max-width: 100%;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(4.6rem, 10vw, 8.9rem);
  line-height: 0.86;
  text-shadow: none;
}

.hero__lead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
}

.button--primary {
  background: var(--brand);
  color: #fff;
}

.button--secondary {
  background: #e8efe2;
  color: var(--brand);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
  padding-top: 44px;
}

.hero-kpis div,
.hero-kpis div:nth-child(2),
.hero-kpis div:nth-child(3),
.hero-kpis div:nth-child(4),
.hero-kpis div:nth-child(odd) {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(19, 32, 26, 0.08);
  background: #eef3ec;
  color: var(--ink);
  backdrop-filter: none;
}

.hero-kpis div:nth-child(2) {
  background: #fff3df;
}

.hero-kpis div:nth-child(3) {
  background: #e4eef7;
}

.hero-kpis div:nth-child(4) {
  background: #f8e3d8;
}

.hero-kpis strong {
  color: var(--brand);
}

.hero-kpis span {
  color: var(--muted);
}

.section--surface {
  background: #13201a;
  color: #f7f5ec;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.42fr);
  align-items: start;
}

.card-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.document-grid {
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr;
}

.news-grid {
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
}

.content-card:first-child {
  background: var(--brand);
  color: #fff;
}

.content-card:first-child p,
.content-card:first-child a {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  grid-template-columns: minmax(360px, 0.76fr) minmax(0, 1fr);
  gap: 34px;
}

.split-media {
  order: 2;
}

.split-content {
  order: 1;
  align-self: center;
  padding: 44px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(19, 32, 26, 0.09);
}

@media (max-width: 980px) {
  .site-header {
    top: 0;
    width: 100%;
  }

  .hero {
    padding-top: 104px;
  }

  .hero__inner,
  .section-head,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 420px;
  }

  .hero__content {
    min-height: auto;
    padding: 34px;
  }

  .card-grid,
  .document-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 92px 0 42px;
  }

  .hero__inner {
    width: calc(100% - 24px);
    gap: 14px;
  }

  .hero__media {
    min-height: 310px;
  }

  .hero__content {
    padding: 24px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 22vw, 5.2rem);
  }

  .hero-kpis,
  .card-grid,
  .document-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Rediseño final activo C: composición partida, color fresco y jerarquía nueva. */
:root {
  --ink: #13201a;
  --muted: #607166;
  --paper: #eef3ec;
  --surface: #fbfaf3;
  --line: rgba(19, 32, 26, 0.1);
  --brand: #0f5b47;
  --brand-2: #79a56e;
  --accent: #d75f3f;
  --gold: #efb95b;
  --blue: #527fa8;
  --soft: #dfe9da;
  --focus: #2563eb;
  --shadow: 0 28px 90px rgba(19, 32, 26, 0.13);
  --radius: 30px;
}

body {
  background:
    linear-gradient(90deg, rgba(15, 91, 71, 0.06) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, #f8f5ea 0%, var(--paper) 38%, #e2eddf 100%);
  color: var(--ink);
}

.container {
  max-width: 1200px;
}

.site-header {
  top: 14px;
  width: calc(100% - 28px);
  margin-inline: auto;
  border: 1px solid rgba(19, 32, 26, 0.08);
  background: rgba(251, 250, 243, 0.86);
  box-shadow: 0 18px 60px rgba(19, 32, 26, 0.1);
  backdrop-filter: blur(20px);
}

.top-strip {
  display: none;
}

.nav-shell {
  min-height: 74px;
  width: calc(100% - 28px);
}

.brand img {
  width: 174px;
}

.site-nav {
  gap: 2px;
  font-size: 0.74rem;
}

.site-nav > a,
.nav-group > a {
  min-height: 38px;
  padding-inline: 10px;
}

.site-nav > a:hover,
.nav-group:hover > a,
.site-nav a.is-active {
  background: #e4efdf;
  color: var(--brand);
}

.nav-cta {
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(215, 95, 63, 0.24);
}

.nav-cta:hover {
  background: #b94f35 !important;
}

.hero {
  min-height: auto;
  padding: 132px 0 64px;
  background: transparent !important;
  overflow: visible;
}

.hero::before,
.hero::after {
  display: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: 26px;
  width: calc(100% - 40px);
  max-width: 1200px;
  padding: 0;
  align-items: stretch;
}

.hero__media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 34%, rgba(19, 32, 26, 0.18)),
    linear-gradient(90deg, rgba(19, 32, 26, 0.1), transparent 48%);
  pointer-events: none;
}

.hero__media-label {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 1;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 18px 20px;
  background: rgba(251, 250, 243, 0.88);
  box-shadow: 0 18px 42px rgba(19, 32, 26, 0.16);
  backdrop-filter: blur(18px);
}

.hero__media-label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__media-label strong {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.25rem;
  line-height: 0.9;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  min-height: 650px;
  padding: 48px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.eyebrow {
  color: var(--accent);
}

.hero h1 {
  max-width: 100%;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(4.6rem, 10vw, 8.9rem);
  line-height: 0.86;
  text-shadow: none;
}

.hero__lead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.button-row {
  margin-top: 30px;
}

.button {
  min-height: 48px;
  border: 0;
  background: #fff;
  color: var(--ink);
}

.button--primary {
  background: var(--brand);
  color: #fff;
}

.button--primary:hover {
  background: #0b4939;
  color: #fff;
}

.button--secondary {
  background: #e8efe2;
  color: var(--brand);
  backdrop-filter: none;
}

.button--secondary:hover {
  background: #dbe8d2;
  color: var(--brand);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
  padding-top: 44px;
}

.hero-kpis div,
.hero-kpis div:nth-child(2),
.hero-kpis div:nth-child(3),
.hero-kpis div:nth-child(4) {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(19, 32, 26, 0.08);
  background: #eef3ec;
  color: var(--ink);
  backdrop-filter: none;
}

.hero-kpis div:nth-child(2) {
  background: #fff3df;
}

.hero-kpis div:nth-child(3) {
  background: #e4eef7;
}

.hero-kpis div:nth-child(4) {
  background: #f8e3d8;
}

.hero-kpis strong {
  color: var(--brand);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}

.hero-kpis span {
  color: var(--muted);
}

.section {
  padding: 82px 0;
}

.section--surface {
  background: #13201a;
  color: #f7f5ec;
}

.section--surface .section-head h2,
.section--surface .content-card h3,
.section--surface .feature-card h3,
.section--surface .document-card h3 {
  color: #fff;
}

.section--surface .section-head p,
.section--surface .feature-card p,
.section--surface .document-card p {
  color: rgba(247, 245, 236, 0.72);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.42fr);
  align-items: start;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 0.98;
}

.section-kicker {
  color: var(--accent);
}

.card-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.feature-grid {
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  overflow-x: auto;
  padding-bottom: 12px;
}

.document-grid {
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr;
}

.news-grid {
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
}

.content-card,
.feature-card,
.document-card,
.news-card,
.fact-card {
  border: 0;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(19, 32, 26, 0.09);
}

.section--surface .feature-card,
.section--surface .document-card {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.content-card:first-child {
  background: var(--brand);
  color: #fff;
}

.content-card:first-child p,
.content-card:first-child a {
  color: rgba(255, 255, 255, 0.82);
}

.feature-card::before,
.document-card::before,
.fact-card::before {
  width: 12px;
  height: 12px;
  background: var(--accent);
}

.split {
  grid-template-columns: minmax(360px, 0.76fr) minmax(0, 1fr);
  gap: 34px;
}

.split-media {
  min-height: 610px;
  order: 2;
}

.split-content {
  order: 1;
  align-self: center;
  padding: 44px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(19, 32, 26, 0.09);
}

.page-hero {
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(15, 91, 71, 0.94), rgba(19, 32, 26, 0.88)),
    var(--brand);
}

.page-hero__inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
}

.article-shell {
  padding: 34px;
  background: rgba(251, 250, 243, 0.74);
  box-shadow: 0 18px 50px rgba(19, 32, 26, 0.08);
}

.site-footer {
  background: var(--brand);
}

@media (max-width: 1240px) {
  .site-header {
    top: 0;
    width: 100%;
    border-radius: 0 0 28px 28px !important;
  }

  .site-nav {
    inset: 84px 14px auto 14px;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 104px;
  }

  .hero__inner,
  .section-head,
  .split,
  .page-hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 420px;
  }

  .hero__content {
    min-height: auto;
    padding: 34px;
  }

  .card-grid,
  .document-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-media,
  .split-content {
    order: initial;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 92px 0 42px;
  }

  .hero__inner {
    width: calc(100% - 24px);
    gap: 14px;
  }

  .hero__media {
    min-height: 310px;
  }

  .hero__media-label {
    left: 16px;
    bottom: 16px;
    min-width: 150px;
    padding: 14px 16px;
  }

  .hero__media-label strong {
    font-size: 2.45rem;
  }

  .hero__content {
    padding: 24px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 22vw, 5.2rem);
  }

  .hero-kpis,
  .card-grid,
  .document-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .split-content,
  .article-shell {
    padding: 24px;
  }
}

/* Ajustes finales de limpieza visual del diseño redondeado. */
#main:focus {
  outline: none;
}

@media (max-width: 640px) {
  .hero-kpis div,
  .hero-kpis div:nth-child(2),
  .hero-kpis div:nth-child(3),
  .hero-kpis div:nth-child(4),
  .hero-kpis div:nth-child(odd) {
    border: 1px solid rgba(255, 255, 255, 0.22);
  }
}

/* Rediseño 2026: sistema cuadrado, editorial y de alto contraste. */
:root {
  --ink: #171916;
  --muted: #5e6259;
  --paper: #f5f1e7;
  --surface: #fffdf5;
  --line: #171916;
  --brand: #234934;
  --brand-2: #5e6f3c;
  --accent: #b12d27;
  --gold: #d59a2e;
  --blue: #315b8f;
  --soft: #e7dfcf;
  --focus: #315bff;
  --shadow: 8px 8px 0 rgba(23, 25, 22, 0.92);
  --radius: 0;
}

*,
*::before,
*::after {
  border-radius: 0 !important;
}

body {
  background:
    linear-gradient(rgba(23, 25, 22, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 25, 22, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
  color: var(--ink);
}

a:hover {
  color: var(--accent);
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.container {
  max-width: 1240px;
}

.skip-link {
  border: 2px solid var(--ink);
  background: var(--gold);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.site-header {
  background: rgba(245, 241, 231, 0.98);
  border-bottom: 3px solid var(--ink);
  backdrop-filter: none;
}

.top-strip {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-strip__inner {
  min-height: 40px;
  justify-content: center;
}

.top-strip span {
  padding: 4px 10px;
  border: 1px solid rgba(245, 241, 231, 0.42);
  background: rgba(245, 241, 231, 0.06);
}

.nav-shell {
  min-height: 88px;
  justify-content: space-between;
  width: calc(100% - 28px);
}

.brand {
  padding: 8px 10px;
  border: 3px solid var(--ink);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translateY(-2px);
}

.brand img {
  width: 188px;
}

.site-nav {
  gap: 3px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.site-nav > a,
.nav-group > a {
  min-height: 44px;
  padding: 0 7px;
  border: 2px solid transparent;
  color: var(--ink);
}

.site-nav > a:hover,
.nav-group:hover > a,
.site-nav a.is-active {
  border-color: var(--ink);
  background: var(--gold);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-panel {
  margin-top: 10px;
  padding: 8px;
  border: 3px solid var(--ink);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--ink);
}

.nav-panel a {
  border: 1px solid transparent;
  color: var(--ink);
}

.nav-panel a:hover {
  border-color: var(--ink);
  background: var(--soft);
  color: var(--ink);
}

.nav-cta {
  background: var(--accent);
  border-color: var(--ink) !important;
  color: #fff !important;
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-cta:hover {
  background: var(--ink) !important;
  color: #fff !important;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--ink);
}

.menu-toggle span:not(.sr-only) {
  height: 3px;
  background: var(--ink);
}

.hero {
  min-height: min(820px, 82svh);
  align-items: center;
  background-position: center;
  border-bottom: 4px solid var(--ink);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(9, 10, 8, 0.88), rgba(9, 10, 8, 0.6) 48%, rgba(9, 10, 8, 0.2)),
    linear-gradient(0deg, rgba(177, 45, 39, 0.36), rgba(213, 154, 46, 0.12));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 28px;
  z-index: 0;
  border: 2px solid rgba(255, 253, 245, 0.42);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
  gap: 34px;
  align-items: end;
  padding: 118px 0 72px;
}

.hero__content {
  max-width: 850px;
  padding: 28px 0 28px 28px;
  border-left: 10px solid var(--gold);
}

.eyebrow,
.section-kicker {
  display: flex;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.hero .eyebrow {
  color: var(--gold);
}

.eyebrow::before,
.section-kicker::before {
  width: 46px;
  height: 4px;
}

.hero h1,
.page-hero h1,
.section-head h2,
.split-content h2,
.post-header h1,
.prose h1,
.prose h2 {
  font-family: "Arial Black", Impact, Georgia, serif;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 8ch;
  font-size: clamp(4.8rem, 14vw, 10rem);
  line-height: 0.8;
  text-shadow: 8px 8px 0 rgba(23, 25, 22, 0.82);
}

.hero__lead {
  max-width: 710px;
  padding: 16px 18px;
  border: 2px solid rgba(255, 253, 245, 0.5);
  background: rgba(23, 25, 22, 0.42);
  color: #fffdf5;
  font-weight: 650;
}

.button-row {
  gap: 14px;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  border: 3px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

.button--primary {
  background: var(--gold);
  color: var(--ink);
}

.button--primary:hover {
  background: #efb33c;
  color: var(--ink);
}

.button--secondary {
  background: var(--surface);
  color: var(--ink);
}

.button--secondary:hover {
  background: var(--soft);
  color: var(--ink);
}

.button--dark {
  background: var(--brand);
  color: #fff;
}

.button--ghost {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}

.hero-kpis {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  border: 3px solid var(--ink);
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--ink);
  backdrop-filter: none;
}

.hero-kpis div {
  min-height: 118px;
  padding: 20px;
  border-bottom: 3px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
}

.hero-kpis div:nth-child(2) {
  background: var(--soft);
}

.hero-kpis div:nth-child(3) {
  background: var(--brand);
  color: #fff;
}

.hero-kpis div:nth-child(4) {
  border-bottom: 0;
  background: var(--accent);
  color: #fff;
}

.hero-kpis strong {
  font-family: "Arial Black", Impact, Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.hero-kpis span {
  color: inherit;
  font-weight: 800;
}

.section {
  padding: 104px 0;
}

.section--surface {
  background:
    linear-gradient(135deg, rgba(23, 25, 22, 0.08) 25%, transparent 25%) 0 0 / 22px 22px,
    var(--soft);
  border-block: 4px solid var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 4px solid var(--ink);
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.92;
}

.section-head p {
  color: var(--muted);
  font-weight: 650;
}

.card-grid,
.feature-grid,
.document-grid,
.news-grid {
  gap: 22px;
}

.content-card,
.feature-card,
.document-card,
.news-card,
.fact-card,
.side-nav,
.form-panel,
.empty-state {
  border: 3px solid var(--ink);
  background: var(--surface);
  box-shadow: 7px 7px 0 var(--ink);
}

.content-card:hover,
.feature-card:hover,
.document-card:hover,
.news-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 11px 11px 0 var(--ink);
}

.content-card,
.feature-card,
.document-card,
.fact-card {
  padding: 26px;
}

.content-card h3,
.feature-card h3,
.document-card h3,
.fact-card h3,
.news-card h3 {
  font-size: 1.28rem;
  font-weight: 950;
  text-transform: uppercase;
}

.content-card p,
.feature-card p,
.document-card p,
.fact-card p,
.news-card p {
  color: var(--muted);
  font-weight: 600;
}

.content-card a,
.document-card a,
.news-card a {
  color: var(--accent);
  font-weight: 950;
  text-transform: uppercase;
}

.feature-card::before,
.document-card::before,
.fact-card::before {
  width: 54px;
  height: 8px;
  background: var(--accent);
}

.feature-card:nth-child(even)::before,
.document-card:nth-child(even)::before {
  background: var(--blue);
}

.split {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
}

.split-media {
  min-height: 560px;
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  background: var(--ink);
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 253, 245, 0.72);
  pointer-events: none;
}

.split-content {
  padding: 26px 0 26px 34px;
  border-left: 8px solid var(--accent);
}

.split-content h2 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.94;
}

.logo-row img {
  max-height: 104px;
  padding: 10px;
  border: 3px solid var(--ink);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--ink);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(23, 25, 22, 0.94), rgba(35, 73, 52, 0.84)),
    var(--brand);
  border-bottom: 4px solid var(--ink);
}

.page-hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 430px);
  min-height: 430px;
  padding: 82px 0 62px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  line-height: 0.86;
  text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

.page-hero p {
  padding: 14px 16px;
  border: 2px solid rgba(255, 253, 245, 0.36);
  color: #fffdf5;
}

.page-hero__image,
.post-image {
  border: 4px solid var(--paper);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.72);
}

.breadcrumb {
  text-transform: uppercase;
  font-weight: 900;
}

.page-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 52px;
}

.side-nav {
  top: 150px;
  padding: 20px;
}

.side-nav h2,
.site-footer h2 {
  color: var(--accent);
  font-weight: 950;
}

.side-nav a {
  padding: 12px 0;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.side-nav a:hover {
  padding-left: 8px;
  background: var(--gold);
  color: var(--ink);
}

.article-shell {
  padding: 30px;
  border: 3px solid var(--ink);
  background: rgba(255, 253, 245, 0.84);
  box-shadow: 9px 9px 0 var(--ink);
}

.prose {
  color: var(--ink);
}

.prose h1,
.prose h2 {
  border-bottom: 4px solid var(--ink);
  padding-bottom: 10px;
}

.prose h3,
.prose h4 {
  font-weight: 950;
  text-transform: uppercase;
}

.prose a {
  color: var(--accent);
  text-decoration-thickness: 2px;
}

.prose img,
.prose video,
.prose iframe,
.prose object,
.prose table,
.page-catalogo-de-sementales-2 .prose > .wp-block-group,
.page-catalogo-de-sementales-2 .prose > div.wp-block-group {
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.prose table {
  border-collapse: collapse;
}

.prose td,
.prose th {
  border-color: var(--ink);
}

.prose td:first-child,
.prose th:first-child {
  color: var(--brand);
}

.news-toolbar {
  padding: 18px;
  border: 3px solid var(--ink);
  background: var(--surface);
  box-shadow: 7px 7px 0 var(--ink);
}

.chip {
  min-height: 38px;
  border: 3px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  text-transform: uppercase;
}

.chip.is-active,
.chip:hover {
  background: var(--accent);
  color: #fff;
}

.news-card {
  overflow: hidden;
}

.news-card__image {
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
}

.news-card__body {
  padding: 22px;
}

.meta {
  color: var(--blue);
  font-weight: 950;
  text-transform: uppercase;
}

.post-header {
  padding-bottom: 24px;
  border-bottom: 4px solid var(--ink);
}

.form-panel {
  padding: 26px;
}

.field input,
.field textarea,
.field select {
  border: 3px solid var(--ink);
  background: var(--surface);
}

.check-field input {
  accent-color: var(--accent);
}

.media-placeholder {
  border: 3px dashed var(--ink);
  background: var(--surface);
}

.site-footer {
  background: var(--ink);
  border-top: 4px solid var(--gold);
  color: var(--paper);
}

.footer-visual {
  min-height: 230px;
  border-bottom: 4px solid var(--gold);
  background-image:
    linear-gradient(90deg, rgba(23, 25, 22, 0.9), rgba(23, 25, 22, 0.35)),
    url("../assets/images/footer-hero-big.jpg");
}

.footer-grid {
  gap: 38px;
}

.footer-logo {
  width: 238px;
  padding: 12px;
  border: 3px solid var(--gold);
  background: var(--surface);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 2px solid rgba(245, 241, 231, 0.22);
}

@media (max-width: 1120px) {
  .brand img {
    width: 176px;
  }

  .site-nav {
    font-size: 0.74rem;
  }

  .site-nav > a,
  .nav-group > a {
    padding-inline: 7px;
  }
}

@media (max-width: 1240px) {
  .top-strip {
    display: none;
  }

  .nav-shell {
    min-height: 78px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    max-height: calc(100svh - 78px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: auto;
    padding: 16px 20px 26px;
    border-top: 3px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 8px 0 var(--ink);
  }

  .menu-open .site-nav {
    display: flex;
  }

  .site-nav > a,
  .nav-group > a {
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 2px solid var(--ink);
  }

  .nav-group {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-group::after {
    display: none;
  }

  .nav-panel,
  .nav-panel--wide {
    position: static;
    min-width: 0;
    padding: 2px 0 8px 14px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-panel a {
    padding: 8px 0;
    color: var(--muted);
  }

  .nav-cta {
    margin: 14px 0 0;
    justify-content: center;
    border-radius: 0 !important;
  }
}

@media (max-width: 900px) {
  .nav-shell {
    min-height: 78px;
  }

  .brand {
    box-shadow: 4px 4px 0 var(--ink);
  }

  .site-nav {
    inset: 78px 0 auto 0;
    max-height: calc(100svh - 78px);
    border-top: 3px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 8px 0 var(--ink);
  }

  .site-nav > a,
  .nav-group > a {
    border-bottom: 2px solid var(--ink);
  }

  .nav-panel,
  .nav-panel--wide {
    border: 0;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    inset: 14px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 86px 0 52px;
  }

  .hero__content {
    padding-left: 20px;
  }

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

  .hero-kpis div:nth-child(2) {
    border-right: 0;
  }

  .hero-kpis div:nth-child(3) {
    border-bottom: 0;
  }

  .hero-kpis div:nth-child(odd) {
    border-right: 3px solid var(--ink);
  }

  .section-head,
  .split,
  .page-hero__inner,
  .page-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-shell {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .container,
  .hero__inner {
    width: calc(100% - 24px);
  }

  .brand img {
    width: 150px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 20vw, 5rem);
    text-shadow: 5px 5px 0 rgba(23, 25, 22, 0.82);
  }

  .hero__lead {
    padding: 14px;
  }

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

  .hero-kpis div,
  .hero-kpis div:nth-child(3) {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .hero-kpis div:nth-child(4) {
    border-bottom: 0;
  }

  .section {
    padding: 70px 0;
  }

  .section-head h2,
  .split-content h2,
  .page-hero h1 {
    line-height: 0.98;
  }

  .split-content {
    padding-left: 20px;
  }

  .article-shell,
  .content-card,
  .feature-card,
  .document-card,
  .fact-card,
  .news-card__body,
  .form-panel {
    padding: 18px;
  }
}

/* Rediseño final activo: minimalista redondeado. */
:root {
  --ink: #20251f;
  --muted: #697168;
  --paper: #f6f4ee;
  --surface: rgba(255, 255, 255, 0.88);
  --line: rgba(32, 37, 31, 0.12);
  --brand: #365f43;
  --brand-2: #7f9772;
  --accent: #9a5139;
  --gold: #b89158;
  --blue: #566f8a;
  --soft: #ece7da;
  --focus: #2563eb;
  --shadow: 0 22px 70px rgba(32, 37, 31, 0.11);
  --radius: 26px;
}

*,
*::before,
*::after {
  border-radius: var(--radius) !important;
}

body {
  background:
    radial-gradient(900px 540px at 12% -8%, rgba(127, 151, 114, 0.24), transparent 62%),
    radial-gradient(780px 520px at 92% 0%, rgba(184, 145, 88, 0.16), transparent 58%),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 44%, #efeadf 100%);
  color: var(--ink);
}

a:hover {
  color: var(--brand);
}

.container {
  max-width: 1160px;
}

.site-header {
  background: rgba(246, 244, 238, 0.78);
  border-bottom: 1px solid rgba(32, 37, 31, 0.08);
  backdrop-filter: blur(22px);
}

.top-strip {
  display: block;
  background: transparent;
  color: var(--muted);
  border-bottom: 1px solid rgba(32, 37, 31, 0.06);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.top-strip__inner {
  min-height: 34px;
  justify-content: space-between;
}

.top-strip span {
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-shell {
  width: calc(100% - 40px);
  min-height: 78px;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.brand img {
  width: 196px;
  filter: saturate(0.9);
}

.site-nav {
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: none;
}

.site-nav > a,
.nav-group > a {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  color: #30382f;
}

.site-nav > a:hover,
.nav-group:hover > a,
.site-nav a.is-active {
  border-color: rgba(54, 95, 67, 0.16);
  background: rgba(54, 95, 67, 0.08);
  color: var(--brand);
  box-shadow: none;
}

.nav-panel {
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(32, 37, 31, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 55px rgba(32, 37, 31, 0.13);
  backdrop-filter: blur(18px);
}

.nav-panel a {
  border: 0;
  color: var(--ink);
}

.nav-panel a:hover {
  background: rgba(54, 95, 67, 0.08);
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(54, 95, 67, 0.24);
}

.nav-cta:hover {
  background: #294a34 !important;
  color: #fff !important;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(32, 37, 31, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(32, 37, 31, 0.1);
}

.menu-toggle span:not(.sr-only) {
  height: 2px;
  background: var(--ink);
}

.hero {
  min-height: min(790px, 80svh);
  align-items: end;
  border-bottom: 0;
  background-position: center;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(19, 28, 20, 0.68), rgba(19, 28, 20, 0.34) 54%, rgba(19, 28, 20, 0.1)),
    linear-gradient(0deg, rgba(19, 28, 20, 0.58), rgba(19, 28, 20, 0.04) 58%);
}

.hero::after {
  display: none;
}

.hero__inner {
  display: block;
  width: calc(100% - 40px);
  max-width: 1160px;
  padding: 118px 0 46px;
}

.hero__content {
  max-width: 780px;
  padding: 0;
  border-left: 0;
  color: #fff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 28px;
  height: 2px;
}

.hero h1,
.page-hero h1,
.section-head h2,
.split-content h2,
.post-header h1,
.prose h1,
.prose h2 {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: none;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(4.2rem, 11vw, 8.5rem);
  line-height: 0.9;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.hero__lead {
  max-width: 660px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(32, 37, 31, 0.12);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(32, 37, 31, 0.16);
}

.button--primary {
  background: #fff;
  color: var(--brand);
}

.button--primary:hover {
  background: #f4f7ef;
  color: var(--brand);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  backdrop-filter: blur(12px);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.button--dark {
  background: var(--brand);
  color: #fff;
}

.button--ghost {
  border-color: rgba(32, 37, 31, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
}

.hero-kpis {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 54px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-kpis div,
.hero-kpis div:nth-child(2),
.hero-kpis div:nth-child(3),
.hero-kpis div:nth-child(4) {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(16px);
}

.hero-kpis strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.hero-kpis span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.section {
  padding: 92px 0;
}

.section--surface {
  background: rgba(236, 232, 220, 0.7);
  border-block: 1px solid rgba(32, 37, 31, 0.08);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 0;
  border-bottom: 0;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.section-head p {
  color: var(--muted);
  font-weight: 500;
}

.content-card,
.feature-card,
.document-card,
.news-card,
.fact-card,
.side-nav,
.form-panel,
.empty-state,
.news-toolbar {
  border: 1px solid rgba(32, 37, 31, 0.09);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.content-card:hover,
.feature-card:hover,
.document-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(32, 37, 31, 0.14);
}

.content-card h3,
.feature-card h3,
.document-card h3,
.fact-card h3,
.news-card h3 {
  font-size: 1.18rem;
  font-weight: 820;
  text-transform: none;
}

.content-card p,
.feature-card p,
.document-card p,
.fact-card p,
.news-card p {
  color: var(--muted);
  font-weight: 500;
}

.content-card a,
.document-card a,
.news-card a {
  color: var(--brand);
  font-weight: 820;
  text-transform: none;
}

.feature-card::before,
.document-card::before,
.fact-card::before,
.feature-card:nth-child(even)::before,
.document-card:nth-child(even)::before {
  width: 34px;
  height: 4px;
  background: var(--gold);
}

.split {
  grid-template-columns: 1.03fr 0.97fr;
  gap: 48px;
}

.split-media {
  min-height: 540px;
  border: 0;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.split-media::after {
  display: none;
}

.split-content {
  padding: 0;
  border-left: 0;
}

.split-content h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.logo-row img {
  max-height: 92px;
  padding: 10px;
  border: 1px solid rgba(32, 37, 31, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(32, 37, 31, 0.09);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(54, 95, 67, 0.92), rgba(32, 37, 31, 0.84)),
    var(--brand);
  border-bottom: 0;
}

.page-hero__inner {
  grid-template-columns: 1fr 0.72fr;
  min-height: 390px;
  padding: 72px 0 54px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1;
  text-shadow: none;
}

.page-hero p {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero__image,
.post-image {
  border: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.breadcrumb,
.side-nav a,
.meta,
.chip {
  text-transform: none;
}

.page-layout {
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 42px;
}

.side-nav {
  top: 126px;
  padding: 18px;
}

.side-nav h2,
.site-footer h2 {
  color: var(--muted);
  font-weight: 850;
}

.side-nav a {
  padding: 10px 0;
  color: var(--brand);
  font-weight: 750;
}

.side-nav a:hover {
  padding-left: 0;
  background: transparent;
  color: var(--accent);
}

.article-shell {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.prose {
  color: #29302a;
}

.prose h1,
.prose h2 {
  border-bottom: 1px solid rgba(32, 37, 31, 0.12);
  padding-bottom: 10px;
}

.prose h3,
.prose h4 {
  font-weight: 820;
  text-transform: none;
}

.prose img,
.prose video,
.prose iframe,
.prose object,
.prose table,
.page-catalogo-de-sementales-2 .prose > .wp-block-group,
.page-catalogo-de-sementales-2 .prose > div.wp-block-group {
  border: 1px solid rgba(32, 37, 31, 0.1);
  box-shadow: var(--shadow);
}

.news-toolbar {
  padding: 16px;
}

.chip {
  min-height: 36px;
  border: 1px solid rgba(32, 37, 31, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand);
  box-shadow: none;
}

.chip.is-active,
.chip:hover {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.news-card__image {
  border-bottom: 1px solid rgba(32, 37, 31, 0.08);
  background: var(--soft);
}

.meta {
  color: var(--muted);
  font-weight: 720;
}

.post-header {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(32, 37, 31, 0.12);
}

.field input,
.field textarea,
.field select {
  border: 1px solid rgba(32, 37, 31, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.media-placeholder {
  border: 1px dashed rgba(32, 37, 31, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.site-footer {
  background: #20271f;
  border-top: 0;
  color: #edf0e9;
}

.footer-visual {
  min-height: 210px;
  border-bottom: 0;
  background-image:
    linear-gradient(0deg, rgba(32, 39, 31, 0.72), rgba(32, 39, 31, 0.18)),
    url("../assets/images/footer-hero-big.jpg");
}

.footer-logo {
  width: 220px;
  padding: 10px;
  border: 0;
  background: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(237, 240, 233, 0.14);
}

@media (max-width: 1240px) {
  .top-strip {
    display: none;
  }

  .nav-shell {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    inset: 72px 12px auto 12px;
    max-height: calc(100svh - 86px);
    padding: 12px;
    border: 1px solid rgba(32, 37, 31, 0.1);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(32, 37, 31, 0.16);
  }

  .site-nav > a,
  .nav-group > a {
    border-bottom: 1px solid rgba(32, 37, 31, 0.08);
  }
}

/* Ajustes finales de limpieza visual del diseño redondeado. */
#main:focus {
  outline: none;
}

@media (max-width: 900px) {
  .hero__inner {
    padding: 80px 0 34px;
  }

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

  .section-head,
  .split,
  .page-hero__inner,
  .page-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-shell {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .container,
  .hero__inner {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 154px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 22vw, 5.4rem);
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  }

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

  .hero-kpis div,
  .hero-kpis div:nth-child(2),
  .hero-kpis div:nth-child(3),
  .hero-kpis div:nth-child(4),
  .hero-kpis div:nth-child(odd) {
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section {
    padding: 68px 0;
  }

  .section-head h2,
  .split-content h2,
  .page-hero h1 {
    line-height: 1.03;
  }

  .split-content {
    padding-left: 0;
  }
}

.cookie-box {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,.18);
  padding: 20px 24px;
  border: 1px solid rgba(0,0,0,.08);
  transition: opacity .3s ease;
}

.cookie-box__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-box__text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.cookie-box__text strong {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 17px;
  color: #111;
}

.cookie-box__text a {
  color: #198754;
  font-weight: 600;
  text-decoration: none;
}

.cookie-box__text a:hover {
  text-decoration: underline;
}

.cookie-box__actions {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.cookie-btn--accept {
  background: #198754;
  color: #fff;
}

.cookie-btn--accept:hover {
  background: #157347;
}

.cookie-btn--cancel {
  background: #e9ecef;
  color: #333;
}

.cookie-btn--cancel:hover {
  background: #dfe3e7;
}

@media (max-width: 768px) {

  .cookie-box {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }

  .cookie-box__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-box__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

.mensaje-alerta{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 18px;
    margin:20px 0;
    border-radius:10px;
    font-size:15px;
    font-weight:500;
    line-height:1.4;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.mensaje-error{
    background:#fff1f1;
    border:1px solid #e08b8b;
    color:#9f1d1d;
}

.mensaje-icono{
    font-size:20px;
    font-weight:bold;
    flex-shrink:0;
}

.mensaje-texto{
    flex:1;
}

.mensaje-ok{
    background:#edf9f0;
    border:1px solid #86c79a;
    color:#176b34;
}

