:root {
  --ink: #18212b;
  --muted: #5b6875;
  --line: #d9e0e7;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --green: #2d6b4f;
  --blue: #275a8c;
  --gold: #b7791f;
  --red: #9b2c2c;
}

/* Public website layout refresh */
body {
  background: #fff;
  color: #2d2a28;
  font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  display: block;
  padding: 0;
  border: 0;
  background: #2f2e2c;
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header::before {
  display: none;
}

.top-strip {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 6vw, 90px);
  background: #1e1c1b;
}

.top-actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-left: auto;
}

.top-actions a {
  min-width: 84px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  color: #f2f0eb;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
}

.top-actions .top-action-box {
  border: 1px solid #6f6a65;
  background: #252323;
}

.site-header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: 16px clamp(20px, 6vw, 90px);
  background: #302f2d;
}

.brand {
  color: #fff;
}

.brand-mark {
  width: 58px;
  height: 38px;
  border-radius: 3px;
  background: #f5f3ef;
  color: #b61f25;
  box-shadow: none;
  font-weight: 900;
}

.brand strong {
  font-size: 1.1rem;
  text-transform: uppercase;
  font-style: normal;
  color: #fff;
}

.brand small {
  color: #cfc8bf;
}

.utility-nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.utility-nav a {
  color: #e9e5dd;
  font-size: 1rem;
  font-weight: 700;
}

.utility-nav a:hover,
.utility-nav a:first-child {
  color: #d9321f;
}

.category-nav {
  display: none;
}

.moleps-home {
  background: #fff;
}

.home-hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: clamp(48px, 10vw, 110px) clamp(20px, 6vw, 90px);
  background:
    linear-gradient(90deg, rgba(20, 18, 17, 0.58), rgba(20, 18, 17, 0.2) 46%, rgba(20, 18, 17, 0.08)),
    url("/static/broiler-operation-hero.jpg") center/cover;
}

.home-hero-copy {
  max-width: 760px;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.48);
}

.home-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.98;
  font-style: italic;
  font-weight: 900;
}

.home-hero-copy p {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.32;
  font-weight: 700;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.home-hero-actions a,
.operation-band a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border-radius: 999px;
  background: #b61f25;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  text-shadow: none;
}

.home-hero-actions a + a {
  background: rgba(255, 255, 255, 0.92);
  color: #1f1d1b;
}

.welcome-panel {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 84px) 24px 42px;
  text-align: center;
}

.welcome-panel h2 {
  margin: 0 0 32px;
  color: #423b36;
  font-size: clamp(2rem, 3vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0;
}

.welcome-panel p {
  max-width: 920px;
  margin: 0 auto 22px;
  color: #76716d;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.35;
}

.feature-row {
  max-width: 1140px;
  margin: 22px auto 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px;
}

.feature-row article {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: end start;
  padding: 24px;
  overflow: hidden;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
}

.feature-row article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.feature-row span {
  position: relative;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.operation-band {
  max-width: 1140px;
  margin: 0 auto 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: #2d6b4f;
  color: #fff;
}

.operation-band h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.operation-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.service-links {
  max-width: 1140px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 24px;
}

.service-links a {
  min-height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid #24211f;
  background: #fff;
  color: #24211f;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
}

.shortcut-install {
  min-height: calc(100vh - 134px);
  padding: clamp(34px, 6vw, 70px) clamp(20px, 6vw, 90px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    url("/static/broiler-operation-hero.jpg") center/cover;
}

.shortcut-panel {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #d9d4ce;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(35, 31, 29, 0.16);
}

.shortcut-eyebrow {
  margin: 0 0 10px;
  color: #b61f25;
  font-weight: 900;
  text-transform: uppercase;
}

.shortcut-panel h1 {
  margin: 0 0 14px;
  color: #2b2724;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  font-style: italic;
}

.shortcut-lead {
  max-width: 790px;
  margin: 0 0 26px;
  color: #635d58;
  font-size: 1.18rem;
  line-height: 1.42;
}

.shortcut-url-box {
  margin: 0 0 26px;
  padding: 18px;
  border: 1px solid #d7d0ca;
  background: #fff;
}

.shortcut-url-box label {
  display: block;
  margin: 0 0 8px;
  color: #3e3935;
  font-weight: 900;
  text-transform: uppercase;
}

.shortcut-url-box div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
}

.shortcut-url-box input {
  min-height: 44px;
  border: 1px solid #bdb6b0;
  border-radius: 3px;
  padding: 10px 12px;
  font: inherit;
}

.shortcut-url-box button,
.shortcut-url-box a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: #b61f25;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.shortcut-url-box a {
  background: #2d6b4f;
}

#copy-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: #2d6b4f;
  font-weight: 800;
}

.shortcut-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shortcut-steps article {
  border: 1px solid #d7d0ca;
  background: #fff;
  padding: 18px;
}

.shortcut-steps h2 {
  margin: 0 0 12px;
  color: #2b2724;
}

.shortcut-steps ol {
  margin: 0;
  padding-left: 20px;
  color: #68615c;
  line-height: 1.45;
}

.shortcut-steps li {
  margin-bottom: 8px;
}

@media (max-width: 860px) {
  .site-header-main {
    grid-template-columns: 1fr;
  }

  .utility-nav {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: 520px;
  }

  .feature-row,
  .service-links {
    grid-template-columns: 1fr;
  }

  .operation-band {
    display: grid;
    margin-left: 24px;
    margin-right: 24px;
  }

  .shortcut-url-box div,
  .shortcut-steps {
    grid-template-columns: 1fr;
  }
}

/* Retail-style Moleps home refresh */
:root {
  --moleps-red: #b71f25;
  --moleps-black: #1d1d1d;
  --moleps-green: #2d6f50;
  --moleps-blue: #245d78;
}

body {
  background: #fff;
}

.site-header {
  display: block;
  padding: 0;
  border: 0;
  background: var(--moleps-black);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header::before {
  content: "";
  display: block;
  height: 28px;
  background: var(--moleps-red);
}

.site-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 18px clamp(20px, 8vw, 118px);
  background: var(--moleps-black);
}

.brand {
  color: #fff;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: var(--moleps-red);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: -10px 12px 0 rgba(183, 31, 37, 0.42);
}

.brand strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  font-style: italic;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.utility-nav,
.category-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.utility-nav a,
.category-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.utility-nav .nav-button {
  border-color: rgba(255, 255, 255, 0.34);
  background: #fff;
  color: var(--moleps-black);
}

.category-nav {
  justify-content: center;
  min-height: 54px;
  padding: 0 clamp(20px, 8vw, 118px);
  background: var(--moleps-red);
}

.category-nav a {
  padding: 17px 8px;
}

.messages {
  padding: 14px clamp(20px, 8vw, 118px) 0;
  background: #fff;
}

.retail-home {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 0 70px;
}

.promo-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 95px;
  margin: 0 0 34px;
  padding: 18px clamp(18px, 4vw, 42px);
  background: var(--moleps-blue);
  color: #fff;
}

.promo-strip strong {
  font-size: clamp(1.7rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1;
}

.promo-strip span {
  font-weight: 800;
  line-height: 1.35;
}

.promo-strip a,
.shop-cta a,
.range-band a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 28px;
  border-radius: 999px;
  background: var(--moleps-red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.promo-strip a {
  background: #fff;
  color: var(--moleps-red);
}

.category-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.category-tile {
  position: relative;
  min-height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.category-tile span {
  position: relative;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.tile-chicken,
.tile-bfms {
  background-image: url("/static/broiler-operation.jpg");
}

.tile-abattoir {
  background-image: url("/static/broiler-operation-hero.jpg");
}

.tile-farms {
  background-image: url("/static/moleps-poultry-hero.jpg");
}

.shop-cta {
  text-align: center;
  margin: 0 auto 50px;
}

.shop-cta p {
  max-width: 760px;
  margin: 20px auto 0;
  line-height: 1.5;
}

.range-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding: 18px 22px;
  background: var(--moleps-green);
  color: #fff;
}

.range-band h2 {
  margin: 0 0 6px;
  font-size: 1.65rem;
}

.range-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 52px;
}

.gallery-row article {
  min-height: 330px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-links a {
  min-height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid #1f1f1f;
  background: #fff;
  color: #1f1f1f;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.24);
}

.home-version,
.playful-broiler-blocks,
.hero {
  display: none;
}

@media (max-width: 900px) {
  .site-header-main,
  .promo-strip,
  .range-band {
    display: grid;
    grid-template-columns: 1fr;
  }

  .utility-nav,
  .category-nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .category-tiles,
  .gallery-row,
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retail-home {
    padding: 24px 14px 52px;
  }
}

@media (max-width: 560px) {
  .category-tiles,
  .gallery-row,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .gallery-row article {
    min-height: 240px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-weight: 700;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--muted);
}

.nav-dropdown {
  position: relative;
  color: var(--muted);
  font-weight: 700;
}

.nav-dropdown summary {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 14px;
  list-style: none;
  cursor: pointer;
  background: #fff;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "v";
  display: inline-block;
  margin-left: 7px;
  font-size: 0.75rem;
}

.nav-dropdown[open] summary::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 280px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(24, 33, 43, 0.14);
  z-index: 10;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
}

.nav-dropdown-menu a:hover {
  background: #eef2f5;
}

.nav-info-menu {
  min-width: 320px;
  max-width: 360px;
}

.nav-info-menu p {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

.nav-info-menu .map-pin {
  display: inline-block;
  margin-right: 8px;
  vertical-align: -3px;
}

.nav-button,
.button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.secondary {
  color: var(--ink);
  background: #fff;
}

.home-version {
  position: absolute;
  top: 88px;
  left: clamp(20px, 5vw, 72px);
  z-index: 2;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: clamp(44px, 8vw, 92px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(247, 248, 245, 0.92), rgba(247, 248, 245, 0.42) 48%, rgba(24, 33, 43, 0.08)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Broiler_house.jpg") center/cover;
}

.hero-copy {
  width: 25%;
  min-width: 320px;
  max-width: 430px;
  padding: clamp(16px, 2vw, 24px);
  border-radius: 8px;
  background: rgba(247, 248, 245, 0.78);
  backdrop-filter: blur(1px);
}

.eyebrow,
.product-code {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
}

.lead {
  margin: 0;
  max-width: 720px;
  color: #344251;
  font-size: 1.24rem;
  line-height: 1.55;
}

.hero-copy .lead {
  font-size: 1rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.playful-broiler-blocks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 14px;
  padding: clamp(24px, 5vw, 54px) clamp(20px, 5vw, 72px);
  background: #fff;
}

.story-block {
  min-height: 180px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.image-block {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.image-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 33, 43, 0.08), rgba(24, 33, 43, 0.72));
}

.image-block div {
  position: relative;
  padding: 20px;
}

.image-block h2 {
  max-width: 520px;
  margin: 0 0 12px;
  line-height: 1.05;
}

.image-block span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.broiler-house {
  grid-column: span 2;
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Broiler_chicks.jpg");
}

.flock-floor {
  grid-column: span 2;
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/20130822-OC-RBN-2946_(9682285758).jpg");
}

.saying-block,
.fact-block {
  display: grid;
  align-content: center;
  padding: 22px;
  background: #f7f8f5;
}

.saying-block p {
  margin: 0;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.16;
  font-weight: 800;
}

.green-note {
  background: #e7f0e8;
}

.fact-block {
  gap: 10px;
}

.fact-block strong {
  font-size: 1.45rem;
}

.fact-block span {
  color: var(--muted);
  line-height: 1.45;
}

.gold-note {
  background: #f7efd9;
}

.red-note {
  background: #f7e8e4;
}

.hero-panel {
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.hero-panel div,
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.hero-panel span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.section,
.feature-band,
.portal-header,
.table-wrap,
.auth-shell {
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.portal-header h1,
.auth-form h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.map-pin {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 8px solid var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

.small-pin {
  width: 16px;
  height: 16px;
  border-width: 4px;
}

.small-pin::after {
  inset: 2px;
}

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

.product-card h2,
.product-card h3,
.feature-band h2 {
  margin: 0 0 10px;
}

.product-card p,
.feature-band p {
  color: var(--muted);
  line-height: 1.5;
}

.product-card a:not(.button) {
  font-weight: 800;
  color: var(--blue);
}

.product-hero {
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(24, 33, 43, 0.72), rgba(24, 33, 43, 0.26)),
    url("/static/moleps-poultry-hero.jpg") center/cover;
  color: #fff;
}

.product-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  background: #fff;
}

.operations-overview {
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.flow-diagram {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.flow-diagram div {
  position: relative;
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  color: var(--ink);
  background: #eef4ed;
  border: 1px solid #c9d8ce;
  border-radius: 8px;
  font-weight: 800;
}

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

.function-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f5;
}

.function-grid h3 {
  margin: 0 0 10px;
}

.function-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.auth-shell {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
}

.auth-form {
  width: min(100%, 440px);
  display: grid;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  font: inherit;
}

.auth-copy,
.auth-hint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.messages {
  padding: 14px clamp(20px, 5vw, 72px) 0;
}

.message {
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.message-hiding {
  opacity: 0;
  transform: translateY(-4px);
}

.message.success {
  border-color: #88b79f;
}

.message.danger {
  border-color: #d38b8b;
  color: var(--red);
}

.message.warning,
.status-note {
  border-color: #d7b25e;
  color: #6d4f0e;
}

.portal-grid {
  padding: 0 clamp(20px, 5vw, 72px) clamp(36px, 6vw, 72px);
}

.muted {
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

th {
  background: #eef2f5;
}

.actions form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.actions button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .site-header,
  .hero {
    align-items: flex-start;
  }

  .site-header,
  nav,
  .hero-actions {
    flex-direction: column;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 100%;
    max-width: none;
    margin-top: 10px;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .playful-broiler-blocks {
    grid-template-columns: 1fr;
  }

  .broiler-house,
  .flock-floor {
    grid-column: auto;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  td {
    border-bottom: 0;
  }

  tr {
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
}

/* Final public website layout overrides */
body {
  background: #fff;
  color: #2d2a28;
  font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  display: block;
  padding: 0;
  border: 0;
  background: #2f2e2c;
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header::before {
  display: none;
}

.top-strip {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 6vw, 90px);
  background: #1e1c1b;
}

.top-actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-left: auto;
}

.top-actions a {
  min-width: 84px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  color: #f2f0eb;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
}

.top-actions .top-action-box {
  border: 1px solid #6f6a65;
  background: #252323;
}

.site-header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: 16px clamp(20px, 6vw, 90px);
  background: #302f2d;
}

.brand {
  color: #fff;
}

.brand-mark {
  width: 58px;
  height: 38px;
  border-radius: 3px;
  background: #f5f3ef;
  color: #b61f25;
  box-shadow: none;
  font-weight: 900;
}

.brand strong {
  font-size: 1.1rem;
  text-transform: uppercase;
  font-style: normal;
  color: #fff;
}

.brand small {
  color: #cfc8bf;
}

.utility-nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.utility-nav a {
  color: #e9e5dd;
  font-size: 1rem;
  font-weight: 700;
}

.utility-nav a:hover,
.utility-nav a:first-child {
  color: #d9321f;
}

.category-nav {
  display: none;
}

.moleps-home {
  background: #fff;
}

.home-hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: clamp(48px, 10vw, 110px) clamp(20px, 6vw, 90px);
  background:
    linear-gradient(90deg, rgba(20, 18, 17, 0.58), rgba(20, 18, 17, 0.2) 46%, rgba(20, 18, 17, 0.08)),
    url("/static/broiler-operation-hero.jpg") center/cover;
}

.home-hero-copy {
  max-width: 760px;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.48);
}

.home-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.98;
  font-style: italic;
  font-weight: 900;
}

.home-hero-copy p {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.32;
  font-weight: 700;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.home-hero-actions a,
.operation-band a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border-radius: 999px;
  background: #b61f25;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  text-shadow: none;
}

.home-hero-actions a + a {
  background: rgba(255, 255, 255, 0.92);
  color: #1f1d1b;
}

.welcome-panel {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 84px) 24px 42px;
  text-align: center;
}

.welcome-panel h2 {
  margin: 0 0 32px;
  color: #423b36;
  font-size: clamp(2rem, 3vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0;
}

.welcome-panel p {
  max-width: 920px;
  margin: 0 auto 22px;
  color: #76716d;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.35;
}

.feature-row {
  max-width: 1140px;
  margin: 22px auto 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px;
}

.feature-row article {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: end start;
  padding: 24px;
  overflow: hidden;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
}

.feature-row article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.feature-row span {
  position: relative;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.operation-band {
  max-width: 1140px;
  margin: 0 auto 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: #2d6b4f;
  color: #fff;
}

.operation-band h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.operation-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.service-links {
  max-width: 1140px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 24px;
}

.service-links a {
  min-height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid #24211f;
  background: #fff;
  color: #24211f;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
}

@media (max-width: 860px) {
  .site-header-main {
    grid-template-columns: 1fr;
  }

  .utility-nav {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: 520px;
  }

  .feature-row,
  .service-links {
    grid-template-columns: 1fr;
  }

  .operation-band {
    display: grid;
    margin-left: 24px;
    margin-right: 24px;
  }
}
