/* The home page, V6 A6 (QOC-75; the owner's review of 2026-11-27: «agrégale vida», the ribbon at the top): its
   trades' own photographs behind the work, colour from the brand's yellow and the trades' tints, and one action per
   section. Linked from the page's own markup, after landing.css; only tokens (tokens.css, landing.css's .public),
   and written for Chrome 81 too (the HiPOS point of sale): margins, not gap, in a flex box; sides, not inset. */

/* The trades, moving at the very top: each with a photograph of that trade where there is one. */
.portada .ribbon--top { position: relative; z-index: 1; border-top-width: 0; }
.public .portada .ribbon--top span { padding: .7rem 0; }
.portada .ribbon__pic { flex: none; width: 2.75rem; height: 2.75rem; margin-right: .65rem; border: 2px solid var(--ink);
  border-radius: var(--q-r-full); object-fit: cover; }

/* The first screen: a soft mosaic of the trades under a cream veil that keeps the words on cream. */
.portada .hero { position: relative; z-index: 0; }
.portada .hero__photos { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; left: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); opacity: .3;
  pointer-events: none; }
.portada .hero__photos img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.portada .hero::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 32%, transparent 66%),
              linear-gradient(0deg, var(--cream) 0%, transparent 22%); pointer-events: none; }

/* What a business here asks first, said by what Q'Ocupa already does. */
.portada .proof { display: flex; flex-wrap: wrap; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.portada .proof li { display: inline-flex; align-items: center; min-height: 2.25rem; margin: 0 .45rem .45rem 0;
  padding: .25rem .8rem .25rem .35rem; border: 1px solid var(--line); border-radius: var(--q-r-full);
  background: var(--surface); box-shadow: var(--lift); font-size: var(--q-fs-14); font-weight: 600; line-height: 1.25; }
.portada .proof .icon { flex: none; width: 1.6rem; height: 1.6rem; margin-right: .45rem; padding: .28rem;
  border-radius: var(--q-r-full); background: var(--yellow); }

/* The stage: the screens float over a real photograph of the chosen trade, held to the device's box. */
.portada .stage__photo { position: absolute; z-index: -1; top: -2.25rem; right: -1.75rem; bottom: -1.25rem; left: 24%;
  overflow: hidden; border-radius: var(--q-r-16); box-shadow: var(--q-shadow-2); }
.portada .stage__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.portada .stage__dev { z-index: 1; }
.portada .stage__win, .portada .stage__tel { box-shadow: var(--q-shadow-2); }

/* What Q'Ocupa is: on white, its three reasons in the trades' colours, and where to look next. */
.portada .intro { background: linear-gradient(180deg, var(--surface), var(--cream)); }
.portada .intro__why article:nth-child(1) .tile { border-color: transparent; background: var(--q-tint-amarillo); }
.portada .intro__why article:nth-child(2) .tile { border-color: transparent; background: var(--q-tint-verde-agua); }
.portada .intro__why article:nth-child(3) .tile { border-color: transparent; background: var(--q-tint-rosa); }
.portada .intro__do { margin-top: 1.25rem; }

/* A day in a soda and the conversation: a photograph behind the band, faint, the words as they were. */
.portada .day, .portada .close { position: relative; z-index: 0; overflow: hidden; }
.portada .band__photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; }
.portada .band__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portada .day .band__photo { opacity: .16; }
.portada .close .band__photo { opacity: .18; mix-blend-mode: multiply; }
.portada .day__do { display: flex; justify-content: center; margin-top: 1.75rem; }

/* Everything connected and the price: the trades' tints glowing behind the cards. */
.portada .parts { position: relative; z-index: 0; }
.portada .parts::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(42rem 24rem at 6% 0%, var(--q-tint-amarillo), transparent 70%),
              radial-gradient(36rem 26rem at 98% 26%, var(--q-tint-verde-agua), transparent 70%),
              radial-gradient(34rem 22rem at 30% 100%, var(--q-tint-terracota), transparent 70%);
  opacity: .16; pointer-events: none; }
.portada .parts__all a { margin-left: .35rem; color: var(--ink); font-weight: 600; }
.portada .price { padding-top: clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--cream), var(--yellow-soft)); }

@media (max-width: 54rem) {
  .portada .hero::before { background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 40%, transparent 70%,
                                                       var(--cream) 100%); }
  .portada .hero__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); opacity: .2; }
  .portada .stage__photo { top: -1.25rem; right: -.5rem; bottom: -.75rem; left: 12%; }
}
