/* =========================================================
   Al-Madaen Dairy — main stylesheet
   Layout: one 1200px grid with equal side margins; full-bleed bands
   (hero photo, production photo, footer) alternate with milk-white
   sections laid over a faded cow photograph fixed behind the page.
   Brand colours are taken from the logo (leaf green + harvest orange).
   Arabic (RTL) is the default; English (LTR) via the EN button.
   All spacing uses logical properties so both directions work.
   ========================================================= */

:root {
  /* colour — from the logo */
  --green-900: #0d3a20;   /* deep field green: footer, dark card, text on light */
  --green-700: #17602f;   /* brand green: buttons, icons */
  --green-500: #3f9b2f;   /* leaf green: hover, highlights */
  --green-100: #e6f1df;   /* pale grass: icon wells, tone steps */
  --gold-500: #f39a1b;    /* harvest orange: primary action */
  --gold-600: #d67f06;    /* hover for orange */
  --gold-100: #fdf0db;
  --milk: #fbfbf8;        /* page ground */
  --milk-2: #f5f3ea;      /* tone step for cards */
  --ink: #16251a;         /* body text */
  --ink-2: #44554a;       /* secondary text */
  --white: #ffffff;
  --scrim: rgba(9, 38, 20, .62);
  --error: #b42318;

  /* type */
  --f-display: "El Messiri", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --f-body: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  --t-hero: clamp(2.6rem, 6.4vw, 5.4rem);
  --t-h2: clamp(2rem, 3.8vw, 3.2rem);
  --t-h3: 1.25rem;
  --t-body: 1.0625rem;
  --t-small: 1rem;

  /* space + shape */
  --wrap: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --section: clamp(72px, 9vw, 120px);
  --radius: 18px;
  --pill: 999px;

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: .25s;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
a, button, summary, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(23, 96, 47, .15); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--milk);
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-500); color: var(--green-900); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Faded farm photograph behind the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../assets/images/farm-cows.jpg") center / cover no-repeat;
  opacity: .1;
  filter: saturate(.7);
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--green-900); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .6em 1.4em;
  border: 0; border-radius: var(--pill);
  font-weight: 700; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: background-color var(--dur) ease, color var(--dur) ease, transform var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--gold { background: var(--gold-500); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-600); color: var(--white); }
.btn--green { background: var(--green-700); color: var(--white); }
.btn--green:hover { background: var(--green-500); }
.btn--ghost { background: rgba(255,255,255,.14); color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); } /* taste-skill-ignore: outline button */
.btn--ghost:hover { background: var(--white); color: var(--green-900); }
.btn--sm { min-height: 44px; padding: .5em 1.2em; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: .8em 1.8em; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ---------- top bar ---------- */
.topbar { background: var(--green-900); color: #dfeadf; font-size: .9375rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 8px; }
.topbar__group { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .ic { color: var(--gold-500); }
a.topbar__item:hover { color: var(--white); }
@media (max-width: 640px) { .topbar__item:first-child { display: none; } .topbar__in { justify-content: center; } }

/* ---------- header ---------- */
body::after { /* paints the safe-area band above the sticky header on phones */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white);
}
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white);
  transition: box-shadow var(--dur) ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 58, 32, .1); } /* taste-skill-ignore: sticky bar */
.header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 70px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--f-display); font-size: 1.5rem; color: var(--green-700); }
.brand__text small { font-size: .8125rem; color: var(--gold-600); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a:not(.btn) {
  position: relative; padding: 10px 12px; font-weight: 600; color: var(--ink);
  transition: color var(--dur) ease;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--gold-500); transform: scaleX(0); transition: transform var(--dur) var(--ease-out);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--green-700); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  min-width: 44px; min-height: 44px; border: 0; border-radius: var(--pill);
  background: var(--green-100); color: var(--green-900); font-weight: 800; cursor: pointer;
  transition: background-color var(--dur) ease;
}
.lang:hover { background: var(--gold-100); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--green-100); cursor: pointer; position: relative; }
.burger span { position: absolute; inset-inline-start: 12px; width: 20px; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
  .header__cta { display: none; }
  .burger { display: block; }
  .header__actions { margin-inline-start: auto; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    box-shadow: 0 18px 30px rgba(13, 58, 32, .12); /* taste-skill-ignore: open menu overlay */
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.0625rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 16px; }
}
@media (max-width: 400px) { .brand__text small { display: none; } .brand img { width: 58px; } }

/* ---------- hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; isolation: isolate; background: var(--green-900); }
.hero__bg {
  position: absolute; inset: -6% 0 0; z-index: -2;
  background: url("../assets/images/factory.webp") center 50% / cover no-repeat;
  will-change: transform;
}
.hero::before { /* scrim: darker on the text side so the photo stays visible on the other */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgba(9, 38, 20, .9) 0%, rgba(9, 38, 20, .72) 50%, rgba(9, 38, 20, .3) 100%); /* taste-skill-ignore: scrim over photo */
}
html[dir="ltr"] .hero::before { /* taste-skill-ignore: scrim over photo */ background: linear-gradient(to right, rgba(9, 38, 20, .9) 0%, rgba(9, 38, 20, .72) 50%, rgba(9, 38, 20, .3) 100%); }
.hero__in { padding-block: clamp(80px, 11vw, 150px) clamp(150px, 15vw, 210px); }
.hero__title { font-size: var(--t-hero); font-weight: 700; line-height: 1.1; max-width: 12ch; letter-spacing: -.01em; }
html[lang="en"] .hero__title { letter-spacing: -.03em; line-height: 1.02; }
.hero__lead { margin-top: 28px; max-width: 52ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: #eef5ec; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__wave { position: absolute; inset: auto 0 -1px; width: 100%; height: clamp(70px, 9vw, 140px); }
.hero__wave-milk { fill: rgba(251, 251, 248, .55); }
.hero__wave-ground { fill: var(--milk); }

/* ---------- quick cards ---------- */
.quick { position: relative; z-index: 2; margin-top: clamp(-80px, -6vw, -40px); }
.quick__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.qcard {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 36px 28px 32px; border-radius: var(--radius);
  background: var(--white);
  transition: transform .35s var(--ease-out);
}
.qcard:hover { transform: translateY(-6px); }
.qcard p { color: var(--ink-2); font-size: var(--t-small); flex: 1; }
.qcard__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-700); color: var(--white); font-size: 1.5rem;
}
.qcard__title { font-size: 1.375rem; color: var(--green-900); }
.qcard--dark { background: var(--green-900); color: var(--white); }
.qcard--dark .qcard__title { color: var(--white); }
.qcard--dark p { color: #cfe0d2; }
.qcard--dark .qcard__icon { background: var(--gold-500); color: var(--green-900); }
@media (max-width: 860px) { .quick__grid { grid-template-columns: 1fr; } .qcard { padding: 28px 22px; } }

/* ---------- section shell ---------- */
.section { padding-block: var(--section); position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 16px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lead { color: var(--ink-2); font-size: 1.125rem; max-width: 60ch; }
.h2 { font-size: var(--t-h2); color: var(--green-900); font-weight: 700; }
.h2--light { color: var(--white); }

/* ---------- about ---------- */
.about { background: rgba(251, 251, 248, .9); }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about__text { display: grid; gap: 20px; min-width: 0; }
.about__text p { font-size: 1.125rem; max-width: 60ch; }
.vmv { display: grid; gap: 16px; }
.vmv__item { padding: 26px 28px; border-radius: var(--radius); background: var(--green-100); min-width: 0; }
.vmv__item:nth-child(2) { background: var(--gold-100); }
.vmv__item h3 { font-size: 1.375rem; color: var(--green-900); margin-bottom: 6px; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- raw materials ---------- */
.materials { background: rgba(251, 251, 248, .92); }
.mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mat { display: grid; gap: 10px; align-content: start; min-width: 0; }
.mat__pic {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); background: var(--milk-2);
  display: grid; place-items: center; padding: 22px; overflow: hidden; margin-bottom: 8px;
}
.mat__pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.mat:hover .mat__pic img { transform: scale(1.05) rotate(-1deg); }
.mat h3 { font-size: 1.625rem; color: var(--green-900); }
.mat p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags span { padding: 6px 14px; border-radius: var(--pill); background: var(--gold-100); color: var(--green-900); font-weight: 700; font-size: .9375rem; }
.materials__cta {
  margin-top: clamp(40px, 5vw, 56px); padding: 26px clamp(22px, 4vw, 40px); border-radius: var(--radius);
  background: var(--green-100); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.materials__cta p { font-size: 1.125rem; font-weight: 600; color: var(--green-900); max-width: 52ch; }
@media (max-width: 900px) { .mats { grid-template-columns: 1fr; } .mat__pic { aspect-ratio: 16 / 9; } }

/* ---------- dairy product shelf ---------- */
.products { background: var(--milk); }
.shelf { display: grid; gap: 28px; }
.shelf__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.shelf__tab {
  display: grid; justify-items: center; align-content: end; gap: 10px; padding: 18px 10px 14px; min-height: 150px;
  border: 0; border-radius: 16px; background: var(--milk-2); cursor: pointer; font-weight: 700; color: var(--green-900);
  transition: background-color var(--dur) ease, transform .35s var(--ease-out), color var(--dur) ease;
}
.shelf__tab img { height: 86px; width: auto; object-fit: contain; transition: transform .45s var(--ease-out); }
.shelf__tab:hover { transform: translateY(-3px); }
.shelf__tab:hover img { transform: translateY(-4px) scale(1.05); }
.shelf__tab[aria-selected="true"] { background: var(--green-700); color: var(--white); }
.shelf__stage { border-radius: 24px; background: var(--gold-100); min-height: 420px; display: grid; }
.shelf__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px 48px; padding: clamp(24px, 4vw, 56px); }
.shelf__panel figure { display: grid; place-items: center; height: 340px; max-width: 100%; }
.shelf__panel figure img { height: 340px; width: auto; max-width: 100%; object-fit: contain; }
.shelf__text { display: grid; gap: 12px; }
.shelf__text h3 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: var(--green-900); }
.shelf__text p { font-size: 1.25rem; max-width: 36ch; }
.shelf__text small { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 760px) {
  .shelf__tabs { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .shelf__tab { scroll-snap-align: start; min-height: 120px; }
  .shelf__tab img { height: 64px; }
  .shelf__panel { grid-template-columns: 1fr; text-align: center; }
  .shelf__panel figure { height: 240px; }
  .shelf__panel figure img { height: 240px; }
  .shelf__text p { margin-inline: auto; }
}

/* ---------- production banner ---------- */
.banner { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--green-900); }
.banner__bg {
  position: absolute; inset: -10% 0; z-index: -2;
  background: url("../assets/images/production-line.jpg") center / cover no-repeat;
  will-change: transform;
}
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.banner__in { padding-block: clamp(90px, 11vw, 150px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.banner__text { display: grid; gap: 18px; }
.banner__statement { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--gold-500); line-height: 1.4; }
.banner__text p:not(.banner__statement) { color: #e3ece4; font-size: 1.125rem; max-width: 50ch; }
.steps { display: grid; gap: 4px; counter-reset: s; position: relative; }
.steps::before { /* the line the milk travels along */
  content: ""; position: absolute; inset-inline-start: 21px; top: 26px; bottom: 26px; width: 3px; border-radius: 3px;
  background: rgba(255,255,255,.28);
}
.steps li { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 12px 0; }
.steps__n {
  flex: none; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%;
  background: var(--white); color: var(--green-900); font-weight: 800; font-size: 1.125rem; position: relative; z-index: 1;
  transition: background-color var(--dur), transform .35s var(--ease-out);
}
.steps li:hover .steps__n { background: var(--gold-500); transform: scale(1.08); }
.steps li div { display: grid; gap: 2px; padding-top: 6px; }
.steps strong { font-family: var(--f-display); font-size: 1.25rem; }
.steps li span:not(.steps__n) { color: #d5e2d7; font-size: var(--t-small); }
@media (max-width: 900px) { .banner__in { grid-template-columns: 1fr; } }

/* ---------- services + sectors ---------- */
.services { background: rgba(251, 251, 248, .9); }
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--radius); overflow: hidden; }
.scard { padding: 36px 30px 40px; display: grid; gap: 10px; align-content: start; background: var(--white); transition: background-color var(--dur) ease, color var(--dur) ease; }
.scard:nth-child(even) { background: var(--milk-2); }
.scard:hover { background: var(--green-700); color: var(--white); }
.scard:hover h3, .scard:hover .scard__icon { color: var(--white); }
.scard:hover p { color: #dbe9dd; }
.scard__icon { font-size: 2.1rem; color: var(--green-700); margin-bottom: 8px; transition: color var(--dur) ease; }
.scard h3 { font-size: 1.5rem; color: var(--green-900); transition: color var(--dur) ease; }
.scard p { color: var(--ink-2); font-size: var(--t-small); transition: color var(--dur) ease; }
@media (max-width: 1000px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services__grid { grid-template-columns: 1fr; } }

.sectors { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.sectors__title { font-size: 1.5rem; color: var(--green-900); }
.sectors__list { display: flex; flex-wrap: wrap; gap: 12px; }
.sectors__list li {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--pill);
  background: var(--green-100); color: var(--green-900); font-weight: 600;
}
.sectors__list .ic { color: var(--green-700); font-size: 1.15rem; }

/* ---------- why ---------- */
.why { background: var(--green-100); }
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.why__head { display: grid; gap: 16px; }
.why__lead { font-size: 1.25rem; color: var(--ink-2); }
.why__photo { margin-top: 12px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__list { display: grid; gap: 12px; }
.why__list li { display: block; padding: 22px 26px; background: var(--white); border-radius: 16px; transition: transform .35s var(--ease-out); }
.why__list li:hover { transform: translateX(-6px); }
html[dir="ltr"] .why__list li:hover { transform: translateX(6px); }
.why__list .ic { font-size: 1.75rem; color: var(--gold-600); margin-top: 2px; }
.why__list div { display: grid; gap: 2px; }
.why__list strong { font-family: var(--f-display); font-size: 1.5rem; color: var(--green-900); }
.why__list span { color: var(--ink-2); font-size: var(--t-small); }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: rgba(251, 251, 248, .92); }
.faq__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; align-items: start; }
.faq__col { display: grid; gap: 14px; }
.faq__item { border-radius: 14px; background: var(--milk-2); overflow: hidden; transition: background-color var(--dur) ease; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; min-height: 56px; font-weight: 700; color: var(--green-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic {
  flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%;
  background: var(--green-700); color: var(--white); stroke-width: 2.4;
  transition: transform .3s var(--ease-out), background-color var(--dur);
}
.faq__item[open] { background: var(--white); }
.faq__item[open] summary { background: var(--green-700); color: var(--white); }
.faq__item[open] summary .ic { transform: rotate(180deg); background: var(--white); color: var(--green-700); }
.faq__item p { padding: 18px 22px 22px; color: var(--ink-2); }
@media (max-width: 860px) { .faq__cols { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { background: var(--milk); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__info { display: grid; gap: 18px; }
.contact__info > p { font-size: 1.125rem; max-width: 48ch; }
.contact__list { display: grid; gap: 14px; margin-top: 8px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list div { display: grid; line-height: 1.4; }
.contact__list small { color: var(--ink-2); font-size: .875rem; }
.contact__list a, .contact__list span { font-weight: 700; color: var(--green-900); }
.contact__list a:hover { color: var(--green-500); }
.contact__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--green-700); color: var(--white); font-size: 1.1rem; }

.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--green-100); }
.form__title { font-size: 1.5rem; color: var(--green-900); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 2px solid transparent; background: var(--white); font-size: 1rem;
  transition: border-color var(--dur) ease, background-color var(--dur) ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { color: var(--ink); background-color: var(--white); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317602f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-inline-end: 44px; }
html[dir="ltr"] .field select { background-position: right 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9d6b0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); background: var(--white); }
.field input[dir="ltr"] { text-align: start; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field__err { display: none; color: var(--error); font-size: .875rem; font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); background-color: #fff6f5; }
.field.is-invalid .field__err { display: block; }
.form__status { padding: 14px 18px; border-radius: 12px; background: var(--green-100); color: var(--green-900); font-weight: 700; display: flex; gap: 10px; align-items: center; }
.form__status.is-error { background: #fdecea; color: var(--error); }
.form button[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- newsletter ---------- */
.newsletter { position: relative; z-index: 2; margin-bottom: -90px; }
.newsletter__card {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: center;
  padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 52px); border-radius: 24px;
  background: var(--gold-500); color: var(--green-900);
}
.newsletter__title { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.35; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input {
  flex: 1 1 220px; min-width: 0; min-height: 54px; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--pill);
  background: var(--white); text-align: start;
}
html[dir="rtl"] .newsletter__form input { text-align: right; }
.newsletter__form input:focus { outline: none; border-color: var(--green-900); }
.newsletter__form .btn { min-height: 54px; background: var(--green-900); color: var(--white); }
.newsletter__form .btn:hover { background: var(--green-700); }
.newsletter__status { flex-basis: 100%; font-weight: 700; }
@media (max-width: 860px) { .newsletter__card { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--green-900); color: #d5e2d7; padding-top: 160px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand { display: grid; gap: 18px; align-content: start; max-width: 360px; }
.footer__logo { display: inline-grid; place-items: center; width: 120px; height: 90px; border-radius: 20px; background: var(--white); }
.footer__logo img { width: 96px; }
.footer h3 { font-size: 1.25rem; color: var(--white); margin-bottom: 14px; }
.footer nav { display: grid; align-content: start; gap: 4px; }
.footer nav a { padding: 6px 0; width: fit-content; transition: color var(--dur) ease, transform var(--dur) var(--ease-out); }
.footer nav a:hover { color: var(--gold-500); transform: translateX(-4px); }
html[dir="ltr"] .footer nav a:hover { transform: translateX(4px); }
.footer__phone { display: flex; align-items: center; gap: 12px; }
.footer__phone small { display: block; font-size: .8125rem; }
.footer__phone bdi { font-weight: 800; color: var(--gold-500); font-size: 1.125rem; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); font-size: 1.15rem; transition: background-color var(--dur), color var(--dur), transform var(--dur) var(--ease-out); }
.social a:hover { background: var(--gold-500); color: var(--green-900); transform: translateY(-3px); }
.footer__bottom { background: #082a16; font-size: .875rem; }
.footer__bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.totop { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-500); color: var(--green-900); transition: transform var(--dur) var(--ease-out); }
.totop .ic { transform: rotate(180deg); stroke-width: 2.4; }
.totop:hover { transform: translateY(-3px); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- motion helpers (set by JS; content is visible without JS) ---------- */
.js-motion [data-reveal] { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js-motion [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- additions ---------- */
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__facts li { padding: 6px 14px; border-radius: var(--pill); background: rgba(255,255,255,.14); color: var(--white); font-weight: 600; font-size: .9375rem; }
.about__photo { margin-top: 8px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.footer__slogan { font-family: var(--f-display); font-size: 1.5rem; color: var(--gold-500); }

/* Honeypot field: hidden from people, visible to form-filling bots */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
