/* Public Home and Services pages. Colours come from the theme variables (light / dark); the hero and illustrations are always deep indigo + gold. */
.hm { background: var(--bg); }
.hm a:focus-visible, .hm button:focus-visible, .hm summary:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 8px; }
.h-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.h-skip:focus { left: 12px; }
.h-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */
.h-bar { position: sticky; top: 0; z-index: 60; background: var(--topbar); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); min-height: 68px; }
.h-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.h-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.h-logo:hover { color: var(--ink); }
.h-logo-t { font: 700 1.3rem/1.1 var(--serif); display: flex; flex-direction: column; min-width: 0; }
.h-logo-t small { font: 400 .7rem var(--sans); color: var(--muted); letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.h-nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; justify-content: flex-end; }
.h-nav > a { color: var(--ink); font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; }
.h-nav > a:hover, .h-nav > a[aria-current] { color: var(--gold); border-bottom-color: var(--gold); }
.h-nav-end { display: flex; align-items: center; gap: 12px; }
.h-nav-end > a:not(.btn) { color: var(--ink); font-weight: 500; }
.h-nav-end > a.btn { color: var(--btn-gold-text); }
.h-theme { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 99px; padding: 6px 12px; font: 600 .8rem var(--sans); cursor: pointer; }
.h-theme:hover { border-color: var(--gold); }
.h-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 0; }
.h-burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 960px) {
  .h-burger { display: flex; }
  .h-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow-y: auto; }
  .h-nav.open { display: flex; }
  .h-nav > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .h-nav-end { padding-top: 12px; flex-wrap: wrap; }
  .h-wrap { padding: 0 16px; }
}
@media (max-width: 480px) { .h-logo-t small { display: none; } .h-logo-t { font-size: 1.15rem; } }

/* ---------- buttons on dark backgrounds ---------- */
.h-btn-lg { padding: 13px 26px; font-size: 1rem; border-radius: 12px; }
.h-btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.h-btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }
.hm .btn-gold { color: #1a1426; }
.hm .btn-gold:hover { color: #1a1426; }

/* ---------- hero ---------- */
.h-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(circle at 78% 40%, var(--deep-glow, #3a2f94) 0%, transparent 55%), linear-gradient(135deg, var(--deep-1, #0d0930) 0%, var(--deep-2, #1c1555) 45%, var(--deep-3, #2a2078) 75%, var(--deep-4, #17104a) 100%); background-size: 160% 160%; animation: h-drift 28s ease-in-out infinite alternate; }
@keyframes h-drift { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
.h-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.h-tw { animation: h-twinkle 4.5s ease-in-out infinite; }
@keyframes h-twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.h-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 120px; min-height: 640px; }
.h-eyebrow { display: inline-block; font: 600 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.h-hero .h-eyebrow { color: var(--h-gold, #e8c46a); }
.h-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); color: #fff; line-height: 1.05; margin: 8px 0 18px; }
.h-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--h-gold-3, #f6dd9c), var(--h-gold, #e8c46a), var(--h-gold-3, #f6dd9c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-hero p.h-sub { color: var(--deep-text, #d9d3f2); font-size: 1.15rem; max-width: 560px; margin: 0 0 28px; }
.h-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.h-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.h-chip { border: 1px solid rgba(232, 196, 106, .45); color: var(--h-gold-2, #f1d489); border-radius: 99px; padding: 3px 12px; font: 500 .8rem var(--sans); background: rgba(232, 196, 106, .08); }
.h-scene { position: relative; justify-self: center; width: min(100%, 540px); aspect-ratio: 1; }
.h-hero-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 50px rgba(0, 0, 0, .45)); }
.h-spin { transform-origin: 300px 300px; }
.h-spin-slow { animation: h-rot 140s linear infinite; }
.h-spin-a { animation: h-rot 70s linear infinite; }
.h-spin-b { animation: h-rot 46s linear infinite reverse; }
.h-spin-c { animation: h-rot 30s linear infinite; }
.h-spin-sun { animation: h-rot 60s linear infinite reverse; }
@keyframes h-rot { to { transform: rotate(360deg); } }
.h-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; fill: var(--bg); }
@media (prefers-reduced-motion: reduce) {
  .h-hero, .h-tw, .h-spin, [class*="h-spin-"] { animation: none !important; }
  .h-track { scroll-behavior: auto; }
}
@media (max-width: 960px) {
  .h-hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 36px; padding-bottom: 100px; min-height: 0; text-align: center; }
  .h-hero p.h-sub { margin-left: auto; margin-right: auto; }
  .h-cta, .h-chips { justify-content: center; }
  .h-scene { width: min(78vw, 360px); order: -1; }
}
@media (max-width: 480px) { .h-cta .btn { width: 100%; } }

/* ---------- trust strip ---------- */
.h-trust { position: relative; z-index: 2; margin-top: -48px; }
.h-trust-in { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 18px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 22px; }
.h-trust-i { display: flex; align-items: center; gap: 12px; }
.h-trust-i b { display: block; font: 700 1rem var(--serif); color: var(--ink); line-height: 1.2; }
.h-trust-i span.t { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
.h-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font: 700 1.2rem var(--serif); }

/* ---------- sections ---------- */
.h-sec { padding: 76px 0 8px; }
.h-sec.alt { background: var(--surface-2); margin-top: 68px; padding: 68px 0 72px; border-block: 1px solid var(--line); }
.h-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.h-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 4px 0 10px; }
.h-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.h-divider { width: 150px; height: 14px; color: var(--gold); display: block; margin: 12px auto 0; }
.h-more { text-align: center; margin-top: 28px; }

/* ---------- service cards ---------- */
.h-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.h-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
.h-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.h-illus { aspect-ratio: 240 / 150; background: var(--deep-4, #17104a); overflow: hidden; }
.h-illus svg, svg.h-illus { width: 100%; height: 100%; display: block; }
.h-card-b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.h-card-b h3 { margin: 0; font-size: 1.4rem; }
.h-card-b p { margin: 0; color: var(--muted); flex: 1; }
.h-from { font: 600 .92rem var(--sans); color: var(--gold); }
.h-card-b .actions { margin-top: 6px; }

/* ---------- shop rails ---------- */
.h-shop-block + .h-shop-block { margin-top: 44px; }
.h-shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.h-shop-head h3 { font-size: 1.7rem; margin: 0; }
.h-shop-head p { margin: 0; color: var(--muted); }
.h-rail { position: relative; }
.h-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 16px; scrollbar-width: thin; min-height: 420px; }
.h-slide { flex: 0 0 248px; scroll-snap-align: start; display: flex; }
.h-slide > .pcard { width: 100%; }
.h-pcard .pimg { display: block; }
.h-pcard .h-buy { margin-top: 8px; align-self: flex-start; }
.h-pcard .price { font-size: 1.25rem; }
.h-arrow { position: absolute; top: 38%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; padding: 0 0 3px; }
.h-arrow:hover { border-color: var(--gold); color: var(--gold); }
.h-prev { left: -14px; } .h-next { right: -14px; }
@media (max-width: 700px) { .h-arrow { display: none; } .h-slide { flex-basis: 70vw; max-width: 270px; } .h-track { min-height: 400px; } }

/* ---------- reports ---------- */
.h-rep { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.h-rep-c { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); align-items: center; }
.h-rep-img { flex: none; width: 112px; height: 112px; border-radius: 12px; overflow: hidden; background: var(--deep-4, #17104a); }
.h-rep-img > * { width: 100%; height: 100%; display: block; object-fit: cover; }
.h-rep-t { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.h-rep-t h3 { margin: 0; font-size: 1.2rem; }
.h-rep-t p { margin: 0; color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-rep-t .price { font-size: 1.2rem; }
.h-rep-t .btn { align-self: flex-start; margin-top: 4px; }
@media (max-width: 400px) { .h-rep { grid-template-columns: minmax(0, 1fr); } .h-rep-img { width: 84px; height: 84px; } }

/* ---------- consultation banner ---------- */
.h-consult { position: relative; overflow: hidden; border-radius: 26px; color: #fff; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 28px; align-items: center; padding: 44px 48px;
  background: radial-gradient(circle at 85% 30%, var(--deep-glow, #3a2f94) 0%, transparent 60%), linear-gradient(135deg, var(--deep-1, #0d0930), var(--deep-2, #1c1555) 60%, var(--deep-3, #2a2078)); }
.h-consult h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.h-consult p { color: var(--deep-text, #d9d3f2); max-width: 560px; }
.h-prices { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 22px; }
.h-prices span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(232, 196, 106, .4); color: var(--h-gold-3, #f6dd9c); border-radius: 99px; padding: 5px 14px; font-weight: 600; }
.h-consult .h-illus { border-radius: 18px; border: 1px solid rgba(232, 196, 106, .3); }
@media (max-width: 860px) { .h-consult { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; } .h-consult .h-illus { order: -1; max-width: 320px; } }

/* ---------- how it works ---------- */
.h-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; counter-reset: st; }
.h-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px 22px; box-shadow: var(--shadow); }
.h-step::before { counter-increment: st; content: counter(st); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 1.3rem var(--serif); color: #1a1426; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.h-step h3 { margin: 6px 0 6px; font-size: 1.35rem; }
.h-step p { margin: 0; color: var(--muted); }

/* ---------- about ---------- */
.h-about { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center; }
.h-about-art { justify-self: center; width: 100%; max-width: 280px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, var(--deep-glow, #3a2f94), var(--deep-2, #1c1555) 60%, var(--deep-1, #0d0930)); box-shadow: 0 0 0 6px var(--gold-soft), var(--shadow); overflow: hidden; }
.h-about-art .logo-emblem { filter: none; }
.h-about h2 { margin-bottom: 6px; }
.h-about .who { font: 600 1.05rem var(--sans); color: var(--gold); margin-bottom: 10px; }
.h-about p { color: var(--ink); font-size: 1.05rem; max-width: 640px; }
.h-contact { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 760px) { .h-about { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 22px; } .h-about p { margin-left: auto; margin-right: auto; } .h-contact { justify-content: center; } .h-about-art { max-width: 180px; } }

/* ---------- FAQ ---------- */
.h-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.h-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.h-faq details[open] { border-color: var(--gold); }
.h-faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font: 600 1.05rem var(--sans); position: relative; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.5rem; }
.h-faq details[open] summary::after { content: '–'; }
.h-faq details p { margin: 0 0 16px; color: var(--muted); }

/* ---------- footer ---------- */
.h-foot { margin-top: 80px; background: linear-gradient(180deg, var(--deep-4, #17104a), var(--deep-1, #0d0930)); color: var(--deep-text-2, #cfc8ea); padding: 52px 0 24px; }
.h-foot a { color: var(--h-gold-2, #f1d489); } .h-foot a:hover { color: #fff; }
.h-foot .h-logo { color: #fff; } .h-foot .h-logo-t small { color: var(--deep-text-3, #a9a2cf); }
.h-foot h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.h-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.h-foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 34px; }
.h-foot-brand p { font-size: .85rem; color: var(--deep-text-3, #a9a2cf); margin: 12px 0 0; max-width: 340px; }
.h-foot-end { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: var(--deep-text-3, #a9a2cf); text-align: center; }
@media (max-width: 860px) { .h-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-foot-brand { grid-column: 1 / -1; } }

/* ---------- Services page ---------- */
.h-page-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; text-align: center; padding: 70px 0 96px;
  background: radial-gradient(circle at 50% 0%, var(--deep-glow, #3a2f94) 0%, transparent 60%), linear-gradient(135deg, var(--deep-1, #0d0930), var(--deep-2, #1c1555) 55%, var(--deep-3, #2a2078)); }
.h-page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin: 6px 0 12px; }
.h-page-hero p { color: var(--deep-text, #d9d3f2); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.h-svc-list { display: grid; gap: 34px; }
.h-svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.h-svc:nth-child(even) .h-svc-img { order: 2; }
.h-svc-img { align-self: stretch; background: var(--deep-4, #17104a); min-height: 260px; display: grid; }
.h-svc-img svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.h-svc-b { padding: 30px 34px 30px 0; }
.h-svc:nth-child(even) .h-svc-b { padding: 30px 0 30px 34px; }
.h-svc-b h2 { font-size: 1.9rem; margin-bottom: 8px; }
.h-svc-b > p { color: var(--muted); margin: 0 0 12px; }
.h-svc-b .ticks { margin-bottom: 14px; }
.h-svc-b .ticks li { padding-block: 3px; }
.h-svc-prices { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 16px; align-items: baseline; }
.h-svc-prices .price { font-size: 1.5rem; }
.h-svc-prices small { color: var(--muted); font-size: .85rem; }
.h-opts { display: grid; gap: 10px; margin-bottom: 16px; }
.h-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--surface-2); }
.h-opt b { font-family: var(--serif); font-size: 1.15rem; }
.h-opt .price { font-size: 1.2rem; }
@media (max-width: 860px) {
  .h-svc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .h-svc:nth-child(even) .h-svc-img { order: 0; }
  .h-svc-img { min-height: 0; aspect-ratio: 240 / 150; }
  .h-svc-b, .h-svc:nth-child(even) .h-svc-b { padding: 22px 20px 24px; }
}
.h-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }
.h-final { text-align: center; }
.h-loading { color: var(--muted); text-align: center; padding: 40px 0; }
@media print { .h-bar, .h-hero, .h-foot { display: none; } }
