/* "All features" page (landing/funkcje-crm-dla-autodetailingu) on top of home_v2.css: every feature group in one
   section, features as compact row tiles (icon, name, one-line description, arrow) in up to three columns. */
.hv2-feat { padding-top: clamp(32px, 4vw, 56px); }
.hv2-feat__group { scroll-margin-top: 88px; }
.hv2-feat__group + .hv2-feat__group { margin-top: clamp(32px, 4vw, 48px); }
.hv2-feat__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(24px, 1.2vw + 18px, 32px); line-height: 1.1; color: var(--hv2-navy); }
.hv2-feat__count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: #E6F1EA; color: var(--hv2-green); font-family: 'Archivo', sans-serif; font-size: 14px; font-weight: 800; }
.hv2-feat__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) { .hv2-feat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hv2-feat__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hv2-feat__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--hv2-line); border-radius: 14px; background: #ffffff; color: var(--hv2-navy); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.hv2 a.hv2-feat__item:hover, .hv2 a.hv2-feat__item:focus-visible { border-color: var(--hv2-green); box-shadow: 0 10px 24px rgba(20, 39, 58, 0.08); transform: translateY(-1px); color: var(--hv2-navy); }
.hv2-feat__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #E6F1EA; color: var(--hv2-green); font-size: 21px; }
.hv2-feat__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hv2-feat__name { color: var(--hv2-navy); font-weight: 800; font-size: 16px; line-height: 1.3; }
.hv2-feat__desc { font-size: 13.5px; line-height: 1.4; color: var(--hv2-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hv2-feat__arrow { flex: none; font-size: 18px; color: var(--hv2-green); transition: transform .15s ease; }
.hv2 a.hv2-feat__item:hover .hv2-feat__arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .hv2-feat__item, .hv2-feat__arrow { transition: none; } .hv2 a.hv2-feat__item:hover { transform: none; } }
/* Phones: one column, so the tiles get tighter and the description keeps to one line. */
@media (max-width: 575.98px) {
    .hv2-feat__grid { gap: 8px; }
    .hv2-feat__item { padding: 10px 12px; gap: 12px; }
    .hv2-feat__icon { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
    .hv2-feat__name { font-size: 15px; }
    .hv2-feat__desc { -webkit-line-clamp: 1; font-size: 13px; }
}
/* The group a link jumped to (#funkcje-<group> from the pricing cards or the hero chips) lights up briefly in pale
   green, so the eye finds where it landed. Box-shadow spread instead of padding: nothing moves. */
.hv2-feat__group:target { border-radius: 16px; animation: hv2-feat-flash 2.2s ease-out .25s 1 both; }
.hv2-feat__group:target .hv2-feat__item { animation: hv2-feat-tile 2.2s ease-out .25s 1 both; }
@keyframes hv2-feat-flash {
    0% { background: transparent; box-shadow: 0 0 0 16px transparent; }
    20%, 45% { background: #E6F1EA; box-shadow: 0 0 0 16px #E6F1EA; }
    100% { background: transparent; box-shadow: 0 0 0 16px transparent; }
}
@keyframes hv2-feat-tile {
    0%, 100% { border-color: var(--hv2-line); }
    20%, 45% { border-color: var(--hv2-green); }
}
@media (prefers-reduced-motion: reduce) {
    .hv2-feat__group:target, .hv2-feat__group:target .hv2-feat__item { animation: none; }
    .hv2-feat__group:target .hv2-feat__title { text-decoration: underline; text-decoration-color: var(--hv2-green); }
}
