/* /personalizados/: el mateix G&P, però dins d'una nuvolada d'idees. */
.pers { background: #0a0a12; }
.pers main { pointer-events: auto; }
.pers .bar { background: linear-gradient(to bottom, rgba(10, 10, 18, 0.75), rgba(10, 10, 18, 0)); }

#clouds { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }

.p-hero {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 10vh;
}
.p-title {
  margin: 0; max-width: 11ch; font-family: var(--display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(3rem, 10vw, 9.5rem); line-height: 0.86; letter-spacing: -0.02em; text-transform: none;
}
.p-lead { max-width: 52ch; margin: 32px 0 34px; text-transform: none; letter-spacing: 0.01em; font-size: 15px; line-height: 1.7; }
.p-lead > p { margin: 0; }
.p-more summary {
  display: inline-block; margin-top: 10px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--text); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; list-style: none;
}
.p-more summary::-webkit-details-marker { display: none; }
.p-more[open] summary { background: var(--ink); color: #0a0a12; }
.p-more p { margin: 16px 0 0; color: #cfd0dc; animation: unfold 0.5s var(--ease); }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } }

.p-cta {
  align-self: flex-start; display: inline-block; padding: 18px 26px; background: var(--ink); color: #0a0a12;
  font-weight: 600; border-radius: 999px; transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.p-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(190, 200, 255, 0.25); }

.p-block { position: relative; padding: 12vh var(--gutter); }
.p-sub { margin: 0 0 18px; max-width: 16ch; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 0.95; }
.p-text { max-width: 56ch; margin: 0; font-size: 15px; line-height: 1.7; text-transform: none; letter-spacing: 0.01em; color: #cfd0dc; }
.p-kicker { margin: 0 0 24px; color: var(--muted); font-size: 12px; font-weight: 400; }
.p-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.p-catalog li {
  display: grid; gap: 8px; align-content: end; min-height: 150px; padding: 22px; border: 1px solid rgba(230, 232, 255, 0.18);
  border-radius: 22px; background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.p-catalog li span { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1; text-transform: none; letter-spacing: -0.01em; }
.p-catalog li em { font-style: normal; color: #b9bdf2; }
.p-catalog .is-star { grid-row: span 2; background: rgba(185, 189, 242, 0.12); }
.p-catalog .is-star span { font-size: clamp(2rem, 4vw, 3.6rem); }
.p-catalog .is-wide { grid-column: span 2; }
.p-note { margin: 18px 0 0; color: var(--muted); }

.p-form { display: grid; gap: 22px; max-width: 760px; }
.p-field { display: grid; gap: 10px; }
.p-field > span { color: var(--muted); }
.p-form textarea, .p-form input[type="text"], .p-form select {
  width: 100%; padding: 16px 18px; border: 1px solid rgba(230, 232, 255, 0.22); border-radius: 18px;
  background: rgba(10, 10, 18, 0.55); color: var(--ink); font: 15px/1.6 var(--text); letter-spacing: 0; text-transform: none;
}
.p-form textarea:focus, .p-form input:focus, .p-form select:focus { outline: none; border-color: var(--ink); }
.p-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p-drop {
  position: relative; display: grid; place-items: center; min-height: 130px; padding: 18px; border: 1px dashed rgba(230, 232, 255, 0.35);
  border-radius: 18px; background: rgba(255, 255, 255, 0.03); text-align: center; cursor: pointer; transition: background 0.3s, border-color 0.3s;
}
.p-drop.is-over { background: rgba(185, 189, 242, 0.12); border-color: var(--ink); }
.p-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.p-drop-text { text-transform: none; letter-spacing: 0.01em; font-size: 13px; }
.p-previews { display: flex; flex-wrap: wrap; gap: 10px; }
.p-previews figure { position: relative; width: 92px; height: 92px; margin: 0; border-radius: 14px; overflow: hidden; background: #15151f; }
.p-previews img, .p-previews video { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-previews button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, 0.7); font-size: 12px; line-height: 22px; }
.p-form .p-cta { border: 0; }
.p-status { margin: 0; min-height: 1.6em; text-transform: none; letter-spacing: 0.01em; font-size: 13px; color: #b9bdf2; }

.p-seo { background: linear-gradient(to bottom, rgba(10, 10, 18, 0), #0a0a12 14%); }
.pers .site-foot { background: #0a0a12; }

@media (max-width: 860px) {
  .p-catalog { grid-template-columns: 1fr 1fr; }
  .p-catalog .is-star { grid-row: auto; grid-column: span 2; }
  .p-row { grid-template-columns: 1fr; }
}
