:root {
  --green: #00703c;
  --green-2: #075b34;
  --green-dark: #053522;
  --navy: #06185a;
  --gold: #d6b14d;
  --gold-2: #f3df9c;
  --cream: #fff9ea;
  --soft: #f4fbf7;
  --text: #143326;
  --muted: #65736d;
  --white: #ffffff;
  --line: rgba(0,112,60,.17);
  --shadow: 0 20px 60px rgba(5,53,34,.14);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
body[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
table { border-collapse: collapse; width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 0; padding: 12px; background: var(--green); color: white; z-index: 999; }
.skip-link:focus { left: 16px; top: 16px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { width: 54px; height: 54px; border-radius: 16px; background: white; box-shadow: 0 8px 22px rgba(0,0,0,.08); display: grid; place-items: center; overflow: hidden; border: 2px solid rgba(0,112,60,.25); position: relative; }
.brand-mark::before { content:""; position:absolute; inset: 10px 14px 12px 10px; border: 7px solid var(--green); border-right-color: transparent; border-radius: 50%; }
.brand-mark::after { content:""; position:absolute; width: 24px; height: 4px; background: var(--gold); transform: rotate(-18deg); right: 7px; top: 28px; border-radius: 99px; }
.brand-mark span { position: relative; color: transparent; }
.brand-text strong { display: block; color: var(--green-2); font-size: clamp(18px, 2vw, 24px); line-height: 1; letter-spacing: -.02em; }
.brand-text small { display: block; color: var(--muted); font-weight: 800; margin-top: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.main-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.main-nav a { color: var(--text); font-weight: 900; font-size: 14px; padding: 10px 5px; position: relative; white-space: nowrap; }
.main-nav a::after { content:""; position: absolute; left: 7px; right: 7px; bottom: 4px; height: 3px; border-radius: 999px; background: var(--gold); transform: scaleX(0); transition: .22s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; color: var(--green-dark); }
.lang-btn { border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; padding: 8px 4px; }
.lang-btn.active { color: var(--green); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--green-dark); margin: 5px 0; border-radius: 99px; }
.hero {
  padding: 62px 0 38px;
  background: radial-gradient(circle at 15% 12%, rgba(214,177,77,.34), transparent 24%), linear-gradient(135deg,#fbfff9 0%,#ecf7ef 55%,#fff7de 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: 34px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 10px; color: var(--green); font-weight: 900; letter-spacing: .11em; text-transform: uppercase; font-size: 13px; }
.hero h1 { font-size: clamp(36px,5vw,64px); line-height: .98; margin: 0; color: var(--green-dark); letter-spacing: -.045em; max-width: 780px; }
.hero-lead { margin: 22px 0 0; font-size: clamp(17px,2vw,21px); color: #3a5145; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; font-weight: 900; border: 1px solid transparent; transition: .2s ease; cursor: pointer; }
.btn-primary { background: var(--green); color: white; box-shadow: 0 12px 24px rgba(0,112,60,.22); }
.btn-primary:hover { background: var(--green-2); transform: translateY(-1px); }
.btn-light { background: white; border-color: var(--line); color: var(--green-dark); }
.btn-gold { background: linear-gradient(135deg,var(--gold),var(--gold-2)); color: #2d2300; }
.hero-media { position: relative; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); background: white; min-height: 420px; border: 8px solid white; }
.hero-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.media-badge { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 14px 35px rgba(0,0,0,.15); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.media-badge strong { color: var(--green-dark); }
.media-badge span { color: var(--muted); font-weight: 800; }
.values { margin-top: -6px; padding: 0 0 38px; background: white; }
.value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; transform: translateY(-22px); }
.value-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 16px 40px rgba(5,53,34,.08); }
.value-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,112,60,.1); color: var(--green); font-weight: 900; font-size: 21px; margin-bottom: 14px; }
.value-card h3 { margin: 0 0 8px; color: var(--green-dark); font-size: 17px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }
.section { padding: 78px 0; }
.section:nth-of-type(odd) { background: white; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.section-copy h2, .section-head h2, .photo-panel h2, .contact-band h2 { margin: 0; color: var(--green-dark); line-height: 1.08; letter-spacing: -.035em; font-size: clamp(28px,4vw,46px); }
.section-copy p:not(.section-kicker), .section-head p:not(.section-kicker) { color: #53675b; font-size: 17px; margin: 18px 0 0; }
.section-head.centered { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 28px; }
.mini-stats span { padding: 16px; background: var(--cream); border: 1px solid rgba(214,177,77,.35); border-radius: 18px; }
.mini-stats strong, .mini-stats small { display: block; }
.mini-stats strong { color: var(--green-dark); font-size: 20px; }
.mini-stats small { color: var(--muted); font-weight: 800; }
.feature-list { display: grid; gap: 14px; }
.feature-list article { display: grid; grid-template-columns: 58px 1fr; gap: 16px; background: white; border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: 0 14px 35px rgba(5,53,34,.08); }
.feature-list span { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(0,112,60,.1); color: var(--green); font-weight: 900; }
.feature-list h3 { margin: 0 0 6px; color: var(--green-dark); }
.feature-list p { margin: 0; color: var(--muted); }
.product-section { background: linear-gradient(180deg, white, var(--soft)); }
.product-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; }
.product-main-card, .benefit-card, .table-wrap, .sheet-card, .contact-actions-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 45px rgba(5,53,34,.09); overflow: hidden; }
.product-main-card img { width: 100%; max-height: 520px; object-fit: contain; background: white; padding: 10px; }
.product-summary { padding: 22px; }
.product-summary h3, .benefit-card h3 { margin: 0 0 8px; color: var(--green-dark); }
.product-summary p, .benefit-card p { margin: 0; color: var(--muted); }
.benefits-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.benefit-card { padding: 22px; }
.benefit-card span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,112,60,.1); color: var(--green); font-size: 23px; margin-bottom: 12px; }
.composition { background: white; }
.split-tables { align-items: start; }
.table-wrap { overflow: auto; }
th { background: var(--green); color: white; font-weight: 900; }
th, td { padding: 13px 14px; border: 1px solid rgba(0,112,60,.17); text-align: start; }
td { color: #183a2b; background: rgba(255,255,255,.9); font-weight: 700; }
.usage-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.usage-list li { display: grid; gap: 4px; padding: 15px 16px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(5,53,34,.06); }
.usage-list strong { color: var(--green-dark); }
.usage-list span { color: var(--muted); }
.comparison-table table { min-width: 760px; }
.sheets { background: linear-gradient(180deg, var(--soft), white); }
.sheets-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.sheet-card { display: grid; grid-template-columns: 42% 1fr; gap: 0; align-items: center; }
.sheet-card img { width: 100%; height: 420px; object-fit: contain; background: #fff; padding: 8px; border-inline-end: 1px solid var(--line); }
.sheet-card div { padding: 24px; }
.sheet-card h3 { color: var(--green-dark); font-size: 24px; margin: 0 0 10px; }
.sheet-card p { color: var(--muted); margin: 0 0 18px; }
.future-photos, .contact-band { background: var(--green-dark); color: white; padding: 64px 0; }
.photo-panel { display: grid; grid-template-columns: 1fr .85fr; gap: 30px; align-items: center; }
.photo-panel .section-kicker.light, .contact-band .section-kicker.light { color: var(--gold-2); }
.photo-panel h2, .contact-band h2 { color: white; }
.photo-panel p, .contact-band p { color: rgba(255,255,255,.82); }
.photo-placeholders { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.photo-placeholders span { display: block; min-height: 170px; border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(214,177,77,.22)); border: 1px dashed rgba(255,255,255,.34); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.contact-lines { margin-top: 22px; display: grid; gap: 8px; }
.contact-lines p { margin: 0; }
.contact-lines a { color: white; font-weight: 800; }
.contact-actions-card { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); padding: 26px; display: grid; gap: 12px; color: white; }
.contact-actions-card strong { font-size: 28px; }
.contact-actions-card span { color: rgba(255,255,255,.76); }
.footer { background: #031f15; color: rgba(255,255,255,.86); padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr 1fr; gap: 28px; }
.footer .brand-mark { background: transparent; border-color: rgba(255,255,255,.3); }
.footer .brand-text strong { color: white; }
.footer .brand-text small { color: rgba(255,255,255,.66); }
.footer h3 { margin: 0 0 12px; color: var(--gold-2); font-size: 16px; }
.footer a, .footer p { display: block; margin: 6px 0; color: rgba(255,255,255,.78); }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.credit { color: rgba(255,255,255,.58) !important; }
body[dir="rtl"] .hero-copy, body[dir="rtl"] .section-copy, body[dir="rtl"] .footer, body[dir="rtl"] .sheet-card div, body[dir="rtl"] .product-summary, body[dir="rtl"] .benefit-card, body[dir="rtl"] .contact-band { text-align: right; }
body[dir="rtl"] .main-nav { margin-inline-start: 0; margin-inline-end: auto; }
body[dir="rtl"] .media-badge { direction: rtl; }
body[dir="rtl"] th, body[dir="rtl"] td { text-align: right; }
@media (max-width: 1040px) {
  .menu-toggle { display: block; margin-inline-start: auto; }
  .main-nav { position: absolute; left: 16px; right: 16px; top: 82px; display: none; grid-template-columns: 1fr; gap: 4px; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .hero-grid, .split, .product-grid, .photo-panel, .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2,1fr); }
  .sheets-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 22px, 1180px); }
  .header-inner { height: 70px; gap: 10px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { display: none; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: 36px; }
  .hero-media, .hero-media img { min-height: 285px; }
  .media-badge { position: static; border-radius: 0; box-shadow: none; display: grid; }
  .value-grid, .mini-stats, .benefits-grid, .footer-grid, .photo-placeholders { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .sheet-card { grid-template-columns: 1fr; }
  .sheet-card img { height: 360px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .footer-bottom { display: block; }
}


/* Product ranges - CMV / ruminants / custom nutrition */
.ranges-section {
  background: linear-gradient(180deg, #ffffff, var(--soft));
}
.range-cards {
  display: grid;
  grid-template-columns: 1.05fr .9fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}
.range-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 73, 43, .09);
  padding: 26px;
}
.range-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(0, 112, 60, .07);
}
.range-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,112,60,.12), rgba(219,184,76,.20));
  color: var(--green-dark);
  font-size: 26px;
  margin-bottom: 16px;
}
.range-card h3 {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 23px;
  line-height: 1.15;
}
.range-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.range-card li {
  position: relative;
  padding: 11px 12px 11px 34px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid rgba(0,112,60,.10);
  font-weight: 850;
  color: #173326;
}
.range-card li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--green);
  font-weight: 900;
}
.range-card p {
  margin: 0;
  color: #4d6658;
  font-size: 17px;
}
.custom-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
}
.custom-card h3, .custom-card p { color: #fff; }
.custom-card .range-icon { background: rgba(255,255,255,.14); color: #fff; }
body[dir="rtl"] .range-card { text-align: right; }
body[dir="rtl"] .range-card li { padding: 11px 34px 11px 12px; }
body[dir="rtl"] .range-card li::before { left: auto; right: 12px; }
@media (max-width: 980px) {
  .range-cards { grid-template-columns: 1fr; }
}


/* Capital CMV V1.2 updates */
.showcase-grid {
  align-items: stretch;
}
.product-showcase-card picture {
  background: #fff;
}
.product-showcase-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-inline-end: 1px solid var(--line);
}
.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
}
.pill-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid rgba(0,112,60,.14);
  color: var(--green-dark);
  font-weight: 800;
}
.factory-section {
  color: white;
}
.factory-head {
  margin-bottom: 28px;
}
.factory-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.factory-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.22);
}
.factory-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.factory-card-copy {
  padding: 20px 22px 24px;
}
.factory-card-copy h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 24px;
}
.factory-card-copy p {
  margin: 0;
  color: rgba(255,255,255,.82);
}
body[dir="rtl"] .factory-card-copy,
body[dir="rtl"] .product-showcase-card div {
  text-align: right;
}
@media (max-width: 1040px) {
  .factory-gallery {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .product-showcase-card img {
    min-height: 320px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .pill-list li {
    width: 100%;
  }
  .factory-card img {
    height: 230px;
  }
}
