/* MarketOrg – final design (MarketOrg-osszes-oldalterv.pdf): navy header/hero, white & light-grey bands,
   gold accents, cream "next step" band. The original logo is always shown unchanged on a white plate. */
:root {
  --navy-950: #08131f; --navy-900: #0a1728; --navy-800: #0e2038; --navy-700: #15304f; --navy-600: #1d3a5c;
  --gold: #c9a35d; --gold-2: #e3c587; --gold-ink: #6f5426; --gold-soft: #f4ead6;
  --ink: #10223b; --text: #2f3d4f; --muted: #6b7889; --line: #e3e7ed; --line-2: #d6dbe3;
  --bg: #ffffff; --bg-alt: #f3f5f8; --field: #f7f8fa;
  --ok: #2e8b57; --warn: #b7791f; --err: #b83a2e;
  --f: "Noto Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --f-zh: "Noto Sans SC", "Noto Sans", "Microsoft YaHei", sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 16px/1.6 var(--f); color: var(--text); background: var(--bg); }
html[lang="zh-Hans"] body { font-family: var(--f-zh); }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.18; margin: 0; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .9em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* eyebrow: small spaced caps with a gold rule */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
.dark .eyebrow, .eyebrow.on-dark { color: #c9d3e0; }
html[lang="zh-Hans"] .eyebrow { letter-spacing: .12em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 46px; padding: 0 20px; border-radius: 3px; font: 600 .9rem var(--f); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: filter .15s, background .15s, color .15s; }
html[lang="zh-Hans"] .btn { font-family: var(--f-zh); }
.btn .ar { font-size: .85em; }
.btn-gold { background: linear-gradient(90deg, var(--gold-2), var(--gold)); color: #1b1408; }
.btn-gold:hover { filter: brightness(1.05); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; justify-content: center; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: #fff; justify-content: center; }
.btn-line:hover { border-color: var(--ink); }
.btn.wide { width: 100%; }
.link { color: var(--gold-ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* header */
header.top { background: var(--navy-900); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(255,255,255,.06); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.logo { display: inline-flex; background: #fff; border-radius: 3px; padding: 6px 10px; flex: none; }
.logo img { display: block; height: 44px; width: auto; }
nav.main { margin-left: auto; display: flex; gap: 26px; }
nav.main a { color: #c3cddb; text-decoration: none; font-size: .86rem; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover { color: #fff; }
nav.main a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.langs { display: flex; gap: 2px; }
.langs a { color: #8fa0b8; font-size: .72rem; text-decoration: none; padding: 4px 5px; }
.langs a[aria-current="true"] { color: var(--gold-2); }
.partner-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.55); color: var(--gold-2); text-decoration: none; font-size: .8rem; padding: 8px 13px; border-radius: 2px; white-space: nowrap; }
.partner-btn:hover { background: rgba(255,255,255,.06); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; font: 600 .8rem var(--f); padding: 8px 12px; border-radius: 2px; }
@media (max-width: 1000px) {
  .menu-btn { display: inline-block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 74px; background: var(--navy-900); flex-direction: column; gap: 0; padding: 8px 16px 16px; margin: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .partner-btn .t { display: none; }
  .top .wrap { gap: 12px; }
}
@media (max-width: 560px) { .logo img { height: 34px; } .langs a { padding: 4px 3px; } }

/* heroes */
.dark { color: #c9d3e0; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, #1f3d61 0%, rgba(31,61,97,0) 55%), linear-gradient(180deg, #0f2441 0%, #0a1a30 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; padding: 70px 0 56px; }
.hero h1 { font-size: clamp(2rem, 3.3vw, 2.75rem); }
.hero h1 .hl, .hero-page h1 .hl { color: var(--gold); display: block; }
.hero .sub { font-size: 1.05rem; color: #c3cddb; margin: 18px 0 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .map { width: 100%; height: auto; border-radius: 2px; }
.hero .tagline { grid-column: 1 / -1; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: #6f819b; margin-top: 8px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding: 44px 0 36px; } }
.hero-page { background: radial-gradient(90% 120% at 80% 0%, #1f3d61 0%, rgba(31,61,97,0) 60%), linear-gradient(180deg, #0f2441 0%, #0a1a30 100%); }
.hero-page .wrap { padding: 60px 0 56px; max-width: var(--wrap); }
.hero-page h1 { max-width: 760px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.hero-page .sub { color: #c3cddb; font-size: 1.05rem; margin: 18px 0 26px; max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .74rem; border: 1px solid rgba(201,163,93,.7); color: #e9d6ad; padding: 4px 9px; border-radius: 2px; }
.chip.light { color: var(--gold-ink); background: var(--gold-soft); border-color: #e6d2a8; }

/* sections */
section.band { padding: 80px 0; }
section.band.tight { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 36px; max-width: 720px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split.center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } section.band { padding: 56px 0; } }

/* stats */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats .s { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 22px 12px; }
.stats .s + .s { border-left: 1px solid var(--line-2); }
.stats b { font-size: 2.6rem; font-weight: 500; color: var(--gold); line-height: 1; }
.stats span { font-size: .9rem; color: var(--ink); }
@media (max-width: 640px) { .stats .wrap { grid-template-columns: 1fr; } .stats .s + .s { border-left: 0; border-top: 1px solid var(--line); } .stats .s { justify-content: flex-start; } }

/* service cards */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }
.scard { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 22px 18px 18px; display: flex; flex-direction: column; min-height: 228px; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.scard:hover { box-shadow: 0 10px 28px rgba(16,34,59,.08); transform: translateY(-2px); }
.scard .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.scard .n { color: var(--gold); font-size: .78rem; }
.scard svg { width: 26px; height: 26px; color: var(--ink); }
.scard h3 { margin-bottom: 14px; font-size: 1.08rem; }
.scard p { font-size: .84rem; color: var(--muted); flex: 1; }
.scard .foot { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 700; color: var(--ink); }

/* photo band */
.photo-band { position: relative; background: #0b1a2e url("band.fba17225f508.jpg") center/cover no-repeat; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,19,31,.88) 0%, rgba(8,19,31,.55) 55%, rgba(8,19,31,.25) 100%); }
.photo-band .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 64px 0; flex-wrap: wrap; }
.photo-band h2 { color: #fff; }

/* team */
.team3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .team3 { grid-template-columns: 1fr; } }
.mem { border: 1px solid var(--line-2); background: #fff; padding: 22px 20px 26px; }
.mono { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; font: 400 .92rem Georgia, "Times New Roman", serif; margin-bottom: 18px; overflow: hidden; }
.mono img { width: 100%; height: 100%; object-fit: cover; }
.mem h3 { font-size: 1rem; margin-bottom: 4px; }
.mem p { font-size: .8rem; color: var(--muted); margin: 0; }

/* next step band */
.next { background: linear-gradient(100deg, #f1e3c5 0%, #f6efe1 60%, #f8f5ef 100%); }
.next .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 0; flex-wrap: wrap; }
.next h2 { margin-bottom: 8px; }
.next p { margin: 0; color: var(--ink); font-size: .9rem; }
.next .btn { min-width: 172px; }

/* footer */
footer { background: var(--navy-900); color: #b8c3d2; }
footer .row1 { display: flex; align-items: center; gap: 30px; padding: 30px 0 26px; border-bottom: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
footer .row1 .logo img { height: 36px; }
footer .say b { display: block; color: #fff; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
footer .say a { font-size: .8rem; color: #b8c3d2; text-decoration: none; }
footer nav { margin-left: auto; display: grid; gap: 4px; text-align: right; font-size: .78rem; }
footer nav a { color: #b8c3d2; text-decoration: none; }
footer nav a:hover, footer .say a:hover { color: #fff; }
footer .row2 { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0 22px; font-size: .7rem; color: #7d8ba0; flex-wrap: wrap; }
footer .row2 a { color: #7d8ba0; }
@media (max-width: 640px) { footer nav { margin-left: 0; text-align: left; } }

/* services overview rows */
.svc-row { padding: 64px 0; }
.svc-row:nth-child(odd) { background: var(--bg-alt); }
.svc-row .big { font-size: 3.4rem; font-weight: 200; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.svc-row h2 { margin-bottom: 14px; }
.svc-row .lead { margin-bottom: 18px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: .93rem; }
.checks li::before { content: "✓"; color: var(--gold); }
.checks.arrow li::before { content: "↗"; }
.who { font-size: .76rem; color: var(--muted); margin-top: 14px; }
.who b { color: var(--ink); }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps4 { grid-template-columns: 1fr; } }
.steps4 > div { border-top: 1px solid var(--gold); padding-top: 18px; }
.steps4 .n { color: var(--gold); font-size: .74rem; display: block; margin-bottom: 14px; }
.steps4 h3 { font-size: 1rem; margin-bottom: 6px; }
.steps4 p { font-size: .82rem; color: var(--muted); margin: 0; }

/* service detail */
.numlist { list-style: none; margin: 0; padding: 0; }
.numlist li { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.numlist .n { color: var(--gold); font-size: .74rem; padding-top: 3px; }
.numlist b { color: var(--ink); font-weight: 600; }

/* regions */
.map-band { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.06); }
.map-band .map { display: block; width: 100%; max-width: 980px; margin: 0 auto; height: auto; }
.legend { display: flex; justify-content: center; gap: 26px; padding: 6px 16px 26px; font-size: .72rem; color: #c3cddb; flex-wrap: wrap; }
.legend .d { color: var(--gold); }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.twin > div { border-left: 1px solid var(--gold); padding: 4px 0 4px 24px; }
.twin p { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
@media (max-width: 760px) { .twin { grid-template-columns: 1fr; } }
.cis { margin-top: 26px; font-size: .86rem; color: var(--muted); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: #fff; border: 1px solid var(--line); padding: 20px; align-items: center; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; } }
.feat h3 { font-size: 1.6rem; margin: 14px 0 12px; }
.yfg { position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: center; padding: 28px; color: #e7c98b; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 28px), linear-gradient(135deg, #1b4637 0%, #0f2c25 100%); }
.yfg::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border: 1px solid rgba(231,201,139,.28); transform: rotate(32deg); }
.yfg .t { font-weight: 200; font-size: 2.2rem; letter-spacing: .06em; line-height: 1.1; }
.yfg small { margin-top: 16px; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: #c9b88f; }
.yfg.big { min-height: 260px; }
.lattice { background: radial-gradient(80% 90% at 40% 30%, #22406a 0%, #142c4c 70%); padding: 18px 24px 16px; border-radius: 1px; }
.lattice svg { display: block; width: 100%; height: auto; }
.lattice .metals { display: flex; gap: 46px; font-size: .78rem; letter-spacing: .3em; color: var(--gold-2); padding: 6px 0 0 4px; }
.partner-band { background: var(--navy-800); }
.partner-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 60px 0; }
.partner-band .acts { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .partner-band .wrap { grid-template-columns: 1fr; } }

/* timeline (Yashil Ferma) */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.timeline li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 20px; padding-bottom: 26px; }
.timeline li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 1px; background: var(--gold); }
.timeline li:last-child::before { display: none; }
.timeline .n { width: 34px; height: 34px; border: 1px solid var(--gold); display: grid; place-items: center; font-size: .78rem; color: var(--gold-ink); background: #fff; }
.timeline b { display: block; color: var(--ink); font-weight: 600; padding-top: 6px; }

/* coop cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }
.ccard { background: #fff; border: 1px solid var(--line-2); padding: 24px 22px; }
.ccard .n { color: var(--gold); font-size: .72rem; }
.ccard h3 { margin: 12px 0 10px; font-size: 1.05rem; }
.ccard p { font-size: .86rem; color: var(--muted); margin: 0; }

/* contact */
.mail { font-size: 1.2rem; color: var(--ink); text-decoration: none; display: inline-block; margin: 22px 0 12px; }
.chan { display: grid; gap: 8px; margin: 26px 0 10px; }
.chan a, .chan div { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line-2); padding: 14px 14px; text-decoration: none; color: var(--ink); font-size: .92rem; background: #fff; }
.chan a:hover { border-color: var(--gold); }
.chan .ar { color: var(--gold); font-size: .8rem; }
.chan .qr { width: 54px; height: 54px; flex: none; }
.chan .qr img { width: 100%; height: 100%; object-fit: contain; }
.chan .r { display: flex; align-items: center; gap: 12px; }
.small-note { font-size: .74rem; color: var(--muted); }

/* forms */
.fcard { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: 0 18px 40px rgba(10,23,40,.08); padding: 28px 26px; }
.fcard h2 { font-size: 1.6rem; margin-bottom: 8px; }
form.f { display: grid; gap: 16px; }
form.f label, .flabel { display: grid; gap: 7px; font-size: .78rem; font-weight: 600; color: var(--ink); }
form.f input[type=text], form.f input[type=email], form.f input[type=password], form.f input[type=date], form.f select, form.f textarea {
  font: 400 .95rem var(--f); color: var(--ink); background: var(--field); border: 1px solid #dfe3e9; border-radius: 2px; padding: 11px 12px; width: 100%; min-height: 44px; }
html[lang="zh-Hans"] form.f input, html[lang="zh-Hans"] form.f select, html[lang="zh-Hans"] form.f textarea { font-family: var(--f-zh); }
form.f textarea { min-height: 96px; resize: vertical; }
form.f input:focus, form.f select:focus, form.f textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 0; background: #fff; }
form.f input[type=file] { font: inherit; font-size: .85rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.consent { display: flex !important; flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--text) !important; font-size: .8rem !important; }
.consent input { margin-top: 3px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem; }
ul.errorlist { list-style: none; margin: 0; padding: 0; color: var(--err); font-size: .8rem; font-weight: 600; }
.ck ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ck li label { display: flex !important; flex-direction: row; gap: 7px; align-items: center; font-weight: 500 !important; border: 1px solid #dfe3e9; background: var(--field); padding: 7px 10px; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* auth pages */
.auth { background: radial-gradient(80% 80% at 70% 10%, #1e3b5e 0%, rgba(30,59,94,0) 60%), linear-gradient(180deg, #11284a 0%, #0c1d35 100%); }
.auth .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 56px 0; }
.auth h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.auth .sub { color: #dfe6ef; margin: 16px 0 18px; }
.auth .map { width: 100%; height: auto; }
.auth .foot { font-size: .76rem; color: #c3cddb; margin-top: 12px; }
.auth .foot::before { content: "◇  "; color: var(--gold); }
@media (max-width: 900px) { .auth .wrap { grid-template-columns: 1fr; } .auth .map { display: none; } }

/* messages */
.flash { display: grid; gap: 8px; margin-top: 18px; }
.notice { font-size: .88rem; border-left: 2px solid var(--gold); padding: 11px 14px; background: #f6efe0; color: var(--ink); }
.notice.success, .notice.ok { border-left-color: var(--ok); background: #eaf5ee; }
.notice.error { border-left-color: var(--err); background: #fbecea; }
.narrow { max-width: 560px; margin: 0 auto; }

/* pricing (packages) */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.price { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.price .eyebrow { margin: 0; }
.price .amt b { font-size: 2rem; font-weight: 600; color: var(--ink); }
.price .amt .py { color: var(--muted); }
.price .amt span { display: block; font-size: .82rem; color: var(--muted); }
.price ul { margin: 0; padding: 0; list-style: none; flex: 1; }
.price li { padding: 7px 0 7px 22px; position: relative; font-size: .86rem; border-bottom: 1px solid var(--line); }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
.price.hero-p { background: var(--navy-900); border-color: var(--navy-900); color: #c9d3e0; }
.price.hero-p .amt b { color: #fff; }
.price.hero-p li { border-color: rgba(255,255,255,.1); }
.price.hero-p .eyebrow { color: var(--gold-2); }
.price .btn { justify-content: center; }

/* ---------- partner area (portal) ---------- */
.portal { display: grid; grid-template-columns: 220px 1fr; gap: 34px; padding: 34px 0 70px; align-items: start; }
@media (max-width: 900px) { .portal { grid-template-columns: 1fr; } }
.pside { background: #f6f7f9; border: 1px solid var(--line-2); padding: 18px 12px; position: sticky; top: 92px; }
@media (max-width: 900px) { .pside { position: static; } }
.pside .eyebrow { padding-left: 2px; font-size: .62rem; }
.pside .who { padding: 0 6px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 10px; }
.pside .who b { display: block; color: var(--ink); font-size: .92rem; }
.pside .who span { font-size: .78rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.badge { font-size: .66rem; font-weight: 700; padding: 3px 7px; border: 1px solid; border-radius: 2px; }
.badge.ok { color: var(--ok); border-color: #b9dcc6; background: #eef7f1; }
.badge.warn { color: var(--warn); border-color: #ecd3a6; background: #fbf4e6; }
.badge.off { color: var(--muted); border-color: var(--line-2); background: #fff; }
.pmenu { display: grid; gap: 2px; }
.pmenu a { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 4px; padding: 10px 10px; font-size: .84rem; color: var(--text); text-decoration: none; border-radius: 1px; }
.pmenu a .n { font-size: .68rem; color: var(--gold); }
.pmenu a:hover { background: #eceff3; }
.pmenu a[aria-current="true"] { background: var(--navy-900); color: #fff; }
.pside form { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line-2); }
.logout { background: none; border: 0; font: 400 .84rem var(--f); color: var(--muted); padding: 8px 10px; cursor: pointer; }
.logout:hover { color: var(--ink); }
.pside .assist { font-size: .74rem; color: var(--muted); padding: 10px 8px 0; }
.pside .assist b { display: block; color: var(--ink); }
.pmain { min-width: 0; display: grid; gap: 18px; }
.phead h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 8px; }
.phead p { color: var(--muted); margin: 0; }
.panel { background: #fff; border: 1px solid var(--line-2); padding: 22px 22px; }
.panel h3 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 9px 18px; margin: 0; font-size: .9rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); }
.kv.sm { grid-template-columns: 130px 1fr; font-size: .84rem; }
.kv.sm dd { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
@media (max-width: 560px) { .kv, .kv.sm { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tile { background: #fff; border: 1px solid var(--line-2); padding: 16px 16px; }
.tile .k { display: block; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tile b { display: block; font-size: 1.45rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.tile span { font-size: .78rem; color: var(--muted); }
.track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0; padding: 0; counter-reset: s; }
@media (max-width: 700px) { .track { grid-template-columns: 1fr 1fr; } }
.track li { counter-increment: s; font-size: .78rem; padding: 10px 10px 10px 34px; position: relative; border: 1px solid var(--line-2); color: var(--muted); }
.track li::before { content: counter(s); position: absolute; left: 10px; top: 9px; width: 16px; height: 16px; border: 1px solid currentColor; font-size: .62rem; display: grid; place-items: center; }
.track li.done { color: var(--ok); border-color: #b9dcc6; background: #f1f8f3; }
.track li.done::before { content: "✓"; }
.track li.now { color: var(--gold-ink); border-color: #e6d2a8; background: #fbf5e8; }
.lockline { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; background: #f6efe0; border-left: 2px solid var(--gold); padding: 12px 14px; color: var(--ink); }
.lockline svg { flex: none; margin-top: 2px; }
.lockline.okl { background: #eaf5ee; border-left-color: var(--ok); }
.mods { display: flex; flex-wrap: wrap; gap: 6px; }
.mod { font-size: .8rem; border: 1px solid var(--line-2); padding: 6px 10px; display: flex; align-items: center; gap: 8px; }
.mod .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 150px 1fr 44px; gap: 10px; align-items: center; font-size: .8rem; }
.bar .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.bar .tr { height: 8px; background: #edf0f4; }
.bar .tr i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-700), var(--navy-600)); }
.bar .v { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .bar { grid-template-columns: 100px 1fr 36px; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 1000px) { .two-col { grid-template-columns: 1fr; } }
.tbl { overflow-x: auto; border: 1px solid var(--line); }
.tbl table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: #f8f9fb; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.mask { display: inline-block; height: 10px; background: #e7eaef; border-radius: 1px; }
.st { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 7px; border-radius: 2px; border: 1px solid; white-space: nowrap; }
.st.s0 { color: var(--muted); border-color: var(--line-2); }
.st.s1 { color: #3b5f8c; border-color: #c7d6ea; background: #f1f5fb; }
.st.s2 { color: var(--gold-ink); border-color: #e6d2a8; background: #fbf5e8; }
.st.s3, .st.s4 { color: var(--ok); border-color: #b9dcc6; background: #eef7f1; }
.search, .addtask, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.search input, .addtask input, .filters input, .filters select { font: 400 .9rem var(--f); padding: 9px 11px; border: 1px solid #dfe3e9; background: var(--field); color: var(--ink); min-height: 40px; border-radius: 2px; }
.search input, .filters input[type=text] { flex: 1 1 220px; }
.addtask input:first-of-type { flex: 2 1 200px; }
.addtask input { flex: 1 1 140px; }
.log { display: grid; }
.log .e { display: grid; grid-template-columns: 130px 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.log .e time { color: var(--muted); font-size: .78rem; }
.log .e .ch { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-ink); }
@media (max-width: 560px) { .log .e { grid-template-columns: 1fr; gap: 2px; } }
.meter { display: grid; gap: 6px; margin-bottom: 14px; }
.meter .big { font-size: 2.4rem; font-weight: 600; color: var(--ink); line-height: 1; }
.meter .tr { height: 8px; background: #edf0f4; }
.meter .tr i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.stars { display: inline-flex; gap: 1px; }
.stars form { display: inline; }
.stars button { background: none; border: 0; font-size: 1.1rem; color: #cfd5de; cursor: pointer; padding: 0 1px; }
.stars button.on { color: var(--gold); }
.pub { background: var(--navy-900); color: #c9d3e0; padding: 22px; }
.pub h3 { color: #fff; font-size: 1.02rem; margin-bottom: 8px; }
.pub .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.pub .row b { color: var(--gold-2); }
.small-btn { display: inline-flex; align-items: center; gap: 6px; font: 600 .78rem var(--f); padding: 8px 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 2px; white-space: nowrap; }
.small-btn:hover { border-color: var(--ink); }
.small-btn.gold { background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-color: transparent; color: #1b1408; }
.pricing.mini { grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 700px) { .pricing.mini { grid-template-columns: 1fr; } }
.pricing.mini .price { padding: 16px; gap: 8px; }
.pricing.mini .price .amt b { font-size: 1.3rem; }
.pricing.mini .price.cur { box-shadow: inset 0 0 0 2px var(--gold); }
.pager { display: flex; gap: 14px; align-items: center; justify-content: flex-end; margin-top: 12px; font-size: .84rem; }
.pager a { color: var(--gold-ink); }
/* payment */
.paysum { background: var(--navy-900); color: #c9d3e0; padding: 18px 20px; display: grid; gap: 2px; margin-bottom: 14px; }
.paysum span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.paysum b { font-size: 1.7rem; color: var(--gold-2); font-weight: 600; }
.paysum small { font-size: .78rem; }
.paytiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 900px) { .paytiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .paytiles { grid-template-columns: 1fr 1fr; } }
.ptile { position: relative; display: grid; justify-items: center; gap: 6px; padding: 16px 8px 12px; background: #fff; border: 1px solid var(--line-2); cursor: pointer; font: 600 .78rem var(--f); color: var(--ink); text-align: center; border-radius: 2px; }
.ptile:hover:not(:disabled) { border-color: var(--gold); }
.ptile:disabled { opacity: .55; cursor: not-allowed; }
.ptile[aria-checked="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: #fffbf3; }
.plogo { width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy-700); }
.plogo img { max-width: 40px; max-height: 40px; }
.plogo svg { width: 34px; height: 34px; }
.todo { font-style: italic; color: var(--muted); font-family: var(--f); }
.offer-card { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line-2); background: #fff; }
.offer-card .yfg { min-height: 220px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 26px), linear-gradient(135deg, #1d3a5c 0%, #10243f 100%); align-items: center; text-align: center; }
.offer-card .yfg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-card .body { padding: 22px; display: grid; gap: 10px; align-content: start; }
.offer-card h3 { font-size: 1.4rem; margin: 0; }
@media (max-width: 760px) { .offer-card { grid-template-columns: 1fr; } }
.empty-box { border: 1px dashed var(--line-2); padding: 28px; text-align: center; font-size: .86rem; color: var(--muted); }
.empty-box b { display: block; color: var(--ink); margin: 6px 0; }
.ask { background: var(--bg-alt); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ask b { color: var(--ink); display: block; font-size: 1.05rem; }
.ask span { font-size: .84rem; color: var(--muted); }
.back { font-size: .84rem; color: var(--gold-ink); text-decoration: none; }

/* map styling */
.map .m-land path { fill: #1a3352; stroke: #2a4a70; stroke-width: .6; }
.map .m-v4 path, .map .m-c5 path { fill: #59606e; fill-opacity: .55; stroke: #e2c072; stroke-width: 1; }
.map .m-pt circle { fill: #ffe6a8; }
.map .m-pt .m-halo { fill: rgba(255,214,140,.25); }
.map .m-lbl { fill: #f3f6fb; font: 600 16px var(--f); paint-order: stroke; stroke: rgba(8,19,31,.7); stroke-width: 3px; }
html[lang="zh-Hans"] .map .m-lbl { font-family: var(--f-zh); }
.map .m-arc { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.2s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .map, .auth .map { mask-image: radial-gradient(120% 110% at 50% 50%, #000 60%, transparent 100%); -webkit-mask-image: radial-gradient(120% 110% at 50% 50%, #000 60%, transparent 100%); }

/* fixes after visual review */
.fcard { color: var(--text); }
.fcard h2, .fcard h3 { color: var(--ink); }
.ck > div { display: flex; flex-wrap: wrap; gap: 6px; }
.ck > div > div { display: block; }
.ck label { display: flex !important; flex-direction: row; gap: 7px; align-items: center; font-weight: 500 !important; border: 1px solid #dfe3e9; background: var(--field); padding: 7px 10px; cursor: pointer; font-size: .8rem; }
.price .st { align-self: flex-start; }
.badges .badge { align-self: flex-start; }

/* services v2: parts, questions, callback question helper */
.parth { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 22px 0 4px; font-weight: 700; }
.parth:first-child { margin-top: 0; }
.qparts { display: grid; gap: 28px; }
.qparts.two-parts { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .qparts.two-parts { grid-template-columns: 1fr; } }
.qlist { margin: 0; padding: 0; list-style: none; counter-reset: q; }
.qlist li { counter-increment: q; display: grid; grid-template-columns: 30px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.qlist li::before { content: counter(q, decimal-leading-zero); color: var(--gold); font-size: .78rem; padding-top: 3px; }
.qhelp { background: var(--bg-alt); border-left: 2px solid var(--gold); padding: 14px 14px 6px; display: grid; gap: 10px; }
.qnote { font-size: .8rem; color: var(--muted); margin: 0; }
.qset { display: grid; gap: 10px; }
.qset[hidden] { display: none !important; }
.qpart { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-top: 4px; }
.qhelp label { font-weight: 500 !important; }
.qhelp .opt { color: var(--muted); font-weight: 400; }
.qhelp textarea { min-height: 54px !important; background: #fff !important; }

/* v2 – white header: the original logo sits on white, unboxed, at a size where its tagline can be read */
header.top { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(201,163,93,.35); }
.top .wrap { min-height: 88px; }
.logo { background: none; padding: 0; border-radius: 0; }
.logo img { height: 62px; width: auto; }
nav.main a { color: var(--text); }
nav.main a:hover { color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.langs a { color: var(--muted); }
.langs a[aria-current="true"] { color: var(--gold-ink); font-weight: 700; }
.partner-btn { border-color: var(--gold); color: var(--gold-ink); }
.partner-btn:hover { background: var(--gold-soft); }
.menu-btn { border-color: var(--line-2); color: var(--ink); }
@media (max-width: 1000px) {
  nav.main { top: 88px; background: #fff; border-bottom: 1px solid var(--line); }
  nav.main a { border-bottom-color: var(--line); }
}
@media (max-width: 560px) { .top .wrap { min-height: 70px; } .logo img { height: 44px; } nav.main { top: 70px; } }
.pside { top: 106px; }
/* footer: stacked logo on a soft rounded card, tagline readable */
.flogo { display: inline-flex; background: linear-gradient(180deg, #fff, #f1f3f7); border-radius: 14px; padding: 14px 20px; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 10px 30px rgba(0,0,0,.25); }
.flogo img { display: block; height: 96px; width: auto; }
/* home hero: Budapest – Samarkand panorama behind the hero */
.hero-pano { position: absolute; inset: auto 0 0 0; width: 100%; height: 62%; object-fit: cover; object-position: center 70%; opacity: .32; pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); }
.photo-band { background: #0b1a2e; overflow: hidden; }
.photo-band .pb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { z-index: 1; }
.photo-band .wrap { z-index: 2; }
/* team photos */
.mem { padding: 0; display: flex; flex-direction: column; }
.mphoto { aspect-ratio: 4 / 5; overflow: hidden; background: #e9ecf0; max-width: 100%; }
.mphoto img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; filter: saturate(.92); transition: transform .4s; }
.mem:hover .mphoto img { transform: scale(1.03); }
.mtext { padding: 18px 20px 22px; border-top: 2px solid var(--gold); }
.mem .mono { margin: 22px 20px 0; }

/* messenger chips (registration) – same channels and colours as the YF CRM */
.msgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 520px) { .msgs { grid-template-columns: repeat(2, 1fr); } }
.msg { position: relative; display: flex !important; flex-direction: column !important; align-items: center; justify-content: center; gap: 6px !important;
  padding: 12px 6px; border: 1.5px solid #dfe3e9; background: var(--field); border-radius: 10px; cursor: pointer; color: #9aa5b3;
  font-weight: 600 !important; font-size: .78rem !important; transition: border-color .15s, background .15s, color .15s; }
.msg input { position: absolute; opacity: 0; pointer-events: none; }
.msg:hover { border-color: var(--c); }
.msg:has(input:checked) { border-color: var(--c); color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.msg:has(input:focus-visible) { outline: 2px solid var(--c); outline-offset: 2px; }
.msg span { color: var(--ink); }
.msgtag { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; color: var(--c); border: 1px solid var(--c); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.hero .tagline { color: #a9b6c9; text-shadow: 0 1px 6px rgba(0,0,0,.6); position: relative; }
.hero .wrap > div, .hero .map { position: relative; }

/* v3 – agricultural project graphic: V4 → C5+, Hungarian flag → Uzbek flag */
.yfg.agri { align-items: flex-start; gap: 16px; }
.yfg.agri::after { display: none; }
.agri-dir { display: flex; align-items: center; gap: 12px; font-weight: 300; font-size: 1.9rem; letter-spacing: .08em; color: #e7c98b; }
.agri-arrow { width: 92px; height: 14px; color: #e7c98b; }
.agri-flags { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 360px; color: #c9b88f; }
.agri-flags .flag { width: 42px; height: 28px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.agri-line { flex: 1; height: 14px; min-width: 40px; }
.yfg.agri small { margin-top: 0; }
/* MarketOrg Platform section */
.platform { background: linear-gradient(180deg, #fff 0%, #f6f1e6 100%); border-top: 1px solid var(--line); }
.pf-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; margin-bottom: 44px; }
@media (max-width: 860px) { .pf-top { grid-template-columns: 1fr; gap: 24px; } }
.pf-top h2 { margin-bottom: 12px; }
.pf-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 22px 0 24px; }
.pf-stats b { display: block; font-size: 2rem; font-weight: 500; color: var(--gold); line-height: 1; }
.pf-stats span { font-size: .8rem; color: var(--ink); }
.pf-visual { background: #fff; border-radius: 18px; padding: 28px 30px; box-shadow: 0 20px 50px rgba(16,34,59,.10); border: 1px solid var(--line); display: grid; place-items: center; }
.pf-visual img { width: 100%; max-width: 360px; height: auto; display: block; }
.pf-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
@media (max-width: 900px) { .pf-grid { grid-template-columns: 1fr; } }
.pf-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .pf-cards { grid-template-columns: 1fr; } }
.pfc { background: #fff; border: 1px solid var(--line); border-left: 2px solid var(--gold); padding: 16px 16px; }
.pfc b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.pfc p { margin: 0; font-size: .85rem; color: var(--muted); }
.pf-who .checks li { font-size: .9rem; }
/* auth pages: MarketOrg CRM visual instead of the map */
.auth-crm { background: #fff; border-radius: 18px; padding: 26px 30px; max-width: 440px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.auth-crm img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .auth-crm { max-width: 320px; } }
/* portal: status icons beside the company name */
.who-row { display: flex; align-items: center; gap: 8px; }
.sicons { display: inline-flex; gap: 4px; flex: none; }
.sic { display: inline-flex; }
.sic.on { color: #2e9d62; }
.sic.off, .sic.reg { color: #a3acb8; }
.sic.paid { color: var(--gold); }
.pside .who .sic.on { color: #2e9d62; }
.pside .who .sic.off, .pside .who .sic.reg { color: #a3acb8; }
.pside .who .sic.paid { color: var(--gold); }
.sic svg { width: 20px; height: 20px; }
.tiles.six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .tiles.six { grid-template-columns: repeat(2, 1fr); } }
.crm-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.crm-head img { width: 220px; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
/* v4 – CRM title as the image itself; Ügyfélkapu button with the CRM mark */
.crm-title h2 { margin: 0 0 6px; line-height: 0; }
.crm-title h2 img { width: 260px; max-width: 100%; height: auto; }
.pb-icon { width: 22px; height: auto; display: block; }
