/* Botanica BC — sotuv sahifasi (landing). Ranglar main.css bilan bir xil palitrada. */
:root {
  --bg: #f6f3ec; --surface: #ffffff; --surface-2: #efe9dc; --ink: #1c2b23; --ink-2: #4c5a52; --ink-3: #7b857f;
  --green: #1f3329; --green-2: #2c4639; --green-3: #14231b; --bronze: #a3854c; --bronze-2: #8a6f3c; --gold: #d9c08a; --line: #e2dccd;
  --good: #1e7d46; --bad: #b3382c;
  --radius: 16px; --shadow: 0 1px 2px rgba(28,43,35,.06), 0 10px 30px rgba(28,43,35,.07);
  --font: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--bronze-2); }
h1, h2, h3, h4 { color: var(--green); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 720px; }
.small { font-size: 13px; color: var(--ink-3); }
.head { margin-bottom: 32px; }

/* tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #fff; text-decoration: none; padding: 14px 22px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s, border-color .15s; }
.btn:hover { background: var(--green-2); transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: var(--green-3); }
.btn.gold:hover { background: #e6d1a2; }
.btn.ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.light:hover { background: rgba(255,255,255,.12); }
.btn.sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; }
.btn.block { width: 100%; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }

/* navigatsiya */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,243,236,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { font-weight: 800; letter-spacing: .16em; color: var(--green); text-decoration: none; font-size: 16px; white-space: nowrap; line-height: 1.15; }
.brand span { display: block; font-weight: 500; letter-spacing: 0; font-size: 11px; color: var(--ink-3); }
.nav nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 11px; border-radius: 8px; white-space: nowrap; }
.nav nav a:hover { background: var(--surface-2); color: var(--green); }
.lang { display: inline-flex; gap: 2px; background: var(--surface-2); border-radius: 9px; padding: 3px; flex-shrink: 0; }
.lang a { padding: 5px 9px; font-size: 12px; font-weight: 800; text-decoration: none; color: var(--ink-2); border-radius: 7px; }
.lang a.on { background: var(--green); color: #fff; }
.nav .docs-btn { background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 8px 11px; border-radius: 8px; }
.nav .docs-btn:hover { background: var(--surface-2); color: var(--green); }
@media (max-width: 1020px) { .nav nav { display: none; } .nav .wrap { justify-content: space-between; } .brand { margin-right: auto; } }
@media (max-width: 520px) { .nav .btn.sm { display: none; } .nav .wrap { gap: 10px; } }

/* hero */
.hero { position: relative; color: #fff; background: var(--green-3); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,27,21,.95) 0%, rgba(16,27,21,.82) 42%, rgba(16,27,21,.28) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 88px 20px 40px; min-height: min(760px, calc(100vh - 64px)); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.86); max-width: 600px; font-size: 19px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; align-self: flex-start; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #5fd08f; box-shadow: 0 0 0 4px rgba(95,208,143,.22); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.2); }
.stats div { padding: 20px 20px 4px 0; }
.stats b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.stats span { font-size: 13px; color: rgba(255,255,255,.72); }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(16,27,21,.82) 0%, rgba(16,27,21,.9) 100%); }
  .hero .wrap { padding: 56px 20px 28px; min-height: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* bo'limlar */
section { padding: 84px 0; }
section.tint { background: var(--surface-2); }
section.dark { background: var(--green); color: #fff; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .eyebrow { color: var(--gold); }
section.dark .lead, section.dark p { color: rgba(255,255,255,.84); }
@media (max-width: 760px) { section { padding: 56px 0; } }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--ink-2); margin: 0; font-size: 15px; }
.feat .n { font-size: 13px; font-weight: 800; color: var(--bronze); letter-spacing: .1em; margin-bottom: 14px; }
.feat h3 { margin-bottom: 8px; }

/* raqamlar */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; }
.nums > div { padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.18); }
.nums > div:last-child { border-right: 0; }
.nums b { display: block; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--gold); }
.nums .l { font-size: 14.5px; font-weight: 700; color: #fff; margin-top: 10px; }
.nums .d { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 4px; }
@media (max-width: 900px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nums > div:nth-child(2) { border-right: 0; } .nums > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); } }
@media (max-width: 520px) { .nums { grid-template-columns: 1fr; } .nums > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); } .nums > div:last-child { border-bottom: 0; } }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.glass { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 24px; }
.glass h3 { margin-bottom: 12px; }
.glass ul { margin: 0; padding: 0; list-style: none; }
.glass li { padding: 9px 0 9px 26px; position: relative; color: rgba(255,255,255,.86); font-size: 15px; border-bottom: 1px dashed rgba(255,255,255,.16); }
.glass li:last-child { border-bottom: 0; }
.glass li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.glass li b { color: #fff; }
.note { font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 18px; max-width: 900px; }

/* qavatlar */
.floors { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 6px; }
.stack button { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; font: inherit; font-weight: 700; font-size: 15px; color: var(--green); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.stack button small { font-weight: 600; font-size: 12.5px; color: var(--ink-3); }
.stack button:hover { border-color: var(--bronze); }
.stack button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.stack button[aria-selected="true"] small { color: rgba(255,255,255,.72); }
.floor-card { padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.floor-card .info { padding: 28px; }
.floor-card .plan { background: #fff; border-left: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 14px; cursor: zoom-in; border-top: 0; border-right: 0; border-bottom: 0; }
.floor-card .plan img { width: 100%; height: auto; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--good); background: #e0f1e6; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.price { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--green); letter-spacing: -.02em; line-height: 1.1; }
.price small { font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.price-sub { font-size: 14px; color: var(--ink-2); margin: 4px 0 18px; }
.spec { display: grid; grid-template-columns: 1fr auto; gap: 0; font-size: 14.5px; margin-bottom: 18px; }
.spec span { padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.spec span:nth-child(even) { font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.uses { font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; }
.uses b { color: var(--ink); }
@media (max-width: 960px) { .floors { grid-template-columns: 1fr; } .stack { flex-direction: row; flex-wrap: wrap; } .stack button { flex: 1 1 calc(50% - 6px); } }
@media (max-width: 700px) { .floor-card { grid-template-columns: 1fr; } .floor-card .plan { border-left: 0; border-top: 1px solid var(--line); order: 2; } .floor-card .info { padding: 22px; } }

/* galereya */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 12px; }
.gallery button { padding: 0; border: 0; background: #fff; border-radius: 14px; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button.fit img { object-fit: contain; padding: 8px; }
.gallery button:hover img { transform: scale(1.03); }
.gallery span { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(20,35,27,.78); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } }

/* joylashuv */
.loc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
#map { min-height: 440px; height: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 1; background: #e6ebe4; }
.dist { list-style: none; margin: 0 0 20px; padding: 0; }
.dist li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--ink-2); }
.dist li b { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.loc .btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .loc { grid-template-columns: 1fr; } #map { min-height: 320px; height: 320px; } }

/* bosqichlar */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; left: 24px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* hujjatlar tasmasi */
.docs-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.docs-band h3 { margin-bottom: 4px; font-size: 21px; }
.docs-band p { margin: 0; color: var(--ink-2); max-width: 640px; }

/* savollar */
.faq { max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 16px; color: var(--green); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--bronze); line-height: 1; transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

/* forma */
.lead-sec { background: var(--green-3); color: #fff; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: center; }
.lead-sec h2 { color: #fff; }
.lead-sec .eyebrow { color: var(--gold); }
.lead-sec .lead { color: rgba(255,255,255,.82); }
.lead-sec ul.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.lead-sec ul.ticks li { padding: 7px 0 7px 28px; position: relative; color: rgba(255,255,255,.86); }
.lead-sec ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 13px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; gap: 28px; } }
.contact { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 34px 28px; box-shadow: 0 20px 60px rgba(0,0,0,.3); text-align: center; }
.contact h3 { font-size: 15px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; margin-bottom: 8px; }
.contact .tel { display: inline-block; font-size: clamp(22px, 7vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; color: var(--green); text-decoration: none; }
.contact .tel:hover { color: var(--bronze-2); }

/* modal oynalar */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(16,27,21,.72); backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal .box { background: var(--bg); border-radius: 20px; width: 100%; max-width: 720px; max-height: calc(100vh - 40px); overflow: auto; padding: 28px; position: relative; }
.modal .x { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--green); font-size: 22px; line-height: 1; cursor: pointer; }
.modal h3 { font-size: 24px; margin-right: 44px; }
.doc-list { display: grid; gap: 10px; margin-top: 18px; }
.doc { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink); transition: border-color .15s; }
.doc:hover { border-color: var(--bronze); }
.doc .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px; background: var(--green); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; }
.doc .ic.xls { background: #1e7d46; color: #fff; } .doc .ic.pdf { background: #b3382c; color: #fff; }
.doc b { display: block; font-size: 15.5px; color: var(--green); }
.doc small { font-size: 13px; color: var(--ink-2); }
.doc .go { margin-left: auto; color: var(--bronze); font-size: 20px; }
.modal.lightbox { padding: 12px; }
.modal.lightbox .box { background: #fff; max-width: 1200px; padding: 12px; }
.modal.lightbox img { width: 100%; height: auto; max-height: calc(100vh - 70px); object-fit: contain; }

/* pastki qism */
footer { background: var(--green-3); color: rgba(255,255,255,.66); padding: 36px 0 90px; font-size: 13px; border-top: 1px solid rgba(255,255,255,.1); }
footer .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
footer .brand { color: #fff; }
footer .brand span { color: rgba(255,255,255,.6); }
footer a, footer button.link { color: rgba(255,255,255,.82); background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
footer p { margin: 0 0 8px; max-width: 900px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(246,243,236,.96); border-top: 1px solid var(--line); display: none; transform: translateY(110%); transition: transform .25s; }
.sticky-cta.show { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: block; } }
@media (min-width: 761px) { footer { padding-bottom: 40px; } }

/* alohida aloqa sahifasi (ariza.html) */
.form-page { min-height: calc(100vh - 64px); display: flex; align-items: center; padding: 56px 0; }
.form-page .lead-grid { width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* bino haqida: rasm + xususiyatlar */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.split .shot { padding: 0; border: 0; background: none; border-radius: 20px; overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); }
.split .shot img { width: 100%; height: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } .split .shot img { aspect-ratio: 16 / 10; } }

/* rasmli kartalar */
.card.pic { padding: 0; overflow: hidden; }
.card.pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card.pic .body { padding: 22px 24px 24px; }

/* to'lov kartalari */
.glass.pay b { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--gold); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 8px; }
.glass.pay h3 { margin-bottom: 6px; }
.glass.pay p { margin: 0; font-size: 15px; }

/* botanika bog'i suratlari */
.garden-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: end; margin-bottom: 16px; }
.garden-head h3 { font-size: 24px; margin: 0; }
.garden-head p { margin: 0; color: var(--ink-2); }
.garden { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 12px; margin-bottom: 34px; }
.garden figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.garden figure:first-child { grid-row: span 2; }
.garden figure:nth-child(2) { grid-column: span 2; }
.garden button { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.garden img { width: 100%; height: 100%; object-fit: cover; }
.garden figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-size: 11.5px; color: rgba(255,255,255,.92); background: linear-gradient(180deg, transparent, rgba(16,27,21,.78)); }
.garden figcaption a { color: #fff; }
@media (max-width: 760px) { .garden-head { grid-template-columns: 1fr; gap: 8px; } .garden { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px 150px; } .garden figure:first-child { grid-row: auto; grid-column: span 2; } }
.garden figure:nth-child(2) img { object-position: 50% 28%; }
