/* ÁLZARA · casos (caso-*.html y portfolio), generados por alzara-casos/paginas.py. Trabajos que se recorren y láminas de frente. Sin 3D: en estos trabajos no se hizo 3D. */
.caso, .c-lista { background: var(--bg) url(../assets/grano.png) 0 0 / 128px; position: relative; }
.c-ficha { display: grid; gap: 28px; padding-block: clamp(48px, 7vw, 112px) clamp(28px, 4vw, 56px); }
.c-ficha h1, .c-ficha h2 { font-size: clamp(50px, 12vw, 112px); line-height: .96; letter-spacing: -.055em; margin-top: 16px; color: var(--tinta); }
.c-ficha .etq { margin-top: 24px; }
.c-ficha .acciones { margin-top: 26px; }
.c-lista { padding-bottom: calc(var(--sec) + var(--arco)); }
.c-cab { padding-bottom: clamp(56px, 8vw, 120px); }
.c-full, .c-par figure { display: block; overflow: hidden; background: var(--c, #ddd); }
.c-full img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.c-par { display: grid; }
.c-par img { width: 100%; height: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.c-txt { display: grid; gap: 18px; padding-block: clamp(64px, 10vw, 150px); }
.c-sig { padding: clamp(56px, 8vw, 120px) 0 calc(var(--sec) + var(--arco)); }
.c-sig__a { display: inline-block; margin-top: 14px; font-size: clamp(50px, 12vw, 112px); font-weight: 300; line-height: 1; letter-spacing: -.055em; color: var(--tinta); }
.c-sig__a::after { content: " →"; color: var(--oro-txt); }
/* explorador */
.exp { width: min(100% - 2 * var(--m), 1320px); margin-inline: auto; }
.exp__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 18px; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); }
.exp__tabs::-webkit-scrollbar { display: none; }
.exp__tabs button { flex: none; min-height: 44px; padding: 0 18px; border: 1px solid var(--linea); border-radius: 99px; font-size: 14px; color: var(--texto); transition: background .3s, color .3s; }
.exp__tabs button.on { background: var(--tinta); border-color: var(--tinta); color: var(--bg); }
.exp__marco { border-radius: 14px; overflow: hidden; background: var(--bg2); box-shadow: 0 0 0 1px var(--linea), var(--sombra); display: grid; grid-template: auto minmax(0, 1fr) / minmax(0, 1fr); }
.exp__barra { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 6px 10px; border-bottom: 1px solid var(--linea2); }
.exp__barra > button { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--tinta); }
.exp__barra > button:disabled { opacity: .25; cursor: default; }
.exp__barra svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.exp__url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--gris); background: var(--linea2); border-radius: 99px; padding: 9px 18px; }
.exp__fondo { position: relative; background: var(--c); height: min(76svh, 760px); display: grid; justify-items: center; }
.exp__vista { width: 100%; height: 100%; min-height: 0; overflow: hidden; background: #fff; scrollbar-width: thin; overscroll-behavior: contain; outline-offset: -3px; }
.exp[data-modo="m"] .exp__vista { width: min(100%, 390px); }
.exp.vivo .exp__vista { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.exp__hoja { position: relative; width: 100%; }
.exp__hoja img { width: 100%; height: 100%; display: block; }
.exp__hoja img:not([src]) { visibility: hidden; }
.exp__zonas button { position: absolute; border-radius: 6px; cursor: pointer; transition: background .25s, box-shadow .25s; }
@media (hover: hover) { .exp__zonas button:hover { background: rgba(201, 169, 106, .18); box-shadow: 0 0 0 2px rgba(201, 169, 106, .9); } }
.exp__pista { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 22px; cursor: pointer; }
.exp__pista span { min-height: 48px; display: inline-flex; align-items: center; padding: 0 26px; border-radius: 99px; background: rgba(17, 17, 18, .9); color: #F5F5F3; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.exp.vivo .exp__pista { display: none; }
.exp__nota { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 28px; padding-top: 16px; font-size: 14px; color: var(--gris); }
.exp--full { position: fixed; inset: 0; z-index: 200; width: 100%; margin: 0; background: var(--bg); display: grid; grid-template: auto minmax(0, 1fr) / minmax(0, 1fr); }
.exp--full .exp__tabs { margin: 0; padding: 12px; }
.exp--full .exp__marco { border-radius: 0; box-shadow: none; }
.exp--full .exp__fondo { height: 100%; min-height: 0; }
.exp--full .exp__nota { display: none; }
@media (max-width: 699px) {
  .c-full img { aspect-ratio: 4 / 3; }
  .exp { width: 100%; } .exp__tabs { margin-inline: 0; } .exp__marco { border-radius: 0; } .exp__nota { padding-inline: var(--m); }
  .exp__url { padding: 9px 12px; } .exp__barra { gap: 6px; } .exp__barra .conmuta button { padding: 0 10px; letter-spacing: .06em; }
}
@media (min-width: 700px) {
  .c-par { grid-template-columns: 1fr 1fr; }
  .c-ficha, .c-txt { grid-template-columns: 1.15fr 1fr; align-items: end; } .c-txt .rot { grid-column: 1 / -1; }
}
