/* home-icu.css — Visual refinement for Home ICU Guide */

/* ── ICU card hover enhancement ── */
.icu-card {
    transition: box-shadow 0.28s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.icu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(30,58,95,0.10);
}

/* ── Equipment grid items ── */
.icu-equipment-grid > * {
    transition: background 0.2s ease, border-color 0.2s ease;
}
.icu-equipment-grid > *:hover {
    border-color: var(--color-primary);
    background: rgba(30,58,95,0.04);
}

/* ── Hero nav links ── */
.icu-hero-nav a {
    transition: color 0.18s ease, transform 0.18s ease;
    display: inline-block;
}
.icu-hero-nav a:hover {
    transform: translateY(-1px);
}

/* ── Section headings — stronger ── */
.icu-card h2, .icu-card h3 {
    font-weight: 700;
    letter-spacing: -0.015em;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.975rem;
    color: #1e293b;
}

/* ── Checklist checkbox — satisfying check ── */
input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    opacity: 0.55;
    transition: opacity 0.3s ease, text-decoration 0.1s ease;
}

/* ── Priority indicators ── */
.priority-critical {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 9999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
}
.priority-high {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
    border-radius: 9999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
}

/* ── Body text — comfortable reading ── */
.icu-card p, .icu-card li {
    font-size: 1.0625rem;
    line-height: 1.8;
    font-family: 'DM Sans', sans-serif;
    color: #475569;
}

/* ── Lightbox refinement ── */
.image-lightbox {
    animation: fade-in 0.22s ease;
}
@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.lightbox-content {
    animation: scale-in 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes scale-in {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
