/* =========================================================
   Tashrifat Samin — design system
   "Luxury classic, executed modern" · RTL · mobile-first
   ========================================================= */

@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  /* brand */
  --wine: #4a3d1c;
  --wine-600: #5e4c23;
  --wine-700: #2e2512;
  --wine-800: #211a10;
  --wine-900: #141009;
  --gold: #af8a32;
  --gold-400: #c9a45c;
  --gold-300: #e2c98f;
  --gold-100: #f6ebd3;
  --bronze: #4a3d1c;
  --coral: #c98a2e;

  /* neutrals */
  --ivory: #fbf8f3;
  --cream: #f4ece1;
  --blush: #f3e9d6;
  --champagne: #ecdcc4;
  --paper: #ffffff;
  --ink: #2a1a1f;
  --ink-soft: #6b5a5f;
  --ink-mute: #9a8a8e;
  --line: rgba(74, 61, 28, 0.12);
  --line-strong: rgba(74, 61, 28, 0.22);

  /* type */
  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-accent: "Vazirmatn", system-ui, Tahoma, sans-serif; /* logo, gold adjectives, slogans */
  --font-classic: "Vazirmatn", system-ui, Tahoma, sans-serif;
  --font-latin: "Cormorant", "Times New Roman", serif;

  /* scale */
  --fs-display: clamp(2.5rem, 1.4rem + 5.2vw, 6rem);
  --fs-h1: clamp(2.2rem, 1.3rem + 3.8vw, 4.4rem);
  --fs-h2: clamp(1.85rem, 1.2rem + 2.6vw, 3.4rem);
  --fs-h3: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* shape & space */
  --radius-xl: clamp(22px, 2.4vw, 34px);
  --radius-lg: clamp(18px, 1.8vw, 26px);
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 3vw, 40px);
  --frame: clamp(8px, 1vw, 14px);
  --container: 1320px;
  --section: clamp(72px, 9vw, 150px);

  --shadow-sm: 0 2px 8px rgba(33, 26, 16, 0.06);
  --shadow: 0 18px 50px -18px rgba(33, 26, 16, 0.22);
  --shadow-lg: 0 40px 90px -30px rgba(33, 26, 16, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--ink);
  background: var(--ivory);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; line-height: 1.3; letter-spacing: 0; color: var(--wine-800); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold-300); color: var(--wine-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; right: 16px; z-index: 1000; background: var(--wine); color: #fff; padding: 10px 18px; border-radius: 10px; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.frame {
  margin: var(--frame);
  border-radius: var(--radius-xl);
  overflow: hidden;
  overflow: clip; /* clip (not hidden) keeps position:sticky working inside frames */
  position: relative;
  isolation: isolate;
}
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: var(--gap, clamp(14px, 1.6vw, 24px)); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--ink-soft); }
.fa-num { font-feature-settings: "ss01"; }
.latin { font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; }

/* ---------- typography ---------- */
.display { font-size: var(--fs-display); font-weight: 800; line-height: 1.18; }
.h1 { font-size: var(--fs-h1); line-height: 1.22; }
.h2 { font-size: var(--fs-h2); line-height: 1.28; }
.h3 { font-size: var(--fs-h3); line-height: 1.45; font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.95; color: var(--ink-soft); }
.small { font-size: var(--fs-small); }
.gold-text { color: var(--gold); }
.wine-text { color: var(--wine); }
.accent-word {
  font-family: var(--font-accent);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.2;
  display: inline-block;
}
.hl { color: var(--gold); }
.section-dark .hl, .on-dark .hl { color: var(--gold-300); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 + .lead, .section-head .h1 + .lead { margin-top: 18px; }
.kicker-latin { font-family: var(--font-latin); font-style: italic; font-weight: 500; letter-spacing: 0.08em; color: var(--gold); font-size: 1.05rem; direction: ltr; display: inline-block; }

/* eyebrow pill (Urbi-style tag) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--wine-800);
  font-size: 0.9rem; font-weight: 600; line-height: 1.6;
  margin-bottom: 22px;
}
.eyebrow svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.on-dark .eyebrow, .section-dark .eyebrow { background: rgba(255, 255, 255, 0.08); border-color: rgba(226, 201, 143, 0.28); color: var(--gold-100); }

/* ornament divider */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin-block: 10px 24px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: min(120px, 22vw); background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { transform: scaleX(-1); }
.ornament svg { width: 26px; height: 26px; }

/* ---------- buttons ---------- */
.btn {
  --chip: #fff;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px;
  padding: 6px 22px 6px 6px;
  border-radius: 14px;
  font-weight: 700; font-size: 1rem; line-height: 1.4;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.3s;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn .chip {
  order: 2;
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--chip);
  color: var(--wine-800);
  transition: transform 0.5s var(--ease);
  flex: none;
}
.btn .chip svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .chip { transform: translateX(-4px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, #d8b66a, var(--gold) 55%, #9a7627); color: var(--wine-900); box-shadow: 0 10px 30px -10px rgba(175, 138, 50, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-gold:hover { box-shadow: 0 16px 40px -12px rgba(175, 138, 50, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-wine { background: var(--wine); color: #fff; --chip: rgba(255, 255, 255, 0.14); }
.btn-wine .chip { color: var(--gold-300); }
.btn-wine:hover { background: var(--wine-600); }
.btn-glass { background: rgba(255, 255, 255, 0.6); color: var(--wine-800); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.8); --chip: rgba(74, 61, 28, 0.08); }
.on-dark .btn-glass, .section-dark .btn-glass { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff; --chip: rgba(255, 255, 255, 0.12); }
.on-dark .btn-glass .chip, .section-dark .btn-glass .chip { color: var(--gold-300); }
.btn-line { border: 1px solid var(--line-strong); color: var(--wine-800); padding: 6px 22px; }
.btn-sm { min-height: 44px; padding: 4px 16px 4px 4px; font-size: 0.95rem; border-radius: 12px; }
.btn-sm .chip { width: 36px; height: 36px; border-radius: 9px; }
.btn-block { width: 100%; justify-content: space-between; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--wine); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(-5px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 90;
  padding: calc(var(--frame) + 10px) calc(var(--frame) + var(--gutter) * 0.6) 0;
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.site-header.is-hidden { transform: translateY(-120%); }
.header-bar {
  pointer-events: auto;
  max-width: calc(var(--container) + 80px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-inline: 18px 12px;
  border-radius: 20px;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.4s, height 0.4s var(--ease);
  color: var(--wine-800);
}
.site-header.is-scrolled .header-bar { background: rgba(251, 248, 243, 0.82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 40px -18px rgba(33, 26, 16, 0.35); height: 66px; }
.site-header.is-dark .header-bar { color: #fff; }
.site-header.is-dark.is-scrolled .header-bar { background: rgba(20, 16, 9, 0.72); box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.6); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.brand-name b { font-family: var(--font-accent); font-size: 1.5rem; font-weight: 900; color: var(--gold); line-height: 1.15; }
.brand-name small { font-size: 0.66rem; font-weight: 600; letter-spacing: 0; opacity: 0.8; white-space: nowrap; }
.nav { display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 11px; border-radius: 10px; font-weight: 600; font-size: 0.93rem; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.nav-link:hover, .nav-item.is-open > .nav-link { background: rgba(74, 61, 28, 0.07); }
.site-header.is-dark .nav-link:hover, .site-header.is-dark .nav-item.is-open > .nav-link { background: rgba(255, 255, 255, 0.1); }
.nav-link[aria-current="page"] { color: var(--gold); }
.nav-link .caret { width: 14px; height: 14px; transition: transform 0.3s; }
.nav-item.is-open .caret { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; direction: ltr; }
.header-phone svg { width: 18px; height: 18px; color: var(--gold); }
.burger { width: 46px; height: 46px; border-radius: 12px; background: var(--wine-800); color: #fff; display: grid; place-items: center; }
.burger span { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.4s var(--ease), background 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.header-cta { display: none; }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); inset-inline: 0;
  margin-inline: auto; max-width: 980px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 18px; color: var(--ink);
  display: grid; grid-template-columns: 1.3fr 1fr 0.9fr; gap: 12px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-col h6 { margin: 6px 10px 8px; font-size: 0.78rem; color: var(--ink-mute); font-weight: 700; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; transition: background 0.25s; }
.mega-link:hover { background: var(--cream); }
.mega-link .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--gold-100); color: var(--wine); display: grid; place-items: center; flex: none; }
.mega-link .ico svg { width: 20px; height: 20px; }
.mega-link b { display: block; font-size: 0.95rem; color: var(--wine-800); line-height: 1.5; }
.mega-link span { display: block; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.6; }
.mega-promo { border-radius: 16px; padding: 20px; background: radial-gradient(120% 120% at 100% 0%, #6b5222 0%, var(--wine-800) 60%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; position: relative; overflow: hidden; }
.mega-promo::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 201, 143, 0.45), transparent 65%); }
.mega-promo b { font-size: 1.15rem; line-height: 1.6; color: #fff; }
.mega-promo p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 85;
  background: linear-gradient(170deg, var(--wine-800), var(--wine-900));
  color: #fff;
  padding: calc(var(--header-h) + 40px) var(--gutter) 120px;
  overflow-y: auto;
  clip-path: circle(0% at 44px 44px);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}
.menu-open .drawer { clip-path: circle(150% at 44px 44px); visibility: visible; }
.drawer-group { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.drawer-group > a, .drawer-group summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 1.3rem; font-weight: 700; list-style: none; cursor: pointer; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 0 4px 16px; }
.drawer-sub a { color: rgba(255, 255, 255, 0.75); padding: 6px 0; }
.drawer-foot { margin-top: 32px; display: grid; gap: 12px; }
.drawer-foot .btn { justify-content: space-between; }
.menu-open { overflow: hidden; }
.menu-open .site-header .header-bar { color: #fff; background: transparent !important; box-shadow: none !important; }

/* ---------- hero (framed, Urbi-style) ---------- */
.hero {
  min-height: max(640px, calc(100svh - var(--frame) * 2));
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 70px) var(--gutter) clamp(90px, 12vw, 160px);
  text-align: center;
  color: var(--wine-800);
  background: radial-gradient(120% 90% at 50% 0%, #fffaf0 0%, var(--blush) 45%, var(--champagne) 100%);
}
.hero-inner { position: relative; z-index: 3; max-width: 1060px; margin-inline: auto; }
.hero .display, .hero .h1 { color: inherit; }
.hero .lead { max-width: 720px; margin: 22px auto 0; }
.hero .btn-row { justify-content: center; margin-top: 34px; }
.hero-dark { color: #fff; background: var(--wine-900); }
.hero-dark .display, .hero-dark .h1 { color: #fff; }
.hero-dark .lead { color: rgba(255, 255, 255, 0.78); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg canvas, .hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(70% 60% at 50% 45%, rgba(20, 16, 9, 0.55), rgba(20, 16, 9, 0) 75%), linear-gradient(to top, rgba(20, 16, 9, 0.7), transparent 40%); }
.hero-petals { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-meta { position: absolute; z-index: 3; inset-inline: var(--gutter); bottom: 26px; display: flex; justify-content: space-between; align-items: end; gap: 16px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.hero-meta .latin { letter-spacing: 0.35em; font-size: 0.8rem; text-transform: uppercase; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 22px; height: 36px; border-radius: 12px; border: 1.5px solid currentColor; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* rotating adjective «تشریفات [ماندگار] ثمین» */
/* one track as wide as the active word (width set by JS); every word is centred in it, so it never pushes against «ثمین» */
.rotator { display: inline-grid; grid-template-columns: minmax(0, 1fr); vertical-align: bottom; transition: width 0.8s var(--ease); }
.rotator > span { justify-self: unsafe center; width: max-content; }
.rotator > span { grid-area: 1 / 1; font-family: var(--font-accent); color: var(--gold-300); font-weight: 700; line-height: 1.4; padding-inline: 0.15em; font-weight: 900; opacity: 0; transform: translateY(40%); filter: blur(8px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); white-space: nowrap; }
.rotator > span.is-active { opacity: 1; transform: none; filter: none; }
.rotator > span.is-leaving { opacity: 0; transform: translateY(-40%); filter: blur(8px); }
.hero-light .rotator > span { color: var(--gold); }

/* page hero (inner pages) */
.page-hero { min-height: auto; padding-top: calc(var(--header-h) + clamp(70px, 9vw, 130px)); padding-bottom: clamp(70px, 9vw, 130px); }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 0.85rem; margin-bottom: 20px; opacity: 0.8; list-style: none; }
.breadcrumb li + li::before { content: "‹"; margin-inline-end: 6px; opacity: 0.6; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- cards ---------- */
.card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 36px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.card.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .h3 + p, .card h3 + p { margin-top: 10px; color: var(--ink-soft); }
.card-cream { background: var(--cream); box-shadow: none; }
.card-blush { background: var(--blush); box-shadow: none; }
.card-dark { background: radial-gradient(130% 120% at 100% 0%, #5a4520 0%, var(--wine-800) 55%, var(--wine-900) 100%); color: rgba(255, 255, 255, 0.82); }
.card-dark h3, .card-dark .h3, .card-dark .h2 { color: #fff; }
.card-dark p { color: rgba(255, 255, 255, 0.72) !important; }
.card-gold { background: linear-gradient(145deg, var(--gold-100), #efdcb3); }
.card-line { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.card .ico-badge { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--gold-100); color: var(--wine); margin-bottom: 20px; }
.card-dark .ico-badge { background: rgba(226, 201, 143, 0.12); color: var(--gold-300); }
.ico-badge svg { width: 26px; height: 26px; }
/* pointer glow */
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 164, 92, 0.18), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.glow:hover::before { opacity: 1; }

/* stat cards (overlapping hero, Urbi-style) */
.stats-wrap { position: relative; z-index: 5; margin-top: calc(clamp(60px, 8vw, 120px) * -1); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.stat { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(18px, 2.2vw, 32px); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(150px, 16vw, 230px); position: relative; overflow: hidden; }
.stat b { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.4rem); font-weight: 800; color: var(--wine-800); line-height: 1.1; display: flex; align-items: baseline; gap: 4px; }
.stat b sup { font-size: 0.45em; color: var(--gold); }
.stat > span { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; }
.stat b span { font: inherit; color: inherit; }
.stat .stat-ico { position: absolute; top: 18px; left: 18px; width: 44px; height: 44px; color: var(--gold); opacity: 0.9; }
.stat.is-dark { background: var(--wine-800); }
.stat.is-dark b { color: #fff; }
.stat.is-dark > span { color: rgba(255, 255, 255, 0.7); }

/* big statement with scroll-lit words */
.statement { font-size: clamp(1.7rem, 1rem + 3.2vw, 3.6rem); font-weight: 800; line-height: 1.55; color: var(--wine-800); max-width: 1100px; margin-inline: auto; text-align: center; }
.statement .w { opacity: 0.16; transition: opacity 0.2s; }
.statement .w.hl, .statement .hl .w { color: var(--gold); }
.no-js .statement .w, .reduced .statement .w { opacity: 1; }

/* bento */
.bento { display: grid; gap: clamp(12px, 1.4vw, 20px); grid-template-columns: repeat(12, 1fr); }
.bento > * { grid-column: span 12; }
.bento .card { min-height: 280px; display: flex; flex-direction: column; }
.bento .card .card-foot { margin-top: auto; padding-top: 22px; }
.bento .card-media-top { padding: 0; }
.bento .card-media-top .media { border-radius: 0; aspect-ratio: 16/10; }
.bento .card-media-top .card-body { padding: clamp(22px, 2.6vw, 34px); }

/* media slot placeholder (to be replaced with real photos/videos) */
.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 75% 20%, rgba(226, 201, 143, 0.55), transparent 60%),
    radial-gradient(70% 80% at 15% 90%, rgba(175, 138, 50, 0.35), transparent 60%),
    linear-gradient(150deg, #f5ecdb, #eadbb8 45%, #dcc28c);
  aspect-ratio: var(--ar, 4/3);
  isolation: isolate;
}
.media.is-dark { background: radial-gradient(80% 70% at 75% 20%, rgba(201, 164, 92, 0.4), transparent 60%), radial-gradient(70% 80% at 15% 90%, rgba(201, 138, 46, 0.18), transparent 60%), linear-gradient(150deg, #2e2512, #211a10 60%, #141009); }
.media > img, .media > video, .media > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media[data-slot]:not(.has-media)::after {
  content: attr(data-label);
  position: absolute; inset-inline-start: 14px; bottom: 14px;
  padding: 5px 30px 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--wine-800);
  font-size: 0.75rem; font-weight: 600; line-height: 1.6;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23af8a32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 14px; background-position: right 10px center;
  max-width: calc(100% - 28px);
}
.media.is-dark[data-slot]:not(.has-media)::after { background-color: rgba(20, 16, 9, 0.55); color: var(--gold-100); }
.media .media-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(74, 61, 28, 0.18); }
.media.is-dark .media-art { color: rgba(226, 201, 143, 0.2); }
.media .media-art svg { width: 38%; height: auto; max-width: 220px; }

/* tabs (pill) */
.tabs-list { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: clamp(26px, 3vw, 44px); }
.tab-btn { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 0.95rem; line-height: 1.5; transition: background 0.35s, color 0.35s, border-color 0.35s; }
.tab-btn:hover { border-color: var(--wine); }
.tab-btn[aria-selected="true"] { background: var(--wine-800); color: #fff; border-color: var(--wine-800); }
.section-dark .tab-btn { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.85); }
.section-dark .tab-btn[aria-selected="true"] { background: var(--gold); color: var(--wine-900); border-color: var(--gold); }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering { animation: tabIn 0.7s var(--ease) both; }
@keyframes tabIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* horizontal slider */
.slider { position: relative; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: var(--slide, min(86%, 420px)); gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.slider-nav { display: flex; gap: 8px; }
.slider-btn { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background 0.3s, color 0.3s, opacity 0.3s; }
.slider-btn:hover { background: var(--wine-800); color: #fff; }
.slider-btn[disabled] { opacity: 0.35; pointer-events: none; }
.slider-btn svg { width: 20px; height: 20px; }
.section-dark .slider-btn { border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(26px, 3vw, 44px); flex-wrap: wrap; }

/* accordion / FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); transition: background 0.3s, border-color 0.3s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; color: var(--wine-800); line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 9px; background: var(--cream); flex: none; position: relative; transition: background 0.3s, transform 0.4s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.6px; margin: -0.8px 0 0 -6px; background: var(--wine); border-radius: 2px; transition: transform 0.4s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--wine); transform: rotate(180deg); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .faq-a { padding: 0 22px 20px; color: var(--ink-soft); line-height: 2; }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; }

/* check list */
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.8; }
.checks li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 3px; border-radius: 7px; background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a3d1c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.section-dark .checks li::before, .card-dark .checks li::before { background-color: rgba(226, 201, 143, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2c98f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }

/* tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: var(--cream); color: var(--wine-800); font-size: 0.85rem; font-weight: 600; line-height: 1.6; }
.section-dark .tag { background: rgba(255, 255, 255, 0.08); color: var(--gold-100); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1.7; }

/* dark section */
.section-dark { background: radial-gradient(90% 70% at 85% 0%, rgba(175, 138, 50, 0.3), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(175, 138, 50, 0.16), transparent 60%), var(--wine-900); color: rgba(255, 255, 255, 0.78); }
.section-dark h2, .section-dark h3, .section-dark .h2, .section-dark .h3 { color: #fff; }
.section-dark .lead, .section-dark .muted { color: rgba(255, 255, 255, 0.7); }
.section-cream { background: var(--cream); }
.frame.section-dark, .frame.section-cream { margin-block: var(--frame); }

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; font-weight: 600; color: var(--wine-800); font-size: 0.95rem; }
.marquee-item svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- forms ---------- */
.form-shell { position: relative; overflow: hidden; }
.form-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 60px;
  padding: 26px 18px 8px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.85);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
  appearance: none;
  font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.8; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a3d1c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; background-size: 18px; padding-left: 44px; }
.field label { position: absolute; right: 18px; top: 18px; color: var(--ink-soft); font-size: 1rem; pointer-events: none; transition: transform 0.3s var(--ease), font-size 0.3s, top 0.3s, color 0.3s; transform-origin: right top; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(74, 61, 28, 0.08); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 0.75rem; color: var(--wine); }
.field.is-invalid input { border-color: var(--coral); }
.field .err { display: block; color: #c0392b; font-size: 0.8rem; margin-top: 6px; }
.choice-group { border: 0; padding: 0; margin: 0; }
.choice-group legend { font-weight: 700; color: var(--wine-800); margin-bottom: 10px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.8); font-weight: 600; font-size: 0.95rem; transition: all 0.25s; }
.choice input:checked + span { background: var(--wine-800); color: #fff; border-color: var(--wine-800); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { font-size: 0.8rem; color: var(--ink-soft); }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-visible { display: block; animation: tabIn 0.7s var(--ease) both; }
.form-success .seal { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--wine); }
.hp { position: absolute !important; left: -9999px !important; }

/* contact section (Urbi "Got a question?") */
.contact-frame { background: radial-gradient(80% 90% at 100% 0%, rgba(201, 164, 92, 0.35), transparent 55%), radial-gradient(70% 80% at 0% 100%, rgba(175, 138, 50, 0.22), transparent 60%), linear-gradient(160deg, #fcf6ea, var(--blush) 50%, #eadbb9); }
.contact-grid { display: grid; gap: clamp(28px, 4vw, 70px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, 0.75); display: grid; place-items: center; color: var(--wine); flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--wine-900); color: rgba(255, 255, 255, 0.7); padding: clamp(60px, 7vw, 100px) 0 calc(30px + env(safe-area-inset-bottom)); }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1fr; }
.footer-brand p { margin-top: 18px; max-width: 360px; font-size: 0.95rem; line-height: 2; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.footer-col h2 { font-size: 0.95rem; color: var(--gold-300); margin-bottom: 14px; font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.socials a { height: 42px; padding-inline: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; transition: background 0.3s, color 0.3s; }
.socials a:hover { background: var(--gold); color: var(--wine-900); }
.socials svg { width: 18px; height: 18px; }
.footer-wordmark { font-family: var(--font-latin); font-weight: 600; letter-spacing: 0.3em; font-size: clamp(2.6rem, 11vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(226, 201, 143, 0.25); text-align: center; margin: clamp(40px, 6vw, 80px) 0 20px; direction: ltr; user-select: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.8rem; }

/* mobile bottom bar */
.mobile-bar { position: fixed; z-index: 80; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; border-radius: 20px; background: rgba(20, 16, 9, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5); transition: transform 0.5s var(--ease); }
.mobile-bar.is-hidden { transform: translateY(140%); }
.mobile-bar a, .mobile-bar button { min-height: 52px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: rgba(255, 255, 255, 0.85); font-size: 0.72rem; font-weight: 600; line-height: 1.3; }
.mobile-bar svg { width: 20px; height: 20px; }
.mobile-bar .is-primary { background: var(--gold); color: var(--wine-900); }
body { padding-bottom: 0; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.reduced [data-reveal] { opacity: 1 !important; transform: none !important; }

/* page loader */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--wine-900); transition: opacity 0.8s var(--ease), visibility 0.8s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader svg { width: 120px; }
.loader .ld-word { font-family: var(--font-accent); font-weight: 900; font-size: 3rem; color: var(--gold-300); opacity: 0; animation: ldIn 1s var(--ease) 0.1s forwards; }
@keyframes ldIn { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: span 2; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .bento > .b-6 { grid-column: span 6; }
  .bento > .b-4 { grid-column: span 6; }
  .bento > .b-8 { grid-column: span 12; }
}
.bento > .b-12 { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-bar { display: none; }
  .bento > .b-4 { grid-column: span 4; }
  .bento > .b-5 { grid-column: span 5; }
  .bento > .b-7 { grid-column: span 7; }
  .bento > .b-8 { grid-column: span 8; }
  .bento > .b-3 { grid-column: span 3; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer-top { grid-template-columns: 1fr 2fr; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) {
  .header-phone { display: inline-flex; }
}
@media (max-width: 1023px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}

/* ---------- memorial calm mode (for ختم content) ---------- */
.calm { --gold: #7d8aa0; --gold-100: #e8ecf2; --gold-300: #c5cdd9; --wine: #2f3b52; --wine-800: #222b3c; --wine-900: #171d29; }

/* announcement bar (managed from the admin panel) */
.announce { position: fixed; inset: 0 0 auto 0; z-index: 91; min-height: 38px; padding: 7px 16px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; font-size: 0.88rem; font-weight: 700; line-height: 1.6; color: var(--wine-900); background: linear-gradient(90deg, #c9a45c, #f1dca4 50%, #c9a45c); }
.announce a { display: inline-flex; align-items: center; gap: 4px; padding: 2px 12px; border-radius: 999px; background: var(--wine-900); color: var(--gold-300); font-size: 0.8rem; }
.announce a svg { width: 14px; height: 14px; }
.announce + .site-header { top: 38px; }
.announce + .site-header.is-hidden { transform: translateY(calc(-100% - 38px)); }

