/* Estilos específicos de la página de protocolo */

/* ── Intro section ── */
.protocolo-intro {
    background: #ffffff;
    padding: 60px 24px 40px;
}

.protocolo-intro .protocolo-container p.intro-lead {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #3d4a5c;
    line-height: 1.8;
    margin-bottom: 32px;
}

.resumen-box {
    background: #f0f7ff;
    border-left: 4px solid #1a6eb5;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 20px;
}

.resumen-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a6eb5;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 12px;
}

.resumen-box p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #2d3748;
    line-height: 1.8;
    margin: 0;
}

.tipo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eaf2fc;
    border: 1px solid #b8d5f0;
    border-radius: 30px;
    padding: 8px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a6eb5;
    margin-top: 16px;
}

/* ── Main section ── */
.protocolo-section {
    background: #f4f6f9;
    padding: 60px 24px 80px;
}

.protocolo-container {
    max-width: 960px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-header .eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #1a6eb5;
    margin: 0 0 10px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 14px;
}

.section-header p {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #5a6478;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Card ── */
.protocolo-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
    margin-bottom: 28px;
}

.protocolo-foto {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1530497610245-94d3c16cda28?q=80&w=600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    min-height: 360px;
}

.protocolo-foto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,30,60,0.10) 0%, rgba(10,30,60,0.55) 100%);
}

.protocolo-foto-badge {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.30);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 40px;
    white-space: nowrap;
}

.protocolo-info {
    padding: 40px 40px 36px;
    display: flex;
    flex-direction: column;
}

.protocolo-info .eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a6eb5;
    margin: 0 0 8px;
}

.protocolo-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 6px;
    line-height: 1.2;
}

.protocolo-info .subtitulo {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #5a6478;
    margin: 0 0 24px;
    line-height: 1.5;
}

.info-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #1a6eb5, #4da3e0);
    border-radius: 2px;
    margin-bottom: 24px;
}

/* ── Steps list ── */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    overflow: hidden;
}

.step-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid #e8edf3;
    transition: background 0.18s ease;
}

.step-row:last-child { border-bottom: none; }
.step-row:hover { background: #f7faff; }

.step-num {
    width: 34px;
    height: 34px;
    background: #eaf2fc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a6eb5;
    flex-shrink: 0;
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}

.step-text span {
    font-family: 'Outfit', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a96a8;
}

.step-text p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    color: #2d3748;
    margin: 0;
    line-height: 1.55;
}

/* ── Texto largo (ética, metodología) ── */
.text-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 44px 48px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
    margin-bottom: 28px;
}

.text-card .card-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a6eb5;
    margin: 0 0 8px;
}

.text-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 20px;
}

.text-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #3d4a5c;
    line-height: 1.8;
    margin: 0 0 14px;
}

.text-card p:last-child { margin-bottom: 0; }

/* ── Criteria grid ── */
.criteria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 8px;
}

.criteria-box {
    background: #f7faff;
    border: 1px solid #dde8f5;
    border-radius: 12px;
    padding: 18px 20px;
}

.criteria-box h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a6eb5;
    margin: 0 0 10px;
}

.criteria-box p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: #2d3748;
    margin: 0;
    line-height: 1.6;
}

/* ── Referencias ── */
.referencias-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 48px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
    margin-bottom: 0;
}

.referencias-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 20px;
}

.referencias-section ol {
    padding-left: 20px;
    margin: 0;
}

.referencias-section li {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    color: #3d4a5c;
    line-height: 1.8;
    margin-bottom: 12px;
}

.referencias-section li:last-child { margin-bottom: 0; }

.referencias-section a {
    color: #1a6eb5;
    word-break: break-all;
}

/* ── Acciones ── */
.protocolo-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: #1a6eb5;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.15s ease;
}

.btn-primary-sm:hover { background: #155fa0; transform: translateY(-1px); }

.btn-ghost-sm {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: #f0f4f9;
    color: #2d3748 !important;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #dde4ef;
    transition: background 0.18s ease, transform 0.15s ease;
}

.btn-ghost-sm:hover { background: #e2eaf5; transform: translateY(-1px); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .protocolo-card { grid-template-columns: 1fr; }
    .protocolo-foto { min-height: 220px; }
    .protocolo-info { padding: 28px 22px; }
    .text-card { padding: 28px 22px; }
    .referencias-section { padding: 28px 22px; }
    .criteria-grid { grid-template-columns: 1fr; }
    .protocolo-actions { flex-direction: column; }
    .btn-primary-sm, .btn-ghost-sm { justify-content: center; }
}
