/* =====================================================================
   O'zagrosug'urta — Landing page (pages/index.html)
   Barcha klasslar .lp- prefiksi bilan: boshqa sahifalarga ta'sir qilmaydi.
   ===================================================================== */

.lp {
    --lp-green: #339F4A;        /* logotip rangi */
    --lp-green-dark: #2C8C41;   /* faqat hover va kontrast uchun */
    --lp-green-light: #4DB664;  /* gradientlar uchun och ton */
    --lp-gold: #E4BD63;
    --lp-ink: #1F2D3A;
    --lp-muted: #5B6B78;
    --lp-line: #E3E8EC;
    --lp-tint: #F4F8F5;
    --lp-white: #FFFFFF;
    --lp-radius: 16px;
    --lp-radius-sm: 10px;
    --lp-shadow: 0 10px 30px rgba(20, 45, 30, .08);
    --lp-shadow-hover: 0 16px 40px rgba(20, 45, 30, .14);

    color: var(--lp-ink);
    overflow-x: hidden;
}

.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); }

/* ---------- Umumiy: tugmalar ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.lp-btn i { font-size: 11px; }
.lp-btn i::before { margin: 0; font-size: 11px; }
.lp-btn:hover { transform: translateY(-1px); text-decoration: none; }

.lp-btn--primary { background: var(--lp-green); color: #fff; box-shadow: 0 6px 16px rgba(51, 159, 74, .3); }
.lp-btn--primary:hover, .lp-btn--primary:focus { background: var(--lp-green-dark); color: #fff; }

.lp-btn--ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff; backdrop-filter: blur(4px); }
.lp-btn--ghost:hover, .lp-btn--ghost:focus { background: #fff; color: var(--lp-green-dark); }

.lp-btn--outline { background: transparent; border-color: var(--lp-green); color: var(--lp-green); }
.lp-btn--outline:hover, .lp-btn--outline:focus { background: var(--lp-green); color: #fff; }

/* ---------- Umumiy: bo'lim va sarlavha ---------- */
.lp-section { padding: 64px 0; }
.lp-section--tint { background: var(--lp-tint); }
.lp-section--compact { padding: 48px 0; }
.lp-section--last { padding-bottom: 88px; }

.lp-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lp-green);
}
.lp-eyebrow--light { color: var(--lp-gold); }

.lp-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.lp-head--left { max-width: none; margin-bottom: 24px; text-align: left; }
.lp-head--split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    text-align: left;
}
.lp-head__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}
.lp-head__title--sm { font-size: 20px; }
.lp-head__lead { margin: 10px 0 0; font-size: 15px; color: var(--lp-muted); }

.lp-card {
    background: var(--lp-white);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
}

/* ---------- 1. Hero ---------- */
.lp-hero { position: relative; }
.lp-hero .banner-section.lp-hero__slide {
    height: auto;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 190px 0 150px; /* yuqorida 132px absolute header turadi */
    background-size: cover;
    background-position: center;
}
.lp-hero .lp-hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(51, 159, 74, .94) 0%, rgba(51, 159, 74, .78) 45%, rgba(51, 159, 74, .12) 100%);
}
.lp-hero .lp-hero__slide .container { position: relative; z-index: 2; }
.lp-hero__content { max-width: 640px; }
.lp .lp-hero__title {
    margin: 0 0 18px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}
.lp .lp-hero__text { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0; }

.lp-hero .owl-nav { position: absolute; right: 32px; bottom: 120px; margin: 0; z-index: 3; }
.lp-hero .owl-nav [class*="owl-"] {
    width: 46px; height: 46px; margin: 0 0 0 8px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .15) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .45) !important;
    position: static !important;
}
.lp-hero .owl-nav [class*="owl-"]:hover { background: var(--lp-green) !important; border-color: var(--lp-green) !important; }

/* ---------- 2. Tezkor xizmatlar ---------- */
.lp-quick { position: relative; z-index: 5; margin-top: -56px; }
.lp-quick__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-hover);
    overflow: hidden;
}
.lp-quick__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    color: var(--lp-ink);
    text-decoration: none;
    border-right: 1px solid var(--lp-line);
    transition: background-color .2s;
}
.lp-quick__item:last-child { border-right: 0; }
.lp-quick__item:hover { background: var(--lp-tint); color: var(--lp-ink); text-decoration: none; }
.lp-quick__icon {
    flex: 0 0 42px; width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(51, 159, 74, .1);
    color: var(--lp-green);
    font-size: 17px;
    transition: background-color .2s, color .2s;
}
.lp-quick__item:hover .lp-quick__icon { background: var(--lp-green); color: #fff; }
.lp-quick__item strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.lp-quick__item small { display: block; margin-top: 2px; font-size: 13px; color: var(--lp-muted); }

/* ---------- 3. Mahsulotlar ---------- */
.lp-products .owl-stage { display: flex; }
.lp-products .owl-item { display: flex; padding: 8px 0 20px; }
.lp-product {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px 22px;
    background: var(--lp-white);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    color: var(--lp-ink);
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.lp-product:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-hover);
    border-color: transparent;
    color: var(--lp-ink);
    text-decoration: none;
}
.lp-product__icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lp-green-light), var(--lp-green));
    color: #fff;
}
.lp-product__icon i::before { margin: 0; font-size: 28px; line-height: 1; }
.lp-product__title { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.45; }
.lp-product__more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    font-size: 14px; font-weight: 600;
    color: var(--lp-green);
}
.lp-product__more i::before { margin: 0; font-size: 10px; }
.lp-products .owl-dots { margin-top: 10px !important; }
.lp .owl-theme .owl-dots .owl-dot span { background: #C9D6CD; }
.lp .owl-theme .owl-dots .owl-dot.active span { background: var(--lp-green); }

/* ---------- 4. Polisni tekshirish ---------- */
.lp-check .quote-list-tab.lp-check__form { padding: 24px; margin: 0 0 24px; }
.lp .lp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
    padding: 6px;
    list-style: none;
    background: var(--lp-tint);
    border-radius: 999px;
}
.lp .lp-tabs li { flex: 1 1 auto; width: auto; float: none; margin: 0; padding: 0; border: 0; }
.lp .lp-tabs li a {
    display: block;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--lp-muted);
    background: transparent;
    text-transform: none;
    transition: background-color .2s, color .2s;
}
.lp .lp-tabs li a::before, .lp .lp-tabs li a::after { display: none; }
.lp .lp-tabs li a:hover { color: var(--lp-green); }
.lp .lp-tabs li.current a { background: var(--lp-green); color: #fff; box-shadow: 0 4px 12px rgba(51, 159, 74, .3); }

.lp-check .tab_content .tabs_item { padding: 0; background: none; box-shadow: none; }
.lp-label { display: block; margin-bottom: 12px; font-weight: 600; color: var(--lp-ink); }
.lp-form { display: grid; gap: 12px; }
.lp-form .form-control, .lp-form .nice-select {
    height: 48px;
    width: 100%;
    padding: 0 16px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-sm);
    background: #fff;
    font-size: 15px;
    line-height: 46px;
    color: var(--lp-ink);
    box-shadow: none;
}
.lp-form .form-control:focus { border-color: var(--lp-green); box-shadow: 0 0 0 3px rgba(51, 159, 74, .15); }
.lp-form .nice-select { float: none; }
.lp-form .lp-btn { width: 100%; margin-top: 4px; }

.lp-result { padding: 22px 22px 14px; margin-bottom: 24px; border-top: 4px solid var(--lp-green); }
.lp-result__title {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 18px;
    font-size: 16px; font-weight: 700;
    color: var(--lp-ink);
}
.lp-result__title i { color: var(--lp-green); }
.lp-result__list { margin: 0; text-align: left; }
.lp-result__list dt {
    font-size: 12px; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    color: var(--lp-muted);
}
.lp-result__list dd { margin: 4px 0 14px; }
.lp-result__list .form-control,
.lp-result__list .form-control:disabled {
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-sm);
    background: var(--lp-tint);
    font-size: 15px; font-weight: 600;
    color: var(--lp-ink);
    opacity: 1;
}

/* ---------- 5. Raqamlar ---------- */
.lp-stats {
    position: relative;
    padding: 64px 0;
    background: linear-gradient(135deg, var(--lp-green) 0%, var(--lp-green-light) 100%);
    color: #fff;
}
.lp .lp-stats__title { margin: 0 0 10px; font-size: 28px; font-weight: 700; color: #fff; }
.lp .lp-stats__lead { margin: 0 0 28px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.lp-stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-stat {
    padding: 18px 16px;
    border-radius: var(--lp-radius);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
}
.lp-stat i::before { margin: 0; font-size: 26px; color: var(--lp-gold); }
.lp-stat__num { margin-top: 8px; font-size: 24px; font-weight: 700; line-height: 1.1; color: #fff; }
.lp-stat__num .odometer { font-family: inherit; }
.lp-stat__label { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.lp-stats__media { margin-top: 0; }
.lp-stats__media img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: var(--lp-radius);
}
.lp-stats .owl-dots { position: absolute; left: 0; right: 0; bottom: 16px; }
.lp-stats .owl-nav { display: none; }

/* ---------- 6. Yangiliklar ---------- */
.lp-post {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 30px;
    background: var(--lp-white);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.lp-post:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-hover); }
.lp-post__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #DCEBDF, #EEF4EF);
    overflow: hidden;
}
.lp-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.lp-post:hover .lp-post__media img { transform: scale(1.04); }
.lp-post__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.lp-post__date { font-size: 13px; font-weight: 600; color: var(--lp-muted); }
.lp-post__date i { margin-right: 4px; color: var(--lp-green); }
.lp .lp-post__title { margin: 8px 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.lp .lp-post__title a { color: var(--lp-ink); text-decoration: none; }
.lp .lp-post__title a:hover { color: var(--lp-green); }
.lp-post__excerpt { flex: 1; margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--lp-muted); }
.lp-post__more { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--lp-green); }
.lp-post__more i::before { margin: 0 0 0 4px; font-size: 10px; }

/* ---------- 7. Mijozlar fikri ---------- */
.lp .feedback-item-slides .owl-stage { display: flex; }
.lp .feedback-item-slides .owl-item { display: flex; padding: 6px 0 20px; }
.lp-quote {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 24px;
    background: var(--lp-white);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
}
.lp-quote__mark { font-size: 26px; color: var(--lp-gold); }
.lp .lp-quote blockquote {
    flex: 1;
    margin: 12px 0 20px;
    padding: 0 !important;          /* style.css dagi blockquote { padding: 50px !important } */
    border: 0;
    background: none;
    text-align: left;
    font-size: 15px;
    font-style: normal;
    line-height: 1.6;
    color: var(--lp-ink);
}
.lp .lp-quote blockquote::before, .lp .lp-quote blockquote::after { display: none; content: none; }
.lp-quote__author { display: flex; align-items: center; gap: 12px; }
.lp .lp-quote__author img { width: 48px !important; height: 48px; border-radius: 50%; object-fit: cover; }
.lp-quote__author strong { display: block; font-size: 15px; }
.lp-quote__author small { display: block; color: var(--lp-muted); }

/* ---------- 8–9. Havolalar va hamkorlar ---------- */
.lp-link, .lp-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 150px;
    padding: 20px 14px;
    background: var(--lp-white);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    text-align: center;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
.lp-link:hover, .lp-partner:hover { border-color: var(--lp-green); box-shadow: var(--lp-shadow); text-decoration: none; }
.lp .lp-link img { width: auto !important; max-width: 100%; height: 54px; object-fit: contain; }
.lp-link span { font-size: 13px; line-height: 1.4; color: var(--lp-muted); }
.lp-partner { min-height: 130px; padding: 12px; }
.lp .lp-partner img { width: auto !important; max-width: 100%; height: 100px; max-height: none; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.lp-partner:hover img { filter: none; opacity: 1; }
.lp .partner-slides-link .owl-stage, .lp .partner-slides .owl-stage { display: flex; }
.lp .partner-slides-link .owl-item, .lp .partner-slides .owl-item { display: flex; }
.lp .partner-slides-link .owl-item > a, .lp .partner-slides .owl-item > a { width: 100%; }

/* ---------- Moslashuvchanlik ---------- */
@media (max-width: 1199px) {
    .lp-quick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-quick__item:nth-child(2) { border-right: 0; }
    .lp-quick__item:nth-child(-n+2) { border-bottom: 1px solid var(--lp-line); }
}

@media (max-width: 991px) {
    .lp-section, .lp-stats { padding: 52px 0; }
    .lp-head__title, .lp .lp-stats__title { font-size: 24px; }
    .lp .lp-hero__title { font-size: 30px; }
    .lp-hero .banner-section.lp-hero__slide { min-height: 540px; padding: 88px 0 120px; }
    .lp-hero .lp-hero__slide::after { background: linear-gradient(180deg, rgba(51, 159, 74, .7) 0%, rgba(51, 159, 74, .94) 100%); }
    .lp-hero .owl-nav { display: none; }
    .lp-stats__media { margin-top: 36px; }
    .lp-stats__media img { height: 300px; }
}

@media (max-width: 767px) {
    .lp-section, .lp-stats { padding: 40px 0; }
    .lp-section--compact { padding: 32px 0; }
    .lp-head { margin-bottom: 24px; }
    .lp-head__title, .lp .lp-stats__title { font-size: 22px; }
    .lp-head__lead { font-size: 14px; }
    .lp .lp-hero__title { font-size: 24px; }
    .lp .lp-hero__text { font-size: 15px; }
    .lp-hero .banner-section.lp-hero__slide { min-height: 500px; padding: 64px 0 100px; }
    .lp-hero__actions .lp-btn { flex: 1 1 100%; }
    .lp-quick { margin-top: -56px; }
    .lp-quick__grid { grid-template-columns: 1fr; }
    .lp-quick__item { border-right: 0; border-bottom: 1px solid var(--lp-line); padding: 18px 20px; }
    .lp-quick__item:last-child { border-bottom: 0; }
    .lp-check .quote-list-tab.lp-check__form { padding: 20px; }
    .lp .lp-tabs { flex-wrap: nowrap; overflow-x: auto; border-radius: var(--lp-radius); scrollbar-width: none; }
    .lp .lp-tabs::-webkit-scrollbar { display: none; }
    .lp .lp-tabs li { flex: 0 0 auto; }
    .lp .lp-tabs li a { padding: 9px 12px; font-size: 13px; }
    .lp-stats__grid { grid-template-columns: 1fr; }
    .lp-stat { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; }
    .lp-stat i { grid-row: span 2; }
    .lp-stat__num { margin: 0; font-size: 20px; }
    .lp-stat__label { margin: 0; }
    .lp-head--split .lp-btn { width: 100%; }
}

/* Hero yashil fonida asosiy tugma oq bo'ladi (yashil ustida yashil ko'rinmaydi) */
.lp-hero .lp-btn--primary { background: #fff; color: var(--lp-green); box-shadow: 0 6px 18px rgba(20, 70, 35, .2); }
.lp-hero .lp-btn--primary:hover, .lp-hero .lp-btn--primary:focus { background: var(--lp-gold); color: #fff; }

/* 992–1199px: mobil header ishlatiladi, shuning uchun hero yuqorisida katta bo'shliq kerak emas */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .lp-hero .banner-section.lp-hero__slide { min-height: 580px; padding: 96px 0 130px; }
}

/* Mavzuda mobil header uchun .banner-section ga margin-top berilgan;
   bizda bu joyni .site-main padding-top egallaydi, shuning uchun ikki marta surilmasin */
.lp-hero .banner-section.lp-hero__slide { margin-top: 0; }
