/* =========================================================
   Packs.uz — Asosiy dizayn
   Ranglar: brend navy (#0A1D42) + kraft-oltin
   Mavzu: html[data-theme="dark" | "light"]
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --f-display: "Unbounded", "Onest", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --hdr-h: 84px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --navy: #0A1D42;
  --kraft: #C9995A;
}

:root,
[data-theme="dark"] {
  --bg: #070B16;
  --bg-2: #0A1020;
  --surface: #0E1628;
  --surface-2: #131E35;
  --surface-3: #1A2742;
  --line: rgba(226, 232, 245, .08);
  --line-2: rgba(226, 232, 245, .16);
  --text: #EEF1F7;
  --muted: #9CA8BE;
  --dim: #66728B;
  --accent: #D6A86A;
  --accent-2: #F1CD95;
  --accent-ink: #160F05;
  --accent-soft: rgba(214, 168, 106, .12);
  --glow: rgba(214, 168, 106, .30);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .75);
  --shadow-sm: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --glass: rgba(14, 22, 40, .62);
  --partner-bg: rgba(255, 255, 255, .94);
  --map-filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F6F2EA;
  --bg-2: #EFE8DB;
  --surface: #FFFFFF;
  --surface-2: #F4EEE3;
  --surface-3: #EAE1D2;
  --line: rgba(10, 29, 66, .09);
  --line-2: rgba(10, 29, 66, .18);
  --text: #0A1D42;
  --muted: #4A5877;
  --dim: #8591A8;
  --accent: #B07636;
  --accent-2: #C9995A;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(176, 118, 54, .10);
  --glow: rgba(176, 118, 54, .22);
  --shadow: 0 30px 70px -30px rgba(10, 29, 66, .28);
  --shadow-sm: 0 10px 30px -14px rgba(10, 29, 66, .25);
  --glass: rgba(255, 255, 255, .72);
  --partner-bg: #FFFFFF;
  --map-filter: none;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- Layout & type ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.h2, .h3, .hero__title, .cta__title, .phero__title {
  font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.04;
}
.h2 { font-size: clamp(2rem, 4.6vw, 4rem); margin-top: 18px; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-top: 14px; }
.h2 em, .hero__title em, .cta__title em, .phero__title em, .h3 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); margin-top: 22px; max-width: 56ch; }

.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; margin-bottom: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.shead > div { max-width: 820px; }
.shead__sub { max-width: 40ch; color: var(--muted); font-size: 1.05rem; }

/* split text */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .4s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.btn .ic { transition: transform .5s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 40px -12px var(--glow); }
.btn--primary::before { background: var(--text); }
.btn--primary:hover { color: var(--bg); box-shadow: 0 18px 50px -10px var(--glow); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }
.btn--block { width: 100%; }

.link-line { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, transform .4s var(--ease), color .3s; }
.icon-btn:hover { background: var(--text); color: var(--bg); transform: rotate(90deg); }

.chip {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: all .35s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; background: #050812; color: #EEF1F7; }
.is-returning .preloader, .no-js .preloader { display: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__bag { width: 64px; height: 64px; fill: none; stroke: var(--kraft); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__word { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 7vw, 4.6rem); letter-spacing: -.02em; display: flex; overflow: hidden; }
.preloader__word span { display: inline-block; transform: translateY(110%); animation: up .9s var(--ease) forwards; }
.preloader__word span:nth-child(n+6) { color: var(--kraft); }
.preloader__word span:nth-child(1) { animation-delay: .05s } .preloader__word span:nth-child(2) { animation-delay: .1s }
.preloader__word span:nth-child(3) { animation-delay: .15s } .preloader__word span:nth-child(4) { animation-delay: .2s }
.preloader__word span:nth-child(5) { animation-delay: .25s } .preloader__word span:nth-child(6) { animation-delay: .3s }
.preloader__word span:nth-child(7) { animation-delay: .35s } .preloader__word span:nth-child(8) { animation-delay: .4s }
@keyframes up { to { transform: translateY(0); } }
.preloader__count { font-variant-numeric: tabular-nums; font-size: 13px; letter-spacing: .2em; color: #8D99B1; }
.preloader__bar { width: 220px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--kraft); }
.preloader__curtain { position: absolute; inset: 0; background: var(--bg); transform: translateY(100%); }
.preloader.is-done { pointer-events: none; }

/* ---------- Page transition (yengil) ---------- */
.pt { position: fixed; inset: 0; z-index: 800; pointer-events: none; background: var(--bg); opacity: 0; transition: opacity .35s ease; }
.pt.is-on { opacity: 1; pointer-events: auto; transition-duration: .2s; }

/* ---------- Grain, progress, cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 600; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
[data-theme="light"] .grain { opacity: .06; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-5%,4%) } 40% { transform: translate(4%,-6%) } 60% { transform: translate(-3%,5%) } 80% { transform: translate(6%,-2%) } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 700; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(0); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 950; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
  .cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid var(--line-2);
    display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s;
  }
  .cursor__label { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: .35s var(--ease); }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); background: var(--accent-soft); }
  .cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border-color: var(--accent); }
  .cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 14px var(--gutter) 0; transition: transform .32s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.hdr__inner {
  max-width: var(--wrap); margin: 0 auto; height: 64px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hdr.is-scrolled .hdr__inner { background: var(--glass); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--shadow-sm); }
.hdr.is-hidden { transform: translateY(-120%); }
.hdr__logo { display: block; width: 128px; flex-shrink: 0; }
.hdr__logo img { width: 100%; height: auto; }
.logo-for-dark { display: none !important; }
[data-theme="dark"] .logo-for-light { display: none !important; }
[data-theme="dark"] .logo-for-dark { display: block !important; }
/* hero ustida — doim oq logo */
.has-hero:not(.menu-open) .hdr:not(.is-scrolled) .logo-for-light { display: none !important; }
.has-hero:not(.menu-open) .hdr:not(.is-scrolled) .logo-for-dark { display: block !important; }
.has-hero:not(.menu-open) .hdr:not(.is-scrolled) { --text: #EEF1F7; --line-2: rgba(255,255,255,.22); --muted: #C6CEDD; color: #EEF1F7; }

.hdr__nav ul { display: flex; gap: 4px; }
.hdr__link { position: relative; display: block; padding: 10px 14px; font-size: 14px; font-weight: 500; overflow: hidden; height: 42px; color: var(--text); }
.hdr__link span, .hdr__link::after { display: block; transition: transform .55s var(--ease); }
.hdr__link::after { content: attr(data-text); position: absolute; left: 14px; top: 100%; color: var(--accent); }
.hdr__link:hover span, .hdr__link:hover::after { transform: translateY(-100%); }
.hdr__link::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease); }
.hdr__link.is-active::before { transform: translateX(-50%) scale(1); }

.hdr__tools { display: flex; align-items: center; gap: 8px; }
.tool-btn { height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--text); transition: background .3s, color .3s, border-color .3s; }
.tool-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.lang { position: relative; }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: .35s var(--ease); color: var(--text);
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--text); }
.lang__menu a b { font-size: 11px; width: 30px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.lang__menu a:hover, .lang__menu a.is-active { background: var(--surface-2); }
.lang__menu a.is-active b { background: var(--accent); color: var(--accent-ink); }

.theme-toggle { position: relative; width: 44px; padding: 0; overflow: hidden; }
.theme-toggle__icon { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .6s var(--ease), opacity .4s; }
.theme-toggle__sun { transform: translateY(0) rotate(0); }
.theme-toggle__moon { transform: translateY(120%) rotate(-90deg); opacity: 0; }
[data-theme="light"] .theme-toggle__sun { transform: translateY(-120%) rotate(90deg); opacity: 0; }
[data-theme="light"] .theme-toggle__moon { transform: none; opacity: 1; }

.quote-btn { position: relative; height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; transition: box-shadow .4s, transform .4s var(--ease); }
.quote-btn:hover { box-shadow: 0 10px 30px -8px var(--glow); }
.quote-btn__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--accent-ink); color: var(--accent); font-size: 11px; display: grid; place-items: center; }
.quote-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.15) } 60% { transform: scale(.95) } }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 450; visibility: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hdr-h) + 16px) var(--gutter) 24px; overflow-y: auto; overscroll-behavior: contain; }
.mmenu__bg { position: absolute; inset: 0; background: var(--bg); clip-path: circle(0% at calc(100% - 48px) 46px); transition: clip-path .9s var(--ease-io); }
.menu-open .mmenu { visibility: visible; }
.menu-open .mmenu__bg { clip-path: circle(150% at calc(100% - 48px) 46px); }
.mmenu__nav { position: relative; display: flex; flex-direction: column; }
.mmenu__link { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(1.3rem, 5.6vw, 1.85rem); font-weight: 600; letter-spacing: -.03em; overflow: hidden; }
.mmenu__link small { font-family: var(--f-body); font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.mmenu__link span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); }
.menu-open .mmenu__link span { transform: none; }
.mmenu__link.is-active span { color: var(--accent); }
.mmenu__foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; opacity: 0; transition: opacity .5s .4s; }
.menu-open .mmenu__foot { opacity: 1; }
.menu-open .fab, .menu-open .hdr__inner { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
.menu-open .fab { opacity: 0; pointer-events: none; }
.mmenu__langs { display: flex; gap: 6px; }
.mmenu__langs a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.mmenu__langs a.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mmenu__phone { font-weight: 600; }
@media (min-width: 1081px) { .mmenu { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #EEF1F7; overflow: hidden; background: #050812; }
.hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; clip-path: inset(0 0 0 100%); }
.hero__slide.is-active { opacity: 1; clip-path: inset(0 0 0 0); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) } to { transform: scale(1.0) } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 22, .94) 0%, rgba(5, 9, 22, .74) 38%, rgba(5, 9, 22, .25) 75%, rgba(5, 9, 22, .15) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 9, 22, 0) 28%);
}
.hero__inner { position: relative; z-index: 2; padding-top: calc(var(--hdr-h) + 40px); padding-bottom: 140px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero__texts { display: grid; max-width: 860px; }
.hero__text { grid-area: 1 / 1; visibility: hidden; }
.hero__text.is-active { visibility: visible; }
.no-js .hero__text:not(.is-active) { display: none; }
.hero__tag { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; font-size: 13px; font-weight: 500; letter-spacing: .02em; background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--kraft); box-shadow: 0 0 0 0 rgba(201,153,90,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(201,153,90,0) } 100% { box-shadow: 0 0 0 0 rgba(201,153,90,0) } }
.hero__title { font-size: clamp(2.3rem, 5.6vw, 5.2rem); margin: 26px 0 24px; text-wrap: balance; }
.hero__title em { background-image: linear-gradient(100deg, #D6A86A 0%, #F6D8A6 50%, #D6A86A 100%); }
.hero__sub { font-size: clamp(1rem, 1.3vw, 1.18rem); color: rgba(238, 241, 247, .78); max-width: 54ch; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero .btn--primary { background: var(--kraft); color: #160F05; }
.hero .btn--primary::before, .hero .btn--ghost::before { background: #fff; }
.hero .btn--primary:hover, .hero .btn--ghost:hover { color: #0A1D42; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }

.hero__badge { position: relative; width: 168px; height: 168px; flex-shrink: 0; margin-bottom: 8px; }
.hero__badge > svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero__badge text { font-size: 13.4px; font-weight: 600; letter-spacing: .16em; fill: rgba(255,255,255,.85); font-family: var(--f-body); }
.hero__badge-core { position: absolute; inset: 42px; border-radius: 50%; background: var(--kraft); display: grid; place-items: center; }
.hero__badge-core svg { width: 44%; fill: none; stroke: #0A1D42; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__bar { position: absolute; left: 0; right: 0; bottom: 36px; padding-right: calc(var(--gutter) + 84px); z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero__nav { display: flex; gap: 22px; }
.hero__dot { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 600; letter-spacing: .08em; transition: color .3s; }
.hero__dot.is-active, .hero__dot:hover { color: #fff; }
.hero__dot-track { width: 72px; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
.hero__dot-track i { display: block; height: 100%; width: 100%; background: var(--kraft); transform: scaleX(0); transform-origin: left; }
.hero__scroll { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__scroll i { width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 20px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--kraft); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(14px) } }

/* ---------- Facts ---------- */
.facts { position: relative; z-index: 2; padding-block: 24px 40px; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 36px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__num { font-family: var(--f-display); font-size: clamp(2.4rem, 4.4vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact__num sup { font-size: .42em; color: var(--accent); vertical-align: top; margin-left: 4px; top: .3em; position: relative; }
.fact__lbl { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- Marquee ---------- */
.marquee { padding-block: clamp(30px, 6vw, 70px); overflow: hidden; }
.marquee__row { overflow: hidden; white-space: nowrap; }
.marquee__row + .marquee__row { margin-top: 6px; }
.marquee__track { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); will-change: transform; }
.marquee__item { font-family: var(--f-display); font-size: clamp(2.6rem, 7.4vw, 7rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.marquee__item.is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.marquee__star { color: var(--accent); font-size: clamp(1.4rem, 3vw, 2.6rem); }
.no-motion .marquee__track, .reduce .marquee__track { animation: marq 40s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Products ---------- */
.filters { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); margin-bottom: 40px; }
.filters__pill { position: absolute; top: 6px; left: 6px; height: calc(100% - 12px); border-radius: 999px; background: var(--text); transition: transform .6s var(--ease), width .6s var(--ease); z-index: 0; }
.filter { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .4s; }
.filter sup { font-size: 10px; margin-left: 4px; opacity: .7; }
.filter:hover { color: var(--text); }
.filter.is-active { color: var(--bg); }
.no-js .filter.is-active, .filters:not(.is-ready) .filter.is-active { background: var(--text); }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .6s var(--ease), transform .6s var(--ease);
}
.pcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.pcard.is-hidden { display: none; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 10px 10px 0; border-radius: calc(var(--r-lg) - 10px); background: var(--surface-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.pcard:hover .pcard__media img { transform: scale(1.08); }
.pcard__sku, .pcard__moq { position: absolute; top: 14px; padding: 6px 12px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .06em; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pcard__sku { left: 14px; background: rgba(5, 9, 22, .6); color: #fff; }
.pcard__moq { right: 14px; background: rgba(255,255,255,.88); color: #0A1D42; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pcard__cat { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.pcard__name { font-family: var(--f-display); font-size: 1.32rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 10px 0 10px; }
.pcard__desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.pcard__add { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 6px 18px 6px 6px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: background .4s, color .4s, border-color .4s; }
.pcard__add-ic { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transition: transform .5s var(--ease); }
.pcard__add-ic .ic { position: absolute; transition: transform .45s var(--ease), opacity .3s; }
.pcard__add .i-check { transform: scale(0); opacity: 0; }
.pcard__add:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.pcard__add:hover .pcard__add-ic { transform: rotate(90deg); }
.pcard__add.is-added .i-plus { transform: scale(0); opacity: 0; }
.pcard__add.is-added .i-check { transform: scale(1); opacity: 1; }
.pcard__add.is-added .pcard__add-ic { background: #3BB273; color: #fff; transform: none; }
.pcard__glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .5s; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255,255,255,.10), transparent 40%); mix-blend-mode: overlay; }
.pcard:hover .pcard__glare { opacity: 1; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__visual { position: sticky; top: calc(var(--hdr-h) + 24px); }
.why__img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.why__img img { width: 100%; height: 120%; object-fit: cover; margin-top: -10%; }
.why__stamp { position: absolute; right: -18px; bottom: 36px; width: 170px; height: 170px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); }
.why__stamp b { font-family: var(--f-display); font-size: 2.8rem; line-height: 1; letter-spacing: -.04em; }
.why__stamp span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.bento__item, .review, .step, .vcard {
  --sx: 50%; --sy: 50%;
  position: relative; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .4s, transform .6s var(--ease);
}
[data-spotlight]::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--sx) var(--sy), var(--accent-soft), transparent 45%); }
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight]:hover { border-color: var(--line-2); }
.bento__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; font-size: 22px; transition: transform .6s var(--ease); }
.bento__item:hover .bento__ic { transform: rotate(-8deg) scale(1.08); }
.bento__item h3 { font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.bento__item p { color: var(--muted); font-size: 14.5px; }
.bento__n { position: absolute; top: 24px; right: 26px; font-size: 12px; font-weight: 600; color: var(--dim); letter-spacing: .1em; }

/* ---------- Process ---------- */
.process { position: relative; background: var(--bg-2); overflow: hidden; }
.process__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(80px, 10vw, 120px); }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.process__track { position: relative; display: flex; gap: 24px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); width: max-content; }
.process__line { position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: -28px; height: 2px; background: var(--line); border-radius: 2px; }
.process__line i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(0); }
.step { width: min(420px, 78vw); min-height: 340px; padding: 36px; display: flex; flex-direction: column; border-radius: var(--r-lg); }
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.step__num { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .14em; }
.step__ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 24px; }
.step h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; margin: 60px 0 12px; }
.step p { color: var(--muted); }
.step__big { position: absolute; right: -10px; bottom: -40px; font-family: var(--f-display); font-size: 11rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); z-index: -1; letter-spacing: -.06em; }

/* ---------- Calculator ---------- */
.calc__box { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.calc__form, .calc__result { min-width: 0; }
.calc__form { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 30px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.calc__label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--dim); }
.calc__label small b { color: var(--accent); }
.calc__types { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__qty { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.calc__qty input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.03em; -moz-appearance: textfield; }
.calc__qty input::-webkit-outer-spin-button, .calc__qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc__qty span { color: var(--muted); font-weight: 500; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 22px 0 16px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p, 20%), var(--line-2) var(--p, 20%)); outline: 0; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 6px solid var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); transition: transform .3s var(--ease); }
.range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 6px solid var(--accent); }
.calc__presets { display: flex; flex-wrap: wrap; gap: 6px; }
.calc__presets button { padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--muted); background: var(--surface-2); transition: .3s; font-variant-numeric: tabular-nums; }
.calc__presets button:hover { color: var(--text); }
.calc__presets button.is-active { background: var(--accent); color: var(--accent-ink); }
.seg { position: relative; display: flex; padding: 5px; border-radius: 16px; background: var(--surface-2); gap: 4px; }
.seg__btn { flex: 1; padding: 12px 10px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--muted); transition: .35s var(--ease); }
.seg__btn:hover { color: var(--text); }
.seg__btn.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .seg__btn.is-active { background: var(--surface-3); }
.calc__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calc__result { position: relative; padding: clamp(24px, 4vw, 48px); background: #0A1D42; color: #EEF1F7; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
[data-theme="dark"] .calc__result { background: linear-gradient(160deg, #13244A 0%, #0A142B 100%); }
.calc__result .calc__label { color: rgba(238,241,247,.6); }
.calc__result-glow { position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(214,168,106,.45), transparent 65%); z-index: -1; filter: blur(10px); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-40px, 40px) scale(1.1); } }
.calc__price { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-display); font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__price small { font-family: var(--f-body); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: #D6A86A; }
.calc__range-txt { margin-top: 10px; color: rgba(238,241,247,.6); font-size: 14px; }
.calc__lines { margin: 30px 0 26px; border-top: 1px solid rgba(255,255,255,.1); }
.calc__lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14.5px; }
.calc__lines dt { color: rgba(238,241,247,.65); }
.calc__lines dd { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.calc__lines .is-accent { color: #6FD6A0; }
.calc__total { font-size: 1.1rem !important; }
.calc__total dd { font-family: var(--f-display); color: #F1CD95; }
.calc__result .btn--primary { background: #D6A86A; color: #160F05; margin-top: auto; }
.calc__result .btn--primary::before { background: #fff; }
.calc__note { display: flex; gap: 10px; margin-top: 18px; font-size: 13px; color: rgba(238,241,247,.55); line-height: 1.5; }
.calc__note .ic { margin-top: 2px; color: #D6A86A; }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 34px; display: flex; flex-direction: column; border-radius: var(--r-lg); }
.review__stars { display: flex; gap: 3px; color: var(--accent); }
.review__q { position: absolute; top: -10px; right: 22px; font-family: var(--f-display); font-size: 8rem; line-height: 1; color: var(--accent-soft); z-index: -1; }
.review blockquote { font-size: 1.08rem; line-height: 1.6; margin: 22px 0 30px; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.review__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.review figcaption b { display: block; font-weight: 600; }
.review figcaption small { color: var(--muted); font-size: 13px; }

/* ---------- Partners ---------- */
.partners { padding-block: 0 clamp(80px, 10vw, 140px); }
.partners__head { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
.partners__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.partners__row .marquee__track { gap: 18px; padding-right: 18px; }
.partner { width: 200px; height: 100px; flex-shrink: 0; border-radius: 20px; background: var(--partner-bg); border: 1px solid var(--line); display: grid; place-items: center; padding: 18px 28px; }
.partner img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .5s, opacity .5s, transform .5s var(--ease); }
.partner:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--hdr-h) + 40px); }
.faq__side .btn { margin-top: 32px; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; gap: 20px; padding: 28px 0; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc__n { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.acc__q { flex: 1; font-family: var(--f-display); font-size: clamp(1.02rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; transition: color .3s; }
.acc summary:hover .acc__q { color: var(--accent); }
.acc__ic { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; transition: transform .5s var(--ease), background .3s, color .3s; }
.acc[open] .acc__ic { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.acc__a { overflow: hidden; }
.acc__a p { padding: 0 62px 28px 42px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; padding-block: clamp(100px, 14vw, 200px); overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.cta__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -40%; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 60%); filter: blur(20px); opacity: .7; pointer-events: none; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(2.4rem, 7vw, 6.4rem); margin: 22px 0 22px; max-width: 14ch; text-wrap: balance; }
.cta__sub { color: var(--muted); font-size: 1.15rem; }
.cta__actions { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.cta__circle { width: 184px; height: 184px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; position: relative; transition: box-shadow .5s; box-shadow: 0 30px 80px -20px var(--glow); }
.cta__circle::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed var(--accent); opacity: .5; animation: spin 20s linear infinite; }
.cta__circle .ic { width: 28px; height: 28px; transition: transform .5s var(--ease); }
.cta__circle:hover .ic { transform: rotate(45deg); }
.cta__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; color: var(--muted); }
.cta__links a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.ftr { padding-top: 90px; background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
.ftr__logo { display: block; width: 150px; margin-bottom: 22px; }
.ftr__brand p { color: var(--muted); font-size: 14.5px; max-width: 38ch; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ftr__col h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 20px; }
.ftr__col li + li { margin-top: 10px; }
.ftr__col a, .ftr__contacts li { color: var(--muted); font-size: 14.5px; transition: color .3s; }
.ftr__col a:hover { color: var(--accent); }
.ftr__tg { margin-top: 22px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--muted) !important; transition: border-color .3s, transform .5s var(--ease); }
.ftr__tg > .ic:first-child { width: 28px; height: 28px; color: #2AABEE; }
.ftr__tg:hover { border-color: var(--accent); transform: translateY(-3px); }
.ftr__word { display: flex; justify-content: center; align-items: baseline; font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 14.6vw, 15rem); letter-spacing: -.06em; line-height: .82; margin: 70px 0 0; user-select: none; }
.ftr__word span { color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.ftr__word em { font-style: normal; color: var(--accent); opacity: .9; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid var(--line); margin-top: 26px; font-size: 13px; color: var(--dim); }
.ftr__legal { display: flex; gap: 24px; }
.ftr__legal a:hover { color: var(--text); }
.visits { display: flex; gap: 18px; }
.visits span { display: flex; gap: 6px; align-items: baseline; }
.visits b { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Forms ---------- */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 18px 10px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface);
  outline: 0; font-size: 15px; transition: border-color .3s, box-shadow .3s; resize: vertical; appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; 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='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field textarea { min-height: 120px; }
.field > span { position: absolute; left: 19px; top: 17px; font-size: 15px; color: var(--dim); pointer-events: none; transition: .3s var(--ease); transform-origin: left top; }
.field input:focus ~ span, .field input:not(:placeholder-shown) ~ span,
.field textarea:focus ~ span, .field textarea:not(:placeholder-shown) ~ span,
.field--select > span { transform: translateY(-9px) scale(.76); color: var(--accent); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field > small { display: none; color: #E5484D; font-size: 12px; margin: 6px 0 0 6px; }
.field.has-error input { border-color: #E5484D; }
.field.has-error > small { display: block; }
.field.has-error { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px) } 40%, 80% { transform: translateX(6px) } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.consent { font-size: 12.5px; color: var(--dim); margin-top: 14px; }
.consent a { color: var(--accent); text-decoration: underline; }

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 650; background: rgba(3, 6, 14, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: .5s var(--ease); }
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 660; width: min(480px, calc(100vw - 20px)); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); transform: translateX(110%); transition: transform .7s var(--ease); overflow: hidden; }
.drawer-open .drawer { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 26px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.drawer__head p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 26px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 26px 26px; border-top: 1px solid var(--line); background: var(--bg-2); }
.drawer__summary { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.drawer__summary b { color: var(--text); }
.drawer__foot .fgrid { margin-bottom: 14px; }
.drawer__foot .field textarea { min-height: 64px; }
.drawer__foot .field input, .drawer__foot .field select, .drawer__foot .field textarea { padding: 20px 14px 8px; border-radius: 14px; font-size: 14px; }
.drawer__foot .field > span { left: 15px; top: 14px; font-size: 14px; }
.qitem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: slideIn .5s var(--ease) both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }
.qitem img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.qitem h5 { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.qitem small { color: var(--dim); font-size: 12px; }
.qitem__ctrl { display: flex; align-items: center; gap: 8px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 99px; height: 36px; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: var(--accent); }
.qty input { width: 64px; text-align: center; background: none; border: 0; outline: 0; font-size: 13px; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qitem__rm { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--dim); transition: .3s; }
.qitem__rm:hover { background: rgba(229, 72, 77, .12); color: #E5484D; }
.qempty { text-align: center; padding: 60px 10px; }
.qempty__ic { width: 90px; height: 90px; margin: 0 auto 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 36px; animation: float2 4s ease-in-out infinite; }
@keyframes float2 { 50% { transform: translateY(-8px); } }
.qempty h4 { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; }
.qempty p { color: var(--muted); font-size: 14px; margin: 8px auto 24px; max-width: 30ch; }

/* ---------- FAB ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 550; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__top { position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: .5s var(--ease); border: 1px solid var(--line); }
.fab__top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab__top:hover { color: var(--accent); }
.fab__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.fab__ring circle { fill: none; stroke-width: 2; }
.fab__ring circle:first-child { stroke: transparent; }
.fab__ring circle:last-child { stroke: var(--accent); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; stroke-linecap: round; }
.fab__contact { position: relative; }
.fab__main { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 14px 40px -10px var(--glow); transition: transform .5s var(--ease); }
.fab__main .ic { width: 24px; height: 24px; position: absolute; transition: transform .5s var(--ease), opacity .3s; }
.fab__main .fab__x { transform: rotate(-90deg) scale(.5); opacity: 0; }
.fab__contact.is-open .fab__main .ic:not(.fab__x) { transform: rotate(90deg) scale(.5); opacity: 0; }
.fab__contact.is-open .fab__x { transform: none; opacity: 1; }
.fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8 } to { transform: scale(1.7); opacity: 0 } }
.fab__opts { position: absolute; right: 0; bottom: 74px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.fab__opt { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(16px) scale(.9); transition: .45s var(--ease); }
.fab__opt:nth-child(2) { transition-delay: .04s } .fab__opt:nth-child(1) { transition-delay: .08s }
.fab__contact.is-open .fab__opts { pointer-events: auto; }
.fab__contact.is-open .fab__opt { opacity: 1; transform: none; }
.fab__opt span { padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm); }
.fab__opt i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.fab__opt i .ic { width: 22px; height: 22px; }
.fab__opt--tg i { background: #2AABEE; } .fab__opt--wa i { background: #25D366; } .fab__opt--ph i { background: var(--navy); }
[data-theme="dark"] .fab__opt--ph i { background: #2A3D66; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 970; display: flex; align-items: center; gap: 12px; padding: 14px 22px 14px 14px; border-radius: 99px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: var(--shadow); transform: translate(-50%, calc(100% + 60px)); transition: transform .6s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-show { transform: translate(-50%, 0); }
.toast > .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #3BB273; color: #fff; }
.toast.is-error > .ic { background: #E5484D; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 980; background: rgba(3, 6, 14, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .5s var(--ease); color: #fff; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox .icon-btn { position: absolute; border-color: rgba(255,255,255,.25); color: #fff; }
.lightbox .icon-btn:hover { background: #fff; color: #0A1D42; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; margin-top: -23px; }
.lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }
.lightbox__nav:hover { transform: none; }
.lightbox__stage { max-width: min(1200px, 90vw); text-align: center; transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-open .lightbox__stage { transform: none; }
.lightbox__media img, .lightbox__media video { max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 16px; }
.lightbox__stage figcaption { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.7); }
.lb-doc { width: min(520px, 86vw); aspect-ratio: 3 / 4; margin: 0 auto; border-radius: 16px; background: linear-gradient(160deg, #13244A, #0A142B); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px; }
.lb-doc .ic { width: 64px; height: 64px; color: #D6A86A; }
.lb-doc h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; }
.lb-doc p { color: rgba(255,255,255,.6); font-size: 14px; }

/* ---------- Inner page hero ---------- */
.phero { position: relative; padding: calc(var(--hdr-h) + clamp(60px, 10vw, 140px)) 0 clamp(50px, 7vw, 90px); overflow: hidden; }
.phero__bg { position: absolute; inset: 0; pointer-events: none; }
.phero__bg::before { content: ""; position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -15vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 62%); filter: blur(30px); opacity: .7; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); }
.phero .wrap { position: relative; }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--dim); margin-bottom: 28px; }
.crumbs a:hover { color: var(--accent); }
.phero__title { font-size: clamp(2.5rem, 7.4vw, 6.6rem); margin: 22px 0 28px; max-width: 16ch; text-wrap: balance; }
.phero .lead { max-width: 60ch; }

/* ---------- About ---------- */
.about-cover { position: relative; height: clamp(320px, 62vw, 760px); border-radius: var(--r-lg); overflow: hidden; }
.about-cover img { width: 100%; height: 125%; object-fit: cover; margin-top: -12%; }
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); }
.story__aside { position: sticky; top: calc(var(--hdr-h) + 40px); align-self: start; }
.story__text p { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.7; color: var(--muted); }
.story__text p + p { margin-top: 24px; }
.story__text p:first-child { color: var(--text); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.5; font-family: var(--f-display); font-weight: 400; letter-spacing: -.02em; }
.signature { margin-top: 48px; padding: 32px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; gap: 22px; align-items: center; }
.signature__avatar { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; }
.signature blockquote { font-family: var(--f-display); font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; }
.signature cite { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 8px; }
.stats-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 36px; }
.stats-mini > div { background: var(--bg); padding: 26px; }
.stats-mini b { font-family: var(--f-display); font-size: 2.2rem; font-weight: 600; letter-spacing: -.04em; display: block; line-height: 1; }
.stats-mini b sup { color: var(--accent); font-size: .5em; }
.stats-mini small { display: block; margin-top: 8px; color: var(--muted); font-size: 13.5px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; margin-top: 56px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-2); }
.tl { position: relative; padding-top: 64px; }
.tl::before { content: ""; position: absolute; left: 0; top: 14px; width: 17px; height: 17px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tl__y { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -.04em; color: var(--accent); line-height: 1; }
.tl h3 { font-size: 1.1rem; font-weight: 600; margin: 14px 0 8px; }
.tl p { color: var(--muted); font-size: 14.5px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.vcard { padding: 32px; border-radius: var(--r-lg); }
.vcard h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; margin: 22px 0 10px; letter-spacing: -.01em; }
.vcard p { color: var(--muted); font-size: 14.5px; }

.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.cert { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; text-align: left; transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease); }
.cert:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.cert__paper { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; background: repeating-linear-gradient(0deg, transparent 0 22px, var(--line) 22px 23px), var(--surface-2); }
.cert__paper img { width: 100%; height: 100%; object-fit: cover; }
.cert__paper .ic { width: 54px; height: 54px; color: var(--accent); transition: transform .6s var(--ease); }
.cert:hover .cert__paper .ic { transform: scale(1.12) rotate(-6deg); }
.cert__seal { position: absolute; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; border: 1.5px dashed var(--accent); display: grid; place-items: center; font-size: 9px; font-weight: 700; letter-spacing: .08em; color: var(--accent); transform: rotate(-14deg); }
.cert__info { padding: 20px 22px; }
.cert__code { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.cert__info h3 { font-size: 15.5px; font-weight: 600; line-height: 1.35; margin-top: 6px; }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }
.member { border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.member__ph { aspect-ratio: 1; background: linear-gradient(160deg, var(--surface-2), var(--surface-3)); display: grid; place-items: center; font-family: var(--f-display); font-size: 3rem; font-weight: 700; color: var(--accent); }
.member__ph img { width: 100%; height: 100%; object-fit: cover; }
.member__info { padding: 18px 20px; }
.member__info h3 { font-size: 16px; font-weight: 600; }
.member__info span { color: var(--muted); font-size: 13.5px; }

.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 48px; }
.strip figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.strip figure:first-child { aspect-ratio: auto; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip figure:hover img { transform: scale(1.06); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ccard { position: relative; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; overflow: hidden; isolation: isolate; transition: border-color .4s, transform .6s var(--ease); }
a.ccard:hover { border-color: var(--accent); transform: translateY(-4px); }
.ccard--wide { grid-column: 1 / -1; }
.ccard__ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 20px; }
.ccard small { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); font-weight: 600; }
.ccard b { display: block; font-weight: 600; font-size: 1.02rem; margin-top: 4px; overflow-wrap: anywhere; }
.ccard__arrow { position: absolute; top: 22px; right: 22px; color: var(--dim); transition: transform .5s var(--ease), color .3s; }
a.ccard:hover .ccard__arrow { color: var(--accent); transform: rotate(45deg); }
.ccard--tg .ccard__ic { background: rgba(42, 171, 238, .12); color: #2AABEE; }
.ccard--wa .ccard__ic { background: rgba(37, 211, 102, .12); color: #25D366; }
.socials-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials-row a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; transition: .3s; }
.socials-row a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.form-card h2 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; }
.form-card > p { color: var(--muted); margin: 10px 0 30px; }
.form-card .btn { margin-top: 20px; }
.form-success { position: absolute; inset: 0; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px; opacity: 0; visibility: hidden; transition: .6s var(--ease); }
.form-success.is-show { opacity: 1; visibility: visible; }
.form-success__ic { width: 96px; height: 96px; border-radius: 50%; background: #3BB273; color: #fff; display: grid; place-items: center; }
.form-success__ic .ic { width: 44px; height: 44px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; }
.form-success.is-show .form-success__ic .ic { animation: dash .8s .3s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.form-success h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; }
.map { margin-top: 24px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); position: relative; height: 440px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); }
.map__label { position: absolute; left: 20px; top: 20px; padding: 12px 18px; border-radius: 99px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.map__label .ic { color: var(--accent); }

/* ---------- Gallery ---------- */
.gfilters { display: grid; gap: 12px; margin-bottom: 32px; }
.gfilters__row { display: flex; gap: 8px; flex-wrap: wrap; }
.gfilters .chip small { opacity: .55; font-size: .8em; margin-left: 2px; font-variant-numeric: tabular-nums; }
.gfilters__kind { padding-top: 12px; border-top: 1px solid var(--line); }
.gfilters .chip--sm { padding: 6px 14px; font-size: 13px; }
.gempty { text-align: center; margin: 24px auto; }
.masonry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 1500px) { .masonry { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gitem { position: relative; aspect-ratio: 4 / 3; margin: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--surface-2); display: block; width: 100%; }
.gitem img, .gitem video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gitem:hover img { transform: scale(1.06); }
.gitem__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; font-size: 13px !important; background: linear-gradient(0deg, rgba(5,9,22,.85), transparent); color: #fff; font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; transform: translateY(100%); transition: transform .6s var(--ease); text-align: left; }
.gitem:hover .gitem__cap, .gitem:focus-visible .gitem__cap { transform: none; }
.gitem__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.gitem.is-hidden { display: none; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0; padding-left: 0; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 2px; background: var(--accent); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal em { font-style: normal; color: var(--dim); font-size: 14px; }
.legal h1 { display: none; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; position: relative; overflow: hidden; }
.nf__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(8rem, 30vw, 22rem); line-height: .9; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.nf h1 { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; margin: 20px 0 12px; }
.nf p { color: var(--muted); margin-bottom: 32px; }

/* ---------- Motion initial states (faqat JS + GSAP bo'lsa) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(40px); }
.motion [data-split] { opacity: 0; }
.motion [data-split].is-split { opacity: 1; }
.motion [data-clip] { clip-path: inset(100% 0 0 0); }
.motion .hero__text > :not(.hero__ctas), .motion .hero__ctas > *, .motion .hero__badge, .motion .hero__bar,
.motion .phero .crumbs, .motion .phero .eyebrow, .motion .phero .lead { opacity: 0; }
.motion .pcard { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .burger { display: block; }
  .quote-btn__label { display: none; }
  .quote-btn { padding: 0 14px; }
  .why__grid, .faq__grid, .story, .contact-grid { grid-template-columns: 1fr; }
  .why__visual, .faq__side, .story__aside { position: relative; top: 0; }
  .why__img { aspect-ratio: 16 / 10; }
  .why__stamp { right: 16px; bottom: -40px; width: 130px; height: 130px; }
  .why__stamp b { font-size: 2.1rem; }
  .calc__box { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .values, .certs { grid-template-columns: 1fr 1fr; }
  .masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__badge { width: 130px; height: 130px; }
  .hero__badge-core { inset: 32px; }
}
@media (max-width: 900px) {
  /* process — vertikal */
  .process__pin { min-height: 0; }
  .process__track { width: auto; flex-direction: column; padding-inline: var(--gutter); }
  .process__line { display: none; }
  .step { width: 100%; min-height: 0; }
  .step h3 { margin-top: 36px; }
}
@media (max-width: 720px) {
  :root { --hdr-h: 72px; }
  .hdr { padding-top: 10px; }
  .hdr__inner { height: 56px; padding-left: 16px; padding-right: 6px; }
  .hdr__logo { width: 106px; }
  .lang__btn span { display: none; }
  .tool-btn { height: 40px; min-width: 40px; padding: 0 10px; }
  .theme-toggle { width: 40px; }
  .quote-btn { height: 40px; }
  .burger { width: 40px; height: 40px; }
  .burger span { left: 12px; right: 12px; } .burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
  .menu-open .burger span:first-child, .menu-open .burger span:last-child { top: 19px; }
  .hero__inner { padding-bottom: 120px; flex-direction: column; align-items: flex-start; }
  .hero__badge { display: none; }
  .hero__title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .phero__title { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(5,9,22,.75) 35%, rgba(5,9,22,.55) 100%); }
  .hero__ctas .btn { --bh: 52px; padding: 0 22px; }
  .hero__scroll span { display: none; }
  .hero__nav { gap: 14px; }
  .hero__dot-track { width: 44px; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 26px 16px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pgrid { grid-template-columns: 1fr; }
  .bento, .ccards, .values, .certs, .fgrid { grid-template-columns: 1fr; }
  .calc__row2 { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; gap: 36px; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
  .acc__a p { padding: 0 0 24px 0; }
  .acc summary { gap: 14px; }
  .timeline { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gfilters__dirs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .gfilters__dirs::-webkit-scrollbar { display: none; }
  .gfilters__dirs .chip { flex: none; }
  .gitem__cap { display: none; }
  .map { height: 320px; }
  .fab { right: 14px; bottom: 14px; }
  .filters { border-radius: 22px; }
  .cta__circle { width: 150px; height: 150px; }
  .lightbox__nav { top: auto; bottom: 20px; margin: 0; }
  .partner { width: 150px; height: 80px; padding: 14px 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}

/* ---------- View transitions (tun/kun almashish) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 9999; }

/* =========================================================
   v2 — Katalog, mahsulot, yangiliklar, sahifalar
   ========================================================= */
.center-more { display: flex; justify-content: center; margin-top: 48px; }
.pcard__name a { transition: color .3s; }
.pcard__name a:hover { color: var(--accent); }
.pcard__actions { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard__actions .pcard__add { margin-top: 0; }
.pcard__more { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: .4s var(--ease); }
.pcard__more:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(45deg); }

/* Mahsulot sahifasi */
.pdp { position: relative; padding: calc(var(--hdr-h) + 50px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.pdp .wrap { position: relative; }
.pdp__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp__gallery { position: sticky; top: calc(var(--hdr-h) + 20px); }
.pdp__main { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); border: 1px solid var(--line); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pdp__main:hover img { transform: scale(1.05); }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.pdp__thumbs a { border-radius: 14px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__title { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; font-size: clamp(2rem, 4.4vw, 3.6rem); margin: 18px 0 18px; }
.pdp__info .lead { margin-top: 0; }
.pdp__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 30px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pdp__facts > div { background: var(--bg); padding: 18px 20px; }
.pdp__facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); font-weight: 600; }
.pdp__facts dd { font-weight: 600; margin-top: 6px; }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp__add.is-added { background: #3BB273; color: #fff; }
.pdp__perks { margin-top: 30px; display: grid; gap: 12px; }
.pdp__perks li { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; }
.pdp__perks .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.pdp__details { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(60px, 8vw, 110px); align-items: start; }
.pdp__specs { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.pdp__specs dl { margin-top: 22px; }
.pdp__specs dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.pdp__specs dl > div:last-child { border-bottom: 0; }
.pdp__specs dt { color: var(--muted); }
.pdp__specs dd { font-weight: 600; text-align: right; }
.pdp__about .prose { margin-top: 22px; }
.pdp__cta { margin-top: 36px; padding: 28px 30px; border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pdp__cta h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.pdp__cta p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* Matn (admin muharriridan) */
.prose { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin-top: 1.8em; }
.prose h2 { font-size: 1.55rem; } .prose h3 { font-size: 1.25rem; } .prose h4 { font-size: 1.05rem; }
.prose strong, .prose b { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; color: var(--text); font-size: 1.15rem; font-family: var(--f-display); font-weight: 400; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 14px; text-align: left; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.legal.prose ul { padding-left: 0; list-style: none; }

/* Yangiliklar */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncard { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.ncard:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.ncard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.07); }
.ncard__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent); }
.ncard__ph .ic { width: 48px; height: 48px; }
.ncard__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.ncard time { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
.ncard h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 12px 0 10px; }
.ncard h3 a:hover { color: var(--accent); }
.ncard p { color: var(--muted); font-size: 14.5px; flex: 1; }
.ncard__more { margin-top: 18px; color: var(--accent); font-weight: 600; font-size: 14px; align-self: flex-start; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state span { width: 90px; height: 90px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.empty-state .ic { width: 36px; height: 36px; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.pager a { min-width: 46px; height: 46px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 14px; transition: .3s; }
.pager a:hover { border-color: var(--text); }
.pager a.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Maqola */
.article__meta { gap: 8px; color: var(--muted); }
.article__meta::before { display: none; }
.article__meta .ic { color: var(--accent); }
.article__title { max-width: 22ch; font-size: clamp(2rem, 5.4vw, 4.6rem); }
.article__cover { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; margin: 0; background: var(--surface-2); }
.article__cover img { width: 100%; height: 115%; object-fit: cover; margin-top: -7%; }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(30px, 6vw, 100px); padding-block: clamp(48px, 6vw, 90px); }
.article__body { max-width: 72ch; }
.article__aside { position: sticky; top: calc(var(--hdr-h) + 30px); align-self: start; display: flex; flex-direction: column; gap: 18px; }
.article__aside .socials { margin-top: 0; }

@media (max-width: 1080px) {
  .pdp__grid, .pdp__details { grid-template-columns: 1fr; }
  .pdp__gallery { position: relative; top: 0; }
  .ngrid { grid-template-columns: 1fr 1fr; }
  .article__layout { grid-template-columns: 1fr; }
  .article__aside { position: relative; top: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (max-width: 720px) {
  .pdp { padding-top: calc(var(--hdr-h) + 30px); }
  .pdp__facts { grid-template-columns: 1fr; }
  .ngrid { grid-template-columns: 1fr; }
  .article__cover { aspect-ratio: 16 / 10; }
  .pdp__actions .btn { flex: 1; }
}

/* =========================================================
   v3 — Vidjetlar
   ========================================================= */
:root, [data-theme="dark"] { --dot: rgba(214, 168, 106, .38); }
[data-theme="light"] { --dot: rgba(176, 118, 54, .32); }

/* ---- Kursor foni (sahifa orqasida, kontent ostida) ---- */
.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bgfx__dots {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.6px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(280px circle at var(--bx, 50%) var(--by, 30%), #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
  mask-image: radial-gradient(280px circle at var(--bx, 50%) var(--by, 30%), #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
}
.bgfx__glow { position: absolute; left: var(--bx, 50%); top: var(--by, 30%); width: 560px; height: 560px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 62%); opacity: 0; transition: opacity .8s ease; filter: blur(24px); }
.bgfx.is-live .bgfx__dots { opacity: 1; }
.bgfx.is-live .bgfx__glow { opacity: .55; }
.bgfx.is-ambient .bgfx__glow { opacity: .35; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { 0% { left: 15%; top: 20%; } 50% { left: 80%; top: 45%; } 100% { left: 35%; top: 85%; } }

/* ---- Ichki menyu ---- */
.hdr__item { position: relative; display: flex; align-items: center; }
.hdr__item.has-sub .hdr__link { padding-right: 4px; }
.hdr__caret { width: 18px; height: 42px; display: grid; place-items: center; color: var(--muted); cursor: pointer; transition: transform .25s ease, color .2s; }
.hdr__caret .ic { width: 14px; height: 14px; }
.hdr__item:hover .hdr__caret, .hdr__item.is-open .hdr__caret, .hdr__item:focus-within .hdr__caret { transform: rotate(180deg); color: var(--accent); }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 230px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); color: var(--text);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 10;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.hdr__item:hover > .sub, .hdr__item.is-open > .sub, .hdr__item:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub__link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.sub__link .ic { width: 15px; height: 15px; opacity: 0; transform: translateX(-6px); transition: .2s ease; color: var(--accent); }
.sub__link:hover, .sub__link.is-active { background: var(--surface-2); color: var(--accent); }
.sub__link:hover .ic { opacity: 1; transform: none; }
.sub--mega { width: min(760px, 86vw); padding: 14px; }
.mega { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; transition: background .2s; color: var(--text); }
.mega__item:hover { background: var(--surface-2); }
.mega__img { width: 56px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--surface-2); }
.mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mega__item:hover .mega__img img { transform: scale(1.1); }
.mega__txt { display: flex; flex-direction: column; min-width: 0; }
.mega__txt b { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.mega__txt small { font-size: 11.5px; color: var(--dim); }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 12px 8px 4px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.mega__foot span { max-width: 48ch; }
.btn--sm { --bh: 40px; padding: 0 16px; font-size: 13px; }
.search-btn { width: 44px; padding: 0; }

/* Mobil menyu: ichki bandlar */
.mmenu__row { position: relative; border-bottom: 1px solid var(--line); }
.mmenu__row .mmenu__link { border-bottom: 0; padding-right: 56px; }
.mmenu__toggle { position: absolute; right: 0; top: 50%; margin-top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .3s ease; }
.mmenu__row.is-open .mmenu__toggle { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mmenu__row.has-sub > .mmenu__toggle { top: 13px; margin-top: 0; }
.mmenu__sub { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .25s ease, padding .35s ease; }
.mmenu__row.is-open .mmenu__sub { max-height: 480px; opacity: 1; padding-bottom: 10px; }
.mmenu__sub a { display: block; padding: 7px 0 7px 32px; font-size: 15px; color: var(--muted); }
.mmenu__sub a:hover { color: var(--accent); }

/* ---- Qidiruv ---- */
.srch { position: fixed; inset: 0; z-index: 720; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.srch.is-open { opacity: 1; visibility: visible; }
.srch__bg { position: absolute; inset: 0; background: rgba(3, 6, 14, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.srch__box { position: relative; width: min(680px, 100%); max-height: 76vh; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; transform: translateY(-10px) scale(.98); transition: transform .25s ease; }
.srch.is-open .srch__box { transform: none; }
.srch__bar { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.srch__bar > .ic { color: var(--accent); width: 22px; height: 22px; }
.srch__bar input { flex: 1; min-width: 0; height: 44px; background: none; border: 0; outline: 0; font-size: 18px; }
.srch__bar kbd { font: 600 11px var(--f-body); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--dim); }
.srch__res { overflow-y: auto; padding: 10px; overscroll-behavior: contain; }
.srch__hint { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.srch__grp > span { display: block; padding: 10px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.srch__it { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 14px; transition: background .15s; }
.srch__it:hover, .srch__it.is-sel { background: var(--surface-2); }
.srch__it img, .srch__ic { width: 52px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--accent-soft); }
.srch__it span { display: flex; flex-direction: column; min-width: 0; }
.srch__it b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srch__it small { color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srch__it mark { background: var(--accent-soft); color: var(--accent); border-radius: 3px; padding: 0 2px; }

/* ---- Popup (qo'ng'iroq, aksiya) ---- */
.pop { position: fixed; inset: 0; z-index: 730; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.pop.is-open { opacity: 1; visibility: visible; }
.pop__bg { position: absolute; inset: 0; background: rgba(3, 6, 14, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pop__box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px 28px 26px; border-radius: 28px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; transform: translateY(16px) scale(.97); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.pop.is-open .pop__box { transform: none; }
.pop__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; }
.pop__ic { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px -10px var(--glow); }
.pop__ic .ic { width: 28px; height: 28px; }
.pop__box h3 { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; }
.pop__box > p, .promo__body > p { color: var(--muted); margin: 8px 0 18px; font-size: 14.5px; }
.pop__box .fgrid { grid-template-columns: 1fr; text-align: left; margin-bottom: 14px; }
.ws { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); font-size: 13px; font-weight: 500; color: var(--muted); }
.ws i { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); flex-shrink: 0; }
.ws.is-open { color: var(--text); }
.ws.is-open i { background: #3BB273; box-shadow: 0 0 0 0 rgba(59,178,115,.6); animation: ping 2s infinite; }
.pop__box--promo { width: min(760px, 100%); padding: 0; display: grid; grid-template-columns: .9fr 1.1fr; text-align: left; overflow: hidden; }
.promo__img { min-height: 320px; background: center/cover no-repeat var(--surface-2); position: relative; }
.promo__img .pop__ic { position: absolute; left: 22px; bottom: 22px; margin: 0; }
.promo__body { padding: 40px 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.promo__body .field { margin-bottom: 12px; }
.pop__later { margin-top: 12px; font-size: 13px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; align-self: center; }

/* ---- FAB: yangi tugmalar ---- */
.fab__opt { cursor: pointer; }
.fab__opt--chat i { background: var(--accent); color: var(--accent-ink); }
.fab__opt--cb i { background: #3BB273; }
.fab__main.has-unread::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #E5484D; border: 2px solid var(--bg); }

/* ---- Onlayn chat ---- */
.chat { position: fixed; right: 20px; bottom: 96px; z-index: 600; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 130px)); display: flex; flex-direction: column; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97); transform-origin: bottom right; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.chat.is-open { opacity: 1; visibility: visible; transform: none; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #0A1D42; color: #fff; }
.chat__head b { display: block; font-size: 15px; }
.chat__head small { color: #9CA8BE; font-size: 12px; }
.chat__head > div { flex: 1; min-width: 0; }
.chat__head .icon-btn { width: 38px; height: 38px; border-color: rgba(255,255,255,.2); color: #fff; }
.chat__av { position: relative; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.chat__av img { width: 26px; }
.chat__av i { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #8D97AC; border: 2px solid #0A1D42; }
.chat__av i.on { background: #3BB273; }
.chat__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; background: var(--bg-2); }
.msg { max-width: 82%; animation: slideIn .3s ease both; }
.msg p { padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.msg small { display: block; font-size: 11px; color: var(--dim); margin: 4px 8px 0; }
.msg--admin { align-self: flex-start; }
.msg--admin p { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; text-align: right; }
.msg--me p { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; text-align: left; }
.chat__start { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px 0; background: var(--bg); }
.chat__start input, .chat__send textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); padding: 10px 12px; font-size: 14px; outline: 0; }
.chat__start input:focus, .chat__send textarea:focus { border-color: var(--accent); }
.chat__start input.is-err { border-color: #E5484D; animation: shake .4s; }
.chat__send { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 12px; background: var(--bg); }
.chat__send textarea { resize: none; max-height: 120px; line-height: 1.4; }
.chat__btn { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s; }
.chat__btn:hover { transform: scale(1.06); }

/* ---- Izohlar va sharhlar ---- */
.cmts { margin-top: clamp(48px, 6vw, 80px); }
.cmts__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.cmts__count { font-size: .55em; color: var(--accent); vertical-align: super; }
.cmts__score { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.cmts__score b { font-family: var(--f-display); font-size: 1.6rem; }
.cmts__score small { color: var(--muted); }
.cmts__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.article .cmts__grid { grid-template-columns: 1fr; }
.cmts__list { display: flex; flex-direction: column; gap: 12px; }
.cmts__none { padding: 28px; border-radius: 18px; border: 1.5px dashed var(--line-2); color: var(--muted); text-align: center; }
.cmt { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.cmt.is-new { animation: slideIn .5s ease both; border-color: var(--accent); }
.cmt__av { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.cmt__main { flex: 1; min-width: 0; }
.cmt__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.cmt__top time { margin-left: auto; font-size: 12px; color: var(--dim); }
.cmt__main > p { color: var(--muted); font-size: 15px; line-height: 1.6; word-wrap: break-word; }
.cmt__reply { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); }
.cmt__reply b { font-size: 12.5px; color: var(--accent); }
.cmt__reply p { font-size: 14px; color: var(--text); margin-top: 4px; }
.cmts__form h3 { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 18px; }
.cmts__form .consent { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 16px; }
.cmts__form .consent .ic { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.stars { display: inline-flex; gap: 1px; color: var(--line-2); font-size: 15px; line-height: 1; }
.stars .st { font-style: normal; }
.stars .st.on { color: #F5B83D; }
.stars .st.half { background: linear-gradient(90deg, #F5B83D 50%, var(--line-2) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rate-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); }
.rate-in > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.rate-in__stars { display: inline-flex; flex-direction: row-reverse; }
.rate-in__stars input { position: absolute; opacity: 0; pointer-events: none; }
.rate-in__stars label { font-size: 28px; line-height: 1; color: var(--line-2); cursor: pointer; padding: 0 2px; transition: color .15s, transform .15s; }
.rate-in__stars label:hover, .rate-in__stars label:hover ~ label, .rate-in__stars input:checked ~ label { color: #F5B83D; }
.rate-in__stars label:hover { transform: scale(1.15); }
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 16px; font-size: 14px; color: var(--muted); }
.pdp__rating b { color: var(--text); }

/* ---- Maqola: progress, mundarija, mahsulotlar ---- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 701; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; }
.article__main { min-width: 0; }
.toc { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.toc ol { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 13.5px; line-height: 1.35; color: var(--muted); border-left: 2px solid transparent; transition: .2s; }
.toc .toc__l3 a { padding-left: 22px; font-size: 13px; }
.toc a:hover { color: var(--text); background: var(--surface-2); }
.toc a.is-active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); }
.article__aside { gap: 18px; }
.art-products { margin-top: 48px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.art-products__list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.art-prod { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.art-prod__img { width: 80px; height: 60px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.art-prod__img img { width: 100%; height: 100%; object-fit: cover; }
.art-prod__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.art-prod__body b { font-weight: 600; }
.art-prod__body a:hover b { color: var(--accent); }
.art-prod__body small { color: var(--dim); font-size: 12.5px; }
.art-prod__acts { display: flex; gap: 8px; flex-shrink: 0; }
.art-prod .pdp__add.is-added { background: #3BB273; color: #fff; border-color: #3BB273; }
.prose h2, .prose h3 { scroll-margin-top: calc(var(--hdr-h) + 20px); }

@media (max-width: 1080px) {
  .cmts__grid { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 720px) {
  .pop__box--promo { grid-template-columns: 1fr; }
  .promo__img { min-height: 170px; }
  .promo__body { padding: 24px 22px 22px; }
  .chat { right: 12px; bottom: 86px; }
  .chat__start { grid-template-columns: 1fr; }
  .art-prod { flex-wrap: wrap; }
  .art-prod__acts { width: 100%; }
  .art-prod__acts .btn { flex: 1; }
  .srch { padding-top: 12px; }
  .srch__box { max-height: calc(100vh - 24px); }
  .search-btn { width: 40px; height: 40px; min-width: 40px; }
}
@media (max-width: 400px) { .hdr .lang { display: none; } }

/* Ichki menyu ranglari — hero ustidagi oq header ichida ham o'qilsin */
[data-theme="light"] .sub { --text: #0A1D42; --muted: #4A5877; --line-2: rgba(10,29,66,.18); color: #0A1D42; }
[data-theme="dark"] .sub { --text: #EEF1F7; --muted: #9CA8BE; --line-2: rgba(226,232,245,.16); color: #EEF1F7; }

/* v3.1 — mahsulot sahifasi: tavsif to'liq kenglikda, xususiyatlar ustida alohida blok */
.pdp__details { grid-template-columns: 1fr; gap: clamp(32px, 4vw, 56px); }
.pdp__specs dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: 40px; }
.pdp__specs dl > div:last-child { border-bottom: 1px dashed var(--line-2); }
.pdp__about { width: 100%; }
.pdp__about .prose { max-width: none; font-size: 1.08rem; }
.pdp__about .prose > p, .pdp__about .prose li { max-width: none; }

/* LiveInternet nishoni */
.li-counter { display: flex; align-items: center; line-height: 0; opacity: .75; transition: opacity .3s; }
.li-counter:hover { opacity: 1; }
.li-counter img { border-radius: 4px; }
