/* =====================================================================
   "Ekspert-axborot maslahatlari" — expert-consulting.css (pri.oliymajlis.uz)
   Faqat .lp* klasslari; !important ishlatilmagan. Bogʻliq fayllar: expert-consulting.tpl, js/expert-consulting.js
   ===================================================================== */

.ec {
	--ec-navy: #0b2a4a;
	--ec-navy-2: #123b66;
	--ec-blue: #4a7fb5;
	--ec-green: #1e9e57;
	--ec-violet: #7c5cc4;
	--ec-gold: #b7791f;
	--ec-red: #c0392b;
	--ec-text: #1a1a1a;
	--ec-muted: #5c667d;
	--ec-line: #e3e8ef;
	--ec-soft: #f4f6f9;
	--ec-focus: #1a73e8;
	color: var(--ec-text);
	overflow-wrap: break-word;
}
.ec *, .ec *::before, .ec *::after { box-sizing: border-box; }
.ec ul, .ec ol { margin: 0; padding: 0; list-style: none; }
.ec li { margin: 0; padding: 0; }
.ec li::before { content: none; }
.ec a { text-decoration: none; }
.ec [hidden]:not(#ec-x) { display: none; }
.ec a:focus-visible, .ec button:focus-visible, .ec input:focus-visible, .ec select:focus-visible, .ec textarea:focus-visible, .ec [tabindex]:focus-visible { outline: 2px solid var(--ec-focus); outline-offset: 3px; }
.ec button:not(#ec-x) { width: auto; min-width: 0; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; transform: none; color: inherit; font: inherit; line-height: 1.3; letter-spacing: normal; text-transform: none; white-space: normal; text-align: left; cursor: pointer; }
.ec button:not(#ec-x)::before, .ec button:not(#ec-x)::after { display: none; }

/* ===================== Hero ===================== */
.ec .ec-hero {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center;
	overflow: hidden; padding: clamp(26px, 4vw, 48px); border-radius: 24px; color: #fff;
	background:
		radial-gradient(45% 110% at 100% 0%, rgba(183, 121, 31, .3) 0%, rgba(183, 121, 31, 0) 60%),
		radial-gradient(40% 90% at 8% 100%, rgba(30, 158, 87, .24) 0%, rgba(30, 158, 87, 0) 60%),
		linear-gradient(135deg, var(--ec-navy) 0%, var(--ec-navy-2) 100%);
}
.ec .ec-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 26px); }
.ec .ec-hero > * { position: relative; z-index: 1; }
.ec .ec-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ec .ec-title { margin: 0 0 14px; color: #fff; font-size: clamp(26px, 2.2vw + 14px, 40px); font-weight: 800; line-height: 1.15; }
.ec .ec-lead { margin: 0; color: rgba(255, 255, 255, .84); font-size: clamp(15px, .3vw + 13px, 17px); line-height: 1.6; }
.ec .ec-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ec .ec-keys { display: grid; gap: 10px; }
.ec .ec-key { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .07); }
.ec .ec-key__ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #f2c76b; font-size: 18px; }
.ec .ec-key__b { display: flex; flex-direction: column; min-width: 0; }
.ec .ec-key__l { color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ec .ec-key b { color: #fff; font-size: 19px; font-weight: 800; line-height: 1.25; }
.ec .ec-key small { color: rgba(255, 255, 255, .78); font-size: 13px; }

/* Tugmalar */
.ec .ec-btn:not(#ec-x) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--ec-navy); font-size: 14px; font-weight: 700; line-height: 1.3; transition: transform .2s, background-color .2s, border-color .2s; }
.ec .ec-btn:not(#ec-x):hover { transform: translateY(-2px); color: var(--ec-navy); }
.ec .ec-btn--dark:not(#ec-x) { background: var(--ec-navy); color: #fff; }
.ec .ec-btn--dark:not(#ec-x):hover { background: var(--ec-navy-2); color: #fff; }
.ec .ec-btn--line:not(#ec-x) { border-color: var(--ec-line); background: #fff; color: var(--ec-navy); }
.ec .ec-btn--line:not(#ec-x):hover { border-color: var(--ec-blue); }
.ec .ec-btn.is-done:not(#ec-x) { background: var(--ec-green); }

/* ===================== Umumiy ===================== */
.ec .ec-sec { margin-top: clamp(32px, 4vw, 48px); scroll-margin-top: 90px; }
.ec .ec-h { margin: 0 0 14px; color: var(--ec-navy); font-size: clamp(21px, 1vw + 15px, 28px); font-weight: 800; line-height: 1.2; }
.ec .ec-sub { margin: -6px 0 16px; color: var(--ec-muted); font-size: 15px; line-height: 1.55; }

/* ===================== Shakllar ===================== */
.ec .ec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.ec .ec-head .ec-h { margin: 0; }
.ec .ec-auds { display: flex; flex-wrap: wrap; gap: 8px; }
.ec .ec-aud:not(#ec-x) { padding: 8px 14px; border: 1px solid var(--ec-line); border-radius: 999px; background: #fff; color: var(--ec-navy); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.ec .ec-aud:not(#ec-x):hover { border-color: var(--ec-navy-2); }
.ec .ec-aud:not(#ec-x)[aria-pressed="true"] { border-color: var(--ec-navy); background: var(--ec-navy); color: #fff; }
.ec .ec-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ec .ec-c { --c: var(--ec-blue); display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--ec-line); border-top: 4px solid var(--c); border-radius: 16px; background: #fff; transition: transform .2s, box-shadow .2s; animation: ec-in .3s ease backwards; scroll-margin-top: 90px; }
.ec .ec-c:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 42, 74, .08); }
.ec .ec-c--brief { --c: var(--ec-navy-2); }
.ec .ec-c--wg { --c: var(--ec-violet); }
.ec .ec-c--visit { --c: var(--ec-gold); }
.ec .ec-c--voters { --c: var(--ec-green); }
.ec .ec-c--train { --c: #2b8a9e; }
.ec .ec-c--ai { --c: #5b4bb7; }
.ec .ec-c__ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 19px; }
.ec .ec-c__t { margin: 0 0 6px; color: var(--ec-navy); font-size: 17px; font-weight: 800; line-height: 1.3; }
.ec .ec-c__d { margin: 0 0 12px; color: var(--ec-muted); font-size: 14px; line-height: 1.55; }
.ec .ec-c__r { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: var(--ec-soft); color: var(--ec-navy); font-size: 13px; font-weight: 600; line-height: 1.4; }
.ec .ec-c__r i { margin-top: 2px; color: var(--c); }
.ec .ec-c__who { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; }
.ec .ec-c__who span { padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); font-size: 11px; font-weight: 800; }
.ec .ec-c__f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.ec .ec-c__q:not(#ec-x) { display: inline-flex; align-items: center; gap: 6px; color: var(--c); font-size: 12px; font-weight: 800; }
.ec .ec-c__q .fa-chevron-down { transition: transform .2s; }
.ec .ec-c__q[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.ec .ec-c__pick:not(#ec-x) { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--ec-line); border-radius: 999px; background: #fff; color: var(--ec-navy); font-size: 12px; font-weight: 700; transition: border-color .2s, background-color .2s; }
.ec .ec-c__pick:not(#ec-x):hover { border-color: var(--c); background: var(--ec-soft); }
.ec .ec-c__nq { margin: 12px 0 0; padding: 10px 12px; border: 0; border-left: 3px solid var(--c); border-radius: 0 10px 10px 0; background: color-mix(in srgb, var(--c) 7%, #fff); animation: ec-in .25s ease backwards; }
.ec .ec-c__nq p { margin: 0; color: var(--ec-navy); font-size: 13px; font-style: italic; line-height: 1.55; }
@keyframes ec-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ===================== Bosqichlar ===================== */
.ec .ec-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ec .ec-st { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--ec-line); border-radius: 16px; background: #fff; }
.ec .ec-st:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -14px; width: 14px; height: 2px; background: #c9d3e1; }
.ec .ec-st__ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 12px; background: var(--ec-navy); color: #fff; font-size: 17px; }
.ec .ec-st b { color: var(--ec-navy); font-size: 16px; font-weight: 800; }
.ec .ec-st > span:last-child { color: var(--ec-muted); font-size: 14px; line-height: 1.5; }

/* Aloqa va kengash */
.ec .ec-contacts { display: grid; gap: 10px; margin-bottom: 18px; }
.ec .ec-contacts li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ec .ec-contacts i { width: 18px; color: var(--ec-green); text-align: center; }
.ec .ec-contacts a { color: var(--ec-navy-2); font-weight: 700; }
.ec .ec-contacts small { color: var(--ec-muted); }
.ec .ec-council { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: var(--ec-soft); }
.ec .ec-council__ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ec-navy); color: #fff; font-size: 16px; }
.ec .ec-council b { color: var(--ec-navy); font-size: 15px; }
.ec .ec-council p { margin: 4px 0 8px; color: var(--ec-muted); font-size: 13px; line-height: 1.5; }
.ec .ec-council a { color: var(--ec-navy-2); font-size: 13px; font-weight: 700; }
.ec .ec-f.is-hl select { border-color: var(--ec-green); box-shadow: 0 0 0 3px rgba(30, 158, 87, .15); }

/* ===================== Qutilar ===================== */
.ec .ec-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ec .ec-two--req { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.ec .ec-box { padding: 22px; border: 1px solid var(--ec-line); border-radius: 18px; background: #fff; }
.ec .ec-box__h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--ec-navy); font-size: 18px; font-weight: 800; line-height: 1.3; scroll-margin-top: 90px; }
.ec .ec-box__h i { color: var(--ec-blue); }
.ec .ec-box__p { margin: 0 0 14px; color: var(--ec-muted); font-size: 14px; line-height: 1.6; }
.ec .ec-note { margin: 14px 0 0; }

/* Shablon */
.ec .ec-fs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ec .ec-f { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 400; }
.ec .ec-f--w { grid-column: 1 / -1; }
.ec .ec-f > span { color: var(--ec-navy); font-size: 13px; font-weight: 800; }
.ec .ec-f input, .ec .ec-f select, .ec .ec-f textarea { width: 100%; margin: 0; padding: 10px 12px; border: 1px solid var(--ec-line); border-radius: 10px; background: #fff; color: var(--ec-text); font: inherit; font-size: 14px; line-height: 1.45; }
.ec .ec-f input, .ec .ec-f select { height: 44px; }
.ec .ec-f textarea { min-height: 70px; resize: vertical; }
.ec .ec-f input:focus, .ec .ec-f select:focus, .ec .ec-f textarea:focus { border-color: var(--ec-blue); }
.ec .ec-msg { min-height: 1.4em; margin: 10px 0 6px; color: var(--ec-red); font-size: 13px; }
.ec .ec-msg.is-ok { color: var(--ec-green); }
.ec .ec-acts { display: flex; flex-wrap: wrap; gap: 10px; }

.ec .ec-laws { display: grid; gap: 10px; }
.ec .ec-laws li { padding-left: 14px; border-left: 3px solid var(--ec-line); font-size: 14px; line-height: 1.45; }
.ec .ec-laws li > span { display: block; color: var(--ec-muted); font-size: 12px; }
.ec .ec-laws a, .ec .ec-rels a { color: var(--ec-navy-2); font-weight: 700; }
.ec .ec-laws a:hover { text-decoration: underline; }
.ec .ec-rels { display: grid; gap: 8px; }
.ec .ec-rels a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--ec-line); border-radius: 12px; font-size: 14px; line-height: 1.35; transition: border-color .2s, background-color .2s; }
.ec .ec-rels a:hover { border-color: var(--ec-blue); background: var(--ec-soft); }
.ec .ec-rels i { width: 18px; color: var(--ec-blue); text-align: center; }

/* {static} */
.ec .ec-static { font-size: 15px; line-height: 1.6; }
.ec .ec-static > :first-child { margin-top: 0; }
.ec .ec-static table { width: 100%; margin: 0 0 16px; border: 1px solid var(--ec-line); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; font-size: 14px; }
.ec .ec-static th, .ec .ec-static td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--ec-line); text-align: left; vertical-align: top; }
.ec .ec-static table tr:not(#ec-x), .ec .ec-static table td:not(#ec-x) { background: transparent; }
.ec .ec-static th { background: var(--ec-soft); color: var(--ec-navy); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ec .ec-static tr:last-child td { border-bottom: 0; }
.ec .ec-static a { color: var(--ec-navy-2); text-decoration: underline; text-underline-offset: 2px; }
.ec .ec-tw { max-width: 100%; overflow-x: auto; }

/* ===================== Moslashuvchanlik ===================== */
@media (max-width: 1199.98px) {
	.ec .ec-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ec .ec-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ec .ec-st:nth-child(2)::after { display: none; }
}
@media (max-width: 991.98px) {
	.ec .ec-hero, .ec .ec-two, .ec .ec-two--req { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
	.ec .ec-cards, .ec .ec-steps { grid-template-columns: minmax(0, 1fr); }
	.ec .ec-st::after { display: none; }
	.ec .ec-head { flex-direction: column; align-items: flex-start; }
	.ec .ec-fs { grid-template-columns: minmax(0, 1fr); }
	.ec .ec-static table, .ec .ec-static tbody, .ec .ec-static tr, .ec .ec-static td { display: block; width: 100%; }
	.ec .ec-static table { border: 0; background: none; overflow: visible; }
	.ec .ec-static thead { display: none; }
	.ec .ec-static tr { margin-bottom: 10px; border: 1px solid var(--ec-line); border-radius: 14px; background: #fff; overflow: hidden; }
	.ec .ec-static tr:has(> th) { display: none; }
	.ec .ec-static td { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 10px; padding: 9px 14px; }
	.ec .ec-static td[data-label]::before { content: attr(data-label); color: var(--ec-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
	.ec .ec-tw { overflow: visible; }
}
@media (max-width: 575.98px) {
	.ec .ec-box { padding: 18px; }
	.ec .ec-acts .ec-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ec *, .ec *::before, .ec *::after { transition: none; animation: none; }
}
