/* =========================================================
   ซุ้มเปรมกมลพะเยา — Premium Black & Gold
   ========================================================= */
:root {
  --bg: #0d0a07;
  --bg-2: #14100b;
  --panel: #1a140d;
  --panel-2: #211a11;
  --line: rgba(212, 165, 55, .18);
  --line-2: rgba(212, 165, 55, .35);
  --gold: #d4a537;
  --gold-2: #f0cd78;
  --gold-3: #a87a22;
  --gold-grad: linear-gradient(135deg, #f6dc94 0%, #d4a537 42%, #a87a22 70%, #e9c46a 100%);
  --cream: #f3eadb;
  --cream-2: #e6d9c2;
  --muted: #b4a68d;
  --muted-2: #85775f;
  --paper: #f6f0e5;
  --paper-2: #efe6d6;
  --ink: #1e1810;
  --ink-2: #5d5040;
  --red: #b3261e;
  --line-green: #06c755;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, .65);
  --container: 1240px;
  --serif: "Noto Serif Thai", "Cormorant Garamond", Georgia, serif;
  --display: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif;
  --sans: "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}
html[lang="en"] { --serif: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--cream);
  font: 400 16.5px/1.75 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-2); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.3; margin: 0 0 .6em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 820px); }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 999; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
::selection { background: var(--gold); color: #120d06; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 1.6em; border-radius: 999px; border: 1px solid transparent;
  font: 500 15.5px/1 var(--sans); letter-spacing: .02em; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { --h: 40px; padding: 0 1.15em; font-size: 14.5px; }
.btn-lg { --h: 56px; padding: 0 2em; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); background-size: 160% 160%; color: #1a1207; font-weight: 600; box-shadow: 0 12px 30px -12px rgba(212, 165, 55, .7), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-gold:hover { color: #1a1207; background-position: 100% 0; box-shadow: 0 18px 40px -14px rgba(212, 165, 55, .85); }
.btn-ghost { border-color: var(--line-2); color: var(--cream); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-outline { border-color: var(--line-2); color: var(--gold-2); }
.btn-outline:hover { background: var(--gold); color: #1a1207; border-color: var(--gold); }
.btn-dark { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.btn-dark:hover { background: #000; color: var(--gold-2); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { color: #fff; filter: brightness(1.08); }
.ico { flex: none; }

/* ---------- Kicker / headings ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font: 600 13px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.kicker.center { justify-content: center; display: flex; }
.kline { width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker.center .kline:last-child { background: linear-gradient(270deg, transparent, var(--gold)); }
.section { padding: clamp(72px, 9vw, 124px) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 70px); }
.section-title { font-size: clamp(32px, 4.4vw, 54px); color: var(--cream); }
.section-sub { color: var(--muted); font-size: 17.5px; margin: 0 auto; max-width: 620px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .4s, border-color .4s, height .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(13, 10, 7, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-color: var(--line); --header-h: 72px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 700 19px/1.2 var(--serif); color: var(--gold-2); letter-spacing: .01em; }
.brand-text small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 8px 14px; font-size: 15px; color: var(--cream-2); }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold-2); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang-switch a { font: 600 12px/1 var(--sans); letter-spacing: .1em; padding: 7px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch a.active { background: var(--gold); color: #1a1207; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; border-radius: 50%; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--gold-2); transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 30px) 0 80px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 70% at 72% 45%, rgba(122, 82, 30, .55), transparent 65%),
  radial-gradient(ellipse 50% 50% at 10% 100%, rgba(80, 50, 20, .35), transparent 60%),
  linear-gradient(180deg, #0b0906 0%, #120d08 60%, #0d0a07 100%); }
.hero-bg .ring { position: absolute; left: 72%; top: 47%; border-radius: 50%; border: 1px solid rgba(212, 165, 55, .22); transform: translate(-50%, -50%); }
.hero-bg .r1 { width: min(62vw, 720px); aspect-ratio: 1; }
.hero-bg .r2 { width: min(70vw, 820px); aspect-ratio: 1; border-color: rgba(212, 165, 55, .1); }
.hero-bg .r3 { width: min(54vw, 620px); aspect-ratio: 1; border-style: dashed; border-color: rgba(212, 165, 55, .16); animation: spin 120s linear infinite; }
.hero-bg .glow { position: absolute; left: 72%; bottom: 8%; width: 46vw; height: 9vw; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(212, 165, 55, .35), transparent 70%); filter: blur(20px); }
.hero-bg .grain { position: absolute; inset: 0; opacity: .25; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(46px, 7vw, 96px); line-height: 1.12; margin: 0 0 26px; font-weight: 700; }
.hero-title span { display: block; }
html[lang="en"] .hero-title { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.005em; }
.hero-sub { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--cream-2); max-width: 560px; opacity: .9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 38px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 14.5px; }
.hero-badges li { display: flex; align-items: center; gap: 10px; }
.hero-badges .dot { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero-visual { position: relative; height: min(78vh, 760px); display: flex; justify-content: center; align-items: flex-end; }
.hero-bird { position: relative; z-index: 2; height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)) drop-shadow(0 0 60px rgba(212,165,55,.12)); animation: floaty 7s ease-in-out infinite; transform-origin: bottom center; }
.hero-floor { position: absolute; bottom: 0; left: 50%; width: 70%; height: 40px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(0,0,0,.75), transparent 70%); filter: blur(6px); z-index: 1; }
.hero-emblem { position: absolute; right: 2%; top: 4%; z-index: 3; width: 120px; padding: 10px; border-radius: 50%; background: rgba(13,10,7,.5); border: 1px solid var(--line-2); backdrop-filter: blur(8px); animation: floaty 9s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.scroll-cue { display: none; position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- Features ---------- */
.features { position: relative; margin-top: -40px; z-index: 3; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(33,26,17,.92), rgba(20,16,11,.92)); backdrop-filter: blur(10px); box-shadow: var(--shadow); overflow: hidden; }
.feature { padding: 34px 30px; position: relative; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-2); border: 1px solid var(--line-2); background: radial-gradient(circle at 30% 30%, rgba(212,165,55,.22), transparent 70%); margin-bottom: 18px; }
.feature h3 { font-size: 20px; color: var(--gold-2); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; padding: 0 40px 70px 0; }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(240,205,120,.25); pointer-events: none; }
.about-media > .frame:first-child img { aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.frame-sm { position: absolute; right: 0; bottom: 0; width: 42%; border: 6px solid var(--bg); border-radius: 16px; }
.frame-sm img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-seal { position: absolute; left: -24px; bottom: 30px; width: 110px; padding: 8px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.about-media::before { content: ""; position: absolute; left: -18px; top: -18px; width: 55%; height: 55%; border-left: 1px solid var(--gold); border-top: 1px solid var(--gold); border-radius: 22px 0 0 0; opacity: .6; }
.prose p { color: var(--cream-2); opacity: .92; }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.check-list .ico { color: var(--gold); margin-top: 3px; }
.signature { font: italic 500 24px/1.3 var(--display); color: var(--gold-2); margin-top: 10px; }

/* ---------- Products ---------- */
.products { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.product:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: 0 40px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(212,165,55,.15); }
.product-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #120d08; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product-media img { transform: scale(1.06); }
.badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 14px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .08em; background: rgba(13,10,7,.7); color: var(--gold-2); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 22px; margin-bottom: 8px; color: var(--cream); }
.product-body p { color: var(--muted); font-size: 15px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.price { font: 600 18px/1.2 var(--serif); color: var(--gold-2); }

/* ---------- Gallery marquee ---------- */
.gallery { padding-bottom: 90px; overflow: hidden; background: var(--bg-2); }
.marquee-wrap { display: grid; gap: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee.to-right .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.tile { flex: none; height: clamp(190px, 22vw, 300px); aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; position: relative; background: #1a140d; }
.tile:nth-child(3n+2) { aspect-ratio: 4 / 5; }
.tile img { height: 100%; width: 100%; max-width: none; object-fit: cover; transition: transform .9s var(--ease), filter .5s; filter: saturate(.92); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(240,205,120,.18); background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.45)); pointer-events: none; transition: opacity .4s; }
.tile:hover img { transform: scale(1.06); filter: saturate(1.05); }
.gallery-hint { text-align: center; color: var(--muted-2); font-size: 13.5px; margin: 26px 0 0; letter-spacing: .04em; }

/* ---------- Steps ---------- */
.steps { background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(122,82,30,.22), transparent 70%), var(--bg); }
.step-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step-grid::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.step { text-align: center; padding: 0 10px; position: relative; }
.step-no { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; font: 600 22px/1 var(--display); color: var(--gold-2); background: var(--bg); border: 1px solid var(--line-2); box-shadow: 0 0 0 8px var(--bg), 0 0 30px rgba(212,165,55,.15); position: relative; }
.step h3 { font-size: 20px; color: var(--cream); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Paper sections (articles/faq) ---------- */
.paper { background: var(--paper); color: var(--ink); }
.paper-2 { background: var(--paper-2); }
.paper .section-title { color: var(--ink); }
.paper .section-sub { color: var(--ink-2); }
.paper .kicker { color: var(--gold-3); }
.paper .kline { background: linear-gradient(90deg, transparent, var(--gold-3)); }
.paper .kicker.center .kline:last-child { background: linear-gradient(270deg, transparent, var(--gold-3)); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(30,24,16,.06), 0 24px 40px -30px rgba(30,24,16,.35); transition: transform .5s var(--ease), box-shadow .5s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(30,24,16,.06), 0 34px 50px -30px rgba(30,24,16,.45); }
.post-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-body time { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 10px; }
.post-body h3, .post-body .h3 { font-size: 21px; line-height: 1.4; color: var(--ink); margin-bottom: 10px; }
.post-body h3 a:hover, .post-body .h3 a:hover { color: var(--gold-3); }
.post-body p { color: var(--ink-2); font-size: 15px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-top: 4px; }
.more:hover { color: var(--gold-3); gap: 12px; }
.center-cta { text-align: center; margin-top: 50px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-grid header { position: sticky; top: 110px; }
.faq-item { border-bottom: 1px solid rgba(30,24,16,.14); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 600 19px/1.45 var(--serif); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(30,24,16,.2); position: relative; transition: background .3s, transform .4s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] .pm { background: var(--ink); }
.faq-item[open] .pm::before, .faq-item[open] .pm::after { background: var(--gold-2); }
.faq-item[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 50px 22px 0; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(80px, 10vw, 130px) 0; text-align: center; background: linear-gradient(180deg, rgba(13,10,7,.6), rgba(13,10,7,.85)), var(--cta-bg) center/cover no-repeat, var(--bg); border-block: 1px solid var(--line); }
.cta-inner { max-width: 820px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); color: var(--cream); }
.cta-band p { color: var(--cream-2); font-size: 18px; opacity: .9; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: start; }
.inquiry-form { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.inquiry-form h3 { font-size: 24px; color: var(--gold-2); margin-bottom: 22px; }
.kind-pills { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.kind-pills legend { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; padding: 0; }
.kind-pills label { cursor: pointer; }
.kind-pills input { position: absolute; opacity: 0; pointer-events: none; }
.kind-pills span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--cream-2); transition: all .3s; }
.kind-pills input:checked + span { background: var(--gold); color: #1a1207; border-color: var(--gold); font-weight: 600; }
.kind-pills input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(0,0,0,.25); border: 1px solid rgba(212,165,55,.22); border-radius: 12px; color: var(--cream);
  font: 400 16px/1.5 var(--sans); padding: 13px 16px; transition: border-color .3s, box-shadow .3s, background .3s; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,165,55,.12); background: rgba(0,0,0,.35); }
.field.invalid input { border-color: #e0634f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted-2); margin: 4px 0 18px; }
.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-size: 15px; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(60, 160, 90, .12); border: 1px solid rgba(60,160,90,.4); color: #b8efc6; }
.form-status.err { background: rgba(224, 99, 79, .1); border: 1px solid rgba(224,99,79,.4); color: #ffc2b6; }
.contact-info { display: grid; gap: 20px; }
.info-list { list-style: none; margin: 0; padding: 26px; display: grid; gap: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.015); }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.ii { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-2); border: 1px solid var(--line-2); }
.info-list small { display: block; color: var(--muted-2); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.info-list a, .info-list span { font-size: 16.5px; color: var(--cream); }
.info-list a:hover { color: var(--gold-2); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: #1a140d; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #090705; border-top: 1px solid var(--line); padding: 90px 0 0; }
.footer-ornament { position: absolute; top: -1px; left: 50%; width: 200px; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer-brand img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 14px; }
.footer-brand h2 { font-size: 26px; color: var(--gold-2); margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 400px; }
.site-footer h3 { font: 600 13px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 10px 0 22px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a, .footer-contact a, .footer-contact span { color: var(--cream-2); font-size: 15px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { color: var(--gold); margin-top: 5px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold-2); transition: all .3s; }
.socials a:hover { background: var(--gold); color: #1a1207; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 24px 0 30px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted-2); }
.footer-bottom p { margin: 0; }
.footer-meta { display: flex; align-items: center; gap: 10px; }
.footer-meta .sep { opacity: .5; }
.admin-link { color: var(--muted-2); }
.credit { color: var(--gold); font-weight: 500; }
.credit:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Quickbar / to-top ---------- */
.quickbar { display: none; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(13,10,7,.8); border: 1px solid var(--line-2); color: var(--gold-2); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .4s var(--ease); backdrop-filter: blur(6px); }
.to-top .ico { transform: rotate(-90deg); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,4,2,.94); display: flex; align-items: center; justify-content: center; padding: 40px 70px; backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 140px); margin: 0 auto; border-radius: 10px; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: var(--cream-2); margin-top: 16px; font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--gold-2); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Inner pages / article ---------- */
.inner main { padding-top: 0; }
.page-hero { padding: calc(var(--header-h) + 80px) 0 70px; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(122,82,30,.35), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero .section-title { font-size: clamp(36px, 5vw, 60px); }
.post-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 150px; overflow: hidden; isolation: isolate; text-align: center; }
.post-hero-bg { position: absolute; inset: -20px; z-index: -1; background-size: cover; background-position: center; filter: blur(14px) brightness(.32) saturate(1.1); transform: scale(1.1); }
.post-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,10,7,.2), var(--bg)); }
.post-hero h1 { font-size: clamp(30px, 4.6vw, 54px); color: var(--cream); margin-bottom: 16px; }
.crumbs { display: flex; justify-content: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; letter-spacing: .06em; }
.crumbs a { color: var(--gold); }
.post-meta { color: var(--muted); font-size: 14.5px; }
.post-wrap { margin-top: -110px; position: relative; padding-bottom: 90px; }
.post-cover { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.post-cover img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.lead { font: 500 20px/1.7 var(--serif); color: var(--gold-2); border-left: 2px solid var(--gold); padding-left: 22px; margin-bottom: 34px; }
.post-content { font-size: 17.5px; }
.post-content h2 { font-size: 28px; color: var(--gold-2); margin: 1.8em 0 .6em; }
.post-content h3 { font-size: 22px; color: var(--cream); margin: 1.4em 0 .5em; }
.post-content p, .post-content li { color: var(--cream-2); }
.post-content ul, .post-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.post-content li { margin-bottom: .45em; }
.post-content li::marker { color: var(--gold); }
.post-content strong { color: var(--cream); font-weight: 600; }
.post-content a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote { margin: 1.6em 0; padding: 20px 24px; border-radius: 14px; background: rgba(212,165,55,.07); border: 1px solid var(--line-2); color: var(--cream); font-size: 16.5px; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 56px 0 30px; padding: 30px 32px; border-radius: var(--radius); border: 1px solid var(--line-2); background: radial-gradient(ellipse at 0% 0%, rgba(212,165,55,.14), transparent 60%), var(--panel); }
.post-cta strong { font: 600 21px/1.4 var(--serif); color: var(--gold-2); display: block; margin-bottom: 6px; }
.post-cta p { margin: 0; color: var(--muted); font-size: 15px; }
.share { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold-2); }
.share a:hover { background: var(--gold); color: #1a1207; }
.related .section-title { margin-bottom: 44px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 10px; font-size: 14.5px; }
  .header-cta { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 14px 20px 26px;
    background: rgba(13,10,7,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); margin: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 18px; border-bottom: 0 !important; color: #1a1207 !important; }
  .header-actions { margin-left: auto; }
  .hero { padding-top: calc(var(--header-h) + 20px); text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; height: 54vh; min-height: 340px; }
  .hero-bg .ring, .hero-bg .glow { left: 50%; top: 32%; }
  .hero-bg .glow { top: auto; bottom: 48%; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-emblem { width: 92px; right: 4%; }
  .kicker:not(.center) { justify-content: center; }
  .scroll-cue { display: none; }
  .features { margin-top: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-copy { text-align: left; }
  .about-copy .kicker { justify-content: flex-start; }
  .faq-grid header { position: static; text-align: center; }
  .faq-grid header .kicker { justify-content: center; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .step-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 66px; }
  .container { width: min(100% - 32px, var(--container)); }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 16.5px; }
  .brand-text small { display: none; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); }
  .hero-visual { height: 46vh; min-height: 300px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .feature { padding: 26px 24px; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; }
  .feature-ico { grid-row: span 2; margin: 0; }
  .about-media { padding: 0 24px 56px 0; }
  .about-seal { width: 84px; left: -8px; }
  .product-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .faq-a { padding-right: 0; }
  .post-cta { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; }
  .lb-prev { left: calc(50% - 64px); transform: rotate(180deg); }
  .lb-next { right: calc(50% - 64px); transform: none; }
  .quickbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(13,10,7,.95); border-top: 1px solid var(--line-2); backdrop-filter: blur(12px); padding-bottom: env(safe-area-inset-bottom); }
  .quickbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px; font-size: 12.5px; color: var(--cream-2); }
  .quickbar a .ico { color: var(--gold-2); }
  .quickbar .q-line .ico { color: var(--line-green); }
  .quickbar .q-book { background: var(--gold-grad); color: #1a1207; font-weight: 600; }
  .quickbar .q-book .ico { color: #1a1207; }
  .to-top { bottom: 84px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .quickbar, .to-top, .lightbox, .cta-band, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
}
