:root {
  --primary: #14213d;
  --primary-soft: #2c3e66;
  --accent: #d1272b;
  --accent-dark: #a01d21;
  --bg: #f5f3ec;
  --surface: #ffffff;
  --muted: #5c6675;
  --line: #dfe1e8;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
  --shadow-soft: 0 14px 30px rgba(20, 33, 61, 0.08);
  --shadow-strong: 0 28px 55px rgba(20, 33, 61, 0.16);
  --shadow-glow: 0 22px 40px rgba(209, 39, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(209, 39, 43, 0.08), transparent 35%),
    var(--bg);
  color: var(--primary);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

img,
.btn,
.service-card,
.farm-card,
.diff-card,
.gallery-item,
.card-floating,
.brand {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.alt-bg {
  background: #eef1f6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 12px 30px rgba(20, 33, 61, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  background: rgba(20, 33, 61, 0.06);
  border-radius: 999px;
  padding: 0.25rem;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img {
  width: 210px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  background: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.hero-copy h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 700px;
  text-wrap: balance;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
}

.hero {
  background: linear-gradient(135deg, #f8fff7 0%, #edf9ea 42%, #e4f5dc 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -25% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(140, 198, 62, 0.1);
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-video-section {
  min-height: 820px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 4.5rem;
  background: #0b0f0c;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 12, 0.35) 0%, rgba(11, 15, 12, 0.55) 55%, rgba(11, 15, 12, 0.94) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero-content h1 {
  color: #fff;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-list-light {
  color: rgba(255, 255, 255, 0.92);
}

.hero-list-light li::before {
  color: var(--accent);
}

.eyebrow,
.section-tag {
  display: inline-block;
  background: rgba(209, 39, 43, 0.12);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 700px;
}

.hero-copy p {
  margin: 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 1.04rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: white;
  box-shadow: 0 16px 30px rgba(20, 33, 61, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.04);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border-color: var(--line);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  color: var(--primary-soft);
  font-weight: 600;
}

.hero-list li::before {
  content: "✓";
  color: var(--accent-dark);
  margin-right: 0.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  min-height: 420px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(20, 33, 61, 0.08);
  filter: saturate(1.1) contrast(1.08);
}

.hero-visual img:hover {
  transform: scale(1.01);
  filter: saturate(1.18) contrast(1.12);
}

.card-floating {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.card-floating:hover {
  transform: translateY(-3px);
}

.card-floating strong {
  font-size: 1.4rem;
}

.card-floating span {
  color: var(--muted);
  font-size: 0.82rem;
}

.card-top {
  top: 0.6rem;
  left: -1rem;
}

.card-bottom {
  right: -0.2rem;
  bottom: 0.6rem;
}

.trustbar {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
  padding: 1.15rem 0;
}

.trust-grid div {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.quick-links {
  padding: 3.5rem 0;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.quick-card {
  position: relative;
  display: block;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 12, 0.1) 0%, rgba(11, 15, 12, 0.88) 100%);
  transition: background 0.3s ease;
}

.quick-card:hover::before {
  background: linear-gradient(180deg, rgba(11, 15, 12, 0.25) 0%, rgba(11, 15, 12, 0.78) 100%);
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.quick-card-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  color: #fff;
}

.quick-card-overlay h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.quick-card-overlay p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.quick-link {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quick-card:hover .quick-link {
  color: #fff;
}

.accent-word {
  color: var(--accent-dark);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 3rem;
}

.split-grid.reverse .split-media {
  order: 2;
}

.split-media video {
  width: 100%;
  min-height: 300px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.split-copy h3 {
  margin: 1rem 0 0.9rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.split-copy p {
  margin: 0;
  color: var(--muted);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-grid + .about-grid {
  margin-top: 3rem;
}

.about-grid.reverse .about-image-wrap {
  order: 2;
}

.about-image-wrap img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.about-image-wrap img:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.about-copy h2,
.section-header h2,
.contact-copy h2 {
  margin: 1rem 0 0.9rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.about-copy p,
.contact-copy p,
.service-card p,
.diff-card p,
.farm-content p,
.testimonial-grid blockquote {
  color: var(--muted);
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.mini-stats div {
  min-width: 120px;
}

.mini-stats strong,
.stats-grid strong {
  display: block;
  font-size: 1.8rem;
}

.mini-stats span,
.stats-grid span {
  color: var(--muted);
}

.section-header {
  margin-bottom: 2.2rem;
}

.section-header.center {
  text-align: center;
}

.section-intro {
  max-width: 700px;
  margin: 1rem auto 0;
  color: var(--muted);
}

.cards-grid,
.farm-grid,
.diff-grid,
.stats-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.diff-card,
.farm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.service-card {
  padding: 0 0 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.05);
}

/* crops out the plate/background so the florets fill the frame, like the cauliflower photo */
.service-image img.zoom-in {
  transform: scale(1.35);
  object-position: center 40%;
}

.service-card:hover .service-image img.zoom-in {
  transform: scale(1.45);
}

.service-body {
  padding: 1.5rem 1.5rem 0;
}

.service-card:hover,
.diff-card:hover,
.farm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(20, 33, 61, 0.1);
  border-color: rgba(209, 39, 43, 0.25);
}

.service-card .icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(209, 39, 43, 0.12);
  color: var(--accent-dark);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.service-card h3,
.farm-content h3,
.diff-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
}

.service-submenu {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  background: rgba(20, 33, 61, 0.86);
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  overflow-y: auto;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-submenu li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  color: #fff;
}

.service-submenu li img {
  width: 50px;
  height: 50px;
  flex: none;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* Modal used to preview a larger version of the submenu thumbnails on hover/click */
.image-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.78);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-content {
  position: relative;
  max-width: 50vw;
  max-height: 50vh;
}

.image-modal-content img {
  display: block;
  max-width: 50vw;
  max-height: 50vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.image-modal-close {
  position: absolute;
  top: -1.1rem;
  right: -1.1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark, #14213d);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.image-modal-caption {
  margin: 0.6rem 0 0;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
}

.service-submenu li:last-child {
  border-bottom: none;
}

/* When a card has more than 3 items, switch to a 2-column layout so every photo is visible without scrolling */
.service-submenu:has(li:nth-child(4)) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  justify-items: center;
  gap: 0.5rem 0.6rem;
  font-size: 0.8rem;
}

.service-submenu:has(li:nth-child(4)) li {
  flex-direction: column;
  text-align: center;
  padding: 0.3rem 0;
  font-size: 0.78rem;
  gap: 0.4rem;
}

.service-submenu:has(li:nth-child(4)) li img {
  width: 56px;
  height: 56px;
}

/* remove the separator only on the last visual row of the 2-column grid */
.service-submenu:has(li:nth-child(4)) li:nth-last-child(-n + 2) {
  border-bottom: none;
}

.service-card:hover .service-submenu,
.service-card:focus-within .service-submenu {
  opacity: 1;
  visibility: visible;
}

.farm-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey {
  background: var(--surface);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-step {
  position: relative;
  padding: 1.8rem 1.25rem 1.5rem;
  border-right: 1px solid var(--line);
}

.journey-step:last-child {
  border-right: 0;
}

.journey-step strong {
  color: var(--accent-dark);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.journey-step h3 {
  margin: 1rem 0 0.6rem;
  font-size: 1.15rem;
}

.journey-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.process-stage-title {
  margin: 2.5rem 0 1.2rem;
  font-size: 1.15rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr;
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-height: 0;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 33, 61, 0.1);
  background: var(--primary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.08);
}

.gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-portrait {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3.5rem 1.1rem 1.15rem;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(10, 18, 32, 0.86));
  z-index: 1;
}

.gallery-overlay span {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.gallery-overlay h3 {
  margin: 0.5rem 0 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.farm-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.farm-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,33,61,0.08), rgba(20,33,61,0.18));
  transition: background 0.3s ease;
}

.farm-card:hover .farm-image::after {
  background: linear-gradient(180deg, rgba(20,33,61,0.02), rgba(20,33,61,0.08));
}

.farm-one {
  background-image: url("recursos/imagenes/broco.jpg");
}

.farm-two {
  background-image: url("recursos/imagenes/brocolis.jpg");
}

.farm-three {
  background-image: linear-gradient(135deg, rgba(20,33,61,0.2), rgba(20,33,61,0.2)), url("recursos/imagenes/slider2.jpg");
  background-size: cover;
  background-position: center;
}

.farm-content {
  padding: 1.6rem 1.5rem;
}

.farm-card:hover .farm-image {
  filter: saturate(1.14) contrast(1.04);
}

.diff-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.diff-card {
  padding: 1.7rem 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,1));
}

.diff-card strong {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(209, 39, 43, 0.12);
  color: var(--accent-dark);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.diff-card:hover strong {
  background: rgba(209, 39, 43, 0.2);
  box-shadow: 0 10px 18px rgba(209, 39, 43, 0.15);
}

.values-block {
  margin-top: 1.5rem;
  padding: 2.2rem 2rem;
  background: var(--primary);
  border-radius: 22px;
  color: #f5f3ec;
}

.values-block h3 {
  margin: 0 0 1.2rem;
  font-size: 1.35rem;
  color: #fff;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.values-list li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(245, 243, 236, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
}

.values-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.value-prop-block {
  margin-top: 1.5rem;
  padding: 2.4rem 2.2rem;
  background: linear-gradient(135deg, rgba(209, 39, 43, 0.06), rgba(20, 33, 61, 0.03));
  border: 1px solid rgba(209, 39, 43, 0.18);
  border-left: 5px solid var(--accent);
  border-radius: 22px;
  position: relative;
}

.value-prop-block::before {
  content: "\201C";
  position: absolute;
  top: 0.6rem;
  right: 1.6rem;
  font-size: 4.5rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(209, 39, 43, 0.15);
}

.value-prop-block .section-tag {
  margin-bottom: 1rem;
}

.value-prop-block p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--primary);
  font-weight: 500;
}

.quality {
  background: var(--primary);
  color: #f5f3ec;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.quality-copy h2 {
  margin: 1rem 0;
  max-width: 620px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.quality-copy p {
  max-width: 600px;
  color: rgba(245, 243, 236, 0.72);
}

.quality .section-tag {
  background: rgba(209, 39, 43, 0.2);
  color: #f2a3a6;
}

.quality-list {
  display: grid;
  gap: 0.8rem;
}

.quality-list div {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(245, 243, 236, 0.16);
}

.quality-list strong {
  color: #f2a3a6;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.quality-list span {
  font-weight: 600;
}

.certifications-inner {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 243, 236, 0.16);
}

.quality .section-intro {
  color: rgba(245, 243, 236, 0.72);
}

.certifications {
  background: #f1f2eb;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.focus-quote {
  margin: 3rem 0 0;
  padding: 2.6rem 2.4rem;
  background: var(--primary);
  border-radius: 26px;
  color: #fff;
  box-shadow: var(--shadow);
}

.focus-quote p {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 900px;
}

.focus-quote cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
}

.certification-card {
  min-height: 0;
  padding: 1.5rem;
  color:#2c3e66; 
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.certification-logo {
  width: 100%;
  height: 86px;
  object-fit: contain;
  margin-bottom: 1rem;
  background: #fff;
}

.certification-card:hover {
  transform: translateY(-5px);
  border-color: rgba(209, 39, 43, 0.5);
  box-shadow: var(--shadow-soft);
}

.certification-mark {
  display: inline-flex;
  min-width: 3.1rem;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.certification-card h3 {
  margin: 1.25rem 0 0.6rem;
  font-size: 1.2rem;
}

.certification-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}

.stats-grid div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1rem;
}

.cta-banner {
  padding: 0 0 1rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  border-radius: 28px;
  padding: 2.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: white;
  box-shadow: var(--shadow);
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: #f4f9f3;
}

.cta-box h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.contact-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.04);
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.contact-copy ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.contact-copy ul strong {
  color: var(--primary);
  margin-right: 0.35rem;
}

.contact-copy ul a {
  color: var(--accent-dark);
  font-weight: 600;
}

.contact-form button {
  margin-top: 0.5rem;
  width: 100%;
  border: none;
  cursor: pointer;
}

.site-footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 1.3rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .quality-grid,
  .journey-grid,
  .cards-grid,
  .farm-grid,
  .diff-grid,
  .stats-grid,
  .trust-grid,
  .gallery-grid,
  .quick-links-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .certification-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid.reverse .split-media {
    order: 0;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .gallery-feature,
  .gallery-wide {
    grid-column: auto;
  }

  .gallery-portrait {
    grid-row: auto;
  }

  .journey-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 4rem;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .brand img {
    width: 165px;
    height: 54px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .card-top {
    left: 0.5rem;
  }

  .card-bottom {
    right: 0.5rem;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}
