:root {
  --blue: #003189;
  --blue-bright: #1a56c4;
  --blue-deep: #00266b;
  --blue-soft: #e7eef8;
  --ink: #2a2a2a;
  --soft: #3f3f3f;
  --muted: #5e5e5e;
  --line: #e1e6f0;
  --paper: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(0, 49, 137, 0.06), 0 10px 28px rgba(0, 49, 137, 0.06);
  --shadow-hover: 0 10px 24px rgba(0, 49, 137, 0.18);
  --font: "Inter", "Segoe UI", sans-serif;
  --radius: 10px;
  --space: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-bright); text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0 0 0.55em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
p { margin: 0 0 0.9em; }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - 48px)); margin: 64px auto 88px; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--blue);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}
.skip:focus { top: 12px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 49, 137, 0.04);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 70%, #7aa2e3 100%);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 56px; height: 56px; }
.brand-lockup { display: flex; flex-direction: column; gap: 2px; }
.brand-word { height: 32px; width: auto; }
.brand-lockup small {
  color: var(--muted);
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background 0.18s ease, color 0.18s ease;
}
.nav a:hover, .nav button:hover { background: var(--blue-soft); color: var(--blue); }
.nav form { margin: 0; }
.nav button {
  background: none;
  border: 0;
  color: var(--soft);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: none; }
.when-open { display: none; }

.demo-banner {
  margin: 0;
  padding: 12px 20px;
  text-align: center;
  background: var(--blue-soft);
  color: var(--blue-deep);
}
.messages { list-style: none; padding: 20px 0 0; }
.message {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
}
.message.success { background: #eef8f1; border-color: #c9ead4; }
.message.error { background: #fdeeee; border-color: #f3c7c7; }
.message.info { background: var(--blue-soft); border-color: #d3e0f6; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: center;
}
.hero-field {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(64vw, 980px);
  color: white;
  background: linear-gradient(165deg, #3d78d6 0%, #1a56c4 32%, #003189 74%, #00266b 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.paw { position: absolute; display: block; }
.p1 { width: 52px; top: 16%; right: 8%; transform: rotate(18deg); opacity: 0.55; }
.p2 { width: 44px; top: 33%; right: 16%; transform: rotate(-10deg); opacity: 0.46; }
.p3 { width: 36px; top: 50%; right: 7%; transform: rotate(24deg); opacity: 0.4; }
.p4 { width: 30px; top: 64%; right: 16%; transform: rotate(-16deg); opacity: 0.34; }
.p5 { width: 24px; top: 78%; right: 8%; transform: rotate(12deg); opacity: 0.28; }
.p6 { width: 20px; top: 90%; right: 16%; transform: rotate(-20deg); opacity: 0.22; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lede { font-size: 1.12rem; color: var(--soft); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero-emblem {
  width: min(430px, 100%);
  display: block;
  filter: drop-shadow(0 18px 28px rgba(0, 38, 107, 0.16));
}
.hero-card {
  width: min(320px, 100%);
  margin-left: auto;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.35rem; }
.hero-card a { font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 49, 137, 0.08);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-blue {
  background: var(--blue);
  color: white;
  box-shadow: 0 1px 2px rgba(0, 49, 137, 0.2), 0 8px 18px rgba(0, 49, 137, 0.16);
}
.btn-blue:hover { background: var(--blue-bright); color: white; box-shadow: var(--shadow-hover); }
.btn-blue:active { background: var(--blue-deep); box-shadow: 0 2px 6px rgba(0, 49, 137, 0.2); }
.btn-ghost {
  background: var(--white);
  color: var(--blue);
  border-color: #c5d3ea;
}
.btn-ghost:hover { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-deep); }
.btn-ghost:active { background: #d9e4f7; }
.btn-ghost.light { color: white; border-color: rgba(255, 255, 255, 0.7); background: transparent; box-shadow: none; }
.btn-ghost.light:hover { background: rgba(255, 255, 255, 0.12); color: white; }
button.btn { width: auto; }

.band { padding: 24px 0 8px; }
.section-head { margin: 48px 0 22px; }
.shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
}
.shop-head h2 { margin: 0; }
.shop-head .btn { flex: none; }
.btn svg { width: 18px; height: 18px; display: block; }
.section-more { margin: 22px 0 56px; }
.service-grid, .promo-grid, .product-grid { display: grid; gap: 20px; }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.promo-grid { grid-template-columns: repeat(2, 1fr); }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.service-grid article,
.promo-grid article,
.contact-aside,
.product-card,
.unit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.icon {
  color: var(--blue);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--blue-soft);
}
.icon svg { width: 24px; height: 24px; }

.product-card { padding: 12px 12px 20px; display: flex; flex-direction: column; }
.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-fallback { width: 58% !important; height: auto !important; object-fit: contain !important; }
.product-body { padding: 16px 8px 4px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-body h3 { font-size: 1.12rem; font-weight: 600; }
.product-body h3 a { color: inherit; text-decoration: none; }
.product-body h3 a:hover { color: var(--blue); }
.product-body form { margin-top: auto; padding-top: 8px; }
.price { font-weight: 700; letter-spacing: -0.03em; color: var(--blue-deep); }
.price.big { font-size: 2rem; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; }
.price-old {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: line-through;
}
.price-row.big .price-old { font-size: 1.15rem; }
.discount-tag { color: var(--blue); font-size: 0.82rem; font-weight: 700; }
.iva-line { margin: 0 0 0.7em; color: var(--muted); font-size: 0.92rem; }
.iva-groups { list-style: none; margin: 8px 0 0; padding: 0; color: var(--muted); font-size: 0.95rem; }
.iva-groups li { padding: 2px 0; }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge.inline { position: static; display: inline-block; }

.unit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.unit-logo { height: 84px; width: auto; }
.unit-logo.agro { height: 108px; }
.clinic-band { align-items: center; padding: 36px 0; }
.clinic-band img { width: 100%; border-radius: 16px; max-height: 460px; object-fit: cover; box-shadow: var(--shadow); }
.contact-grid, .about-grid, .footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
}
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; }
.hours { padding-left: 18px; }

.page-intro, .shop-tease, .detail-list, .about-grid, .contact-grid { padding-top: 48px; padding-bottom: 36px; }
.detail-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.search { position: relative; display: block; margin: 22px 0 36px; }
.filters, .buy, .cart-total { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.suggest {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: white;
  border: 1px solid #c5d3ea;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-height: 320px;
  overflow: auto;
}
.suggest li { margin: 0; }
.suggest a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--blue-soft); }
.suggest-tag { color: var(--blue); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.suggest li:last-child:not(:first-child) a { color: var(--blue); font-weight: 600; }
.filters a {
  color: var(--blue);
  text-decoration: none;
  border: 1px solid #c5d3ea;
  background: white;
  border-radius: var(--radius);
  padding: 8px 14px;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.filters a:hover { background: var(--blue-soft); border-color: var(--blue); }
.filters a[aria-current="page"] { background: var(--blue); color: white; border-color: var(--blue); }
.input, textarea, select {
  width: 100%;
  border: 1px solid #cfd6e4;
  background: white;
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(26, 86, 196, 0.15);
}
.qty { width: 88px; }
.stack-form { display: grid; gap: 8px; max-width: 520px; }
.stack-form label { font-weight: 600; font-size: 0.92rem; }
.stack-form ul { list-style: none; padding: 0; margin: 0 0 8px; }
.stack-form li { margin: 4px 0; }
fieldset.plain { border: 0; margin: 0; padding: 0; min-width: 0; }
.errorlist { color: #9d1c1c; padding-left: 18px; margin: 0; }
.form-error { color: #9d1c1c; font-weight: 600; }
.cart-next { margin: 8px 0 48px; }
.remito-page { background: #d9dee8; }
.remito-page .site-header,
.remito-page .site-footer,
.remito-page .skip,
.remito-page .demo-banner,
.remito-page .messages { display: none; }
.remito-toolbar { width: min(196mm, calc(100% - 24px)); margin: 16px auto; display: flex; justify-content: flex-end; }
.remito {
  width: min(196mm, calc(100% - 24px));
  margin: 0 auto 32px;
  padding: 12mm;
  background: #fff;
  color: #172033;
  border: 1px solid #c5cedc;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.12);
}
.remito-top { display: grid; grid-template-columns: 1fr 62mm; gap: 6mm; margin-bottom: 5mm; }
.remito-brand { display: grid; grid-template-columns: 22mm 1fr; gap: 4mm; align-items: start; }
.remito-brand img { width: 22mm; height: auto; }
.remito-brand h1 { margin: 0 0 2mm; font-size: 16px; letter-spacing: 0.01em; }
.remito-brand p { margin: 0; font-size: 11px; line-height: 1.45; }
.remito-badge { border: 1.5px solid #003189; }
.remito-badge > p {
  margin: 0;
  padding: 2mm 3mm;
  background: #003189;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.remito-badge strong { display: block; padding: 3mm 3mm 1mm; font-size: 18px; }
.remito-badge dl { margin: 0; }
.remito-badge dl div { display: grid; grid-template-columns: 18mm 1fr; gap: 2mm; padding: 1mm 3mm 1.5mm; font-size: 11px; }
.remito-badge dt { color: #5e5e5e; }
.remito-badge dd { margin: 0; font-weight: 600; }
.remito-grid, .remito-items, .remito-totals { width: 100%; border-collapse: collapse; }
.remito-grid th, .remito-grid td,
.remito-items th, .remito-items td,
.remito-totals th, .remito-totals td { border: 1px solid #1e2430; padding: 2mm 2.5mm; vertical-align: top; font-size: 12px; }
.remito-grid th, .remito-totals th { width: 32mm; background: #f3f6fb; text-align: left; font-weight: 600; color: #3f3f3f; }
.remito-grid { margin-bottom: 4mm; }
.remito-items { margin-bottom: 4mm; }
.remito-items thead th { background: #003189; color: #fff; font-weight: 600; }
.remito-items .qty { width: 16mm; text-align: center; }
.remito-items .num, .remito-totals td { text-align: right; white-space: nowrap; }
.remito-items td span { display: block; margin-top: 1mm; color: #5e5e5e; font-size: 10px; }
.remito-items tr.blank td { height: 8mm; }
.remito-bottom { display: grid; grid-template-columns: 1fr 78mm; gap: 4mm; align-items: start; }
.remito-notes { min-height: 28mm; border: 1px solid #1e2430; padding: 2.5mm; }
.remito-notes p { margin: 0 0 2mm; font-size: 12px; }
.remito-notes p:first-child { font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.remito-notes .legal { margin: 4mm 0 0; color: #3f3f3f; font-size: 10px; }
.remito-totals .grand th, .remito-totals .grand td { background: #e7eef8; font-size: 14px; font-weight: 700; }
.remito-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 16mm; margin-top: 14mm; }
.remito-signs span { display: block; height: 16mm; border-bottom: 1px solid #1e2430; }
.remito-signs p { margin: 2mm 0 0; font-weight: 700; font-size: 12px; }
.remito-signs small { color: #5e5e5e; font-size: 10px; }
@media print {
  .remito-page { background: #fff; }
  .remito-page .no-print { display: none !important; }
  .remito { width: auto; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .remito-badge > p, .remito-items thead th, .remito-grid th, .remito-totals th, .remito-totals .grand th, .remito-totals .grand td {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  @page { size: A4; margin: 12mm; }
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 48px 0 16px;
}
.product-media.large { aspect-ratio: 1; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-list li {
  display: grid;
  grid-template-columns: 1fr 100px auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.cart-list h2 { font-size: 1.25rem; font-weight: 600; }
.cart-list a { color: inherit; text-decoration: none; }
.text-button {
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-weight: 600;
}
.text-button:hover { color: var(--blue); border-color: var(--blue); }
.order-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.order-row h2 { font-size: 1.25rem; margin: 0; }
.order-row a { color: inherit; text-decoration: none; }
.summary { list-style: none; padding: 0; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.oca-track { margin-top: 28px; }
.oca-track h2 { font-size: 1.15rem; margin-bottom: 8px; }
.oca-track ol { list-style: none; margin: 12px 0; padding: 0; }
.oca-track li { margin: 0 0 0 6px; padding: 0 0 12px 14px; border-left: 3px solid var(--blue); }
.oca-track li span { display: block; color: var(--muted); font-size: 0.92rem; }
.pager { display: flex; gap: 14px; align-items: center; margin: 28px 0 56px; }
.about-grid img { width: min(420px, 100%); justify-self: end; }
.fachada {
  position: relative;
  margin: 8px 0 12px;
  min-height: 420px;
  overflow: hidden;
}
.fachada img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.72) contrast(1.04);
}
.fachada::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0, 38, 107, 0.86) 0%, rgba(0, 49, 137, 0.5) 36%, rgba(0, 49, 137, 0.16) 68%, rgba(244, 247, 251, 0.08) 100%),
    linear-gradient(180deg, rgba(244, 247, 251, 0) 58%, var(--paper) 100%);
  pointer-events: none;
}
.fachada-copy {
  position: absolute;
  z-index: 1;
  left: max(24px, calc((100% - 1120px) / 2));
  bottom: 56px;
  color: white;
}
.fachada-copy p { margin: 0; }
.fachada-copy p:first-child {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand-strip {
  overflow: hidden;
  margin: 4px 0 20px;
  padding: 8px 0 4px;
  background: transparent;
}
.brand-track {
  display: flex;
  width: max-content;
  animation: brand-pass 42s linear infinite;
}
.brand-strip:hover .brand-track { animation-play-state: paused; }
.brand-set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}
.brand-set img {
  height: 34px;
  width: auto;
  max-width: 128px;
  object-fit: contain;
  opacity: 0.78;
}
@keyframes brand-pass {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.consultorio { padding: 48px 0 20px; }
.consultorio img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.agrovet {
  margin: 12px 0 28px;
  padding: 56px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.agrovet-intro {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 12px;
}
.agrovet-logo { width: 200px; height: auto; }
.agro-label { margin: 28px 0 16px; font-size: 1.15rem; }
.agro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agro-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.agro-grid h3 { font-size: 1.08rem; color: var(--blue); }
.agro-team { margin: 22px 0 0; font-weight: 600; }
.contact-aside { align-self: start; }
.muted { color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.socials a:hover { background: white; color: var(--blue); transform: translateY(-1px); }
.socials svg { width: 20px; height: 20px; display: block; }
.socials.on-paper a {
  background: var(--blue-soft);
  color: var(--blue);
}
.socials.on-paper a:hover { background: var(--blue); color: white; }
.mini-map {
  display: block;
  width: 100%;
  height: 180px;
  margin: 12px 0 16px;
  border: 0;
  border-radius: 12px;
  background: white;
  position: relative;
  z-index: 1;
}
.director { margin-top: 18px; }
.director span {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5d0e4;
}
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  color: #f4f7fb;
  margin-top: 0;
  padding: 56px 0 24px;
}
.footer-brand { position: relative; overflow: hidden; }
.footer-watermark {
  position: absolute;
  left: -12%;
  top: -6%;
  width: 220px;
  height: auto;
  opacity: 0.3;
  pointer-events: none;
  filter: brightness(0) invert(1);
  -webkit-mask-image: radial-gradient(circle at center, #000 32%, transparent 72%);
  mask-image: radial-gradient(circle at center, #000 32%, transparent 72%);
}
.footer-brand > :not(.footer-watermark) { position: relative; z-index: 1; }
.footer-grid, .legal { position: relative; z-index: 1; }
.site-footer a { color: white; font-weight: 500; }
.footer-mark { width: 84px; display: block; filter: brightness(0) invert(1); }
.footer-word { height: 34px; width: auto; filter: invert(1); margin: 10px 0 14px; }
.footer-grid h2 { font-size: 1.05rem; color: white; font-weight: 600; letter-spacing: 0; }
.legal { color: #c5d0e4; font-size: 0.92rem; margin-top: 28px; }
.legal a { font-weight: 600; }
.legal-page h2 { font-size: 1.25rem; margin-top: 1.4em; }

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

@media (max-width: 900px) {
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .hero-grid, .service-grid, .product-grid, .contact-grid, .about-grid, .footer-grid, .product-detail, .unit-grid, .agrovet-intro, .agro-grid {
    grid-template-columns: 1fr;
  }
  .promo-grid { grid-template-columns: 1fr; }
  .agrovet-logo { width: min(180px, 70%); }
  .fachada, .fachada img { min-height: 0; height: 320px; }
  .fachada-copy { left: 24px; bottom: 36px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-head { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 36px; }
  .hero-field { width: 100%; clip-path: none; background: linear-gradient(180deg, transparent 0 18%, rgba(26, 86, 196, 0.08) 34%, #1a56c4 58%, #003189 100%); }
  .hero-emblem { width: min(300px, 78%); }
  .hero-card { width: 100%; margin-left: 0; }
  .paw { display: none; }
  .about-grid img { margin-left: 0; justify-self: start; }
  .nav-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius);
    border: 1px solid #c5d3ea;
    background: white;
    color: var(--blue);
    font-weight: 600;
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 92px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked ~ .nav-button .when-closed { display: none; }
  .nav-toggle:checked ~ .nav-button .when-open { display: inline; }
  .nav-toggle:focus-visible ~ .nav-button { outline: 3px solid var(--blue-bright); }
  .cart-list li { grid-template-columns: 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav a, .filters a, .input, textarea { transition: none; }
  .btn:hover, .btn:active { transform: none; }
  .brand-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 18px; }
  .brand-set[aria-hidden="true"] { display: none; }
}
