/* unicolearn.uz — markaz haqida sahifa. Logo yashili asosiy rang. */
:root {
  --brand: #4c9c1d; --brand-dk: #387a12; --brand-2: #eaf6df; --brand-ink: #2f6a0d;
  --ink: #1d2330; --ink-2: #5a6272; --line: #e7eae3; --bg: #fbfcf9; --card: #fff; --sun: #ffb800;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 17px/1.55 ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 5px 0 var(--brand-dk); }
.btn.ghost { background: #fff; color: var(--brand-ink); border: 2px solid var(--line); }
.btn:active { transform: translateY(3px); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }

/* tepa */
header.top { position: sticky; top: 0; z-index: 5; background: rgba(251, 252, 249, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.logo img { height: 40px; width: auto; }
header nav { display: flex; gap: 18px; margin-left: auto; }
header nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15px; }
header nav a:hover { color: var(--brand-ink); }
.lang { font-weight: 900; font-size: 14px; text-decoration: none; padding: 7px 10px; border-radius: 10px; background: var(--brand-2); }

/* bosh */
.hero { padding: 56px 0 40px; background: radial-gradient(700px 380px at 90% 0, #e3f4d2 0, transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.kicker { display: inline-block; font-weight: 800; color: var(--brand-ink); background: var(--brand-2); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 16px 0 14px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 24px; max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--ink-2); font-weight: 700; font-size: 15px; }
.facts span { display: inline-flex; align-items: center; gap: 7px; }
.facts .ic { color: var(--brand); }
.hero-art { position: relative; aspect-ratio: 1; border-radius: 32px; background: linear-gradient(150deg, #dff1cc, #f4fbe9); display: grid; place-items: center; overflow: hidden; }
.hero-art img.logo-big { width: 62%; }
.hero-art .chip { position: absolute; background: #fff; border-radius: 14px; padding: 8px 12px; font-weight: 800; font-size: 14px; box-shadow: 0 8px 24px rgba(29, 35, 48, .1); display: flex; gap: 6px; align-items: center; }
.hero-art .c1 { top: 10%; left: 6%; } .hero-art .c2 { bottom: 12%; right: 6%; } .hero-art .c3 { bottom: 14%; left: 8%; }

/* bo'limlar */
section { padding: 52px 0; }
section h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 8px; line-height: 1.15; }
section .sub { color: var(--ink-2); margin: 0 0 28px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why div { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.why .ic { width: 30px; height: 30px; color: var(--brand); margin-bottom: 10px; }
.why b { display: block; font-size: 18px; margin-bottom: 4px; }
.why p { margin: 0; color: var(--ink-2); font-size: 15px; }

.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.course { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.course .img { aspect-ratio: 16 / 10; background: var(--brand-2); overflow: hidden; }
.course .img img { width: 100%; height: 100%; object-fit: cover; }
.course .body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course .kind { font-size: 13px; font-weight: 800; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .04em; }
.course h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.course p { margin: 0; color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.course ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.course li { display: flex; gap: 8px; align-items: flex-start; }
.course li .ic { color: var(--brand); width: 18px; height: 18px; margin-top: 3px; }
.course .free { align-self: flex-start; background: #fff4d1; color: #7a5600; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 4px 12px; }
.course .btn { margin-top: auto; }
.empty { color: var(--ink-2); background: var(--card); border: 1px dashed var(--line); border-radius: 20px; padding: 28px; text-align: center; }

.contact { background: var(--ink); color: #fff; border-radius: 28px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact h2 { color: #fff; }
.contact .sub { color: #c5cbd6; }
.contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact li { display: flex; gap: 12px; align-items: flex-start; }
.contact li .ic { color: #9fd86b; width: 24px; height: 24px; margin-top: 2px; }
.contact li small { display: block; color: #c5cbd6; font-size: 14px; }
.contact a { color: #fff; font-weight: 800; text-decoration: none; }
.contact .actions { margin-top: 8px; }
.contact .btn.ghost { background: transparent; color: #fff; border-color: #3a4252; }

footer { padding: 28px 0 40px; color: var(--ink-2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer a { color: var(--ink-2); }
footer .grow { flex: 1; }

@media (max-width: 860px) {
  header nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding: 32px 0 20px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { max-width: 340px; width: 100%; margin: 0 auto; aspect-ratio: 4 / 3; }
  .hero-art img.logo-big { width: 46%; }
  .why { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; padding: 24px; }
  section { padding: 36px 0; }
}
@media (max-width: 480px) {
  .why { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  header .btn.primary { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
