/* =====================================================================
   Shah Sulaiman Noori Trading Company — theme styles
   Deep green · warm ivory · muted gold · neutral tones
   Mobile-first, RTL-aware (logical properties), accessible.
   ===================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/cormorant-garamond-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/noto-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/noto-sans-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Noto Naskh Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/noto-naskh-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Noto Naskh Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/noto-naskh-arabic-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- Tokens ---------- */
:root {
	--green-950: #08241b;
	--green-900: #0b2e22;
	--green-800: #0f3d2e;
	--green-700: #165240;
	--green-600: #1f6a53;
	--green-100: #e4ede8;
	--ivory: #f8f4ea;
	--ivory-2: #f1eadb;
	--paper: #fffdf8;
	--gold: #b8975a;
	--gold-600: #9c7c42;
	--gold-300: #d9c59c;
	--gold-100: #f3ead6;
	--ink: #1d2823;
	--muted: #56645c;
	--line: #e3dac7;
	--white: #ffffff;
	--danger: #a6372d;
	--ok: #1f6a53;

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(15, 61, 46, .06), 0 8px 24px rgba(15, 61, 46, .08);
	--shadow-lg: 0 20px 50px rgba(8, 36, 27, .18);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--sec: clamp(56px, 8vw, 104px);
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

html[dir="rtl"] {
	--font-body: "Noto Sans Arabic", "Inter", Tahoma, "Segoe UI", Arial, sans-serif;
	--font-head: "Noto Naskh Arabic", "Noto Sans Arabic", "Cormorant Garamond", Tahoma, serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[dir="rtl"] body { font-size: 1.075rem; line-height: 1.9; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { line-height: 1.45; letter-spacing: 0; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
html[dir="rtl"] h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
html[dir="rtl"] h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
html[dir="rtl"] h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.25em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 1000; background: var(--gold); color: var(--green-950); padding: .7rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.center { text-align: center; margin-top: 2.25rem; }
.empty { color: var(--muted); font-style: italic; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn { --b: var(--gold); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.4em; border-radius: 999px; border: 1.5px solid transparent; font: 600 .98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--green-950); box-shadow: 0 6px 18px rgba(184, 151, 90, .35); }
.btn--gold:hover { background: var(--gold-300); color: var(--green-950); }
.btn--green { background: var(--green-800); color: var(--ivory); }
.btn--green:hover { background: var(--green-700); color: var(--white); }
.btn--light { background: var(--ivory); color: var(--green-900); }
.btn--light:hover { background: var(--white); color: var(--green-900); }
.btn--ghost { border-color: rgba(248, 244, 234, .55); color: var(--ivory); background: transparent; }
.btn--ghost:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn--ghost-dark { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn--ghost-dark:hover { background: var(--green-800); color: var(--ivory); }
.btn--sm { min-height: 40px; padding: .5em 1.05em; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: .9em 1.8em; font-size: 1.02rem; }
.btn .icon { width: 1.15em; height: 1.15em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--green-700); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
html[dir="rtl"] .link-arrow::after { content: "←"; }
.link-arrow:hover::after { transform: translateX(3px); }
html[dir="rtl"] .link-arrow:hover::after { transform: translateX(-3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--green-950); color: var(--gold-100); font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { color: var(--gold-300); }
.topbar__contacts { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar .icon { width: 1rem; height: 1rem; color: var(--gold); }
.topbar__motto { font-style: italic; opacity: .85; }
@media (max-width: 860px) { .topbar__motto, .topbar__email { display: none; } }
@media (max-width: 520px) { .topbar__contacts { gap: .9rem; } .topbar__wa-label, .topbar__email { display: none; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 253, 248, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(8, 36, 27, .08); }
@media (min-width: 1101px) { .site-header.is-scrolled .brand { min-height: 60px; } .site-header.is-scrolled .brand img { width: 42px; height: 42px; } .site-header.is-scrolled .brand__tag { display: none; } }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--green-900); margin-inline-end: auto; min-width: 0; flex: 1 1 auto; min-height: var(--header-h); }
.header-actions { flex: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-300); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; color: var(--green-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__tag { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[dir="rtl"] .brand__name { font-size: 1.1rem; }
html[dir="rtl"] .brand__tag { letter-spacing: 0; text-transform: none; font-size: .8rem; }

.nav-primary { order: 3; flex: 1 1 100%; border-top: 1px solid var(--line); }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; }
.nav-primary a { display: block; padding: .8rem .5rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .9rem; white-space: nowrap; }
.nav-primary a:hover { background: var(--ivory); color: var(--green-800); }
.nav-primary .current-menu-item > a, .nav-primary .current_page_item > a, .nav-primary .current-page-ancestor > a { color: var(--green-800); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
html[dir="rtl"] .nav-primary a { font-size: .95rem; padding-inline: .55rem; }
.topbar .wrap, .site-header .wrap { max-width: 1320px; }
@media (max-width: 1279px) { .nav-primary a, html[dir="rtl"] .nav-primary a { font-size: .84rem; padding-inline: .35rem; } }
.header-actions { display: flex; align-items: center; gap: .5rem; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch > button { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--green-900); font: 500 .88rem var(--font-body); cursor: pointer; }
.lang-switch > button .icon { width: 1.05rem; height: 1.05rem; color: var(--gold-600); }
.lang-switch ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 170px; list-style: none; margin: 0; padding: .4rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); display: none; z-index: 120; }
.lang-switch.is-open ul { display: block; }
.lang-switch li a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; border-radius: 8px; text-decoration: none; color: var(--ink); }
.lang-switch li a:hover { background: var(--ivory); }
.lang-switch li a[aria-current="true"] { color: var(--green-800); font-weight: 600; background: var(--green-100); }
.lang-switch li small { color: var(--muted); text-transform: uppercase; font-family: var(--font-body); }
.lang-list-inline { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.lang-list-inline a { display: inline-block; padding: .35rem .8rem; border: 1px solid rgba(248, 244, 234, .3); border-radius: 999px; color: var(--ivory); text-decoration: none; font-size: .9rem; }
.lang-list-inline a[aria-current="true"], .lang-list-inline a:hover { background: var(--gold); border-color: var(--gold); color: var(--green-950); }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--green-900); cursor: pointer; }
.header-cta { display: inline-flex; }

@media (max-width: 1100px) {
	.site-header .wrap { flex-wrap: nowrap; }
	.brand { flex: 1 1 0; }
	.nav-primary { display: none; }
	.menu-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
	:root { --header-h: 66px; }
	.header-cta { display: none; }
	.brand img { width: 44px; height: 44px; }
	.brand__name { font-size: 1.02rem; }
	.brand__tag { display: none; }
	.lang-switch > button span.lang-switch__label { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 36, 27, .55); animation: fade .2s var(--ease); }
.drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(380px, 88vw); background: var(--green-900); color: var(--ivory); padding: 1.25rem 1.25rem 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.25rem; animation: slide-in .28s var(--ease); }
html[dir="rtl"] .drawer__panel { animation-name: slide-in-rtl; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head img { width: 48px; height: 48px; border-radius: 50%; }
.drawer__close { width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(248, 244, 234, .25); background: transparent; color: var(--ivory); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a { display: block; padding: .8rem .25rem; color: var(--ivory); text-decoration: none; font-size: 1.08rem; border-bottom: 1px solid rgba(248, 244, 234, .1); }
.drawer nav .current-menu-item > a, .drawer nav a:hover { color: var(--gold-300); }
.drawer__contact { display: grid; gap: .6rem; font-size: .95rem; }
.drawer__contact a { color: var(--gold-100); text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.drawer__contact .icon { color: var(--gold); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slide-in-rtl { from { transform: translateX(-100%); } to { transform: none; } }
body.drawer-open { overflow: hidden; }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec--ivory { background: var(--ivory); }
.sec--green { background: radial-gradient(1200px 500px at 85% 0%, rgba(184, 151, 90, .16), transparent 60%), var(--green-800); color: var(--ivory); }
.sec--green h2, .sec--green h3 { color: var(--white); }
.sec--green .eyebrow { color: var(--gold-300); }
.sec--green a:not(.btn) { color: var(--gold-300); }
.sec-head { max-width: 760px; margin: 0 auto 2.75rem; text-align: center; }
.sec-head .lead { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 600 .78rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 70ch; }
.sec--green .lead { color: var(--gold-100); }

/* Home hero */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; color: var(--ivory); background: var(--green-900); isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--hero-img); background-size: cover; background-position: center; transform: scale(1.03); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 36, 27, .94) 0%, rgba(11, 46, 34, .82) 45%, rgba(11, 46, 34, .35) 100%); }
html[dir="rtl"] .hero::after { background: linear-gradient(260deg, rgba(8, 36, 27, .94) 0%, rgba(11, 46, 34, .82) 45%, rgba(11, 46, 34, .35) 100%); }
.hero__inner { padding-block: clamp(72px, 12vw, 140px); }
.hero .eyebrow { color: var(--gold-300); }
.hero__title { color: var(--white); max-width: 18ch; font-size: clamp(2.6rem, 6.4vw, 4.9rem); }
html[dir="rtl"] .hero__title { max-width: 18ch; font-size: clamp(2rem, 5vw, 3.6rem); }
.hero__lead { max-width: 60ch; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--gold-100); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__motto { margin-top: 2.25rem; font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: var(--gold-300); }
html[dir="rtl"] .hero__motto { font-style: normal; }
@media (max-width: 560px) { .hero__actions .btn { flex: 1 1 100%; } }

/* Inner page hero */
.page-hero { position: relative; color: var(--ivory); background: var(--green-900); isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--hero-img); background-size: cover; background-position: center; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 36, 27, .55), rgba(8, 36, 27, .9)); }
.page-hero .wrap { padding-block: clamp(56px, 9vw, 110px) clamp(44px, 6vw, 72px); }
.page-hero h1 { color: var(--white); margin-bottom: .35em; max-width: 22ch; }
.page-hero p { color: var(--gold-100); max-width: 62ch; font-size: 1.12rem; margin: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 1.1rem; color: var(--gold-300); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .45rem; opacity: .6; }
.breadcrumb a { color: var(--ivory); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-300); }

/* Stats */
.sec--stats { padding-block: 0; background: transparent; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-top: -64px; position: relative; z-index: 2; overflow: hidden; border: 1px solid var(--line); }
.stat { padding: 1.6rem 1.4rem; text-align: center; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--green-800); line-height: 1.1; }
.stat span { display: block; color: var(--muted); font-size: .92rem; margin-top: .3rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; } .stat:nth-child(2) { border-inline-end: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.page-hero + .page-body .sec--stats .stats, .sec + .sec--stats .stats { margin-top: 0; }
.sec--stats + .sec { padding-top: calc(var(--sec) * .8); }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { margin: 0; position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__media::after { content: ""; position: absolute; inset: auto auto -16px -16px; width: 42%; height: 42%; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
html[dir="rtl"] .split__media::after { inset: auto -16px -16px auto; }
.split__text > :last-child { margin-bottom: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } .split__media::after { display: none; } }

/* Grids & cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); }
.grid-2--form { grid-template-columns: .9fr 1.1fr; align-items: start; }
@media (max-width: 900px) { .grid-2, .grid-2--form { grid-template-columns: 1fr; } }
.cards { display: grid; gap: 1.25rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards--3 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.cards--dark .card { background: rgba(248, 244, 234, .05); border-color: rgba(248, 244, 234, .14); color: var(--gold-100); }
.cards--dark .card h3 { color: var(--white); }

/* Icon cards (icon drawn by CSS mask so editors don't need markup) */
.ico::before { content: ""; display: block; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 14px; background-color: var(--gold-100); background-image: none; -webkit-mask: none; position: relative; }
.ico { position: relative; }
.ico::after { content: ""; position: absolute; top: calc(1.75rem + 13px); inset-inline-start: calc(1.75rem + 13px); width: 26px; height: 26px; background: var(--green-800); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.cards--dark .ico::before { background-color: rgba(184, 151, 90, .18); }
.cards--dark .ico::after { background: var(--gold-300); }
.ico-calendar { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18M8 14h3v3H8z'/%3E%3C/svg%3E"); }
.ico-leaf { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21c0-9 5-15 15-16-1 10-7 15-15 16z'/%3E%3Cpath d='M5 21l8-8'/%3E%3C/svg%3E"); }
.ico-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
.ico-globe { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.ico-box { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4-9 4-9-4z'/%3E%3Cpath d='M3 7v10l9 4 9-4V7M12 11v10'/%3E%3C/svg%3E"); }
.ico-handshake { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 11l4-4 4 2 3-2 3 1 6 3'/%3E%3Cpath d='M22 11l-3 3-6 5-3-2-4-3-4-3'/%3E%3Cpath d='M10 15l2 2M13 13l2 2'/%3E%3C/svg%3E"); }
.ico-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ico-star { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.3.9-4.5 4.4 1 6.1L12 17l-5.5 3 1-6.1L3 9.5l6.3-.9z'/%3E%3C/svg%3E"); }
.ico-briefcase { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/svg%3E"); }
.ico-growth { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E"); }
.ico-truck { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h11v10H2zM13 9h4l4 4v3h-8'/%3E%3Ccircle cx='6.5' cy='17.5' r='1.8'/%3E%3Ccircle cx='17.5' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
.ico-factory { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V10l6 4V10l6 4V5h4v16z'/%3E%3Cpath d='M7 18h2M12 18h2'/%3E%3C/svg%3E"); }

/* Highlights (export / import) */
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.highlight { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.highlight img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.highlight__body { padding: 1.75rem; }
.highlight__body p:last-child { margin: 0; }
@media (max-width: 820px) { .highlights { grid-template-columns: 1fr; } }

/* Steps & timeline */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 3.4rem 1.25rem 1.4rem; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 1.1rem; inset-inline-start: 1.25rem; font: 700 1.5rem/1 var(--font-head); color: var(--gold); }
.steps li h3 { font-size: 1.2rem; }
.steps li p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps--compact { grid-template-columns: 1fr; gap: .6rem; margin-top: 1.5rem; }
.steps--compact li { padding: 1rem 1.1rem 1rem 3.6rem; }
html[dir="rtl"] .steps--compact li { padding: 1rem 3.6rem 1rem 1.1rem; }
.steps--compact li::before { top: 1.05rem; font-size: 1.2rem; }
.steps--compact li h3 { margin-bottom: .1em; font-size: 1.1rem; }
@media (max-width: 1000px) { .steps:not(.steps--compact) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps:not(.steps--compact) { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 9px; width: 2px; background: linear-gradient(var(--gold), var(--green-700)); }
.timeline li { position: relative; padding-inline-start: 3rem; padding-bottom: 2rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--gold); }
.timeline li > strong { display: inline-block; font: 600 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .5rem; }
html[dir="rtl"] .timeline li > strong { letter-spacing: 0; font-size: .92rem; }
.timeline li p { color: var(--muted); margin: 0; }

/* Mission / vision */
.mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.mv__item { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); }
.mv__item:first-child { background: var(--green-800); color: var(--gold-100); border-color: var(--green-800); }
.mv__item:first-child h2 { color: var(--white); }
.mv__item:first-child .eyebrow { color: var(--gold-300); }
@media (max-width: 820px) { .mv { grid-template-columns: 1fr; } }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-inline-start: 2rem; }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checklist--cols { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 720px) { .checklist--cols { grid-template-columns: 1fr; } }
.sec--green .checklist li::before { background-color: rgba(184, 151, 90, .25); }

.company-facts { margin: 2rem 0; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.company-facts dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; }
.company-facts dt { font-weight: 600; color: var(--green-800); }
.company-facts dd { margin: 0; }
@media (max-width: 600px) { .company-facts dl { grid-template-columns: 1fr; gap: .1rem; } .company-facts dd { margin-bottom: .6rem; } }

.notice-box { display: flex; gap: 1rem; align-items: flex-start; max-width: 760px; margin: 0 auto; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--ivory); border: 1px dashed var(--gold); color: var(--muted); }
.notice-box .icon { color: var(--gold-600); width: 28px; height: 28px; }
.notice-box p { margin: 0; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.cert { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.cert img { width: 72px; height: 72px; object-fit: contain; margin-bottom: .75rem; }
.cert small { color: var(--muted); display: block; }

/* Prose (privacy policy, articles) */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2rem; }
.prose ul { padding-inline-start: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-inline-start: 3px solid var(--gold); background: var(--ivory); }

/* ---------- Products ---------- */
.product-filter { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1.75rem; }
.product-filter__search { position: relative; flex: 1 1 280px; max-width: 420px; }
.product-filter__search .icon { position: absolute; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); color: var(--muted); }
.product-filter__search input { width: 100%; min-height: 48px; padding-inline: 44px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; }
.product-filter__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 40px; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 500 .92rem var(--font-body); cursor: pointer; }
.chip.is-active, .chip:hover { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card[hidden] { display: none; }
.product-card__media { display: block; overflow: hidden; background: var(--ivory-2); aspect-ratio: 4 / 3; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { padding: 1.35rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product-card__title { margin: 0; font-size: 1.45rem; }
html[dir="rtl"] .product-card__title { font-size: 1.25rem; }
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { color: var(--gold-600); }
.product-card__text { color: var(--muted); font-size: .96rem; margin: 0; }
.product-card__actions { margin: auto 0 0; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.badge { display: inline-block; align-self: flex-start; padding: .22rem .7rem; border-radius: 999px; font: 600 .72rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
html[dir="rtl"] .badge { letter-spacing: 0; font-size: .8rem; }
.badge--export { background: var(--gold-100); color: var(--gold-600); }
.badge--import { background: var(--green-100); color: var(--green-700); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--green-700); background: var(--ivory); padding: .2rem .6rem; border-radius: 6px; }
.chips .icon { width: .95rem; height: .95rem; }

/* Single product */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.product-summary .badge { margin-bottom: 1rem; }
.product-summary .lead { margin-bottom: 1.5rem; }
.spec-table { width: 100%; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.spec-table caption { text-align: start; font: 700 1.3rem var(--font-head); color: var(--green-900); padding-bottom: .75rem; }
.spec-table th, .spec-table td { padding: .8rem 1rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 42%; background: var(--ivory); color: var(--green-800); font-weight: 600; font-size: .93rem; }
.spec-table td.is-empty { color: var(--muted); font-style: italic; }
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table th { border-bottom: 0; padding-bottom: .2rem; } }

/* ---------- Markets ---------- */
.trade-map { margin: 0 auto; max-width: 1100px; background: var(--green-900); border-radius: var(--radius); padding: clamp(12px, 2.5vw, 28px); box-shadow: var(--shadow-lg); overflow: hidden; }
.trade-map svg { width: 100%; height: auto; direction: ltr; }
.trade-map svg text { unicode-bidi: plaintext; }
.tm-dot { fill: rgba(248, 244, 234, .13); }
.tm-glow-a { stop-color: rgba(184, 151, 90, .5); }
.tm-glow-b { stop-color: rgba(184, 151, 90, 0); }
.tm-arc { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 7; animation: dash 30s linear infinite; }
.tm-arc.tm-export { stroke: var(--gold); }
.tm-arc.tm-import { stroke: #7fc8a9; }
.tm-arc--offset { opacity: .85; }
@keyframes dash { to { stroke-dashoffset: -500; } }
.tm-node circle { stroke: var(--green-900); stroke-width: 2.5; }
.tm-node.tm-export circle { fill: var(--gold); }
.tm-node.tm-import circle { fill: #7fc8a9; }
.tm-node text, .tm-hub text { fill: var(--ivory); font: 500 17px var(--font-body); paint-order: stroke; stroke: var(--green-900); stroke-width: 4px; }
.tm-hub circle { fill: var(--gold); stroke: var(--white); stroke-width: 3; }
.tm-hub .tm-pulse { fill: none; stroke: var(--gold-300); stroke-width: 2; opacity: .7; animation: pulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.tm-hub text { font-weight: 700; font-size: 19px; fill: var(--gold-300); }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2); opacity: 0; } }
.trade-map__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: .75rem; color: var(--gold-100); font-size: .92rem; }
.legend::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 2px; vertical-align: middle; margin-inline-end: .5rem; }
.legend--export::before { background: var(--gold); }
.legend--import::before { background: #7fc8a9; }
@media (max-width: 640px) { .tm-node text { font-size: 28px; stroke-width: 5px; } .tm-hub text { font-size: 30px; } }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.market-table th, .market-table td { padding: .95rem 1.2rem; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.market-table thead th { background: var(--green-800); color: var(--ivory); font-weight: 600; font-size: .9rem; }
.market-table tbody th { font-weight: 600; color: var(--green-900); white-space: nowrap; }
.market-table tbody tr:last-child > * { border-bottom: 0; }
.market-table tbody tr:hover { background: var(--ivory); }
@media (max-width: 640px) {
	.market-table thead { display: none; }
	.market-table, .market-table tbody, .market-table tr, .market-table th, .market-table td { display: block; width: 100%; }
	.market-table tr { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
	.market-table tbody th, .market-table td { padding: .2rem 0; border: 0; }
	.market-table td { color: var(--muted); }
}

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green-800); color: var(--gold-300); }
.contact-card__label { margin: 0 0 .2rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
html[dir="rtl"] .contact-card__label { letter-spacing: 0; font-size: .9rem; }
.contact-card__value { font-size: 1rem; line-height: 1.55; overflow-wrap: break-word; }
.contact-card__value a { text-decoration: none; font-weight: 500; }
.contact-card__line { display: block; margin-bottom: .35rem; }
.contact-card__line small { display: block; color: var(--muted); font-size: .8rem; }
.contact-cards--compact { grid-template-columns: 1fr; margin-top: 1rem; }
.social { display: flex; gap: .5rem; flex-wrap: wrap; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--green-800); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--green-950); }

.map { margin-top: 1.75rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, var(--green-100), var(--ivory)); min-height: 300px; display: flex; }
.map iframe { width: 100%; min-height: 360px; border: 0; }
.map__placeholder { margin: auto; text-align: center; padding: 2rem 1.25rem; }
.map__placeholder > .icon { width: 44px; height: 44px; color: var(--gold-600); margin: 0 auto .5rem; }
.map__title { font: 700 1.3rem var(--font-head); color: var(--green-900); margin: 0; }
.map__addr { color: var(--muted); max-width: 44ch; margin: .25rem auto 1rem; }
.map__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.map__notice { font-size: .8rem; color: var(--muted); margin: .75rem 0 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.ssn-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; margin: 0; border: 0; padding: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .ssn-form { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: var(--green-900); padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="search"], .field input[type="file"], .field select, .field textarea, .newsletter input {
	width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid #d6ccb7; border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .newsletter input:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(31, 106, 83, .18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .85rem; }
.field__group { margin: .5rem 0 .2rem; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); }
html[dir="rtl"] .field__group { letter-spacing: 0; font-size: .9rem; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .4rem .75rem; margin-bottom: .6rem; }
.check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400 !important; font-size: .95rem !important; color: var(--ink) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .2em; accent-color: var(--green-800); flex: none; }
.check--consent { font-size: .9rem !important; }
.qty { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.req { color: var(--danger); }
.form-actions { align-items: flex-start; }
.form-note { font-size: .82rem; color: var(--muted); margin: .5rem 0 0; }
.form-msg { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.25rem; }
.form-msg p { margin: 0; }
.form-msg--ok { background: var(--green-100); color: var(--green-800); border: 1px solid #b9d5c7; }
.form-msg--ok .icon { color: var(--green-700); width: 28px; height: 28px; }
.form-msg--error { background: #fbeceb; color: var(--danger); border: 1px solid #efc4bf; }
button[disabled] { opacity: .7; cursor: progress; }

/* ---------- News ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.post-card__body p { color: var(--muted); margin: 0; font-size: .96rem; }
.post-card__body .link-arrow { margin-top: auto; padding-top: .5rem; }
.post-card__date { font-size: .82rem !important; color: var(--gold-600) !important; font-weight: 600; }
.post-card__title { font-size: 1.4rem; margin: 0; }
html[dir="rtl"] .post-card__title { font-size: 1.2rem; }
.post-card__title a { color: inherit; text-decoration: none; }
.article-meta { color: var(--gold-300); font-size: .92rem; margin-top: .75rem !important; }
.article-figure img { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; aspect-ratio: 16 / 8; object-fit: cover; }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--green-800); color: var(--ivory); border-color: var(--green-800); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; position: relative; }
.quote::before { content: "“"; position: absolute; top: .2rem; inset-inline-end: 1.2rem; font: 700 4.5rem/1 var(--font-head); color: var(--gold-300); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
.quote figcaption span { display: block; color: var(--muted); font-size: .9rem; }

/* ---------- Gallery & lightbox ---------- */
.gallery-grid { columns: 3 280px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1rem; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--ivory-2); }
.gallery-item a { display: block; }
.gallery-item img { width: 100%; transition: transform .5s var(--ease); }
.gallery-item a:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: .6rem .9rem; font-size: .9rem; color: var(--muted); background: var(--white); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 20, 15, .94); display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox figure { margin: 0; text-align: center; color: var(--gold-100); }
.lightbox figcaption { margin-top: .75rem; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .3); color: #fff; cursor: pointer; font-size: 1.4rem; display: inline-flex; align-items: center; justify-content: center; }
.lightbox__close { top: 1rem; inset-inline-end: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green-900), var(--green-700)); color: var(--gold-100); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(184, 151, 90, .25); box-shadow: 0 0 0 60px rgba(184, 151, 90, .05), 0 0 0 120px rgba(184, 151, 90, .03); }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(48px, 7vw, 84px); position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: .35em; }
.cta-band .eyebrow { color: var(--gold-300); }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }
@media (max-width: 520px) { .cta-band__actions .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(248, 244, 234, .78); font-size: .95rem; }
.site-footer a { color: rgba(248, 244, 234, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-block: clamp(48px, 7vw, 80px) 2.5rem; }
.footer-brand img { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); margin-bottom: 1rem; }
.footer-brand .footer-name { font: 700 1.35rem var(--font-head); color: var(--white); margin-bottom: .35rem; }
.footer-brand .footer-tag { color: var(--gold-300); font-style: italic; margin-bottom: 1rem; }
html[dir="rtl"] .footer-brand .footer-tag { font-style: normal; }
.site-footer h2 { font: 600 .8rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
html[dir="rtl"] .site-footer h2 { letter-spacing: 0; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: .25em; width: 1.1rem; height: 1.1rem; }
.footer-legal { font-size: .85rem; color: rgba(248, 244, 234, .6); }
.footer-bottom { border-top: 1px solid rgba(248, 244, 234, .1); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; font-size: .85rem; }
.newsletter { margin-top: 1.25rem; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.newsletter input { background: rgba(248, 244, 234, .06); border-color: rgba(248, 244, 234, .2); color: var(--ivory); min-width: 0; flex: 1 1 11rem; }
.newsletter input::placeholder { color: rgba(248, 244, 234, .55); }
.newsletter .btn { flex: none; }
.newsletter__msg { margin: .6rem 0 0; color: var(--gold-300); font-size: .9rem; }
.newsletter__msg--err { color: #f2a59d; }
.site-footer .social a { border-color: rgba(248, 244, 234, .2); color: var(--ivory); }
@media (max-width: 1000px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; gap: 2rem; } .newsletter__row { flex-direction: column; } }

/* ---------- Floating WhatsApp chat ---------- */
.wa-chat { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
html[dir="rtl"] .wa-chat { align-items: flex-start; }
.wa-chat__btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); cursor: pointer; transition: transform .2s var(--ease); }
.wa-chat__btn:hover { transform: scale(1.06); }
.wa-chat__btn .icon { width: 30px; height: 30px; stroke-width: 2; }
.wa-chat__panel { width: min(320px, calc(100vw - 36px)); background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.wa-chat__panel[hidden] { display: none; }
.wa-chat__head { background: var(--green-800); color: var(--ivory); padding: .9rem 1rem; display: flex; gap: .75rem; align-items: center; }
.wa-chat__head img { width: 40px; height: 40px; border-radius: 50%; }
.wa-chat__head strong { display: block; color: var(--white); font-size: .95rem; line-height: 1.3; }
.wa-chat__head span { font-size: .78rem; color: var(--gold-300); }
.wa-chat__body { padding: 1rem; background: #efe9dc; }
.wa-chat__bubble { background: var(--white); border-radius: 0 12px 12px 12px; padding: .7rem .9rem; font-size: .93rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
html[dir="rtl"] .wa-chat__bubble { border-radius: 12px 0 12px 12px; }
.wa-chat__foot { padding: .75rem 1rem 1rem; display: grid; gap: .5rem; }
.wa-chat__foot .btn { width: 100%; background: #25d366; color: #073b1f; box-shadow: none; }
.wa-chat__foot .btn:hover { background: #1fbd5a; color: #fff; }
.back-to-top { position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: 140; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--green-800); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- 404 / search ---------- */
.not-found { text-align: center; padding-block: var(--sec); }
.not-found .big { font: 700 clamp(5rem, 16vw, 9rem)/1 var(--font-head); color: var(--gold); margin: 0; }
.search-form { display: flex; gap: .5rem; max-width: 520px; margin: 1.5rem auto 0; }
.search-form input { flex: 1; min-height: 48px; padding: .7rem 1rem; border-radius: 999px; border: 1px solid var(--line); font: inherit; }
.search-results { display: grid; gap: 1rem; max-width: 860px; }
.search-result { padding: 1.25rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.search-result h2 { font-size: 1.4rem; margin-bottom: .3rem; }
.search-result h2 a { text-decoration: none; color: inherit; }
.search-result p { margin: 0; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- WordPress core alignment / editor classes ---------- */
.alignleft { float: inline-start; margin-inline-end: 1.5rem; }
.alignright { float: inline-end; margin-inline-start: 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .88rem; color: var(--muted); }
.page-body > p, .page-body > h2, .page-body > h3, .page-body > ul, .page-body > ol { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Print ---------- */
@media print {
	.topbar, .site-header, .wa-chat, .back-to-top, .cta-band, .site-footer .newsletter, .drawer { display: none !important; }
	.hero, .page-hero { color: #000; background: none; min-height: 0; }
	.hero::before, .hero::after, .page-hero::before, .page-hero::after { display: none; }
	.hero__title, .page-hero h1 { color: #000; }
	body { font-size: 11pt; }
}
