/* /cuidados/css/index.css */
/* Landing page Cuidados Criticos - Portal de instituciones */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');
:root {
    --hpc-teal: #0089b5;
    --hpc-teal-dark: #006d91;
    --hpc-teal-light: #e6f4f9;
    --hpc-bg: #f0f5f8;
    --hpc-white: #ffffff;
    --hpc-gray: #5a6a72;
    --hpc-gray-light: #8a9aa2;
    --hpc-shadow: 0 4px 24px rgba(0,80,120,0.10);
    --hpc-shadow-hover: 0 8px 40px rgba(0,80,120,0.18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; }
body {
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh; display: flex; flex-direction: column;
    background: var(--hpc-bg);
    background-image: linear-gradient(160deg, #e8f2f7 0%, #f0f5f8 40%, #f5f8fa 100%);
    color: #2c3e50;
}
/* Header */
.hpc-header {
    background: var(--hpc-white);
    border-bottom: 3px solid var(--hpc-teal);
    padding: 18px 0;
    box-shadow: 0 2px 12px rgba(0,80,120,0.06);
}
.hpc-header-inner {
    max-width: 900px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 20px;
}
.hpc-header img { height: 54px; }
.hpc-header-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px; font-weight: 600;
    color: var(--hpc-teal-dark); letter-spacing: 0.3px;
}
.hpc-header-text p {
    font-size: 13px; color: var(--hpc-gray-light);
    font-weight: 400; margin-top: 2px;
}
/* Main */
.hpc-main {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 40px 24px; gap: 32px;
}
/* Sections */
.hpc-section { width: 100%; max-width: 700px; }
.hpc-section-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 20px;
}
.hpc-section-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,137,181,0.2), transparent);
}
.hpc-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; color: var(--hpc-gray-light);
    white-space: nowrap;
}
/* Grid */
.hpc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; width: 100%;
}
/* Cards */
.hpc-card {
    background: var(--hpc-white);
    border-radius: 12px;
    box-shadow: var(--hpc-shadow);
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
    border: 1px solid rgba(0,137,181,0.08);
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    position: relative; overflow: hidden;
}
.hpc-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--hpc-teal), var(--hpc-teal-dark));
    opacity: 0; transition: opacity 0.3s ease;
}
.hpc-card:hover {
    box-shadow: var(--hpc-shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(0,137,181,0.15);
}
.hpc-card:hover::before { opacity: 1; }
.hpc-card-icon {
    width: 76px; height: 76px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--hpc-teal-light);
    transition: background 0.3s ease;
}
.hpc-card:hover .hpc-card-icon { background: rgba(0,137,181,0.12); }
.hpc-card-icon img { max-height: 48px; max-width: 56px; object-fit: contain; }
.hpc-card-icon i { font-size: 34px; color: var(--hpc-teal); }
.hpc-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px; font-weight: 600;
    color: var(--hpc-teal-dark);
}
.hpc-card p {
    font-size: 13px; color: var(--hpc-gray);
    line-height: 1.5;
}
.hpc-card-badge {
    display: inline-block;
    padding: 4px 14px; border-radius: 20px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
    background: var(--hpc-teal-light); color: var(--hpc-teal);
    transition: all 0.3s ease;
}
.hpc-card:hover .hpc-card-badge {
    background: var(--hpc-teal); color: var(--hpc-white);
}
/* Disabled card */
.hpc-card-disabled {
    opacity: 0.55; cursor: default; pointer-events: none;
}
.hpc-card-disabled .hpc-card-badge {
    background: #e0e5e8; color: var(--hpc-gray);
}
/* Footer */
.hpc-footer {
    text-align: center; padding: 18px 24px;
    font-size: 12px; color: var(--hpc-gray-light);
    border-top: 1px solid rgba(0,137,181,0.08);
}
/* Responsive */
@media (max-width: 600px) {
    .hpc-header-inner { flex-direction: column; text-align: center; }
    .hpc-header-text h1 { font-size: 17px; }
    .hpc-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
    .hpc-card { padding: 28px 20px; }
}