html{scroll-behavior:smooth;scroll-padding-top:95px}
.gallery-section{background:#fff8f4;border-top:1px solid var(--l)}
.gallery-intro{max-width:610px;line-height:1.6;color:#825344}
.gallery-link{color:var(--r);font-weight:700;text-underline-offset:4px}
.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:30px}
.album-card{background:white;border:1px solid var(--l);border-radius:14px;overflow:hidden;box-shadow:0 5px 20px #571b1207}
.album-open{width:100%;padding:0;border:0;background:#fff;color:var(--i);text-align:left;cursor:pointer;font:inherit;display:block;height:100%}
.album-cover{position:relative;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#ff6729,#bd2116);display:grid;place-items:center}
.album-cover::before{content:'LIGAKIDS TALCA';position:absolute;font-weight:800;letter-spacing:3px;color:white;font-size:18px}
.album-cover img{position:relative;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.album-open:hover img{transform:scale(1.04)}
.album-cover-label{position:absolute;bottom:14px;left:14px;border-radius:5px;padding:7px 11px;background:var(--r);color:#fff;font-size:12px;font-weight:bold}
.album-info{padding:21px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.album-info h3{font-size:23px;margin:0 0 7px}.album-info p{font-size:13px;color:#825344;margin:0;line-height:1.4}
.album-arrow{display:grid;place-items:center;border-radius:50%;width:38px;height:38px;flex-shrink:0;background:var(--p);color:var(--r);font-size:23px}
.album-open:focus-visible,.album-dialog button:focus-visible,.gallery-link:focus-visible{outline:3px solid var(--o);outline-offset:4px}
.album-dialog{border:0;border-radius:16px;width:min(1120px,95vw);max-width:none;height:min(850px,92dvh);max-height:92dvh;padding:0;color:var(--i);overflow:hidden;background:white}
.album-dialog::backdrop{background:#27110dd9}
.album-dialog[open]{display:flex;flex-direction:column}
.album-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px;border-bottom:1px solid var(--l)}
.album-dialog h3{font-size:27px;margin:0 0 7px}.album-dialog-header p{margin:0;color:#825344;font-size:13px}
.album-close{font-size:26px;border:1px solid var(--l);border-radius:50%;height:42px;width:42px;background:white;color:var(--i);cursor:pointer;flex-shrink:0}
.album-locations{display:flex;flex-wrap:wrap;gap:8px;padding:14px 26px;background:var(--p)}
.album-locations:empty{display:none}
.album-locations button{border:1px solid var(--l);background:#fff;color:var(--i);font:inherit;font-size:13px;border-radius:20px;padding:10px 14px;cursor:pointer}
.album-locations button[aria-pressed=true]{background:var(--r);color:white;border-color:var(--r)}
.album-viewer{flex:1;min-height:170px;border:0;width:100%;background:#fafafa}
.album-dialog-footer{padding:15px 26px;border-top:1px solid var(--l);font-size:13px;line-height:1.5;display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.album-dialog-footer p{margin:0;color:#825344}.album-dialog-footer a{white-space:nowrap}
.gallery-mobile-link{display:none}
@media(max-width:900px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.album-grid{grid-template-columns:1fr;gap:18px}.album-dialog-header{padding:18px}.album-dialog h3{font-size:23px}.album-dialog-footer,.album-locations{padding:14px 18px}.gallery-mobile-link{display:block;color:var(--r);font-weight:bold;text-decoration:none;margin-left:auto;margin-right:14px}.album-dialog{width:96vw;height:92dvh}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.album-cover img{transition:none}}
