/* 279studio — portada: «¿Qué necesitas?». Solo tokens y componentes de la web (misma línea que .catalog-item y .pack-card). */
#que-necesitas { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.need-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.need-card { --tone: var(--m-oro); grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 0.35rem; min-height: 7.4rem; padding: 1.1rem 1.3rem 1rem; border: 1px solid var(--linea); border-top: 3px solid var(--tone); border-radius: var(--radius-m); background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 9%, transparent), transparent 70%); color: var(--hueso); text-decoration: none; transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); min-width: 0; }
.need-card:nth-child(n+4) { grid-column: span 3; }
.need-card[data-need="web"]   { --tone: var(--m-arena); }
.need-card[data-need="res"]   { --tone: var(--m-mar); }
.need-card[data-need="resp"]  { --tone: var(--m-oro); }
.need-card[data-need="redes"] { --tone: var(--m-mar); }
.need-card[data-need="ini"]   { --tone: var(--m-oro); }
.need-card:hover, .need-card:focus-visible { transform: translateY(-3px); border-color: var(--tone); }
.need-ico { width: 28px; height: 28px; fill: none; stroke: var(--tone); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.2rem; }
.need-t { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
@media (min-width: 641px) { .need-t { white-space: nowrap; } }
.need-s { font-size: 0.9rem; line-height: 1.4; color: var(--acento-suave); padding-right: 1.6rem; }
.need-go { position: absolute; right: 1.2rem; bottom: 1.1rem; color: var(--tone); font-size: 1.2rem; transition: transform var(--dur-fast) var(--ease-out); }
.need-card:hover .need-go, .need-card:focus-visible .need-go { transform: translateX(4px); }
@media (max-width: 640px) {
  .need-grid { grid-template-columns: 1fr; gap: 0.7rem; }
  .need-card, .need-card:nth-child(n+4) { grid-column: auto; min-height: 0; padding: 1rem 3rem 1rem 3.6rem; }
  .need-ico { position: absolute; left: 1.1rem; top: 1.1rem; margin: 0; }
}

/* Webs de clientes (carrusel de la portada, reutiliza .demo-carousel) */
#clientes .client-slide { flex-basis: clamp(280px, 44%, 480px); }
#clientes .client-slide { border: 0; background: none; padding: 0; display: flex; flex-direction: column; color: inherit; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease, ease), border-color .35s ease; }
#clientes .client-slide h3 { font-size: 1.15rem; margin-top: .2rem; }
#clientes .client-slide .demo-slide-desc { margin-top: .25rem; font-size: .85rem; }
#clientes .client-frame { position: relative; display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--linea); background: #0d0d0d; margin-bottom: 1.1rem; box-shadow: 0 30px 60px -34px rgba(0,0,0,.75); transition: box-shadow .4s ease, border-color .4s ease; }
#clientes .client-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--linea); }
#clientes .client-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
#clientes .client-bar em { flex: 1; text-align: center; font-style: normal; font-size: .7rem; letter-spacing: .04em; color: var(--acento-suave, #999); padding-right: 38px; }
#clientes .client-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .7s var(--ease, ease); }
#clientes .client-go { position: absolute; right: 12px; top: 8px; color: var(--acento-suave, #999); transition: transform .35s var(--ease, ease), color .35s ease; }
#clientes .client-slide:hover .client-frame, #clientes .client-slide:focus-visible .client-frame { border-color: var(--acento, #fff); box-shadow: 0 36px 70px -30px rgba(0,0,0,.9); }
#clientes .client-slide:hover .client-img, #clientes .client-slide:focus-visible .client-img { transform: scale(1.03); }
#clientes .client-slide:hover .client-go, #clientes .client-slide:focus-visible .client-go { transform: translate(2px, -2px); color: var(--acento, #fff); }
#clientes .client-slide:hover, #clientes .client-slide:focus-visible { transform: none; }
#clientes .client-slide:focus-visible { outline: 2px solid var(--acento, #fff); outline-offset: 6px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { #clientes .client-slide, #clientes .client-img, #clientes .client-go { transition: none; } #clientes .client-slide:hover { transform: none; } #clientes .client-slide:hover .client-img { transform: none; } }
@media (max-width: 640px) { #clientes .client-slide { flex-basis: 86%; } }

#clientes .client-more { margin-top: 2rem; font-size: 1rem; color: var(--acento-suave, #999); }
#clientes .client-more a { color: var(--acento, #fff); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; margin-left: .35rem; transition: opacity .3s ease; }
#clientes .client-more a::after { content: " \2192"; }
#clientes .client-more a:hover, #clientes .client-more a:focus-visible { opacity: .75; }
