/* ============================================================
   Kelp para concesionarios · Kelp en cada área (portada de la familia
   "Por área"). El hero (un caso que cruza las cinco áreas) y la rejilla de
   áreas, cada una con el motivo de su escena. Prefijo: pa-.
   ============================================================ */

/* ---- Hero: un caso, cinco áreas, una memoria ---- */
#s-pa { height: 620px; }
.pa-cv { --cw: 1104px; --ch: 500px; }
.pa-a { position: absolute; top: 0; width: 200px; height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(198 238 227 / .16); color: #F2FBF8; transition: background-color .35s, box-shadow .35s, color .35s; }
.pa-a b { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.pa-ai { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgb(198 238 227 / .14); color: var(--foam); flex: none; transition: background-color .35s, color .35s; }
.pa-ai .ic { width: 16px; height: 16px; }
.pa-a.on { background: #fff; box-shadow: 0 16px 30px -14px rgb(0 0 0 / .6); color: var(--ink); }
.pa-a.on .pa-ai { background: var(--deep); color: var(--foam); }
.pa-n { position: absolute; top: 82px; width: 200px; display: grid; gap: 3px; padding: 12px 14px 13px; border-radius: 14px; box-shadow: 0 20px 40px -18px rgb(0 0 0 / .6); }
.pa-no { display: grid; place-items: center; width: 22px; height: 22px; margin-bottom: 4px; border-radius: 50%; background: var(--deep); color: var(--foam); font-size: 11.5px; font-weight: 700; }
.pa-n[data-o="1"] .pa-no { background: #E39B35; }
.pa-n b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.pa-n small { font-size: 12px; color: var(--ink-3); line-height: 1.35; }
.pa-ar { position: absolute; top: 122px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6EEE3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pa-mem { position: absolute; left: 242px; top: 236px; width: 620px; border-radius: 18px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(198 238 227 / .18); padding: 16px 20px 14px; }
.pa-mh { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgb(198 238 227 / .14); }
.pa-mh .hubk { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 0 0 1px rgb(198 238 227 / .3), 0 0 0 8px rgb(198 238 227 / .06); }
.pa-mh .hubk svg { width: 26px; height: 26px; }
.pa-mh .hubk .rp { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 15px; box-shadow: 0 0 0 2px var(--foam); }
.pa-mh b { display: block; font-size: 15px; font-weight: 600; color: #F2FBF8; }
.pa-mh small { display: block; font-size: 12.5px; color: rgb(198 238 227 / .65); }
.pa-log { display: grid; gap: 4px; margin-top: 10px; }
.pa-l { display: flex; align-items: center; gap: 10px; height: 30px; font-size: 13px; font-weight: 500; color: rgb(242 251 248 / .9); }
.pa-l i { width: 8px; height: 8px; border-radius: 50%; background: #7FE0BE; flex: none; }
.pa-l:first-child i { background: #E7B25C; }
.pa-pk { background: #7FE0BE; box-shadow: 0 0 0 3px rgb(127 224 190 / .25); }

/* ---- Las áreas: tres arriba y dos abajo ---- */
.pa-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0 clamp(24px, 4.5vw, 56px) clamp(64px, 7vw, 96px); }
.pa-c { grid-column: span 2; display: grid; grid-template-rows: 176px auto; border-radius: 18px; background: var(--deep); overflow: hidden; color: var(--foam); transition: transform .3s var(--ease-out), box-shadow .3s; }
.pa-c:nth-child(n+4) { grid-column: span 3; }
.pa-c:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgb(1 33 32 / .7); }
.pa-ct { display: grid; place-items: center; }
.pa-v { width: 210px; height: 112px; display: grid; place-items: center; }
.pa-tx { display: grid; gap: 8px; align-content: start; padding: 20px 22px 24px; }
.pa-tx b { font-size: 18px; font-weight: 600; letter-spacing: -0.012em; color: #F2FBF8; }
.pa-tx p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgb(198 238 227 / .72); }
.pa-tx .link { margin-top: 4px; font-size: 14px; color: var(--foam); }
/* gerencia: el mapa de calor */
.pa-hm { display: grid; grid-template-columns: repeat(4, 40px); gap: 6px; }
.pa-hm i { height: 26px; border-radius: 6px; background: rgb(127 224 190 / .5); }
.pa-hm i.pa-h1 { background: rgb(127 224 190 / .8); }
.pa-hm i.pa-h3 { background: #E7B25C; }
/* comercial: el mes y el tramo */
.pa-bars { position: relative; display: flex; align-items: flex-end; gap: 5px; width: 186px; height: 96px; }
.pa-bars i { flex: 1; border-radius: 2px 2px 0 0; background: rgb(198 238 227 / .82); }
.pa-bars i.g { background: rgb(127 224 190 / .3); box-shadow: inset 0 0 0 1px rgb(127 224 190 / .8); }
.pa-bars em { position: absolute; left: 0; right: 0; top: 6px; border-top: 1.5px solid #7FE0BE; }
/* experiencia: los temas */
.pa-bub { position: relative; width: 200px; height: 110px; }
.pa-bub i { position: absolute; width: calc(var(--r) * 2); height: calc(var(--r) * 2); translate: -50% -50%; border-radius: 50%; }
.pa-bub i.p { background: rgb(127 224 190 / .2); box-shadow: inset 0 0 0 1.5px rgb(127 224 190 / .7); }
.pa-bub i.n { background: rgb(231 178 92 / .25); box-shadow: inset 0 0 0 1.5px #E7B25C; }
/* posventa: el planning */
.pa-gt { display: grid; gap: 7px; width: 200px; }
.pa-gt > span { display: flex; gap: 4px; height: 24px; }
.pa-gt i { border-radius: 5px; background: rgb(198 238 227 / .2); }
.pa-gt i.c { background: #E7B25C; }
.pa-gt i.r { background: #3BA57E; }
.pa-gt i.n { background: #6F86A8; }
/* administración: el cuadre */
.pa-ld { display: flex; align-items: center; gap: 0; }
.pa-ld > span { display: grid; gap: 10px; }
.pa-ld > span i { width: 64px; height: 10px; border-radius: 5px; background: rgb(198 238 227 / .5); }
.pa-ld > span i.x { background: #E7B25C; }
.pa-ld svg { width: 60px; height: 60px; overflow: visible; }
.pa-ld path { fill: none; stroke: #7FE0BE; stroke-width: 1.5; }
.pa-ld path.x { stroke: #E7B25C; }

@media (max-width: 980px) {
  .pa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-c, .pa-c:nth-child(n+4) { grid-column: span 1; }
  .pa-c:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .pa-grid { grid-template-columns: minmax(0, 1fr); margin: 0 20px 56px; }
  .pa-c:last-child { grid-column: auto; }
}
