/* =========================================================
   Glass Pro — umumiy stillar
   Rang uslubi: logotip kabi qora-oq (monoxrom)
   ========================================================= */

:root {
  --black-950: #0b0c0e;
  --black-900: #131518;
  --black-800: #1c1f23;
  --black-700: #2b2f34;
  --gray-500: #8a9199;
  --gray-300: #c3c8cd;
  --gray-100: #eef0f2;
  --ink: #15181b;
  --muted: #60676e;
  --line: #e2e5e8;
  --bg: #ffffff;
  --bg-tint: #f4f5f6;
  --white: #ffffff;
  /* Logotipdagi urg'u ranglar — kam va o'rinli ishlatiladi */
  /* Urg'u rangi — logotipga mos kumush-oyna (2026-10-19, avval pushti #f00fa6) */
  --brand-1: #b7c6d4;
  --brand-2: #6f879d;
  --brand-grad: linear-gradient(120deg, var(--brand-1), var(--brand-2));

  --radius: 1rem;
  --radius-sm: 0.5rem;
  --shadow-lg: 0 1.5rem 3rem -1rem rgba(11, 12, 14, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 77.5rem;
  --header-h: 5.5rem;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Asosiy ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Katta monitorlar: barcha o'lchamlar rem da, shuning uchun 1280px dan keng ekranda butun sayt
   ekran kengligiga proporsional kattalashadi (1920px da 1,5 barobar, 2560px da 2 barobar) —
   brauzer masshtabini oshirgandek, bo'sh chetlar qolmaydi */
@media (min-width: 1281px) {
  html { font-size: min(1.25vw, 32px); }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 0.1875rem solid var(--black-900); outline-offset: 0.1875rem; border-radius: 0.25rem; }
.section--dark :focus-visible,
.hero :focus-visible,
.cta :focus-visible,
.footer :focus-visible { outline-color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 2rem; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 1rem; top: -3.75rem; z-index: 300;
  background: var(--black-900); color: var(--white); padding: 0.625rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 0.75rem; }

/* Tasdiqlanmagan ma'lumot belgisi (faqat namuna uchun, deploydan oldin olib tashlanadi) */
.todo {
  background: #fff4c2;
  color: #6b5200;
  border-bottom: 2px dashed #e0b400;
  padding: 0 0.25rem;
  border-radius: 0.1875rem;
  font-size: .85em;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.375rem;
  font: 700 0.9375rem/1.2 var(--font);
  border-radius: 62.4375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn--lg { padding: 1.0625rem 2rem; font-size: 1rem; }
.btn--primary { background: var(--black-900); color: var(--white); }
.btn--primary:hover { background: var(--black-700); transform: translateY(-1px); box-shadow: 0 0.75rem 1.5rem -0.625rem rgba(0, 0, 0, .45); }
.btn--light { background: var(--white); color: var(--black-900); }
.btn--light:hover { background: var(--gray-100); transform: translateY(-1px); box-shadow: 0 0.75rem 1.75rem -0.625rem rgba(0, 0, 0, .5); }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--black-900); }
.btn--outline-light { border-color: rgba(255, 255, 255, .25); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--glass {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(0.625rem);
  backdrop-filter: blur(0.625rem);
}
.btn--glass:hover { background: rgba(255, 255, 255, .2); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(0.25rem); }

/* ---------- Yuqori menyu ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(0.875rem);
  backdrop-filter: saturate(160%) blur(0.875rem);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 0.375rem 1.5rem -0.75rem rgba(11, 12, 14, .18); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.header .header__cta { background: var(--black-900); color: var(--white); }
.header .header__cta:hover { background: var(--black-700); }

/* Bosh sahifada menyu rasm ustida shaffof turadi, pastga aylantirilganda oq bo'ladi */
.header--overlay { position: fixed; left: 0; right: 0; }
.header--overlay:not(.is-scrolled):not(.is-open) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.header--overlay:not(.is-scrolled):not(.is-open) .logo { color: var(--white); }
.header--overlay:not(.is-scrolled):not(.is-open) /* Til tanlagich: bitta tugma + ochiladigan ro'yxat */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  height: 2.5rem; padding: 0 0.75rem 0 0.875rem;
  font: 800 0.8125rem/1 var(--font); letter-spacing: .06em; color: var(--ink);
  background: var(--bg-tint); border: 1px solid transparent; border-radius: 0.625rem;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .3s;
}
.lang__btn:hover { border-color: var(--line); }
.lang__flag { width: 1.25rem; height: 0.875rem; flex-shrink: 0; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(11, 12, 14, .12); }
.lang__btn .lang__flag { margin-right: 2px; }
.lang__btn svg { width: 0.75rem; height: 0.75rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0; z-index: 10;
  min-width: 11.875rem; padding: 0.375rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 0.75rem;
  box-shadow: 0 1.125rem 2.5rem -0.75rem rgba(11, 12, 14, .25);
  opacity: 0; visibility: hidden; transform: translateY(-0.375rem);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 0.75rem; border-radius: 0.5rem;
  font-size: 0.875rem; color: var(--ink); transition: background-color .15s;
}
.lang__menu a:hover { background: var(--bg-tint); }
.lang__menu b { min-width: 1.875rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: .06em; }
.lang__menu span { color: var(--muted); }
.lang__menu a[aria-current="true"] { background: var(--bg-tint); }
.lang__menu a[aria-current="true"]::after { content: ""; width: 0.4375rem; height: 0.4375rem; margin-left: auto; border-radius: 50%; background: var(--brand-grad); }

.burger { background: rgba(255, 255, 255, .14); }
.header--overlay:not(.is-scrolled):not(.is-open) .burger span { background: var(--white); }
.header--overlay:not(.is-scrolled) .header__cta { background: var(--white); color: var(--black-900); }
.header--overlay:not(.is-scrolled) .header__cta:hover { background: var(--gray-100); }

.logo { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--black-900); flex-shrink: 0; transition: color .3s; }
.logo { gap: 0.75rem; }
.logo__mark { width: 2.5rem; height: 2.8125rem; flex-shrink: 0; shape-rendering: geometricPrecision; }
.logo__text { font-family: "Montserrat", var(--font); font-size: 1.5625rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.logo--light { color: var(--white); }
/* 3D shisha-kumush logotip (rasm): belgi yozuv yonida, balandligi bo'yicha o'lchanadi */
.logo__img { display: block; width: auto; height: 2.6rem; }

.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
  position: relative; display: block; padding: 0.5rem 0.75rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--muted);
  transition: color .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 2px; height: 2px;
  background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__list a:hover,
.nav__list a[aria-current="page"] { color: var(--ink); }
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: none; }


.burger {
  display: none; margin-left: auto;
  width: 2.875rem; height: 2.875rem; padding: 0.875rem 0.75rem;
  border: 0; border-radius: 0.75rem; background: var(--bg-tint); cursor: pointer;
  flex-direction: column; justify-content: space-between;
  transition: background-color .3s;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, background-color .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.4375rem) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.4375rem) rotate(-45deg); }

/* Shaffof menyu holatida — faqat kompyuterda (telefonda menyu oq panelda ochiladi) */
@media (min-width: 901px) {
  .header--overlay:not(.is-scrolled) .nav__list a { color: rgba(255, 255, 255, .72); }
  .header--overlay:not(.is-scrolled) .nav__list a:hover,
  .header--overlay:not(.is-scrolled) .nav__list a[aria-current="page"] { color: var(--white); }
  .header--overlay:not(.is-scrolled) .lang__btn { color: var(--white); background: rgba(255, 255, 255, .12); }
  .header--overlay:not(.is-scrolled) .lang__btn:hover { border-color: rgba(255, 255, 255, .3); }
}

/* ---------- Asosiy ekran ---------- */
.hero {
  position: relative;
  min-height: max(41.25rem, min(100svh, 58.75rem));
  display: flex; align-items: center;
  padding-top: var(--header-h);
  color: var(--white);
  background: var(--black-950);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0%;
  z-index: -3;
  transform-origin: 50% 0%;
  filter: saturate(1.12) contrast(1.05);
  animation: hero-in 1.6s var(--ease) both, hero-drift 26s ease-in-out 1.6s infinite alternate;
  will-change: transform;
}
@keyframes hero-in { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.025) translate3d(-0.6%, 0, 0); }
}
/* Rasm 2:1 nisbatda — butun bino old tomoni (kirish, zinapoyalar) bilan; rasm markazi bo'yicha joylashadi.
   Rasm tepasida osmon, pastida yo'l bor — ekran nisbati biroz farq qilsa ham bino kesilmaydi */
@media (min-width: 601px) {
  .hero { min-height: max(41.25rem, min(50vw, 75rem)); }
  .hero__bg { object-position: 50% 50%; transform-origin: 50% 55%; }
}
@media (min-width: 901px) {
  .hero { min-height: clamp(40rem, 100svh, 62.5rem); }
  .hero .hero__content { padding-block: 2.25rem 7rem; }
  .hero .hero__title { max-width: 56.25rem; font-size: clamp(2.5rem, 4.3vw, 4rem); margin-bottom: 1.125rem; }
  .hero .hero__text { margin-bottom: 1.875rem; }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, .55) 0%, transparent 20%),
    linear-gradient(90deg, rgba(11, 12, 14, .85) 0%, rgba(11, 12, 14, .62) 36%, rgba(11, 12, 14, .14) 64%, transparent 100%),
    linear-gradient(0deg, rgba(11, 12, 14, .45) 0%, transparent 30%);
}
/* Oyna fasad ustidan o'tadigan yorug'lik nuri */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .16) 47%, rgba(255, 255, 255, .05) 52%, transparent 60%);
  background-size: 260% 100%;
  background-position: 130% 0;
  mix-blend-mode: soft-light;
  animation: hero-shine 9s ease-in-out 2.5s infinite;
}
@keyframes hero-shine {
  0% { background-position: 130% 0; }
  45%, 100% { background-position: -40% 0; }
}
.hero__content { padding-block: 4rem 8.75rem; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.625rem; margin-bottom: 1.5rem; padding: 0.4375rem 1rem 0.4375rem 0.75rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 62.4375rem;
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
}
.hero__eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 0.25rem rgba(170, 192, 212, .3); }
.hero__title { max-width: 48.75rem; font-size: clamp(2.375rem, 5.6vw, 4.5rem); margin-bottom: 1.5rem; text-shadow: 0 2px 1.5rem rgba(0, 0, 0, .35); }
.hero__accent {
  background: linear-gradient(100deg, #ffffff 0%, #d6e0e9 35%, #9fb4c7 70%, #e9eff4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__text { max-width: 37.5rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .88); margin-bottom: 2.5rem; text-shadow: 0 1px 0.75rem rgba(0, 0, 0, .45); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* Rasm tagidagi shisha kartochka */
.hero__caption {
  position: absolute; right: max(2rem, calc((100vw - var(--container)) / 2 + 2rem)); bottom: 7.5rem;
  display: flex; flex-direction: column; gap: 2px;
  padding: 1rem 1.375rem 1rem 1.25rem;
  font-size: 0.875rem; color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-left: 0.1875rem solid var(--brand-1);
  border-radius: 0.75rem;
  -webkit-backdrop-filter: blur(0.875rem);
  backdrop-filter: blur(0.875rem);
  transition: background-color .2s;
}
.hero__caption:hover { background: rgba(255, 255, 255, .16); }
.hero__caption strong { font-size: 1rem; color: var(--white); }
.hero__caption-label { font-size: 0.6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-300); }

/* ---------- Raqamlar ---------- */
.stats { position: relative; z-index: 2; margin-top: -4.5rem; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1.875rem 3.75rem -1.5rem rgba(11, 12, 14, .35);
}
.stat { padding: 2rem 2rem 1.875rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { font-size: clamp(1.875rem, 3vw, 2.625rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 0.5rem; }
.stat dd { font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }

/* ---------- Bo'limlar ---------- */
.section { padding-block: 7rem; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--black-900); color: var(--white); }
.section--dark .section__lead { color: rgba(255, 255, 255, .62); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.625rem;
  margin-bottom: 0.875rem;
  font-size: 0.8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: var(--brand-grad); border-radius: 2px; }
.eyebrow--light { color: var(--gray-300); }
.section__title { font-size: clamp(1.875rem, 3.6vw, 2.875rem); margin-bottom: 1rem; }
.section__lead { max-width: 36.25rem; font-size: 1.125rem; color: var(--muted); margin: 0; }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.about { padding-top: 7.5rem; }

/* ---------- Biz haqimizda ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 5rem; align-items: center; }
.about__text > p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0 2rem; }
.tags li {
  padding: 0.375rem 0.875rem; font-size: 0.875rem; font-weight: 600;
  color: var(--ink); background: var(--gray-100); border-radius: 62.4375rem;
}
.placeholder {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.625rem;
  color: var(--muted); text-align: center;
  background: repeating-linear-gradient(135deg, var(--bg-tint) 0 0.875rem, #ebedef 0.875rem 1.75rem);
  border: 2px dashed var(--line); border-radius: var(--radius);
}
.placeholder svg { width: 3rem; height: 3rem; }
.placeholder span { font-weight: 700; }

/* ---------- Kartochkalar (xizmatlar) ---------- */
.cards { display: grid; gap: 1.5rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 2.25rem 2rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0.1875rem;
  background: var(--brand-grad);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-0.375rem); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 3.5rem; height: 3.5rem; padding: 0.75rem; margin-bottom: 1.5rem;
  fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: var(--gray-100); border-radius: 0.875rem;
  transition: background-color .3s, stroke .3s;
}
.card:hover .card__icon { background: var(--black-900); stroke: var(--white); }
.card__title { font-size: 1.25rem; margin-bottom: 0.625rem; }
.card p { color: var(--muted); font-size: 1rem; margin: 0 0 1.25rem; }
.card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; font-weight: 700; color: var(--ink);
}
.card__more::after { content: "→"; transition: transform .2s var(--ease); }
.card:hover .card__more::after { transform: translateX(0.25rem); }

/* ---------- Mahsulotlar ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.products a {
  display: flex; align-items: center; gap: 1rem;
  height: 100%;
  padding: 1.375rem 1.5rem;
  font-weight: 700;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, background-color .2s, color .2s, transform .3s var(--ease);
}
.products a:hover { border-color: var(--black-900); background: var(--black-900); color: var(--white); transform: translateY(-2px); }
.products svg {
  width: 2.25rem; height: 2.25rem; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Sohalar ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sector {
  display: flex; align-items: center; gap: 1.25rem;
  height: 100%;
  padding: 1.625rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.sector:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-lg); border-color: transparent; }
.sector svg {
  width: 3.75rem; height: 3.75rem; flex-shrink: 0; padding: 0.9375rem;
  fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  background: var(--black-900);
  border-radius: 50%;
  transition: transform .35s var(--ease);
}
.sector:hover svg { transform: rotate(-8deg) scale(1.05); }
.sector strong { display: block; font-size: 1.125rem; line-height: 1.3; margin-bottom: 0.25rem; }
.sector small { display: block; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }

/* ---------- Loyihalar ---------- */
.notice {
  margin: -2rem 0 1.75rem; padding: 0.625rem 1rem;
  font-size: 0.875rem; color: #6b5200; background: #fff8d9; border-left: 0.1875rem solid #e0b400; border-radius: 0.25rem;
}
.projects { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 16.875rem; gap: 1.25rem; }
.project {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--black-800);
}
.project--wide { grid-column: span 2; grid-row: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover img { transform: scale(1.06); }
.project::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 12, 14, .92) 0%, rgba(11, 12, 14, .25) 45%, transparent 70%);
}
.project__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.5rem 1.625rem;
  transition: transform .4s var(--ease);
}
.project:hover .project__info { transform: translateY(-0.25rem); }
.project__tag {
  display: inline-block; margin-bottom: 0.625rem; padding: 0.25rem 0.625rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: 62.4375rem;
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
}
.project h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.project--wide h3 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); }
.project p { margin: 0; font-size: 0.875rem; color: rgba(255, 255, 255, .75); }

.subhead { margin: 4.5rem 0 1.5rem; font-size: 1.375rem; letter-spacing: -.015em; }
.bigprojects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bigproject {
  padding: 1.625rem 1.625rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  transition: background-color .3s, border-color .3s;
}
.bigproject:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); }
.bigproject__top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.bigproject h4 { font-size: 1.125rem; }
.bigproject__top span { font-size: 0.8125rem; color: var(--gray-500); white-space: nowrap; }
.bigproject__metrics { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 0.875rem; }
.bigproject__metrics b {
  padding: 0.25rem 0.625rem; font-size: 0.8125rem; font-weight: 700;
  color: var(--black-900); background: var(--white); border-radius: 62.4375rem;
}
.bigproject__metrics b + b { color: var(--white); background: rgba(255, 255, 255, .1); }
.bigproject__desc { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, .62); }

/* ---------- Afzalliklar ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feature {
  position: relative;
  padding: 2.25rem 1.875rem 2rem;
  background: var(--bg-tint);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background-color .3s, color .3s;
}
.feature:hover { background: var(--black-900); color: var(--white); }
.feature:hover p { color: rgba(255, 255, 255, .68); }
.feature__num {
  display: block; margin-bottom: 1.75rem;
  font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  transition: -webkit-text-stroke-color .3s;
}
.feature:hover .feature__num { -webkit-text-stroke-color: var(--white); }
.feature h3 { font-size: 1.25rem; margin-bottom: 0.625rem; }
.feature p { color: var(--muted); font-size: 1rem; margin: 0; transition: color .3s; }

/* ---------- Ish tartibi ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.step { position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 1.625rem; left: 4.5rem; right: -1rem;
  height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 0.375rem, transparent 0.375rem 0.75rem); opacity: .25;
}
.step__num {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; margin-bottom: 1.5rem;
  font-size: 1.1875rem; font-weight: 800; color: var(--white);
  background: var(--black-900);
  border-radius: 50%;
  box-shadow: 0 0 0 0.5rem var(--white);
}
.step h3 { font-size: 1.1875rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Aloqaga chaqiruv ---------- */
.cta {
  position: relative; overflow: hidden;
  padding-block: 6rem;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .1), transparent 45%),
    linear-gradient(120deg, var(--black-800), var(--black-950));
}
.cta::before,
.cta::after {
  content: ""; position: absolute; transform: rotate(28deg);
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), transparent 60%);
}
.cta::before { right: -5rem; top: -8.75rem; width: 27.5rem; height: 27.5rem; border-radius: 2.5rem; }
.cta::after { right: 7.5rem; top: 1.875rem; width: 16.25rem; height: 16.25rem; border-radius: 1.75rem; border-color: rgba(255, 255, 255, .08); }
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta__title { font-size: clamp(1.875rem, 3.6vw, 2.875rem); margin-bottom: 0.75rem; }
.cta__text { margin: 0; max-width: 32.5rem; font-size: 1.125rem; color: rgba(255, 255, 255, .75); }
.cta__actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.cta__phone { display: inline-flex; align-items: center; gap: 0.625rem; font-size: 1.3125rem; font-weight: 800; white-space: nowrap; }
.cta__phone svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.cta__phone:hover { text-decoration: underline; text-underline-offset: 0.25rem; }

/* ---------- Pastki qism ---------- */
.footer { background: linear-gradient(180deg, #11151f, #0a0d14); color: rgba(255, 255, 255, .62); font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-block: 4.5rem 3rem; }
.footer__brand p { margin: 1rem 0 1.25rem; max-width: 17.5rem; }
.footer__title { margin-bottom: 1.125rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.footer__links li + li { margin-top: 0.625rem; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__note { margin: 0.625rem 0 0; }
.footer__hours { margin: 0.75rem 0 0; }
.socials { display: flex; align-items: center; gap: 0.625rem; flex-wrap: wrap; }
.social {
  display: grid; place-items: center; width: 2.625rem; height: 2.625rem;
  color: var(--white); border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%;
  transition: background-color .2s, color .2s;
}
.social:hover { background: var(--white); color: var(--black-900); }
.social svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer__bottom { padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 0.875rem; }
.footer__bottom p { margin: 0; }

/* ---------- Telefon uchun pastki tezkor tugmalar ---------- */
.quickbar { display: none; }

/* ---------- Paydo bo'lish animatsiyasi ---------- */
.js .reveal { opacity: 0; transform: translateY(1.75rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Moslashuvchanlik (planshet va telefon)
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 1rem; }
  .nav__list a { padding: 0.5rem 0.5625rem; font-size: 0.875rem; }
  .nav__list a::after { left: 0.5625rem; right: 0.5625rem; }
  .header__cta { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .bigprojects { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 4.25rem; }
  .container { padding-inline: 1.5rem; }

  /* backdrop-filter "position: fixed" menyuni header ichiga qamab qo'yadi, shuning uchun telefonda o'chiriladi */
  .header { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }

  .burger { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1rem 1.5rem 2rem;
    background: var(--white);
    overflow-y: auto;
    opacity: 0; transform: translateY(-0.75rem);
    visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 1rem 0.25rem; font-size: 1.25rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__cta { display: inline-flex; padding: 1rem; font-size: 1rem; }
  /* Telefon menyusida tillar ochiq ro'yxat bo'lib turadi */
  .lang__btn { display: none; }
  .lang__menu {
    position: static; display: flex; gap: 0.5rem; min-width: 0; padding: 0;
    background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .lang__menu li { flex: 1; }
  .lang__menu a { justify-content: center; flex-direction: column; gap: 2px; padding: 0.75rem 0.5rem; background: var(--bg-tint); }
  .lang__menu a[aria-current="true"] { color: var(--white); background: var(--black-900); }
  .lang__menu a[aria-current="true"] span { color: rgba(255, 255, 255, .7); }
  .lang__menu a[aria-current="true"]::after { display: none; }
  .lang__menu span { font-size: 0.75rem; }
  .lang__menu b { min-width: 0; }
  body.menu-open { overflow: hidden; }

  .hero__caption { display: none; }
  .hero__content { padding-bottom: 7.5rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section { padding-block: 5rem; }
  .about { padding-top: 5.5rem; }
  .section__head { flex-direction: column; align-items: flex-start; margin-bottom: 2.5rem; }
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards--3,
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .step::after { display: none; }
  .projects { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 15rem; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; padding-bottom: 4.75rem; }
  .container { padding-inline: 1rem; }
  .logo__mark { width: 2.125rem; height: 2.375rem; }
  .logo__text { font-size: 1.3125rem; }
  .logo__img { height: 2.2rem; }

  .hero { min-height: calc(100svh - 4.75rem); align-items: flex-end; }
  .hero__bg { object-position: 50% 12%; }
  .hero__eyebrow { display: none; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(11, 12, 14, .5) 0%, transparent 22%),
      linear-gradient(0deg, rgba(11, 12, 14, .95) 0%, rgba(11, 12, 14, .7) 45%, rgba(11, 12, 14, .1) 75%, transparent 100%);
  }
  .hero__content { padding-block: 2.5rem 6rem; }
  .hero__actions .btn { flex: 1 1 100%; }

  .stats { margin-top: -3.5rem; }
  .stat { padding: 1.375rem 1.125rem 1.25rem; }
  .stat dt { font-size: 1.625rem; }
  .stat dd { font-size: 0.8125rem; }

  .section { padding-block: 4rem; }
  .about { padding-top: 4.5rem; }
  .section__head { margin-bottom: 2rem; }
  .cards--3,
  .sectors,
  .features,
  .steps,
  .projects,
  .bigprojects { grid-template-columns: 1fr; }
  .projects { grid-auto-rows: 15.625rem; }
  .project--wide { grid-column: auto; grid-row: auto; }
  .products { grid-template-columns: 1fr 1fr; gap: 0.625rem; }
  .products a { flex-direction: column; align-items: flex-start; gap: 0.625rem; padding: 1rem; font-size: 0.9375rem; }
  .card { padding: 1.75rem 1.5rem 1.5rem; }
  .sector { padding: 1.25rem; gap: 1rem; }
  .sector svg { width: 3.25rem; height: 3.25rem; padding: 0.8125rem; }
  .feature__num { font-size: 2.25rem; margin-bottom: 1.125rem; }
  .subhead { margin-top: 3.5rem; }
  .cta { padding-block: 4rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.5rem 2rem; }

  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; gap: 0.625rem;
    padding: 0.625rem 0.75rem calc(0.625rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -0.5rem 1.5rem -0.75rem rgba(11, 12, 14, .22);
    transition: transform .3s var(--ease);
  }
  .menu-open .quickbar { transform: translateY(110%); }
  .quickbar__btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    height: 3.25rem; border-radius: 62.4375rem;
    font-weight: 700; font-size: 0.9375rem;
    color: var(--ink); border: 2px solid var(--line);
  }
  .quickbar__btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .quickbar__btn--primary { background: var(--black-900); border-color: var(--black-900); color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Ichki sahifalar
   ========================================================= */
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ---------- Sahifa sarlavhasi ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 5rem) 0 5.5rem;
  color: var(--white);
  background: var(--black-900);
}
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.8); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, .7) 0%, transparent 30%),
    linear-gradient(90deg, rgba(11, 12, 14, .95) 0%, rgba(11, 12, 14, .8) 45%, rgba(11, 12, 14, .35) 100%);
}
.page-hero--plain { background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .08), transparent 45%), linear-gradient(120deg, var(--black-800), var(--black-950)); }
.page-hero--plain::before {
  inset: auto; right: -3.75rem; top: -7.5rem; width: 26.25rem; height: 26.25rem;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 2.5rem; transform: rotate(28deg);
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), transparent 60%);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 1.375rem; font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, .55); }
.breadcrumb a { color: rgba(255, 255, 255, .8); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { max-width: 51.25rem; font-size: clamp(2.375rem, 5.2vw, 4rem); margin-bottom: 1.125rem; }
.page-hero__lead { max-width: 40rem; margin: 0; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .75); }

.section--compact { padding-block: 4rem; }
.stats__grid--flat { box-shadow: none; border: 1px solid var(--line); }
.about__tm { font-size: 0.875rem; }
.about__grid--reverse .about__media { order: -1; }

/* ---------- Ishlab chiqarish bosqichlari ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.flow__item {
  position: relative; padding: 2rem 1.875rem 1.875rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .35s var(--ease);
}
.flow__item:hover { border-color: var(--black-900); transform: translateY(-0.25rem); }
.flow__num {
  display: block; margin-bottom: 1.25rem;
  font-size: 0.9375rem; font-weight: 800; letter-spacing: .08em;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flow__item h3 { font-size: 1.25rem; margin-bottom: 0.625rem; }
.flow__item p { margin: 0; font-size: 1rem; color: var(--muted); }
.features--dark .feature { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.features--dark .feature p { color: rgba(255, 255, 255, .65); }
.features--dark .feature__num { -webkit-text-stroke-color: var(--white); }
.features--dark .feature:hover .feature__num { -webkit-text-stroke-color: var(--ink); }
.features--dark .feature:hover { background: var(--white); color: var(--ink); }
.features--dark .feature:hover p { color: var(--muted); }

/* ---------- Xizmatlar ro'yxati ---------- */
.svc {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 3.5rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__head { display: flex; align-items: center; gap: 1.25rem; }
.svc__num { min-width: 1.75rem; font-size: 0.875rem; font-weight: 800; color: var(--gray-500); letter-spacing: .06em; }
.svc__icon {
  width: 3.75rem; height: 3.75rem; padding: 0.875rem; flex-shrink: 0;
  fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: var(--gray-100); border-radius: 1rem;
  transition: background-color .3s, stroke .3s;
}
.svc:hover .svc__icon { background: var(--black-900); stroke: var(--white); }
.svc__head h2 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.svc__body p { margin: 0 0 1.125rem; font-size: 1.125rem; color: var(--muted); }
.svc__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc__list li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem; font-size: 0.875rem; font-weight: 600;
  background: var(--gray-100); border-radius: 62.4375rem;
}
.svc__list li::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--brand-grad); }

/* ---------- Mahsulot guruhlari ---------- */
.pgroup + .pgroup { margin-top: 6rem; }
.pgroup__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.pgroup__head .section__title { margin-bottom: 0; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
/* 4 ta kartochkali guruh bitta qatorda turadi */
.pgrid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .pgrid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
.pcard {
  padding: 1.875rem 1.75rem 1.75rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pcard:hover { border-color: transparent; transform: translateY(-0.25rem); box-shadow: var(--shadow-lg); }
.pcard svg {
  width: 3rem; height: 3rem;
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.pcard h3 { margin: 1.25rem 0 0.5rem; font-size: 1.1875rem; }
.pcard p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.custom-order {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  margin-top: 6rem; padding: 2.75rem 3rem;
  background: var(--bg-tint); border-radius: var(--radius);
}
.custom-order h2 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); margin-bottom: 0.5rem; }
.custom-order p { margin: 0; color: var(--muted); }

/* ---------- Loyihalar sahifasi ---------- */
.notice--light { margin-top: -1.5rem; }
.subhead--first { margin-top: 0; font-size: clamp(1.625rem, 3vw, 2.25rem); }
.minilist { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3rem; margin-top: 2rem; }
.minilist li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 1rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.minilist strong { font-size: 1.0625rem; }
.minilist span { font-size: 0.875rem; color: var(--gray-500); text-align: right; }
.minilist small { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Aloqa ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.ccards { display: grid; gap: 0.875rem; margin-top: 2.25rem; }
.ccard {
  display: flex; align-items: flex-start; gap: 1.125rem;
  padding: 1.375rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.ccard > svg {
  width: 3rem; height: 3rem; padding: 0.75rem; flex-shrink: 0;
  fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  background: var(--black-900); border-radius: 50%;
}
.ccard h3 { margin-bottom: 0.375rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ccard p, .ccard address { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.ccard p + p { margin-top: 0.25rem; }
.ccard small { font-size: 0.875rem; color: var(--muted); }
.ccard a:hover { text-decoration: underline; text-underline-offset: 0.1875rem; }
.ccard__link { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.5rem; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.ccard__link::after { content: "→"; }

/* Rasm o'rnidagi brend paneli (zavod rasmi kelguncha) */
.brand-panel {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
  background: radial-gradient(circle at 85% 10%, rgba(170, 192, 212, .3), transparent 45%), linear-gradient(140deg, var(--black-700), var(--black-950));
  border-radius: var(--radius);
}
.brand-panel__mark { position: absolute; top: 2rem; right: 2rem; width: 7.5rem; height: auto; filter: drop-shadow(0 0.375rem 1rem rgba(0, 0, 0, .45)); }
.brand-panel__num { margin: 0; font-size: clamp(4rem, 8vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.brand-panel__text { margin: 0.375rem 0 1.5rem; font-size: 1.25rem; font-weight: 700; color: rgba(255, 255, 255, .8); }
.brand-panel__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.brand-panel__list li { padding: 0.375rem 0.75rem; font-size: 0.8125rem; font-weight: 700; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 62.4375rem; }
.about__solo { max-width: 47.5rem; }
.about__photo { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.about__photo:hover img { transform: scale(1.04); }

.form { padding: 2.75rem 2.5rem 2.25rem; background: var(--bg-tint); border-radius: var(--radius); }
.form__title { font-size: 1.75rem; margin-bottom: 0.5rem; }
.form__lead { margin-bottom: 1.75rem; color: var(--muted); }
.field { display: grid; gap: 0.5rem; margin-bottom: 1.125rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.875rem; font-weight: 700; }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 0.875rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 0.75rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 6.875rem; }
.field input[type="file"] { padding: 0.6875rem 0.75rem; font-size: 0.875rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--black-900); box-shadow: 0 0 0 0.25rem rgba(19, 21, 24, .08); }
.field input:user-invalid { border-color: #c62828; }
.form__submit { width: 100%; margin-top: 0.375rem; }
.form__status { margin: 0.875rem 0 0; font-size: 0.9375rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status--ok { padding: 0.75rem 0.875rem; color: #1b5e20; background: #e8f5e9; border-radius: 0.625rem; }
.form__status--error { padding: 0.75rem 0.875rem; color: #b71c1c; background: #fdecea; border-radius: 0.625rem; }
.form__submit:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
/* Spamdan himoya maydoni — ekranda ko'rinmaydi */
.form__hp { position: absolute; left: -625rem; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0.75rem 0 0; font-size: 0.875rem; }

.map iframe { display: block; width: 100%; height: 27.5rem; border: 0; filter: grayscale(1) contrast(1.05); }
.map__note { margin: 0.75rem auto 0; padding-bottom: 0.75rem; font-size: 0.875rem; }

@media (max-width: 900px) {
  .page-hero { padding: calc(var(--header-h) + 3.5rem) 0 4rem; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; gap: 1.125rem; padding: 2.25rem 0; }
  .pgroup__head { grid-template-columns: 1fr; gap: 0.75rem; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .custom-order { flex-direction: column; align-items: flex-start; padding: 2.25rem 2rem; }
  .minilist { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__grid--reverse .about__media { order: 0; }
}

@media (max-width: 600px) {
  .page-hero { padding: calc(var(--header-h) + 2.5rem) 0 3.25rem; }
  .flow,
  .pgrid,
  .pgrid:has(> :nth-child(4):last-child),
  .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .svc__icon { width: 3.25rem; height: 3.25rem; padding: 0.75rem; }
  .pgroup + .pgroup { margin-top: 4rem; }
  .custom-order { margin-top: 4rem; padding: 1.75rem 1.5rem; }
  .form { padding: 1.75rem 1.25rem 1.5rem; }
  .map iframe { height: 21.25rem; }
}

/* =========================================================
   Portfolio: kartochkalar, filtr, galereya (projects.js)
   ========================================================= */
button.project {
  width: 100%; padding: 0; border: 0;
  font: inherit; text-align: left; cursor: zoom-in;
}
.project { animation: card-in .5s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(1rem); } }
.project__info { display: block; }
.project__title { display: block; margin-bottom: 0.25rem; font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.project--wide .project__title { font-size: clamp(1.375rem, 2.4vw, 1.875rem); }
.project__meta { display: block; margin: 0; font-size: 0.875rem; color: rgba(255, 255, 255, .75); }
.project__zoom {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  display: grid; place-items: center; width: 2.625rem; height: 2.625rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.project__zoom svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
.project:hover .project__zoom,
.project:focus-visible .project__zoom { opacity: 1; transform: none; }

/* Rasmsiz loyiha kartochkasi */
.project--text { background: linear-gradient(150deg, var(--black-700), var(--black-900) 70%); }
.project--text::after { display: none; }
.project__mark { position: absolute; top: -1.125rem; right: -1.125rem; width: 9.375rem; height: 10.625rem; opacity: .13; }
.project--text .bigproject__metrics { margin: 0.875rem 0 0.625rem; }
.project__desc { margin: 0; font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, .65); }

.projects--all { grid-auto-rows: 18.75rem; }
.projects__empty {
  grid-column: 1 / -1; padding: 3rem 1.5rem; text-align: center;
  color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius);
}
.projects__empty p { margin-bottom: 1rem; }

/* ---------- Filtr ---------- */
.filters {
  display: grid; gap: 1rem;
  margin-bottom: 2rem; padding: 1.5rem 1.75rem;
  background: var(--bg-tint); border-radius: var(--radius);
}
.filters__group { display: flex; align-items: center; gap: 0.75rem 1.25rem; flex-wrap: wrap; }
.filters__label { min-width: 5.25rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.filters__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5rem 1rem;
  font: 600 0.875rem/1.2 var(--font); color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 62.4375rem;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--black-900); }
.chip[aria-pressed="true"] { color: var(--white); background: var(--black-900); border-color: var(--black-900); }
.filters__count { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--muted); }

/* ---------- Galereya ---------- */
html.lightbox-open { overflow: hidden; }
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  color: var(--white); background: rgba(8, 9, 10, .95);
}
.lightbox[open] { animation: lb-in .25s ease both; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox__inner { position: relative; display: grid; place-items: center; height: 100%; padding: 4.5rem 6rem 2.5rem; }
.lightbox__figure {
  display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; align-items: center;
  width: 100%; max-width: 90rem; margin: 0;
}
.lightbox__stage { display: grid; place-items: center; }
.lightbox__img { width: auto; max-width: 100%; max-height: calc(100vh - 8.75rem); border-radius: 0.75rem; object-fit: contain; }
.lightbox__caption h3 { margin-bottom: 0.5rem; font-size: 1.625rem; }
.lightbox__meta { margin-bottom: 1rem; font-size: 0.9375rem; color: rgba(255, 255, 255, .65); }
.lightbox__desc { margin: 0; color: rgba(255, 255, 255, .8); }
.lightbox__caption .bigproject__metrics { margin-bottom: 0.875rem; }
.lightbox__btn {
  position: absolute; z-index: 2;
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  color: var(--white); background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%;
  cursor: pointer; transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { top: 50%; left: 1.5rem; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 1.5rem; transform: translateY(-50%); }
.lightbox__counter { position: absolute; top: 2.125rem; left: 50%; transform: translateX(-50%); font-size: 0.875rem; color: rgba(255, 255, 255, .7); }

@media (max-width: 900px) {
  .projects--all { grid-auto-rows: 17.5rem; }
  .project__zoom { opacity: 1; transform: none; }
  .lightbox__inner { padding: 4.75rem 1rem 1.5rem; align-items: start; overflow-y: auto; }
  .lightbox__figure { grid-template-columns: 1fr; gap: 1.25rem; }
  .lightbox__img { max-height: 62vh; }
  .lightbox__prev,
  .lightbox__next { top: calc(4.75rem + 31vh); width: 2.75rem; height: 2.75rem; }
  .lightbox__prev { left: 1.5rem; }
  .lightbox__next { right: 1.5rem; }
}

@media (max-width: 600px) {
  .projects--all { grid-auto-rows: 16.25rem; }
  .filters { padding: 1.25rem 1rem; }
  .filters__label { min-width: 0; width: 100%; }
  .lightbox__caption h3 { font-size: 1.375rem; }
}

/* ---------- Menyu foni — kumush logotipga mos to'q (2026-10-19) ----------
   Kumush-shisha logotip oq fonda xira ko'rinadi, shuning uchun menyu doim to'q.
   Bosh sahifa rasmi ustida avvalgidek shaffof turadi. */
.header { background: rgba(27, 34, 48, .96); }
.header.is-scrolled { border-color: rgba(255, 255, 255, .08); box-shadow: 0 0.375rem 1.5rem -0.75rem rgba(0, 0, 0, .55); }
.header .header__cta { background: var(--white); color: var(--black-900); }
.header .header__cta:hover { background: var(--gray-100); }
@media (min-width: 901px) {
  .header .nav__list a { color: rgba(255, 255, 255, .7); }
  .header .nav__list a:hover,
  .header .nav__list a[aria-current="page"] { color: var(--white); }
  .header .lang__btn { color: var(--white); background: rgba(255, 255, 255, .1); }
  .header .lang__btn:hover { border-color: rgba(255, 255, 255, .3); }
}
@media (max-width: 900px) {
  .header { background: #1b2230; }
  .header .burger { background: rgba(255, 255, 255, .12); }
  .header .burger span { background: var(--white); }
}

.logo { position: relative; }
/* Logotip ustidan yaltiroq nur o'tib turadi (faqat logotip shakli ichida — mask) */
.logo:has(.logo__img)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%) no-repeat;
  background-size: 250% 100%;
  -webkit-mask: url("/assets/img/logo-3d.webp?v=12") center / contain no-repeat;
  mask: url("/assets/img/logo-3d.webp?v=12") center / contain no-repeat;
  mix-blend-mode: screen;
  animation: logo-shine 4.5s ease-in-out infinite;
}
@keyframes logo-shine {
  0%, 55% { background-position: 130% 0; }
  100% { background-position: -30% 0; }
}
@media (prefers-reduced-motion: reduce) { .logo:has(.logo__img)::after { animation: none; opacity: 0; } }
