/* LIONTRADE — homepage sections (light system; shared pieces live in core.css). */

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding-top: 168px; background: var(--bg); }
/* no z-index on .hero > .wrap: the engine must blend with the canvas behind it */
.hero .wrap.grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.hero h1 { margin-top: 22px; }
.hero .lede { color: rgba(255,255,255,.84); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; align-items: center; }
.hero .engine { position: relative; aspect-ratio: 1; mix-blend-mode: screen; transform: translateY(var(--py, 0)); }
.hero .engine img { width: 100%; height: 100%; object-fit: contain; animation: float 7s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero .lede[data-reveal] { transition-delay: .55s; }
.hero .ctas[data-reveal] { transition-delay: .7s; }
.trust { position: relative; margin-top: 56px; padding: 22px var(--gutter) 34px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 14px 32px; color: var(--ink-mid); font-size: 14px; align-items: center; }
.trust b { color: var(--ink); font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* ---------- proof bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); margin-top: 56px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.cell { position: relative; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); }
.cell.t1 { background: var(--tint-1); } .cell.t2 { background: var(--tint-2); } .cell.t3 { background: var(--tint-3); }
.cell.navy { background: var(--navy); color: #fff; }
.cell.photo { padding: 0; min-height: 250px; }
.cell.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cell p { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-mid); max-width: 260px; }
.cell.navy p { color: rgba(255,255,255,.78); }
.cell .foot { font-size: 13.5px; color: var(--ink-mid); margin-top: 22px; }
.cell.navy .link { color: #fff; }
.cell .quote { font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; }

/* ---------- range tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.tile { position: relative; background: var(--navy); color: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; min-height: 300px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile:hover, [data-reveal].stagger.in .tile[data-reveal-item]:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -12px rgba(18,20,43,.45); }
.tile .img { flex: 1; display: grid; place-items: center; padding: 18px 18px 0; }
.tile img { width: 82%; mix-blend-mode: screen; transition: transform .4s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile .meta { padding: 16px 18px 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.tile .n { font-size: 12px; color: rgba(255,255,255,.72); letter-spacing: .04em; }
.tile h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-top: 2px; }
.tile .go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); flex: none; }
.tile .go svg { width: 14px; height: 14px; }
.tile.more { background: var(--tint-1); color: var(--ink); justify-content: space-between; padding: 22px; }
.tile.more p { color: var(--ink-mid); margin: 8px 0 0; font-size: 15px; }

/* ---------- steps + stats ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin-top: 56px; }
.step { padding: 22px 0 6px; border-top: 1px solid var(--line-strong); }
.step .k { font-size: 13px; color: var(--brand); font-weight: 500; }
.step h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin: 8px 0 8px; }
.step p { margin: 0; color: var(--ink-mid); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.stat .num { font-size: clamp(48px, 5.4vw, 76px); }
.stat b { display: block; font-weight: 500; margin-top: 14px; }
.stat p { margin: 4px 0 0; color: var(--ink-mid); font-size: 14.5px; }

/* ---------- part search ---------- */
.search-card { margin-top: 48px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; }
.search-card h3 { font-size: 26px; letter-spacing: -0.02em; margin-top: 12px; }
.search { display: flex; gap: 8px; grid-column: 1 / -1; }
.search .input { flex: 1; min-width: 0; background: var(--bg); }
.search .btn { min-height: 48px; }
.search-card .hint { font-size: 13.5px; color: var(--ink-lo); grid-column: 1 / -1; margin: 0; }

@media (max-width: 960px) {
  .hero .wrap.grid { grid-template-columns: 1fr; }
  .hero .engine { max-width: 460px; width: 100%; margin: 8px auto 0; }
  .trust { grid-template-columns: 1fr; justify-content: start; }
  .bento, .tiles, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .search-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding-top: 132px; }
  .hero .ctas .btn { width: 100%; }
  .bento, .tiles, .steps, .stats { grid-template-columns: 1fr; }
  .tile { min-height: 260px; }
  .search { flex-direction: column; }
}
