/* ==========================================================================
   Home page
   ========================================================================== */

.hero { position: relative; overflow: hidden; color: var(--paper); background: var(--navy-deep); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 30%, rgba(186, 150, 67, .18), transparent 45%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-7); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { margin: 0; max-width: 14ch; color: var(--paper); font-size: var(--text-3xl); line-height: 1.08; }
.hero__lead { max-width: 56ch; margin: var(--space-5) 0 0; color: #C9D3DD; font-size: var(--text-lg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
.hero__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__quick a { padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #E3E9EF; font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.hero__quick a:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* Vault illustration: pure CSS, no image request */
.hero__vault { display: grid; place-items: center; }
.vault { width: min(380px, 100%); aspect-ratio: 1; display: grid; place-items: center; border-radius: 28px; background: linear-gradient(150deg, #1A3450, #0B2238 60%, #071A2D); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px rgba(0, 0, 0, .45); }
.vault__door { position: relative; width: 78%; aspect-ratio: 1; border-radius: 22px; background: linear-gradient(145deg, #23405E, #11283F); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .06), 0 18px 40px rgba(0, 0, 0, .4); }
.vault__dial { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 0 0 10px #0E2439, 0 0 0 12px rgba(216, 180, 90, .35), 0 14px 30px rgba(0, 0, 0, .35); }
.vault__dial span { width: 46%; height: 8px; border-radius: 99px; background: #0A1E33; opacity: .55; transform: rotate(28deg); }
.vault__bolts { position: absolute; inset-inline-start: 8%; inset-block: 18%; width: 10px; display: grid; align-content: space-between; }
.vault__bolts i { height: 26px; border-radius: 6px; background: linear-gradient(180deg, #B9C6D2, #7D8D9C); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }

/* Trust strip */
.trust-strip { background: var(--paper); border-block-end: 1px solid var(--line); }
.trust-strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip__list li { display: flex; gap: 12px; align-items: flex-start; padding: 22px 20px; border-inline-end: 1px solid var(--line); }
.trust-strip__list li:last-child { border-inline-end: 0; }
.trust-strip .icon { width: 28px; height: 28px; color: var(--gold-text); margin-top: 2px; }
.trust-strip strong { display: block; color: var(--navy); }
.trust-strip span { color: var(--muted); font-size: var(--text-sm); }

/* Categories */
.category-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.category-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--paper); text-decoration: none; }
.category-card:hover { border-color: var(--navy); }
.category-card__image { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: var(--mist); color: var(--line-strong); }
.category-card__image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.category-card__image .icon { width: 48px; height: 48px; }
.category-card__body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.category-card__body strong { color: var(--navy); font-size: var(--text-md); }
.category-card__text { color: var(--muted); font-size: var(--text-sm); }
.category-card__count { color: var(--gold-text); font-size: var(--text-xs); font-weight: 600; }
.section-categories, .section-products { background: var(--paper); }

/* Selector callout */
.selector-callout { background: var(--navy); color: var(--paper); }
.selector-callout__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.selector-callout h2 { margin: 0 0 8px; color: var(--paper); font-size: var(--text-2xl); }
.selector-callout p { margin: 0; max-width: 60ch; color: #C9D3DD; }
.selector-callout .button { flex: 0 0 auto; min-height: 56px; padding-inline: 32px; }

/* Guide panel: steps are a real sequence, so they are numbered */
.guide-panel { background: var(--mist); }
.guide-panel__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-7); align-items: center; }
.guide-panel__intro h2 { font-size: var(--text-2xl); }
.guide-panel__intro p { color: var(--muted); font-size: var(--text-md); }
.guide-panel__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.guide-panel__steps li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.guide-panel__steps li::before { grid-row: 1 / span 2; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--paper); font-weight: 700; }
.guide-panel__steps strong, .guide-panel__steps span { grid-column: 2; }
.guide-panel__steps strong { display: block; color: var(--navy); }
.guide-panel__steps span { color: var(--muted); font-size: var(--text-sm); }

.section-guides { background: var(--paper); }
.section-faq { background: var(--mist); }
.home-editor-content { background: var(--paper); }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__vault { display: none; }
  .trust-strip__list { grid-template-columns: 1fr 1fr; }
  .trust-strip__list li:nth-child(2n) { border-inline-end: 0; }
  .trust-strip__list li:nth-child(-n+2) { border-block-end: 1px solid var(--line); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-panel__grid { grid-template-columns: 1fr; gap: var(--space-5); }
}
@media (max-width: 640px) {
  .hero h1 { max-width: none; }
  .hero__actions { display: grid; }
  .trust-strip__list { grid-template-columns: 1fr; }
  .trust-strip__list li { border-inline-end: 0; border-block-end: 1px solid var(--line); padding: 16px 4px; }
  .trust-strip__list li:last-child { border-block-end: 0; }
  .category-grid { gap: 10px; }
  .category-card__body { padding: 12px 14px; }
  .selector-callout__inner { flex-direction: column; align-items: stretch; }
}
