/* LAAG AGRO — site styles. Mobile first, logical properties (RTL ready), no framework. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-SemiBold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
    --bg: #F7F5F0; --dark: #111820; --text: #0D1720; --muted: #63707B; --green: #284B3F; --green-deep: #1D382F;
    --accent: var(--firma-accent, #D57A1F); --accent-hover: var(--firma-accent-hover, #BF6A14); --accent-text: var(--firma-accent-text, #9A5510);
    --white: #FFFFFF; --wa: #25D366; --line: #E2DCCF; --line-strong: #C9C2B2; --green-soft: #E7EEEA; --sand: #EFEADF;
    --font: "Archivo", "Plex Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 4px; --wrap: 1200px; --gap: clamp(1rem, 2.5vw, 1.75rem); --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); padding-bottom: 60px; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-stretch: 112%; font-weight: 650; line-height: 1.12; letter-spacing: -0.012em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); font-stretch: 118%; line-height: 1.04; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.1875rem; line-height: 1.25; }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }
small { font-size: 0.8125rem; }
.lang-ar { --font: "Plex Arabic", "Archivo", system-ui, sans-serif; line-height: 1.8; }
.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-ar h4 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--dark); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
.icon { flex: none; vertical-align: -0.22em; }
.container { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.5; color: #2A3640; max-width: 62ch; }
.note { font-size: 0.9375rem; color: var(--muted); border-inline-start: 3px solid var(--line-strong); padding-inline-start: 0.875rem; max-width: 70ch; }
.notice { background: #FFF6E5; border: 1px solid #EBD3A6; padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.9375rem; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.3rem; border: 1.5px solid transparent; border-radius: var(--radius);
    font: inherit; font-weight: 620; font-stretch: 105%; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 40px; padding: 0.45rem 0.95rem; font-size: 0.9375rem; }
.btn--primary { background: var(--accent); color: var(--firma-on-accent, #111820); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--dark { background: var(--green); color: #fff; }
.btn--dark:hover { background: var(--green-deep); color: #fff; }
.btn--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--sand); color: var(--green-deep); }
.btn--wa { background: var(--wa); color: #06361B; }
.btn--wa:hover { background: #1EBE5A; color: #06361B; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.badge { display: inline-block; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; padding: 0.2rem 0.55rem; border-radius: 3px; background: var(--sand); color: #3B4650; }
.badge--core { background: var(--green); color: #fff; }
.badge--available { background: var(--green-soft); color: var(--green-deep); }
.badge--request { background: #F3E9D6; color: #6B4A12; }

/* ---------- header + navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.logo { display: inline-flex; flex: none; }
.logo img { display: block; height: 44px; width: auto; }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--text); cursor: pointer; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }
.nav { display: none; position: absolute; inset-inline: 0; top: 100%; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1.5rem; }
.nav-open .nav { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__item { border-bottom: 1px solid var(--line); }
.nav__link, .nav__details > summary { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; padding: 0.95rem 0; font-weight: 620; font-stretch: 106%; color: var(--text); text-decoration: none; cursor: pointer; list-style: none; }
.nav__details > summary::-webkit-details-marker, .lang > summary::-webkit-details-marker { display: none; }
.nav__details[open] > summary .icon--chevron, .lang[open] > summary .icon--chevron { transform: rotate(180deg); }
.is-current { color: var(--green) !important; }
.mega__inner { padding: 0 0 1rem; }
.mega__overview a { font-weight: 600; }
.mega__groups { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mega__group ul { list-style: none; margin: 0; padding: 0; }
.mega__group li a { display: block; padding: 0.3rem 0; color: #26323B; text-decoration: none; font-size: 1rem; }
.mega__group li a:hover { color: var(--accent-text); text-decoration: underline; }
.mega__group li a.is-strong { font-weight: 650; color: var(--green); }
.mega__title { margin: 0 0 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.mega__title a { color: inherit; text-decoration: none; }
.nav__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding-top: 1rem; }
.lang { position: relative; }
.lang > summary { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding: 0.3rem 0.6rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; list-style: none; font-size: 0.9375rem; background: #fff; }
.lang__list { list-style: none; margin: 0.35rem 0 0; padding: 0.35rem; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); min-width: 160px; z-index: 5; }
.lang__list a { display: block; padding: 0.45rem 0.6rem; text-decoration: none; color: var(--text); border-radius: 3px; }
.lang__list a:hover, .lang__list a[aria-current] { background: var(--green-soft); }
.header-wa { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0.3rem 0.6rem; color: #0B6B34; font-weight: 600; text-decoration: none; font-size: 0.9375rem; }
.header-wa .icon { color: var(--wa); width: 22px; height: 22px; }
@media (min-width: 1100px) {
    .nav-toggle { display: none; }
    .nav { display: flex; position: static; flex: 1; align-items: center; justify-content: space-between; gap: 1rem; padding: 0; border: 0; background: none; overflow: visible; max-height: none; }
    .nav__list { display: flex; gap: 0.25rem; margin-inline-start: 1.5rem; }
    .nav__item { border: 0; }
    .nav__link, .nav__details > summary { padding: 0.55rem 0.7rem; border-radius: var(--radius); font-size: 1rem; }
    .nav__link:hover, .nav__details > summary:hover, .nav__details[open] > summary { background: var(--sand); }
    .mega { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-top: 3px solid var(--green); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(17, 24, 32, .35); }
    .mega__inner { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; padding: 1.5rem 0 1.75rem; display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; }
    .mega__overview { margin: 0; font-size: 1.125rem; font-stretch: 110%; line-height: 1.3; }
    .mega__overview a { color: var(--green); text-decoration: none; }
    .mega__overview a:hover { text-decoration: underline; }
    .mega__groups { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
    .nav__tools { padding: 0; flex-wrap: nowrap; gap: 0.5rem; }
    .nav__link, .nav__details > summary, .header-cta, .header-wa, .lang > summary { white-space: nowrap; }
    .nav__list { margin-inline-start: 1rem; gap: 0; }
    .lang__list { position: absolute; inset-inline-end: 0; top: 100%; }
}

@media (min-width: 1100px) and (max-width: 1319px) {
    .header-wa span, .lang > summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .nav__link, .nav__details > summary { padding-inline: 0.5rem; font-size: 0.9688rem; }
    .logo img { height: 40px; }
}

/* ---------- hero + lot tag (the quick-facts card is shaped like a commodity lot tag) */
.hero { background: var(--green) url("../img/seeds.svg") center / 720px auto; color: #fff; }
.hero__inner { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 7vw, 5.5rem); align-items: center; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero__sub { font-size: clamp(1.0625rem, 1.7vw, 1.3125rem); line-height: 1.45; max-width: 46ch; color: #E6EDE9; }
.hero__actions, .page-head__actions, .feature__actions, .card__actions, .form__actions, .thanks__actions, .cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__actions { margin-top: 1.75rem; }
.lot-tag { position: relative; background: var(--bg); color: var(--text); padding: 3.25rem 1.5rem 1.5rem; max-width: 380px; width: 100%; justify-self: start;
    clip-path: polygon(34px 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%, 0 34px); }
.lot-tag::before { content: ""; position: absolute; top: 16px; inset-inline-start: calc(50% - 9px); width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 3px #B9A77F; }
.lot-tag--light { background: #fff; border: 0; }
.lot-tag--light::before { background: var(--bg); }
.lot-tag__name { font-size: 1.375rem; font-weight: 700; font-stretch: 116%; margin: 0 0 0.75rem; padding-bottom: 0.75rem; border-bottom: 2px dashed var(--line-strong); }
.lot-tag dl, .facts { margin: 0; }
.lot-tag dl > div, .facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.9688rem; }
.lot-tag dt, .facts dt { color: var(--muted); }
.lot-tag dd, .facts dd { margin: 0; font-weight: 600; text-align: end; }
.lot-tag dd small { font-weight: 400; color: var(--muted); }
.lot-tag__link { display: inline-block; margin-top: 1rem; font-weight: 600; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.35fr 0.65fr; } .lot-tag { justify-self: end; } }

/* ---------- sections */
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--white { background: #fff; }
.section--green { background: var(--green); color: #fff; }
.section--dark { background: var(--dark); color: #E8ECEF; }
.section--green h2, .section--dark h2, .section--dark h3 { color: #fff; }
.section--green p, .section--dark .lead { color: #DDE6E1; }
.section__head { max-width: 760px; margin-bottom: 1.75rem; }
.section__head p { color: var(--muted); font-size: 1.0625rem; }
.section--green .section__head p { color: #DDE6E1; }
.section__more { margin-top: 1.5rem; font-weight: 600; }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--form { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.grid { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.section h2 + .grid, .prose h3 + .grid { margin-top: 1rem; }
.grid + h2 { margin-top: 2.5rem; }

/* container frame with corner castings — echoes the logo; used only for the core product blocks */
.corners { position: relative; border: 2px solid var(--green); padding: clamp(1.5rem, 3.5vw, 2.5rem);
    background: linear-gradient(var(--green), var(--green)) top left / 16px 16px no-repeat, linear-gradient(var(--green), var(--green)) top right / 16px 16px no-repeat,
        linear-gradient(var(--green), var(--green)) bottom left / 16px 16px no-repeat, linear-gradient(var(--green), var(--green)) bottom right / 16px 16px no-repeat, #fff; }
.feature { display: grid; gap: var(--gap); }
.feature__cols { display: grid; gap: 1.25rem 2.5rem; margin-block: 1.5rem; }
.feature__cols h3 { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 0.4rem; }
.feature__side { background: var(--bg); padding: clamp(1.5rem, 3vw, 2rem); align-self: stretch; }
.feature__side h2 { font-size: 1.5rem; }
@media (min-width: 640px) { .feature__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .feature { grid-template-columns: 1.7fr 1fr; } }
.linklist { list-style: none; padding: 0; margin: 0; }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a, .linklist span { display: block; padding: 0.5rem 0; font-weight: 600; text-decoration: none; }
.feature__side .linklist { margin-bottom: 1.25rem; }
.linklist a:hover { text-decoration: underline; }
.facts--compact { margin-block: 1rem; }
.facts--inline { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; padding: 1rem 1.25rem; background: var(--bg); margin-bottom: 1.5rem; }
.facts--inline > div { border: 0; padding: 0; display: block; }
.facts--inline dd { text-align: start; }
.facts--legal { max-width: 560px; margin-bottom: 2rem; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.section--white .card { background: var(--bg); border-color: transparent; }
.card__link { display: flex; flex-direction: column; height: 100%; padding: 1.25rem 1.25rem 1.1rem; color: inherit; text-decoration: none; }
.card__link:hover { color: inherit; box-shadow: inset 0 -3px 0 var(--accent); }
.card__link:hover .card__title { color: var(--green); text-decoration: underline; }
.card__title { font-size: 1.1875rem; margin-bottom: 0.4rem; }
.card__text { font-size: 0.9688rem; color: #3A4650; margin-bottom: 0.9rem; }
.card__foot { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.card__meta { font-size: 0.8125rem; color: var(--muted); }
.card--core { border: 2px solid var(--green); }
.card--core .card__title { font-size: 1.625rem; }
.card--core .card__title a { text-decoration: none; }
.children { margin-top: 2rem; }

.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.points li { border-top: 2px solid var(--green); padding-top: 0.9rem; }
.points h3 { margin-bottom: 0.3rem; }
.points p { margin: 0; color: #3A4650; font-size: 0.9688rem; }
@media (min-width: 760px) { .points--4 { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1040px) { .points--4 { grid-template-columns: repeat(4, 1fr); } }

.chain { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.chain li { counter-increment: step; }
.chain a { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.75rem; align-items: start; height: 100%; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; }
.chain a::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--green); color: #fff; font-weight: 700; border-radius: 2px; }
.chain a:hover { border-color: var(--green); }
.chain strong { font-stretch: 108%; }
.chain span { grid-column: 2; font-size: 0.9063rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 700px) { .chain { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .chain { grid-template-columns: repeat(4, 1fr); } }

.container-viz { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 0.2rem; min-height: 150px; padding: 1.25rem 2rem; margin-bottom: 1.25rem; color: #fff; border: 3px solid var(--green-deep);
    background: linear-gradient(var(--green-deep), var(--green-deep)) top left / 14px 14px no-repeat, linear-gradient(var(--green-deep), var(--green-deep)) top right / 14px 14px no-repeat,
        linear-gradient(var(--green-deep), var(--green-deep)) bottom left / 14px 14px no-repeat, linear-gradient(var(--green-deep), var(--green-deep)) bottom right / 14px 14px no-repeat,
        repeating-linear-gradient(90deg, var(--green) 0 22px, #2F584A 22px 26px); }
.container-viz__label { font-size: 0.9375rem; opacity: 0.85; }
.container-viz__value { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; font-stretch: 118%; line-height: 1; }

.chips { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a, .chips span { display: inline-block; padding: 0.4rem 0.8rem; border: 1.5px solid var(--line-strong); border-radius: 100px; font-size: 0.9375rem; font-weight: 550; text-decoration: none; color: var(--text); background: #fff; }
.chips a:hover { border-color: var(--green); color: var(--green); }
.chips--light a { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.chips--light a:hover { background: #fff; color: var(--green); border-color: #fff; }
.ticks { list-style: none; padding: 0; }
.ticks li { display: flex; gap: 0.6rem; padding: 0.3rem 0; }
.ticks .icon { color: var(--accent); margin-top: 0.2em; }
.wa-cta { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.wa-cta p { color: #C6CED4; }

/* ---------- page head, breadcrumbs, prose */
.page-head { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem); background: var(--bg); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.875rem, 4.4vw, 3rem); max-width: 22ch; }
.page-head__grid { display: grid; gap: 2rem; align-items: start; }
.page-head__actions { margin-top: 1.25rem; }
@media (min-width: 900px) { .page-head__grid { grid-template-columns: 1.3fr 0.7fr; } }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; padding: 0; margin: 0 0 1.25rem; font-size: 0.875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 0.5rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.layout { display: grid; gap: 2.5rem; }
.layout > * { min-width: 0; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 3.5rem; align-items: start; } 
    .layout--faq { grid-template-columns: 240px minmax(0, 1fr); } .layout__side--toc { max-width: 320px; } }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2em; font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.prose h3 { margin-top: 1.6em; }
.prose .card .card__title { margin-top: 0; line-height: 1.12; } /* QA: card titles are h3 now (heading order) – keep the previous look */
.lang-ar .prose .card .card__title { line-height: 1.35; }
.prose > div > h2:first-child, .prose > h2:first-child { margin-top: 0; }
.prose li { margin-bottom: 0.3em; }
.table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9688rem; }
.table th, .table td { text-align: start; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--bg); font-weight: 600; color: #3A4650; white-space: nowrap; }
.table tbody th { font-weight: 600; }
.typelist { list-style: none; padding: 0; }
.typelist li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.15rem; }
.typelist span { color: #3A4650; font-size: 0.9688rem; }
.terms { margin: 1rem 0; }
.terms > div { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 700; font-stretch: 112%; }
.terms dd { margin: 0; font-size: 0.9688rem; }
.terms--small dd { font-size: 0.875rem; color: var(--muted); }
.toc { font-size: 0.9375rem; margin-bottom: 1.5rem; }
.toc__title { font-weight: 650; margin-bottom: 0.5rem; }
.toc ol, .toc ul { margin: 0; padding-inline-start: 1.1rem; }
.toc--static ul { list-style: none; padding: 0; }
.toc li { padding: 0.2rem 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.knowledge-cta { margin-top: 3rem; padding: 1.5rem; background: var(--bg); border-inline-start: 4px solid var(--accent); }
.knowledge-cta h2 { margin-top: 0; font-size: 1.375rem; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 0.6rem; align-items: center; padding: 0.4rem 0; font-size: 1.125rem; }

/* ---------- FAQ */
.faq { margin-top: 2.5rem; }
.faq:first-child { margin-top: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; padding: 0.95rem 2rem 0.95rem 0; font-weight: 600; position: relative; list-style: none; }
[dir="rtl"] .faq__item summary { padding: 0.95rem 0 0.95rem 2rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; inset-inline-end: 0.25rem; top: 0.7rem; font-size: 1.4rem; font-weight: 400; color: var(--green); }
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 0 1rem; color: #2A3640; max-width: 70ch; }
.faq__more { margin-top: 1rem; font-weight: 600; }

/* ---------- forms */
.form { background: #fff; color: var(--text); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); }
.section--white .form--inquiry, .layout__side .form { background: var(--bg); }
.form__title { font-size: 1.375rem; margin-bottom: 0.35rem; }
.form__text { color: var(--muted); font-size: 0.9375rem; }
.form__grid { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__grid--3 { grid-template-columns: repeat(3, 1fr); } }
.layout__side .form__grid { grid-template-columns: 1fr; }
.field { margin-bottom: 1rem; }
.field label, .rfq__sublabel { display: block; font-size: 0.9063rem; font-weight: 600; margin-bottom: 0.3rem; }
.req { color: #B3261E; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="search"], input[type="file"], select, textarea {
    width: 100%; min-height: 48px; padding: 0.6rem 0.75rem; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius); }
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
[aria-invalid="true"] { border-color: #B3261E !important; }
.field__error { color: #B3261E; font-size: 0.875rem; margin: 0.3rem 0 0; }
.field__hint { color: var(--muted); font-size: 0.875rem; margin: 0.3rem 0 0.75rem; }
.field--check label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.9375rem; }
.field--check input { width: 20px; height: 20px; margin-top: 0.15rem; flex: none; accent-color: var(--green); }
.form__alert { background: #FDECEA; border: 1px solid #F1B5AE; color: #7A1C14; padding: 0.75rem 1rem; border-radius: var(--radius); }
.form__hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.form__more { margin-bottom: 1rem; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.form__more > summary { cursor: pointer; padding: 0.8rem 0; font-weight: 600; color: var(--green); }
.form__more[open] > summary { margin-bottom: 0.5rem; }
.form__foot { margin: 1rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0.5rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: #fff; font-weight: 550; }
.choice--core span { border-color: var(--green); }
.choice input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- RFQ wizard */
.rfq { background: var(--bg); }
.rfq__step { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
.rfq__step legend { font-size: 1.375rem; font-weight: 650; font-stretch: 112%; padding: 0; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.rfq__num { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--green); color: #fff; font-size: 1rem; border-radius: 2px; flex: none; }
.rfq__sub { margin-top: 0.75rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.rfq.is-wizard .rfq__step { display: none; margin-bottom: 1rem; }
.rfq.is-wizard .rfq__step.is-active { display: block; }
.rfq-js .rfq:not(.is-wizard) .rfq__step:not(:first-of-type) { display: none; } /* QA: no layout shift before the wizard starts */
.rfq__progress { margin-bottom: 1.5rem; font-size: 0.9063rem; color: var(--muted); }
.rfq__bar { height: 6px; background: var(--line); border-radius: 3px; margin-top: 0.4rem; overflow: hidden; }
.rfq__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.rfq__nav { display: flex; justify-content: space-between; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
.rfq__summary { margin: 0 0 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.25rem 1rem; }
.rfq__summary > div { display: grid; grid-template-columns: minmax(120px, 0.8fr) 1.2fr; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.9688rem; }
.rfq__summary > div:last-child { border: 0; }
.rfq__summary dt { color: var(--muted); }
.rfq__summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.rfq__alt { margin-top: 1.25rem; color: var(--muted); }
.thanks__ref { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; font-stretch: 116%; letter-spacing: 0.02em; color: var(--green); padding: 1rem 1.25rem; background: var(--bg); border: 2px dashed var(--line-strong); display: inline-block; }
.thanks__actions { margin-top: 1.5rem; }

/* ---------- world map (markets page): shipping route from Somalia to the selected country */
.lag-wm {
    --wm-bg: #162C25; --wm-panel: #1E3A31; --wm-line: #2D4E43;
    --wm-land: #355A4C; --wm-land-dim: #264539; --wm-market: #4A7564;
    --wm-home: #8C5419; --wm-picked: #B0661C;
    --wm-accent: var(--accent); --wm-accent-light: var(--firma-accent-light, #E59A4C);
    --wm-text: #D3DFD9; --wm-muted: #A3B8AF;
    position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--wm-bg); color: #fff; overflow: hidden;
}
.lag-wm__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "facts" "map" "card" "select"; gap: 1.5rem; }
.lag-wm__head { grid-area: head; display: flex; flex-direction: column; gap: 1.1rem; }
.lag-wm__facts { grid-area: facts; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; align-self: end; }
.lag-wm__map-wrap { grid-area: map; position: relative; }
.lag-wm__skip { position: absolute; inset-inline-start: 0; top: 0; z-index: 6; padding: 0.6rem 0.9rem; border-radius: var(--radius); background: #fff; color: var(--dark); font-weight: 650; transform: translateY(-120%); opacity: 0; pointer-events: none; }
.lag-wm__skip:focus { transform: none; opacity: 1; pointer-events: auto; }
.lag-wm__card { grid-area: card; }
.lag-wm__select { grid-area: select; }

/* text */
.lag-wm__badge { align-self: flex-start; display: inline-flex; padding: 0.4rem 0.8rem; border-radius: var(--radius); background: rgba(213, 122, 31, .16); color: var(--wm-accent-light);
    font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lag-wm__title { margin: 0; color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); font-stretch: 118%; line-height: 1.02; }
.lag-wm__title span { color: var(--wm-accent); }
.lag-wm__intro { margin: 0; color: var(--wm-text); font-size: 1.0625rem; line-height: 1.65; max-width: 60ch; }
.lag-wm__fact { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem; border-radius: var(--radius); background: var(--wm-panel); border: 1px solid var(--wm-line); }
.lag-wm__fact strong { font-size: 0.95rem; color: #fff; }
.lag-wm__fact span { font-size: 0.85rem; color: var(--wm-muted); }
.lag-wm__fact svg, .lag-wm__ico svg { width: 22px; height: 22px; flex: none; }
.lag-wm__fact svg *, .lag-wm__ico svg *, .lag-wm__arrow-ico * { fill: none; stroke: var(--wm-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lag-wm .btn--primary .lag-wm__arrow-ico * { stroke: currentColor; stroke-width: 2.4; }
.lag-wm .lag-wm__arrow-ico { flex: none; }
[dir="rtl"] .lag-wm__arrow-ico { transform: scaleX(-1); }

/* map */
.lag-wm__scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: var(--wm-line) transparent; -webkit-overflow-scrolling: touch; }
.lag-wm__canvas { position: relative; min-width: 760px; }
.lag-wm__map { display: block; width: 100%; height: auto; overflow: visible; touch-action: manipulation; }
.lag-wm__map path, .lag-wm__map circle { vector-effect: non-scaling-stroke; }
.lag-wm__c { cursor: pointer; outline: none; }
.lag-wm__c path { fill: var(--wm-land); stroke: var(--wm-bg); stroke-width: 0.6; transition: fill .25s ease; }
.lag-wm__c.is-market path { fill: var(--wm-market); }
.lag-wm__c.is-home path { fill: var(--wm-home); }
.lag-wm.has-active .lag-wm__c path { fill: var(--wm-land-dim); }
.lag-wm.has-active .lag-wm__c.is-home path { fill: var(--wm-home); }
.lag-wm .lag-wm__c.is-selected path { fill: var(--wm-picked); }
.lag-wm .lag-wm__c.is-active path { fill: var(--wm-accent); }
.lag-wm__hl { fill: var(--wm-accent); stroke: var(--wm-accent-light); stroke-width: 0.8; filter: url(#lagWmGlow); pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.lag-wm__hl.is-on { opacity: 1; }
.lag-wm__route { fill: none; stroke: var(--wm-accent); stroke-width: 2; stroke-dasharray: 6 6; stroke-linecap: round; pointer-events: none; opacity: 0; transition: opacity .25s ease; animation: lagWmDash 1s linear infinite; }
.lag-wm__route-case { fill: none; stroke: var(--wm-bg); stroke-width: 4; stroke-linecap: round; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.lag-wm__arrow { fill: #fff; stroke: var(--wm-bg); stroke-width: 1.5; stroke-linejoin: round; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.lag-wm__route.is-on, .lag-wm__arrow.is-on { opacity: 1; }
.lag-wm__route-case.is-on { opacity: .75; }
@keyframes lagWmDash { to { stroke-dashoffset: -24; } }
.lag-wm__pulse { fill: var(--wm-accent); pointer-events: none; transform-box: fill-box; transform-origin: center; animation: lagWmPulse 2s ease-out infinite; }
@keyframes lagWmPulse { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(2.4); opacity: 0; } }
.lag-wm__dot { fill: var(--wm-bg); stroke: var(--wm-accent); stroke-width: 2.5; pointer-events: none; }

/* tooltip */
.lag-wm__tip { position: absolute; left: 0; top: 0; z-index: 5; display: flex; flex-direction: column; gap: 2px; padding: 0.55rem 0.9rem; border-radius: var(--radius);
    background: rgba(17, 24, 32, .92); border: 1px solid var(--wm-accent); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); white-space: nowrap; pointer-events: none;
    opacity: 0; transform: translate(-50%, calc(-100% - 16px)); transition: opacity .2s ease, left .2s ease, top .2s ease; }
.lag-wm__tip.is-on { opacity: 1; }
.lag-wm__tip strong { font-size: 1rem; color: #fff; }
.lag-wm__tip span { font-size: 0.75rem; font-weight: 600; color: var(--wm-accent-light); }

.lag-wm__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0.9rem 0 0; padding: 0; font-size: 0.8125rem; color: var(--wm-muted); }
.lag-wm__legend li { display: flex; align-items: center; gap: 0.5rem; }
.lag-wm__legend-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--wm-accent); }
.lag-wm__legend-line { width: 18px; border-top: 2px dashed var(--wm-accent); }
.lag-wm__legend-market { width: 12px; height: 12px; border-radius: 2px; background: var(--wm-market); }

/* inquiry card */
.lag-wm__card { padding: 1.4rem; border-radius: var(--radius); background: var(--wm-panel); border: 1px solid var(--wm-line); transition: border-color .25s ease; }
.lag-wm__card:not([data-state="empty"]) { border-color: rgba(213, 122, 31, .55); }
.lag-wm__state { display: none; flex-direction: column; gap: 0.9rem; }
.lag-wm__card[data-state="empty"] .lag-wm__state--empty,
.lag-wm__card[data-state="country"] .lag-wm__state--country,
.lag-wm__card[data-state="home"] .lag-wm__state--home { display: flex; animation: lagWmIn .3s ease; }
@keyframes lagWmIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lag-wm__row { display: flex; gap: 0.85rem; align-items: center; }
.lag-wm__row > div:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lag-wm__ico { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: var(--wm-land); }
.lag-wm__code { flex: 0 0 auto; min-width: 44px; height: 44px; padding: 0 8px; display: grid; place-items: center; border-radius: var(--radius); background: var(--wm-accent);
    color: var(--firma-on-accent, #111820); font-weight: 800; font-size: 0.95rem; letter-spacing: .05em; }
.lag-wm__card-title { font-size: 1.05rem; color: #fff; }
.lag-wm__card-sub { font-size: 0.9rem; color: var(--wm-muted); }
.lag-wm__eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wm-accent-light); }
.lag-wm__name { font-size: 1.4rem; font-weight: 700; font-stretch: 114%; color: #fff; line-height: 1.2; }
.lag-wm__text { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--wm-text); }
.lag-wm__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.lag-wm__btn-ghost { border-color: #4F7366; color: #fff; background: transparent; }
.lag-wm__btn-ghost:hover { border-color: var(--wm-accent); color: var(--wm-accent-light); }

/* country list */
.lag-wm__select { display: flex; flex-direction: column; gap: 0.5rem; }
.lag-wm__select label { font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wm-muted); }
.lag-wm__select-row { display: grid; gap: 0.5rem; }
.lag-wm__select select { width: 100%; min-height: 48px; padding: 0 2.5rem 0 0.9rem; border-radius: var(--radius); border: 1px solid var(--wm-line); color: #fff; font: inherit; font-size: 1rem; cursor: pointer;
    background: var(--wm-panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D57A1F' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
    -webkit-appearance: none; appearance: none; }
[dir="rtl"] .lag-wm__select select { padding: 0 0.9rem 0 2.5rem; background-position: left 0.9rem center; }
.lag-wm__select option { color: var(--text); background: #fff; }

@media (min-width: 560px) {
    .lag-wm__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lag-wm__fact { flex-direction: column; align-items: flex-start; gap: 0.2rem; padding: 1rem; }
    .lag-wm__fact svg { margin-bottom: 0.3rem; }
    .lag-wm__select-row { grid-template-columns: 1fr auto; }
}
@media (min-width: 1000px) {
    .lag-wm__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head facts" "map map" "card select"; column-gap: 3rem; row-gap: 2rem; }
    .lag-wm__canvas { min-width: 0; }
    .lag-wm__select { align-self: start; }
}
@media (max-width: 559.98px) { .lag-wm .lag-wm__actions .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .lag-wm__route, .lag-wm__pulse { animation: none; } .lag-wm__state { animation: none !important; } }

/* ---------- CTA band, footer, floating elements */
.cta-band { background: var(--dark); color: #fff; padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: #C6CED4; max-width: 60ch; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.site-footer { background: var(--green-deep); color: #D5E0DA; padding-block: 3rem 1.5rem; font-size: 0.9375rem; }
.site-footer a { color: #E9F0EC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__top { display: grid; gap: 2.5rem; }
.site-footer__brand img { height: 52px; width: auto; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 34ch; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; }
.site-footer__contact li { padding: 0.25rem 0; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
.site-footer__group h2 { font-size: 0.9375rem; font-stretch: 106%; color: #fff; margin-bottom: 0.6rem; letter-spacing: 0; }
.site-footer__group ul { list-style: none; padding: 0; margin: 0; }
.site-footer__group li { padding: 0.2rem 0; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.875rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; padding: 0; margin: 0; }
@media (min-width: 720px) { .site-footer__nav { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: 300px 1fr; gap: 4rem; } .site-footer__nav { grid-template-columns: repeat(6, 1fr); } }
.wa-float { position: fixed; inset-inline-end: 14px; bottom: 74px; z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(6, 54, 27, .35); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; background: #1EBE5A; }
.mobile-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line-strong); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 60px; font-weight: 650; text-decoration: none; }
.mobile-bar__wa { color: #0B6B34; }
.mobile-bar__wa .icon { color: var(--wa); width: 24px; height: 24px; }
.mobile-bar__rfq { background: var(--accent); color: var(--firma-on-accent, #111820); }
.mobile-bar a:only-child { grid-column: 1 / -1; }
@media (min-width: 768px) { body { padding-bottom: 0; } .mobile-bar, .wa-float { display: none; } }
.cookie { position: fixed; inset-inline: 12px; bottom: 72px; z-index: 60; max-width: 440px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: 0 12px 30px rgba(17, 24, 32, .2); font-size: 0.9375rem; }
.cookie h2 { font-size: 1.0625rem; margin-bottom: 0.3rem; }
.cookie__actions { display: flex; gap: 0.5rem; }
@media (min-width: 768px) { .cookie { bottom: 16px; } }
@media (min-width: 1000px) and (min-height: 880px) { .layout__side--toc { position: sticky; top: calc(var(--header-h) + 20px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print { .site-header, .site-footer, .mobile-bar, .wa-float, .cta-band, .cookie, .layout__side { display: none !important; } body { background: #fff; padding: 0; } }
