/* ==========================================================================
   Pro koho je návštěva vhodná: mřížka dlaždic (bento)
   ========================================================================== */
.section--pro-koho { padding-top: clamp(64px, 7.6vw, 110px); }
.bento { display: grid; gap: 16px; }
.bento__intro { padding: 0 0 16px; }
.bento__intro h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 3.4vw, 2.85rem); line-height: 1.18; }
.bento__intro p { color: var(--ink-2); max-width: 46ch; margin-bottom: 24px; line-height: 1.75; }

.bento__tile {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
    min-height: 300px; padding: 28px 26px; border-radius: var(--radius-xl); text-decoration: none;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.bento__tile:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(35, 31, 32, .45); }
.bento__tile h3 { font-size: 1.55rem; line-height: 1.25; margin-bottom: 12px; color: inherit; }
.bento__tile p { font-size: 1rem; line-height: 1.7; margin-bottom: 24px; font-weight: 300; }
.bento__icon { width: 26px; height: 26px; margin-bottom: 36px; flex: none; }
.bento__more { margin-top: auto; font-weight: 600; font-size: 1rem; }

.bento__tile--dark { background: var(--card-dark); color: #fff; }
.bento__tile--dark p { color: rgba(255, 255, 255, .8); }
.bento__tile--dark .bento__icon { color: #fff; }

.bento__tile--light { background: var(--beige); color: var(--ink); }
.bento__tile--light h3 { margin-top: 80px; }
.bento__tile--light p { color: var(--ink-2); }
.bento__decor { position: absolute; top: 0; right: 0; width: 62%; max-width: 230px; height: auto; z-index: -1; pointer-events: none; }

.bento__tile--photo { justify-content: flex-end; color: #fff; background: #2a2220; min-height: 380px; }
.bento__tile--photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.bento__tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 18, 16, 0) 40%, rgba(24, 18, 16, .72) 100%); }
/* Po najetí: fotka se mírně ztmaví, text zůstává bílý (jinak by ho přebarvil a:hover) */
.bento__tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24, 18, 16, .38); opacity: 0; transition: opacity .5s var(--ease); }
.bento__tile--photo:hover::after, .bento__tile--photo:focus-visible::after { opacity: 1; }
.bento__tile--photo:hover img { transform: scale(1.06); }
.bento__tile--photo:hover, .bento__tile--photo:hover .bento__title, .bento__tile--dark:hover { color: #fff; }
.bento__tile--light:hover { color: var(--ink); }
.bento__tile--p1 img { object-position: 50% 35%; }
.bento__tile--p3 img { object-position: 45% 50%; }
.bento__title { font-size: clamp(1.6rem, 2.1vw, 1.9rem) !important; line-height: 1.15 !important; margin-bottom: 8px !important; color: #fff; }
.bento__meta { color: rgba(255, 255, 255, .9); font-size: 1rem; font-weight: 300; }
.bento__go {
    position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(35, 31, 32, .92); color: #fff;
    transition: transform .5s var(--ease), background .3s;
}
.bento__go .icon { width: 20px; height: 20px; }
.bento__tile:hover .bento__go { transform: rotate(45deg); background: var(--accent); }

@media (min-width: 640px) and (max-width: 979px) {
    .bento { grid-template-columns: 1fr 1fr; }
    .bento__intro { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
    .bento { grid-template-columns: repeat(3, 1fr); grid-template-rows: minmax(384px, auto) 460px; gap: 20px; }
    .bento__intro { padding: 0 12px 0 0; display: flex; flex-direction: column; align-items: flex-start; }
    .bento__intro .btn { margin-top: auto; }
    .bento__tile { min-height: 0; padding: 30px; }
    .bento__tile--light h3 { margin-top: 70px; }
}
