/* =====================================================================
   "Kontaktlar" — contacts.css (pri.oliymajlis.uz)
   Faqat .ct* klasslari; !important ishlatilmagan. Bogʻliq fayllar: contacts.tpl, js/contacts.js
   ===================================================================== */

.ct {
	container-type: inline-size;
	--ct-navy: #0b2a4a;
	--ct-navy-2: #123b66;
	--ct-blue: #4a7fb5;
	--ct-green: #1e9e57;
	--ct-violet: #7c5cc4;
	--ct-gold: #b7791f;
	--ct-red: #c0392b;
	--ct-text: #1a1a1a;
	--ct-muted: #5c667d;
	--ct-line: #e3e8ef;
	--ct-soft: #f4f6f9;
	--ct-focus: #1a73e8;
	color: var(--ct-text);
	overflow-wrap: break-word;
}
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct ul, .ct ol { margin: 0; padding: 0; list-style: none; }
.ct li { margin: 0; padding: 0; }
.ct li::before { content: none; }
.ct a { text-decoration: none; }
.ct [hidden]:not(#ct-x) { display: none; }
.ct a:focus-visible, .ct button:focus-visible, .ct input:focus-visible, .ct select:focus-visible, .ct textarea:focus-visible, .ct [tabindex]:focus-visible { outline: 2px solid var(--ct-focus); outline-offset: 3px; }
.ct button:not(#ct-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; }
.ct button:not(#ct-x)::before, .ct button:not(#ct-x)::after { display: none; }

/* ===================== Hero ===================== */
.ct .ct-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(--ct-navy) 0%, var(--ct-navy-2) 100%);
}
.ct .ct-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 26px); }
.ct .ct-hero > * { position: relative; z-index: 1; }
.ct .ct-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; }
.ct .ct-title { margin: 0 0 14px; color: #fff; font-size: clamp(26px, 2.2vw + 14px, 40px); font-weight: 800; line-height: 1.15; }
.ct .ct-lead { margin: 0; color: rgba(255, 255, 255, .84); font-size: clamp(15px, .3vw + 13px, 17px); line-height: 1.6; }

/* Tugmalar */
.ct .ct-btn:not(#ct-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(--ct-navy); font-size: 14px; font-weight: 700; line-height: 1.3; transition: transform .2s, background-color .2s, border-color .2s; }
.ct .ct-btn:not(#ct-x):hover { transform: translateY(-2px); color: var(--ct-navy); }
.ct .ct-btn--dark:not(#ct-x) { background: var(--ct-navy); color: #fff; }
.ct .ct-btn--dark:not(#ct-x):hover { background: var(--ct-navy-2); color: #fff; }
.ct .ct-btn--line:not(#ct-x) { border-color: var(--ct-line); background: #fff; color: var(--ct-navy); }
.ct .ct-btn--line:not(#ct-x):hover { border-color: var(--ct-blue); }
.ct .ct-btn.is-done:not(#ct-x) { background: var(--ct-green); }

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

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

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

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



/* ===================== Hero: holat, tugmalar, kalitlar ===================== */
.ct .ct-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 18px 0 0; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.35; }
.ct .ct-status b { color: #fff; }
.ct .ct-status__dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #e0a43a; box-shadow: 0 0 0 4px rgba(224, 164, 58, .22); }
.ct .ct-status.is-open .ct-status__dot { background: #3ccf7e; box-shadow: 0 0 0 4px rgba(60, 207, 126, .22); }
.ct .ct-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ct .ct-btn--ghost:not(#ct-x) { border-color: rgba(255, 255, 255, .35); background: transparent; color: #fff; }
.ct .ct-btn--ghost:not(#ct-x):hover { background: rgba(255, 255, 255, .1); color: #fff; }
.ct .ct-keys { display: grid; gap: 10px; }
.ct .ct-key { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .07); }
.ct .ct-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; }
.ct .ct-key__b { display: flex; flex-direction: column; min-width: 0; }
.ct .ct-key__l { color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ct .ct-key a, .ct .ct-key b { overflow: hidden; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
.ct .ct-key a:hover { text-decoration: underline; }

/* ===================== Aloqa kanallari ===================== */
.ct .ct-chs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.ct .ct-c { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--ct-line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ct .ct-c:hover { border-color: #c9d5e4; box-shadow: 0 10px 28px rgba(11, 42, 74, .07); }
.ct .ct-c__ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ct-soft); color: var(--ct-blue); font-size: 18px; }
.ct .ct-c__b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct .ct-c__l { color: var(--ct-muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ct .ct-c__v { color: var(--ct-navy); font-size: 17px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.ct .ct-c__v:hover { color: var(--ct-navy-2); text-decoration: underline; }
.ct .ct-c__d { color: var(--ct-muted); font-size: 13px; line-height: 1.5; }
.ct .ct-copy:not(#ct-x) { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--ct-line); border-radius: 10px; background: #fff; color: var(--ct-muted); text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.ct .ct-copy:not(#ct-x):hover { border-color: var(--ct-navy-2); color: var(--ct-navy-2); }
.ct .ct-copy.is-done:not(#ct-x) { border-color: var(--ct-green); background: var(--ct-green); color: #fff; }

/* ===================== Ish vaqti ===================== */
.ct .ct-week { display: grid; gap: 4px; }
.ct .ct-two:has(> .ct-addr[hidden]) .ct-week, .ct .ct-two:has(> .ct-addr[hidden]) .ct-note { max-width: 560px; }
.ct .ct-day { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 14px; line-height: 1.35; }
.ct .ct-day:nth-child(n+6) { color: var(--ct-muted); }
.ct .ct-day__n { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; }
.ct .ct-day__t { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ct .ct-day.is-today { background: var(--ct-soft); box-shadow: inset 3px 0 0 var(--ct-blue); color: var(--ct-navy); }
.ct .ct-day__tag { padding: 1px 8px; border-radius: 999px; background: var(--ct-blue); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }
.ct .ct-note { color: var(--ct-muted); font-size: 13px; line-height: 1.5; }

/* ===================== Manzil ===================== */
.ct .ct-addr__v { margin: 0 0 8px; color: var(--ct-navy); font-size: 17px; font-weight: 800; line-height: 1.45; }
.ct .ct-addr__lm { display: flex; gap: 8px; margin: 0 0 14px; color: var(--ct-muted); font-size: 14px; line-height: 1.5; }
.ct .ct-addr__lm i { margin-top: 3px; color: var(--ct-blue); }
.ct .ct-addr__a { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ct .ct-mbtn:not(#ct-x) { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ct-line); border-radius: 10px; background: #fff; color: var(--ct-navy); font-size: 13px; font-weight: 700; line-height: 1.3; transition: border-color .2s, background-color .2s; }
.ct .ct-mbtn:not(#ct-x):hover { border-color: var(--ct-blue); background: var(--ct-soft); color: var(--ct-navy); }
.ct .ct-mbtn i { color: var(--ct-blue); }
.ct .ct-mbtn.is-done:not(#ct-x) { border-color: var(--ct-green); background: var(--ct-green); color: #fff; }
.ct .ct-mbtn.is-done i { color: #fff; }
.ct .ct-mapbtn:not(#ct-x) { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--ct-navy); color: #fff; font-size: 14px; font-weight: 700; }
.ct .ct-mapbtn:not(#ct-x):hover { background: var(--ct-navy-2); }
.ct .ct-map { margin-top: 14px; overflow: hidden; border: 1px solid var(--ct-line); border-radius: 14px; aspect-ratio: 16 / 10; background: var(--ct-soft); }
.ct .ct-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ===================== Kimga murojaat ===================== */
.ct .ct-routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.ct .ct-r { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border: 1px solid var(--ct-line); border-radius: 14px; background: #fff; color: var(--ct-text); transition: border-color .2s, background-color .2s; }
.ct .ct-r:hover { border-color: var(--ct-blue); background: var(--ct-soft); color: var(--ct-text); }
.ct .ct-r__ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ct-soft); color: var(--ct-blue); font-size: 16px; }
.ct .ct-r:hover .ct-r__ic { background: #fff; }
.ct .ct-r__b { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.ct .ct-r__b b { color: var(--ct-navy); font-size: 15px; line-height: 1.35; }
.ct .ct-r__b span { overflow: hidden; color: var(--ct-blue); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
.ct .ct-r__go { flex: 0 0 auto; color: var(--ct-muted); font-size: 13px; transition: transform .2s; }
.ct .ct-r:hover .ct-r__go { transform: translateX(3px); color: var(--ct-blue); }

/* ===================== Ijtimoiy tarmoqlar ===================== */
.ct .ct-socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.ct .ct-s { --c: var(--ct-navy); display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 12px; border: 1px solid var(--ct-line); border-radius: 14px; background: #fff; color: var(--ct-text); transition: border-color .2s, transform .2s; }
.ct .ct-s:hover { transform: translateY(-2px); border-color: var(--c); color: var(--ct-text); }
.ct .ct-s__ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--c); color: #fff; font-size: 18px; }
.ct .ct-s--tg { --c: #229ed9; }
.ct .ct-s--fb { --c: #1877f2; }
.ct .ct-s--ig { --c: #d62976; }
.ct .ct-s--yt { --c: #e00000; }
.ct .ct-s--x { --c: #000; }
.ct .ct-s--li { --c: #0a66c2; }
.ct .ct-s--tt { --c: #111; }
.ct .ct-s--pi { --c: #e60023; }
.ct .ct-x { font-size: 18px; font-weight: 700; line-height: 1; }
.ct .ct-s__b { display: flex; flex-direction: column; min-width: 0; }
.ct .ct-s__b b { overflow: hidden; color: var(--ct-navy); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
.ct .ct-s__b small { overflow: hidden; color: var(--ct-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }

/* ===================== Moslashuvchanlik ===================== */
@container (max-width: 860px) {
	.ct .ct-hero { grid-template-columns: minmax(0, 1fr); }
	.ct .ct-keys { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
}
@container (max-width: 560px) {
	.ct .ct-c { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
	.ct .ct-c__ic { width: 40px; height: 40px; font-size: 16px; }
	.ct .ct-c__v { font-size: 15px; }
	.ct .ct-cta .ct-btn:not(#ct-x) { flex: 1 1 100%; }
	.ct .ct-key a, .ct .ct-key b { font-size: 16px; }
	.ct .ct-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ct .ct-s { gap: 8px; padding: 9px 10px; }
	.ct .ct-s__ic { width: 32px; height: 32px; font-size: 16px; }
	.ct .ct-s__b small { display: none; }
}
@media (max-width: 575.98px) {
	.ct .ct-box { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.ct *, .ct *::before, .ct *::after { transition: none; animation: none; }
}
