/* Mega Freeze Market LLC — Corporate B2B Stylesheet
   Pixel-accurate match to reference layout, HD studio imagery,
   and fixed-grid bilingual switching (zero layout mirroring on language change).
*/

:root {
  --navy: #063b78;
  --deep: #032c60;
  --blue: #0877d8;
  --cyan: #38b6ff;
  --sky: #dff1ff;
  --ice: #eef7ff;
  --ink: #092f61;
  --muted: #4b6989;
  --line: #c5e0f8;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(4, 57, 111, 0.11);
  --shadow-lg: 0 16px 38px rgba(3, 44, 96, 0.16);
  --font-en: 'Outfit', 'Segoe UI', Arial, sans-serif;
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  direction: ltr;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-en);
  background: #edf7ff;
  direction: ltr; /* Preserves exact visual layout across EN and AR */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
}

bdi {
  unicode-bidi: isolate;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================================
   1. TOP BAR
   ========================================================= */
.topbar {
  height: 34px;
  background: linear-gradient(90deg, #064e94 0%, #002f68 100%);
  color: #ffffff;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contactline {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contactline a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f0f8ff;
  font-weight: 500;
}

.contactline a:hover {
  color: #7fd0ff;
}

.langline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.langline button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  padding: 3px 9px;
  font-size: 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-weight: 600;
}

.langline button.active,
.langline button:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* =========================================================
   2. STICKY HEADER & NAVIGATION
   ========================================================= */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 16px rgba(0, 42, 92, 0.08);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  height: 68px;
  flex-shrink: 0;
}

.logo-wrap img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 700;
  font-size: 13.8px;
  list-style: none;
}

.links > li {
  position: relative;
}

.links > li > a {
  padding: 10px 2px;
  position: relative;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.links > li > a::after {
  content: "";
  position: absolute;
  height: 2.5px;
  background: var(--blue);
  bottom: 0;
  left: 0;
  right: 100%;
  border-radius: 2px;
  transition: right 0.25s ease;
}

.links > li > a:hover::after,
.links > li > a.active::after {
  right: 0;
}

.links > li > a.active,
.links > li > a:hover {
  color: var(--blue);
}

/* Products Dropdown */
.has-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 215px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(3, 44, 96, 0.16);
  border: 1px solid #d7ebfc;
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 250;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 8px;
}

.dropdown-menu li a:hover {
  background: #eef7ff;
  color: var(--blue);
}

.navright {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search {
  height: 38px;
  width: 225px;
  border: 1px solid #bcdaf6;
  background: #eef7ff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  transition: all 0.2s ease;
}

.search:focus-within {
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(8, 119, 216, 0.14);
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
}

.search input::placeholder {
  color: #6b89a8;
}

.search button {
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding-left: 6px;
}

.search button:hover {
  color: var(--blue);
}

.menu {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 19px;
  cursor: pointer;
}

/* =========================================================
   3. HERO SECTION (FULL-WIDTH STUDIO BANNER + SLIDER)
   ========================================================= */
.hero {
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eaf5ff;
}

/* The photo fills the banner and blends into the light text panel through a short,
   fine edge-blend only. No full-image fog: the blend zone is a small strip on the
   inner edge, so the subject stays crisp without a hazy half.
   The transition layer sits above the hero panel in paint order (inline z-index 2.5
   wins over the all-pages overlay), but it is a transparent blend, not a wash. */
.hero-bg-meat {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, #cfe8fb 0%, #eaf5ff 100%);
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2.5;
  /* Short blend: dissolves into the panel within ~18% of the width,
     fully crisp right after. Transparent through the text zone. */
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 6%, rgba(0, 0, 0, 0.65) 12%, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 6%, rgba(0, 0, 0, 0.65) 12%, #000 18%, #000 100%);
}

/* A soft panel behind the headline keeps text legible without
   putting any wash over the photo itself. */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(232, 244, 255, 0.52) 0%, rgba(232, 244, 255, 0.22) 30%, rgba(232, 244, 255, 0) 48%);
}

/* Second layer used for a true crossfade between slides (no dimming of the photo) */
.hero-bg-meat::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-next, none);
  background-position: var(--hero-next-pos, center right);
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-bg-meat.is-crossfading::after {
  opacity: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1360px, calc(100% - 96px));
  margin: 0 auto;
  padding: 44px 0 48px;
}

.hero-content {
  max-width: 500px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.14;
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.hero h2 {
  font-size: 24px;
  line-height: 1.32;
  margin: 0 0 14px;
  color: var(--deep);
  font-weight: 700;
}

.hero p {
  font-size: 13.8px;
  font-weight: 700;
  color: #194574;
  margin: 0 0 24px;
}

.hero-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
  z-index: 4;
}

.hero-arrows button {
  pointer-events: auto;
  border: 0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: rgba(5, 86, 163, 0.88);
  color: #ffffff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 48, 98, 0.22);
  transition: all 0.2s ease;
}

.hero-arrows button:hover {
  background: var(--blue);
  transform: scale(1.08);
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 4px rgba(0, 42, 92, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dots button.active {
  background: var(--blue);
  width: 22px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #097ce0 0%, #004fa3 100%);
  color: #ffffff;
  border: 0;
  border-radius: 26px;
  padding: 11px 24px;
  font-weight: 700;
  font-size: 13.2px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 92, 178, 0.26);
  transition: all 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 92, 178, 0.38);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #0555a6;
  border: 1.5px solid #0877d8;
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--blue);
  color: #ffffff;
}

/* =========================================================
   4. PRODUCT CATEGORY CARDS (4 STUDIO CARDS)
   ========================================================= */
.products-section {
  padding: 22px 0 26px;
  background: linear-gradient(180deg, #eef8ff 0%, #dfeffe 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product {
  height: 178px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.75);
  text-align: left;
  color: #ffffff;
  background: #064a8e;
  display: block;
}

.product img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.45s ease;
}

.product:hover img {
  transform: scale(1.07);
}

.product::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 46, 98, 0.0) 0%,
    rgba(3, 52, 110, 0.18) 44%,
    rgba(2, 54, 114, 0.92) 86%,
    rgba(1, 43, 94, 0.97) 100%
  );
  z-index: 2;
  transition: opacity 0.3s ease;
}

.product-copy {
  position: absolute;
  bottom: 13px;
  left: 14px;
  right: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 3;
}

.product-icon {
  width: 48px;
  height: 48px;
  border: 1.8px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(4, 82, 162, 0.84);
  box-shadow: 0 3px 10px rgba(0, 28, 66, 0.3);
  flex-shrink: 0;
  color: #ffffff;
}

.product-icon svg {
  width: 26px;
  height: 26px;
}

.product-text {
  flex-grow: 1;
  min-width: 0;
}

.product-text strong {
  font-size: 15.2px;
  display: block;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.product-text small {
  display: block;
  font-size: 11.2px;
  color: #d6edff;
  margin-top: 2px;
  font-weight: 500;
}

.product-arrow {
  background: #ffffff;
  color: #0459ab;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 30, 70, 0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}

.product:hover .product-arrow {
  transform: translateX(3px);
  background: #dff2ff;
}

/* =========================================================
   5. ABOUT SECTION (CHEVRON WAREHOUSE + 3 PILLARS)
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 47.5% 1fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(90deg, #f3faff 0%, #e9f5ff 100%);
  min-height: 280px;
  position: relative;
}

.about-photo-frame {
  height: 280px;
  padding-right: 12px;
  background: linear-gradient(180deg, #0b7be0 0%, #034182 100%);
  clip-path: polygon(0 0, 93.5% 0, 100% 50%, 93.5% 100%, 0 100%);
}

.about-photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(0 0, 93.3% 0, 99.8% 50%, 93.3% 100%, 0 100%);
  background: #022b5c;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 28px;
  align-items: center;
  padding: 26px 36px 26px 0;
}

.eyebrow {
  color: #0877d8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}

.about h2 {
  font-size: 27px;
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
}

.about p {
  font-size: 12.8px;
  line-height: 1.7;
  margin: 0 0 18px;
  color: #173d67;
}

.features {
  border-left: 1.5px solid #b5d7f6;
  padding-left: 22px;
  display: grid;
  gap: 15px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature .ico {
  width: 44px;
  height: 44px;
  border: 1.5px solid #1c85e0;
  box-shadow: inset 0 0 0 3px #eef7ff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0562b8;
  font-size: 17px;
  flex-shrink: 0;
  background: #ffffff;
}

.feature strong {
  display: block;
  font-size: 13.2px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.feature small {
  display: block;
  font-size: 11.2px;
  color: #4b7096;
  margin-top: 2px;
}

/* =========================================================
   6. WHY CHOOSE MEGA FREEZE MARKET?
   ========================================================= */
.why {
  padding: 30px 0 30px;
  background: linear-gradient(180deg, #e5f3ff 0%, #d4ebff 100%);
}

.why-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.why-title-wrap .line {
  height: 1.5px;
  width: 95px;
  background: linear-gradient(90deg, transparent, #5aa8eb);
}

.why-title-wrap .line.right {
  background: linear-gradient(90deg, #5aa8eb, transparent);
}

.section-title {
  text-align: center;
  font-size: 25px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-card {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  border: 1px solid #d7ecfe;
  border-radius: 14px;
  min-height: 114px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(6, 76, 140, 0.07);
  text-align: center;
  padding: 16px 14px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(6, 76, 140, 0.13);
}

.why-card .bigico {
  font-size: 30px;
  color: #0877d8;
  line-height: 1;
  margin-bottom: 9px;
}

.why-card strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3px;
}

.why-card small {
  font-size: 11.4px;
  color: #4a6f96;
}

/* =========================================================
   7. OUR SUPPLY CHAIN — FROM SOURCE TO YOU
   ========================================================= */
.supply-band {
  background: linear-gradient(180deg, #d4ebff 0%, #e6f4ff 100%);
  padding: 4px 0 24px;
}

.supply {
  background:
    radial-gradient(circle at 82% 110%, rgba(28, 138, 235, 0.32) 0%, transparent 52%),
    linear-gradient(108deg, #002e63 0%, #034994 55%, #065bb0 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: 255px 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.supply-intro h2 {
  font-size: 22px;
  line-height: 1.22;
  margin: 0 0 9px;
  font-weight: 800;
  color: #ffffff;
}

.supply-intro p {
  font-size: 12.2px;
  line-height: 1.55;
  margin: 0 0 15px;
  color: #d0e9ff;
}

.supply .btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid #82cbff;
  box-shadow: none;
  padding: 8px 20px;
  font-size: 12.5px;
}

.supply .btn:hover {
  background: #ffffff;
  color: var(--navy);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 22px;
}

.step {
  text-align: center;
  position: relative;
}

.step-img-wrap {
  width: 94px;
  height: 94px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(130, 203, 255, 0.8), 0 8px 18px rgba(0, 20, 50, 0.35);
  background: #022e62;
}

.step img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.step:hover img {
  transform: scale(1.08);
}

.step strong {
  display: block;
  font-size: 12.8px;
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.28;
  color: #ffffff;
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 33px;
  font-size: 22px;
  font-weight: 700;
  color: #d6eeff;
}

/* =========================================================
   8. GLOBAL PRESENCE & GET IN TOUCH (WITH STEAKS ON ICE)
   ========================================================= */
.presence {
  background:
    radial-gradient(ellipse at 25% 80%, rgba(255, 255, 255, 0.75) 0%, transparent 60%),
    linear-gradient(120deg, #eef8ff 0%, #d8ecff 100%);
  padding: 26px 0 32px;
}

.presence-inner {
  display: grid;
  grid-template-columns: 0.98fr 1.22fr;
  gap: 26px;
  align-items: stretch;
}

.map-panel {
  min-height: 265px;
  position: relative;
  padding: 12px 10px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-panel-copy {
  position: relative;
  z-index: 2;
  max-width: 245px;
}

.map-panel h2 {
  font-size: 23px;
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.map-panel p {
  font-size: 13px;
  line-height: 1.58;
  margin: 0;
  color: #173d67;
}

.worldmap-img {
  position: absolute;
  width: 68%;
  max-width: 390px;
  height: auto;
  right: 0;
  top: 12px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(8, 90, 175, 0.08));
}

.map-panel-cta {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 16px;
}

/* Two-part Get in Touch + Steaks on Ice matching Reference Mockup */
.inquiry-card-wrap {
  border-radius: 16px;
  background: linear-gradient(135deg, #003168 0%, #034b96 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  overflow: hidden;
  align-items: stretch;
}

.inquiry-form-side {
  padding: 22px 24px;
  position: relative;
  z-index: 2;
}

.inquiry-heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
}

.inquiry-heading-row h2 {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.inquiry-heading-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(145, 208, 255, 0.7), rgba(145, 208, 255, 0.25));
  position: relative;
}

.inquiry-heading-arrow {
  color: #8fd0ff;
  font-size: 14px;
  line-height: 1;
}

.inquiry-form-side p {
  font-size: 11.8px;
  line-height: 1.5;
  margin: 0 0 13px;
  color: #cfe8ff;
}

.inquiry-meat-side {
  position: relative;
  overflow: hidden;
  background: #022b5c;
  min-height: 250px;
}

.inquiry-meat-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #02458c 0%,
    rgba(2, 69, 140, 0.52) 18%,
    rgba(2, 69, 140, 0) 46%
  );
  z-index: 2;
  pointer-events: none;
}

.inquiry-meat-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  display: block;
}

/* Standalone Inquiry Box (used on contact.html) */
.inquiry {
  border-radius: 16px;
  background: linear-gradient(135deg, #003168 0%, #034b96 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.inquiry h2 {
  font-size: 23px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffffff;
}

.inquiry p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 18px;
  color: #cfe8ff;
}

.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.formgrid input,
.formgrid select,
.formgrid textarea {
  width: 100%;
  border: 1px solid #d5e9fa;
  border-radius: 6px;
  background: #ffffff;
  color: #123a63;
  padding: 9px 11px;
  font-size: 11.8px;
  outline: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.formgrid input::placeholder,
.formgrid textarea::placeholder {
  color: #6b88a6;
}

.formgrid input:focus,
.formgrid select:focus,
.formgrid textarea:focus {
  border-color: #66b8ff;
  box-shadow: 0 0 0 3px rgba(102, 184, 255, 0.28);
}

.formgrid select,
.formgrid .full-span,
.formgrid textarea {
  grid-column: 1 / -1;
}

.formgrid textarea {
  min-height: 62px;
  resize: vertical;
}

.formgrid button {
  grid-column: 1 / -1;
  width: 100%;
  padding: 10px 16px;
  margin-top: 3px;
  border-radius: 8px;
  background: linear-gradient(90deg, #0b84eb 0%, #0466c8 100%);
}

/* =========================================================
   9. SUBPAGE HERO BANNER
   ========================================================= */
.page-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 300px;
  display: flex;
  align-items: center;
  background: linear-gradient(110deg, #002b5e 0%, #064b91 100%);
  color: #ffffff;
  padding: 58px 0;
}

/* Photo stack: the two layers crossfade so the banner never blanks between slides. */
.page-banner-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.pb-layer {
  position: absolute;
  inset: 0;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 7s ease-out;
}

.pb-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Navy panel on the left keeps the headline legible while the photo stays crisp on the right. */
.page-banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #002b5e 0%, rgba(0, 43, 94, 0.94) 34%, rgba(4, 64, 128, 0.55) 58%, rgba(4, 64, 128, 0.15) 78%, rgba(4, 64, 128, 0.05) 100%),
    linear-gradient(180deg, rgba(0, 32, 71, 0.35) 0%, transparent 40%, rgba(0, 32, 71, 0.45) 100%);
}

.page-banner .wrap {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  max-width: 640px;
  text-shadow: 0 2px 14px rgba(0, 24, 54, 0.28);
}

.page-banner p {
  font-size: 14px;
  color: #cde7ff;
  max-width: 620px;
  line-height: 1.7;
}

.page-slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.page-slide-dots:empty {
  display: none;
}

.page-slide-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s ease;
}

.page-slide-dots button.active {
  width: 24px;
  border-radius: 6px;
  background: #ffffff;
}

/* =========================================================
   10. FOOTER (DARK NAVY WITH TRANSPARENT BADGE LOGO)
   ========================================================= */
footer.site-footer {
  background: linear-gradient(110deg, #002d61 0%, #002048 100%);
  color: #ffffff;
  padding: 22px 0 15px;
}

.footer-top {
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-tagline {
  font-size: 10.5px;
  color: #b8dcff;
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(184, 220, 255, 0.32);
  padding-top: 4px;
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}

.footer-links a {
  color: #eaf5ff;
}

.footer-links a:hover {
  color: #7eceff;
}

.social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: #003b77;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.social a:hover {
  background: #7eceff;
  color: #002048;
  transform: translateY(-2px);
}

.social .footer-domain {
  color: #e4f2ff;
  font-size: 11.5px;
  margin-left: 6px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 500;
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  padding-top: 13px;
  color: #d6ebff;
}

.copyright-motto {
  font-style: italic;
  font-weight: 600;
  color: #9cd4ff;
}

/* =========================================================
   11. FLOATING WHATSAPP & TOAST NOTICE
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42);
  transition: all 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  background: #052f61;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: all 0.25s ease;
  z-index: 1000;
  font-size: 13px;
  font-weight: 600;
}

.notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1100px) {
  .links { gap: 18px; font-size: 13px; }
  .search { width: 175px; }
  .about-content { grid-template-columns: 1fr 210px; gap: 20px; }
  .supply { grid-template-columns: 210px 1fr; padding: 20px 22px; }
  .step-img-wrap { width: 78px; height: 78px; }
  .presence-inner { grid-template-columns: 1fr; }
  .map-panel { min-height: 230px; }
}

@media (max-width: 820px) {
  .menu { display: block; }
  .links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 14px 24px 20px;
    box-shadow: 0 12px 24px rgba(0, 40, 90, 0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .links.open { display: flex; }
  .links > li > a { padding: 12px 0; border-bottom: 1px solid #edf5fc; width: 100%; }
  .has-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 8px 14px;
  }
  .search { display: none; }
  .hero {
    min-height: 500px;
    align-items: flex-start;
  }
  .hero-inner { width: calc(100% - 48px); padding: 26px 0 30px; }
  .hero-bg-meat {
    top: 42%;
    left: 0;
    background-position: center 60%;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 8%, rgba(0, 0, 0, 0.8) 16%, #000 24%, #000 100%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 8%, rgba(0, 0, 0, 0.8) 16%, #000 24%, #000 100%);
  }
  .hero-bg-meat::after { background-position: center 60%; }
  .hero h1 { font-size: 31px; }
  .hero h2 { font-size: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 0; }
  .about-photo-frame, .about-photo { height: 230px; clip-path: none; padding-right: 0; }
  .about-content { padding: 24px 24px; grid-template-columns: 1fr; }
  .features { border-left: 0; border-top: 1px solid #b5d7f6; padding: 18px 0 0; grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .supply { grid-template-columns: 1fr; text-align: center; }
  .steps { gap: 12px; }
  .step-img-wrap { width: 68px; height: 68px; }
  .step:not(:last-child)::after { right: -12px; top: 24px; font-size: 18px; }
  .inquiry-card-wrap { grid-template-columns: 1fr; }
  .inquiry-meat-side { height: 180px; min-height: 180px; }
  .inquiry-meat-side::before {
    background: linear-gradient(180deg, #034b96 0%, rgba(3, 75, 150, 0) 45%);
  }
  .footer-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .copyright { flex-direction: column; text-align: center; gap: 8px; }
}

@media (max-width: 500px) {
  .product-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .step:not(:last-child)::after { display: none; }
  .contactline a:last-child { display: none; }
  .worldmap-img { position: relative; width: 100%; top: 0; margin: 12px 0; }
}

/* =========================================================
   14. PAGE LAYOUT HELPERS (Quality / About)
   ========================================================= */
.subzero-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.why-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.presence-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.card-actions .btn {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .subzero-card { grid-template-columns: 1fr; padding: 22px; }
  .why-grid.three { grid-template-columns: repeat(2, 1fr); }
  .presence-split { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .why-grid.three { grid-template-columns: 1fr; }
}

/* Keep the hero slider arrows clear of the headline, and hide them on small screens */
.hero-arrows { padding: 0 8px; }
@media (max-width: 820px) {
  .hero-arrows { display: none; }
}

@media (max-width: 760px) {
  .page-banner {
    min-height: 0;
    padding: 34px 0 46px;
  }
  .page-banner h1 { font-size: 25px; }
  .page-banner p { font-size: 13px; }
  .pb-layer { background-position: center 35%; }
  .page-banner-media::after {
    background:
      linear-gradient(180deg, rgba(0, 43, 94, 0.78) 0%, rgba(0, 43, 94, 0.62) 55%, rgba(0, 43, 94, 0.9) 100%);
  }
  .page-slide-dots { bottom: 12px; }
}

/* Reserve room under the footer so the floating WhatsApp button never covers the copyright line */
footer.site-footer { padding-bottom: 88px; }

/* Inquiry forms: prevent inputs from forcing the card wider than the screen */
.formgrid input,
.formgrid select,
.formgrid textarea {
  min-width: 0;
}

@media (max-width: 500px) {
  .formgrid { grid-template-columns: 1fr; }
}

/* Grid items must be allowed to shrink inside the inquiry card */
.inquiry-form-side,
.inquiry-meat-side {
  min-width: 0;
}

/* Keep hero CTAs on a single line in both languages */
.hero .btn { white-space: nowrap; }

/* WhatsApp quote buttons in the products catalog */
.btn.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}
.btn.btn-whatsapp:hover {
  background: #1ebe57;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}
