/* Tarjetas de productos de la portada de 11negocios.com para páginas estáticas (/geraravila/).
   Copia fiel de .home-card y .showcase (src/styles/home.css y landing.css) con los valores ya resueltos.
   Si cambias el diseño de la portada, cambia también este archivo. */

@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('/fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('/fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('/fonts/manrope-800.woff2') format('woff2'); }

.home-cards {
  --ink: #0e0e10; --ink-2: #3d3d43; --ink-3: #66666e;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.home-card {
  position: relative; display: flex; flex-direction: column; border-radius: 34px;
  background: linear-gradient(150deg, rgb(255 255 255 / .8), rgb(255 255 255 / .56));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), 0 0 0 1px rgb(14 14 16 / .07), 0 1px 3px rgb(14 14 16 / .04), 0 18px 40px -18px rgb(14 14 16 / .2);
  color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .38s cubic-bezier(.16, 1, .3, 1), box-shadow .38s cubic-bezier(.16, 1, .3, 1);
}
.home-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .9; }
.home-card.tone-sun::before { background: radial-gradient(120% 70% at 0% 100%, rgb(255 227 196 / .75), transparent 60%), radial-gradient(90% 60% at 100% 100%, rgb(255 210 214 / .55), transparent 65%); }
.home-card.tone-sky::before { background: radial-gradient(120% 70% at 0% 100%, rgb(207 227 255 / .8), transparent 60%), radial-gradient(90% 60% at 100% 100%, rgb(226 214 255 / .7), transparent 65%); }
.home-card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), 0 0 0 1px rgb(14 14 16 / .07), 0 2px 6px rgb(14 14 16 / .04), 0 30px 70px -26px rgb(14 14 16 / .26); }
.home-card-visual { position: relative; aspect-ratio: 3 / 2; margin: 12px 12px 0; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgb(14 14 16 / .06); }
.home-card-visual--office { background: radial-gradient(80% 90% at 0% 0%, #dbe8ff, transparent 70%), radial-gradient(70% 80% at 100% 100%, #ffe0d2, transparent 70%), linear-gradient(140deg, #eef3ff, #f1eaff); }
.home-office-pc { position: absolute; left: 6%; top: 9%; width: 80%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgb(255 255 255 / .9), 0 24px 50px -24px rgb(40 52 130 / .45); transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.home-office-phone { position: absolute; right: 6%; top: 22%; width: 24%; height: auto; border-radius: 18px; box-shadow: 0 0 0 4px #fff, 0 30px 50px -22px rgb(40 52 130 / .55); transform: rotate(3deg); transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.home-card:hover .home-office-pc { transform: translateY(-4px); }
.home-card:hover .home-office-phone { transform: rotate(0deg) translateY(-10px); }
.home-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 26px 32px 32px; }
.home-tag { padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .85); box-shadow: 0 0 0 1px rgb(14 14 16 / .07); font-size: .75rem; font-weight: 800; letter-spacing: .04em; color: var(--ink-2); }
.home-card h3 { margin: 16px 0 0; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.15rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; text-transform: none; }
.home-card-body > p { max-width: 46ch; margin: 12px 0 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }
.home-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; padding: 0; list-style: none; }
.home-chips li { padding: 7px 12px; border-radius: 999px; background: rgb(14 14 16 / .05); font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.home-card-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 22px; border-radius: 999px; background: linear-gradient(180deg, #3b3b40 0%, #1c1c1f 52%, #0b0b0c 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), inset 0 -1px 0 rgb(14 14 16 / .18), 0 1px 2px rgb(14 14 16 / .14), 0 8px 18px -10px rgb(14 14 16 / .45); color: #fff; font-weight: 700; font-size: 1rem; }
.home-card-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .26s cubic-bezier(.16, 1, .3, 1); }
.home-card:hover .home-card-cta { background: linear-gradient(180deg, #4a4a50 0%, #26262a 52%, #121214 100%); }
.home-card:hover .home-card-cta svg { transform: translateX(4px); }

/* Vitrina de portadas (misma que la portada) */
.showcase { container-type: inline-size; position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3.4cqw; width: 100%; height: 100%; padding: 5cqw 0; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 10% 0%, #fff4e4, transparent 70%), radial-gradient(60% 60% at 100% 20%, #efe6ff, transparent 70%), radial-gradient(80% 60% at 50% 100%, #e3efff, transparent 70%), linear-gradient(160deg, #fffaf3, #f6f2ff 55%, #eef5ff); }
.showcase > * { flex: none; }
.showcase-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(8cqw); opacity: .8; }
.showcase-glow.g1 { width: 50cqw; height: 34cqw; left: -10cqw; bottom: 0; background: #ffe3c4; }
.showcase-glow.g2 { width: 46cqw; height: 34cqw; right: -8cqw; top: 6cqw; background: #e2d6ff; }
.showcase-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.showcase-strip-track { display: flex; width: max-content; animation: vt-strip var(--strip-s, 50s) linear infinite; }
.showcase-strip-group { display: flex; align-items: flex-end; gap: 2cqw; padding-right: 2cqw; }
.showcase-mini { width: 8cqw; flex: none; }
.showcase-mini.is-wide { width: 19cqw; }
@keyframes vt-strip { to { transform: translateX(-50%); } }
.vt-cover { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: .5cqw 1.2cqw 1.2cqw .5cqw; background: linear-gradient(160deg, #f1eef8, #e4e0ee); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), 0 2.4cqw 3cqw -1.6cqw rgb(14 14 16 / .55); }
.vt-cover.is-wide { aspect-ratio: 16 / 10; }
.vt-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase-mini .vt-cover { border-radius: .4cqw 1cqw 1cqw .4cqw; box-shadow: 0 1.4cqw 2.4cqw -1.4cqw rgb(14 14 16 / .45); }
.showcase-shelf { position: relative; padding: 0 3cqw; transition: opacity .5s ease; }
.showcase.is-loading .showcase-shelf { opacity: 0; }
.showcase-books { display: flex; justify-content: center; align-items: flex-end; gap: .6cqw; }
.showcase-book { width: 12.4cqw; flex: none; animation: vt-rise .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
.showcase-book:nth-child(4) { width: 13.8cqw; }
@keyframes vt-rise { from { opacity: 0; transform: translateY(4cqw); } to { opacity: 1; transform: none; } }
.showcase-plank { display: block; height: 2.2cqw; margin-top: -.2cqw; border-radius: .6cqw .6cqw 1.2cqw 1.2cqw; background: linear-gradient(180deg, #fff 0%, #eceaf2 100%); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(14 14 16 / .06), 0 2.4cqw 3cqw -1.8cqw rgb(14 14 16 / .35); }
.showcase-team { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; }
.showcase-faces { display: flex; padding-left: 1.6cqw; }
.showcase-face { width: 6.4cqw; height: 6.4cqw; margin-left: -1.6cqw; border-radius: 50%; overflow: hidden; background: var(--tone-bg, #fff); box-shadow: 0 0 0 .45cqw #fff, 0 1cqw 2cqw -1cqw rgb(14 14 16 / .4); }
.showcase-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.showcase-team-label { padding: .8cqw 2cqw; border-radius: 99px; background: rgb(255 255 255 / .85); box-shadow: 0 0 0 1px rgb(14 14 16 / .06); font-size: 2.3cqw; color: var(--ink-2); }
.showcase-team-label b { color: var(--ink); }

@media (max-width: 900px) {
  .home-cards { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .home-card { border-radius: 28px; }
  .home-card-visual { margin: 10px 10px 0; border-radius: 20px; }
  .home-card-body { padding: 22px 22px 24px; }
  .home-chips { gap: 6px; }
  .home-chips li { padding: 6px 10px; font-size: .75rem; }
  .home-card-cta { align-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-strip-track, .showcase-book { animation: none; }
}
