/* =========================================================================
   MASTER FOOD — site styles
   Simple corporate layout: one distinctive hero, then calm, ordered sections.
   ========================================================================= */

:root {
  /* Brand */
  /* From the Master Food logo */
  --red: #b71b22;            /* logo text red — primary */
  --red-dark: #8f141a;
  --leaf: #2f8f3c;           /* logo green (#3ca949), darkened for text contrast */
  --leaf-soft: #eaf5ec;
  --gold: #e9c350;           /* logo gold rim / corn — accent only */
  --gold-soft: #faf1d6;
  /* Neutrals */
  --white: #ffffff;
  --paper: #faf8f3;          /* off-white */
  --cream: #f4efe3;
  --ink: #1d2420;            /* dark grey text */
  --ink-2: #5a645f;
  --line: #e6e3da;
  --overlay: rgba(24, 14, 12, .62);

  --f-ar: "Almarai", "IBM Plex Sans Arabic", Tahoma, system-ui, sans-serif;
  --f-en: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --r-lg: 20px;
  --sh: 0 10px 30px -14px rgba(20, 35, 28, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.8 var(--f-ar); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="en"] body { font-family: var(--f-en); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
html[lang="ar"] .en, html[lang="en"] .ar { display: none !important; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; color: var(--red); letter-spacing: .02em; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.title { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-block: 12px 14px; }
.lead { color: var(--ink-2); font-size: 1.0625rem; max-width: 62ch; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head > div { min-width: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--red); color: #fff; font-weight: 700; font-size: .9375rem;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: #1d1605; }
.btn--gold:hover { background: #dcb23a; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--line { background: transparent; color: var(--red); border-color: var(--red); }
.btn--line:hover { background: var(--red); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
html[dir="rtl"] .btn .flip { transform: scaleX(-1); }

/* ---------- Header ---------- */
/* Header: one floating rounded bar, from the top of the page and while scrolling.
   It pops down once when the page loads. */
.hdr {
  position: fixed; z-index: 50; top: calc(env(safe-area-inset-top, 0px) + 12px); inset-inline: 16px;
  max-width: 1240px; margin-inline: auto; border-radius: 999px; color: var(--ink);
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 14px 34px -14px rgba(40, 20, 10, .35), 0 0 0 1px rgba(0, 0, 0, .05);
  animation: hdrPop .6s cubic-bezier(.2, .9, .3, 1.2) both; transition: box-shadow .3s;
}
.hdr.is-solid { box-shadow: 0 18px 40px -16px rgba(40, 20, 10, .45), 0 0 0 1px rgba(0, 0, 0, .06); }
.hdr .hdr__in { height: 64px; padding-inline: 20px 12px; }
@keyframes hdrPop { from { transform: translateY(-140%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 960px) {
  .hdr { inset-inline: 10px; }
  .hdr .hdr__in { padding-inline: 14px; }
  .nav .nav__cta a { border-radius: 999px; border-bottom: 0; text-align: center; color: #fff; }
  .hdr .nav { top: calc(100% + 8px); border-radius: 18px; border-top: 0; }
}

.hdr__in { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { width: auto; height: 48px; }
.logo span { display: grid; line-height: 1.15; }
.logo b { font-weight: 800; font-size: 1.0625rem; line-height: 1.1; }
.logo b.en { font-family: var(--f-en); letter-spacing: .08em; font-size: 1rem; }
.logo small { font-size: .6875rem; opacity: .8; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9375rem; opacity: .9; transition: background .2s, opacity .2s; }
.nav a:hover { opacity: 1; background: rgba(127,127,127,.14); }
.tools { display: flex; align-items: center; gap: 10px; }
.lang { border: 1px solid currentColor; border-radius: 999px; background: none; min-height: 38px; padding: 0 14px; font: 700 .8125rem/1 var(--f-en); letter-spacing: .06em; cursor: pointer; opacity: .9; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: none; cursor: pointer; }
.burger i { display: block; width: 16px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .25s; }
.hdr.is-open .burger i:first-child { transform: translateY(3px) rotate(45deg); }
.hdr.is-open .burger i:last-child { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .tools { margin-inline-start: auto; }
  .tools .btn { display: none; }
  .nav { position: absolute; top: 100%; inset-inline: 0; background: var(--white); color: var(--ink); border-top: 1px solid var(--line); box-shadow: var(--sh); padding: 8px var(--gutter) 20px; display: none; margin: 0; }
  .hdr.is-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { border-radius: 0; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav .nav__cta { margin-top: 16px; }
  .nav .nav__cta a { border: 0; }
}
@media (min-width: 961px) { .nav .nav__cta { display: none; } }

/* ---------- Hero (the one distinctive section) ---------- */
.hero { position: relative; min-height: clamp(540px, 72vh, 680px); min-height: clamp(540px, 72svh, 680px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #2a1d17; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; animation: heroZoom 2.4s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(22, 14, 12, .92) 0%, rgba(22, 14, 12, .55) 45%, rgba(22, 14, 12, .25) 100%); }
html[dir="rtl"] .hero::after, html[dir="ltr"] .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to left, rgba(22, 14, 12, .55), transparent 60%); }
html[dir="ltr"] .hero::after { background: linear-gradient(to right, rgba(22, 14, 12, .55), transparent 60%); }
.hero__in { padding-block: calc(env(safe-area-inset-top, 0px) + 116px) 40px; }
.hero__logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero__logo img { width: auto; height: 72px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
.hero__logo b { font-weight: 800; font-size: 1.25rem; line-height: 1.2; display: block; }
.hero__logo b.en { font-family: var(--f-en); letter-spacing: .1em; font-size: 1.125rem; }
html[lang="ar"] .hero__logo b.en, html[lang="en"] .hero__logo b.ar, html[lang="ar"] .logo b.en, html[lang="en"] .logo b.ar { display: none; }
.hero__logo small { font-size: .8125rem; opacity: .85; }
.hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.3; max-width: 20ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { margin-top: 12px; font-size: clamp(.95rem, 1.2vw, 1.0625rem); max-width: 52ch; color: rgba(255,255,255,.88); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero__tags { display: flex; gap: 10px 20px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); font-size: .875rem; color: rgba(255,255,255,.8); }
.hero__tags > span { display: inline-flex; align-items: center; gap: 8px; }
.hero__tags > span::before { content: ""; width: 8px; height: 10px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: var(--gold); }
/* Entrance: text fades in once */
.hero__in > * { animation: rise .9s var(--ease) both; }
.hero__in > *:nth-child(2) { animation-delay: .12s; }
.hero__in > *:nth-child(3) { animation-delay: .24s; }
.hero__in > *:nth-child(4) { animation-delay: .36s; }
.hero__in > *:nth-child(5) { animation-delay: .48s; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Products: interactive corn showcase ----------
   Farm photo as a soft, far background; the corn cob stands in the middle and
   the product cards sit in one aligned row under it. Drag / swipe slides the row;
   the centre card is the active one. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.show { position: relative; padding-block: clamp(56px, 7vw, 88px) 40px; overflow: hidden; isolation: isolate; background: var(--cream); }
.show__bg { position: absolute; inset: 0; z-index: -1; }
.show__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(1.05); transform: scale(1.03); }
.show__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(252, 248, 240, .86) 0%, rgba(252, 248, 240, .55) 30%, rgba(252, 248, 240, .08) 62%, rgba(250, 248, 243, .75) 92%, var(--paper) 100%); }
.show__head { text-align: center; display: grid; justify-items: center; gap: 10px; }
.show__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.3; max-width: 30ch; }
.show__head h2 em { font-style: normal; color: var(--red); }
.show__head p { color: var(--ink-2); }

.orbit { position: relative; height: clamp(500px, 40vw, 560px); max-width: 1100px; margin: 8px auto 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.orbit.is-dragging { cursor: grabbing; }
.orbit:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 24px; }
.orbit__corn { position: absolute; left: 50%; top: 0; height: 60%; width: auto; transform: translateX(-50%); z-index: 20; pointer-events: none; filter: drop-shadow(0 26px 30px rgba(70, 50, 10, .28)); animation: cornIn 1s var(--ease) both; }
.orbit__shadow { position: absolute; left: 50%; top: calc(60% - 22px); width: 220px; height: 30px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 40, 10, .35), transparent); z-index: 1; }
@keyframes cornIn { from { opacity: 0; transform: translateX(-50%) translateY(24px) scale(.96); } }

.ocard {
  position: absolute; left: 50%; top: 62%; width: 250px; transform-origin: 50% 0;
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start;
  padding: 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .96); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 16px 36px -18px rgba(40, 25, 10, .45);
  transform: translateX(-50%); will-change: transform, opacity; cursor: pointer;
  transition: box-shadow .3s, border-color .3s;
}
.ocard > * { min-width: 0; }
.ocard__thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.ocard__en { display: block; font: 600 .6875rem/1.2 var(--f-en); letter-spacing: .08em; text-transform: uppercase; color: var(--leaf); }
.ocard h3 { font-size: 1.0625rem; margin-top: 2px; }
.ocard p, .ocard .btn { display: none; }
.ocard.is-active { cursor: default; border-color: rgba(233, 195, 80, .9); box-shadow: 0 24px 48px -20px rgba(40, 25, 10, .5), 0 0 0 3px rgba(233, 195, 80, .25); }
.ocard.is-active p { display: block; font-size: .875rem; color: var(--ink-2); line-height: 1.65; margin-top: 4px; }
.ocard.is-active .btn { display: inline-flex; margin-top: 10px; min-height: 36px; padding: 0 16px; font-size: .8125rem; }
.ocard.is-active h3 { color: var(--red); }
.ocard.is-active .ocard__text { animation: fade .3s ease both; }


/* Without JS: simple list under the corn */
html:not(.js) .orbit { height: auto; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding-top: 520px; }
html:not(.js) .ocard { position: static; transform: none; }

@media (max-width: 700px) {
  .orbit { height: 470px; }
  .orbit__corn { top: 0; height: 56%; }
  .orbit__shadow { width: 150px; top: calc(56% - 18px); }
  .ocard { top: 58%; }
  /* Side cards shrink to round product thumbnails; the active card opens below the corn */
  .ocard:not(.is-active) { width: auto; display: block; padding: 4px; border-radius: 50%; }
  .ocard:not(.is-active) .ocard__text { display: none; }
  .ocard:not(.is-active) .ocard__thumb { width: 54px; height: 54px; border-radius: 50%; }
  .ocard.is-active { width: min(236px, 62vw); grid-template-columns: 40px 1fr; gap: 10px; padding: 12px; }
  .ocard.is-active .ocard__thumb { width: 40px; height: 40px; }
  .ocard.is-active p { font-size: .8125rem; }
}

/* ---------- About (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--cream); aspect-ratio: 4 / 3.2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; inset-inline-start: 14px; bottom: 14px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .8125rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8f3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.more { margin-top: 18px; padding: 18px 20px; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); color: var(--ink-2); }
.split--flip .photo { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip .photo { order: 0; } }


/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why__item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-block: 26px; padding-inline-end: 24px; border-bottom: 1px solid var(--line); }
.why__item > div { min-width: 0; }
.why__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--leaf-soft); display: grid; place-items: center; }
.why__ic svg { width: 24px; height: 24px; stroke: var(--leaf); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why__item h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.why__item p { font-size: .9375rem; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- Quality ---------- */
.steps { list-style: none; padding: 0; margin: 26px 0 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 18px; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--red); color: var(--red); font: 700 .9375rem/1 var(--f-en); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.steps b { display: block; font-size: 1rem; padding-top: 7px; }
.steps b + span { display: block; font-size: .9rem; color: var(--ink-2); }
.steps .pill-row { display: flex; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pill { font-size: .8125rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: #6d4f05; }
.quote { margin-top: 20px; padding: 18px 20px; border-inline-start: 3px solid var(--gold); background: var(--white); border-radius: 0 var(--r) var(--r) 0; color: var(--ink-2); font-size: .9375rem; }
html[dir="rtl"] .quote { border-radius: var(--r) 0 0 var(--r); }

/* ---------- Applications ---------- */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--cream); color: #fff; }
.app img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.app:hover img { transform: scale(1.04); }
.app::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,14,12,.8), transparent 55%); }
.app figcaption { position: absolute; inset-inline: 18px; bottom: 16px; z-index: 1; }
.app b { display: block; font-size: 1.1875rem; }
.app small { font-size: .8125rem; opacity: .85; }
.apps-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--ink-2); font-size: .9375rem; }
.apps-note .pill { background: var(--leaf-soft); color: var(--leaf); }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .apps { gap: 12px; } .app { aspect-ratio: 4 / 5; } .app b { font-size: 1rem; } }

/* ---------- Factory banner ---------- */
.banner { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2a1d17; isolation: isolate; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22,14,12,.85), rgba(22,14,12,.15) 70%); }
.banner__in { padding-block: 64px 56px; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.banner h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); max-width: 22ch; }
.banner p { margin-top: 8px; color: rgba(255,255,255,.85); }
.stat { text-align: center; }
.stat b { display: block; font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--f-en); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat small { font-size: .875rem; color: rgba(255,255,255,.85); }

/* ---------- Vision & values ---------- */
.vv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.vv > * { min-width: 0; }
.vision { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; line-height: 1.6; margin-top: 14px; }
.vision em { font-style: normal; color: var(--red); }
.values { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.values li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; }
.values li::before { content: ""; width: 10px; height: 13px; flex-shrink: 0; border-radius: 50% 50% 48% 48% / 42% 42% 58% 58%; background: var(--gold); }
.values li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 860px) { .vv { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact > * { min-width: 0; }
.cinfo { display: grid; gap: 12px; }
.citem { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s; }
a.citem:hover { border-color: var(--red); }
.citem > div { min-width: 0; }
.citem .why__ic { width: 44px; height: 44px; }
.citem small { display: block; font-size: .8125rem; color: var(--ink-2); }
.citem b { display: block; font-size: 1rem; word-break: break-word; }
html[dir="rtl"] .citem b.ltr { text-align: right; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 100%; min-height: 420px; background: var(--cream); }
.contact > .rv:last-child { align-self: stretch; }
.cta-box { padding: 24px; margin-bottom: 14px; border-radius: var(--r-lg); background: var(--red); color: #fff; }
.cta-box h3 { font-size: 1.25rem; }
.cta-box p { color: rgba(255,255,255,.85); margin-top: 4px; }
.cta-box__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cta-box .btn { background: #fff; color: var(--red); }
.cta-box .btn:hover { background: var(--gold-soft); }
.cta-box .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-box .btn--line:hover { background: rgba(255,255,255,.12); }
@media (max-width: 900px) { .map { min-height: 300px; } }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.ftr { background: var(--white); color: var(--ink-2); border-top: 4px solid var(--red); padding-block: 56px 28px; font-size: .9375rem; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.ftr__grid > * { min-width: 0; }
.ftr__logo img { width: 180px; height: auto; }
.ftr h4 { margin: 0 0 14px; color: var(--ink); font-size: 1rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.ftr__about { margin-top: 14px; max-width: 34ch; }
.ftr__bar { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (max-width: 860px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- Product dialog ---------- */
.pd { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.pd__scrim { position: absolute; inset: 0; background: var(--overlay); animation: fade .25s both; }
.pd__box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; background: var(--white); border-radius: var(--r-lg); display: grid; grid-template-columns: 1fr 1fr; animation: rise .35s var(--ease) both; }
.pd__box > * { min-width: 0; }
.pd__img { background: var(--cream); min-height: 100%; }
.pd__img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.pd__body { padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 16px; align-content: start; }
.pd__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.pd__body h4 { margin: 6px 0 0; font-size: .9375rem; }
.pd__body p { color: var(--ink-2); }
.pd__facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pd__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.pd__facts dt { color: var(--ink-2); }
.pd__facts dd { margin: 0; font-weight: 700; text-align: end; }
.pd__x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); box-shadow: var(--sh); cursor: pointer; display: grid; place-items: center; }
.pd__x svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; }
body.lock { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 760px) { .pd { padding: 0; place-items: end center; } .pd__box { grid-template-columns: 1fr; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; max-height: 92dvh; } .pd__img img { min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------- Image fallback (if a photo fails to load) ---------- */
.noimg { background: linear-gradient(135deg, var(--cream), var(--gold-soft)) !important; }
.noimg img { opacity: 0; }

/* ---------- Reveal (fade in, once) ---------- */
.rv { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv:not(.in) { opacity: 0; transform: translateY(16px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv:not(.in) { opacity: 1; transform: none; }
}

@media (max-width: 600px) { .hero__tags { display: none; } }
@media (max-width: 440px) { .hdr .logo small { display: none; } .hdr .logo img { height: 42px; } }
