/* ============================================================
   GULIZAR CERAMICS — "Zellige Glass"
   iOS-glassmorphism × Moroccan / Arab / Uzbek ornament
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* palette — drawn from zellige glazes */
  --sand-50:  #FBF7EC;
  --sand-100: #F5EEDD;
  --sand-200: #EDE2C6;
  --sand-300: #E2D4AF;
  --ink:      #16302B;
  --ink-soft: #40584F;
  --ink-faint:#71857D;
  --teal:        #17806E;
  --teal-deep:   #0E5B4E;
  --teal-bright: #23A38B;
  --apricot:     #E8A45E;
  --terracotta:  #C2683A;
  --crimson:     #BE3D4E;
  --gold:        #C9A227;

  /* theme surface */
  --bg: var(--sand-100);
  --bg-accent: radial-gradient(52rem 34rem at 82% -6%, rgba(35,163,139,.14), transparent 60%),
               radial-gradient(44rem 30rem at -10% 22%, rgba(232,164,94,.18), transparent 55%),
               radial-gradient(36rem 28rem at 96% 78%, rgba(194,104,58,.10), transparent 60%);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --text-faint: var(--ink-faint);

  --glass:        rgba(255,255,255,.52);
  --glass-strong: rgba(255,255,255,.72);
  --glass-input:  rgba(255,255,255,.62);
  --glass-edge:   rgba(255,255,255,.65);
  --glass-edge-soft: rgba(255,255,255,.38);
  --stroke:       rgba(22,48,43,.10);
  --stroke-strong:rgba(22,48,43,.18);

  --shadow-sm: 0 2px 10px rgba(14,60,52,.07);
  --shadow-md: 0 10px 30px rgba(14,60,52,.11);
  --shadow-lg: 0 24px 60px -12px rgba(14,60,52,.20);
  --shadow-teal: 0 14px 34px -10px rgba(23,128,110,.45);

  --pattern-girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='104' viewBox='0 0 104 104'%3E%3Cg fill='none' stroke='%2316302B' stroke-opacity='.055'%3E%3Crect x='31' y='31' width='42' height='42'/%3E%3Crect x='31' y='31' width='42' height='42' transform='rotate(45 52 52)'/%3E%3Ccircle cx='52' cy='52' r='9'/%3E%3Cpath d='M0 52h22M82 52h22M52 0v22M52 82v22'/%3E%3C/g%3E%3C/svg%3E");
  --chev-strip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='66' height='18' viewBox='0 0 66 18'%3E%3Cg fill='none' stroke-width='3.4' stroke-linecap='square'%3E%3Cpath d='M17 2 L8 9 L17 16' stroke='%2317806E'/%3E%3Cpath d='M39 2 L30 9 L39 16' stroke='%23E8A45E'/%3E%3Cpath d='M61 2 L52 9 L61 16' stroke='%23C2683A'/%3E%3C/g%3E%3C/svg%3E");
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5.2' y='5.2' width='13.6' height='13.6'/%3E%3Crect x='5.2' y='5.2' width='13.6' height='13.6' transform='rotate(45 12 12)'/%3E%3C/svg%3E");

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-arch: var(--r-lg); /* avval arka edi — endi butun saytda yumaloq to'rtburchak */

  --font-display: 'Unbounded', 'Readex Pro', system-ui, sans-serif;
  --font-body: 'Onest', 'Readex Pro', -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.32,1.45,.45,1);
  --speed: .45s;

  --header-h: 76px;
}

html[data-theme="dark"] {
  --bg: #0C1917;
  --bg-accent: radial-gradient(52rem 36rem at 84% -8%, rgba(35,163,139,.17), transparent 60%),
               radial-gradient(44rem 30rem at -12% 20%, rgba(194,104,58,.14), transparent 55%),
               radial-gradient(38rem 30rem at 100% 82%, rgba(190,61,78,.08), transparent 60%);
  --text: #F1EAD6;
  --text-soft: #C0C9BE;
  --text-faint: #8C9A92;

  --glass:        rgba(24,44,40,.55);
  --glass-strong: rgba(26,48,43,.78);
  --glass-input:  rgba(15,30,27,.55);
  --glass-edge:   rgba(255,255,255,.14);
  --glass-edge-soft: rgba(255,255,255,.07);
  --stroke:       rgba(241,234,214,.10);
  --stroke-strong:rgba(241,234,214,.20);

  --shadow-sm: 0 2px 10px rgba(0,0,0,.28);
  --shadow-md: 0 10px 30px rgba(0,0,0,.38);
  --shadow-lg: 0 26px 64px -12px rgba(0,0,0,.55);
  --shadow-teal: 0 14px 34px -8px rgba(23,128,110,.5);

  --teal: #1E9A83;
  --teal-deep: #157663;

  --pattern-girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='104' viewBox='0 0 104 104'%3E%3Cg fill='none' stroke='%23F1EAD6' stroke-opacity='.05'%3E%3Crect x='31' y='31' width='42' height='42'/%3E%3Crect x='31' y='31' width='42' height='42' transform='rotate(45 52 52)'/%3E%3Ccircle cx='52' cy='52' r='9'/%3E%3Cpath d='M0 52h22M82 52h22M52 0v22M52 82v22'/%3E%3C/g%3E%3C/svg%3E");
}

/* system fallback when no explicit choice stored */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #0C1917;
    --text: #F1EAD6;
    --text-soft: #C0C9BE;
    --text-faint: #8C9A92;
    --glass: rgba(24,44,40,.55);
    --glass-strong: rgba(26,48,43,.78);
    --glass-input: rgba(15,30,27,.55);
    --glass-edge: rgba(255,255,255,.14);
    --glass-edge-soft: rgba(255,255,255,.07);
    --stroke: rgba(241,234,214,.10);
    --stroke-strong: rgba(241,234,214,.20);
  }
}

/* Arabic: Unbounded has no Arabic glyphs — swap the whole stack */
html[lang="ar"] {
  --font-display: 'Readex Pro', 'Noto Naskh Arabic', system-ui, sans-serif;
  --font-body: 'Readex Pro', 'Noto Naskh Arabic', system-ui, sans-serif;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  transition: background-color .5s ease, color .35s ease;
}
body::before {  /* fixed glaze + girih backdrop, composited safely */
  content: ""; position: fixed; inset: 0; z-index: -2;
  background-image: var(--bg-accent), var(--pattern-girih);
  pointer-events: none;
}

img { max-width: 100%; display: block; }

[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 .55em;
  color: var(--text);
  text-wrap: balance;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.4; }

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.08rem, 1.8vw, 1.35rem); }

p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-bright); }

::selection { background: var(--teal); color: var(--sand-50); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--teal) 55%, transparent); border-radius: 99px; border: 3px solid var(--bg); }

:focus-visible {
  outline: 2.5px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1180px, 100% - 2.6rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed; inset-inline-start: 1rem; top: -4rem; z-index: 300;
  padding: .65rem 1.2rem; border-radius: 99px;
  background: var(--teal); color: #fff; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- 3. ORNAMENTS ---------- */

/* chevron caravan strip — echoes zellige arrow borders */
.chev-strip {
  height: 18px;
  margin: clamp(1.2rem, 3vw, 2.4rem) auto;
  width: min(560px, 72%);
  background-image: var(--chev-strip);
  background-repeat: repeat-x;
  background-position: center;
  opacity: .75;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  animation: chev-drift 26s linear infinite;
}
html[dir="rtl"] .chev-strip { transform: scaleX(-1); }
@keyframes chev-drift { from { background-position-x: 0; } to { background-position-x: -264px; } }

/* soft glaze blobs floating behind hero */
.hero-ornaments { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orn-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5;
  animation: blob-float 14s ease-in-out infinite alternate;
}
.orn-blob--teal { width: 34rem; height: 34rem; inset-inline-end: -9rem; top: -10rem; background: radial-gradient(circle, rgba(35,163,139,.55), transparent 65%); }
.orn-blob--apricot { width: 26rem; height: 26rem; inset-inline-start: -8rem; bottom: -9rem; background: radial-gradient(circle, rgba(232,164,94,.6), transparent 65%); animation-delay: -6s; }
@keyframes blob-float { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(0,2.6rem,0) scale(1.07); } }

.orn-star {
  position: absolute; width: 15px; height: 15px;
  background: var(--apricot);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
          mask: var(--star-mask) center / contain no-repeat;
  opacity: .8;
  animation: star-spin 26s linear infinite;
}
.orn-star--1 { top: 19%; inset-inline-start: 44%; }
.orn-star--2 { bottom: 15%; inset-inline-end: 8%; width: 11px; height: 11px; background: var(--teal-bright); animation-duration: 34s; }
@keyframes star-spin { to { transform: rotate(360deg); } }

/* glass recipe */
.site-header .header-inner,
.lang-switch-menu,
.main-nav,
.collection-card,
.cp-card,
.stat,
.contact-form,
.form-success,
.product-card,
.about-line-card,
.pricing-box,
.back-bar a {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
          backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-edge-soft);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--glass-edge);
}
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .site-header .header-inner, .lang-switch-menu, .main-nav,
  .collection-card, .cp-card, .stat, .contact-form, .form-success,
  .product-card, .about-line-card, .pricing-box, .back-bar a { background: var(--glass-strong); }
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.9rem;
  border-radius: 99px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .97rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform var(--speed) var(--ease-spring), box-shadow var(--speed) var(--ease-out),
              background-color .3s ease, color .3s ease, border-color .3s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-primary {
  color: #FDFBF3;
  background: linear-gradient(160deg, var(--teal-bright), var(--teal) 55%, var(--teal-deep));
  box-shadow: var(--shadow-teal), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary::after {  /* iOS sheen sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.38) 50%, transparent 62%);
  transform: translateX(-130%); transition: transform .8s var(--ease-out);
}
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 42px -10px rgba(23,128,110,.55), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:hover::after { transform: translateX(130%); }
html[dir="rtl"] .btn-primary::after { transform: translateX(130%); }
html[dir="rtl"] .btn-primary:hover::after { transform: translateX(-130%); }

.btn-ghost {
  color: var(--text);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
          backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--stroke-strong);
  box-shadow: inset 0 1px 0 var(--glass-edge);
}
.btn-ghost:hover { color: var(--text); border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-outline {
  color: var(--teal); background: transparent;
  border-color: color-mix(in srgb, var(--teal) 45%, transparent);
}
.btn-outline:hover { background: color-mix(in srgb, var(--teal) 12%, transparent); border-color: var(--teal); transform: translateY(-2px); }

.btn-whatsapp {
  color: #fff;
  background: linear-gradient(160deg, #33CC6B, #1FA855 60%, #158F46);
  box-shadow: 0 12px 28px -8px rgba(31,168,85,.5), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-whatsapp:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 38px -8px rgba(31,168,85,.6), inset 0 1px 0 rgba(255,255,255,.4); }

/* ---------- 5. HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  padding: .8rem 0;
  transition: padding .35s var(--ease-out);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .9rem .55rem 1.1rem;
  border-radius: 99px;
  transition: box-shadow .35s ease, background-color .35s ease;
}
html[dir="rtl"] .header-inner { padding: .55rem 1.1rem .55rem .9rem; }
.site-header.is-scrolled { padding: .45rem 0; }
.site-header.is-scrolled .header-inner { box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-edge); }

.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { width: 40px; height: 40px; display: grid; place-items: center; position: relative; }
.logo-mark::before {
  content: ""; position: absolute; inset: -4px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  transition: transform .5s var(--ease-spring), border-color .3s;
}
.logo:hover .logo-mark::before { transform: rotate(45deg); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.logo-img { width: 30px; height: auto; position: relative; }
.logo-mark img.logo-img--gold { display: none; }
html[data-theme="dark"] .logo-mark img.logo-img--deep { display: none; }
html[data-theme="dark"] .logo-mark img.logo-img--gold { display: block; }

.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: .12em; }
.logo-sub { font-size: .6rem; letter-spacing: .42em; color: var(--text-faint); font-weight: 600; }
html[lang="ar"] .logo-name { letter-spacing: .06em; }
html[lang="ar"] .logo-sub { letter-spacing: .2em; }

.main-nav { display: flex; align-items: center; gap: .2rem; border-radius: 99px; padding: .28rem; }
.main-nav a {
  padding: .5rem 1.05rem; border-radius: 99px;
  color: var(--text-soft); font-weight: 500; font-size: .93rem;
  transition: color .25s, background-color .25s, transform .3s var(--ease-spring);
}
.main-nav a:hover {
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 10%, transparent);
  transform: translateY(-2px);
}

.header-actions { display: flex; align-items: center; gap: .55rem; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--stroke); background: transparent;
  color: var(--text-soft); cursor: pointer;
  transition: transform .45s var(--ease-spring), border-color .3s, color .3s, background-color .3s;
}
.theme-toggle:hover { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 55%, transparent); transform: translateY(-2px) rotate(18deg); }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.lang-switch { position: relative; }
.lang-switch-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  height: 42px; padding: 0 1rem; border-radius: 99px;
  border: 1px solid var(--stroke); background: transparent;
  color: var(--text); font-weight: 600; font-size: .85rem; letter-spacing: .06em;
  cursor: pointer; font-family: var(--font-body);
  transition: border-color .3s, transform .3s var(--ease-spring), background-color .3s;
}
.lang-switch-btn:hover { border-color: var(--teal); transform: translateY(-2px); }
.lang-switch-caret { transition: transform .3s var(--ease-out); }
.lang-switch-btn[aria-expanded="true"] .lang-switch-caret { transform: rotate(180deg); }

.lang-switch-menu {
  position: absolute; top: calc(100% + .6rem); inset-inline-end: 0; z-index: 50;
  min-width: 10.5rem; margin: 0; padding: .45rem; list-style: none;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-edge);
  animation: menu-pop .3s var(--ease-spring);
  transform-origin: top;
}
@keyframes menu-pop { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
.lang-switch-menu li {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .85rem; border-radius: 11px;
  font-size: .92rem; font-weight: 500; cursor: pointer;
  color: var(--text-soft);
  transition: background-color .2s, color .2s;
}
.lang-switch-menu li::before {
  content: ""; width: 9px; height: 9px; flex: 0 0 auto;
  background: currentColor; opacity: .35;
  -webkit-mask: var(--star-mask) center / contain no-repeat;
          mask: var(--star-mask) center / contain no-repeat;
  transition: opacity .2s, transform .3s var(--ease-spring);
}
.lang-switch-menu li:hover { background: color-mix(in srgb, var(--teal) 10%, transparent); color: var(--teal); }
.lang-switch-menu li.active { color: var(--teal); font-weight: 700; }
.lang-switch-menu li.active::before { opacity: 1; transform: scale(1.25); background: var(--gold); }

.contact-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 42px; padding: 0 1.25rem; border-radius: 99px;
  background: linear-gradient(160deg, var(--terracotta), #A9532B);
  color: #FDF6E9; font-weight: 600; font-size: .9rem;
  box-shadow: 0 10px 24px -8px rgba(194,104,58,.55), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform var(--speed) var(--ease-spring), box-shadow .35s ease;
}
.contact-btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px -8px rgba(194,104,58,.65), inset 0 1px 0 rgba(255,255,255,.35); }

.nav-burger {
  display: none;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--stroke); background: transparent;
  cursor: pointer; position: relative;
  flex: 0 0 auto;
}
.nav-burger span {
  position: absolute; inset-inline: 12px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform .35s var(--ease-out), opacity .25s, top .35s var(--ease-out);
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* back bar (sub-pages) */
.back-bar { position: sticky; top: calc(var(--header-h) + .4rem); z-index: 110; margin-top: .6rem; pointer-events: none; }
.back-bar .container { display: flex; }
.back-bar a {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.1rem; border-radius: 99px;
  color: var(--text-soft); font-weight: 600; font-size: .88rem;
  transition: transform .35s var(--ease-spring), color .25s, box-shadow .3s;
}
.back-bar a:hover { color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-md); }
html[dir="rtl"] .back-bar svg { transform: scaleX(-1); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  padding: clamp(1.6rem, 4vh, 3.2rem) 0 clamp(2rem, 5vh, 3.6rem);
  overflow: clip;
}
.hero .container.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  min-height: min(74vh, 680px);
}
.hero-media {
  position: absolute; z-index: 1;
  top: 50%; transform: translateY(-50%);
  inset-inline-end: max(calc((100vw - 1180px) / 2), 1.3rem);
  width: min(40vw, 450px);
  aspect-ratio: 4 / 5.1;
  border-radius: var(--r-arch);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--glass-edge-soft);
}
.hero-media img { width: 100%; height: 114%; object-fit: cover; will-change: transform; }
.hero-media .hero-overlay {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(200deg, rgba(23,128,110,.14), transparent 42%, rgba(20,32,29,.30));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.hero-media::after {  /* nozik ichki rom */
  content: ""; position: absolute; inset: 11px; z-index: 2;
  border: 1.5px solid rgba(250,246,235,.45);
  border-radius: calc(var(--r-lg) - 8px);
  pointer-events: none;
}

.hero-content > * { max-width: min(33rem, calc(100% - min(42vw, 470px))); }

.eyebrow, .section-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .42rem 1.05rem; border-radius: 99px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 var(--glass-edge);
  color: var(--terracotta);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  margin: 0 0 1.3rem;
}
html[lang="ar"] .eyebrow, html[lang="ar"] .section-eyebrow { letter-spacing: .05em; }
.eyebrow::before, .section-eyebrow::before {
  content: ""; width: 11px; height: 11px;
  background: var(--gold);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
          mask: var(--star-mask) center / contain no-repeat;
  animation: star-spin 22s linear infinite;
  flex: 0 0 auto;
}

.hero h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  background: linear-gradient(120deg, var(--text) 55%, var(--teal) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text);
}
.hero-subtitle { color: var(--text-soft); font-size: 1.06rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- 7. SECTIONS ---------- */
main section { position: relative; padding: clamp(2.6rem, 7vh, 4.6rem) 0; }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 5vh, 3.2rem); }
.section-head h2 { position: relative; display: inline-block; padding-bottom: .75rem; }
.section-head h2::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 74px; height: 8px;
  background-image: var(--chev-strip);
  background-size: auto 8px; background-repeat: repeat-x; background-position: center;
  opacity: .85;
}
.section-sub { color: var(--text-soft); margin: .4rem auto 0; max-width: 40rem; }

/* ---------- 8. COLLECTIONS ---------- */
/* endi bosh sahifaning ochilish bo'limi — ishlar darhol ko'rinsin */
main > .collections:first-child { padding-top: clamp(1.2rem, 3vh, 2.4rem); }
main > .collections:first-child .section-head { margin-bottom: clamp(1.4rem, 3.5vh, 2.4rem); }

.collection-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.collection-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-xl);
  padding: .85rem .85rem 1.5rem;
  color: var(--text);
  transition: transform var(--speed) var(--ease-spring), box-shadow var(--speed) var(--ease-out), border-color .35s;
  will-change: transform;
}
.collection-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-edge);
  border-color: color-mix(in srgb, var(--teal) 35%, transparent);
  color: var(--text);
}
.collection-card .card-media {
  aspect-ratio: 4 / 3.4;
  border-radius: calc(var(--r-xl) - 10px);
  overflow: hidden; position: relative;
  margin-bottom: 1.35rem;
}
.collection-card .card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.collection-card:hover .card-media img { transform: scale(1.07); }
/* panno surati oq fonda olingan — chetlaridagi oq hoshiya ko'rinmasligi uchun kattalashtirib qirqamiz */
#panno .card-media img { transform: scale(1.42); }
#panno:hover .card-media img { transform: scale(1.5); }
/* fine-art: to'liq panel ko'rinsin — qirqmasdan, oq "galereya" fonida */
#fine-art .card-media { background: #FCFAF4; }
#fine-art .card-media img { object-fit: contain; }

/* colography (5-chi, toq karta) — yonida bo'shliq qolmasin: 2 katak enida, gorizontal joylashuv */
@media (max-width: 620px), (min-width: 700px) {
  #colography { grid-column: span 2; flex-direction: row; align-items: stretch; }
  #colography .card-media {
    flex: 0 0 44%;
    aspect-ratio: auto; height: auto; min-height: 200px;
    margin-bottom: 0;
  }
  #colography .card-body { justify-content: center; padding-block: .5rem; }
}
.collection-card--fineart:hover { border-color: color-mix(in srgb, var(--terracotta) 45%, transparent); }

.card-body { padding: 0 .7rem; display: flex; flex-direction: column; flex: 1; }
.card-tag {
  align-self: flex-start;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 25%, transparent);
  padding: .3rem .8rem; border-radius: 99px;
  margin-bottom: .9rem;
}
html[lang="ar"] .card-tag { letter-spacing: .03em; }
.collection-card--fineart .card-tag {
  color: var(--terracotta);
  background: color-mix(in srgb, var(--terracotta) 11%, transparent);
  border-color: color-mix(in srgb, var(--terracotta) 30%, transparent);
}
.card-body p { color: var(--text-soft); font-size: .95rem; flex: 1; }

.card-link {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--teal); font-weight: 700; font-size: .93rem;
  transition: gap .3s var(--ease-out), color .25s;
}
.collection-card:hover .card-link, .about-line-card:hover .card-link { gap: .7rem; color: var(--teal-bright); }

/* ---------- 9. CRAFT ---------- */
.craft::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--teal) 6%, transparent) 18%, color-mix(in srgb, var(--teal) 6%, transparent) 82%, transparent);
}
.craft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
  align-items: end;
  padding-bottom: 1.4rem;
}
.craft-item {
  margin: 0; position: relative;
  transition: transform var(--speed) var(--ease-spring);
  will-change: transform;
}
.craft-item:nth-child(2) { transform: translateY(-1.6rem); }
.craft-item:hover { transform: translateY(-12px); }
.craft-item:nth-child(2):hover { transform: translateY(calc(-1.6rem - 12px)); }
.craft-item img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r-arch);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--glass-edge-soft);
  transition: box-shadow var(--speed) var(--ease-out);
}
.craft-item:hover img { box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent); }
.craft-item figcaption {
  position: absolute; bottom: -1rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  padding: .5rem 1.3rem; border-radius: 99px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
          backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--glass-edge-soft);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--glass-edge);
  font-family: var(--font-display); font-size: .8rem; font-weight: 500; letter-spacing: .04em;
}

/* ---------- 10. CUSTOM PROJECTS ---------- */
.cp-list { display: grid; gap: clamp(1.3rem, 3vw, 2rem); }
.cp-card {
  border-radius: var(--r-xl);
  padding: .85rem;
  min-width: 0; /* grid item ichidagi video slayder kartani kengaytirib yubormasin */
  transition: transform var(--speed) var(--ease-spring), box-shadow var(--speed) var(--ease-out), border-color .35s;
}
.cp-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-edge);
  border-color: color-mix(in srgb, var(--teal) 30%, transparent);
}
.cp-card-media {
  border-radius: calc(var(--r-xl) - 8px);
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  position: relative;
}
.cp-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(23,128,110,.1), transparent 45%);
  pointer-events: none;
}
.cp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cp-card:hover .cp-card-media img { transform: scale(1.05); }

.cp-card-body {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem .9rem .7rem;
}
.cp-card-body h3 { margin: 0; }

.cp-expand { padding: .4rem .9rem 1rem; animation: expand-in .5s var(--ease-out); }
@keyframes expand-in { from { opacity: 0; transform: translateY(14px); } }
.cp-expand-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: 1.6rem; align-items: start; margin-top: 1.2rem;
}
.cp-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1.2rem; justify-items: start; }
.cp-sidebar-text h4 {
  font-size: 1.02rem; margin: 1.2em 0 .45em;
  color: var(--terracotta);
}
.cp-sidebar-text h4:first-child { margin-top: 0; }
.cp-sidebar-text p, .cp-sidebar-text li { color: var(--text-soft); font-size: .95rem; }
.cp-sidebar-text ul { margin: 0 0 1em; padding: 0; list-style: none; }
.cp-sidebar-text li { position: relative; padding-inline-start: 1.5rem; margin-bottom: .5em; }
.cp-sidebar-text li::before {
  content: ""; position: absolute; inset-inline-start: .15rem; top: .48em;
  width: 9px; height: 9px; background: var(--apricot);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
          mask: var(--star-mask) center / contain no-repeat;
}

.cp-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr));
  gap: .8rem;
}
.cp-video { width: 100%; border-radius: var(--r-md); background: #000; box-shadow: var(--shadow-md); }
.cp-video--portrait { max-width: 320px; margin-inline: auto; }

/* video to'plami — chapdan o'ngga suriladigan slider (mobilda 2 tasi yonma-yon ko'rinadi) */
.cp-video-stack {
  display: flex; align-items: center; gap: .9rem;
  margin-top: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: .3rem .2rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--teal) 45%, transparent) transparent;
}
.cp-video-stack::-webkit-scrollbar { height: 8px; }
.cp-video-stack::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--teal) 40%, transparent); border-radius: 99px; }
.cp-video-stack .cp-video {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: min(80vw, 540px);
  max-width: none; margin-inline: 0;
}
.cp-video-stack .cp-video--portrait { width: clamp(150px, 44vw, 250px); }
@media (min-width: 961px) {
  .cp-video-stack { justify-content: safe center; }
}
.cp-video-stack-contact { display: flex; justify-content: center; padding: 1.2rem 0 .4rem; }

.gallery-item {
  padding: 0; border: 1px solid var(--glass-edge-soft); cursor: zoom-in;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--glass);
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease-spring), box-shadow var(--speed) var(--ease-out);
}
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .9s var(--ease-out); }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.08); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 22, 20, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
          backdrop-filter: blur(18px) saturate(1.2);
  animation: fade-in .3s ease;
}
@keyframes fade-in { from { opacity: 0; } }
.lightbox-img {
  max-width: min(92vw, 1100px); max-height: 84vh;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12);
  animation: lb-pop .4s var(--ease-spring);
}
@keyframes lb-pop { from { opacity: 0; transform: scale(.92); } }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #F5EEDD; font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .25s, transform .35s var(--ease-spring);
  padding: 0;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.22); transform: scale(1.08); }
.lightbox-close { top: 1.2rem; inset-inline-end: 1.2rem; }
.lightbox-prev { inset-inline-start: 1.2rem; top: 50%; margin-top: -26px; }
.lightbox-next { inset-inline-end: 1.2rem; top: 50%; margin-top: -26px; }
.lightbox-counter {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  padding: .45rem 1.2rem; border-radius: 99px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #F5EEDD; font-size: .85rem; font-weight: 600; letter-spacing: .08em;
}

/* ---------- 11. ABOUT (home) ---------- */
/* rasm foydalanuvchi so'roviga ko'ra olib tashlandi — bo'lim markazlashgan matn + statistika */
.about-grid { display: block; }
.about-media { display: none; }
.about-body { max-width: 46rem; margin-inline: auto; text-align: center; }
.about-body > p { color: var(--text-soft); max-width: 38rem; margin-inline: auto; }

.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .9rem; margin: 1.8rem 0;
}
@media (min-width: 961px) {
  .stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.stat {
  border-radius: var(--r-lg);
  padding: 1.15rem 1.25rem 1rem;
  position: relative; overflow: hidden;
  margin: 0;
  transition: transform var(--speed) var(--ease-spring), box-shadow var(--speed) var(--ease-out), border-color .3s;
}
.stat::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), var(--apricot), var(--terracotta));
  opacity: 0; transition: opacity .35s;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-edge); border-color: color-mix(in srgb, var(--teal) 30%, transparent); }
.stat:hover::before { opacity: 1; }
.stat dt {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--teal); line-height: 1.1; margin: 0 0 .3rem;
}
.stat dd { margin: 0; font-size: .82rem; color: var(--text-faint); font-weight: 500; }

.about-readmore { font-size: 1rem; }

/* ---------- 12. CONTACT ---------- */
.contact::before {
  content: ""; position: absolute; inset: 8% 0 0; z-index: -1;
  background:
    radial-gradient(38rem 26rem at 12% 20%, color-mix(in srgb, var(--teal) 10%, transparent), transparent 60%),
    radial-gradient(34rem 24rem at 90% 75%, color-mix(in srgb, var(--apricot) 14%, transparent), transparent 60%);
}
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4.5vw, 4rem); align-items: start;
}
.contact-intro { position: sticky; top: calc(var(--header-h) + 1.4rem); }
.contact-intro p:last-child { color: var(--text-soft); }

.contact-form, .form-success {
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3.4vw, 2.4rem);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-edge);
}
.form-row { margin-bottom: 1.15rem; }
.form-row--half { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px,100%), 1fr)); gap: 1.15rem; margin-bottom: 1.15rem; }
.form-row--half > div { margin: 0; }
.contact-form label {
  display: block; margin-bottom: .45rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint);
}
html[lang="ar"] .contact-form label { letter-spacing: .02em; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: .85rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--glass-input);
  color: var(--text);
  font: inherit; font-size: .98rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: var(--stroke-strong); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent);
}
.contact-form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%2371857D' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-inline-end: 2.6rem;
}
html[dir="rtl"] .contact-form select { background-position: left 1rem center; }

.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.form-actions-sep { color: var(--text-faint); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.form-note, .reassure-note { font-size: .84rem; color: var(--text-faint); margin: 1rem 0 0; }
.reassure-note a { font-weight: 600; }

.form-success { text-align: center; padding-block: 3rem; color: var(--teal); }
.form-success h3 { margin-top: 1rem; color: var(--text); }
.form-success p { color: var(--text-soft); max-width: 24rem; margin-inline: auto; }
.form-success-reset {
  margin-top: .6rem;
  border: 0; background: none; cursor: pointer;
  color: var(--teal); font: inherit; font-weight: 700;
  border-bottom: 1.5px dashed color-mix(in srgb, var(--teal) 50%, transparent);
  padding: 0 0 2px;
}
.form-success-reset:hover { color: var(--teal-bright); }

/* ---------- 13. FOOTER ---------- */
.site-footer {
  margin-top: clamp(2rem, 6vh, 4rem);
  position: relative;
  color: #D9E2DA;
  background: linear-gradient(180deg, #10312B, #0B211D 70%);
  padding: 3.6rem 0 2rem;
  border-top: 1px solid rgba(241,234,214,.08);
}
.site-footer::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='104' viewBox='0 0 104 104'%3E%3Cg fill='none' stroke='%23F1EAD6' stroke-opacity='.05'%3E%3Crect x='31' y='31' width='42' height='42'/%3E%3Crect x='31' y='31' width='42' height='42' transform='rotate(45 52 52)'/%3E%3Ccircle cx='52' cy='52' r='9'/%3E%3Cpath d='M0 52h22M82 52h22M52 0v22M52 82v22'/%3E%3C/g%3E%3C/svg%3E");
}
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); z-index: 1;
  width: min(420px, 70%); height: 12px;
  background-image: var(--chev-strip);
  background-size: auto 12px; background-repeat: repeat-x; background-position: center;
  opacity: .9;
}
.footer-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.2fr);
  gap: 2.2rem;
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand .logo-mark::before { border-color: rgba(241,234,214,.16); background: rgba(255,255,255,.05); }
.footer-brand .logo-name { color: #F1EAD6; letter-spacing: .1em; font-size: .95rem; font-family: var(--font-display); font-weight: 600; }
.footer-tagline { font-size: .8rem; color: #93A69C; letter-spacing: .06em; margin-top: .2rem; }

.footer-nav { display: grid; gap: .5rem; align-content: start; }
.footer-nav a {
  color: #AEBEB2; font-size: .93rem; font-weight: 500;
  width: fit-content; position: relative;
  transition: color .25s, transform .3s var(--ease-out);
}
.footer-nav a:hover { color: var(--apricot); transform: translateX(4px); }
html[dir="rtl"] .footer-nav a:hover { transform: translateX(-4px); }

.footer-contact { display: grid; gap: .6rem; align-content: start; justify-items: start; }
.footer-contact a {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem; border-radius: 99px;
  color: #CFDCD2; font-size: .9rem; font-weight: 500;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(241,234,214,.09);
  transition: background-color .25s, color .25s, transform .35s var(--ease-spring), border-color .25s;
}
.footer-contact a:hover { background: rgba(255,255,255,.11); color: #fff; border-color: rgba(241,234,214,.2); transform: translateY(-3px); }
.footer-contact svg { color: var(--apricot); flex: 0 0 auto; }

.footer-copy {
  grid-column: 1 / -1;
  margin: 1.6rem 0 0; padding-top: 1.4rem;
  border-top: 1px solid rgba(241,234,214,.09);
  font-size: .82rem; color: #7F938A; text-align: center;
}

/* ---------- 14. WHATSAPP FAB ---------- */
.whatsapp-fab {
  position: fixed; bottom: 1.5rem; inset-inline-end: 1.5rem; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(160deg, #33CC6B, #189A4D);
  box-shadow: 0 14px 34px -8px rgba(24,154,77,.6), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform var(--speed) var(--ease-spring), box-shadow .35s;
}
.whatsapp-fab::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid rgba(51,204,107,.55);
  animation: fab-pulse 2.6s var(--ease-out) infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(.9); opacity: .9; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}
.whatsapp-fab:hover { color: #fff; transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 44px -8px rgba(24,154,77,.7), inset 0 1px 0 rgba(255,255,255,.4); }

/* ---------- 15. SUB-PAGES ---------- */
.page-hero { text-align: center; padding-bottom: clamp(1.6rem, 4vh, 2.6rem); }
.page-hero .container { max-width: 52rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero h1::after {
  content: ""; display: block; margin: 1.1rem auto 0;
  width: 84px; height: 9px;
  background-image: var(--chev-strip);
  background-size: auto 9px; background-repeat: repeat-x; background-position: center;
  opacity: .85;
}
.page-intro { color: var(--text-soft); font-size: 1.04rem; margin-bottom: 1.8rem; }

.quote-cta { text-align: center; }
.quote-cta .container {
  max-width: 56rem;
  padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.4rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background:
    linear-gradient(150deg, var(--terracotta), var(--crimson));
  color: #FBF2E2;
  box-shadow: 0 26px 60px -14px rgba(194,104,58,.45), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform var(--speed) var(--ease-spring), box-shadow var(--speed) var(--ease-out);
  position: relative; overflow: hidden;
}
.quote-cta .container::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='104' viewBox='0 0 104 104'%3E%3Cg fill='none' stroke='%23FBF2E2' stroke-opacity='.09'%3E%3Crect x='31' y='31' width='42' height='42'/%3E%3Crect x='31' y='31' width='42' height='42' transform='rotate(45 52 52)'/%3E%3Ccircle cx='52' cy='52' r='9'/%3E%3Cpath d='M0 52h22M82 52h22M52 0v22M52 82v22'/%3E%3C/g%3E%3C/svg%3E");
}
.quote-cta .container:hover { transform: translateY(-6px); box-shadow: 0 34px 72px -14px rgba(194,104,58,.55), inset 0 1px 0 rgba(255,255,255,.3); }
.quote-cta .container > * { position: relative; }
.quote-cta h2 { color: #FDF8EC; }
.quote-cta p { color: rgba(253,248,236,.82); max-width: 34rem; margin-inline: auto; }
.quote-cta .btn-primary {
  background: #FDF8EC; color: var(--terracotta);
  box-shadow: 0 14px 30px -8px rgba(0,0,0,.3), inset 0 1px 0 #fff;
  margin-top: .6rem;
}
.quote-cta .btn-primary:hover { color: var(--crimson); }
.quote-cta .reassure-note { color: rgba(253,248,236,.65); }
.quote-cta .reassure-note a { color: #FDF8EC; text-decoration: underline; text-underline-offset: 3px; }

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
}
.product-card {
  border-radius: var(--r-lg);
  padding: .7rem .7rem 1.1rem;
  color: var(--text);
  transition: transform var(--speed) var(--ease-spring), box-shadow var(--speed) var(--ease-out), border-color .3s;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-edge);
  border-color: color-mix(in srgb, var(--teal) 32%, transparent);
  color: var(--text);
}
.product-card-media { border-radius: calc(var(--r-lg) - 6px); overflow: hidden; aspect-ratio: 1 / .96; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-card-body { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .95rem .45rem 0; }
.product-card-body h3 { margin: 0; font-size: 1rem; }
.product-card-price {
  flex: 0 0 auto;
  font-size: .82rem; font-weight: 700;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 24%, transparent);
  padding: .3rem .75rem; border-radius: 99px;
}
.product-grid-empty { text-align: center; color: var(--text-faint); padding: 3rem 0; }

/* product detail */
.product-detail-head { text-align: center; padding-bottom: 1.4rem; }
.product-detail-head .container { max-width: 56rem; }
.product-detail-price {
  display: inline-block;
  font-weight: 700; font-size: .95rem;
  color: var(--terracotta);
  background: color-mix(in srgb, var(--terracotta) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--terracotta) 28%, transparent);
  padding: .4rem 1.1rem; border-radius: 99px;
  margin-bottom: 1.2rem;
}
.product-detail-desc { color: var(--text-soft); text-align: start; margin: 1.4rem auto 0; max-width: 46rem; }
.product-detail-specs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem;
  margin-top: 1.5rem;
}
.product-detail-specs span {
  padding: .5rem 1.1rem; border-radius: 99px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid var(--stroke);
  font-size: .88rem; color: var(--text-soft);
}
.product-detail-specs strong { color: var(--text); font-weight: 700; }

.pricing-box {
  max-width: 26rem;
  margin: 1.8rem auto 0;
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  text-align: start;
}
.pricing-box-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; font-size: .95rem;
  border-bottom: 1px dashed var(--stroke-strong);
}
.pricing-box-row .pb-label { color: var(--text-soft); }
.pricing-box-row .pb-value { font-weight: 700; }
.pricing-box-total { border-bottom: 0; }
.pricing-box-total .pb-value { font-family: var(--font-display); font-size: 1.3rem; color: var(--teal); }
.pricing-box-note { font-size: .8rem; color: var(--text-faint); margin: .5rem 0 1rem; }
.pricing-box .btn { width: 100%; }

.gallery { padding-top: 1rem; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: .9rem;
}
.gallery-grid .gallery-item:first-child { grid-column: span 2; }
.gallery-grid .gallery-item:first-child img { aspect-ratio: 2 / 1.35; }
@media (max-width: 620px) {
  .gallery-grid .gallery-item:first-child { grid-column: span 1; }
  .gallery-grid .gallery-item:first-child img { aspect-ratio: 1; }
}

/* ---------- 16. ABOUT PAGE ---------- */
.about-philosophy, .about-story { padding-top: 1rem; }
.about-philosophy-inner, .about-story-inner { max-width: 50rem; margin-inline: auto; }
.about-philosophy-inner h2, .about-story-inner h2 {
  margin-top: 2.2rem; position: relative; padding-inline-start: 1.3rem;
}
.about-philosophy-inner h2::before, .about-story-inner h2::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3em;
  width: 12px; height: 12px; background: var(--terracotta);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
          mask: var(--star-mask) center / contain no-repeat;
}
.about-philosophy-inner p, .about-story-inner p { color: var(--text-soft); }
.about-philosophy-inner blockquote, .about-story-inner blockquote {
  margin: 2rem 0; padding: 1.6rem 1.9rem;
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
          backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-edge-soft);
  border-inline-start: 3px solid var(--gold);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--glass-edge);
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.05rem; line-height: 1.55;
  color: var(--text);
}
html[lang="ar"] .about-philosophy-inner blockquote, html[lang="ar"] .about-story-inner blockquote { line-height: 1.8; }

.about-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr)); gap: 1.2rem; margin: 2rem 0; }
.about-line-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  padding: .7rem .7rem 1.2rem;
  color: var(--text);
  transition: transform var(--speed) var(--ease-spring), box-shadow var(--speed) var(--ease-out), border-color .3s;
}
.about-line-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-edge);
  border-color: color-mix(in srgb, var(--teal) 32%, transparent);
  color: var(--text);
}
.about-line-media { border-radius: calc(var(--r-lg) - 6px); overflow: hidden; aspect-ratio: 4 / 3.6; }
.about-line-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.about-line-card:hover .about-line-media img { transform: scale(1.07); }
.about-line-body { padding: 1rem .6rem 0; display: flex; flex-direction: column; flex: 1; }
.about-line-body p { color: var(--text-soft); font-size: .92rem; flex: 1; }

.about-projects {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.8rem; align-items: center; margin: 2rem 0;
}
.about-projects-media { display: block; border-radius: var(--r-arch); overflow: hidden; box-shadow: var(--shadow-md); transition: transform var(--speed) var(--ease-spring), box-shadow var(--speed) var(--ease-out); }
.about-projects-media:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.about-projects-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.about-projects-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.about-projects-list li {
  position: relative; padding: .8rem 1.1rem; padding-inline-start: 2.6rem;
  border-radius: var(--r-md);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid var(--glass-edge-soft);
  box-shadow: inset 0 1px 0 var(--glass-edge);
  color: var(--text-soft); font-size: .95rem;
  transition: transform .35s var(--ease-spring), border-color .3s;
}
.about-projects-list li::before {
  content: ""; position: absolute; inset-inline-start: 1rem; top: 1.15em;
  width: 10px; height: 10px; background: var(--teal-bright);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
          mask: var(--star-mask) center / contain no-repeat;
}
.about-projects-list li:hover { transform: translateX(5px); border-color: color-mix(in srgb, var(--teal) 30%, transparent); }
html[dir="rtl"] .about-projects-list li:hover { transform: translateX(-5px); }

/* ---------- 17. REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: .5rem .75rem; font-size: .89rem; }
  .contact-btn .contact-btn-label { display: none; }
  .contact-btn { padding: 0; width: 42px; justify-content: center; }
}

@media (max-width: 960px) {
  .hero { display: flex; flex-direction: column; }
  .hero .container.hero-content { min-height: 0; }
  .hero-media { order: 2; }
  .hero-media {
    position: relative; inset-inline-end: auto; top: auto; transform: none;
    width: min(78vw, 380px); margin: 2.2rem auto 0;
  }
  .hero-content > * { max-width: none; }
  .about-grid, .contact-grid, .about-projects { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .about-media { max-width: 26rem; margin-inline: auto; }
  .cp-expand-grid { grid-template-columns: 1fr; }
  .cp-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .craft-item:nth-child(2) { transform: none; }
  .craft-item:nth-child(2):hover { transform: translateY(-12px); }
  /* telefonda ustaxona suratlari 2 tadan yonma-yon, bitta karta ekranni to'ldirmasin */
  .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.3rem .9rem; }
  .craft-item:nth-child(3) { grid-column: 1 / -1; width: min(62%, 250px); margin-inline: auto; }
  .craft-item figcaption { font-size: .66rem; padding: .35rem .8rem; bottom: -.85rem; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute; top: calc(100% + .55rem); inset-inline: 1.3rem;
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: .6rem;
    border-radius: var(--r-lg);
    background: color-mix(in srgb, var(--bg) 42%, var(--glass-strong));
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
            backdrop-filter: blur(28px) saturate(1.6);
    box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-edge);
    opacity: 0; transform: translateY(-10px) scale(.98);
    pointer-events: none;
    transition: opacity .3s var(--ease-out), transform .35s var(--ease-spring);
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: .75rem 1rem; border-radius: 13px; font-size: .97rem; }
  .nav-burger { display: block; }
  .site-header .header-inner { position: relative; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .orn-star { display: none; }
  .container { width: min(1180px, 100% - 1.8rem); }
  .theme-toggle { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .stat { padding: .95rem 1rem .85rem; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }
  .form-actions-sep { text-align: center; }
  .whatsapp-fab { width: 54px; height: 54px; bottom: 1.1rem; inset-inline-end: 1.1rem; }
  .lightbox-prev { inset-inline-start: .6rem; }
  .lightbox-next { inset-inline-end: .6rem; }
  .lightbox-close { top: .8rem; inset-inline-end: .8rem; }
  .cp-card-body { padding-inline: .5rem; }
  /* kolleksiyalar telefonda 2 tadan yonma-yon — ixcham kartalar */
  .collection-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .collection-card { padding: .4rem .4rem .85rem; border-radius: var(--r-lg); }
  .collection-card .card-media { aspect-ratio: 1 / 1.02; margin-bottom: .75rem; border-radius: calc(var(--r-lg) - 6px); }
  .card-body { padding: 0 .35rem; }
  .card-tag { font-size: .5rem; letter-spacing: .06em; padding: .22rem .55rem; margin-bottom: .5rem; }
  .card-body h3 { font-size: .92rem; }
  .card-body p { font-size: .74rem; line-height: 1.45; }
  .card-link { font-size: .78rem; }
}

/* ---------- 19. MOTION SAFETY ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none !important; }
}
