/* ishtari — home page: red hero, category tiles, steps, trader band, delivery (look of the preview). */

/* ---------- Hero ---------- */
.hero { background: var(--red); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 300px at 15% 110%, rgba(0, 0, 0, .18), transparent 70%),
              radial-gradient(500px 260px at 95% -10%, rgba(255, 255, 255, .10), transparent 70%); }
.campaigns:not([hidden]) + .hero { margin-top: 18px; }
.hero-row { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; min-height: 440px; padding-top: 40px; padding-bottom: 40px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.hero h1 { font-weight: 800; font-size: 52px; line-height: 1.15; margin: 16px 0 14px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero-copy > p { font-size: 18px; opacity: .92; max-width: 470px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 22px; font-size: 14px; opacity: .95; flex-wrap: wrap; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-art { position: relative; height: 340px; }
.speed { position: absolute; left: 0; height: 9px; border-radius: 9px; background: #fff; opacity: 0; animation: zoom 2.4s cubic-bezier(.3, .6, .2, 1) infinite; }
.speed.s1 { top: 38%; width: 120px; }
.speed.s2 { top: 50%; width: 80px; animation-delay: .5s; }
.speed.s3 { top: 62%; width: 140px; animation-delay: 1.1s; }
@keyframes zoom { 0% { transform: translateX(-30px); opacity: 0; } 25% { opacity: .9; } 100% { transform: translateX(60px); opacity: 0; } }
.hero-cart { position: absolute; color: #fff; width: 300px; left: 50%; top: 50%; transform: translate(-45%, -55%); filter: drop-shadow(0 18px 24px rgba(60, 0, 10, .35)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-45%, -60%); } }
.float { position: absolute; display: block; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 14px 30px -10px rgba(60, 0, 10, .45); animation: bob2 4s ease-in-out infinite; }
.float svg { width: 92px; height: 74px; display: block; }
.float.f1 { top: 6px; right: 4%; }
.float.f2 { bottom: 0; right: 16%; animation-delay: -1.4s; }
.float.f3 { top: 22px; left: 2%; animation-delay: -2.6s; }
@keyframes bob2 { 50% { transform: translateY(-8px); } }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: 150px; background: var(--card); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-art { height: 100%; display: grid; place-items: center; padding: 10px; }
.cat.has-photo .cat-art { padding: 0; }
.cat-art svg { width: 100%; max-width: 170px; height: auto; transition: transform .35s var(--ease); }
.cat-art img { width: 100%; height: 100%; object-fit: cover; }
.cat:hover .cat-art svg { transform: scale(1.06) rotate(-2deg); }
.tint-red .cat-art { background: var(--red-t); } .tint-sun .cat-art { background: var(--sun-t); } .tint-sand .cat-art { background: var(--sand); }
.cat-txt { padding: 16px 18px; display: grid; justify-items: start; gap: 2px; }
.cat h3 { font-weight: 700; font-size: 19px; line-height: 1.3; }
.cat small { color: var(--muted); font-size: 13.5px; }
.go { margin-top: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--red-t); color: var(--red); display: grid; place-items: center; transition: background .2s, color .2s; }
.cat:hover .go { background: var(--red); color: #fff; }
.cats .is-skeleton { min-height: 150px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--ring); display: flex; gap: 14px; align-items: flex-start; }
.step .no { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; font: 800 20px 'Rubik', sans-serif; }
.step h3 { font-size: 17px; font-weight: 700; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }

/* ---------- Trader band ---------- */
.trade { margin-top: 56px; background: var(--ink); color: #fff; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; align-items: stretch; }
.trade-in { padding: 40px 44px; }
.trade h2 { font-weight: 800; font-size: 32px; line-height: 1.25; }
.trade h2 em { font-style: normal; color: var(--sun); }
.trade p { opacity: .8; margin: 10px 0 22px; max-width: 520px; }
.trade ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.trade li { display: flex; align-items: center; gap: 7px; }
.trade li .icon { color: var(--sun); }
.trade-side { background: var(--red); display: grid; place-items: center; position: relative; min-height: 240px; }
.trade-side .mark { width: 180px; color: #fff; }
.trade-box { position: absolute; bottom: 22px; inset-inline: 22px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600; text-align: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }

/* ---------- Delivery ---------- */
.deliv { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.deliv li { background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: var(--ring); display: flex; align-items: center; gap: 12px; font-weight: 600; }
.deliv .icon { color: var(--red); }
.deliv b { font: 800 19px 'Rubik', sans-serif; color: var(--red); }

/* ---------- Phones ---------- */
@media (max-width: 900px) {
  .hero h1 { font-size: 42px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-row { grid-template-columns: 1fr; min-height: 0; padding-top: 22px; padding-bottom: 30px; gap: 6px; }
  .hero h1 { font-size: 33px; }
  .hero-copy > p { font-size: 15.5px; }
  .hero-art { height: 190px; order: -1; }
  .hero-cart { width: 190px; }
  .float svg { width: 62px; height: 50px; }
  .float.f2 { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .hero-trust { gap: 10px 14px; font-size: 13px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat { grid-template-columns: 1fr; min-height: 0; text-align: center; border-radius: 18px; }
  .cat-art { padding: 10px 6px; aspect-ratio: 1.15 / 1; }
  .cat-txt { padding: 8px 6px 12px; justify-items: center; }
  .cat h3 { font-size: 13.5px; }
  .cat small, .go { display: none; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .trade { grid-template-columns: 1fr; border-radius: 22px; }
  .trade-in { padding: 26px 22px; }
  .trade h2 { font-size: 25px; }
  .trade-side { min-height: 160px; order: -1; }
  .trade-side .mark { width: 110px; margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cart, .float, .speed { animation: none; }
  .speed { opacity: .7; }
}
