/* ==========================================================================
   Siam Nakhara Gold — Design System v2 (black · red · gold)
   Mobile-first. Tokens → base → layout → components → sections → app bar
   ========================================================================== */

/* ---------- Font ----------
   Sukhumvit Set ships with iOS/iPadOS/macOS and is used from the visitor's device (Apple's licence
   does not allow serving it as a web font). Other devices get IBM Plex Sans Thai Looped (SIL OFL),
   a looped Thai sans of the same kind, self-hosted below. */
@font-face { font-family: "IBM Plex Sans Thai Looped"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-looped-thai-400.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "IBM Plex Sans Thai Looped"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-looped-latin-400.woff2) format("woff2"); 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: "IBM Plex Sans Thai Looped"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-looped-thai-500.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "IBM Plex Sans Thai Looped"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-looped-latin-500.woff2) format("woff2"); 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: "IBM Plex Sans Thai Looped"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-looped-thai-600.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "IBM Plex Sans Thai Looped"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-looped-latin-600.woff2) format("woff2"); 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: "IBM Plex Sans Thai Looped"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plex-looped-thai-700.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "IBM Plex Sans Thai Looped"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plex-looped-latin-700.woff2) format("woff2"); 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; }

/* ---------- Tokens ---------- */
:root {
	--red: #D9121C;
	--red-dark: #A50E16;
	--red-tint: #FDEEEF;
	--red-line: #F5CFD2;
	--ink: #111111;
	--ink-2: #1B1B1B;
	--ink-soft: #3A3A38;
	--muted: #63625E;
	--line: #E8E5DF;
	--line-strong: #D5D1C8;
	--white: #FFFFFF;
	--paper: #F7F6F3;
	--gold: #D4A537;
	--gold-deep: #A87A22;
	--gold-light: #F7E2A0;
	--gold-soft: #FBF3DF;
	--gold-grad: linear-gradient(180deg, #FFF4C8 0%, #F4D06F 40%, #D9A23A 70%, #A9741F 100%);
	--fb-blue: #1877F2;

	--font: "Sukhumvit Set", "IBM Plex Sans Thai Looped", sans-serif;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1rem;
	--fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
	--fs-h4: 1.0625rem;
	--fs-h3: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
	--fs-h2: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
	--fs-h1: clamp(1.875rem, 1.4rem + 2.2vw, 3.25rem);

	--space-1: .25rem;
	--space-2: .5rem;
	--space-3: .75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--section: clamp(3rem, 2.25rem + 3.5vw, 5.5rem);

	--radius-sm: 6px;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(17, 17, 17, .06);
	--shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 10px 24px -10px rgba(17, 17, 17, .18);
	--shadow-lg: 0 2px 4px rgba(17, 17, 17, .05), 0 24px 48px -18px rgba(17, 17, 17, .3);

	--container: 1200px;
	--gutter: clamp(1rem, .5rem + 2vw, 2rem);
	--header-h: 64px;
	--appbar-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1100px) { :root { --header-h: 80px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.75; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { margin: 0 0 var(--space-4); font-family: var(--font); line-height: 1.35; font-weight: 600; color: var(--ink); }
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.25; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--red); color: var(--white); }
button { font: inherit; }

.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: .75rem 1rem; background: var(--ink); color: var(--white); border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--white); }
.nowrap { white-space: nowrap; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section:not(.section--paper) + .section:not(.section--paper) { padding-top: 0; }
.section--paper + .section--paper { padding-top: 0; }
.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .grid--3, .grid--auto { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3, .grid--auto { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.split { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-8); } .split--center { align-items: center; } }

/* Section heading — ornamental gold rules like the mockup */
.section-head { max-width: 760px; margin-bottom: var(--space-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lg); margin-bottom: 0; }
.eyebrow { display: block; margin-bottom: var(--space-2); font-size: var(--fs-sm); font-weight: 600; color: var(--red); }
/* Centred title flanked by thin gold rules (as in the mockup's process heading). */
.section-head h2 { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--red); --btn-fg: var(--white); --btn-bd: var(--red); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .65rem 1.4rem; border: 1.5px solid var(--btn-bd); border-radius: 8px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn:hover { --btn-bg: var(--red-dark); --btn-bd: var(--red-dark); color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(217, 18, 28, .6); }
.btn--dark { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: #000; --btn-bd: #000; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .6); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--red); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--gold-soft); --btn-bd: var(--gold-soft); --btn-fg: var(--red-dark); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .5); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: var(--white); --btn-fg: var(--white); box-shadow: none; }
.btn--fb { --btn-bg: var(--white); --btn-fg: var(--fb-blue); --btn-bd: var(--white); }
.btn--fb:hover { --btn-bg: #F0F5FF; --btn-bd: #F0F5FF; --btn-fg: var(--fb-blue); }
.btn--lg { min-height: 56px; padding: .8rem 1.75rem; font-size: 1.125rem; }
.btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: var(--fs-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; color: var(--red); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { display: none; background: #0B0B0B; color: var(--gold-light); font-size: var(--fs-sm); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar p { margin: 0; font-weight: 600; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-light); font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 16px; height: 16px; }
@media (min-width: 1100px) { .topbar { display: block; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; width: 44px; height: 44px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; }
.brand__sub { font-size: .8rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
@media (min-width: 1100px) { .brand__mark { width: 58px; height: 58px; } .brand__name { font-size: 1.6rem; } .brand__sub { font-size: .875rem; } }

.header-call { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .85rem; border-radius: 999px; background: var(--red); color: var(--white); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-call .icon { width: 18px; height: 18px; }
.header-call:hover { color: var(--white); background: var(--red-dark); }
.header-cta { display: none; }

/* Navigation: mobile = full-screen sheet opened from the app bar; desktop = inline with mega menu */
.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; padding: var(--space-4) var(--gutter) calc(var(--appbar-h) + var(--space-6) + env(safe-area-inset-bottom)); background: var(--white); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; }
.nav-open { overflow: hidden; }
.primary-nav__list { list-style: none; margin: 0; padding: 0; }
.primary-nav__list > li { margin: 0; border-bottom: 1px solid var(--line); }
.primary-nav__link { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: .5rem 0; color: var(--ink); font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.primary-nav__link .icon { display: none; }
.primary-nav__link[aria-current="page"], .primary-nav__link.is-active { color: var(--red); }
.mega { display: grid; gap: var(--space-4); padding: 0 0 var(--space-4); }
.mega__group p { margin: 0 0 .25rem; font-size: var(--fs-xs); font-weight: 600; color: var(--gold-deep); }
.mega__group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .75rem; }
.mega__group li { margin: 0; }
.mega__group a { display: block; padding: .4rem 0; color: var(--ink-soft); text-decoration: none; font-size: var(--fs-sm); line-height: 1.4; }
.mega__group a:hover, .mega__group a[aria-current="page"] { color: var(--red); }
.primary-nav__cta { margin-top: var(--space-5); width: 100%; }

@media (min-width: 1100px) {
	.header-call { display: none; }
	.primary-nav { position: static; padding: 0; background: none; overflow: visible; visibility: visible; opacity: 1; transform: none; }
	.primary-nav__list { display: flex; align-items: center; gap: .15rem; }
	.primary-nav__list > li { position: relative; border: 0; }
	.primary-nav__link { min-height: 44px; padding: .4rem .75rem; font-size: .95rem; font-weight: 500; gap: .25rem; }
	.primary-nav__link .icon { display: block; width: 16px; height: 16px; }
	.primary-nav__link:hover { color: var(--red); }
	.primary-nav__link[aria-current="page"], .primary-nav__link.is-active { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
	.mega { position: absolute; top: calc(100% + 10px); left: -1rem; width: 640px; grid-template-columns: 1.3fr 1fr; gap: var(--space-5); padding: var(--space-5); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); background: var(--white); box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
	.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.has-sub:hover .mega, .has-sub:focus-within .mega { visibility: visible; opacity: 1; transform: none; }
	.mega__group ul { grid-template-columns: 1fr; }
	.mega__group:first-child ul { grid-template-columns: 1fr; }
	.mega__group a { padding: .35rem .5rem; border-radius: var(--radius-sm); }
	.mega__group a:hover { background: var(--red-tint); }
	.primary-nav__cta { display: none; }
	.header-cta { display: inline-flex; }
}
@media (min-width: 1100px) and (max-width: 1259px) { .primary-nav__link { padding-inline: .5rem; font-size: .875rem; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: var(--fs-sm); color: rgba(255, 255, 255, .6); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .3); }
.breadcrumb a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gold-light); font-weight: 500; }

/* ---------- Home hero banner ---------- */
.hero-banner { position: relative; overflow: hidden; color: var(--white); background: #0A0808; isolation: isolate; }
.hero-banner__bg { position: absolute; inset: 0; z-index: -2; }
.hero-banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 60%; }
.hero-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(180deg, rgba(10, 8, 8, .55) 0%, rgba(10, 8, 8, .82) 55%, rgba(10, 8, 8, .95) 100%); }
.hero-banner__inner { display: grid; justify-items: center; gap: var(--space-4); padding-block: var(--space-6) var(--space-7); text-align: center; }
.hero-banner__emblem { width: clamp(150px, 42vw, 340px); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); }
.hero-title { display: grid; justify-items: center; gap: .1em; margin: 0; line-height: 1; }
.hero-title__name { font-size: clamp(2.75rem, 1.6rem + 6vw, 5.25rem); font-weight: 700; letter-spacing: .01em; filter: drop-shadow(0 3px 0 #5A3A0A) drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); padding: .05em .05em .12em; }
.hero-title__ribbon { position: relative; display: inline-block; margin-top: .1em; padding: .18em 1.1em .26em; border: 2px solid var(--gold); border-radius: 4px; background: linear-gradient(180deg, #B4141C, #6E070C); font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); font-weight: 700; letter-spacing: .12em; box-shadow: 0 0 0 4px rgba(10, 8, 8, .9), 0 0 0 5px rgba(212, 165, 55, .6); }
.hero-title__ribbon::before, .hero-title__ribbon::after { content: "◆"; position: absolute; top: 50%; transform: translateY(-52%); font-size: .45em; color: var(--gold); }
.hero-title__ribbon::before { left: .55em; }
.hero-title__ribbon::after { right: .55em; }
.hero-title__place { margin-top: .35em; font-size: clamp(1.25rem, .9rem + 1.6vw, 2rem); font-weight: 600; letter-spacing: .2em; }
@media (min-width: 640px) { .hero-tagline__line { display: block; } }
.hero-tagline { display: block; line-height: 1.4; letter-spacing: normal; margin: var(--space-2) 0 0; font-size: clamp(1.125rem, .95rem + .9vw, 1.6rem); font-weight: 600; color: var(--white); }
.hero-sub { margin: 0; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); font-weight: 500; color: var(--gold-light); }
.hero-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; width: min(100%, 620px); margin: var(--space-3) 0 0; padding: 0; list-style: none; border: 1px solid rgba(212, 165, 55, .45); border-radius: var(--radius); background: rgba(212, 165, 55, .35); overflow: hidden; }
.hero-badges li { display: grid; justify-items: center; align-content: start; gap: .3rem; margin: 0; padding: .85rem .5rem; background: rgba(10, 8, 8, .82); font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: var(--white); }
.hero-badges li span { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--gold-light); }
.hero-badges .icon { width: 30px; height: 30px; color: var(--gold); }
.hero-banner .btn-row { justify-content: center; margin-top: var(--space-3); }
.hero-strap { display: none; }
@media (min-width: 768px) { .hero-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.hero-banner::before { background: linear-gradient(90deg, rgba(10, 8, 8, .92) 0%, rgba(10, 8, 8, .78) 45%, rgba(10, 8, 8, .25) 75%, rgba(10, 8, 8, .1) 100%); }
	.hero-banner__inner { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: var(--space-7); min-height: 520px; padding-block: var(--space-7); text-align: center; }
	.hero-banner__content { display: grid; justify-items: center; gap: var(--space-3); max-width: 640px; }
	.hero-badges { width: 100%; }
	.hero-strap { display: inline-flex; align-items: center; gap: .6rem; margin-top: var(--space-2); padding: .35rem 1.25rem; border: 1px solid rgba(212, 165, 55, .55); border-radius: 4px; background: linear-gradient(180deg, rgba(180, 20, 28, .9), rgba(110, 7, 12, .9)); color: var(--gold-light); font-size: var(--fs-sm); font-weight: 500; }
	.hero-strap::before, .hero-strap::after { content: "✦"; color: var(--gold); }
}
@media (max-width: 1023px) { .hero-banner__content { display: grid; justify-items: center; gap: var(--space-3); } }

/* ---------- Red band ---------- */
.band-red { background: var(--red); color: var(--white); }
.band-red__inner { display: grid; gap: var(--space-4); align-items: center; justify-items: center; padding-block: var(--space-5); text-align: center; }
.band-red__title { display: flex; align-items: center; gap: var(--space-4); margin: 0; font-size: clamp(1.25rem, 1rem + 1.4vw, 2.1rem); font-weight: 700; color: var(--white); line-height: 1.3; }
.band-red__title svg { flex: none; width: clamp(56px, 8vw, 92px); height: auto; }
@media (min-width: 768px) { .band-red__inner { grid-template-columns: minmax(0, 1fr) auto; justify-items: start; text-align: left; } }

/* ---------- Daily buy-price board ---------- */
.price-section { background: var(--paper); }
.price-board { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.service-layout .price-board { margin: 0 0 var(--space-6); }
.price-board__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-4); padding: var(--space-4) var(--space-5); border-bottom: 3px solid var(--gold); background: var(--ink); }
.price-board__title { scroll-margin-top: 96px; margin: 0; font-size: var(--fs-h3); font-weight: 700; color: var(--gold-light); }
.price-board__time { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .78); }
.price-board__time svg { width: 16px; height: 16px; color: var(--gold); }
.price-board__scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table thead th { padding-block: var(--space-2); background: var(--paper); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { min-height: 48px; font-weight: 600; color: var(--ink); }
.price-table tbody th a { color: inherit; text-decoration: none; }
.price-table tbody th a:hover { color: var(--red); text-decoration: underline; }
.price-table .price-table__num { text-align: right; white-space: nowrap; }
.price-table td data { display: block; font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); font-weight: 700; line-height: 1.3; color: var(--ink); }
.price-table__unit { display: block; font-size: var(--fs-xs); color: var(--muted); }
.price-table tr.is-current > * { background: var(--gold-soft); }
.price-table tr.is-current > th { box-shadow: inset 4px 0 0 var(--gold); }
.price-board__foot { display: grid; gap: var(--space-4); padding: var(--space-4) var(--space-5) var(--space-5); border-top: 1px solid var(--line); background: var(--paper); }
.price-board__note p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.price-board__note .price-board__owner-note { margin-bottom: var(--space-2); font-weight: 600; color: var(--ink); }
.price-board__foot .btn { justify-self: stretch; }
@media (min-width: 640px) {
	.price-board__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
	.price-board__foot .btn { justify-self: end; }
}
.price-board-hint { margin: 0; padding: var(--space-3) var(--space-4); border: 1px dashed var(--gold-deep); border-radius: var(--radius); background: var(--gold-soft); font-size: var(--fs-sm); }
.price-section:has(.price-board-hint) { padding-block: var(--space-4); }

/* ---------- Photo service cards (buying) ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (min-width: 900px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } }
.photo-card { position: relative; display: flex; flex-direction: column; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
.photo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.photo-card__media { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 4px; background: #222; }
@media (min-width: 900px) { .photo-card__media { aspect-ratio: 2 / 1; } }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-card:hover .photo-card__media img { transform: scale(1.05); }
.photo-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: .7rem .5rem .55rem; padding-right: 2.25rem; }
.photo-card h3 { margin: 0 0 .15rem; font-size: clamp(.98rem, .9rem + .45vw, 1.25rem); font-weight: 700; line-height: 1.35; }
.photo-card h3 a { color: var(--ink); text-decoration: none; }
.photo-card h3 a::after { content: ""; position: absolute; inset: -6px; z-index: 1; }
.photo-card p { margin: 0; font-size: var(--fs-xs); line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.photo-card__arrow { position: absolute; right: .5rem; bottom: .65rem; color: var(--red); }
.photo-card__arrow .icon { width: 24px; height: 24px; transition: transform .2s var(--ease); }
.photo-card:hover .photo-card__arrow .icon { transform: translateX(3px); }

/* Compact icon cards (melting & testing) */
.mini-grid { display: grid; border-top: 1px solid var(--line-strong); }
@media (min-width: 768px) { .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-7); } }
.mini-card { position: relative; display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line-strong); }
.mini-card > div { flex: 1; min-width: 0; }
.mini-card h3 { margin: 0 0 .1rem; font-size: var(--fs-h4); line-height: 1.4; }
.mini-card h3 a { color: var(--ink); text-decoration: none; }
.mini-card h3 a::after { content: ""; position: absolute; inset: 0; }
.mini-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.mini-card__arrow { flex: none; color: var(--red); transition: transform .2s var(--ease); }
.mini-card__arrow .icon { width: 20px; height: 20px; }
.mini-card:hover h3 a { color: var(--red); }
.mini-card:hover .mini-card__arrow { transform: translateX(3px); }

/* Generic card (inner pages) */
.card { position: relative; display: flex; flex-direction: column; height: 100%; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--space-4); border-radius: 50%; background: var(--ink); color: var(--gold); }
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--space-2); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; }
.card .link-arrow { margin-top: auto; font-size: var(--fs-sm); }

/* ---------- Lottery band ---------- */
.lottery-band { position: relative; overflow: hidden; background: radial-gradient(700px 300px at 85% 50%, rgba(212, 165, 55, .25), transparent 70%), #0B0B0B; color: var(--white); }
.lottery-band__inner { display: grid; gap: var(--space-5); align-items: center; padding-block: var(--space-6); text-align: center; }
.lottery-band__inner > div:first-child { display: grid; justify-items: center; }
@media (min-width: 900px) { .lottery-band__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding-block: var(--space-5); } }
.lottery-band h2 { margin: 0 0 .25rem; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); line-height: 1.25; }
.lottery-band p { margin: 0 0 var(--space-4); font-size: var(--fs-lg); font-weight: 500; color: var(--white); }
.lottery-band .btn { min-width: 220px; }
.lottery-band__media { justify-self: center; width: min(100%, 440px); transform: rotate(-4deg); }
.lottery-band__media img { border-radius: var(--radius); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); }

/* ---------- 3-step process ---------- */
.steps3 { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.steps3 li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: var(--space-3); margin: 0; padding-top: var(--space-4); border-top: 2px solid var(--ink); }
.steps3__num { font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.steps3 h3 { margin: 0 0 .25rem; font-size: 1.125rem; font-weight: 700; }
.steps3 p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.65; }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }

/* ---------- Features (why us) ---------- */
.why__grid { display: grid; column-gap: var(--space-6); }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { padding: var(--space-4) 0 var(--space-5); border-top: 1px solid var(--line-strong); }
.feature h3 { font-size: var(--fs-h4); font-weight: 700; margin-bottom: var(--space-1); }
.feature p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; }

/* ---------- 6-step timeline (process page / service pages) ---------- */
.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline__item { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-4); margin: 0; padding-bottom: var(--space-5); }
.timeline__item::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }
.timeline__num { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-grad); color: #3B2A08; font-weight: 700; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.timeline__body { padding-top: .45rem; }
.timeline__body h3 { font-size: var(--fs-h4); font-weight: 700; margin-bottom: var(--space-1); }
.timeline__body p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; }
.timeline--cards .timeline__body { padding: var(--space-4) var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
@media (min-width: 1024px) {
	.timeline--horizontal { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4); }
	.timeline--horizontal .timeline__item { grid-template-columns: 1fr; padding-bottom: 0; }
	.timeline--horizontal .timeline__item::before { left: 60px; right: calc(var(--space-4) * -1); top: 25px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold), var(--line)); }
	.timeline--horizontal .timeline__body { padding-top: 0; }
}

/* ---------- Prose / local SEO ---------- */
.prose { max-width: 72ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose h2:first-child, .prose h3:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul li::marker, .prose ol li::marker { color: var(--red); }
.prose a { font-weight: 500; }

/* Fact sheet (GEO) */
.facts { display: grid; gap: 0; margin: 0 0 var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-3); padding: .7rem var(--space-4); border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.6; }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 600; color: var(--gold-deep); }
.facts dd { margin: 0; color: var(--ink); }
.facts a { color: var(--ink); font-weight: 600; text-decoration: none; }
.facts a:hover { color: var(--red); }

/* ---------- Map ---------- */
.map-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.map-card__frame { position: relative; aspect-ratio: 4 / 3; background: var(--paper); }
.map-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--space-3); padding: var(--space-5); text-align: center; background: repeating-linear-gradient(45deg, var(--paper) 0 12px, #f0eee9 12px 24px); color: var(--ink-soft); font-size: var(--fs-sm); }
.map-card__placeholder .icon { width: 40px; height: 40px; color: var(--red); }
.map-card__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-5); }
.map-card__body p { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.5; }
.map-card__body strong { display: block; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-split { display: grid; gap: 0 var(--space-7); grid-template-areas: "head" "list" "more"; }
.faq-split > .section-head { grid-area: head; }
.faq-split__list { grid-area: list; min-width: 0; }
.faq-split__more { grid-area: more; margin: var(--space-5) 0 0; }
@media (min-width: 1024px) {
	.faq-split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto 1fr; grid-template-areas: "head list" "more list"; }
	.faq-split__more { margin-top: 0; }
}
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; padding: var(--space-4) 0; cursor: pointer; list-style: none; font-weight: 600; line-height: 1.5; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: inherit; }
.faq__q .icon { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); color: var(--red); }
.faq__q:hover { color: var(--red); }
.faq__a { padding: 0 var(--space-6) var(--space-5) 0; color: var(--ink-soft); }
.faq__a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: var(--space-7); }
.faq-group > h2 { font-size: var(--fs-h3); margin-bottom: var(--space-4); }

/* ---------- Articles ---------- */
.article-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
.article-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.article-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5); }
.article-card__cat { align-self: flex-start; position: relative; z-index: 1; margin-bottom: var(--space-2); font-size: var(--fs-xs); font-weight: 600; color: var(--red); text-decoration: none; }
.article-card__cat:hover { text-decoration: underline; }
.article-card h3 { font-size: var(--fs-h4); line-height: 1.5; margin-bottom: var(--space-2); }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card:hover h3 a { color: var(--red); }
.article-card p { margin-bottom: var(--space-4); color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__meta { margin-top: auto; display: flex; gap: var(--space-4); font-size: var(--fs-xs); color: var(--muted); }
.cat-filter { display: flex; gap: .5rem; margin: 0 0 var(--space-6); padding: 0 0 var(--space-2); list-style: none; overflow-x: auto; scrollbar-width: none; }
.cat-filter::-webkit-scrollbar { display: none; }
.cat-filter li { margin: 0; flex: none; }
.cat-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-soft); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; white-space: nowrap; }
.cat-filter a:hover { border-color: var(--ink); color: var(--ink); }
.cat-filter a[aria-current="page"] { border-color: var(--red); background: var(--red); color: var(--white); }
.pagination { margin-top: var(--space-7); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- Inner page hero (dark, matches home banner) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(2rem, 1.5rem + 2.5vw, 3.75rem); background: radial-gradient(600px 300px at 100% 0%, rgba(217, 18, 28, .35), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(212, 165, 55, .14), transparent 70%), #0E0C0C; color: rgba(255, 255, 255, .82); border-bottom: 3px solid var(--red); }
.page-hero .breadcrumb { margin-bottom: var(--space-4); }
.page-hero h1 { max-width: 30ch; margin-bottom: var(--space-3); color: var(--white); }
.page-hero__lead { max-width: 46rem; font-size: var(--fs-lg); margin-bottom: 0; }
.page-hero .btn-row { margin-top: var(--space-5); }
.page-hero .btn--outline { --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .5); }
.page-hero .btn--outline:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: var(--space-4); font-size: var(--fs-sm); color: rgba(255, 255, 255, .65); }
.page-hero__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.page-hero__meta .icon { width: 16px; height: 16px; color: var(--gold); }
.page-hero__media { display: none; }
@media (min-width: 1024px) {
	.page-hero--media .container { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-7); align-items: center; }
	.page-hero__media { display: block; overflow: hidden; border: 1px solid rgba(212, 165, 55, .5); border-radius: var(--radius); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
	.page-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
}

/* ---------- Answer box (AEO) ---------- */
.answer-box { position: relative; margin: 0 0 var(--space-6); padding: var(--space-5) var(--space-5) var(--space-5) calc(var(--space-5) + 4px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--gold-soft); }
.answer-box::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--red); }
.answer-box__label { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: var(--space-2); font-size: var(--fs-sm); font-weight: 700; color: var(--red); }
.answer-box__label .icon { width: 18px; height: 18px; }
.answer-box p { margin: 0; font-size: var(--fs-lg); color: var(--ink); line-height: 1.75; }

/* ---------- Single article ---------- */
.article-layout { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-8); } .article-aside { position: sticky; top: calc(var(--header-h) + var(--space-5)); align-self: start; } }
.entry-content h2 { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.65rem); margin-top: var(--space-7); padding-top: var(--space-2); }
.entry-content h3 { font-size: var(--fs-h3); margin-top: var(--space-6); }
.entry-content p, .entry-content li { color: var(--ink-soft); }
.entry-content > :first-child { margin-top: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-5); font-size: var(--fs-sm); display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: .6rem .8rem; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--paper); }
.toc { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.toc__title { margin-bottom: var(--space-3); font-size: var(--fs-sm); font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: var(--fs-sm); line-height: 1.55; }
.toc li::marker { color: var(--red); font-weight: 600; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--red); text-decoration: underline; }
.aside-box { margin-top: var(--space-4); padding: var(--space-5); border-radius: var(--radius); background: var(--ink); color: rgba(255, 255, 255, .85); font-size: var(--fs-sm); border-top: 3px solid var(--gold); }
.aside-box h2 { font-size: var(--fs-h4); color: var(--white); margin-bottom: var(--space-2); }
.aside-box .btn { width: 100%; margin-top: var(--space-3); }
.aside-title { margin-bottom: var(--space-3); font-size: 1rem; font-weight: 700; }

/* ---------- Service page ---------- */
.service-layout { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .service-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-8); } .service-aside { position: sticky; top: calc(var(--header-h) + var(--space-5)); align-self: start; } }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.check-list li { position: relative; margin: 0; padding-left: 2rem; color: var(--ink-soft); line-height: 1.6; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat; }
.factor-list { counter-reset: f; margin: var(--space-4) 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.factor-list li { counter-increment: f; display: flex; gap: .75rem; align-items: baseline; margin: 0; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink-soft); }
.factor-list li::before { content: counter(f, decimal-leading-zero); font-weight: 700; color: var(--gold-deep); font-variant-numeric: tabular-nums; font-size: var(--fs-sm); }
.info-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.info-panel__head { padding: var(--space-5); background: var(--ink); color: var(--white); border-bottom: 3px solid var(--red); }
.info-panel__head h2 { color: var(--white); font-size: var(--fs-h4); margin-bottom: var(--space-1); }
.info-panel__head p { margin: 0; color: rgba(255, 255, 255, .72); font-size: var(--fs-sm); line-height: 1.6; }
.info-panel__body { padding: var(--space-5); }
.info-panel__body .btn { width: 100%; }
.info-panel__body .btn + .btn { margin-top: var(--space-3); }
.info-list { margin: 0 0 var(--space-5); padding: 0; list-style: none; display: grid; gap: var(--space-3); font-size: var(--fs-sm); }
.info-list li { display: flex; gap: .65rem; margin: 0; line-height: 1.55; color: var(--ink-soft); }
.info-list .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--red); }
.info-list strong { display: block; color: var(--ink); font-weight: 600; }
.info-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--red); }
.related-links { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.related-links li { margin: 0; }
.related-links a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-weight: 500; text-decoration: none; }
.related-links a:hover { border-color: var(--red); color: var(--red); }
.related-links .icon { width: 18px; height: 18px; color: var(--red); flex: none; }

/* ---------- CTA band (dark) ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(2rem, 1.5rem + 3vw, 3.75rem) clamp(1.25rem, 1rem + 3vw, 3.5rem); border-radius: var(--radius-lg); background: radial-gradient(520px 260px at 100% 0%, rgba(217, 18, 28, .55), transparent 70%), #0E0C0C; color: rgba(255, 255, 255, .82); border: 1px solid rgba(212, 165, 55, .4); }
.cta-band__inner { position: relative; display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-7); } }
.cta-band h2 { color: var(--white); margin-bottom: var(--space-2); }
.cta-band p { margin: 0; font-size: var(--fs-lg); }

/* ---------- Red contact band (bottom of home, like mockup) ---------- */
.contact-band { background: var(--red); color: var(--white); text-align: center; }
.contact-band__inner { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.contact-band h2 { color: var(--white); font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2.1rem); margin-bottom: var(--space-4); }
.contact-band .btn-row { justify-content: center; }
.contact-band .btn--dark { min-width: min(100%, 260px); font-size: 1.35rem; letter-spacing: .02em; }
.contact-band .btn--fb { min-width: min(100%, 260px); }
.contact-band__meta { margin: var(--space-4) 0 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .9); }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card { display: flex; gap: var(--space-4); padding: var(--space-4) var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-card--wide { grid-column: 1 / -1; }
.contact-card__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold); }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card h3 { margin: 0 0 .1rem; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); }
.contact-card p { margin: 0; font-size: 1.0625rem; font-weight: 600; color: var(--ink); line-height: 1.5; word-break: break-word; }
.contact-card a { color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--red); }
.placeholder { display: inline-block; padding: .05rem .45rem; border: 1px dashed var(--gold); border-radius: 4px; background: var(--gold-soft); color: #7a5a1c; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: #0B0B0B; color: rgba(255, 255, 255, .7); font-size: var(--fs-sm); }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-top { display: grid; gap: var(--space-5); align-items: center; padding-block: var(--space-6); border-bottom: 1px solid rgba(212, 165, 55, .25); }
@media (min-width: 1024px) { .footer-top { grid-template-columns: auto 1fr auto; gap: var(--space-6); } }
.footer-brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand b { font-size: 1.75rem; font-weight: 700; }
.footer-brand small { font-size: .9rem; color: var(--gold-light); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 0; margin: 0; padding: 0; list-style: none; }
.footer-nav li { margin: 0; }
.footer-nav li + li::before { content: "|"; margin-inline: .9rem; color: rgba(255, 255, 255, .25); }
@media (min-width: 1024px) { .footer-nav { justify-content: center; padding-left: var(--space-6); border-left: 1px solid rgba(212, 165, 55, .4); } }
.footer-phone { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.15rem; font-weight: 600; color: var(--gold-light) !important; }
.footer-phone .icon { width: 20px; height: 20px; }
.footer-grid { display: grid; gap: var(--space-6); padding-block: var(--space-6); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
.footer-about { max-width: 36ch; line-height: 1.75; margin: 0; }
.footer-title { margin-bottom: var(--space-3); color: var(--gold-light); font-size: 1rem; font-weight: 600; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.footer-links li { margin: 0; }
.footer-contact .info-list li { color: rgba(255, 255, 255, .72); }
.footer-contact .info-list .icon { color: var(--gold); }
.footer-contact .info-list a, .footer-contact .info-list strong { color: var(--white); }
.social { display: flex; gap: .5rem; margin-top: var(--space-4); }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(212, 165, 55, .45); border-radius: 50%; color: var(--gold-light); }
.social a:hover { background: var(--gold); color: var(--ink); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: var(--space-4); }

/* ---------- Mobile app bar (bottom navigation) ---------- */
.appbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: calc(var(--appbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35); }
.appbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--appbar-h); padding: 0; border: 0; background: none; color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.1; text-decoration: none; cursor: pointer; }
.appbar__item .icon { width: 24px; height: 24px; }
.appbar__item:hover, .appbar__item[aria-current="page"], .appbar__item[aria-expanded="true"] { color: var(--red); }
.appbar__item[aria-current="page"] .icon, .appbar__item[aria-expanded="true"] .icon { stroke-width: 2.2; }
.appbar__fab { position: relative; justify-content: flex-end; padding-bottom: 8px; color: var(--ink); font-weight: 600; }
.appbar__fab-circle { position: absolute; top: -24px; left: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; background: var(--red); color: var(--white); box-shadow: 0 0 0 5px var(--white), 0 10px 22px -6px rgba(217, 18, 28, .7); }
.appbar__fab-circle .icon { width: 26px; height: 26px; }
.appbar__fab:hover { color: var(--red); }
body { padding-bottom: calc(var(--appbar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1100px) { .appbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Misc ---------- */
.text-muted { color: var(--muted); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.center { text-align: center; }
.error-404 { padding-block: var(--section); text-align: center; }
.error-404__code { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 700; line-height: 1; margin-bottom: var(--space-4); }
.error-404 .btn-row { justify-content: center; }
@media (max-width: 639px) { .card { padding: var(--space-4); } }
.appbar .icon-close { display: none; }
.nav-open .appbar .icon-menu { display: none; }
.nav-open .appbar .icon-close { display: block; }
