/* =====================================================
   Qidiruv sahifalari (landing) — Sunward VI uslubida
   tools/landings/ generatori yaratgan sahifalar uchun
   ===================================================== */
.ld { --ld-r: 14px; }
.ld section { padding: 0; }
.ld-sec { padding: 76px 0; }
.ld-sec--alt { background: var(--sw-surface-2); }
.ld-sec--tint { background: var(--sw-tint-2); }

/* ── Hero ── */
.ld-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sw-tint-2) 0%, #fff 100%); padding: 44px 0 64px; border-bottom: 1px solid var(--sw-line); }
.ld-hero::after { content: ''; position: absolute; right: -60px; top: -40px; width: 420px; height: 520px; background: url("img/vi-slash.svg") no-repeat center / contain; opacity: .07; pointer-events: none; }
.ld-hero .container { position: relative; z-index: 1; }
.ld-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .8rem; color: var(--sw-muted); margin-bottom: 28px; }
.ld-crumbs a { color: var(--sw-muted); text-decoration: none; }
.ld-crumbs a:hover { color: var(--sw-green); }
.ld-crumbs span[aria-hidden] { opacity: .5; }
.ld-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ld-hero .eyebrow { margin-bottom: 14px; }
.ld-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0 0 18px; }
.ld-lead { font-size: 1.08rem; line-height: 1.65; max-width: 620px; margin: 0 0 24px; }
.ld-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.ld-chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--sw-line); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: .86rem; color: var(--sw-ink); }
.ld-chips li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--sw-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat center / 11px; flex-shrink: 0; }
.ld-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ld-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid var(--sw-green); background: var(--sw-green); color: #fff; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.ld-btn:hover { background: var(--sw-green-dark); border-color: var(--sw-green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(9,134,127,.25); }
.ld-btn--ghost { background: #fff; color: var(--sw-green); }
.ld-btn--ghost:hover { background: var(--sw-tint); color: var(--sw-green-deep); border-color: var(--sw-green); box-shadow: none; }
.ld-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.ld-hero-img { position: relative; aspect-ratio: 4 / 3; max-width: 100%; }
.ld-hero-img::before { content: ''; position: absolute; inset: 12% 4% 4% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(9,134,127,.14), rgba(9,134,127,0)); }
.ld-hero-img img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 28px rgba(30,39,38,.16)); }

/* ── Sarlavha bloki ── */
.ld-head { max-width: 760px; margin-bottom: 40px; }
.ld-head h2 { margin: 0 0 12px; }
.ld-head p { margin: 0; font-size: 1.02rem; }

/* ── Model kartalari ── */
.ld-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.ld-model { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sw-line); border-radius: var(--ld-r); overflow: hidden; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ld-model:hover { border-color: var(--sw-green); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,39,38,.08); }
.ld-model-img { aspect-ratio: 4 / 3; background: linear-gradient(180deg, var(--sw-surface-2), #fff); display: flex; align-items: center; justify-content: center; padding: 14px; }
.ld-model-img img { width: 100%; height: 100%; object-fit: contain; }
.ld-model-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ld-model-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--sw-ink); line-height: 1.1; }
.ld-model-type { font-size: .84rem; color: var(--sw-ink); line-height: 1.35; }
.ld-model-meta { font-size: .84rem; color: var(--sw-body); }
.ld-model-go { margin-top: auto; padding-top: 6px; font-size: .84rem; font-weight: 600; color: var(--sw-green); }
.ld-group-title { font-family: var(--font-body) !important; font-size: .76rem !important; font-weight: 600 !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--sw-muted) !important; line-height: 1.4 !important; margin: 34px 0 14px; }
.ld-group-title:first-child { margin-top: 0; }

/* ── Kartalar / afzalliklar ── */
.ld-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.ld-card { background: #fff; border: 1px solid var(--sw-line); border-radius: var(--ld-r); padding: 24px 22px; }
.ld-sec--alt .ld-card { background: #fff; }
.ld-card-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sw-tint); color: var(--sw-green); font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.ld-card h3 { margin: 0 0 8px; }
.ld-card p { margin: 0; font-size: .95rem; }

/* ── Matn bloklari ── */
.ld-prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.ld-prose > div h3 { margin: 0 0 8px; }
.ld-prose > div p { margin: 0 0 10px; }
.ld-note { margin-top: 28px; padding: 16px 20px; border-left: 3px solid var(--sw-green); background: var(--sw-tint-2); border-radius: 0 10px 10px 0; font-size: .95rem; color: var(--sw-ink); }

/* ── Jadval ── */
.ld-table-wrap { overflow-x: auto; border: 1px solid var(--sw-line); border-radius: var(--ld-r); background: #fff; }
.ld-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.ld-table th, .ld-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--sw-line); vertical-align: top; }
.ld-table th { font-weight: 600; color: var(--sw-ink); background: var(--sw-surface-2); font-size: .85rem; }
.ld-table tr:last-child td { border-bottom: none; }
.ld-table td a { color: var(--sw-green); text-decoration: none; white-space: nowrap; }
.ld-table td a:hover { text-decoration: underline; }

/* ── FAQ ── */
.ld-faq { max-width: 860px; border-top: 1px solid var(--sw-line); }
.ld-faq details { border-bottom: 1px solid var(--sw-line); }
.ld-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 2px; font-weight: 500; font-size: 1.03rem; color: var(--sw-ink); }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after { content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--sw-line); display: flex; align-items: center; justify-content: center; color: var(--sw-green); font-size: 1.2rem; transition: transform .2s, background .2s; }
.ld-faq details[open] summary::after { transform: rotate(45deg); background: var(--sw-tint); }
.ld-faq details p { margin: 0 0 20px; padding-right: 50px; }

/* ── Bog'liq sahifalar ── */
.ld-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ld-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--sw-line); border-radius: 12px; text-decoration: none; color: var(--sw-ink); font-weight: 500; transition: border-color .2s, color .2s; }
.ld-links a::after { content: '→'; color: var(--sw-green); }
.ld-links a:hover { border-color: var(--sw-green); color: var(--sw-green); }

/* ── CTA ── */
.ld-cta { position: relative; overflow: hidden; background: var(--sw-green); padding: 64px 0; }
.ld-cta::after { content: ''; position: absolute; right: 4%; top: -30px; width: 260px; height: 320px; background: url("img/vi-slash-white.svg") no-repeat center / contain; opacity: .14; pointer-events: none; }
.ld-cta .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.ld-cta h2, .ld-cta h2 * { color: #fff !important; margin: 0 0 8px; }
.ld-cta p { color: rgba(255,255,255,.82); margin: 0; max-width: 620px; }
.ld-cta .ld-btn { background: #fff; color: var(--sw-green-deep); border-color: #fff; }
.ld-cta .ld-btn:hover { background: var(--sw-tint); color: var(--sw-green-deep); }
.ld-cta .ld-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.ld-cta .ld-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

@media (max-width: 960px) {
  .ld-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .ld-hero-img { max-width: 520px; }
  .ld-prose { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ld-sec { padding: 52px 0; }
  .ld-hero { padding: 28px 0 44px; }
  .ld-models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ld-model-body { padding: 10px 12px 12px; }
  .ld-model-name { font-size: 1.05rem; }
  .ld-btn { width: 100%; justify-content: center; }
  .ld-faq details p { padding-right: 0; }
}
