/* Makhmari Fresh - main stylesheet
   Brand colours taken from the logo:
   leaf green #85c340 -> #0ea94b, wordmark green #558b42,
   M red #f37e5e -> #eb1f27 -> #cf202a                        */

:root,
:root[data-theme="dark"] {
  --bg: #0d1510;
  --bg-2: #121d15;
  --surface: #17241b;
  --line: #28392c;
  --text: #ecf1e4;
  --muted: #a3b39d;
  --green: #85c340;
  --green-2: #0ea94b;
  --green-ink: #558b42;
  --red: #eb1f27;
  --red-soft: #f37e5e;
  --red-deep: #cf202a;
  --on-green: #0d1510;
  --pattern-opacity: .55;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f7f8f2;
  --bg-2: #eef2e6;
  --surface: #ffffff;
  --line: #dbe3d1;
  --text: #1a2a1d;
  --muted: #56674f;
  --green: #3f7d2c;
  --green-2: #0b8a3c;
  --green-ink: #558b42;
  --red: #cf202a;
  --red-soft: #eb1f27;
  --red-deep: #b01a23;
  --on-green: #ffffff;
  --pattern-opacity: .6;
  --shadow: 0 18px 40px -26px rgba(30, 50, 20, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Google Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  transition: background-color .25s ease, color .25s ease;
}

img { max-width: 100%; height: auto; display: block; }
img[loading], .photo img { background: var(--surface); color: transparent; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: "Madimi One", system-ui, sans-serif;
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: var(--on-green); padding: .6rem 1rem; z-index: 99;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- top strip + header ---------- */
.topstrip {
  background: linear-gradient(90deg, var(--red-soft), var(--red) 50%, var(--red-deep));
  color: #fff;
  font-size: .9rem;
}
.topstrip .wrap {
  display: flex; flex-wrap: wrap; gap: .35rem 1.5rem;
  justify-content: space-between; padding: .45rem 0;
}
.topstrip a { text-decoration: none; font-weight: 700; }
.topstrip a:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}
.brand { display: block; flex: none; }
.brand img { height: 60px; width: auto; }
.logo-light { display: none; }
:root[data-theme="light"] .logo-light { display: block; }
:root[data-theme="light"] .logo-dark { display: none; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a {
  display: block; padding: .5rem .8rem; text-decoration: none;
  font-weight: 700; color: var(--muted); border-radius: 8px;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }

.header-tools { display: flex; align-items: center; gap: .6rem; }

.theme-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  display: grid; place-items: center; cursor: pointer;
}
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }

.menu-btn {
  display: none; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font: inherit; font-weight: 700;
  padding: .5rem .9rem; border-radius: 8px; cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px;
  font-weight: 800; text-decoration: none; border: 2px solid transparent;
  font-size: 1rem; cursor: pointer; font-family: inherit;
}
.btn-green { background: var(--green); color: var(--on-green); }
.btn-green:hover { background: var(--green-2); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-line { border-color: var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--green); }
.btn-small { padding: .5rem 1rem; font-size: .95rem; }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 44ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2rem; }
.hero-phones { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .95rem; color: var(--muted); }
.hero-phones strong { display: block; color: var(--text); font-size: 1.25rem; font-family: "Madimi One", sans-serif; }
.hero-phones a { text-decoration: none; }

.hero-visual { position: relative; }
.hero-visual .photo {
  border-radius: 200px 200px 18px 18px; /* arch, echoing the M in the logo */
  overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .m-line {
  position: absolute; width: 118%; left: -24%; bottom: -12%;
  opacity: .9; pointer-events: none;
}
.hero-note {
  position: absolute; left: -1.5rem; bottom: 2.2rem;
  background: var(--surface); border: 1px solid var(--line);
  padding: .9rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow);
  max-width: 250px; font-size: .95rem; line-height: 1.4;
}
.hero-note b { color: var(--green); }

/* ---------- page header (inner pages) ---------- */
.page-head {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.page-head p { color: var(--muted); max-width: 60ch; font-size: 1.15rem; }
.page-head .crumbs { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }
.page-head .crumbs a { color: var(--muted); }
.pattern-bg {
  position: absolute; right: -60px; top: -30px; width: 460px; max-width: 70%;
  opacity: var(--pattern-opacity); pointer-events: none;
}

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; max-width: none; }

/* category mosaic on home: deliberately uneven */
.mosaic {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
}
.tile {
  position: relative; overflow: hidden; border-radius: 16px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(8, 14, 9, .88));
  color: #fff; font-weight: 800; font-size: 1.1rem;
}
.tile span small { display: block; font-weight: 600; font-size: .85rem; opacity: .85; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }

/* two-column text + photo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.duo .pic { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.duo .pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.duo.flip .pic { order: 2; }

.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.25rem 3.2rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -.1rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
  background: var(--green); color: var(--on-green); font-family: "Madimi One", sans-serif;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.08rem; top: 2.3rem; bottom: .2rem; width: 2px; background: var(--line);
}
.steps b { display: block; font-size: 1.1rem; }
.steps span { color: var(--muted); }

/* brands wall */
.brand-wall { display: flex; flex-wrap: wrap; gap: .5rem; }
.brand-wall li {
  list-style: none; padding: .45rem .95rem; border: 1px solid var(--line);
  border-radius: 999px; font-weight: 700; font-size: .95rem; background: var(--surface);
}
.brand-wall { padding: 0; margin: 0; }

/* frozen band */
.frozen {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.frozen article { background: var(--surface); }
.frozen img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frozen div { padding: 1.1rem 1.2rem 1.3rem; }
.frozen h3 { margin-bottom: .25rem; }
.frozen p { color: var(--muted); font-size: .96rem; margin: 0; }

/* emirates coverage */
.coverage { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding: 0; margin: 1.25rem 0 0; }
.coverage li { list-style: none; font-family: "Madimi One", sans-serif; font-size: 1.4rem; font-weight: 600; }
.coverage li::after { content: " /"; color: var(--red); margin-left: .6rem; }
.coverage li:last-child::after { content: ""; }

/* CTA band with pattern */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #3e6b30, var(--green-ink) 45%, #2f5a24);
  color: #fff; border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem);
}
.cta-band .pattern-bg { opacity: .45; filter: brightness(0) invert(1); right: -40px; top: -60px; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 52ch; opacity: .92; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; position: relative; }
.cta-band .btn-line { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn-line:hover { border-color: #fff; }

/* blog list */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.post-card { text-decoration: none; display: flex; flex-direction: column; }
.post-card .thumb { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 1rem; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card time { font-size: .9rem; color: var(--muted); }
.post-card h3 { margin: .25rem 0 .4rem; }
.post-card:hover h3 { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.post-card p { color: var(--muted); font-size: .98rem; }

.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; text-decoration: none; }
.post-feature .thumb { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.post-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-feature p { color: var(--muted); }
.post-feature time { color: var(--muted); font-size: .95rem; }
.read { font-weight: 800; color: var(--green); }

/* article */
.article { padding: 3rem 0 4rem; }
.article .cover { border-radius: 18px; overflow: hidden; margin: 0 0 2.5rem; border: 1px solid var(--line); }
.article .cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article h2 { font-size: 1.75rem; margin-top: 2.2rem; }
.article p, .article li { font-size: 1.1rem; }
.article li { margin-bottom: .4rem; }
.article .meta { color: var(--muted); font-size: .95rem; }
.article blockquote {
  margin: 2rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--red);
  background: var(--bg-2); border-radius: 0 12px 12px 0; font-size: 1.15rem;
}
.article table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 1rem; }
.article th, .article td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); }
.article th { color: var(--muted); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.post-end { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }

/* products page */
.cat-bar {
  position: sticky; top: 77px; z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.cat-bar .wrap { display: flex; gap: 1rem; align-items: center; padding: .8rem 0; }
.chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; flex: 1; }
.chip {
  flex: none; padding: .42rem .9rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--on-green); }
.search {
  flex: none; width: 230px; padding: .55rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: .95rem;
}

.cat { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.cat:last-of-type { border-bottom: 0; }
.cat .pic { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); align-self: start; }
.cat .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat h2 { font-size: 1.9rem; margin-bottom: .2rem; }
.cat .desc { color: var(--muted); max-width: 60ch; }
.cat .count { font-size: .9rem; color: var(--green); font-weight: 800; }
.items { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; }
.items li {
  padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  font-weight: 700; font-size: .98rem;
}
.items li small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; }
.items li mark { background: color-mix(in srgb, var(--green) 35%, transparent); color: inherit; border-radius: 3px; }
.cat .note { font-size: .9rem; color: var(--muted); margin-top: .8rem; }
.cat.frozen-cat h2::after {
  content: "Frozen"; font-family: "Google Sans", sans-serif; font-size: .8rem; vertical-align: middle;
  margin-left: .6rem; padding: .15rem .6rem; border-radius: 999px; background: #2a6fa8; color: #fff;
}
.empty { padding: 3rem 0; text-align: center; color: var(--muted); display: none; }

/* about */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.values h3 { border-top: 3px solid var(--red); padding-top: .9rem; }
.values p { color: var(--muted); }
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.fact-list li span:first-child { color: var(--muted); }
.fact-list li span:last-child { font-weight: 700; text-align: right; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-block { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-block:first-child { padding-top: 0; }
.contact-block h3 { font-size: 1.05rem; color: var(--muted); margin-bottom: .3rem; font-family: "Google Sans", sans-serif; }
.contact-block a, .contact-block .big { font-family: "Madimi One", sans-serif; font-size: 1.6rem; font-weight: 700; text-decoration: none; line-height: 1.3; display: inline-block; }
.contact-block a:hover { color: var(--green); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .96rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.form .hint { font-size: .9rem; color: var(--muted); margin: .8rem 0 0; }
.form-error { color: var(--red-soft); font-weight: 700; font-size: .95rem; display: none; margin-top: .6rem; }
.form-ok { color: var(--green); font-weight: 700; font-size: .95rem; display: none; margin-top: .6rem; }
.form .hp { position: absolute; left: -9999px; }

/* custom dropdown (enhances .field select, see main.js) */
.dd { position: relative; }
.dd select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.dd-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; text-align: left; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.dd-btn:hover { border-color: color-mix(in srgb, var(--green) 55%, var(--line)); }
.dd.open .dd-btn, .dd-btn:focus-visible {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 22%, transparent);
}
.dd-chev {
  width: 1.6rem; height: 1.6rem; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .2s ease;
}
.dd.open .dd-chev { transform: rotate(180deg); background: var(--green); color: var(--on-green); }
.dd-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + .45rem);
  margin: 0; padding: .4rem; list-style: none; max-height: 290px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, .55), 0 0 0 1px color-mix(in srgb, var(--green) 10%, transparent);
  transform-origin: top center; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97);
  transition: opacity .2s ease, transform .25s cubic-bezier(.2, .9, .3, 1.2), visibility 0s linear .25s;
}
.dd.up .dd-list { top: auto; bottom: calc(100% + .45rem); transform-origin: bottom center; transform: translateY(8px) scale(.97); }
.dd.open .dd-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd-opt {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .62rem .75rem; border-radius: 9px; cursor: pointer; color: var(--text);
  transition: background .15s ease, color .15s ease, padding-left .2s ease;
}
.dd.open .dd-opt { animation: dd-in .3s ease both; animation-delay: calc(var(--i) * 28ms); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } }
.dd-opt.active { background: color-mix(in srgb, var(--green) 14%, transparent); padding-left: 1rem; }
.dd-opt[aria-selected="true"] { color: var(--green); font-weight: 700; }
.dd-opt svg { opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1); flex: none; }
.dd-opt[aria-selected="true"] svg { opacity: 1; transform: none; }
.dd-list::-webkit-scrollbar { width: 8px; }
.dd-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; border: 2px solid var(--surface); }
@media (prefers-reduced-motion: reduce) {
  .dd-list, .dd-chev, .dd-opt, .dd-opt svg { transition: none; }
  .dd.open .dd-opt { animation: none; }
}
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-top: 3rem; }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }
:root[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); padding: 4rem 0 1.5rem; margin-top: 0; }
.site-footer .pattern-bg { right: -80px; top: auto; bottom: -140px; width: 520px; }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.foot-grid h4 { font-size: 1.1rem; margin-bottom: .8rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: .45rem; }
.foot-grid a { text-decoration: none; color: var(--muted); }
.foot-grid a:hover { color: var(--text); }
.foot-grid .about p { color: var(--muted); font-size: .98rem; max-width: 34ch; }
.foot-grid .about img { height: 56px; width: auto; margin-bottom: 1rem; }
.foot-bottom { position: relative; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .9rem; color: var(--muted); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: #1faa53; color: #fff; text-decoration: none; font-weight: 800;
  padding: .75rem 1.1rem; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
  display: inline-flex; align-items: center; gap: .45rem; font-size: .95rem;
}
.wa-float svg { width: 20px; height: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .duo, .contact-grid, .post-feature { grid-template-columns: 1fr; }
  .duo.flip .pic { order: 0; }
  .hero-visual { max-width: 520px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .frozen { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cat { grid-template-columns: 240px 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem 1.25rem 1rem; }
  .nav a { padding: .8rem .2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--green); }
  .header-tools { margin-left: auto; }
  .header-call { display: none; }
  .cat-bar { top: 77px; }
  .cat-bar .wrap { flex-direction: column; align-items: stretch; gap: .6rem; }
  .search { width: 100%; }
}
@media (max-width: 640px) {
  .brand img { height: 42px; }
  .mosaic { grid-auto-rows: 150px; }
  .tile.big { grid-row: span 1; }
  .frozen, .posts, .values, .form .row { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-note { position: static; margin-top: 1rem; max-width: none; }
  .topstrip .hide-sm { display: none; }
  .wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
