@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
    --ink: #1d1b18;
    --ink-2: #2b2824;
    --stone: #f5f0e8;
    --sand: #ece3d5;
    --line: #e2d8c8;
    --muted: #7a7064;
    --gold: #b8955f;
    --gold-2: #d4b483;
    --red: #c8312a;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 18px 50px -20px rgba(40, 30, 15, .35);
    --font: Vazirmatn, "Segoe UI", Tahoma, system-ui, sans-serif;
    --display: Vazirmatn, Georgia, "Times New Roman", serif;
    --header-h: 84px;
}
.lang-en, .lang-ru { --display: Georgia, "Times New Roman", Vazirmatn, serif; --font: "Segoe UI", system-ui, -apple-system, Roboto, Vazirmatn, sans-serif; }
.lang-zh { --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; --display: "Songti SC", "SimSun", "Noto Serif SC", serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--stone); line-height: 1.85; font-size: 16px; -webkit-font-smoothing: antialiased; }
.lang-en body, .lang-ru body, body.lang-en, body.lang-ru, body.lang-zh { line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.35; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 40px); }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 3rem 0; text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.7em; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: .25s; font-family: inherit; white-space: nowrap; }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-lg { padding: 1em 2.4em; font-size: 1.05rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b150c; box-shadow: 0 10px 25px -10px rgba(184, 149, 95, .8); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(184, 149, 95, .9); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--gold); color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.arrow { display: inline-block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: .25s; vertical-align: middle; }
.arrow::after { content: ""; position: absolute; inset-inline-end: 0; top: -3.5px; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg); }
[dir=rtl] .arrow { transform: scaleX(-1); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, height .35s; height: var(--header-h); display: flex; align-items: center; }
.site-header.is-solid, .site-header.scrolled { background: rgba(29, 27, 24, .96); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); }
.site-header.scrolled { height: 70px; }
.site-header.is-transparent:not(.scrolled) { background: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent); }
body:not(.has-hero) main { padding-top: var(--header-h); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: #fff; }
.brand { display: flex; align-items: center; gap: .8rem; color: #fff; min-width: 0; }
.brand-mark { width: 46px; height: 46px; color: var(--gold-2); flex: none; }
.brand-logo { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.brand-text small { font-size: .72rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav > a, .nav-drop > a { white-space: nowrap; padding: .55em .95em; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: .2s; position: relative; display: block; }
.main-nav > a:hover, .nav-drop:hover > a { color: var(--gold-2); }
.nav-drop { position: relative; }
.caret { font-size: .7em; opacity: .7; }
.drop-menu { position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px; background: #fff; color: var(--ink); border-radius: 12px; padding: .5rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: none; }
.drop-menu a { display: block; padding: .6em .9em; border-radius: 8px; font-size: .92rem; }
.drop-menu a:hover { background: var(--sand); color: var(--gold); }
.drop-menu .drop-all { border-top: 1px solid var(--line); margin-top: .3rem; color: var(--gold); font-weight: 700; }
.header-tools { display: flex; align-items: center; gap: .7rem; }
.lang-switch { position: relative; }
.lang-btn { display: flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); color: #fff; padding: .45em .8em; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: .85rem; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: #fff; border-radius: 12px; padding: .4rem; min-width: 150px; box-shadow: var(--shadow); display: none; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: .5em .9em; border-radius: 8px; color: var(--ink); font-size: .92rem; }
.lang-menu a:hover, .lang-menu a.active { background: var(--sand); color: var(--gold); font-weight: 700; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 0; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.menu-open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--ink); color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-img { position: absolute; inset: 0; background-size: cover; background-position: center 45%; transform: scale(1.12); transition: transform 8s ease-out; }
.hero-slide.active .hero-img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 17, 13, .82) 0%, rgba(20, 17, 13, .45) 50%, rgba(20, 17, 13, .2) 100%), linear-gradient(to top, rgba(20, 17, 13, .65), transparent 45%); }
[dir=rtl] .hero-shade { background: linear-gradient(-100deg, rgba(20, 17, 13, .82) 0%, rgba(20, 17, 13, .45) 50%, rgba(20, 17, 13, .2) 100%), linear-gradient(to top, rgba(20, 17, 13, .65), transparent 45%); }
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 1240px; padding-top: 40px; }
.hero-content > * { max-width: 680px; }
.hero-kicker { display: inline-flex; align-items: center; gap: .8rem; color: var(--gold-2); font-weight: 700; letter-spacing: .08em; font-size: .9rem; margin-bottom: 1rem; }
.hero-kicker::before { content: ""; width: 44px; height: 2px; background: var(--gold-2); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: 1.2; margin-bottom: .45em; text-shadow: 0 4px 30px rgba(0, 0, 0, .3); }
.hero p { font-size: clamp(1rem, 1.6vw, 1.25rem); opacity: .9; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.hero-slide.active .hero-kicker, .hero-slide.active h1, .hero-slide.active p, .hero-slide.active .hero-actions { animation: rise .9s both; }
.hero-slide.active h1 { animation-delay: .15s; }
.hero-slide.active p { animation-delay: .3s; }
.hero-slide.active .hero-actions { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-dots { position: absolute; bottom: 44px; inset-inline-start: max(20px, calc((100% - 1240px) / 2)); display: flex; gap: .6rem; z-index: 3; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: .3s; padding: 0; }
.hero-dots button.active { width: 64px; background: var(--gold-2); }
.hero-arrow { display: none; position: absolute; bottom: 26px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .15); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: .25s; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero-arrow.prev { inset-inline-end: max(80px, calc((100% - 1240px) / 2 + 60px)); }
.hero-arrow.next { inset-inline-end: max(20px, calc((100% - 1240px) / 2)); }
.hero-scroll { display: none; position: absolute; bottom: 32px; inset-inline-end: max(20px, calc((100% - 1240px) / 2)); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; z-index: 3; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: #f2ece2; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.light p { color: #bfb5a6; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7rem; }
.eyebrow::before, .section-head .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.center-btn { text-align: center; margin-top: 3rem; }
.h-line { position: relative; padding-bottom: .5em; }
.h-line::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 60px; height: 3px; background: var(--gold); border-radius: 3px; }

/* intro */
.intro { padding: 5rem 0; background: var(--stone); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.intro-text h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.intro-text p { color: #5c5348; font-size: 1.07rem; margin-bottom: 1.8rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: #fff; padding: 2.2rem 1.5rem; text-align: center; }
.stat b { display: block; font-size: 3.2rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: .5rem; font-family: var(--display); }
.stat span { color: var(--muted); font-weight: 500; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; display: block; box-shadow: var(--shadow); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.cat-card:hover img { transform: scale(1.08); }
.cat-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; color: #fff; background: linear-gradient(to top, rgba(18, 15, 11, .9) 0%, rgba(18, 15, 11, .25) 55%, transparent); }
.cat-overlay h3 { font-size: 1.7rem; margin-bottom: .3em; }
.cat-overlay p { opacity: .85; font-size: .95rem; max-height: 0; overflow: hidden; transition: max-height .5s; margin: 0; }
.cat-card:hover .cat-overlay p { max-height: 120px; margin-bottom: 1rem; }
.cat-link { color: var(--gold-2); font-weight: 700; display: inline-flex; align-items: center; gap: .6rem; }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.6rem; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .35s; border: 1px solid var(--line); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pc-img { position: relative; aspect-ratio: 4/3.4; overflow: hidden; background: var(--sand); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.product-card:hover .pc-img img { transform: scale(1.07); }
.pc-tag { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(29, 27, 24, .8); color: #fff; font-size: .75rem; padding: .3em .9em; border-radius: 999px; backdrop-filter: blur(4px); }
.pc-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.15rem; margin-bottom: .4em; }
.pc-body p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-more { color: var(--gold); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .6rem; }
.product-card:hover .arrow, .article-card:hover .arrow, .cat-card:hover .arrow { width: 28px; }

/* facilities */
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.facility { background: var(--ink-2); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); transition: .35s; }
.facility:hover { transform: translateY(-6px); border-color: rgba(212, 180, 131, .4); }
.facility-img { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.facility-img img { width: 100%; height: 100%; object-fit: cover; transition: 1s; filter: saturate(.9); }
.facility:hover .facility-img img { transform: scale(1.06); }
.facility-num { position: absolute; bottom: -14px; inset-inline-end: 18px; font-size: 4.5rem; font-weight: 800; color: rgba(255, 255, 255, .85); font-family: Georgia, serif; line-height: 1; text-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.facility-body { padding: 1.6rem 1.6rem 1.8rem; }
.facility-kind { color: var(--gold-2); font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.facility-body h3 { font-size: 1.3rem; margin: .3em 0 .1em; color: #fff; }
.facility-body small { color: #9c9284; display: block; margin-bottom: .8rem; }
.facility-body p { color: #c9c0b3; font-size: .95rem; margin: 0; }

/* gallery strip */
.strip-gallery { display: flex; gap: 1rem; overflow-x: auto; padding: 0 20px 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip-item { flex: 0 0 auto; width: clamp(230px, 24vw, 340px); aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: .8s; }
.strip-item:hover img { transform: scale(1.06); }

/* articles */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.article-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .35s; height: 100%; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ac-img { aspect-ratio: 16/10; overflow: hidden; }
.ac-img img { width: 100%; height: 100%; object-fit: cover; transition: .8s; }
.article-card:hover .ac-img img { transform: scale(1.06); }
.ac-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ac-body time { color: var(--gold); font-size: .8rem; font-weight: 700; }
.ac-body h3 { font-size: 1.15rem; margin: .4em 0; }
.ac-body p { color: var(--muted); font-size: .92rem; flex: 1; }

/* cta */
.cta { position: relative; padding: 5rem 0; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: url(/seed/13.jpg) center/cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 21, 16, .92), rgba(25, 21, 16, .7)); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: .3em; }
.cta p { color: #d8cfc2; margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* page hero */
.page-hero { position: relative; padding: calc(var(--header-h) + 5rem) 0 4.5rem; color: #fff; overflow: hidden; margin-top: calc(-1 * var(--header-h)); }
.page-hero-bg { position: absolute; inset: 0; background: var(--hero-img) center/cover; transform: scale(1.05); }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 19, 15, .9), rgba(22, 19, 15, .55)); }
.page-hero-inner { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: .3em 0 .3em; }
.page-hero p { max-width: 720px; color: #ddd3c4; font-size: 1.08rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: #cbbfae; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs .sep { opacity: .5; }
.crumbs.dark { color: var(--muted); margin-bottom: 1.5rem; }

/* filters */
.filter-bar, .cat-tabs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 3rem; }
.chip { border: 1px solid var(--line); background: #fff; padding: .5em 1.2em; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: .9rem; color: var(--ink); transition: .2s; display: inline-block; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-block { margin-bottom: 4rem; }
.cat-block-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; margin-bottom: 1rem; }
.cat-block-head h2 { margin: 0; font-size: 1.6rem; }
.cat-block-head a { color: var(--gold); font-weight: 700; display: inline-flex; gap: .6rem; align-items: center; }
.cat-intro { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 2.2rem; margin-bottom: 3rem; }
.is-hidden { display: none !important; }

/* rich text */
.rich { font-size: 1.04rem; color: #3b352d; }
.rich h2, .rich h3 { margin-top: 1.4em; }
.rich ul { padding-inline-start: 1.3em; }
.rich li { margin-bottom: .4em; }
.rich li::marker { color: var(--gold); }
.rich img { border-radius: 12px; margin: 1.5rem 0; }
.rich a { color: var(--gold); text-decoration: underline; }
.rich blockquote { border-inline-start: 4px solid var(--gold); margin: 1.5rem 0; padding: .5rem 1.2rem; background: var(--sand); border-radius: 0 10px 10px 0; }
.lead { font-size: 1.15rem; color: #4d453b; font-weight: 500; }

/* product page */
.product-top { padding: calc(var(--header-h) - 40px) 0 4rem; }
body:not(.has-hero) .product-top { padding-top: 2.5rem; }
.product-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: start; }
.pgallery { position: sticky; top: 100px; }
.pg-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4/3.3; box-shadow: var(--shadow); }
.pg-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity .3s; }
.pg-zoom { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; pointer-events: none; font-size: 1.1rem; }
.pg-count { position: absolute; bottom: 14px; inset-inline-start: 14px; background: rgba(29, 27, 24, .8); color: #fff; padding: .25em .9em; border-radius: 999px; font-size: .8rem; }
.pg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .6rem; margin-top: .8rem; }
.pg-thumb { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; aspect-ratio: 1; background: none; opacity: .7; transition: .2s; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb.active, .pg-thumb:hover { border-color: var(--gold); opacity: 1; }
.pinfo h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.specs { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 1.4rem 1.6rem; margin: 1.5rem 0; }
.specs h3 { font-size: 1.05rem; color: var(--gold); margin-bottom: .8rem; }
.specs dl { margin: 0; }
.specs dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.specs dl > div:last-child { border: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: end; }
.specs dd.full { text-align: start; font-weight: 500; }
.pinfo-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); position: relative; z-index: 1; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-frame { position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--gold); border-radius: var(--radius); }
[dir=rtl] .about-frame { inset: 24px 24px -24px -24px; }

/* gallery page */
.masonry { columns: 4 260px; column-gap: 1rem; }
.m-item { display: block; break-inside: avoid; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; position: relative; }
.m-item img { width: 100%; transition: .7s; }
.m-item span { position: absolute; inset: auto 0 0; padding: 2rem 1rem .8rem; color: #fff; font-size: .88rem; background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent); opacity: 0; transition: .3s; }
.m-item:hover img { transform: scale(1.05); }
.m-item:hover span { opacity: 1; }

/* article */
.article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--muted); }
.article-cover img { border-radius: var(--radius); margin-bottom: 2rem; width: 100%; max-height: 520px; object-fit: cover; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info { background: var(--ink); color: #eee5d8; border-radius: var(--radius); padding: 2.4rem; position: sticky; top: 100px; }
.contact-info h2 { color: #fff; font-size: 1.5rem; }
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.contact-info li:last-child { border: 0; }
.ci-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(212, 180, 131, .15); color: var(--gold-2); display: grid; place-items: center; font-size: 1.2rem; }
.contact-info small { display: block; color: #9d9384; font-size: .8rem; }
.contact-info a, .contact-info span { display: block; color: #fff; font-weight: 500; }
.contact-info a:hover { color: var(--gold-2); }
.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 2.4rem; border: 1px solid var(--line); }
.contact-form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 1rem; }
.contact-form label em { font-style: normal; color: var(--muted); font-size: .8rem; }
.contact-form input, .contact-form textarea, .contact-form select { display: block; width: 100%; margin-top: .4rem; padding: .85em 1em; border: 1px solid var(--line); border-radius: 10px; background: var(--stone); font-family: inherit; font-size: .95rem; transition: .2s; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184, 149, 95, .15); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.4rem; font-weight: 500; }
.alert.ok { background: #e8f4ea; color: #1f6a35; border: 1px solid #b8dcc2; }
.alert.err { background: #fbeaea; color: #9b2a24; border: 1px solid #efc3c0; }

/* footer */
.site-footer { background: #15130f; color: #b9afa1; position: relative; padding-top: 4.5rem; }
.footer-stone { position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 3rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.footer-about p { font-size: .93rem; margin: 1.2rem 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-2); }
.fc-row { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; margin-bottom: .8rem; }
.fc-row svg { width: 20px; height: 20px; flex: none; color: var(--gold-2); margin-top: 4px; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; transition: .25s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-langs { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-langs a:hover { color: var(--gold-2); }
.float-wa { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 40; box-shadow: 0 10px 25px -8px rgba(37, 211, 102, .7); transition: .25s; }
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(12, 10, 8, .95); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 6px; margin: auto; }
.lightbox figcaption { color: #ddd; margin-top: .8rem; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .08); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 54px; height: 54px; font-size: 2rem; line-height: 1; transition: .2s; }
.lightbox button:hover { background: var(--gold); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 30px; left: 30px; color: #aaa; font-size: .9rem; direction: ltr; }

/* reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* error */
.error-page { display: grid; place-items: center; min-height: 100vh; background: var(--ink); color: #fff; text-align: center; }
.error-code { font-size: 7rem; font-weight: 800; color: var(--gold-2); line-height: 1; font-family: Georgia, serif; }
.notfound { padding-top: 8rem; }

/* responsive */
@media (max-width: 1280px) {
    .header-call { display: none; }
    .main-nav > a, .nav-drop > a { padding: .5em .65em; font-size: .9rem; }
    .brand-text small { display: none; }
}
@media (max-width: 1100px) {
    :root { --header-h: 70px; }
    .burger { display: flex; }
    .main-nav { position: fixed; top: var(--header-h); inset-inline: 0; bottom: 0; background: rgba(21, 19, 15, .98); flex-direction: column; align-items: stretch; padding: 1.5rem; gap: .2rem; transform: translateX(100%); transition: transform .35s; overflow-y: auto; }
    [dir=rtl] .main-nav { transform: translateX(-100%); }
    .menu-open .main-nav { transform: none; }
    .main-nav > a, .nav-drop > a { font-size: 1.1rem; padding: .9em 1em; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
    .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; color: #ccc; padding: 0 1rem; min-width: 0; }
    .drop-menu a { color: #bbb; }
    .drop-menu a:hover { background: transparent; }
    .site-header.menu-open { background: rgba(21, 19, 15, .98); }
}
@media (max-width: 960px) {
    .intro-grid, .product-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .pgallery, .contact-info { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-arrow { display: none; }
}
@media (max-width: 600px) {
    .f-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stat b { font-size: 2.4rem; }
    .brand-text strong { font-size: .92rem; }
    .brand-mark { width: 38px; height: 38px; }
    .lang-btn span { display: none; }
    .contact-form-wrap, .contact-info { padding: 1.5rem; }
    .hero { min-height: 560px; }
    .cat-card { aspect-ratio: 4/4.4; }
    .cat-overlay p { max-height: none; margin-bottom: 1rem; }
}
