﻿@font-face {
  font-family: "AgryProduct";
  src: url("../fonts/BRLNSR.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --red-900: #6f1111;
  --red-700: #b02222;
  --red-500: #d13a3a;
  --earth-100: #f7efeb;
  --ink: #2b1717;
  --white: #ffffff;
  --detail-accent: #136153;
  --detail-accent-bg: rgba(19, 97, 83, 0.08);
  --detail-accent-border: rgba(19, 97, 83, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--earth-100);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.hero {
  min-height: 100vh;
  background: url("../img/fondo/fondo.jpg") center/cover no-repeat;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(111, 17, 17, 0.88) 0%, rgba(176, 34, 34, 0.58) 30%, rgba(176, 34, 34, 0.2) 45%, rgba(176, 34, 34, 0) 50%, rgba(176, 34, 34, 0) 100%);
}

.topbar,
.hero-content {
  position: relative;
  z-index: 1;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 6vw;
  background: transparent;
  backdrop-filter: none;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: linear-gradient(
    90deg,
    rgba(111, 17, 17, 0) 0%,
    rgba(111, 17, 17, 0) 50%,
    rgba(111, 17, 17, 0.2) 68%,
    rgba(111, 17, 17, 0.48) 100%
  );
}

.topbar.is-scrolled::before {
  opacity: 1;
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 300px;
  max-width: 62vw;
  margin-bottom: 1rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(111, 17, 17, 0.45);
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  min-width: 260px;
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(111, 17, 17, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
  z-index: 40;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  display: block;
  white-space: nowrap;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  background: transparent;
  border: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.topbar a {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(111, 17, 17, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.topbar a:hover,
.topbar a:focus-visible {
  background: rgba(111, 17, 17, 0.72);
  border-color: rgba(255, 255, 255, 0.5);
  outline: none;
}

.topbar .nav-dropdown-menu a {
  display: block;
  white-space: nowrap;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  background: transparent;
  border: none;
}

.topbar .nav-dropdown-menu a:hover,
.topbar .nav-dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: transparent;
}

.hero-content {
  color: var(--white);
  min-height: 100vh;
  padding: 0 6vw;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
  opacity: 0.9;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 1.4rem;
}

.cta {
  display: inline-block;
  background: var(--white);
  color: var(--red-900);
  text-decoration: none;
  font-weight: 400;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
}

.section {
  padding: 4.5rem 6vw;
}

.alt {
  background: #f5dfdf;
}

.section-header {
  margin-bottom: 2rem;
}

.section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  margin-bottom: 0.4rem;
}

.company-box {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(111, 17, 17, 0.12);
  border-left: 6px solid var(--red-500);
  height: 100%;
}

.company-box p + p {
  margin-top: 1rem;
}

.company-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.company-visual {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(111, 17, 17, 0.12);
  position: relative;
  height: 100%;
  background: var(--white);
}

.company-visual img {
  width: 100%;
  height: calc(100% - 56px);
  object-fit: contain;
  display: block;
  padding: 0.8rem 1rem 0.4rem;
}

.company-visual figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--white);
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, rgba(111, 17, 17, 0) 0%, rgba(111, 17, 17, 0.86) 100%);
}

.product-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.product-links,
.product-copy {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(111, 17, 17, 0.12);
}

.product-links {
  border-left: 6px solid var(--red-700);
}

.product-links h3 {
  color: var(--red-700);
  margin-bottom: 0.9rem;
}

.product-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-card {
  --card-image: url("../img/fondo/fondo.jpg");
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(111, 17, 17, 0.12);
  border: 1px solid rgba(111, 17, 17, 0.08);
  border-left: 5px solid var(--red-500);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 48%, rgba(255, 255, 255, 0) 78%),
    var(--card-image);
  background-size: cover, cover;
  background-position: center, right center;
  background-repeat: no-repeat, no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card h4 {
  margin-bottom: 0.45rem;
  color: var(--red-700);
  font-size: 1.02rem;
}

.product-card p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(111, 17, 17, 0.16);
  outline: none;
}

.tone-bionutrientes {
  --card-image: url("../img/cultivos/bionutrientes.jpg");
  background: linear-gradient(90deg, rgba(19, 97, 83, 0.12) 0%, rgba(255, 255, 255, 1) 65%);
  border-left-color: #136153;
}

.tone-bionutrientes h4 {
  color: #136153;
}

.tone-suelo {
  --card-image: url("../img/cultivos/bioestimulantesdesuelo.jpg");
  background: linear-gradient(90deg, rgba(92, 62, 44, 0.14) 0%, rgba(255, 255, 255, 1) 65%);
  border-left-color: #5c3e2c;
}

.tone-suelo h4 {
  color: #5c3e2c;
}

.tone-foliares {
  --card-image: url("../img/cultivos/bioestimulantesfoliares.jpg");
  background: linear-gradient(90deg, rgba(34, 107, 33, 0.12) 0%, rgba(255, 255, 255, 1) 65%);
  border-left-color: #226b21;
}

.tone-foliares h4 {
  color: #226b21;
}

.tone-correctores {
  --card-image: url("../img/cultivos/correctoresdecarencias.jpg");
  background: linear-gradient(90deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 255, 255, 1) 65%);
  border-left-color: #ff0000;
}

.tone-correctores h4 {
  color: #b00000;
}

.tone-complementarios {
  --card-image: url("../img/cultivos/complementarios.gif");
  background: linear-gradient(90deg, rgba(39, 52, 78, 0.14) 0%, rgba(255, 255, 255, 1) 65%);
  border-left-color: #27344e;
}

.tone-complementarios h4 {
  color: #27344e;
}

.tone-sustancias {
  --card-image: url("../img/cultivos/sustanciasbasicas.jpg");
  background: linear-gradient(90deg, rgba(153, 119, 59, 0.16) 0%, rgba(255, 255, 255, 1) 65%);
  border-left-color: #99773b;
}

.tone-sustancias h4 {
  color: #99773b;
}

.product-copy {
  border-left: 6px solid var(--red-500);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.product-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.residuo-cero-badge {
  width: min(190px, 100%);
  height: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(111, 17, 17, 0.12);
}

.card h3 {
  margin-bottom: 0.45rem;
  color: var(--red-700);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.benefits div {
  background: var(--white);
  padding: 1.2rem;
  border-left: 5px solid var(--red-500);
  border-radius: 10px;
}

.contact-box {
  background: var(--white);
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.8rem;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(111, 17, 17, 0.12);
}

.contact-cta {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: var(--white);
  background: var(--red-700);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  background: var(--red-900);
  outline: none;
}

.private-cta-row {
  margin-top: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.private-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.contact-form {
  margin-top: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.4rem;
  align-items: stretch;
}

.contact-info {
  background: #fbf6f4;
  border: 1px solid rgba(111, 17, 17, 0.12);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.contact-info p {
  margin: 0;
}

.contact-form-main {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.9rem;
}

.contact-form-footer {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.4rem;
}

.contact-form-footer-inner {
  grid-column: 2;
  display: grid;
  gap: 0.9rem;
}

.contact-direct {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-icon {
  width: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red-700);
}

.contact-direct a {
  color: var(--red-900);
  text-decoration: none;
}

.contact-direct a:hover,
.contact-direct a:focus-visible {
  text-decoration: underline;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0;
}

.form-field span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--red-900);
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(111, 17, 17, 0.22);
  border-radius: 10px;
  padding: 0.7rem 0.82rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--ink);
  background: #fff;
  appearance: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 0.7rem;
}

.form-field-message {
  height: 100%;
}

.form-field-message textarea {
  height: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  line-height: 1.25;
  color: #7a6666;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(176, 34, 34, 0.65);
  box-shadow: 0 0 0 3px rgba(209, 58, 58, 0.14);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.86rem;
  color: #5a4a4a;
  line-height: 1.45;
}

.privacy-consent input[type="checkbox"] {
  margin-top: 0.18rem;
  width: 16px;
  height: 16px;
}

.privacy-consent a {
  color: var(--red-700);
  font-weight: 600;
  text-decoration: underline;
}

.form-feedback {
  min-height: 1.4em;
  font-size: 0.9rem;
  margin: 0;
}

.form-feedback.is-ok {
  color: #1f8d3d;
}

.form-feedback.is-error {
  color: #b00000;
}

footer {
  text-align: center;
  padding: 1.2rem;
  background: var(--red-900);
  color: var(--white);
}

.legal-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  background: var(--white);
  border: 1px solid rgba(111, 17, 17, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner p a {
  color: var(--red-700);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  font-weight: 600;
}

.cookie-btn.primary {
  background: var(--red-700);
  color: var(--white);
}

.cookie-btn.secondary {
  background: #eee3e3;
  color: var(--ink);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.show {
  display: flex;
}

.private-access-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 36;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.private-access-modal.show {
  display: flex;
}

.private-access-card {
  width: min(460px, 100%);
  background: var(--white);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.private-access-card h3 {
  color: var(--red-700);
  margin-bottom: 0.3rem;
}

.private-access-form {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.private-access-field {
  display: grid;
  gap: 0.35rem;
}

.private-access-field span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--red-900);
}

.private-access-field input {
  width: 100%;
  border: 1px solid rgba(111, 17, 17, 0.22);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.password-field-wrap {
  position: relative;
  display: block;
}

.password-field-wrap input {
  padding-right: 2.4rem;
}

.password-peek-btn {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #6f1111;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-peek-btn:hover,
.password-peek-btn:focus-visible {
  background: rgba(111, 17, 17, 0.1);
  outline: none;
}

.private-access-field input:focus {
  outline: none;
  border-color: rgba(176, 34, 34, 0.65);
  box-shadow: 0 0 0 3px rgba(209, 58, 58, 0.14);
}

.private-access-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.private-access-error {
  min-height: 1.3em;
  margin: 0;
  color: #b00000;
  font-size: 0.9rem;
}

.cookie-modal-card {
  width: min(700px, 100%);
  background: var(--white);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.cookie-modal-card h2 {
  color: var(--red-700);
  margin-bottom: 0.3rem;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(111, 17, 17, 0.12);
  border-radius: 10px;
  padding: 0.8rem;
  margin-top: 0.7rem;
}

.cookie-option input {
  width: 18px;
  height: 18px;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1rem;
}

.legal-page {
  background:
    linear-gradient(rgba(247, 239, 235, 0.88), rgba(247, 239, 235, 0.88)),
    url("../img/fondo/fondo.jpg") center/cover fixed no-repeat;
  min-height: 100vh;
}

.legal-main {
  padding: calc(3rem + 78px) 6vw 4rem;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(111, 17, 17, 0.12);
}

.legal-card h1 {
  margin-bottom: 1rem;
  color: var(--red-700);
}

.legal-card h2 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--red-700);
  font-size: 1.1rem;
}

.legal-card p,
.legal-card li {
  line-height: 1.65;
}

.legal-card ul {
  margin-left: 1.1rem;
}

.catalog-main {
  padding: calc(3rem + 78px) 6vw 4rem;
}

.catalog-header {
  max-width: 980px;
  margin: 0 auto 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "back"
    "title"
    "desc";
  gap: 0.45rem;
  align-items: start;
}

.catalog-header h1 {
  grid-area: title;
  color: var(--red-700);
  margin-bottom: 0;
}

.catalog-header p {
  grid-area: desc;
  margin: 0;
}

.catalog-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.catalog-card {
  background: var(--white);
  border-radius: 14px;
  border-left: 5px solid var(--red-500);
  box-shadow: 0 8px 24px rgba(111, 17, 17, 0.12);
  padding: 1rem;
}

.catalog-card h3 {
  color: var(--red-700);
  margin-bottom: 0.45rem;
}

.catalog-jug {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.7rem;
}

.catalog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card-link:hover,
.catalog-card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(19, 97, 83, 0.2);
  outline: none;
}

.catalog-meta {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: #5a4a4a;
}

.catalog-back {
  grid-area: back;
  justify-self: start;
  align-self: start;
  display: inline-block;
  margin-top: 0;
  text-decoration: none;
  color: var(--white);
  background: var(--red-700);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.catalog-search {
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.catalog-tools {
  grid-area: back;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.catalog-search-field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(19, 97, 83, 0.26);
  border-radius: 999px;
  background: #fff;
  padding: 0 0.78rem;
  overflow: hidden;
}

.catalog-search-icon {
  color: #136153;
  font-size: 0.95rem;
  line-height: 1;
}

.catalog-search-input {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  border-radius: 0;
  padding: 0.62rem 0;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.catalog-search-input:focus {
  outline: none;
}

.catalog-search-field:focus-within {
  border-color: rgba(19, 97, 83, 0.55);
  box-shadow: 0 0 0 3px rgba(19, 97, 83, 0.14);
}

.page-suelo .catalog-search-field {
  border-color: rgba(92, 62, 44, 0.3);
}

.page-suelo .catalog-search-field:focus-within {
  border-color: rgba(92, 62, 44, 0.58);
  box-shadow: 0 0 0 3px rgba(92, 62, 44, 0.14);
}

.page-suelo .catalog-search-icon {
  color: #5c3e2c;
}

.page-foliares .catalog-search-field {
  border-color: rgba(34, 107, 33, 0.3);
}

.page-foliares .catalog-search-field:focus-within {
  border-color: rgba(34, 107, 33, 0.58);
  box-shadow: 0 0 0 3px rgba(34, 107, 33, 0.14);
}

.page-foliares .catalog-search-icon {
  color: #226b21;
}

.page-correctores .catalog-search-field {
  border-color: rgba(176, 0, 0, 0.32);
}

.page-correctores .catalog-search-field:focus-within {
  border-color: rgba(176, 0, 0, 0.62);
  box-shadow: 0 0 0 3px rgba(176, 0, 0, 0.14);
}

.page-correctores .catalog-search-icon {
  color: #b00000;
}

.page-complementarios .catalog-search-field {
  border-color: rgba(39, 52, 78, 0.32);
}

.page-complementarios .catalog-search-field:focus-within {
  border-color: rgba(39, 52, 78, 0.62);
  box-shadow: 0 0 0 3px rgba(39, 52, 78, 0.14);
}

.page-complementarios .catalog-search-icon {
  color: #27344e;
}

.page-sustancias .catalog-search-field {
  border-color: rgba(153, 119, 59, 0.34);
}

.page-sustancias .catalog-search-field:focus-within {
  border-color: rgba(153, 119, 59, 0.64);
  box-shadow: 0 0 0 3px rgba(153, 119, 59, 0.16);
}

.page-sustancias .catalog-search-icon {
  color: #99773b;
}

.catalog-search-meta {
  width: 100%;
  margin: 0;
  font-size: 0.84rem;
  color: #5a4a4a;
  text-align: right;
}

.catalog-no-results {
  max-width: 980px;
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px dashed rgba(19, 97, 83, 0.35);
  background: rgba(19, 97, 83, 0.06);
  color: #136153;
}

.page-bionutrientes .catalog-header h1 {
  color: #136153;
}

.page-bionutrientes .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .page-bionutrientes .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-bionutrientes .catalog-card {
  border-left-color: #136153;
  box-shadow: 0 8px 24px rgba(19, 97, 83, 0.14);
  background: linear-gradient(110deg, rgba(19, 97, 83, 0.08), #ffffff 38%);
}

.page-bionutrientes .product-name {
  color: #136153;
  font-family: "AgryProduct", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  letter-spacing: 0.02em;
}

.page-bionutrientes .catalog-back {
  background: #136153;
}

.page-bionutrientes {
  --detail-accent: #136153;
  --detail-accent-bg: rgba(19, 97, 83, 0.08);
  --detail-accent-border: rgba(19, 97, 83, 0.28);
}

.page-suelo .catalog-header h1 {
  color: #5c3e2c;
}

.page-suelo .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .page-suelo .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-suelo .catalog-card {
  border-left-color: #5c3e2c;
  box-shadow: 0 8px 24px rgba(92, 62, 44, 0.14);
  background: linear-gradient(110deg, rgba(92, 62, 44, 0.08), #ffffff 38%);
}

.page-suelo .product-name {
  color: #5c3e2c;
  font-family: "AgryProduct", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  letter-spacing: 0.02em;
}

.page-suelo .catalog-back {
  background: #5c3e2c;
}

.page-suelo {
  --detail-accent: #5c3e2c;
  --detail-accent-bg: rgba(92, 62, 44, 0.1);
  --detail-accent-border: rgba(92, 62, 44, 0.3);
}

.page-foliares .catalog-header h1 {
  color: #226b21;
}

.page-foliares .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .page-foliares .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-foliares .catalog-card {
  border-left-color: #226b21;
  box-shadow: 0 8px 24px rgba(34, 107, 33, 0.14);
  background: linear-gradient(110deg, rgba(34, 107, 33, 0.08), #ffffff 38%);
}

.page-foliares .product-name {
  color: #226b21;
  font-family: "AgryProduct", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  letter-spacing: 0.02em;
}

.page-foliares .catalog-back {
  background: #226b21;
}

.page-foliares {
  --detail-accent: #226b21;
  --detail-accent-bg: rgba(34, 107, 33, 0.1);
  --detail-accent-border: rgba(34, 107, 33, 0.3);
}

.page-correctores .catalog-header h1 {
  color: #b00000;
}

.page-correctores .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .page-correctores .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-correctores .catalog-card {
  border-left-color: #ff0000;
  box-shadow: 0 8px 24px rgba(176, 0, 0, 0.14);
  background: linear-gradient(110deg, rgba(255, 0, 0, 0.08), #ffffff 38%);
}

.page-correctores .product-name {
  color: #b00000;
  font-family: "AgryProduct", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  letter-spacing: 0.02em;
}

.page-correctores .catalog-back {
  background: #b00000;
}

.page-correctores {
  --detail-accent: #b00000;
  --detail-accent-bg: rgba(176, 0, 0, 0.1);
  --detail-accent-border: rgba(176, 0, 0, 0.32);
}

.page-complementarios .catalog-header h1 {
  color: #27344e;
}

.page-complementarios .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .page-complementarios .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-complementarios .catalog-card {
  border-left-color: #27344e;
  box-shadow: 0 8px 24px rgba(39, 52, 78, 0.14);
  background: linear-gradient(110deg, rgba(39, 52, 78, 0.08), #ffffff 38%);
}

.page-complementarios .product-name {
  color: #27344e;
  font-family: "AgryProduct", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  letter-spacing: 0.02em;
}

.page-complementarios .catalog-back {
  background: #27344e;
}

.page-complementarios {
  --detail-accent: #27344e;
  --detail-accent-bg: rgba(39, 52, 78, 0.1);
  --detail-accent-border: rgba(39, 52, 78, 0.3);
}

.page-sustancias .catalog-header h1 {
  color: #99773b;
}

.page-sustancias .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .page-sustancias .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-sustancias .catalog-card {
  border-left-color: #99773b;
  box-shadow: 0 8px 24px rgba(153, 119, 59, 0.16);
  background: linear-gradient(110deg, rgba(153, 119, 59, 0.1), #ffffff 38%);
}

.page-sustancias .product-name {
  color: #99773b;
  font-family: "AgryProduct", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  letter-spacing: 0.02em;
}

.page-sustancias .catalog-back {
  background: #99773b;
}

.page-sustancias {
  --detail-accent: #99773b;
  --detail-accent-bg: rgba(153, 119, 59, 0.12);
  --detail-accent-border: rgba(153, 119, 59, 0.34);
}


.product-detail-layout {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  align-items: start;
}

.product-side-card .catalog-jug {
  height: 240px;
}

.application-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.6rem;
  min-height: 30px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(19, 97, 83, 0.28);
  background: rgba(19, 97, 83, 0.08);
  color: #136153;
  font-weight: 600;
}

.app-chip::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  flex: 0 0 14px;
  position: relative;
  top: 1px;
}

.app-foliar::before {
  background: #1f8d3d;
  border-radius: 100% 0 100% 0;
  transform: rotate(-20deg);
}

.app-foliar {
  border-color: rgba(31, 141, 61, 0.35);
  background: rgba(31, 141, 61, 0.12);
  color: #1f8d3d;
}

.app-ferti::before {
  border-radius: 3px;
  background:
    linear-gradient(#7a5a3a, #7a5a3a) 0 65% / 100% 35% no-repeat,
    linear-gradient(#9c7650, #9c7650) 0 35% / 100% 25% no-repeat,
    linear-gradient(#c7a07b, #c7a07b) 0 0 / 100% 25% no-repeat;
}

.app-ferti {
  border-color: rgba(122, 90, 58, 0.4);
  background: rgba(122, 90, 58, 0.15);
  color: #7a5a3a;
}


.app-radicular::before {
  border-radius: 3px;
  background:
    linear-gradient(#6b4e2f, #6b4e2f) 0 70% / 100% 30% no-repeat,
    linear-gradient(#8b6841, #8b6841) 0 42% / 100% 22% no-repeat,
    linear-gradient(#b39063, #b39063) 0 0 / 100% 20% no-repeat;
}

.app-radicular {
  border-color: rgba(107, 78, 47, 0.4);
  background: rgba(107, 78, 47, 0.15);
  color: #6b4e2f;
}


.app-espolvoreo::before {
  border-radius: 2px;
  background:
    radial-gradient(circle at 20% 30%, #8a8a8a 0 2px, transparent 3px),
    radial-gradient(circle at 55% 65%, #8a8a8a 0 2px, transparent 3px),
    radial-gradient(circle at 80% 35%, #8a8a8a 0 2px, transparent 3px),
    radial-gradient(circle at 35% 80%, #8a8a8a 0 2px, transparent 3px);
}

.app-espolvoreo {
  border-color: rgba(100, 100, 100, 0.4);
  background: rgba(100, 100, 100, 0.12);
  color: #5a5a5a;
}

.app-suelo::before {
  border-radius: 3px;
  background:
    linear-gradient(#7a5a3a, #7a5a3a) 0 72% / 100% 28% no-repeat,
    linear-gradient(#9c7650, #9c7650) 0 45% / 100% 22% no-repeat,
    radial-gradient(circle at 20% 22%, #c7a07b 0 2px, transparent 3px),
    radial-gradient(circle at 55% 30%, #c7a07b 0 2px, transparent 3px),
    radial-gradient(circle at 80% 20%, #c7a07b 0 2px, transparent 3px);
}

.app-suelo {
  border-color: rgba(122, 90, 58, 0.4);
  background: rgba(122, 90, 58, 0.15);
  color: #7a5a3a;
}
.app-mojante::before {
  background: #0c7bbf;
  clip-path: polygon(50% 0, 78% 38%, 70% 78%, 50% 100%, 30% 78%, 22% 38%);
  border-radius: 20% 20% 50% 50%;
}

.app-mojante {
  border-color: rgba(12, 123, 191, 0.35);
  background: rgba(12, 123, 191, 0.12);
  color: #0c7bbf;
}

.app-generic::before {
  border-radius: 999px;
  background: #666;
  box-shadow: inset 0 0 0 3px #fff;
}

.state-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.state-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.6rem;
  min-height: 30px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(79, 86, 101, 0.35);
  background: rgba(79, 86, 101, 0.12);
  color: #3f4757;
  font-weight: 600;
}

.state-chip::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  flex: 0 0 14px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.85;
}

.state-liquid {
  border-color: rgba(20, 111, 125, 0.38);
  background: rgba(20, 111, 125, 0.13);
  color: #146f7d;
}

.state-solid-powder {
  border-color: rgba(89, 73, 42, 0.38);
  background: rgba(89, 73, 42, 0.14);
  color: #59492a;
}

.state-solid-granular {
  border-color: rgba(111, 86, 44, 0.38);
  background: rgba(111, 86, 44, 0.14);
  color: #6f562c;
}

.format-text {
  color: #5a4a4a;
}

.format-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.format-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--detail-accent-border);
  background: var(--detail-accent-bg);
  color: var(--detail-accent);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1;
  min-height: 28px;
}

.product-info-card h3 {
  margin-top: 0.9rem;
  color: var(--detail-accent);
}

.product-info-card h3:first-child {
  margin-top: 0;
}

.detail-points {
  display: grid;
  gap: 0.55rem;
}

.detail-points p {
  margin: 0;
  background: var(--detail-accent-bg);
  border-left: 4px solid var(--detail-accent);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}

.composition-table-wrap {
  overflow-x: auto;
  margin-top: 0.45rem;
  border: 1px solid rgba(19, 97, 83, 0.2);
  border-radius: 10px;
}

.composition-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  border: none;
}

.composition-table th,
.composition-table td {
  padding: 0.55rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid rgba(19, 97, 83, 0.14);
}

.composition-table th {
  width: 62%;
  background: rgba(19, 97, 83, 0.1);
  color: #136153;
  font-weight: 600;
}

.composition-table tr:last-child th,
.composition-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(111, 17, 17, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
  }

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

  .nav-menu li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-menu a {
    display: block;
    padding: 0.8rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: transparent;
  }

  .nav-dropdown-menu {
    display: none !important;
  }

  .hero-content {
    min-height: 100svh;
    padding: 0 6vw;
  }

  .company-layout {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .private-layout {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .private-cta-row {
    justify-content: flex-start;
  }

  .contact-form-footer {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-footer-inner {
    grid-column: auto;
  }

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

  .product-link-grid {
    grid-template-columns: 1fr;
  }

  .page-bionutrientes .catalog-grid {
    grid-template-columns: 1fr;
  }

  .page-suelo .catalog-grid {
    grid-template-columns: 1fr;
  }

  .page-foliares .catalog-grid {
    grid-template-columns: 1fr;
  }

  .page-correctores .catalog-grid {
    grid-template-columns: 1fr;
  }

  .page-complementarios .catalog-grid {
    grid-template-columns: 1fr;
  }

  .page-sustancias .catalog-grid {
    grid-template-columns: 1fr;
  }

  .company-visual img {
    height: calc(100% - 56px);
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
  }

  .catalog-header {
    grid-template-areas:
      "back"
      "title"
      "desc";
    align-items: start;
  }

  .catalog-back {
    justify-self: start;
  }

  .catalog-tools {
    flex-direction: column;
    align-items: stretch;
  }
}











