/* ==========================================================
   Homepage
   ========================================================== */

/* ---------- 1. Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--hdr-h) + 20px) 0 48px;
  background:
    radial-gradient(60% 50% at 75% 70%, rgba(255, 190, 122, .10), transparent 70%),
    radial-gradient(50% 40% at 85% 10%, rgba(213, 251, 99, .06), transparent 70%),
    var(--black);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg .skyline { height: 34%; opacity: .7; }
.hero__grid {
  position: relative; display: grid; gap: 24px;
  grid-template-areas: "copy" "scene" "tool";
}
.hero__copy { grid-area: copy; display: grid; gap: 16px; justify-items: start; }
.hero h1 { font-size: clamp(2.5rem, 10.6vw, 4rem); }
.hero h1 em { font-style: normal; color: var(--lime); text-shadow: 0 0 26px rgba(213, 251, 99, .45); }
.hero__np {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px 6px 6px;
  border-radius: 999px; border: 1px solid var(--lime-line); background: var(--lime-soft);
  font-weight: 600; font-size: .95rem; transition: border-color .2s, background .2s;
}
.hero__np .hot { margin: 0; }
.hero__np-text { display: inline-flex; align-items: center; gap: 6px; }
.hero__np .icon { width: 18px; height: 18px; }
.hero__np > .icon { color: var(--lime); transition: transform .25s var(--ease); }
.hero__np:hover { border-color: var(--lime); }
.hero__np:hover > .icon { transform: translateX(3px); }
.hero__btns { width: 100%; flex-wrap: nowrap; gap: 10px; }
.hero__btns .btn { flex: 1; padding-inline: 14px; }
.hero__scene { grid-area: scene; position: relative; margin-inline: -6px; }
.hero__scene::after { /* reflection on the wet road */
  content: ''; position: absolute; left: 10%; right: 10%; bottom: -8%; height: 14%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(213, 251, 99, .10), transparent 70%);
  pointer-events: none;
}
.shop--hero { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }

.preview {
  grid-area: tool;
  display: grid; gap: 12px;
  padding: 18px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--charcoal), #101010);
  border: 1px solid var(--line);
}
.preview__title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.preview__title .label { color: var(--lime); border: 1px solid var(--lime-line); border-radius: 999px; padding: 4px 9px; font-size: .64rem; }
.preview__input {
  width: 100%; height: 56px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line); background: #0b0b0b;
  font-size: 1.1rem; font-weight: 400; letter-spacing: .02em;
  transition: border-color .2s, box-shadow .2s;
}
.preview__input::placeholder { color: #6b6b65; }
.preview__input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.preview__styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.preview__styles .chip { padding: 0 6px; font-size: .86rem; }
.preview__styles .chip[aria-checked="true"] { background: var(--lime-soft); border-color: var(--lime); color: var(--lime); }


@media (min-width: 960px) {
  .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr-h) + 32px) 0 64px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    grid-template-areas: "copy scene" "tool scene";
    column-gap: clamp(40px, 5vw, 80px); row-gap: 28px; align-items: center;
  }
  .hero__copy { gap: 22px; align-self: end; }
  .hero h1 { font-size: clamp(3.4rem, 5.4vw, 5.8rem); }
  .hero__btns { width: auto; }
  .hero__btns .btn { flex: none; padding-inline: 24px; }
  .hero__scene { margin: 0; }
  .preview { align-self: start; max-width: 520px; }
}

/* ---------- 2. Trust strip: lime neon band, black text ---------- */

.trust {
  position: relative; background: var(--lime); color: var(--black);
  box-shadow: 0 0 0 1px rgba(213, 251, 99, .6), 0 0 50px rgba(213, 251, 99, .28);
}
.trust__list { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust__list li { display: grid; gap: 4px; align-content: center; justify-items: start; padding: 20px 0 20px 4px; border-bottom: 1px solid rgba(10, 10, 10, .14); }
.trust__list li:nth-child(odd) { padding-right: 12px; border-right: 1px solid rgba(10, 10, 10, .14); }
.trust__list li:nth-child(even) { padding-left: 18px; }
.trust__list li:nth-last-child(-n+2) { border-bottom: 0; }
.trust__list li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.trust__list a { display: grid; gap: 4px; }
.trust__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1; }
.trust .label { color: rgba(10, 10, 10, .72); }
.trust__icon { color: var(--black); }
.trust__icon .icon { width: 40px; height: 40px; }
.trust .stars, .trust .stars .on { color: var(--black); }
@media (min-width: 900px) {
  .trust__list { display: flex; justify-content: space-between; }
  .trust__list li, .trust__list li:nth-child(n) { flex: 1; padding: 28px 24px; border: 0; border-left: 1px solid rgba(10, 10, 10, .14); }
  .trust__list li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- 3. Bestseller: house name plates ---------- */

.npshow { background: radial-gradient(60% 60% at 20% 50%, rgba(255, 190, 122, .07), transparent 70%), var(--black); }
.npshow__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; grid-template-areas: "head" "scene" "try"; }
.npshow__head { grid-area: head; display: grid; gap: 16px; justify-items: start; }
.npshow__head .lead { max-width: 42ch; }
@media (min-width: 960px) { .npshow__head h2 { font-size: clamp(2.6rem, 4vw, 3.8rem); } }
.npshow__scene { grid-area: scene; position: relative; margin-inline: calc(var(--gutter) * -1); }
.npshow__scene .house { border-radius: 0; border-width: 1px 0; }
.npshow__try { grid-area: try; display: grid; gap: 16px; }
.npshow__field { display: grid; gap: 8px; font-size: .92rem; color: var(--grey); }
.npshow__field input {
  width: 100%; height: 56px; padding: 0 16px; border-radius: 12px;
  background: #0b0b0b; border: 1px solid var(--line); color: var(--white); font-size: 1.1rem;
}
.npshow__field input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.npshow__try .btn-row .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .npshow__try .btn-row .btn { flex: 0 0 auto; } }
@media (min-width: 960px) {
  .npshow__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "scene head" "scene try"; column-gap: clamp(40px, 5vw, 72px); row-gap: 24px; align-items: center; }
  .npshow__head { align-self: end; }
  .npshow__try { align-self: start; }
  .npshow__scene { margin: 0; }
  .npshow__scene .house { border-radius: var(--radius-lg); border-width: 1px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
}

/* ---------- 3. One shop, three signs ---------- */

.three__stage { display: none; }
.three__panels {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.three__panels::-webkit-scrollbar { display: none; }
.three__panel {
  scroll-snap-align: center; display: grid; gap: 10px; align-content: start;
  padding: 12px 12px 16px; border-radius: var(--radius-lg); background: var(--charcoal); border: 1px solid var(--line);
}
.three__panel h3 { font-size: 2rem; padding-inline: 6px; }
.three__panel p, .three__panel .card__num, .three__panel .arrow-link { padding-inline: 6px; }
.three__panel p { color: rgba(242, 242, 238, .76); }
.three__mini { border-radius: 14px; overflow: hidden; background: #0b0b0a; }

@media (min-width: 900px) {
  .three__layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
  .three__stage { display: block; position: sticky; top: calc(var(--hdr-h) + 8vh); align-self: start; }
  .three__dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
  .three__dots span { width: 28px; height: 3px; border-radius: 2px; background: var(--line); transition: background .3s; }
  .three__dots .is-active { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
  .three__panels { display: block; overflow: visible; margin: 0; padding: 0; }
  .three__panel {
    min-height: 50vh; display: flex; flex-direction: column; justify-content: center; gap: 14px;
    background: none; border: 0; padding: 0;
  }
  .three__panel h3 { font-size: clamp(2.6rem, 4.4vw, 4rem); padding: 0; }
  .three__panel p { font-size: var(--fs-lead); max-width: 30ch; padding: 0; }
  .three__panel .card__num, .three__panel .arrow-link { padding: 0; }
  .three__mini { display: none; }
}
@media (min-width: 900px) { .js .three__panel { opacity: .28; transition: opacity .5s; } .js .three__panel.is-active { opacity: 1; } }

/* ---------- 4. Recent work ---------- */


/* ---------- 9. Reviews ---------- */

.reviews-empty { display: grid; gap: 20px; justify-items: start; padding: clamp(24px, 5vw, 48px); border-radius: var(--radius-lg); background: var(--black); border: 1px solid var(--line); }
.reviews-empty .lead { max-width: 52ch; }

/* ---------- Each section has its own look, so a new section is obvious ---------- */

/* thin lime line where sections meet */
.npshow::before, .three::before, .process::before, .work::before, .owner-sec::before, .reviews-sec::before {
  content: ''; position: absolute; left: 50%; top: 0; width: min(560px, 70%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--lime-line), transparent);
}
/* name plates: dusk blue, like the house scene */
.npshow { background: radial-gradient(70% 60% at 25% 55%, rgba(255, 190, 122, .08), transparent 70%), linear-gradient(180deg, #0e1424, #0A0A0A 85%); }
/* signs: charcoal with a soft street-light glow */
.three { background: radial-gradient(50% 40% at 80% 0%, rgba(213, 251, 99, .06), transparent 70%), var(--charcoal); }
/* how it works: blueprint grid */
.process {
  background-color: var(--black);
  background-image: linear-gradient(rgba(242, 242, 238, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 242, 238, .028) 1px, transparent 1px);
  background-size: 44px 44px;
}
/* owner: warm office light */
.owner-sec { background: radial-gradient(60% 60% at 20% 40%, rgba(196, 140, 80, .12), transparent 70%), var(--black); }
/* reviews: faint lime wash */
.reviews-sec { background: linear-gradient(180deg, rgba(213, 251, 99, .045), transparent 60%), var(--charcoal); border-top: 1px solid var(--line); }
