/* ============================================================
   ISKO DECOR — navy + gold (Figma dizayni asosida)
   Yorug', professional, desktop-first responsive
   ============================================================ */
:root {
  --navy:      #123a86;   /* asosiy ko'k (royal navy) */
  --navy-2:    #0e2d68;   /* to'qroq ko'k */
  --navy-3:    #0a2350;   /* eng to'q (footer) */
  --navy-soft: #eaf0fb;   /* ko'kimtir och fon */
  --gold:      #e5a97c;   /* shaftoli-oltin urg'u (tugma, ikon) */
  --gold-2:    #efc4a2;   /* yorug' oltin */
  --gold-deep: #d8946a;   /* to'q oltin (hover) */
  --gold-ink:  #3a2416;   /* oltin ustidagi to'q matn */
  --cream:     #f6f2ec;   /* och krem bo'lim foni */
  --ink:       #16233d;   /* och fonda asosiy matn */
  --muted:     #64708a;   /* ikkilamchi matn */
  --line:      #e3e7ef;   /* och chegara */
  --white:     #ffffff;
  --on-navy:      #ffffff;
  --on-navy-soft: rgba(255,255,255,0.78);
  --radius: 16px;
  --radius-lg: 26px;
  --shadow:    0 12px 34px rgba(12, 30, 74, 0.12);
  --shadow-lg: 0 22px 60px rgba(12, 30, 74, 0.22);
  --tg: #2aabee;
  --wa: #25d366;
  --ig: #e1306c;
  --navy-grad: linear-gradient(160deg, #17429a 0%, #0f3079 52%, #0a2456 100%);
  --gold-grad: linear-gradient(135deg, #efc19c, #e2a074);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Montserrat", "Manrope", sans-serif; line-height: 1.15; }
.logo-word { font-family: "Playfair Display", Georgia, serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.section { padding: 62px 0; }

/* ---------- Tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; cursor: pointer; font: inherit; font-weight: 800;
  padding: 15px 30px; border-radius: 999px; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  letter-spacing: .2px;
}
.btn-gold { background: var(--gold-grad); color: var(--gold-ink); box-shadow: 0 10px 26px rgba(226,160,116,.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(226,160,116,.55); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-2); }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-ghost-light:hover { border-color: var(--gold-2); color: var(--gold-2); transform: translateY(-2px); }
.btn-ghost-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 78px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo img { width: 42px; height: 42px; border-radius: 9px; }
.logo .logo-word {
  font-size: 1.7rem; font-weight: 700; letter-spacing: 3px;
  color: var(--gold-deep); text-transform: uppercase; white-space: nowrap;
}
.header-catalog { margin-left: 8px; }
.header-catalog .btn { padding: 12px 22px; font-size: .92rem; }
.nav { display: flex; gap: 4px; margin-left: 6px; }
.nav a {
  padding: 9px 15px; border-radius: 10px; font-size: .95rem; font-weight: 700;
  color: var(--muted); white-space: nowrap; transition: color .2s, background .2s;
}
.nav a.active, .nav a:hover { color: var(--navy); background: var(--navy-soft); }
.header-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.head-info { display: flex; align-items: center; gap: 11px; }
.head-info .ic {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-grad); color: var(--gold-ink);
}
.head-info .ic svg { width: 21px; height: 21px; }
.head-info .txt { display: flex; flex-direction: column; line-height: 1.25; }
.head-info .txt b { font-size: .96rem; color: var(--ink); font-weight: 800; }
.head-info .txt span { font-size: .82rem; color: var(--muted); }
.head-info a.txt:hover b { color: var(--navy); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.lang-switch button {
  border: 0; background: #fff; color: var(--muted);
  padding: 7px 12px; font-weight: 800; font-size: .82rem; cursor: pointer; transition: .15s;
}
.lang-switch button.on { background: var(--gold-grad); color: var(--gold-ink); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-grad);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/naqsh-tile.png");
  background-size: 460px auto; background-repeat: repeat;
  opacity: .12; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: block; text-align: center;
  max-width: 860px; margin: 0 auto;
  padding: 66px 0;
}
.hero-badge {
  display: inline-block; margin-bottom: 16px;
  background: rgba(255,255,255,.12); border: 1px solid var(--gold-2); color: var(--gold-2);
  font-weight: 800; font-size: .82rem; letter-spacing: .6px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
}
.hero-eyebrow { font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; color: #fff; }
.hero-title { font-size: 3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 26px; }
.hero-title .gold { color: var(--gold-2); display: block; margin-bottom: 6px; }
.hero-title .plain { color: #fff; display: block; }
.hero-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 26px; margin: 0 auto; max-width: 760px; }
.hero-feat { display: flex; flex-direction: column; align-items: center; }
.hero-feat .fic {
  width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid var(--gold-2); color: var(--gold-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.hero-feat .fic svg { width: 27px; height: 27px; }
.hero-feat p { font-size: .96rem; color: var(--on-navy-soft); line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 3px solid rgba(255,255,255,.14);
  aspect-ratio: 4/3; background: #fff;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .zoom {
  position: absolute; left: -26px; top: 26px;
  width: 160px; height: 160px; border-radius: 50%;
  border: 5px solid #fff; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff;
}
.hero-media .zoom img { width: 210%; height: 210%; max-width: none; object-fit: cover; object-position: 30% 30%; }

/* ---------- Section titlebar ---------- */
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head .kicker { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.sec-head h2 { font-size: 2.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.sec-head.on-navy h2 { color: #fff; }
.sec-head.on-navy .kicker { color: var(--gold-2); }
.sec-head .bar { width: 74px; height: 4px; border-radius: 4px; background: var(--gold-grad); margin: 14px auto 0; }

/* ---------- Ishxona haqida ---------- */
.about { background: var(--cream); }
.about-media { max-width: 960px; margin: 0 auto; position: relative; }
.about-video {
  width: 100%; aspect-ratio: 16/9; display: block; background: var(--navy-3);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,.8); object-fit: cover;
}
/* Video tugagach chiqadigan "qaytadan boshlash" qoplamasi */
.video-replay {
  position: absolute; inset: 3px; border: 0; cursor: pointer; font: inherit; color: #fff;
  border-radius: calc(var(--radius-lg) - 3px);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(10, 35, 80, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.video-replay.show { display: flex; }
.video-replay .ic {
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--gold-grad); color: var(--gold-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(226, 160, 116, .5); transition: transform .15s;
}
.video-replay:hover .ic { transform: scale(1.08); }
.video-replay .ic svg { width: 40px; height: 40px; }
.video-replay span:last-child { font-weight: 800; font-size: 1.05rem; letter-spacing: .3px; }

/* ---------- Categories (bo'limlar) ---------- */
.cats { background: var(--cream); }
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
  min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .2s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card .ph { position: absolute; inset: 0; }
.cat-card .ph img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,35,80,.15) 0%, rgba(10,35,80,.55) 55%, rgba(10,35,80,.9) 100%);
}
.cat-card .corner {
  position: absolute; top: 0; right: 0; width: 0; height: 0;
  border-style: solid; border-width: 0 78px 78px 0; border-color: transparent var(--gold) transparent transparent;
  z-index: 2;
}
.cat-card .body { position: relative; z-index: 3; padding: 20px 18px; }
.cat-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.cat-card span { font-size: .86rem; color: var(--gold-2); font-weight: 700; }
.cats-cta { text-align: center; margin-top: 40px; }

/* ---------- Product cards (talabgir mahsulotlar / katalog) ---------- */
.popular { background: var(--navy-grad); position: relative; }
.grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 3/4; background: #f2f4f8; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-tag, .card-new {
  position: absolute; top: 12px; font-size: .68rem; font-weight: 800;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px;
}
.card-tag { left: 12px; background: var(--gold-grad); color: var(--gold-ink); }
.card-new { right: 12px; background: var(--navy); color: #fff; }
.card-body { padding: 16px 18px 20px; }
.card-body .badge { display: inline-block; background: var(--navy-soft); color: var(--navy); font-size: .68rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; }
.card-body h3 { font-family: "Manrope", sans-serif; font-size: 1.08rem; font-weight: 800; margin: 10px 0 6px; color: var(--ink); }
.card-body p { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.card-line { height: 3px; width: 46px; background: var(--gold-grad); border-radius: 3px; margin-top: 14px; }
.popular-cta { text-align: center; margin-top: 42px; }

/* mahsulotlar lentasi (bosh sahifa — to'xtovsiz o'ngdan chapga aylanadi) */
.marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-scroll var(--marquee-dur, 50s) linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee .card { flex: 0 0 300px; width: 300px; margin-right: 24px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Individual design form ---------- */
.individ { background: var(--navy-grad); color: #fff; position: relative; overflow: hidden; }
.individ-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }
.individ h2 { font-size: 2.15rem; font-weight: 800; text-transform: uppercase; margin-bottom: 26px; }
.individ .sub { font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.individ-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 24px; }
.individ-feat .fic { width: 54px; height: 54px; color: var(--gold-2); margin-bottom: 10px; }
.individ-feat .fic svg { width: 46px; height: 46px; }
.individ-feat p { font-size: .95rem; font-weight: 700; color: var(--on-navy-soft); }
.individ-note {
  border: 1.5px dashed rgba(255,255,255,.4); border-radius: 12px; padding: 16px 18px;
  font-size: .92rem; color: var(--on-navy-soft); max-width: 520px;
}
.individ-note b { color: var(--gold-2); font-weight: 800; }
.order-card { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-lg); color: var(--ink); }
.order-card .field { margin-bottom: 16px; }
.order-card label { display: block; font-size: .86rem; font-weight: 800; margin-bottom: 7px; color: var(--ink); }
.order-card input {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font: inherit; background: #f8f9fc; color: var(--ink);
}
.order-card input:focus { outline: none; border-color: var(--gold); background: #fff; }
.order-card input::placeholder { color: #9aa3b5; }
.order-card .btn { width: 100%; margin-top: 6px; }
.order-card .file-row { display: flex; align-items: center; gap: 12px; }
.order-card .file-row input { flex: 1; }
.order-card .row2 { display: grid; grid-template-columns: 1fr; gap: 0; }

/* ---------- Map + Footer ---------- */
.map-wrap { line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.15); }
.site-footer { position: relative; overflow: hidden; background: var(--navy-3); color: var(--on-navy-soft); }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/naqsh-tile.png");
  background-size: 460px auto; background-repeat: repeat;
  opacity: .14; pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: start; gap: 40px 56px; padding: 52px 54px 44px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .logo-word { font-size: 2.2rem; color: var(--gold-deep); letter-spacing: 4px; text-transform: uppercase; }
.footer-tag { max-width: 300px; font-size: .92rem; line-height: 1.55; color: var(--on-navy-soft); }
.footer-info { display: flex; flex-direction: column; gap: 18px; }
.footer-item { display: flex; align-items: center; gap: 12px; }
.footer-item .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-grad); color: var(--gold-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-item .ic svg { width: 22px; height: 22px; }
.footer-item .txt b { color: #fff; display: block; font-size: 1.05rem; }
.footer-item .txt span { font-size: .84rem; }
.footer-social { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.footer-social p { color: #fff; font-weight: 800; margin-bottom: 12px; }
.socials { display: flex; gap: 12px; justify-content: center; }
.social-ic {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gold-grad); color: var(--gold-ink); transition: transform .15s, opacity .15s;
}
.social-ic:hover { transform: translateY(-3px); }
.social-ic svg { width: 24px; height: 24px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { padding-top: 22px; padding-bottom: 22px; font-size: .84rem; color: var(--on-navy-soft); text-align: center; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.55); }

/* ---------- Katalog page ---------- */
.page-head { background: var(--navy-grad); color: #fff; padding: 50px 0; text-align: center; }
.page-head h1 { font-size: 2.4rem; font-weight: 800; text-transform: uppercase; }
.page-head p { color: var(--on-navy-soft); margin-top: 8px; }
.cat-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 34px 0 30px; }
.chip {
  padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: .9rem;
  background: #fff; color: var(--muted); border: 1.5px solid var(--line); transition: .15s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Product detail page ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; margin: 22px 0; transition: color .2s; }
.back-link:hover { color: var(--navy); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; padding-bottom: 40px; }
/* Ramka rasm nisbatiga moslashadi — rasm kesilmasdan to'liq ko'rinadi */
.gallery-main { border-radius: var(--radius); overflow: hidden; background: #f2f4f8; box-shadow: var(--shadow); margin-bottom: 14px; }
.gallery-main img { display: block; width: 100%; height: auto; }
.thumb-groups { display: flex; gap: 14px; }
.thumb-group { flex: 1 1 0; min-width: 0; }
.thumb-label { display: block; font-size: .72rem; font-weight: 800; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.gallery-thumbs { display: flex; gap: 8px; }
.gallery-thumbs img { flex: 1 1 0; min-width: 0; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; background: #f2f4f8; border: 2px solid var(--line); cursor: pointer; transition: border-color .15s; }
.gallery-thumbs img.on { border-color: var(--gold); border-width: 3px; }
.product-info .badge { display: inline-block; background: var(--navy-soft); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 5px 13px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; margin-right: 6px; }
.product-info .badge-mat { background: var(--cream); color: var(--gold-deep); }
.product-info .badge-size { background: var(--navy); color: #fff; text-transform: none; letter-spacing: .2px; }
.product-info h1 { font-family: "Montserrat", sans-serif; font-size: 2.2rem; font-weight: 800; margin: 14px 0 16px; color: var(--ink); }
.product-info .desc { color: var(--muted); white-space: pre-line; line-height: 1.7; }
.price-cta { margin: 26px 0; background: var(--cream); border-radius: var(--radius); padding: 24px; text-align: center; }
.price-cta p { font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.notes { margin-top: 18px; }
.notes p { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }

/* ---------- Contact page ---------- */
.contact-section { max-width: 720px; margin: 40px auto; }
.contact-section > h2 { text-align: center; font-size: 2rem; text-transform: uppercase; margin-bottom: 8px; }
.contact-section > p { text-align: center; color: var(--muted); margin-bottom: 28px; }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.contact-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-card-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.contact-photo { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); background: #f3f4f6; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.contact-card-info { min-width: 0; }
.contact-region { display: inline-block; background: var(--navy); color: #fff; font-size: .74rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 10px; }
.contact-manager { font-size: .95rem; color: var(--muted); display: block; margin-bottom: 6px; }
.contact-manager b { color: var(--ink); }
.contact-num { font-size: 1.35rem; font-weight: 800; color: var(--navy); display: block; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cbtn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: #fff; transition: transform .15s, opacity .15s; }
.cbtn:hover { transform: translateY(-2px); opacity: .93; }
.cbtn svg { width: 20px; height: 20px; }
.cbtn-tel { background: var(--gold-grad); color: var(--gold-ink); }
.cbtn-tg { background: var(--tg); }
.cbtn-wa { background: var(--wa); }
.contact-btns.uni { gap: 10px; }
.contact-btns.uni .cbtn { flex: 1 1 130px; justify-content: center; }
.socials-links { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: center; margin-top: 22px; }
.social-link { font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--navy-soft); }

/* ---------- Helpers ---------- */
.empty-state, .loading { text-align: center; color: var(--muted); padding: 56px 16px; grid-column: 1 / -1; }
.demo-badge { display: inline-block; margin-top: 8px; font-size: .75rem; background: rgba(255,255,255,.1); color: var(--gold-2); padding: 4px 12px; border-radius: 999px; }
.msg { padding: 11px 15px; border-radius: 10px; margin: 12px 0; font-size: .9rem; display: none; }
.msg.ok { display: block; background: rgba(37,211,102,.14); color: #1c8a4a; }
.msg.err { display: block; background: rgba(192,69,63,.14); color: #b83b35; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-title { font-size: 2.5rem; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .head-info .txt { display: none; }
}
@media (max-width: 860px) {
  .header-catalog, .nav { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
    background: #fff; cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; color: var(--navy); }
  /* Til tugmalari va menyu — o'ng chetda turadi */
  .header-right { margin-left: auto; gap: 12px; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 22px; gap: 6px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px 14px; font-size: 1rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; min-height: auto; gap: 34px; padding: 44px 0; }
  .hero-feats { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-feat .fic { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-media { max-width: 480px; margin: 0 auto; }
  .individ-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-layout { grid-template-columns: 1fr; gap: 26px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { align-items: flex-start; text-align: left; }
  .socials { justify-content: flex-start; }
}
/* ---------- Telefon (≤ 640px) — ixcham, ko'zga yoqimli joylashuv ---------- */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .btn { padding: 13px 22px; font-size: .9rem; }

  /* Header */
  .header-inner { height: 62px; gap: 10px; }
  .logo .logo-word { font-size: 1.3rem; letter-spacing: 2px; }
  .head-info { display: none; }
  .nav-toggle { width: 40px; height: 40px; }
  .lang-switch button { padding: 6px 10px; font-size: .76rem; }

  /* Hero */
  .hero-inner { padding: 34px 0; }
  .hero-badge { font-size: .7rem; padding: 6px 12px; margin-bottom: 12px; }
  .hero-title { font-size: 1.62rem; letter-spacing: 0; margin-bottom: 20px; }
  .hero-feats { grid-template-columns: 1fr; gap: 10px; text-align: left; }
  .hero-feat {
    flex-direction: row; align-items: center; gap: 12px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px; padding: 10px 12px;
  }
  .hero-feat .fic { width: 40px; height: 40px; margin: 0; flex-shrink: 0; border-width: 1.5px; }
  .hero-feat .fic svg { width: 20px; height: 20px; }
  .hero-feat p { font-size: .86rem; line-height: 1.45; }

  /* Bo'lim sarlavhalari */
  .sec-head { margin-bottom: 26px; }
  .sec-head h2 { font-size: 1.45rem; }
  .sec-head .kicker { font-size: .7rem; letter-spacing: 1.4px; }
  .sec-head .bar { width: 54px; height: 3px; }

  /* Ishxona videosi */
  .about-video { border-radius: 16px; border-width: 2px; }
  .video-replay { inset: 2px; border-radius: 14px; gap: 10px; }
  .video-replay .ic { width: 56px; height: 56px; }
  .video-replay .ic svg { width: 28px; height: 28px; }
  .video-replay span:last-child { font-size: .9rem; }

  /* Mahsulot kartalari — 2 ustun, ixcham */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { border-radius: 13px; }
  .card-body { padding: 10px 12px 14px; }
  .card-body h3 { font-size: .92rem; margin: 7px 0 4px; }
  .card-body p { font-size: .78rem; line-height: 1.45; }
  .card-body .badge { font-size: .6rem; padding: 3px 8px; }
  .card-line { width: 32px; height: 2px; margin-top: 10px; }
  .card-tag, .card-new { font-size: .6rem; padding: 3px 8px; top: 8px; }
  .card-tag { left: 8px; }
  .card-new { right: 8px; }
  .marquee .card { flex: 0 0 200px; width: 200px; margin-right: 12px; }
  .popular-cta { margin-top: 26px; }

  /* Bo'limlar */
  .cats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { min-height: 150px; }
  .cat-card .corner { border-width: 0 52px 52px 0; }
  .cat-card .body { padding: 14px 12px; }
  .cat-card h3 { font-size: 1rem; }
  .cat-card span { font-size: .76rem; }

  /* Katalog sahifasi */
  .page-head { padding: 30px 0; }
  .page-head h1 { font-size: 1.6rem; }
  .page-head p { font-size: .88rem; }
  .cat-chips { gap: 8px; margin: 20px 0 22px; }
  .chip { padding: 8px 14px; font-size: .8rem; }

  /* Mahsulot sahifasi */
  .back-link { margin: 16px 0; font-size: .9rem; }
  .product-layout { gap: 20px; padding-bottom: 26px; }
  .product-info h1 { font-size: 1.5rem; margin: 10px 0 12px; }
  .product-info .desc { font-size: .92rem; }
  .price-cta { padding: 18px 14px; margin: 20px 0; }
  .thumb-groups { gap: 10px; }
  .gallery-thumbs { gap: 6px; }

  /* Aloqa */
  .contact-section { margin: 26px auto; }
  .contact-card { padding: 16px; }
  .contact-card-head { gap: 14px; margin-bottom: 14px; }
  .contact-photo { width: 72px; height: 72px; }
  .contact-region { font-size: .64rem; padding: 4px 10px; margin-bottom: 8px; }
  .contact-manager { font-size: .84rem; margin-bottom: 4px; }
  .contact-num { font-size: 1.12rem; }
  .contact-btns { gap: 8px; }
  .cbtn { padding: 11px 12px; font-size: .8rem; gap: 6px; }
  .cbtn svg { width: 17px; height: 17px; }
  .contact-btns.uni .cbtn { flex: 1 1 0; min-width: 0; }

  /* Individual dizayn */
  .individ-feats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .individ h2 { font-size: 1.5rem; margin-bottom: 18px; }
  .order-card { padding: 22px 18px; }

  /* Xarita + footer */
  .map-wrap iframe { height: 250px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; padding: 34px 20px 28px; }
  .footer-brand { grid-column: auto; }
  .footer-brand .logo-word { font-size: 1.7rem; letter-spacing: 3px; }
  .footer-tag { font-size: .86rem; }
  .footer-item .ic { width: 40px; height: 40px; }
  .footer-item .txt b { font-size: .96rem; }
}

/* ---------- Juda kichik ekranlar (≤ 380px) ---------- */
@media (max-width: 380px) {
  .hero-title { font-size: 1.42rem; }
  .logo .logo-word { font-size: 1.15rem; letter-spacing: 1.5px; }
  .grid { gap: 10px; }
  .card-body h3 { font-size: .86rem; }
  .cbtn span { font-size: .76rem; }
  .contact-photo { width: 62px; height: 62px; }
}
