:root {
  --bg: #ecf5e3;
  --surface: #ffffff;
  --ink: #111a12;
  --muted: #6b736c;
  --line: rgba(0, 0, 0, 0.08);
  --lime: #b5e352;
  --lime-dark: #98cc35;
  --green: #2f6b3a;
  --green-dark: #23542c;
  --dark: #0f1f12;
  --radius: 20px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f1f8ea 0%, #e2f0d4 100%) fixed;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main, footer { position: relative; z-index: 1; }

/* ---------- Orqa fon: sekin suzuvchi yashil yorug'lik ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-aurora span {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.55;
  animation: drift 26s ease-in-out infinite alternate;
}
.bg-aurora span:nth-child(1) { width: 52vw; height: 52vw; left: -12vw; top: -10vw; background: #b8e986; }
.bg-aurora span:nth-child(2) { width: 44vw; height: 44vw; right: -10vw; top: 18vh; background: #8fd6a8; animation-duration: 32s; animation-delay: -8s; }
.bg-aurora span:nth-child(3) { width: 40vw; height: 40vw; left: 22vw; bottom: -16vw; background: #d4ef8a; animation-duration: 38s; animation-delay: -14s; }
.bg-aurora span:nth-child(4) { width: 30vw; height: 30vw; right: 18vw; bottom: 8vh; background: #a6e3c9; animation-duration: 29s; animation-delay: -20s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6vw, 4vh) scale(1.08); }
  100% { transform: translate(-4vw, 8vh) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-aurora span { animation: none; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
section { padding: 72px 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; }

/* ---------- macOS uslubidagi tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 14px;
  font: 500 14px/1.2 var(--font);
  color: var(--ink);
  border-radius: 8px;
  border: 0.5px solid rgba(0, 0, 0, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.1), inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  white-space: nowrap;
  transition: filter .15s, transform .1s;
}
.btn:hover { filter: brightness(0.97); }
.btn:active { filter: brightness(0.92); transform: translateY(0.5px); }
.btn:focus-visible { outline: 3px solid rgba(152, 204, 53, 0.55); outline-offset: 1px; }

.btn-primary {
  color: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, #3d8a49 0%, var(--green) 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), inset 0 0.5px 0 rgba(255, 255, 255, 0.35);
}
.btn-lime {
  color: #10220f;
  border-color: rgba(0, 0, 0, 0.12);
  background: linear-gradient(180deg, #c3ec66 0%, var(--lime-dark) 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0.5px 0 rgba(255, 255, 255, 0.6);
}
.btn-glass {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-small { padding: 5px 11px; font-size: 13px; border-radius: 7px; }
.btn-large { padding: 11px 20px; font-size: 16px; border-radius: 10px; }

/* macOS segmented control */
.segmented {
  display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 2px;
  background: rgba(118, 118, 128, 0.12);
  border-radius: 9px;
}
.segmented button {
  font: 500 13px/1.2 var(--font); color: var(--ink);
  padding: 6px 14px; border: 0; border-radius: 7px;
  background: transparent; cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.segmented button:hover:not(.on) { background: rgba(0, 0, 0, 0.04); }
.segmented button.on {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.segmented button:focus-visible { outline: 3px solid rgba(152, 204, 53, 0.55); }

/* ---------- Chap panel (dock) ---------- */
body { padding-left: 96px; }
.dock {
  position: fixed; z-index: 30;
  left: 16px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.35);
  border: 0.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(31, 77, 41, 0.12), inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.dock-nav { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-top: 0.5px solid rgba(17, 26, 18, 0.1); border-bottom: 0.5px solid rgba(17, 26, 18, 0.1); }
.dock-logo { display: block; flex: none; }
.dock-logo img { width: 44px; height: 44px; max-width: none; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.dock-item {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  color: #2b3a2d;
  background: rgba(255, 255, 255, 0.25);
  border: 0.5px solid rgba(255, 255, 255, 0.6);
  transition: background .2s, transform .2s, color .2s;
}
.dock-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock-item:hover { background: rgba(255, 255, 255, 0.6); transform: scale(1.08); }
.dock-item.on { background: rgba(255, 255, 255, 0.75); color: var(--green); }
.dock-call { color: var(--green); background: rgba(181, 227, 82, 0.35); border-color: rgba(181, 227, 82, 0.6); }
.dock-call:hover { background: rgba(181, 227, 82, 0.6); }
.dock-item:focus-visible, .dock-logo:focus-visible { outline: 3px solid rgba(152, 204, 53, 0.55); outline-offset: 2px; }

/* Sichqoncha olib borganda chiqadigan yozuv */
.dock [data-tip] { position: relative; }
.dock [data-tip]::after {
  content: attr(data-tip);
  position: absolute; left: calc(100% + 14px); top: 50%;
  transform: translate(-4px, -50%);
  padding: 5px 10px; border-radius: 7px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  color: #fff; background: rgba(17, 26, 18, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity .15s, transform .15s;
}
.dock [data-tip]:hover::after { opacity: 1; transform: translate(0, -50%); }

/* ---------- Bosh qism ---------- */
.hero { padding: 20px 0 40px; }
.hero-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1fr;
  grid-template-areas:
    "title title orbit"
    "left  photo right";
  column-gap: 40px; row-gap: 40px;
  padding: 52px 56px 56px;
  border-radius: var(--radius);
  position: relative; isolation: isolate;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}
/* Fon: mahsulotlar rasmi xiralashtirilgan, ustida to'q parda */
.hero-card::before,
.hero-card::after { content: ""; position: absolute; pointer-events: none; }
.hero-card::before {
  inset: -10px -40px -70px; z-index: -3;
  background: url("../rasmlar/photo_2026-10-24_19-23-34.jpg") center / cover no-repeat;
  filter: blur(4px) saturate(1.15);
}
.hero-card::after {
  inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(10, 24, 12, 0.38) 0%, rgba(10, 24, 12, 0.48) 100%);
}
/* Fondagi emblema: faqat shu joyda rasm xiralashmagan (niqob fon rasmi bilan bir xil o'lchamda) */
.hero-emblem {
  position: absolute; inset: -10px -40px -70px; z-index: -2; pointer-events: none;
  background: url("../rasmlar/photo_2026-10-24_19-23-34.jpg") center / cover no-repeat;
  filter: saturate(1.15);
  -webkit-mask: url("../rasmlar/hero-emblem-mask.png") center / cover no-repeat;
  mask: url("../rasmlar/hero-emblem-mask.png") center / cover no-repeat;
}
/* Sarlavha ko'rinmaydi, lekin qidiruv va ekran o'quvchilar uchun qoladi */
.hero-h1 {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Mahsulotlar aylanasi: sekin aylanadi, rasmlar doim to'g'ri turadi */
.orbit { grid-area: orbit; position: relative; width: 240px; height: 240px; justify-self: end; }
.orbit-spin { position: absolute; inset: 0; animation: orbit-aylanish 45s linear infinite; }
.ring {
  position: absolute; inset: 28px; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}
.orbit-center, .o, .spark { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.orbit-center { width: 64px; height: 64px; margin: -32px; box-shadow: 0 0 0 6px rgba(181, 227, 82, 0.2); }
.o {
  width: 54px; height: 54px; margin: -27px; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  transform: rotate(var(--a)) translate(92px) rotate(calc(-1 * var(--a))) rotate(0deg);
  animation: orbit-qarshi 45s linear infinite;
}
.o1 { --a: -90deg; } .o2 { --a: -30deg; } .o3 { --a: 30deg; }
.o4 { --a: 90deg; }  .o5 { --a: 150deg; } .o6 { --a: 210deg; }
.spark {
  width: 8px; height: 8px; margin: -4px; background: var(--lime);
  transform: rotate(var(--a)) translate(62px);
}
.s1 { --a: -60deg; } .s2 { --a: 60deg; } .s3 { --a: 120deg; } .s4 { --a: 240deg; }
.orbit:hover .orbit-spin, .orbit:hover .o { animation-play-state: paused; }
@keyframes orbit-aylanish { to { transform: rotate(360deg); } }
@keyframes orbit-qarshi {
  to { transform: rotate(var(--a)) translate(92px) rotate(calc(-1 * var(--a))) rotate(-360deg); }
}

/* Chap ustun: tugma va hosildorlik kartochkasi */
.hero-left { grid-area: left; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 32px; }
.btn-pill { border-radius: 999px; padding: 11px 22px; font-size: 15px; }
.hero .btn-glass { background: rgba(181, 227, 82, 0.18); border-color: rgba(181, 227, 82, 0.55); }
.hero .btn-glass:hover { background: rgba(181, 227, 82, 0.3); filter: none; }
.stat-card {
  align-self: flex-end; width: 100%; max-width: 240px;
  padding: 16px 18px 18px; border-radius: 16px;
  color: #fff;
  background: rgba(181, 227, 82, 0.14);
  border: 0.5px solid rgba(181, 227, 82, 0.45);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stat-card-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; opacity: 0.8; }
.stat-card b { display: block; margin: 6px 0 14px; font-size: 38px; font-weight: 600; letter-spacing: -0.03em; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.bars i {
  flex: 1; border-radius: 6px; background: linear-gradient(180deg, var(--lime) 0%, rgba(181, 227, 82, 0.35) 100%);
  transform-origin: bottom; animation: ustun-osish 12s ease-in-out infinite backwards;
}
.bars i:nth-child(1) { height: 38%; } .bars i:nth-child(2) { height: 52%; } .bars i:nth-child(3) { height: 46%; }
.bars i:nth-child(4) { height: 64%; } .bars i:nth-child(5) { height: 72%; } .bars i:nth-child(6) { height: 88%; }
.bars i:nth-child(7) { height: 100%; }
.bars i:nth-child(2) { animation-delay: 0.25s; } .bars i:nth-child(3) { animation-delay: 0.5s; }
.bars i:nth-child(4) { animation-delay: 0.75s; } .bars i:nth-child(5) { animation-delay: 1s; }
.bars i:nth-child(6) { animation-delay: 1.25s; } .bars i:nth-child(7) { animation-delay: 1.5s; }
@keyframes ustun-osish {
  0% { transform: scaleY(0.25); }
  65%, 90% { transform: scaleY(1); }
  100% { transform: scaleY(0.25); }
}

/* O'rtadagi rasm */
.hero-photo { grid-area: photo; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }

/* O'ng ustun: matn va o'sish grafigi */
.hero-right { grid-area: right; display: flex; flex-direction: column; justify-content: flex-end; }
.chart-card {
  width: 100%; max-width: 250px;
  padding: 16px 18px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.chart-card > span { font-size: 13px; font-weight: 500; }
.chart-card svg { display: block; width: 100%; height: 80px; margin: 12px 0 8px; }
/* O'simlik o'sishi: chiziq chapdan o'ngga sekin chiziladi */
.chart-line { stroke-dasharray: 1 1; animation: chiziq-osish 12s ease-in-out infinite; }
.chart-area { animation: maydon-osish 12s ease-in-out infinite; }
@keyframes chiziq-osish {
  0% { stroke-dashoffset: 1; opacity: 1; }
  65%, 90% { stroke-dashoffset: 0; opacity: 1; }
  98% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes maydon-osish {
  0% { clip-path: inset(0 100% 0 0); opacity: 1; }
  65%, 90% { clip-path: inset(0 0 0 0); opacity: 1; }
  98% { clip-path: inset(0 0 0 0); opacity: 0; }
  100% { clip-path: inset(0 100% 0 0); opacity: 0; }
}
.chart-x { display: flex; justify-content: space-between; font-size: 10px; opacity: 0.6; }

.dot {
  display: inline-block; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(181, 227, 82, 0.3);
}

/* ---------- Bo'lim sarlavhalari ---------- */
.intro { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: start; margin-bottom: 48px; }
.intro-label { padding-top: 12px; font-size: 14px; color: var(--muted); }
.intro h2, .section-head h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.035em;
}
.intro h2 { text-align: right; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-dark); }
.eyebrow.light { color: rgba(255, 255, 255, 0.7); }

/* ---------- Biz haqimizda ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.about-text { margin: 0; font-size: 18px; line-height: 1.6; color: #3d453e; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { border-top: 1px solid var(--ink); padding-top: 14px; }
.stat b { display: block; font-size: 44px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- Mahsulotlar ---------- */
.products-section {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 32px 32px 0 0;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.5); border-radius: var(--radius);
  border: 0.5px solid rgba(255, 255, 255, 0.8);
  padding: 8px;
  transition: transform .25s, box-shadow .25s;
}
/* Kartochka foni: mahsulotning o'z rasmi, xira va shaffof (--img script.js da beriladi) */
.card::before,
.card::after { content: ""; position: absolute; pointer-events: none; }
.card::before {
  inset: -30px; z-index: -2;
  background: var(--img) center / cover no-repeat;
  filter: blur(22px) saturate(1.3) brightness(1.1);
  opacity: 0.85;
}
.card::after {
  inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.68) 100%);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(17, 26, 18, 0.08); }
.card[hidden] { display: none; }
.card .pic { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: #e7e8e3; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .pic img { transform: scale(1.03); }
.card .body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 12px 12px; }
.chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: #3d453e;
  background: var(--surface); padding: 4px 10px 4px 8px; border-radius: 999px;
}
.chip .dot { width: 6px; height: 6px; box-shadow: 0 0 0 2px rgba(181, 227, 82, 0.3); }
.card h3 { font-size: 20px; font-weight: 600; line-height: 1.2; }
.card p { margin: 0; font-size: 14.5px; color: #4a554c; }
.card ul { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.card li { position: relative; padding-left: 16px; margin-top: 4px; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1.5px; background: var(--lime-dark); }
.card .for { font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.card .for b { color: var(--ink); font-weight: 500; }
.card .btn-small { align-self: flex-start; margin-top: auto; }

/* ---------- Daladan natijalar ---------- */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reel {
  position: relative; display: block; aspect-ratio: 9 / 14; overflow: hidden;
  border-radius: var(--radius); background: var(--dark); color: #fff; text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 31, 18, 0.06), 0 12px 32px -16px rgba(15, 31, 18, 0.35);
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.reel:hover img { transform: scale(1.04); }
.reel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 24, 12, 0.85));
}
.reel .play {
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  transition: background 0.2s;
}
.reel:hover .play { background: rgba(181, 227, 82, 0.35); }
.reel .play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.reel-info { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.reel-tag {
  align-self: flex-start; margin-bottom: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px;
  background: rgba(255, 255, 255, 0.16); border: 0.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.reel-info b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.reel-info small { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

/* ---------- Foydali ma'lumotlar ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  display: flex; flex-direction: column; overflow: hidden;
  color: var(--ink); text-decoration: none; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55); border: 0.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 2px rgba(15, 31, 18, 0.05), 0 12px 32px -20px rgba(15, 31, 18, 0.3);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: transform 0.2s, background 0.2s;
}
.post[hidden] { display: none; }
.post-pic { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.5s; }
.post:hover .post-pic { transform: scale(1.03); }
.post-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px 18px; background: inherit; }
.post:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.75); }
.post:focus-visible { outline: 3px solid rgba(152, 204, 53, 0.55); outline-offset: 2px; }
.post h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.post p { margin: 0; font-size: 14px; color: #4a554c; }
.post-foot { width: 100%; margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.post-more { color: var(--green); font-weight: 500; }

.articles-page { padding-top: 56px; }
.page-title { font-size: clamp(30px, 4.2vw, 54px); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; }
.article-back { display: block; max-width: 760px; margin: 0 auto 20px; font-size: 14px; color: var(--green); text-decoration: none; }
.article-back:hover { text-decoration: underline; }
.article {
  max-width: 760px; margin: 0 auto; padding: 40px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62); border: 0.5px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.article-pic { display: block; width: calc(100% + 80px); max-width: none; margin: -40px -40px 24px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.article h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.article p, .article li { font-size: 16px; line-height: 1.65; color: #2c352e; }
.article p { margin: 0 0 14px; }
.article .article-lead { margin: 14px 0 24px; font-size: 18px; color: var(--muted); }
.article ul { margin: 0 0 18px; padding-left: 20px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--lime-dark); }
.article .article-note { margin-top: 20px; padding: 12px 14px; font-size: 14px; border-radius: 10px; background: rgba(181, 227, 82, 0.2); }
.article-sources { margin: 24px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.article-sources h2 { margin-bottom: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.article-sources li { margin-bottom: 4px; font-size: 14px; }
.article .article-credit { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.article-sources a { color: var(--green); overflow-wrap: anywhere; }

/* ---------- Nega Agrosan ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why div { border-top: 1px solid var(--ink); padding-top: 16px; }
.why .num { font-size: 13px; color: var(--muted); }
.why h4 { margin: 28px 0 6px; font-size: 19px; font-weight: 600; }
.why p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Aloqa ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1.1fr;
  background: var(--dark); color: #fff;
  border-radius: var(--radius); overflow: hidden;
}
.contact-img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.contact-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.contact h2 {
  font-size: clamp(32px, 4.2vw, 54px); font-weight: 500; line-height: 1.05;
  letter-spacing: -0.035em;
}
.contact p { margin: 18px 0 28px; max-width: 420px; color: rgba(255, 255, 255, 0.7); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Pastki qism ---------- */
footer { padding: 0 0 32px; }
.foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 0.5px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Moslashuvchanlik ---------- */
@media (max-width: 960px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact { grid-template-columns: 1fr; }
  .contact-img { min-height: 0; height: 280px; }
  .hero-card {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title title"
      "orbit photo"
      "left  right";
    grid-template-rows: 90px auto auto; /* tepada emblema uchun joy */
    padding: 40px 32px;
  }
  .orbit { justify-self: center; align-self: center; }
  .intro { grid-template-columns: 1fr; gap: 8px; }
  .intro h2 { text-align: left; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding-top: 12px; }

  /* Telefonda panel pastga, gorizontal bo'ladi */
  body { padding-left: 0; padding-bottom: 84px; }
  .dock {
    left: 50%; top: auto; bottom: 12px; transform: translateX(-50%);
    flex-direction: row; gap: 6px; padding: 6px;
  }
  .dock-nav { flex-direction: row; gap: 4px; padding: 0 6px; border: 0; border-left: 0.5px solid rgba(17, 26, 18, 0.1); border-right: 0.5px solid rgba(17, 26, 18, 0.1); }
  .dock-logo img { width: 36px; height: 36px; }
  .dock-item { width: 38px; height: 38px; }
  .dock [data-tip]::after { display: none; }
  .hero-card {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "orbit" "left" "photo" "right";
    grid-template-rows: 150px repeat(4, auto);
    row-gap: 28px;
    padding: 32px 20px 24px;
  }
  .stat-card, .chart-card { max-width: none; align-self: stretch; }
  .intro { margin-bottom: 28px; }
  .products, .why, .stats { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .articles-page { padding-top: 32px; }
  .article { padding: 24px 18px; }
  .article-pic { width: calc(100% + 36px); margin: -24px -18px 20px; }
  /* Telefonda videolar yonma-yon suriladi */
  .reels {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 72%; scroll-snap-align: center; }
  .stats { gap: 20px; }
  .products-section { border-radius: 24px 24px 0 0; }
  .contact-body { padding: 28px 20px 32px; }
  .foot { flex-direction: column; gap: 4px; }
}
