/* =========================================================
   Premium Poultry: Advisory & Trading Services
   Corporate multi-page theme
   ========================================================= */

:root {
  --green: #0f4a33;
  --green-dark: #0a3324;
  --green-deep: #072619;
  --green-soft: #e8f0eb;
  --copper: #c4752b;
  --copper-dark: #a35f1f;
  --gold: #e0ad69;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #2a2f2c;
  --muted: #5f6762;
  --line: #e3e0d8;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;
  --font-brand: "Cinzel", Georgia, serif;
  --font-ar: "Tajawal", "Noto Kufi Arabic", sans-serif;

  --radius: 6px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --ease: cubic-bezier(.25, .7, .25, 1);
  --header-h: 92px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: var(--green-dark); line-height: 1.25; font-weight: 600; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 300; padding: 10px 16px; background: var(--copper); color: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border: 2px solid var(--copper); border-radius: var(--radius);
  background: var(--copper); color: #fff; cursor: pointer;
  font: 600 14.5px/1.2 var(--font-head); text-decoration: none; text-align: center;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--copper-dark); border-color: var(--copper-dark); }
.btn-green { background: var(--green); border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn-light:hover { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.link-more { font: 600 14px var(--font-head); color: var(--copper); text-decoration: none; }
.link-more:hover { color: var(--green); }
.link-more::after { content: " \2192"; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-deep); color: rgba(255, 255, 255, .85); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-contacts { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 2; }
.topbar-ar { font-family: var(--font-ar); font-size: 15px; color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 56px; height: var(--header-h); }
/* header and top bar use a little more width than page content, so the logo and menu have room */
.site-header .container, .topbar .container { width: min(1300px, 100% - 48px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 66px; height: 66px; border-radius: 8px; object-fit: cover; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-family: var(--font-brand); font-size: 22px; font-weight: 700; color: var(--green-dark); letter-spacing: .03em; white-space: nowrap; }
.brand-text small { font: 600 11.5px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--copper); }
.brand-text .brand-ar { font-family: var(--font-ar); font-size: 14px; color: var(--green); margin-top: 2px; text-align: left; white-space: nowrap; }

.menu { display: flex; align-items: center; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: flex; align-items: center; gap: 5px; height: var(--header-h); padding: 0 12px;
  border: 0; background: none; cursor: pointer;
  font: 600 14px var(--font-head); color: var(--text); text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li:focus-within > button { color: var(--copper); }
.menu > li.is-active > a, .menu > li.is-active > button { color: var(--copper); border-bottom-color: var(--copper); }
.menu .caret { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.5; transition: transform .2s; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px; padding: 8px 0;
  background: #fff; border-top: 3px solid var(--copper); box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.menu > li:hover > .submenu, .menu > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.menu > li:hover .caret { transform: rotate(180deg); }
.submenu a { display: block; padding: 10px 20px; font-size: 14.5px; color: var(--text); text-decoration: none; }
.submenu a:hover, .submenu a.is-current { background: var(--cream); color: var(--copper); }
.menu-cta { margin-left: 10px; }
/* Careers + Contact as the classic pill buttons */
.menu > li.menu-btn { margin-left: 8px; }
.menu > li.menu-btn > a {
  height: auto; padding: 11px 20px; border: 1.5px solid var(--copper); border-radius: 999px;
  font: 700 12.5px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.menu > li.menu-btn-outline > a { color: var(--copper); background: transparent; }
.menu > li.menu-btn-outline > a:hover, .menu > li.menu-btn-outline.is-active > a { background: var(--copper); color: #fff; }
.menu > li.menu-btn-solid > a { color: #fff; background: linear-gradient(135deg, #d07e2c, var(--copper-dark)); box-shadow: 0 6px 16px rgba(196, 117, 43, .35); }
.menu > li.menu-btn-solid > a:hover, .menu > li.menu-btn-solid.is-active > a { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(196, 117, 43, .45); }
.menu > li.menu-btn.is-active > a { border-bottom-color: var(--copper); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--green-dark); transition: transform .25s, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.slider { position: relative; height: min(640px, 82vh); min-height: 460px; overflow: hidden; background: var(--green-deep); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active .slide-img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 38, 25, .88) 0%, rgba(7, 38, 25, .6) 50%, rgba(7, 38, 25, .15) 100%); }
.slide-caption { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.slide-caption > * { max-width: 660px; }
.slide-tag { display: inline-block; align-self: flex-start; margin-bottom: 16px; padding: 5px 12px; background: var(--copper); font: 600 12.5px var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.slide-caption h1, .slide-caption h2 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; line-height: 1.12; }
.slide-caption p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .9); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slide.is-active .slide-caption > * { animation: captionIn .9s var(--ease) both; }
.slide.is-active .slide-caption > *:nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide-caption > *:nth-child(3) { animation-delay: .24s; }
.slide.is-active .slide-caption > *:nth-child(4) { animation-delay: .36s; }
@keyframes captionIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.slider-arrow {
  position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .15); color: #fff; transition: background-color .2s;
}
.slider-arrow:hover { background: var(--copper); }
.slider-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.slider-dots button { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dots button.is-active { background: var(--copper); border-color: var(--copper); }

/* feature boxes overlapping the slider */
.features { position: relative; z-index: 3; margin-top: -60px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 14px 40px rgba(0, 0, 0, .15); }
.feature { display: block; padding: 30px 26px; text-decoration: none; color: #fff; background: var(--green); transition: background-color .25s; }
.feature:nth-child(2) { background: var(--green-dark); }
.feature:nth-child(3) { background: var(--green); }
.feature:nth-child(4) { background: var(--copper); }
.feature:hover { background: var(--green-deep); }
.feature:nth-child(4):hover { background: var(--copper-dark); }
.feature svg { width: 40px; height: 40px; margin-bottom: 14px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature:nth-child(4) svg { stroke: #fff; }
.feature h3 { color: #fff; font-size: 18px; }
.feature p { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .85); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; padding: 90px 0 80px; background: var(--green-deep) center / cover no-repeat; color: #fff; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 38, 25, .9), rgba(7, 38, 25, .55)); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; }
.page-banner p { margin-top: 12px; max-width: 680px; font-size: 17.5px; color: rgba(255, 255, 255, .9); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--green-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.heading { margin-bottom: 48px; }
.heading-center { text-align: center; max-width: 760px; margin-inline: auto; }
.kicker { display: block; margin-bottom: 8px; font: 600 13px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.section-dark .kicker { color: var(--gold); }
.heading h2 { font-size: clamp(28px, 3.2vw, 38px); }
.heading h2::after { content: ""; display: block; width: 60px; height: 3px; margin-top: 16px; background: var(--copper); }
.heading-center h2::after { margin-inline: auto; }
.heading p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.section-dark .heading p { color: rgba(255, 255, 255, .8); }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* split block: image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media .media-badge {
  position: absolute; left: -20px; bottom: 30px; padding: 18px 22px; background: var(--copper); color: #fff;
  font: 600 14px/1.3 var(--font-head); box-shadow: var(--shadow);
}
.media-badge strong { display: block; font-size: 34px; line-height: 1; }
.split-copy h2 { margin-bottom: 18px; font-size: clamp(26px, 3vw, 34px); }
.split-copy h3 { font-size: 20px; margin-bottom: 8px; }
.ceo-copy h3 { margin-top: 26px; font-size: 18px; }
.split-copy p + p { margin-top: 14px; }
.split-copy > p { color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 24px 0 30px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; color: var(--green-dark); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex; flex-direction: column; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: box-shadow .3s, transform .3s;
}
a.card:hover, .card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .1); transform: translateY(-4px); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.card-body h3 { font-size: 19px; margin-bottom: 10px; }
.card-body p { font-size: 15px; color: var(--muted); }
.card-body .link-more { margin-top: auto; padding-top: 16px; }
.card-num { position: absolute; left: 0; top: 0; padding: 6px 12px; background: var(--copper); color: #fff; font: 700 14px var(--font-head); }

/* illustrated placeholder for items without a photo */
.art {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
}
.art svg { width: 38%; max-width: 120px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Stats band ---------- */
.stats-band { position: relative; padding: 70px 0; background: var(--green-deep) center / cover no-repeat; color: #fff; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: rgba(7, 38, 25, .86); }
.stats-band .container { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-grid div { padding: 10px 16px; border-left: 1px solid rgba(255, 255, 255, .18); }
.stats-grid div:first-child { border-left: 0; }
.stats-grid strong { display: block; font: 700 46px/1 var(--font-head); color: var(--gold); }
.stats-grid span { display: block; margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .88); }

/* ---------- CEO ---------- */
.ceo { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.ceo-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); box-shadow: var(--shadow); }
.ceo-photo figcaption { margin-top: 16px; text-align: center; }
.ceo-photo figcaption strong { display: block; font: 600 20px var(--font-head); color: var(--green-dark); }
.ceo-photo figcaption span { font-size: 14.5px; color: var(--copper); font-weight: 600; }
.ceo-photo figcaption .ar { display: block; margin-top: 2px; font-family: var(--font-ar); font-size: 16px; color: var(--muted); }
.ceo-copy > p { color: var(--muted); }
.ceo-copy > p + p { margin-top: 14px; }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.cert { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--green-dark); background: #fff; transition: border-color .2s; }
.cert:hover { border-color: var(--copper); }
.cert img { flex: none; width: 56px; height: 76px; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.cert span { font: 600 14px/1.35 var(--font-head); }
.cert small { display: block; font: 400 12.5px var(--font-body); color: var(--muted); }

/* ---------- Expert panel ---------- */
.panel-total { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 22px; background: var(--green); color: #fff; border-radius: var(--radius); font: 600 15px var(--font-head); }
.panel-total strong { font-size: 30px; color: var(--gold); }
.experts { display: grid; gap: 34px; }
.expert { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.expert-photo { margin: 0; text-align: center; }
.expert-photo img { width: 100%; aspect-ratio: 1 / 1.15; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.expert-photo figcaption { margin-top: 16px; }
.expert-photo strong { display: block; font: 600 19px/1.3 var(--font-head); color: var(--green-dark); }
.expert-photo span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--copper); line-height: 1.4; }
.expert-photo .years { display: inline-block; font-style: normal; margin-top: 10px; padding: 3px 12px; background: var(--green-soft); color: var(--green); font-size: 13px; border-radius: 20px; }
.expert-intro p { color: var(--muted); }
.expert-intro p + p { margin-top: 14px; }
.expert-intro .panel-role { margin-bottom: 14px; font: 600 15px var(--font-head); color: var(--green); }

/* expert teaser (home) */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.team-card { text-align: center; text-decoration: none; }
.team-card img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; object-position: center 20%; border-radius: var(--radius); transition: transform .4s; }
.team-card:hover img { transform: translateY(-4px); }
.team-card strong { display: block; margin-top: 14px; font: 600 16px/1.3 var(--font-head); color: var(--green-dark); }
.team-card span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--copper); font-weight: 600; }

/* ---------- Product rows ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 60px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.product:first-child { border-top: 0; padding-top: 0; }
.product:nth-child(even) .product-media { order: 2; }
.product-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.contain { background: #fff; }
.product-media.contain img { object-fit: contain; }
.product-copy h2 { font-size: 30px; }
.product-copy > p { margin-top: 14px; color: var(--muted); }
.product-copy .tags { margin: 20px 0 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; background: var(--green-soft); color: var(--green); font-size: 13.5px; font-weight: 600; border-radius: 20px; }
.equip-list { display: grid; gap: 16px; margin: 20px 0 26px; }
.equip-list li h4 { font-size: 16px; color: var(--green-dark); margin-bottom: 8px; }

/* product sub navigation */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 14px; white-space: nowrap; font: 600 14px var(--font-head); color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.is-current { color: var(--copper); border-bottom-color: var(--copper); }

/* ---------- Logos ---------- */
.logo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.logo-box { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.logo-box img { max-height: 100px; object-fit: contain; mix-blend-mode: multiply; }
.logo-box figcaption { font: 600 14px var(--font-head); color: var(--green-dark); }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 20px; padding-right: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { display: grid; place-items: center; width: 210px; height: 120px; padding: 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.logo-tile img { max-height: 84px; object-fit: contain; mix-blend-mode: multiply; }
.logo-tile-group { display: flex; flex-direction: column; gap: 4px; }
.logo-tile-group > img { max-height: 48px; }
.logo-sub { padding-top: 5px; border-top: 1px solid var(--line); }
.logo-sub img { max-height: 40px; mix-blend-mode: multiply; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid-preview { grid-auto-rows: 210px; }
.gallery-item { position: relative; display: block; overflow: hidden; min-height: 200px; border-radius: var(--radius); background: var(--green-soft); }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(7, 38, 25, .85)); color: #fff; font-size: 13.5px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.gallery-cap small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; }
.gallery-grid-masonry { display: block; columns: 4 240px; column-gap: 14px; }
.gallery-grid-masonry .gallery-item { min-height: 0; margin-bottom: 14px; break-inside: avoid; }
.gallery-grid-masonry .gallery-item img { height: auto; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font: 600 14px var(--font-head); color: var(--green-dark); }
.filter-btn span { font-size: 12px; color: var(--muted); }
.filter-btn:hover { border-color: var(--copper); }
.filter-btn.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.filter-btn.is-active span { color: var(--gold); }
.photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 60px 80px; background: rgba(5, 20, 14, .94); opacity: 0; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
body.lb-open { overflow: hidden; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 150px); }
.lb-figure figcaption { color: rgba(255, 255, 255, .85); text-align: center; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; }
.lb-close:hover, .lb-nav:hover { background: var(--copper); }
.lb-close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.lb-nav { top: 50%; width: 50px; height: 50px; margin-top: -25px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.lightbox.is-single .lb-nav { display: none; }

/* ---------- Forms ---------- */
.form-box { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-box h3 { font-size: 22px; }
.form-note { margin: 6px 0 22px; font-size: 14.5px; color: var(--muted); }
.form-grid { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font: 600 13.5px var(--font-head); color: var(--green-dark); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #cfcbc1; border-radius: var(--radius);
  font: 15px var(--font-body); color: var(--text); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(196, 117, 43, .15); }
.field-error { display: none; margin-top: 5px; font-size: 13px; color: #b3261e; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c9372c; }
.field.has-error .field-error { display: block; }
.file-drop { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px; border: 2px dashed #cfcbc1; border-radius: var(--radius); background: var(--cream); cursor: pointer; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop svg { width: 40px; height: 40px; padding: 9px; border-radius: var(--radius); background: var(--green); fill: none; stroke: #fff; stroke-width: 2; flex: none; }
.file-drop-text { font-size: 14.5px; }
.file-drop-text small { display: block; color: var(--muted); }
.file-name { flex-basis: 100%; font-size: 13.5px; font-weight: 600; color: var(--green); }
.file-name:empty { display: none; }
.file-drop:hover, .file-drop.is-drag, .file-drop:focus-within { border-color: var(--copper); }
.file-drop.has-file { border-style: solid; border-color: var(--green); }
.file-drop.has-error { border-color: #c9372c; }
.file-error.is-shown { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green); }
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { display: block; font: 600 13px var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--copper); }
.contact-list div { overflow-wrap: anywhere; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--copper); }
.phone-tag { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 11.5px; font-weight: 700; }
.site-footer .phone-tag { background: rgba(255, 255, 255, .1); color: var(--gold); }

/* ---------- Careers ---------- */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.level { padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--copper); border-radius: var(--radius); }
.level strong { display: block; font: 700 28px var(--font-head); color: var(--copper); }
.level h3 { margin-top: 6px; font-size: 17px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 50px 0; background: var(--copper); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: 26px; }
.cta-inner p { margin-top: 6px; color: rgba(255, 255, 255, .92); }
.cta-band .btn { background: var(--green-dark); border-color: var(--green-dark); }
.cta-band .btn:hover { background: var(--green-deep); border-color: var(--green-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 70px 0 50px; }
.footer-logo img { width: 150px; height: auto; border-radius: 8px; }
.footer-brand p { margin-top: 18px; }
.footer-brand .footer-ar { font-family: var(--font-ar); font-size: 16px; color: var(--gold); text-align: left; }
.site-footer h4 { margin-bottom: 18px; font-size: 16px; color: #fff; }
.site-footer h4::after { content: ""; display: block; width: 36px; height: 2px; margin-top: 10px; background: var(--copper); }
.footer-col ul { display: grid; gap: 9px; }
.site-footer a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .6); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: var(--radius); background: var(--copper); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 450; max-width: calc(100% - 40px); padding: 14px 22px; border-radius: var(--radius); background: var(--green-dark); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: opacity .3s, transform .3s, visibility .3s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Subtle reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .menu > li > a, .menu > li > button { padding: 0 9px; font-size: 13.5px; }
  .menu > li.menu-btn { margin-left: 6px; }
  .menu > li.menu-btn > a { padding: 10px 14px; font-size: 11.5px; letter-spacing: .06em; }
  .brand-text strong { font-size: 19px; }
}
@media (max-width: 1180px) {
  :root { --header-h: 78px; }
  .menu-toggle { display: block; }
  .menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(360px, 88vw);
    flex-direction: column; align-items: stretch; overflow-y: auto; padding: 80px 0 30px;
    background: #fff; box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
    transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .menu-open .menu { transform: none; visibility: visible; }
  .menu > li > a, .menu > li > button { width: 100%; height: auto; padding: 14px 24px; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .menu > li.is-active > a, .menu > li.is-active > button { border-bottom-color: var(--line); }
  .submenu { position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; background: var(--cream); }
  .menu > li.is-open > .submenu { display: block; }
  .menu > li.is-open .caret { transform: rotate(180deg); }
  .menu > li:hover .caret { transform: none; }
  .menu > li.is-open:hover .caret { transform: rotate(180deg); }
  .submenu a { padding-left: 40px; }
  .menu-cta { margin: 20px 24px 0; }
  .menu > li.menu-btn { margin: 14px 24px 0; }
  .menu > li.menu-btn > a { justify-content: center; padding: 15px 20px; border-bottom: 1.5px solid var(--copper); font-size: 13px; }
  .menu-toggle { position: relative; z-index: 210; }
  body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .45); }
  .menu-open .site-header { z-index: 250; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .cards-4, .levels { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .split, .ceo, .contact-grid, .product { grid-template-columns: 1fr; gap: 36px; }
  .product:nth-child(even) .product-media { order: 0; }
  .ceo-photo { max-width: 380px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .expert { grid-template-columns: 1fr; gap: 24px; }
  .expert-photo { max-width: 300px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .stats-grid div:nth-child(3) { border-left: 0; }
  .topbar-ar { display: none; }
  .section { padding: 70px 0; }
  .split-media .media-badge { left: 12px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .topbar-contacts a.hide-sm { display: none; }
  .brand img { width: 52px; height: 52px; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand-text .brand-ar { white-space: normal; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 9.5px; letter-spacing: .06em; }
  .brand-text .brand-ar { font-size: 12.5px; }
  .slider { min-height: 520px; }
  .slide-caption p { font-size: 16px; }
  .slider-arrow { display: none; }
  .features { margin-top: 0; }
  .features-grid, .cards, .cards-4, .levels, .field-row, .certs { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 50px 0 30px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-grid-preview { grid-auto-rows: 150px; }
  .gallery-item { min-height: 150px; }
  .gallery-cap { opacity: 1; font-size: 12px; }
  .gallery-cap small { display: none; }
  .gallery-grid-masonry { columns: 2 140px; column-gap: 10px; }
  .photos-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .stats-grid strong { font-size: 36px; }
  .form-box { padding: 24px 18px; }
  .expert { padding: 22px; }
  .product-copy h2 { font-size: 25px; }
  .page-banner { padding: 60px 0 54px; }
  .logo-tile { width: 160px; height: 100px; }
  .lightbox { padding: 60px 12px; }
  .lb-nav { top: auto; bottom: 18px; margin: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* breed tile with a sub-brand logo (e.g. Aviagen + Ross) */
.logo-tile:has(.logo-sub) { display: flex; flex-direction: column; gap: 4px; }
.logo-tile .tile-main { max-height: 48px; }

/* phones: keep the brand lines on one line each; the header grows rather than clipping */
@media (max-width: 640px) {
  .header-inner { height: auto; min-height: var(--header-h); padding-block: 8px; }
  .brand-text small { white-space: nowrap; font-size: 9.5px; letter-spacing: .05em; }
  .brand-text .brand-ar { white-space: normal; font-size: 11.5px; line-height: 1.35; text-align: left; overflow-wrap: anywhere; }
  .brand-text strong { font-size: 16px; }
}

/* Vision & Mission (About page) */
.vm-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px; align-items: start; }
.vm-card { padding: 34px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--copper); border-radius: var(--radius); box-shadow: var(--shadow); }
.vm-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; background: var(--green); }
.vm-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; }
.vm-card h3 { font-size: 22px; margin-bottom: 12px; }
.vm-card > p { color: var(--muted); font-size: 16.5px; }
.vm-card .vm-sub { margin-top: 18px; font-weight: 600; color: var(--green-dark); }
.vm-card .ticks { margin: 12px 0 0; }
.vm-card .ticks li { font-weight: 500; color: var(--text); }
@media (max-width: 900px) { .vm-grid { grid-template-columns: 1fr; } .vm-card { padding: 26px 22px; } }
