/* مصنع الذهين — Thaheen Food Factory design system
   identity: deep green #176A3A + gold #F2B705 (from current site), light premium + motion */
:root {
  --green: #176a3a;
  --green-deep: #0d3e22;
  --green-2: #1e8a4c;
  --green-soft: #e9f4ec;
  --gold: #f2b705;
  --gold-soft: #fdf3d3;
  --paper: #f8faf7;
  --card: #ffffff;
  --text: #1d2a20;
  --muted: #5f6f63;
  --line: #e2eadf;
  --ink: #0d2b17;
  --wa: #25d366;
  --wa-dark: #1da851;
  --grad: linear-gradient(115deg, var(--green) 20%, #2e9c5c 55%, #7ec850);
  --grad-gold: linear-gradient(115deg, #f2b705, #ffd95c);
  --radius: 18px;
  --shadow: 0 16px 44px rgba(13, 62, 34, 0.10);
  --shadow-lg: 0 30px 80px rgba(13, 62, 34, 0.16);
  --maxw: 1200px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.85;
  font-size: 16.5px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ═════════ header ═════════ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(13, 62, 34, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 183, 5, 0.18);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; color: #fff; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; border-radius: 10px; background: #fff; padding: 3px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name b { font-size: 18px; letter-spacing: 0.3px; }
.brand-name span { font-size: 11.5px; color: var(--gold); font-weight: 700; }
.main-nav { display: flex; gap: 2px; margin-inline-start: auto; flex-wrap: wrap; }
.main-nav a {
  position: relative; padding: 9px 13px; border-radius: 10px;
  font-weight: 700; font-size: 14.5px; color: #d8e8dd; transition: 0.25s;
}
.main-nav a::after {
  content: ""; position: absolute; bottom: 4px; inset-inline: 13px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: 0.3s;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: #fff; }
.main-nav a.active::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #052b12; font-weight: 800; font-size: 14.5px;
  padding: 10px 18px; border-radius: 999px; transition: 0.25s;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.header-cta:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }
.lang-switch {
  display: flex; border: 1px solid rgba(242, 183, 5, 0.4); border-radius: 999px; overflow: hidden;
  font-size: 13px; font-weight: 800;
}
.lang-switch a { padding: 6px 13px; color: #cfe2d5; }
.lang-switch a.on { background: var(--gold); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }

/* ═════════ hero ═════════ */
.hero { position: relative; overflow: hidden; background: linear-gradient(165deg, #f4faf5 0%, #eaf5ec 45%, #fdf7e3 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; pointer-events: none; }
.orb-1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(23,106,58,0.45), transparent 70%); top: -160px; inset-inline-end: -120px; animation: drift 14s ease-in-out infinite alternate; }
.orb-2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(242,183,5,0.4), transparent 70%); bottom: -200px; inset-inline-start: -100px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(36px,-28px) scale(1.1); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; padding-block: 84px 96px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 999px; padding: 9px 20px; font-size: 14px; font-weight: 800;
  color: var(--green-deep); margin-bottom: 24px;
}
.hero-pill .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green-2); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,138,76,0.5); } 70% { box-shadow: 0 0 0 12px rgba(30,138,76,0); } 100% { box-shadow: 0 0 0 0 rgba(30,138,76,0); } }
.hero h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.3; margin: 0 0 18px; font-weight: 900; color: var(--ink); letter-spacing: -0.4px; }
.hero h1 .hl { color: var(--green); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: 0.08em; height: 0.22em; background: var(--gold); opacity: 0.45; border-radius: 4px; z-index: -1; }
.hero .sub { color: var(--muted); font-size: clamp(16px, 1.9vw, 19px); margin: 0 0 34px; max-width: 580px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 29px;
  border-radius: 999px; font-weight: 800; font-size: 15.5px; transition: 0.25s;
  border: 0; cursor: pointer; font-family: inherit;
}
.btn:active { transform: scale(0.97); }
.btn-wa { background: var(--wa); color: #052b12; box-shadow: 0 10px 30px rgba(37,211,102,0.4); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; transform: translateY(-3px); }
.btn-green { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(23,106,58,0.35); }
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(23,106,58,0.45); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px rgba(242,183,5,0.4); }
.btn-gold:hover { transform: translateY(-3px); filter: brightness(1.05); }
.btn-ghost { border: 2px solid rgba(13,62,34,0.22); color: var(--ink); background: rgba(255,255,255,0.65); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); }

/* hero collage */
.hero-visual { position: relative; min-height: 470px; }
.collage { position: relative; height: 470px; }
.collage .shot {
  position: absolute; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff;
  animation: floaty 7s ease-in-out infinite;
}
.collage .shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-a { width: 58%; height: 60%; top: 0; inset-inline-start: 4%; z-index: 2; --tilt: -2deg; }
.shot-b { width: 46%; height: 44%; top: 38%; inset-inline-end: 0; z-index: 3; animation-delay: 1.3s; --tilt: 2.4deg; }
.shot-c { width: 37%; height: 36%; bottom: 0; inset-inline-start: 0; z-index: 1; animation-delay: 2.5s; --tilt: -1deg; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); } 50% { transform: translateY(-13px) rotate(var(--tilt, 0deg)); } }
.hero-badge-float {
  position: absolute; z-index: 4; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 12px 17px; display: flex; gap: 11px; align-items: center;
  border: 1px solid var(--line); animation: floaty 6s ease-in-out infinite;
}
.hbf-1 { bottom: 14%; inset-inline-end: 3%; animation-delay: 0.6s; }
.hbf-2 { top: 4%; inset-inline-start: 0; animation-delay: 1.8s; }
.hero-badge-float .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 14px;
}
.hero-badge-float b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.hero-badge-float span { font-size: 12px; color: var(--muted); }

/* ═════════ marquee ═════════ */
.marquee-band { background: var(--green-deep); color: #fff; overflow: hidden; padding-block: 18px; transform: rotate(-1.1deg) scale(1.02); margin-block: -24px 0; position: relative; z-index: 5; }
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 24px; padding-inline: 24px; font-weight: 900; font-size: 18.5px; white-space: nowrap; }
.marquee-item .star { color: var(--gold); font-size: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═════════ sections ═════════ */
section.block { padding-block: 94px; }
.sec-head { max-width: 720px; margin-bottom: 54px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--green); border: 1px solid #cfe5d6;
  border-radius: 999px; padding: 7px 18px; font-weight: 900; font-size: 13px; margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(27px, 3.5vw, 42px); margin: 0 0 14px; line-height: 1.35; color: var(--ink); font-weight: 900; letter-spacing: -0.4px; }
.sec-head h2 .hl { color: var(--green); }
.sec-head p { color: var(--muted); margin: 0; font-size: 17.5px; }
.on-dark h2 { color: #fff; }
.on-dark p { color: #b9cfc1; }

/* ═════════ counters ═════════ */
.counters { background: var(--green-deep); color: #fff; position: relative; overflow: hidden; }
.counters::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 300px at 82% 0%, rgba(242,183,5,0.16), transparent 60%),
              radial-gradient(520px 280px at 8% 100%, rgba(30,138,76,0.5), transparent 60%);
}
.counters-inner { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 64px; text-align: center; }
.counter .num {
  font-size: clamp(38px, 4.4vw, 58px); font-weight: 900; line-height: 1.15;
  color: var(--gold);
}
.counter .lbl { color: #bcd6c5; font-size: 15px; font-weight: 600; margin-top: 4px; }

/* ═════════ cards ═════════ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: 0.3s; position: relative; overflow: hidden; }
.why-card::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); opacity: 0; transition: 0.3s; }
.why-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.why-card:hover::before { opacity: 1; }
.why-card .ico { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 18px; }
.why-card .ico svg { width: 27px; height: 27px; }
.why-card h3 { margin: 0 0 9px; font-size: 18.5px; color: var(--ink); }
.why-card p { margin: 0; color: var(--muted); font-size: 14.8px; }

/* product cards */
.prod-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: 0.35s cubic-bezier(0.2,0.7,0.3,1); display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.prod-card .thumb { position: relative; height: 250px; overflow: hidden; background: linear-gradient(140deg, #eef6ef, #fbf6e2); display: grid; place-items: center; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s cubic-bezier(0.2,0.7,0.3,1); }
.prod-card .thumb.fit img { object-fit: contain; padding: 18px; }
.prod-card:hover .thumb img { transform: scale(1.07); }
.prod-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.prod-card .cat { align-self: flex-start; font-size: 11.8px; font-weight: 800; background: var(--gold-soft); color: #8a6a00; border-radius: 999px; padding: 4px 13px; }
.prod-card h3 { margin: 0; font-size: 18.5px; color: var(--ink); }
.prod-card p { margin: 0; color: var(--muted); font-size: 14.6px; flex: 1; }

/* brand cards */
.brand-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 24px; text-align: center; transition: 0.3s; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.brand-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #cfe5d6; }
.brand-card img { height: 92px; width: auto; object-fit: contain; }
.brand-card b { color: var(--ink); font-size: 16.5px; }
.brand-card span { color: var(--muted); font-size: 13.5px; }

/* certs */
.cert-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; transition: 0.3s; }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cert-card .doc { height: 200px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 16px; background: #fff; display: grid; place-items: center; }
.cert-card .doc img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert-card h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.cert-card p { margin: 0; color: var(--muted); font-size: 13.8px; }

/* partners */
.partners { background: var(--green-deep); }
.partners-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.partner-tile {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 16px 26px; display: grid; place-items: center;
  height: 86px; min-width: 140px; transition: 0.3s;
}
.partner-tile:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.partner-tile img { max-height: 54px; max-width: 130px; object-fit: contain; }
.partner-tile.light { background: #fff; border-color: #fff; }

/* process / export */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 54px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: 0.3s; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-card .n { width: 42px; height: 42px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 17px; margin-bottom: 14px; }
.step-card h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--ink); }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* check list */
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding-block: 8px; font-size: 15.5px; }
.check-list svg { flex: none; margin-top: 6px; color: #fff; background: var(--grad); border-radius: 50%; width: 21px; height: 21px; padding: 4px; }

/* CTA band */
.cta-band { background: var(--green-deep); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,183,5,0.25), transparent 70%);
  top: -220px; inset-inline-end: -120px; filter: blur(60px); animation: drift 12s ease-in-out infinite alternate;
}
.cta-inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-block: 66px; }
.cta-inner h2 { margin: 0 0 8px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; }
.cta-inner p { margin: 0; color: #b9cfc1; }

/* page hero */
.page-hero { background: linear-gradient(150deg, var(--green-deep) 35%, #14522c); color: #fff; padding-block: 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(242,183,5,0.25), transparent 70%); bottom: -220px; inset-inline-end: -120px; filter: blur(55px); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(29px, 4vw, 48px); font-weight: 900; }
.page-hero p { margin: 0; color: #c6dccd; max-width: 700px; font-size: 17.5px; }
.crumbs { color: #9dc2ab; font-size: 13.5px; margin-bottom: 16px; }
.crumbs a:hover { color: var(--gold); }

/* detail cols */
.svc-detail { padding-block: 76px; border-bottom: 1px solid var(--line); }
.svc-cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.svc-cols .media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.svc-cols h2 { font-size: clamp(25px, 3vw, 36px); color: var(--ink); margin: 0 0 14px; font-weight: 900; }
.svc-cols .lead { color: var(--muted); font-size: 16.5px; margin: 0 0 20px; }

/* contact */
.office-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: 0.3s; }
.office-card:hover { box-shadow: var(--shadow); }
.office-card .head { background: var(--green-deep); color: #fff; padding: 22px 26px; position: relative; overflow: hidden; }
.office-card .head::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(242,183,5,0.3), transparent 70%); top: -60px; inset-inline-end: -40px; }
.office-card .head h3 { margin: 0 0 4px; font-size: 19px; position: relative; z-index: 2; }
.office-card .head span { color: #a9c9b5; font-size: 13.5px; position: relative; z-index: 2; }
.office-card .body { padding: 24px 26px; display: grid; gap: 14px; }
.c-line { display: flex; gap: 12px; align-items: flex-start; font-size: 15.3px; }
.c-line svg { flex: none; color: var(--green); margin-top: 5px; }
.c-line a:hover { color: var(--green); }
.map-embed { width: 100%; height: 260px; border: 0; display: block; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { margin: 0 0 22px; color: var(--ink); font-size: 21px; font-weight: 900; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 2px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 15px; background: var(--paper); color: var(--text); transition: 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(23,106,58,0.1); }
.field textarea { min-height: 100px; resize: vertical; }

/* legal/article */
.article { max-width: 800px; margin-inline: auto; padding-block: 70px; }
.article h1 { font-size: clamp(26px, 3.4vw, 38px); color: var(--ink); margin: 12px 0 24px; font-weight: 900; }
.article h2 { color: var(--ink); font-size: 21px; margin: 30px 0 10px; }
.article p { color: #3a463c; font-size: 16px; line-height: 2.05; }

/* footer */
.site-footer { background: var(--green-deep); color: #b9cfc1; padding-top: 64px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(242,183,5,0.12), transparent 70%); top: -180px; inset-inline-start: -100px; filter: blur(60px); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; margin: 0 0 18px; font-size: 16.5px; }
.site-footer .brand { margin-bottom: 14px; display: inline-flex; }
.site-footer p { font-size: 14.2px; margin: 0 0 12px; }
.f-links li { padding-block: 5px; font-size: 14.4px; }
.f-links a:hover { color: var(--gold); }
.f-contact li { display: flex; gap: 10px; padding-block: 6px; font-size: 13.7px; align-items: flex-start; }
.f-contact svg { flex: none; color: var(--gold); margin-top: 5px; }
.f-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,0.09); color: #fff; transition: 0.25s; }
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-4px); }
.footer-bar { position: relative; border-top: 1px solid rgba(255,255,255,0.12); padding-block: 18px; }
.footer-bar .container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: #7fa18d; }

/* FAB */
.wa-fab {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 95;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,0.5);
  transition: 0.25s; animation: fabpulse 3s ease-in-out infinite;
}
@keyframes fabpulse { 0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,0.5); } 50% { box-shadow: 0 12px 30px rgba(37,211,102,0.5), 0 0 0 14px rgba(37,211,102,0.12); } }
.wa-fab:hover { transform: scale(1.12) rotate(8deg); }
.wa-fab svg { width: 29px; height: 29px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,0.7,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .shot, .orb, .marquee-track, .wa-fab { animation: none !important; transition: none !important; opacity: 1; transform: none; }
}

/* slider (about/hero alternative) */
.hero-slider { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-slider .slides { display: flex; transition: transform 0.6s cubic-bezier(0.2,0.7,0.3,1); }
.hero-slider .slides img { width: 100%; flex: none; }

/* responsive */
@media (max-width: 1020px) {
  .grid-3, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process, .steps { grid-template-columns: repeat(2, 1fr); }
  .counters-inner { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 60px 76px; }
  .hero-visual { min-height: 400px; }
  .collage { height: 400px; }
  .svc-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--green-deep); flex-direction: column; padding: 12px 16px 18px; gap: 3px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .header-cta span { display: none; }
  .header-cta { padding: 10px 12px; }
  .grid-3, .grid-4, .post-grid, .values-grid { grid-template-columns: 1fr; }
  .process, .steps { grid-template-columns: 1fr; }
  section.block { padding-block: 62px; }
  .footer-grid { grid-template-columns: 1fr; }
  .collage { height: 330px; }
  .hero-badge-float { display: none; }
  .brand-name { display: none; }
}
