/* =========================================================
   MIRONSHAH MEGA GOLD — dizayn tizimi
   ========================================================= */
:root {
  --primary: #0e5a37;
  --primary-2: #16824e;
  --primary-3: #e8f3ec;
  --gold: #c9971c;
  --gold-2: #e9b949;
  --gold-soft: #fbf3df;
  --ink: #0f1a14;
  --text: #2b3a32;
  --muted: #627168;
  --line: #e3e9e5;
  --bg: #f6f8f6;
  --card: #ffffff;
  --dark: #0b1f16;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 40, 28, .05), 0 8px 24px rgba(16, 40, 28, .07);
  --shadow-lg: 0 20px 50px rgba(16, 40, 28, .16);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font: 16px/1.65 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
svg.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.no-scroll { overflow: hidden; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  background: var(--primary); color: #fff; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { color: #fff; background: var(--primary-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 90, 55, .25); }
.btn:active { transform: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1d1503; }
.btn-gold:hover { background: linear-gradient(135deg, #f2c75f, #d6a42a); color: #1d1503; box-shadow: 0 10px 24px rgba(201, 151, 28, .35); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn-ghost:hover { background: var(--primary-3); color: var(--primary); box-shadow: none; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.22); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.wa-icon { color: #1fa855; }
.cta-contacts a.wa { background: #25d366; }
.cta-contacts a.wa:hover { background: #1ebe5a; }
.side-card .btn-wa { width: 100%; margin-bottom: 10px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--dark); color: #b9c8bf; font-size: 14px; }
.topbar .container { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar a { color: #dfe9e3; }
.topbar a:hover { color: var(--gold-2); }
.topbar .sp { flex: 1; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; color: #cfdcd4; }
.lang-switch a.active { background: var(--gold-2); color: #1d1503; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(16,40,28,.08); border-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand b { display: block; font-size: 17px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.brand small { max-width: 220px; display: block; font-size: 12px; color: var(--muted); line-height: 1.3; margin-top: 3px; }
.nav { flex: 1; display: flex; justify-content: center; }
.menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { white-space: nowrap; display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 15px; }
.menu > li > a:hover, .menu > li.active > a { background: var(--primary-3); color: var(--primary); }
.menu .chev { width: 14px; height: 14px; transition: transform .2s; }
.has-sub:hover .chev { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: 50%; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .2s var(--ease); }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: 15px; }
.sub a:hover { background: var(--primary-3); color: var(--primary); }
.sub a svg { color: var(--primary-2); }
.menu > li.menu-home { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s .35s; }
.drawer.open { visibility: visible; transition: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(5,15,10,.5); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: #fff; padding: 20px; overflow-y: auto;
  transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; gap: 16px; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer nav a { display: block; padding: 12px 4px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer nav a.sub-link { padding-left: 20px; font-weight: 500; color: var(--text); font-size: 15px; }
.drawer .contacts a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 700; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s, transform 7s linear; position: absolute; inset: 0; }
.hero-bg img.active { opacity: 1; transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,26,17,.94) 0%, rgba(8,40,25,.82) 45%, rgba(8,40,25,.35) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 110px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--gold-2), #f7dc8f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #d4e2da; max-width: 640px; margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(233,185,73,.14); color: var(--gold-2); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow.dark { background: var(--gold-soft); color: #8a6510; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: #c4d4ca; font-size: 14px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { color: var(--gold-2); }

.stats { position: relative; z-index: 3; margin-top: -56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--primary); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section.alt { background: #fff; }
.section.dark { background: var(--dark); color: #c9d6ce; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }
.dark .section-head p { color: #a9bbb0; }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.product-img { aspect-ratio: 4 / 3; overflow: hidden; background: #e9efeb; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product-img img { transform: scale(1.07); }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: 15px; flex: 1; }
.product-price { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.product-price b { color: var(--primary); font-size: 16px; }
.tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--gold-2); color: #1d1503; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.feature:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--primary-3); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.dark .feature p { color: #a9bbb0; }
.dark .feature-icon { background: rgba(233,185,73,.14); color: var(--gold-2); }

/* Selector (quiz) */
.picker { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 36px; }
.picker-q { margin-bottom: 26px; }
.picker-q > b { display: block; margin-bottom: 12px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--text); transition: .2s; }
.chip:hover { border-color: var(--primary-2); }
.chip[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-3); color: var(--primary); }
.picker-result { border-radius: 18px; background: linear-gradient(160deg, var(--primary), #0a3f27); color: #d5e4db; padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 320px; }
.picker-result::after { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(233,185,73,.35), transparent 70%); pointer-events: none; }
.picker-result h3 { color: #fff; font-size: 26px; }
.picker-result .muted { color: #9fb6a9; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 10px; }
.picker-result ul { list-style: none; padding: 0; margin: 0 0 22px; }
.picker-result li { display: flex; gap: 10px; margin-bottom: 8px; }
.picker-result li svg { color: var(--gold-2); margin-top: 3px; }
.picker-result .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.picker-result.pulse { animation: pulse .5s var(--ease); }
@keyframes pulse { 0% { transform: scale(.98); opacity: .6; } 100% { transform: none; opacity: 1; } }

/* Process steps */
.steps { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.step-list { display: flex; flex-direction: column; gap: 8px; counter-reset: s; }
.step-btn { display: flex; gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 14px; border: 1px solid transparent; background: transparent; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.3; color: #a9bbb0; transition: .2s; }
.step-btn::before { counter-increment: s; content: counter(s, decimal-leading-zero); flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); font-size: 15px; }
.step-btn:hover { color: #fff; }
.step-btn[aria-selected="true"] { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #fff; }
.step-btn[aria-selected="true"]::before { background: var(--gold-2); color: #1d1503; }
.step-panel { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 36px; min-height: 300px; }
.step-panel[hidden] { display: none; }
.step-panel .big-num { font-size: 64px; font-weight: 800; line-height: 1; color: var(--gold-2); margin-bottom: 8px; }
.step-panel p { font-size: 17px; }
.progress { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; margin-top: 24px; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold-2); transition: width .4s var(--ease); }

/* Compare toggle */
.toggle { display: inline-flex; background: #e9efeb; padding: 5px; border-radius: 999px; margin-bottom: 26px; }
.toggle button { border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1; color: var(--muted); cursor: pointer; transition: .2s; }
.toggle button[aria-selected="true"] { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.compare-pane[hidden] { display: none; }
.compare-img { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.compare-img img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; }
.checklist li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { color: var(--primary-2); margin-top: 3px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-3); color: var(--primary); display: grid; place-items: center; font-size: 20px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 20px; color: var(--muted); }

/* Articles */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.post time { color: var(--gold); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.post h3 { font-size: 19px; margin: 10px 0; }
.post p { color: var(--muted); font-size: 15px; flex: 1; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: var(--dark); color: #cddad2; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,26,17,.95), rgba(6,26,17,.6)); }
.page-hero .container { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); max-width: 820px; }
.page-hero p { max-width: 720px; font-size: 18px; color: #bccbc2; margin: 0; }
.crumbs { font-size: 14px; margin-bottom: 18px; color: #8fa699; }
.crumbs a { color: #bccbc2; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span { margin: 0 6px; opacity: .6; }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.spec-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 600; font-size: 14px; }
.spec-chip svg { color: var(--gold-2); }

.layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.prose { min-width: 0; }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316824e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.prose ol { counter-reset: o; }
.prose ol li { position: relative; padding-left: 46px; margin-bottom: 14px; min-height: 32px; }
.prose ol li::before { counter-increment: o; content: counter(o); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.prose img { border-radius: var(--radius); }
.lead { font-size: 19px; color: var(--ink); }
.callout { display: flex; gap: 14px; background: var(--gold-soft); border: 1px solid #f1e0b5; border-radius: 14px; padding: 18px 20px; margin: 22px 0; color: #5d4710; }
.callout svg { color: var(--gold); width: 24px; height: 24px; margin-top: 2px; }
.callout.green { background: var(--primary-3); border-color: #cfe5d8; color: #164a30; }
.callout.green svg { color: var(--primary-2); }
.callout p:last-child { margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 1.4em; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.box h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.box h3 svg { color: var(--primary-2); }
.box ul:last-child, .box p:last-child { margin-bottom: 0; }

.specs { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 1.4em; }
.specs td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child td { border-bottom: 0; }
.specs td:first-child { color: var(--muted); width: 55%; }
.specs td:last-child { font-weight: 700; color: var(--ink); }

.side-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px; }
.side-card .price-label { color: var(--muted); font-size: 14px; }
.side-card .price { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 4px; }
.side-card .note { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.side-card .btn { width: 100%; margin-bottom: 10px; }
.side-card .perks { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.side-card .perks li { display: flex; gap: 10px; margin-bottom: 8px; }
.side-card .perks svg { color: var(--primary-2); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 22px 0 28px; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #e9efeb; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); border-radius: 0; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after { content: ''; position: absolute; inset: 0; background: rgba(14,90,55,0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 0 no-repeat; transition: .3s; }
.gallery a:hover::after { background-color: rgba(14,90,55,.35); background-size: 40px; }
.gallery.wide a { aspect-ratio: auto; }
.gallery.wide img { height: auto; }

/* Price list */
.price-list { display: grid; gap: 14px; margin-bottom: 36px; }
.price-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; transition: box-shadow .2s, border-color .2s; }
.price-row:hover { box-shadow: var(--shadow); border-color: transparent; }
.price-row img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.price-row h3 { font-size: 17px; margin: 0 0 4px; }
.price-row h3 a { color: var(--ink); }
.price-row h3 a:hover { color: var(--primary-2); }
.price-row p { margin: 0; color: var(--muted); font-size: 14px; }
.price-row .amount { text-align: right; white-space: nowrap; }
.price-row .amount small { display: block; color: var(--muted); font-size: 12px; }
.price-row .amount b { font-size: 20px; color: var(--primary); }

/* Contacts */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.contact-card .feature-icon { margin-bottom: 14px; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.contact-card a, .contact-card b { font-weight: 700; color: var(--ink); display: block; }
.contact-card a:hover { color: var(--primary-2); }
.contact-card .btn { display: inline-flex; margin-top: 12px; color: #fff; }
.contact-card .btn:hover { color: #fff; }
.map { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); display: block; }
.req { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; font-size: 15px; }
.req p { margin: 0 0 4px; }

/* ---------- CTA + Forms ---------- */
.cta { padding: 88px 0; background: radial-gradient(1200px 400px at 10% 0%, rgba(233,185,73,.16), transparent 60%), linear-gradient(160deg, #0c4a2e, var(--dark)); color: #c9d6ce; }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.cta h2 { color: #fff; }
.cta-list { list-style: none; padding: 0; margin: 26px 0; }
.cta-list li { display: flex; gap: 12px; margin-bottom: 12px; }
.cta-list svg { color: var(--gold-2); margin-top: 3px; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); }
.cta-contacts a:hover { background: rgba(255,255,255,.15); color: #fff; }
.form-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 30px 60px rgba(0,0,0,.25); color: var(--text); }
.form-card h3 { font-size: 22px; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: 15px; }

.lead-form { display: grid; gap: 14px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 8px; font-family: inherit; font-weight: 500; font-size: 16px; line-height: 1.3; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; background-color: #fbfcfb; transition: border-color .2s, background-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23627168' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field textarea { min-height: 100px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 15px; color: var(--muted); font-size: 16px; pointer-events: none; transition: .18s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary-2); background-color: #fff; box-shadow: 0 0 0 4px rgba(22,130,78,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 6px; font-size: 12px; font-weight: 700; color: var(--primary-2); }
.field.invalid input { border-color: #d64545; background-color: #fff7f7; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--primary); flex: none; margin-top: 1px; }
.form-msg { font-size: 15px; border-radius: 12px; }
.form-msg:empty { display: none; }
.form-msg.err { color: #a12b2b; background: #fdecec; padding: 12px 14px; }
.form-success { text-align: center; padding: 26px 10px; }
.form-success[hidden] { display: none; }
.form-success .ok-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--primary-3); color: var(--primary-2); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .5s var(--ease); }
.form-success .ok-icon svg { width: 38px; height: 38px; stroke-width: 3; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: none; opacity: 1; } }
.secure { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; justify-content: center; margin: 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5,15,10,.6); backdrop-filter: blur(4px); overflow-y: auto; animation: fade .2s; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: 100%; max-width: 560px; margin: auto; background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); animation: rise .3s var(--ease); }
.modal-box h2 { font-size: 26px; margin-bottom: 6px; padding-right: 40px; }
.modal-box > p { color: var(--muted); }
.modal-close { position: absolute; top: 18px; right: 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(3,10,6,.92); display: flex; align-items: center; justify-content: center; padding: 60px 70px; animation: fade .2s; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 10px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; color: #bbb; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #07150e; color: #93a69b; font-size: 15px; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #c3d1c8; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 56px; height: 56px; background: #fff; border-radius: 50%; padding: 5px; }
.footer-brand b { color: #fff; font-size: 17px; letter-spacing: .02em; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { color: var(--gold-2); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Floating UI ---------- */
.mobile-bar { display: none; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; box-shadow: 0 12px 30px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float { width: 58px; padding: 0; justify-content: center; }
.wa-float span { position: absolute; right: 70px; white-space: nowrap; background: var(--ink); color: #fff; font-size: 14px; padding: 8px 12px; border-radius: 10px; opacity: 0; transform: translateX(8px); transition: .2s; pointer-events: none; }
.wa-float:hover span { opacity: 1; transform: none; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: wa-ring 2.4s infinite; }
@keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
.to-top { position: fixed; right: 22px; bottom: 92px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 420px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px 22px; font-size: 14px; color: var(--muted); animation: rise .4s var(--ease); }
.cookie[hidden] { display: none; }
.cookie b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.cookie p { margin-bottom: 14px; }
.toast { position: fixed; left: 50%; top: 20px; transform: translate(-50%, -150%); z-index: 130; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); display: flex; gap: 10px; align-items: center; font-weight: 600; }
.toast.show { transform: translate(-50%, 0); }
.toast svg { color: var(--gold-2); }

/* Scroll reveal (faqat JS ishlaganda) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 404 / search */
.empty { text-align: center; padding: 90px 0; }
.empty .code { font-size: 120px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--primary-2), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search-big { display: flex; gap: 10px; max-width: 640px; margin-bottom: 30px; }
.search-big input { flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; }
.search-big input:focus { outline: none; border-color: var(--primary-2); }
.result { display: block; background: #fff; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 12px; box-shadow: var(--shadow); color: var(--text); }
.result:hover { color: var(--text); box-shadow: var(--shadow-lg); }
.result h3 { color: var(--primary); margin-bottom: 6px; }
.result p { margin: 0; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu > li > a { padding: 10px 10px; font-size: 14px; }
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .header-row { justify-content: space-between; }
  .layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .step-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .step-btn { flex: none; }
  .picker, .cta-grid, .compare { grid-template-columns: 1fr; }
  .features, .posts { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 72px; }
  .container { padding: 0 16px; }
  .topbar .hide-sm { display: none; }
  .topbar .container { gap: 14px; justify-content: space-between; }
  .topbar .sp { display: none; }
  .brand img { width: 42px; height: 42px; }
  .brand b { font-size: 15px; }
  .brand small { display: none; }
  .hero .container { padding-top: 56px; padding-bottom: 92px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .section { padding: 60px 0; }
  .products, .features, .posts, .grid-2, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .picker { padding: 22px; border-radius: 20px; }
  .lead-form .row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; border-radius: 20px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 24px 24px 0 0; padding: 26px 20px 30px; max-height: 92vh; overflow-y: auto; }
  .price-row { grid-template-columns: 52px 1fr; }
  .price-row img { width: 52px; height: 52px; }
  .price-row .amount { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .price-row .btn { grid-column: 1 / -1; }
  .step-panel { padding: 24px; }
  .lightbox { padding: 60px 10px; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 52px 1fr 1.3fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { padding: 13px 8px; font-size: 15px; gap: 6px; }
  .to-top { bottom: 86px; right: 14px; width: 42px; height: 42px; }
  .cookie { left: 10px; right: 10px; bottom: 80px; max-width: none; }
  .footer-bottom .container { flex-direction: column; }
}
